Skip to content

SSMClient.delete_association

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified managed node. If you created the association by using the Targets parameter, then you must delete the association by using the association ID. When you disassociate a document from a managed node, it doesn't change the configuration of the node. To change the configuration state of a...

Install and imports

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

Signature

async def delete_association(
    *,
    name: str | None = None,
    instance_id: str | None = None,
    association_id: str | None = None,
) -> DeleteAssociationOutput: ...

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)
name No The name of the SSM document.
instance_id No The managed node ID. InstanceId has been deprecated. To specify a managed node ID for an association, use the Targets parameter. Requests that include the parameter InstanceID with Systems Manager documents (SSM documents) that use schema version 2.0 or later will fail. In addition, if you use the parameter InstanceId , you can't use the parameters AssociationName , DocumentVersion , MaxErrors...
association_id No The association ID that you want to delete.

Output

DeleteAssociationOutput.

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

No fields.

| 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.

DeleteAssociationOutput

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:

AssociationDoesNotExistError, InternalServerError, InvalidDocumentError, InvalidInstanceIdError, TooManyUpdatesError.

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

Service guide · Pinned model