ElasticInference / Client / tag_resource

tag_resource#

ElasticInference.Client.tag_resource(**kwargs)#

Adds the specified tags to an Elastic Inference Accelerator.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The ARN of the Elastic Inference Accelerator to tag.

  • tags (dict) –

    [REQUIRED]

    The tags to add to the Elastic Inference Accelerator.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ElasticInference.Client.exceptions.BadRequestException

  • ElasticInference.Client.exceptions.ResourceNotFoundException

  • ElasticInference.Client.exceptions.InternalServerException