1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateFileSystemAssociation`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`file_system_association_arn(impl Into<String>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::file_system_association_arn) / [`set_file_system_association_arn(Option<String>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::set_file_system_association_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the file system association that you want to update.</p><br>
    ///   - [`user_name(impl Into<String>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::set_user_name):<br>required: **false**<br><p>The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.</p><br>
    ///   - [`password(impl Into<String>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::password) / [`set_password(Option<String>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::set_password):<br>required: **false**<br><p>The password of the user credential.</p><br>
    ///   - [`audit_destination_arn(impl Into<String>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::audit_destination_arn) / [`set_audit_destination_arn(Option<String>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::set_audit_destination_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the storage used for the audit logs.</p><br>
    ///   - [`cache_attributes(CacheAttributes)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::cache_attributes) / [`set_cache_attributes(Option<CacheAttributes>)`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::set_cache_attributes):<br>required: **false**<br><p>The refresh cache information for the file share or FSx file systems.</p><br>
    /// - On success, responds with [`UpdateFileSystemAssociationOutput`](crate::operation::update_file_system_association::UpdateFileSystemAssociationOutput) with field(s):
    ///   - [`file_system_association_arn(Option<String>)`](crate::operation::update_file_system_association::UpdateFileSystemAssociationOutput::file_system_association_arn): <p>The ARN of the updated file system association.</p>
    /// - On failure, responds with [`SdkError<UpdateFileSystemAssociationError>`](crate::operation::update_file_system_association::UpdateFileSystemAssociationError)
    pub fn update_file_system_association(
        &self,
    ) -> crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder {
        crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::new(self.handle.clone())
    }
}