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

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
  An error occurred ([[NoSuchBucket]]) when calling the [[GetBucketVersioning]] operation: The specified bucket does not exist
 
  An error occurred ([[NoSuchBucket]]) when calling the [[GetBucketVersioning]] operation: The specified bucket does not exist
  
== Related terms ==
+
== Related ==
 
* [[AWS S3 versioning]]
 
* [[AWS S3 versioning]]
 +
* <code>[[aws s3api get-bucket-policy]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 10:10, 21 February 2022

https://awscli.amazonaws.com/v2/documentation/api/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

See also

Advertising: