UserNotificationsContacts / Client / list_tags_for_resource
list_tags_for_resource#
- UserNotificationsContacts.Client.list_tags_for_resource(**kwargs)#
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( arn='string' )
- Parameters:
arn (string) –
[REQUIRED]
The ARN you specified to list the tags of.
- Return type:
dict
- Returns:
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) –
tags (dict) –
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.
(string) –
(string) –
Exceptions
UserNotificationsContacts.Client.exceptions.InternalServerException
UserNotificationsContacts.Client.exceptions.ResourceNotFoundException
UserNotificationsContacts.Client.exceptions.AccessDeniedException
UserNotificationsContacts.Client.exceptions.ThrottlingException
UserNotificationsContacts.Client.exceptions.ValidationException