EndUserMessaging / Client / tag_resource
tag_resource¶
- EndUserMessaging.Client.tag_resource(**kwargs)¶
Adds or overwrites the tags on a resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags=[ { 'key': 'string', 'value': 'string' }, ] )
- Parameters:
resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
tags (list) –
[REQUIRED]
An array of key and value pair tags that are associated with the resource.
(dict) –
Describes a tag as a key and value pair that you can associate with a resource.
key (string) – [REQUIRED]
The key of the tag.
value (string) – [REQUIRED]
The value of the tag.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
EndUserMessaging.Client.exceptions.ValidationExceptionEndUserMessaging.Client.exceptions.ThrottlingExceptionEndUserMessaging.Client.exceptions.AccessDeniedExceptionEndUserMessaging.Client.exceptions.ResourceNotFoundExceptionEndUserMessaging.Client.exceptions.InternalServerExceptionEndUserMessaging.Client.exceptions.ServiceQuotaExceededException