Smaws_Client_GlobalAccelerator.TagResourceAdd tags to an accelerator resource.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AcceleratorNotFoundException of Types.accelerator_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.tag_resource_request ->
(Types.tag_resource_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AcceleratorNotFoundException of Types.accelerator_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_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
| `AcceleratorNotFoundException of Types.accelerator_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result