UserNotificationsContacts / Client / tag_resource

tag_resource#

UserNotificationsContacts.Client.tag_resource(**kwargs)#

Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Taggable resources in AWS User Notifications Contacts include email contacts.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    arn='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • arn (string) –

    [REQUIRED]

    The ARN of the configuration.

  • tags (dict) –

    [REQUIRED]

    A list of tags to apply to the configuration.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • UserNotificationsContacts.Client.exceptions.InternalServerException

  • UserNotificationsContacts.Client.exceptions.ResourceNotFoundException

  • UserNotificationsContacts.Client.exceptions.AccessDeniedException

  • UserNotificationsContacts.Client.exceptions.ThrottlingException

  • UserNotificationsContacts.Client.exceptions.ValidationException