Struct aws_sdk_ssm::client::fluent_builders::CreateAssociationBatch [−][src]
pub struct CreateAssociationBatch<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateAssociationBatch
.
Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified instances or targets.
When you associate a document with one or more instances using instance IDs or tags, Amazon Web Services Systems Manager Agent (SSM Agent) running on the instance processes the document and configures the instance as specified.
If you associate a document with an instance that already has an associated document, the system returns the AssociationAlreadyExists exception.
Implementations
impl<C, M, R> CreateAssociationBatch<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateAssociationBatch<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateAssociationBatchOutput, SdkError<CreateAssociationBatchError>> where
R::Policy: SmithyRetryPolicy<CreateAssociationBatchInputOperationOutputAlias, CreateAssociationBatchOutput, CreateAssociationBatchError, CreateAssociationBatchInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateAssociationBatchOutput, SdkError<CreateAssociationBatchError>> where
R::Policy: SmithyRetryPolicy<CreateAssociationBatchInputOperationOutputAlias, CreateAssociationBatchOutput, CreateAssociationBatchError, CreateAssociationBatchInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Appends an item to Entries
.
To override the contents of this collection use set_entries
.
One or more associations.
One or more associations.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateAssociationBatch<C, M, R>
impl<C, M, R> Send for CreateAssociationBatch<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateAssociationBatch<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateAssociationBatch<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateAssociationBatch<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more