2018/12/21 - AWS Step Functions - 3 new api methods
Changes Update stepfunctions client to latest version
List tags for a given resource.
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource(
resourceArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) for the Step Functions state machine or activity.
dict
Response Syntax
{
'tags': [
{
'key': 'string',
'value': 'string'
},
]
}
Response Structure
(dict) --
tags (list) --
An array of tags associated with the resource.
(dict) --
Tags are key-value pairs that can be associated with Step Functions state machines and activities.
key (string) --
The key of a tag.
value (string) --
The value of a tag.
Remove a tag from a Step Functions resource
See also: AWS API Documentation
Request Syntax
client.untag_resource(
resourceArn='string',
tagKeys=[
'string',
]
)
string
[REQUIRED]
The Amazon Resource Name (ARN) for the Step Functions state machine or activity.
list
[REQUIRED]
The list of tags to remove from the resource.
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Add a tag to a Step Functions resource.
See also: AWS API Documentation
Request Syntax
client.tag_resource(
resourceArn='string',
tags=[
{
'key': 'string',
'value': 'string'
},
]
)
string
[REQUIRED]
The Amazon Resource Name (ARN) for the Step Functions state machine or activity.
list
[REQUIRED]
The list of tags to add to a resource.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.
(dict) --
Tags are key-value pairs that can be associated with Step Functions state machines and activities.
key (string) --
The key of a tag.
value (string) --
The value of a tag.
dict
Response Syntax
{}
Response Structure
(dict) --