GetBucketLifecycleConfiguration
Returns the lifecycle configuration information set on a bucket.
Description
The GetBucketLifecycleConfiguration
operation returns the lifecycle configuration information set on a bucket. Lifecycle configuration enables you to specify the lifecycle management of objects in a bucket. The configuration is a set of one or more rules, where each rule defines an action for QStorage to apply to a group of objects.
note
- To use this operation, you must have permission to perform the
s3:GetLifecycleConfiguration
action. - You must be the bucket owner to use this operation.
- If the bucket does not have a lifecycle configuration, QStorage returns a
NoSuchLifecycleConfiguration
error. - Bucket lifecycle configuration supports specifying a lifecycle rule using:
- Object key name prefix
- One or more object tags
- Object size
- Any combination of the above
Request Syntax
GET /?lifecycle HTTP/1.1
Host: BucketName.qstorage.quilibrium.com
x-amz-expected-bucket-owner: OwnerAccountId
Values in italics indicate user input and should be replaced with actual values.
This operation does not have a request body.