EndUserMessagingSocial / Client / list_tags_for_resource
list_tags_for_resource#
- EndUserMessagingSocial.Client.list_tags_for_resource(**kwargs)#
List all tags associated with a resource, such as a phone number or WABA.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to retrieve the tags from.
- Return type:
dict
- Returns:
Response Syntax
{ 'statusCode': 123, 'tags': [ { 'key': 'string', 'value': 'string' }, ] }
Response Structure
(dict) –
statusCode (integer) –
The status code of the response.
tags (list) –
The tags for the resource.
(dict) –
The tag for a resource.
key (string) –
The tag key.
value (string) –
The tag value.
Exceptions
EndUserMessagingSocial.Client.exceptions.ValidationException
EndUserMessagingSocial.Client.exceptions.AccessDeniedException
EndUserMessagingSocial.Client.exceptions.InvalidParametersException
EndUserMessagingSocial.Client.exceptions.ThrottledRequestException
EndUserMessagingSocial.Client.exceptions.InternalServiceException