Values.PutBucketLifecycleConfigurationRequestSourceThis action puts a lifecycle configuration to an Amazon S3 on Outposts bucket. To put a lifecycle configuration to an S3 bucket, see PutBucketLifecycleConfiguration in the Amazon S3 API Reference. Creates a new lifecycle configuration for the S3 on Outposts bucket or replaces an existing lifecycle configuration. Outposts buckets only support lifecycle configurations that delete/expire objects after a certain period of time and abort incomplete multipart uploads. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to PutBucketLifecycleConfiguration: GetBucketLifecycleConfiguration DeleteBucketLifecycleConfiguration
type nonrec t = {accountId : AccountId.t;The Amazon Web Services account ID of the Outposts bucket.
*)bucket : BucketName.t;The name of the bucket for which to set the configuration.
*)lifecycleConfiguration : LifecycleConfiguration.t option;Container for lifecycle rules. You can add as many as 1,000 rules.
*)}val make :
?lifecycleConfiguration:??? ->
accountId:AccountId.t ->
bucket:BucketName.t ->
unit ->
tval of_header_and_body :
((string, AccountId.t) Awso.Import.List.Assoc.t * LifecycleConfiguration.t) ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of AccountId.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of Days.t
| `Timestamp of Date.t ])
list ]
list
| `String of ID.t
| `Structure of
(string
* [> `Boolean of ExpiredObjectDeleteMarker.t
| `Integer of Days.t
| `Long of ObjectSizeGreaterThanBytes.t
| `String of Prefix.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of TagKeyString.t ])
list ]
list
| `Long of ObjectSizeGreaterThanBytes.t
| `String of TagKeyString.t ])
list
| `Timestamp of Date.t ])
list ])
list ]
list ])
list ])
list ]