Amazon Elastic Inference

2019/11/26 - Amazon Elastic Inference - 3 new api methods

Changes  Amazon Elastic Inference allows customers to attach Elastic Inference Accelerators to Amazon EC2 and Amazon ECS tasks, thus providing low-cost GPU-powered acceleration and reducing the cost of running deep learning inference. This release allows customers to add or remove tags for their Elastic Inference Accelerators.

UntagResource (new) Link ¶

Removes the specified tag(s) from an Elastic Inference Accelerator.

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
type resourceArn

string

param resourceArn

[REQUIRED] The ARN of the Elastic Inference Accelerator to untag.

type tagKeys

list

param tagKeys

[REQUIRED] The list of tags to remove from the Elastic Inference Accelerator.

  • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

ListTagsForResource (new) Link ¶

Returns all tags of an Elastic Inference Accelerator.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    resourceArn='string'
)
type resourceArn

string

param resourceArn

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

rtype

dict

returns

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • tags (dict) -- The tags of the Elastic Inference Accelerator.

      • (string) --

        • (string) --

TagResource (new) Link ¶

Adds the specified tag(s) to an Elastic Inference Accelerator.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
type resourceArn

string

param resourceArn

[REQUIRED] The ARN of the Elastic Inference Accelerator to tag.

type tags

dict

param tags

[REQUIRED] The tags to add to the Elastic Inference Accelerator.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --