1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateFileSystem`](crate::operation::disassociate_file_system::builders::DisassociateFileSystemFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`file_system_association_arn(impl Into<String>)`](crate::operation::disassociate_file_system::builders::DisassociateFileSystemFluentBuilder::file_system_association_arn) / [`set_file_system_association_arn(Option<String>)`](crate::operation::disassociate_file_system::builders::DisassociateFileSystemFluentBuilder::set_file_system_association_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the file system association to be deleted.</p><br>
    ///   - [`force_delete(bool)`](crate::operation::disassociate_file_system::builders::DisassociateFileSystemFluentBuilder::force_delete) / [`set_force_delete(Option<bool>)`](crate::operation::disassociate_file_system::builders::DisassociateFileSystemFluentBuilder::set_force_delete):<br>required: **false**<br><p>If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the <code>FORCE_DELETING</code> status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.</p><br>
    /// - On success, responds with [`DisassociateFileSystemOutput`](crate::operation::disassociate_file_system::DisassociateFileSystemOutput) with field(s):
    ///   - [`file_system_association_arn(Option<String>)`](crate::operation::disassociate_file_system::DisassociateFileSystemOutput::file_system_association_arn): <p>The Amazon Resource Name (ARN) of the deleted file system association.</p>
    /// - On failure, responds with [`SdkError<DisassociateFileSystemError>`](crate::operation::disassociate_file_system::DisassociateFileSystemError)
    pub fn disassociate_file_system(&self) -> crate::operation::disassociate_file_system::builders::DisassociateFileSystemFluentBuilder {
        crate::operation::disassociate_file_system::builders::DisassociateFileSystemFluentBuilder::new(self.handle.clone())
    }
}