Module Smaws_Client_ECRPUBLIC.InitiateLayerUpload

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `RegistryNotFoundException of Types.registry_not_found_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UnsupportedCommandException of Types.unsupported_command_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.initiate_layer_upload_request -> (Types.initiate_layer_upload_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `RegistryNotFoundException of Types.registry_not_found_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UnsupportedCommandException of Types.unsupported_command_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.initiate_layer_upload_request -> (Types.initiate_layer_upload_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `RegistryNotFoundException of Types.registry_not_found_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `UnsupportedCommandException of Types.unsupported_command_exception ] * Smaws_Lib.Response.metadata) Stdlib.result