Smaws_Client_ECRPUBLIC.BatchDeleteImageDeletes a list of specified images that are within a repository in a public registry. Images are specified with either an imageTag or imageDigest.
You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.
You can completely delete an image (and all of its tags) by specifying the digest of the image in your request.
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
| `UnsupportedCommandException of Types.unsupported_command_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_delete_image_request ->
(Types.batch_delete_image_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_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.batch_delete_image_request ->
(Types.batch_delete_image_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
| `UnsupportedCommandException of Types.unsupported_command_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result