tag_resource

AppIntegrationsService.Client.tag_resource(**kwargs)

Adds the specified tags to the specified 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.

  • tags (dict) --

    [REQUIRED]

    The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • AppIntegrationsService.Client.exceptions.InvalidRequestException
  • AppIntegrationsService.Client.exceptions.InternalServiceError
  • AppIntegrationsService.Client.exceptions.ResourceNotFoundException
  • AppIntegrationsService.Client.exceptions.ThrottlingException