CodeStarNotifications / Client / list_tags_for_resource

list_tags_for_resource#

CodeStarNotifications.Client.list_tags_for_resource(**kwargs)#

Returns a list of the tags associated with a notification rule.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    Arn='string'
)
Parameters:

Arn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) for the notification rule.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Tags (dict) –

      The tags associated with the notification rule.

      • (string) –

        • (string) –

Exceptions

  • CodeStarNotifications.Client.exceptions.ResourceNotFoundException

  • CodeStarNotifications.Client.exceptions.ValidationException