Module Values.InitiateLayerUploadResponseSource

Notifies Amazon ECR that you intend to upload an image layer. When an image is pushed, the InitiateLayerUpload API is called once for each image layer that hasn't already been uploaded. Whether an image layer uploads is determined by the BatchCheckLayerAvailability API action. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Sourcetype nonrec t = {
  1. uploadId : UploadId.t option;
    (*

    The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.

    *)
  2. partSize : PartSize.t option;
    (*

    The size, in bytes, that Amazon ECR expects future layer part uploads to be.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidParameterException of InvalidParameterException.t
  2. | `RegistryNotFoundException of RegistryNotFoundException.t
  3. | `RepositoryNotFoundException of RepositoryNotFoundException.t
  4. | `ServerException of ServerException.t
  5. | `UnsupportedCommandException of UnsupportedCommandException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?uploadId:??? -> ?partSize:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterException of InvalidParameterException.t | `RegistryNotFoundException of RegistryNotFoundException.t | `RepositoryNotFoundException of RepositoryNotFoundException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option | `UnsupportedCommandException of UnsupportedCommandException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterException of InvalidParameterException.t | `RegistryNotFoundException of RegistryNotFoundException.t | `RepositoryNotFoundException of RepositoryNotFoundException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option | `UnsupportedCommandException of UnsupportedCommandException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of PartSize.t | `String of UploadId.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