Smaws_Client_DeviceFarm.TagResourceAssociates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ArgumentException of Types.argument_exception
| `NotFoundException of Types.not_found_exception
| `TagOperationException of Types.tag_operation_exception
| `TagPolicyException of Types.tag_policy_exception
| `TooManyTagsException of Types.too_many_tags_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.tag_resource_request ->
(Types.tag_resource_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ArgumentException of Types.argument_exception
| `NotFoundException of Types.not_found_exception
| `TagOperationException of Types.tag_operation_exception
| `TagPolicyException of Types.tag_policy_exception
| `TooManyTagsException of Types.too_many_tags_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
| `ArgumentException of Types.argument_exception
| `NotFoundException of Types.not_found_exception
| `TagOperationException of Types.tag_operation_exception
| `TagPolicyException of Types.tag_policy_exception
| `TooManyTagsException of Types.too_many_tags_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result