Difference between revisions of "Aws s3api get-bucket-versioning"
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | https:// | + | 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 | + | (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 | 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 == | ||
+ | * [[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]
aws s3api get-bucket-versioning
- AWS S3:
s3api
|list-buckets
|get-bucket-website
|get-bucket-policy
|create-bucket
|put-bucket-encryption
|aws s3api put-bucket-policy
|get-bucket-acl
|get-bucket-versioning
|get-bucket-location
|put-bucket-versioning | get-bucket-tagging | head-bucket | put-object-lock-configuration
- AWS S3,
aws s3, aws s3api, aws s3control, s3:
, Amazon S3 Storage Lens, AWS S3 replication, CRR, SSR, CAR, S3 Replication Time Control (S3 RTC), Website endpoint, Amazon Macie, Versioning, Lifecycle, Encryption, logging, Amazon S3 Inventory, Amazon S3 Batch Operations, Storage Classes, Amazon S3 clients, Terraform S3, AWS canned ACLs, Directory buckets, security,PutObject
Advertising: