aws_sdk_fsx/client/delete_data_repository_association.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 [`DeleteDataRepositoryAssociation`](crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`association_id(impl Into<String>)`](crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder::set_association_id):<br>required: **true**<br><p>The ID of the data repository association that you want to delete.</p><br>
7 /// - [`client_request_token(impl Into<String>)`](crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder::set_client_request_token):<br>required: **false**<br><p>(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.</p><br>
8 /// - [`delete_data_in_file_system(bool)`](crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder::delete_data_in_file_system) / [`set_delete_data_in_file_system(Option<bool>)`](crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder::set_delete_data_in_file_system):<br>required: **false**<br><p>Set to <code>true</code> to delete the data in the file system that corresponds to the data repository association.</p><br>
9 /// - On success, responds with [`DeleteDataRepositoryAssociationOutput`](crate::operation::delete_data_repository_association::DeleteDataRepositoryAssociationOutput) with field(s):
10 /// - [`association_id(Option<String>)`](crate::operation::delete_data_repository_association::DeleteDataRepositoryAssociationOutput::association_id): <p>The ID of the data repository association being deleted.</p>
11 /// - [`lifecycle(Option<DataRepositoryLifecycle>)`](crate::operation::delete_data_repository_association::DeleteDataRepositoryAssociationOutput::lifecycle): <p>Describes the lifecycle state of the data repository association being deleted.</p>
12 /// - [`delete_data_in_file_system(Option<bool>)`](crate::operation::delete_data_repository_association::DeleteDataRepositoryAssociationOutput::delete_data_in_file_system): <p>Indicates whether data in the file system that corresponds to the data repository association is being deleted. Default is <code>false</code>.</p>
13 /// - On failure, responds with [`SdkError<DeleteDataRepositoryAssociationError>`](crate::operation::delete_data_repository_association::DeleteDataRepositoryAssociationError)
14 pub fn delete_data_repository_association(
15 &self,
16 ) -> crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder {
17 crate::operation::delete_data_repository_association::builders::DeleteDataRepositoryAssociationFluentBuilder::new(self.handle.clone())
18 }
19}