list_tags_for_resource

Outposts.Client.list_tags_for_resource(**kwargs)

Lists the tags for the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters
ResourceArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the resource.

Return type
dict
Returns
Response Syntax
{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • Tags (dict) --

      The resource tags.

      • (string) --
        • (string) --

Exceptions

  • Outposts.Client.exceptions.InternalServerException
  • Outposts.Client.exceptions.ValidationException
  • Outposts.Client.exceptions.NotFoundException