Smaws_Client_ECRPUBLIC.TagResourceAssociates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTagParameterException of Types.invalid_tag_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `UnsupportedCommandException of Types.unsupported_command_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.tag_resource_request ->
(Types.tag_resource_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTagParameterException of Types.invalid_tag_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `UnsupportedCommandException of Types.unsupported_command_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.tag_resource_request ->
(Types.tag_resource_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidTagParameterException of Types.invalid_tag_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `UnsupportedCommandException of Types.unsupported_command_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result