PartnerCentralAnalytics / Client / tag_resource

tag_resource

PartnerCentralAnalytics.Client.tag_resource(**kwargs)

Adds or overwrites tags on a data subscription owned by the calling account.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the data subscription to tag.

  • catalog (string) –

    [REQUIRED]

    The catalog the subscription belongs to.

  • tags (dict) –

    [REQUIRED]

    The tags to add or overwrite. Up to 50 tags; key length 1-128, value length 0-256; keys beginning with the reserved aws: prefix are rejected.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • PartnerCentralAnalytics.Client.exceptions.TooManyRequestsException

  • PartnerCentralAnalytics.Client.exceptions.InternalServerException

  • PartnerCentralAnalytics.Client.exceptions.AccessDeniedException

  • PartnerCentralAnalytics.Client.exceptions.BadRequestException

  • PartnerCentralAnalytics.Client.exceptions.ResourceNotFoundException