tag_resource

LicenseManager.Client.tag_resource(**kwargs)

Adds the specified tags to the specified license configuration.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    Amazon Resource Name (ARN) of the license configuration.

  • Tags (list) --

    [REQUIRED]

    One or more tags.

    • (dict) --

      Details about a tag for a license configuration.

      • Key (string) --

        Tag key.

      • Value (string) --

        Tag value.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • LicenseManager.Client.exceptions.InvalidParameterValueException
  • LicenseManager.Client.exceptions.ServerInternalException
  • LicenseManager.Client.exceptions.AuthorizationException
  • LicenseManager.Client.exceptions.AccessDeniedException
  • LicenseManager.Client.exceptions.RateLimitExceededException