ConnectCampaignServiceV2 / Client / list_tags_for_resource

list_tags_for_resource

ConnectCampaignServiceV2.Client.list_tags_for_resource(**kwargs)

List tags for a resource.

See also: AWS API Documentation

Request Syntax

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

arn (string) –

[REQUIRED]

Amazon Resource Names(ARN)

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    The request for ListTagsForResource API.

    • tags (dict) –

      Tag map with key and value.

      • (string) –

        The key of tag.

        • (string) –

          The value of tag.

Exceptions

  • ConnectCampaignServiceV2.Client.exceptions.InternalServerException

  • ConnectCampaignServiceV2.Client.exceptions.ResourceNotFoundException

  • ConnectCampaignServiceV2.Client.exceptions.ValidationException

  • ConnectCampaignServiceV2.Client.exceptions.AccessDeniedException

  • ConnectCampaignServiceV2.Client.exceptions.ThrottlingException