Amazon Honeycode

2022/01/12 - Amazon Honeycode - 3 new api methods

Changes  Honeycode is releasing new APIs to allow user to create, delete and list tags on resources.

TagResource (new) Link ¶

The TagResource API allows you to add tags to an ARN-able resource. Resource includes workbook, table, screen and screen-automation.

See also: AWS API Documentation

Request Syntax

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

string

param resourceArn

[REQUIRED]

The resource's Amazon Resource Name (ARN).

type tags

dict

param tags

[REQUIRED]

A list of tags to apply to the resource.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

UntagResource (new) Link ¶

The UntagResource API allows you to removes tags from an ARN-able resource. Resource includes workbook, table, screen and screen-automation.

See also: AWS API Documentation

Request Syntax

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

string

param resourceArn

[REQUIRED]

The resource's Amazon Resource Name (ARN).

type tagKeys

list

param tagKeys

[REQUIRED]

A list of tag keys to remove from the resource.

  • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

ListTagsForResource (new) Link ¶

The ListTagsForResource API allows you to return a resource's tags.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    resourceArn='string'
)
type resourceArn

string

param resourceArn

[REQUIRED]

The resource's Amazon Resource Name (ARN).

rtype

dict

returns

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • tags (dict) --

      The resource's tags.

      • (string) --

        • (string) --