Module Values.ObjectVersionSource

The version of an object.

Sourcetype nonrec t = {
  1. eTag : ETag.t option;
    (*

    The entity tag is an MD5 hash of that version of the object.

    *)
  2. checksumAlgorithm : ChecksumAlgorithmList.t option;
    (*

    The algorithm that was used to create a checksum of the object.

    *)
  3. checksumType : ChecksumType.t option;
    (*

    The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

    *)
  4. size : Size.t option;
    (*

    Size in bytes of the object.

    *)
  5. storageClass : ObjectVersionStorageClass.t option;
    (*

    The class of storage used to store the object.

    *)
  6. key : ObjectKey.t option;
    (*

    The object key.

    *)
  7. versionId : ObjectVersionId.t option;
    (*

    Version ID of an object.

    *)
  8. isLatest : IsLatest.t option;
    (*

    Specifies whether the object is (true) or is not (false) the latest version of an object.

    *)
  9. lastModified : LastModified.t option;
    (*

    Date and time when the object was last modified.

    *)
  10. owner : Owner.t option;
    (*

    Specifies the owner of the object.

    *)
  11. restoreStatus : RestoreStatus.t option;
    (*

    Specifies the restoration status of an object. Objects in certain storage classes must be restored before they can be retrieved. For more information about these storage classes and how to work with archived objects, see Working with archived objects in the Amazon S3 User Guide.

    *)
}
Sourceval make : ?eTag:??? -> ?checksumAlgorithm:??? -> ?checksumType:??? -> ?size:??? -> ?storageClass:??? -> ?key:??? -> ?versionId:??? -> ?isLatest:??? -> ?lastModified:??? -> ?owner:??? -> ?restoreStatus:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of IsLatest.t | `Enum of string | `List of [> `Enum of string ] list | `Long of Size.t | `String of ETag.t | `Structure of (string * [> `Boolean of IsRestoreInProgress.t | `String of DisplayName.t | `Timestamp of RestoreExpiryDate.t ]) list | `Timestamp of LastModified.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