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

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-versioning.html
+
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 --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  
  
 
  aws s3api get-bucket-versioning --bucket your_bucket_name
 
  aws s3api get-bucket-versioning --bucket your_bucket_name
  (no output if not versioning enabled)
+
  (no output if versioning disabled)
  
 
  [[aws s3api]] get-bucket-versioning --bucket your_bucket_name --output text
 
  [[aws s3api]] get-bucket-versioning --bucket your_bucket_name --output text
 
  [[Enabled]]
 
  [[Enabled]]
  
 
+
== Errors ==
 
  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
  
== Related terms ==
+
 
 +
[[WARN 0000 The remote state S3 bucket XXX needs to be updated]]
 +
 
 +
== Related ==
 
* [[AWS S3 versioning]]
 
* [[AWS S3 versioning]]
 +
* <code>[[aws s3api get-bucket-policy]]</code>
 +
* <code>[[for i in]]</code>
 +
* <code>[[aws s3api get-bucket-tagging]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{aws s3api versioning}}
 
* {{aws s3api}}
 
* {{aws s3api}}
 
* {{S3}}
 
* {{S3}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 09:21, 11 July 2024

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[edit]

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[edit]

See also[edit]

Advertising: