2017/11/15 - AWS Step Functions - 2 new api methods
Changes Update stepfunctions client to latest version
Describes the state machine associated with a specific execution.
See also: AWS API Documentation
Request Syntax
client.describe_state_machine_for_execution( executionArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the execution you want state machine information for.
dict
Response Syntax
{ 'stateMachineArn': 'string', 'name': 'string', 'definition': 'string', 'roleArn': 'string', 'updateDate': datetime(2015, 1, 1) }
Response Structure
(dict) --
stateMachineArn (string) --
The Amazon Resource Name (ARN) of the state machine associated with the execution.
name (string) --
The name of the state machine associated with the execution.
definition (string) --
The Amazon States Language definition of the state machine.
roleArn (string) --
The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.
updateDate (datetime) --
The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date.
Updates an existing state machine by modifying its definition and/or roleArn. Running executions will continue to use the previous definition and roleArn.
See also: AWS API Documentation
Request Syntax
client.update_state_machine( stateMachineArn='string', definition='string', roleArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the state machine.
string
The Amazon States Language definition of the state machine.
string
The Amazon Resource Name (ARN) of the IAM role of the state machine.
dict
Response Syntax
{ 'updateDate': datetime(2015, 1, 1) }
Response Structure
(dict) --
updateDate (datetime) --
The date and time the state machine was updated.