list_tags_for_resource

ElasticInference.Client.list_tags_for_resource(**kwargs)

Returns all tags of an Elastic Inference Accelerator.

See also: AWS API Documentation

Request Syntax

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

[REQUIRED]

The ARN of the Elastic Inference Accelerator to list the tags for.

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

Response Structure

  • (dict) --
    • tags (dict) --

      The tags of the Elastic Inference Accelerator.

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

Exceptions

  • ElasticInference.Client.exceptions.BadRequestException
  • ElasticInference.Client.exceptions.ResourceNotFoundException
  • ElasticInference.Client.exceptions.InternalServerException