disassociate_file_system
async
¶
disassociate_file_system(
file_system_association_arn: FileSystemAssociationARN,
*,
config_overrides: Optional[AsyncStorageGatewayClientConfig] = None,
force_delete: Optional[Boolean2] = None,
) -> DisassociateFileSystemOutput
Disassociates an Amazon FSx file system from the specified gateway. After the disassociation process finishes, the gateway can no longer access the Amazon FSx file system. This operation is only supported in the FSx File Gateway type.
Parameters:
-
file_system_association_arn(FileSystemAssociationARN) –The Amazon Resource Name (ARN) of the file system association to be deleted.
-
force_delete(Optional[Boolean2], default:None) –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
FORCE_DELETINGstatus. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.
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.