Skip to content

SSMClient.get_deployable_patch_snapshot_for_instance

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): Retrieves the current snapshot for the patch baseline the managed node uses. This API is primarily used by the AWS-RunPatchBaseline Systems Manager document (SSM document). If you run the command locally, such as with the Command Line Interface (CLI), the system attempts to use your local Amazon Web Services credentials and the operation fails. To avoid this, you can run the command in the...

Install and imports

python -m pip install "rboto[ssm]==0.4.0"
from rboto import SSMClient
from rboto_ssm.types import (
    BaselineOverride,
    GetDeployablePatchSnapshotForInstanceOutput,
)

Signature

async def get_deployable_patch_snapshot_for_instance(
    *,
    instance_id: str,
    snapshot_id: str,
    baseline_override: BaselineOverride | None = None,
    use_s3_dual_stack_endpoint: bool | None = None,
) -> GetDeployablePatchSnapshotForInstanceOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
instance_id Yes The ID of the managed node for which the appropriate patch snapshot should be retrieved.
snapshot_id Yes The snapshot ID provided by the user when running AWS-RunPatchBaseline .
baseline_override No Defines the basic information about a patch baseline override.
use_s3_dual_stack_endpoint No Specifies whether to use S3 dualstack endpoints for the patch snapshot download URL. Set to true to receive a presigned URL that supports both IPv4 and IPv6 connectivity. Set to false to use standard IPv4-only endpoints. Default is false . This parameter is required for managed nodes in IPv6-only environments.

Output

GetDeployablePatchSnapshotForInstanceOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
instance_id str | None Always present —
snapshot_id str | None Always present —
snapshot_download_url str | None Always present —
product str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

BaselineOverride, GetDeployablePatchSnapshotForInstanceOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_ssm.exceptions:

InternalServerError, UnsupportedFeatureRequiredError, UnsupportedOperatingSystemError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model