Amazon Elastic Inference

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

Changes  Update elastic-inference client to latest version

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) --

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) --

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) --