2024/02/27 - AWS Amplify UI Builder - 3 new api methods
Changes We have added the ability to tag resources after they are created
Tags the resource with a tag key and value.
See also: AWS API Documentation
Request Syntax
client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
string
[REQUIRED]
The Amazon Resource Name (ARN) to use to tag a resource.
dict
[REQUIRED]
A list of tag key value pairs for a specified Amazon Resource Name (ARN).
(string) --
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Untags a resource with a specified Amazon Resource Name (ARN).
See also: AWS API Documentation
Request Syntax
client.untag_resource( resourceArn='string', tagKeys=[ 'string', ] )
string
[REQUIRED]
The Amazon Resource Name (ARN) to use to untag a resource.
list
[REQUIRED]
The tag keys to use to untag a resource.
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Returns a list of tags for a specified Amazon Resource Name (ARN).
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource( resourceArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) to use to list tags.
dict
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) --
tags (dict) --
A list of tag key value pairs for a specified Amazon Resource Name (ARN).
(string) --
(string) --