End of support notice: On November 13, 2025, AWS will discontinue support
for AWS Elemental MediaStore. After November 13, 2025, you will no longer be able to access the MediaStore console
or MediaStore resources. For more information, visit this
blog post
Use DeleteContainer
with an AWS SDK or CLI
The following code examples show how to use DeleteContainer
.
- AWS CLI
-
To delete a container
The following
delete-container
example deletes the specified container. You can delete a container only if it has no objects.aws mediastore delete-container \ --container-name=ExampleLiveDemo
This command produces no output.
For more information, see Deleting a Container in the AWS Elemental MediaStore User Guide.
-
For API details, see DeleteContainer
in AWS CLI Command Reference.
-
For a complete list of AWS SDK developer guides and code examples, see Using this service with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.