AppMonetization / Client / tag_resource

tag_resource

AppMonetization.Client.tag_resource(**kwargs)

Adds or overwrites tags on an app, pricing plan, billing metric or one-time price.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    ARN of the app, pricing plan, billing metric or one-time price to tag.

  • tags (dict) –

    [REQUIRED]

    Tags to add. A tag whose key already exists on the resource has its value overwritten.

    • (string) –

      A tag key. Keys that begin with aws: (in any letter case) are reserved and rejected.

      • (string) –

        A tag value.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    Output for TagResource.

Exceptions

  • AppMonetization.Client.exceptions.AccessDeniedException

  • AppMonetization.Client.exceptions.ValidationException

  • AppMonetization.Client.exceptions.ConflictException

  • AppMonetization.Client.exceptions.InternalServerException

  • AppMonetization.Client.exceptions.ResourceNotFoundException

  • AppMonetization.Client.exceptions.ThrottlingException