Smaws_Client_ECR.DeleteRepositoryDeletes a repository. If the repository isn't empty, you must either delete the contents of the repository or use the force option to delete the repository and have Amazon ECR delete all of its contents on your behalf.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `KmsException of Types.kms_exception
| `RepositoryNotEmptyException of Types.repository_not_empty_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_repository_request ->
(Types.delete_repository_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `KmsException of Types.kms_exception
| `RepositoryNotEmptyException of Types.repository_not_empty_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.delete_repository_request ->
(Types.delete_repository_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `KmsException of Types.kms_exception
| `RepositoryNotEmptyException of Types.repository_not_empty_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result