Module Values.LifecycleRuleSource

The container for the Outposts bucket lifecycle rule.

Sourcetype nonrec t = {
  1. expiration : LifecycleExpiration.t option;
    (*

    Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.

    *)
  2. iD : ID.t option;
    (*

    Unique identifier for the rule. The value cannot be longer than 255 characters.

    *)
  3. filter : LifecycleRuleFilter.t option;
    (*

    The container for the filter of lifecycle rule.

    *)
  4. status : ExpirationStatus.t;
    (*

    If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.

    *)
  5. transitions : TransitionList.t option;
    (*

    Specifies when an Amazon S3 object transitions to a specified storage class. This is not supported by Amazon S3 on Outposts buckets.

    *)
  6. noncurrentVersionTransitions : NoncurrentVersionTransitionList.t option;
    (*

    Specifies the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to a specific storage class at a set period in the object's lifetime. This is not supported by Amazon S3 on Outposts buckets.

    *)
  7. noncurrentVersionExpiration : NoncurrentVersionExpiration.t option;
    (*

    The noncurrent version expiration of the lifecycle rule.

    *)
  8. abortIncompleteMultipartUpload : AbortIncompleteMultipartUpload.t option;
    (*

    Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 waits before permanently removing all parts of the upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the Amazon S3 User Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?expiration:??? -> ?iD:??? -> ?filter:??? -> ?transitions:??? -> ?noncurrentVersionTransitions:??? -> ?noncurrentVersionExpiration:??? -> ?abortIncompleteMultipartUpload:??? -> status:ExpirationStatus.t -> unit -> t
Sourceval to_value : t -> [> `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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t