ConnectCampaignServiceV2 / Client / tag_resource

tag_resource

ConnectCampaignServiceV2.Client.tag_resource(**kwargs)

Tag a resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    Amazon Resource Names(ARN)

  • tags (dict) –

    [REQUIRED]

    Tag map with key and value.

    • (string) –

      The key of tag.

      • (string) –

        The value of tag.

Returns:

None

Exceptions

  • ConnectCampaignServiceV2.Client.exceptions.InternalServerException

  • ConnectCampaignServiceV2.Client.exceptions.ResourceNotFoundException

  • ConnectCampaignServiceV2.Client.exceptions.ValidationException

  • ConnectCampaignServiceV2.Client.exceptions.AccessDeniedException

  • ConnectCampaignServiceV2.Client.exceptions.ThrottlingException