AlexaForBusiness / Client / tag_resource

tag_resource#

AlexaForBusiness.Client.tag_resource(**kwargs)#

Adds metadata tags to a specified resource.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    Arn='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • Arn (string) –

    [REQUIRED]

    The ARN of the resource to which to add metadata tags. Required.

  • Tags (list) –

    [REQUIRED]

    The tags to be added to the specified resource. Do not provide system tags. Required.

    • (dict) –

      A key-value pair that can be associated with a resource.

      • Key (string) – [REQUIRED]

        The key of a tag. Tag keys are case-sensitive.

      • Value (string) – [REQUIRED]

        The value of a tag. Tag values are case sensitive and can be null.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AlexaForBusiness.Client.exceptions.NotFoundException