update_file_system_association
¶
update_file_system_association(
file_system_association_arn: FileSystemAssociationARN,
*,
config_overrides: Optional[StorageGatewayClientConfig] = None,
user_name: Optional[DomainUserName] = None,
password: Optional[DomainUserPassword] = None,
audit_destination_arn: Optional[AuditDestinationARN] = None,
cache_attributes: Optional[CacheAttributes] = None,
) -> UpdateFileSystemAssociationOutput
Updates a file system association. This operation is only supported in the FSx File Gateways.
Parameters:
-
file_system_association_arn(FileSystemAssociationARN) –The Amazon Resource Name (ARN) of the file system association that you want to update.
-
user_name(Optional[DomainUserName], default:None) –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.
-
password(Optional[DomainUserPassword], default:None) –The password of the user credential.
-
audit_destination_arn(Optional[AuditDestinationARN], default:None) –The Amazon Resource Name (ARN) of the storage used for the audit logs.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_storage_gateway/_services/storage_gateway.py
5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 | |