Smaws_Client_ECR.CreateRepositoryCreates a repository. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTagParameterException of Types.invalid_tag_parameter_exception
| `KmsException of Types.kms_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RepositoryAlreadyExistsException of
Types.repository_already_exists_exception
| `ServerException of Types.server_exception
| `TooManyTagsException of Types.too_many_tags_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_repository_request ->
(Types.create_repository_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTagParameterException of Types.invalid_tag_parameter_exception
| `KmsException of Types.kms_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RepositoryAlreadyExistsException of
Types.repository_already_exists_exception
| `ServerException of Types.server_exception
| `TooManyTagsException of Types.too_many_tags_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_repository_request ->
(Types.create_repository_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTagParameterException of Types.invalid_tag_parameter_exception
| `KmsException of Types.kms_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RepositoryAlreadyExistsException of
Types.repository_already_exists_exception
| `ServerException of Types.server_exception
| `TooManyTagsException of Types.too_many_tags_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result