Struct aws_sdk_ssm::operation::create_association_batch::builders::CreateAssociationBatchFluentBuilder
source · pub struct CreateAssociationBatchFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAssociationBatch
.
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 node that already has an associated document, the system returns the AssociationAlreadyExists exception.
Implementations§
source§impl CreateAssociationBatchFluentBuilder
impl CreateAssociationBatchFluentBuilder
sourcepub fn as_input(&self) -> &CreateAssociationBatchInputBuilder
pub fn as_input(&self) -> &CreateAssociationBatchInputBuilder
Access the CreateAssociationBatch as a reference.
sourcepub async fn send(
self
) -> Result<CreateAssociationBatchOutput, SdkError<CreateAssociationBatchError, HttpResponse>>
pub async fn send( self ) -> Result<CreateAssociationBatchOutput, SdkError<CreateAssociationBatchError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateAssociationBatchOutput, CreateAssociationBatchError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateAssociationBatchOutput, CreateAssociationBatchError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn entries(self, input: CreateAssociationBatchRequestEntry) -> Self
pub fn entries(self, input: CreateAssociationBatchRequestEntry) -> Self
Appends an item to Entries
.
To override the contents of this collection use set_entries
.
One or more associations.
sourcepub fn set_entries(
self,
input: Option<Vec<CreateAssociationBatchRequestEntry>>
) -> Self
pub fn set_entries( self, input: Option<Vec<CreateAssociationBatchRequestEntry>> ) -> Self
One or more associations.
sourcepub fn get_entries(&self) -> &Option<Vec<CreateAssociationBatchRequestEntry>>
pub fn get_entries(&self) -> &Option<Vec<CreateAssociationBatchRequestEntry>>
One or more associations.
Trait Implementations§
source§impl Clone for CreateAssociationBatchFluentBuilder
impl Clone for CreateAssociationBatchFluentBuilder
source§fn clone(&self) -> CreateAssociationBatchFluentBuilder
fn clone(&self) -> CreateAssociationBatchFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more