aws_sdk_fms/client/batch_associate_resource.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`BatchAssociateResource`](crate::operation::batch_associate_resource::builders::BatchAssociateResourceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_set_identifier(impl Into<String>)`](crate::operation::batch_associate_resource::builders::BatchAssociateResourceFluentBuilder::resource_set_identifier) / [`set_resource_set_identifier(Option<String>)`](crate::operation::batch_associate_resource::builders::BatchAssociateResourceFluentBuilder::set_resource_set_identifier):<br>required: **true**<br><p>A unique identifier for the resource set, used in a request to refer to the resource set.</p><br>
7 /// - [`items(impl Into<String>)`](crate::operation::batch_associate_resource::builders::BatchAssociateResourceFluentBuilder::items) / [`set_items(Option<Vec::<String>>)`](crate::operation::batch_associate_resource::builders::BatchAssociateResourceFluentBuilder::set_items):<br>required: **true**<br><p>The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).</p><br>
8 /// - On success, responds with [`BatchAssociateResourceOutput`](crate::operation::batch_associate_resource::BatchAssociateResourceOutput) with field(s):
9 /// - [`resource_set_identifier(String)`](crate::operation::batch_associate_resource::BatchAssociateResourceOutput::resource_set_identifier): <p>A unique identifier for the resource set, used in a request to refer to the resource set.</p>
10 /// - [`failed_items(Vec::<FailedItem>)`](crate::operation::batch_associate_resource::BatchAssociateResourceOutput::failed_items): <p>The resources that failed to associate to the resource set.</p>
11 /// - On failure, responds with [`SdkError<BatchAssociateResourceError>`](crate::operation::batch_associate_resource::BatchAssociateResourceError)
12 pub fn batch_associate_resource(&self) -> crate::operation::batch_associate_resource::builders::BatchAssociateResourceFluentBuilder {
13 crate::operation::batch_associate_resource::builders::BatchAssociateResourceFluentBuilder::new(self.handle.clone())
14 }
15}