Module Values.S3RetentionSource

Contains the S3 Object Lock retention mode to be applied to all objects in the S3 Batch Operations job. If you don't provide Mode and RetainUntilDate data types in your operation, you will remove the retention from your objects. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.

Sourcetype nonrec t = {
  1. retainUntilDate : TimeStamp.t option;
    (*

    The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.

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

    The Object Lock retention mode to be applied to all objects in the Batch Operations job.

    *)
}
Sourceval make : ?retainUntilDate:??? -> ?mode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Timestamp of TimeStamp.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