AWS Amplify UI Builder

2024/02/27 - AWS Amplify UI Builder - 3 new api methods

Changes  We have added the ability to tag resources after they are created

ListTagsForResource (new) Link ¶

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'
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The Amazon Resource Name (ARN) to use to list tags.

rtype:

dict

returns:

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

UntagResource (new) Link ¶

Untags a resource with a specified Amazon Resource Name (ARN).

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    resourceArn='string',
    tagKeys=[
        'string',
    ]
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The Amazon Resource Name (ARN) to use to untag a resource.

type tagKeys:

list

param tagKeys:

[REQUIRED]

The tag keys to use to untag a resource.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

TagResource (new) Link ¶

Tags the resource with a tag key and value.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
type resourceArn:

string

param resourceArn:

[REQUIRED]

The Amazon Resource Name (ARN) to use to tag a resource.

type tags:

dict

param tags:

[REQUIRED]

A list of tag key value pairs for a specified Amazon Resource Name (ARN).

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --