UserNotifications / Client / list_tags_for_resource
list_tags_for_resource¶
- UserNotifications.Client.list_tags_for_resource(**kwargs)¶
Returns a list of tags for a specified Amazon Resource Name (ARN).
For more information, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
Note
This is only supported for
NotificationConfigurations
.See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( arn='string' )
- Parameters:
arn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) to use to list tags.
- Return type:
dict
- Returns:
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) –
tags (dict) –
A list of tags for the specified ARN.
(string) –
(string) –
Exceptions
UserNotifications.Client.exceptions.AccessDeniedException
UserNotifications.Client.exceptions.ValidationException
UserNotifications.Client.exceptions.InternalServerException
UserNotifications.Client.exceptions.ThrottlingException
UserNotifications.Client.exceptions.ResourceNotFoundException