aws s3api get-bucket-versioning
https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-versioning.html
aws s3api get-bucket-versioning --bucket your_bucket_name --output text aws s3api get-bucket-versioning --bucket your_bucket_name aws s3api get-bucket-versioning
aws s3api get-bucket-versioning --bucket your_bucket_name (no output if not versioning enabled)
aws s3api get-bucket-versioning --bucket your_bucket_name --output text Enabled
Errors
aws s3api get-bucket-versioning --bucket your-non-existant-backed An error occurred (NoSuchBucket) when calling the GetBucketVersioning operation: The specified bucket does not exist
Related terms
See also
aws s3api get-bucket-versioning
- AWS S3:
s3api
|list-buckets
|get-bucket-website
|get-bucket-policy
|create-bucket
|put-bucket-encryption
|aws s3api put-bucket-policy
|get-bucket-acl
|get-bucket-versioning
|get-bucket-location
|put-bucket-versioning | get-bucket-tagging | head-bucket | put-object-lock-configuration
- AWS S3,
aws s3, aws s3api, aws s3control, s3:
, Amazon S3 Storage Lens, AWS S3 replication, CRR, SSR, CAR, S3 Replication Time Control (S3 RTC), Website endpoint, Amazon Macie, Versioning, Lifecycle, Encryption, logging, Amazon S3 Inventory, Amazon S3 Batch Operations, Storage Classes, Amazon S3 clients, Terraform S3, AWS canned ACLs, Directory buckets, security,PutObject
Advertising: