CmdID / aws / aws s3control
aws s3control get-bucket-versioning
This operation returns the versioning state for S3 on Outposts buckets only. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--account-idThe Amazon Web Services account ID of the S3 on Outposts bucket.--bucketThe S3 on Outposts bucket to return the versioning state for.