Outposts / Client / tag_resource

tag_resource#

Outposts.Client.tag_resource(**kwargs)#

Adds 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 to add to the resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Outposts.Client.exceptions.InternalServerException

  • Outposts.Client.exceptions.ValidationException

  • Outposts.Client.exceptions.NotFoundException