QApps / Client / tag_resource

tag_resource#

QApps.Client.tag_resource(**kwargs)#

Associates tags with an Amazon Q Apps resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

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

  • tags (dict) –

    [REQUIRED]

    The tags to associate with the resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • QApps.Client.exceptions.ResourceNotFoundException

  • QApps.Client.exceptions.AccessDeniedException

  • QApps.Client.exceptions.ConflictException

  • QApps.Client.exceptions.ValidationException

  • QApps.Client.exceptions.InternalServerException

  • QApps.Client.exceptions.ThrottlingException