Smaws_Client_SNS.TagResourceAdd tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.
When you use topic tags, keep the following guidelines in mind:
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `ConcurrentAccessException of Types.concurrent_access_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `StaleTagException of Types.stale_tag_exception
| `TagLimitExceededException of Types.tag_limit_exceeded_exception
| `TagPolicyException of Types.tag_policy_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.tag_resource_request ->
(Types.tag_resource_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `ConcurrentAccessException of Types.concurrent_access_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `StaleTagException of Types.stale_tag_exception
| `TagLimitExceededException of Types.tag_limit_exceeded_exception
| `TagPolicyException of Types.tag_policy_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.AwsQuery.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `ConcurrentAccessException of Types.concurrent_access_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `StaleTagException of Types.stale_tag_exception
| `TagLimitExceededException of Types.tag_limit_exceeded_exception
| `TagPolicyException of Types.tag_policy_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result