Smaws_Client_ECRPUBLIC.PutImageCreates or updates the image manifest and tags that are associated with an image.
When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags that are associated with the image.
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
| `ImageAlreadyExistsException of Types.image_already_exists_exception
| `ImageDigestDoesNotMatchException of
Types.image_digest_does_not_match_exception
| `ImageTagAlreadyExistsException of Types.image_tag_already_exists_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LayersNotFoundException of Types.layers_not_found_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ReferencedImagesNotFoundException of
Types.referenced_images_not_found_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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_image_request ->
(Types.put_image_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ImageAlreadyExistsException of Types.image_already_exists_exception
| `ImageDigestDoesNotMatchException of
Types.image_digest_does_not_match_exception
| `ImageTagAlreadyExistsException of
Types.image_tag_already_exists_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LayersNotFoundException of Types.layers_not_found_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ReferencedImagesNotFoundException of
Types.referenced_images_not_found_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.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_image_request ->
(Types.put_image_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ImageAlreadyExistsException of Types.image_already_exists_exception
| `ImageDigestDoesNotMatchException of
Types.image_digest_does_not_match_exception
| `ImageTagAlreadyExistsException of
Types.image_tag_already_exists_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LayersNotFoundException of Types.layers_not_found_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ReferencedImagesNotFoundException of
Types.referenced_images_not_found_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