SSMClient.create_association_batch
rboto-ssm==0.4.0 · Service index · Types
Model summary (excerpt): Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified managed nodes or targets. When you associate a document with one or more managed nodes using IDs or tags, Amazon Web Services Systems Manager Agent (SSM Agent) running on the managed node processes the document and configures the node as specified. If you associate a document with a managed...
Install and imports
from rboto import SSMClient
from collections.abc import Sequence
from rboto_ssm.types import (
CreateAssociationBatchOutput,
CreateAssociationBatchRequestEntry,
)
Signature
async def create_association_batch(
*,
entries: Sequence[CreateAssociationBatchRequestEntry],
association_dispatch_assume_role: str | None = None,
) -> CreateAssociationBatchOutput: ...
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) |
|---|---|---|
entries |
Yes | One or more associations. |
association_dispatch_assume_role |
No | A role used by association to take actions on your behalf. State Manager will assume this role and call required APIs when dispatching configurations to nodes. If not specified, service-linked role for Systems Manager will be used by default. It is recommended that you define a custom IAM role so that you have full control of the permissions that State Manager has when taking actions on your... |
Output
CreateAssociationBatchOutput.
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 |
|---|---|---|---|
successful |
list[AssociationDescriptionOutput] | None |
Always present | AssociationDescriptionOutput |
failed |
list[FailedCreateAssociationOutput] | None |
Always present | FailedCreateAssociationOutput |
| 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.
Related types
CreateAssociationBatchOutput, CreateAssociationBatchRequestEntry
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:
AssociationLimitExceededError, DuplicateInstanceIdError, InternalServerError, InvalidDocumentError, InvalidDocumentVersionError, InvalidInstanceIdError, InvalidOutputLocationError, InvalidParametersError, InvalidScheduleError, InvalidTargetError, InvalidTargetMapsError, UnsupportedPlatformTypeError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.