2016/11/03 - AWS Direct Connect - 3 new api methods
Changes Update directconnect client to latest version
Removes one or more tags from the specified Direct Connect resource.
Request Syntax
client.untag_resource( resourceArn='string', tagKeys=[ 'string', ] )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the Direct Connect resource.
list
[REQUIRED]
The list of tag keys to remove.
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
The response received when UntagResource is called.
Adds the specified tags to the specified Direct Connect resource. Each Direct Connect resource can have a maximum of 50 tags.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with the Direct Connect resource, this action updates its value.
Request Syntax
client.tag_resource( resourceArn='string', tags=[ { 'key': 'string', 'value': 'string' }, ] )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the Direct Connect resource.
Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh
list
[REQUIRED]
The list of tags to add.
(dict) --
Information about a tag.
key (string) -- [REQUIRED]
The key of the tag.
value (string) --
The value of the tag.
dict
Response Syntax
{}
Response Structure
(dict) --
The response received when TagResource is called.
Describes the tags associated with the specified Direct Connect resources.
Request Syntax
client.describe_tags( resourceArns=[ 'string', ] )
list
[REQUIRED]
The Amazon Resource Names (ARNs) of the Direct Connect resources.
(string) --
dict
Response Syntax
{ 'resourceTags': [ { 'resourceArn': 'string', 'tags': [ { 'key': 'string', 'value': 'string' }, ] }, ] }
Response Structure
(dict) --
The response received when DescribeTags is called.
resourceTags (list) --
Information about the tags.
(dict) --
The tags associated with a Direct Connect resource.
resourceArn (string) --
The Amazon Resource Name (ARN) of the Direct Connect resource.
tags (list) --
The tags.
(dict) --
Information about a tag.
key (string) --
The key of the tag.
value (string) --
The value of the tag.