Module Smaws_Client_ECR.CompleteLayerUpload

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `EmptyUploadException of Types.empty_upload_exception | `InvalidLayerException of Types.invalid_layer_exception | `InvalidParameterException of Types.invalid_parameter_exception | `KmsException of Types.kms_exception | `LayerAlreadyExistsException of Types.layer_already_exists_exception | `LayerPartTooSmallException of Types.layer_part_too_small_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UploadNotFoundException of Types.upload_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.complete_layer_upload_request -> (Types.complete_layer_upload_response, [> Smaws_Lib.Protocols.AwsJson.error | `EmptyUploadException of Types.empty_upload_exception | `InvalidLayerException of Types.invalid_layer_exception | `InvalidParameterException of Types.invalid_parameter_exception | `KmsException of Types.kms_exception | `LayerAlreadyExistsException of Types.layer_already_exists_exception | `LayerPartTooSmallException of Types.layer_part_too_small_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UploadNotFoundException of Types.upload_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.complete_layer_upload_request -> (Types.complete_layer_upload_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `EmptyUploadException of Types.empty_upload_exception | `InvalidLayerException of Types.invalid_layer_exception | `InvalidParameterException of Types.invalid_parameter_exception | `KmsException of Types.kms_exception | `LayerAlreadyExistsException of Types.layer_already_exists_exception | `LayerPartTooSmallException of Types.layer_part_too_small_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UploadNotFoundException of Types.upload_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result