aws_sdk_fms/client/batch_disassociate_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 [`BatchDisassociateResource`](crate::operation::batch_disassociate_resource::builders::BatchDisassociateResourceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_set_identifier(impl Into<String>)`](crate::operation::batch_disassociate_resource::builders::BatchDisassociateResourceFluentBuilder::resource_set_identifier) / [`set_resource_set_identifier(Option<String>)`](crate::operation::batch_disassociate_resource::builders::BatchDisassociateResourceFluentBuilder::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_disassociate_resource::builders::BatchDisassociateResourceFluentBuilder::items) / [`set_items(Option<Vec::<String>>)`](crate::operation::batch_disassociate_resource::builders::BatchDisassociateResourceFluentBuilder::set_items):<br>required: **true**<br><p>The uniform resource identifiers (URI) of resources that should be disassociated from the resource set. The URIs must be Amazon Resource Names (ARNs).</p><br>
8 /// - On success, responds with [`BatchDisassociateResourceOutput`](crate::operation::batch_disassociate_resource::BatchDisassociateResourceOutput) with field(s):
9 /// - [`resource_set_identifier(String)`](crate::operation::batch_disassociate_resource::BatchDisassociateResourceOutput::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_disassociate_resource::BatchDisassociateResourceOutput::failed_items): <p>The resources that failed to disassociate from the resource set.</p>
11 /// - On failure, responds with [`SdkError<BatchDisassociateResourceError>`](crate::operation::batch_disassociate_resource::BatchDisassociateResourceError)
12 pub fn batch_disassociate_resource(&self) -> crate::operation::batch_disassociate_resource::builders::BatchDisassociateResourceFluentBuilder {
13 crate::operation::batch_disassociate_resource::builders::BatchDisassociateResourceFluentBuilder::new(self.handle.clone())
14 }
15}