Module Values.CompleteLayerUploadResponseSource

Informs Amazon ECR that the image layer upload has completed for a specified registry, repository name, and upload ID. You can optionally provide a sha256 digest of the image layer for data validation purposes. When an image is pushed, the CompleteLayerUpload API is called once per each new image layer to verify that the upload has completed. 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 layer.

    *)
  4. layerDigest : LayerDigest.t option;
    (*

    The sha256 digest of the image layer.

    *)
}
Sourcetype nonrec error = [
  1. | `EmptyUploadException of EmptyUploadException.t
  2. | `InvalidLayerException of InvalidLayerException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `KmsException of KmsException.t
  5. | `LayerAlreadyExistsException of LayerAlreadyExistsException.t
  6. | `LayerPartTooSmallException of LayerPartTooSmallException.t
  7. | `RepositoryNotFoundException of RepositoryNotFoundException.t
  8. | `ServerException of ServerException.t
  9. | `UploadNotFoundException of UploadNotFoundException.t
  10. | `Unknown_operation_error of string * string option
]
Sourceval make : ?registryId:??? -> ?repositoryName:??? -> ?uploadId:??? -> ?layerDigest:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `EmptyUploadException of EmptyUploadException.t | `InvalidLayerException of InvalidLayerException.t | `InvalidParameterException of InvalidParameterException.t | `KmsException of KmsException.t | `LayerAlreadyExistsException of LayerAlreadyExistsException.t | `LayerPartTooSmallException of LayerPartTooSmallException.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 -> [> `EmptyUploadException of EmptyUploadException.t | `InvalidLayerException of InvalidLayerException.t | `InvalidParameterException of InvalidParameterException.t | `KmsException of KmsException.t | `LayerAlreadyExistsException of LayerAlreadyExistsException.t | `LayerPartTooSmallException of LayerPartTooSmallException.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 * [> `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