aws_sdk_storagegateway/client/
update_file_system_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 [`UpdateFileSystemAssociation`](crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    ///   - [`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>
9    ///   - [`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>
10    ///   - [`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>
11    /// - On success, responds with [`UpdateFileSystemAssociationOutput`](crate::operation::update_file_system_association::UpdateFileSystemAssociationOutput) with field(s):
12    ///   - [`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>
13    /// - On failure, responds with [`SdkError<UpdateFileSystemAssociationError>`](crate::operation::update_file_system_association::UpdateFileSystemAssociationError)
14    pub fn update_file_system_association(
15        &self,
16    ) -> crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder {
17        crate::operation::update_file_system_association::builders::UpdateFileSystemAssociationFluentBuilder::new(self.handle.clone())
18    }
19}