get-bucket-versioning
The aws s3api get-bucket-versioning
command is used to retrieve the versioning status of an Astran S3 bucket. This command helps you determine whether versioning is enabled, suspended, or not configured for a particular bucket.
Syntax
aws s3api get-bucket-versioning \
--bucket BUCKET_NAME
Options
bucket
: The name of the S3 bucket for which you want to retrieve the versioning status.
See also the original AWS documentation.