MQ / Client / create_tags

create_tags#

MQ.Client.create_tags(**kwargs)#

Add a tag to a resource.

See also: AWS API Documentation

Request Syntax

response = client.create_tags(
    ResourceArn='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • ResourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource tag.

  • Tags (dict) –

    The key-value pair for the resource tag.

    • (string) –

      • (string) –

Returns:

None

Exceptions

  • MQ.Client.exceptions.NotFoundException

  • MQ.Client.exceptions.BadRequestException

  • MQ.Client.exceptions.InternalServerErrorException

  • MQ.Client.exceptions.ForbiddenException