aws.stepfunctions.describe_state_machine_for_execution
Example SQL Queries
SELECT * FROMaws.stepfunctions.describe_state_machine_for_executionWHERE"execution_arn" = 'VALUE';Description
Provides information about a state machine's definition, its execution role ARN, and configuration. If a Map Run dispatched the execution, this action returns the Map Run Amazon Resource Name (ARN) in the response. The state machine returned is the state machine associated with the Map Run.
This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
This API action is not supported by EXPRESS state machines.
Table Definition
| Column Name | Column Data Type |
|---|---|
| execution_arn Required Input Column The Amazon Resource Name (ARN) of the execution you want state machine information for. | VARCHAR |
| included_data Input Column If your state machine definition is encrypted with a KMS key, callers must have kms:Decrypt permission to decrypt the definition. Alternatively, you can call the API with includedData = METADATA_ONLY to get a successful response without the encrypted definition. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| definition The Amazon States Language definition of the state machine. See Amazon States Language. | VARCHAR |
| encryption_configuration Settings to configure server-side encryption. | STRUCT( |
Show child fields
| |
| label A user-defined or an auto-generated string that identifies a Map state. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state. | VARCHAR |
| logging_configuration The LoggingConfiguration data type is used to set CloudWatch Logs options. | STRUCT( |
Show child fields
| |
| map_run_arn The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state. | VARCHAR |
| name The name of the state machine associated with the execution. | VARCHAR |
| revision_id The revision identifier for the state machine. The first revision ID when you create the state machine is null. Use the state machine revisionId parameter to compare the revision of a state machine with the configuration of the state machine used for executions without performing a diff of the properties, such as definition and roleArn. | VARCHAR |
| role_arn The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution. | VARCHAR |
| state_machine_arn The Amazon Resource Name (ARN) of the state machine associated with the execution. | VARCHAR |
| tracing_configuration Selects whether X-Ray tracing is enabled. | STRUCT( |
Show child fields
| |
| update_date The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date. | TIMESTAMP_S |