2020/12/07 - AWS Service Catalog App Registry - 3 new api methods
Changes AWS Service Catalog AppRegistry now supports adding, removing, and listing tags on resources after they are created.
Lists all of the tags on the resource.
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource( resourceArn='string' )
string
[REQUIRED]
The Amazon resource name (ARN) that specifies the resource.
dict
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) --
tags (dict) --
The tags on the resource.
(string) --
(string) --
Assigns one or more tags (key-value pairs) to the specified resource.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.
See also: AWS API Documentation
Request Syntax
client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
string
[REQUIRED]
The Amazon resource name (ARN) that specifies the resource.
dict
[REQUIRED]
The new or modified tags for the resource.
(string) --
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Removes 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) that specifies the resource.
list
[REQUIRED]
A list of the tag keys to remove from the specified resource.
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --