UserNotifications / Client / tag_resource
tag_resource¶
- UserNotifications.Client.tag_resource(**kwargs)¶
Tags the resource with a tag key and value.
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.tag_resource( arn='string', tags={ 'string': 'string' } )
- Parameters:
arn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) to use to tag a resource.
tags (dict) –
[REQUIRED]
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
UserNotifications.Client.exceptions.AccessDeniedException
UserNotifications.Client.exceptions.ValidationException
UserNotifications.Client.exceptions.InternalServerException
UserNotifications.Client.exceptions.ThrottlingException
UserNotifications.Client.exceptions.ResourceNotFoundException