Managed Streaming for Kafka

2019/04/18 - Managed Streaming for Kafka - 3 new api methods

Changes  Amazon Kafka - Added tagging APIs

UntagResource (new) Link ¶

Remove tags of a resource by given tag keys.

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) that uniquely identifies the resource.

type TagKeys

list

param TagKeys

[REQUIRED]

The list of tag keys.

  • (string) --

returns

None

TagResource (new) Link ¶

Tag a resource with given tags.

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) that uniquely identifies the resource.

type Tags

dict

param Tags

[REQUIRED]

The key-value pairs for the resource tags

  • (string) --

    • (string) --

returns

None

ListTagsForResource (new) Link ¶

Returns a list of tags attached to a resource.

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) that uniquely identifies the resource.

rtype

dict

returns

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    Successful response.

    • Tags (dict) --

      The key-value pairs for the resource tags

      • (string) --

        • (string) --