Smaws_Client_CodeCommit.TagResourceAdds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidRepositoryNameException of Types.invalid_repository_name_exception
| `InvalidResourceArnException of Types.invalid_resource_arn_exception
| `InvalidSystemTagUsageException of Types.invalid_system_tag_usage_exception
| `InvalidTagsMapException of Types.invalid_tags_map_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `ResourceArnRequiredException of Types.resource_arn_required_exception
| `TagPolicyException of Types.tag_policy_exception
| `TagsMapRequiredException of Types.tags_map_required_exception
| `TooManyTagsException of Types.too_many_tags_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.tag_resource_input ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `InvalidResourceArnException of Types.invalid_resource_arn_exception
| `InvalidSystemTagUsageException of
Types.invalid_system_tag_usage_exception
| `InvalidTagsMapException of Types.invalid_tags_map_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `ResourceArnRequiredException of Types.resource_arn_required_exception
| `TagPolicyException of Types.tag_policy_exception
| `TagsMapRequiredException of Types.tags_map_required_exception
| `TooManyTagsException of Types.too_many_tags_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.tag_resource_input ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `InvalidResourceArnException of Types.invalid_resource_arn_exception
| `InvalidSystemTagUsageException of
Types.invalid_system_tag_usage_exception
| `InvalidTagsMapException of Types.invalid_tags_map_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `ResourceArnRequiredException of Types.resource_arn_required_exception
| `TagPolicyException of Types.tag_policy_exception
| `TagsMapRequiredException of Types.tags_map_required_exception
| `TooManyTagsException of Types.too_many_tags_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result