Difference between revisions of "Aws s3api get-bucket-versioning"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-versioning.html
 
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 --output text
 
  [[aws s3api]] get-bucket-versioning --bucket your_bucket_name
 
  [[aws s3api]] get-bucket-versioning --bucket your_bucket_name
 
  [[aws s3api]] get-bucket-versioning  
 
  [[aws s3api]] get-bucket-versioning  

Revision as of 19:16, 21 October 2021

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

Advertising: