list_tags_for_resource

Private5G.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

  • Private5G.Client.exceptions.ResourceNotFoundException
  • Private5G.Client.exceptions.AccessDeniedException
  • Private5G.Client.exceptions.ValidationException
  • Private5G.Client.exceptions.InternalServerException
  • Private5G.Client.exceptions.ThrottlingException