MediaStore.Client.
delete_container
(**kwargs)¶Deletes the specified container. Before you make a DeleteContainer
request, delete any objects in the container or in any folders in the container. You can delete only empty containers.
See also: AWS API Documentation
Request Syntax
response = client.delete_container(
ContainerName='string'
)
[REQUIRED]
The name of the container to delete.
{}
Response Structure
Exceptions
MediaStore.Client.exceptions.ContainerInUseException
MediaStore.Client.exceptions.ContainerNotFoundException
MediaStore.Client.exceptions.InternalServerError