S3Files / Client / delete_file_system
delete_file_system¶
- S3Files.Client.delete_file_system(**kwargs)¶
Deletes an S3 File System. You can optionally force deletion of a file system that has pending export data.
See also: AWS API Documentation
Request Syntax
response = client.delete_file_system( fileSystemId='string', forceDelete=True|False )
- Parameters:
fileSystemId (string) –
[REQUIRED]
The ID or Amazon Resource Name (ARN) of the S3 File System to delete.
forceDelete (boolean) – If true, allows deletion of a file system that contains data pending export to S3. If false (the default), the deletion will fail if there is data that has not yet been exported to the S3 bucket. Use this parameter with caution as it may result in data loss.
- Returns:
None
Exceptions
S3Files.Client.exceptions.InternalServerExceptionS3Files.Client.exceptions.ResourceNotFoundExceptionS3Files.Client.exceptions.ThrottlingExceptionS3Files.Client.exceptions.ValidationExceptionS3Files.Client.exceptions.ConflictException