CodeStarNotifications / Client / tag_resource

tag_resource#

CodeStarNotifications.Client.tag_resource(**kwargs)#

Associates a set of provided tags with a notification rule.

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) of the notification rule to tag.

  • Tags (dict) –

    [REQUIRED]

    The list of tags to associate with the resource. Tag key names cannot start with “ aws”.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Tags (dict) –

      The list of tags associated with the resource.

      • (string) –

        • (string) –

Exceptions