Module Values.AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetailsSource

The default S3 Object Lock retention mode and period that you want to apply to new objects placed in the specified Amazon S3 bucket.

Sourcetype nonrec t = {
  1. days : Integer.t option;
    (*

    The number of days that you want to specify for the default retention period.

    *)
  2. mode : NonEmptyString.t option;
    (*

    The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.

    *)
  3. years : Integer.t option;
    (*

    The number of years that you want to specify for the default retention period.

    *)
}
Sourceval make : ?days:??? -> ?mode:??? -> ?years:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t ]) 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