ElasticInference / Client / tag_resource
tag_resource#
- ElasticInference.Client.tag_resource(**kwargs)#
Adds the specified tags to an Elastic Inference Accelerator.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
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