Module Smaws_Client_ECRPUBLIC.UploadLayerPart

and Deserialization

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 (about 20MB). The UploadLayerPart API is called once for 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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidLayerPartException of Types.invalid_layer_part_exception | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_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 | `UploadNotFoundException of Types.upload_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.upload_layer_part_request -> (Types.upload_layer_part_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidLayerPartException of Types.invalid_layer_part_exception | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_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 | `UploadNotFoundException of Types.upload_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.upload_layer_part_request -> (Types.upload_layer_part_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidLayerPartException of Types.invalid_layer_part_exception | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_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 | `UploadNotFoundException of Types.upload_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result