2019/01/25 - AWS MediaConnect - 3 new api methods
Changes This release adds support for tagging, untagging, and listing tags for existing AWS Elemental MediaConnect resources.
Associates the specified tags to a resource. If the request does not mention an existing tag associated with the resource, that tag is not changed.
See also: AWS API Documentation
Request Syntax
client.tag_resource( ResourceArn='string', Tags={ 'string': 'string' } )
string
[REQUIRED] The Amazon Resource Name (ARN) of the resource that you want to add tags to.
dict
[REQUIRED] A map from tag keys to values. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
(string) --
(string) --
None
Lists all tags associated with the resource.
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource( ResourceArn='string' )
string
[REQUIRED] The Amazon Resource Name (ARN) of the resource that you want to view tags for.
dict
Response Syntax
{ 'Tags': { 'string': 'string' } }
Response Structure
(dict) -- AWS Elemental MediaConnect listed the tags associated with the resource.
Tags (dict) -- A map from tag keys to values. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
(string) --
(string) --
Deletes the specified tags from a resource.
See also: AWS API Documentation
Request Syntax
client.untag_resource( ResourceArn='string', TagKeys=[ 'string', ] )
string
[REQUIRED] The Amazon Resource Name (ARN) of the resource that you want to remove tags from.
list
[REQUIRED] The keys of the tags to be removed.
(string) --
None