Module Values.UploadLayerPartResponseSource

Uploads an image layer part to Amazon ECR. When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is called once per each new image layer part. 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. registryId : RegistryId.t option;
    (*

    The registry ID associated with the request.

    *)
  2. repositoryName : RepositoryName.t option;
    (*

    The repository name associated with the request.

    *)
  3. uploadId : UploadId.t option;
    (*

    The upload ID associated with the request.

    *)
  4. lastByteReceived : PartSize.t option;
    (*

    The integer value of the last byte received in the request.

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