Smaws_Client_ECR.BatchCheckLayerAvailabilityChecks the availability of one or more image layers in a repository.
When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped.
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
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_check_layer_availability_request ->
(Types.batch_check_layer_availability_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.batch_check_layer_availability_request ->
(Types.batch_check_layer_availability_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result