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

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
 
  aws s3api get-bucket-versioning --bucket your-non-existant-backed
 
  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
 
  An error occurred ([[NoSuchBucket]]) when calling the [[GetBucketVersioning]] operation: The specified bucket does not exist
 +
 +
 +
[[WARN 0000 The remote state S3 bucket XXX needs to be updated]]
  
 
== Related ==
 
== Related ==

Revision as of 15:53, 20 June 2023

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 versioning disabled)
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


WARN 0000 The remote state S3 bucket XXX needs to be updated

Related

See also

Advertising: