DescribeExecutionOutput
¶
Source code in docs_src/capo_sfn/types/describe_execution_output.py
cause
instance-attribute
¶
cause: NotRequired[SensitiveCause]
The cause string if the state machine execution failed.
error
instance-attribute
¶
error: NotRequired[SensitiveError]
The error string if the state machine execution failed.
execution_arn
instance-attribute
¶
execution_arn: Arn
The Amazon Resource Name (ARN) that identifies the execution.
input
instance-attribute
¶
input: NotRequired[SensitiveData]
The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
map_run_arn
instance-attribute
¶
map_run_arn: NotRequired[LongArn]
The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
name
instance-attribute
¶
name: NotRequired[Name]
The name of the execution.
A name must not contain:
-
white space
-
brackets
< > { } [ ] -
wildcard characters
? * -
special characters
" # % \ ^ | ~ ` $ & , ; : / -
control characters (
U+0000-001F,U+007F-009F,U+FFFE-FFFF) -
surrogates (
U+D800-DFFF) -
invalid characters (
U+10FFFF)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
output
instance-attribute
¶
output: NotRequired[SensitiveData]
The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
This field is set only if the execution succeeds. If the execution fails, this field is null.
output_details
instance-attribute
¶
output_details: NotRequired[CloudWatchEventsExecutionDataDetails]
redrive_count
instance-attribute
¶
redrive_count: NotRequired[RedriveCount]
The number of times you've redriven an execution. If you have not yet redriven an execution, the redriveCount is 0. This count is only updated if you successfully redrive an execution.
redrive_date
instance-attribute
¶
redrive_date: NotRequired[Timestamp]
The date the execution was last redriven. If you have not yet redriven an execution, the redriveDate is null.
The redriveDate is unavailable if you redrive a Map Run that starts child workflow executions of type EXPRESS.
redrive_status
instance-attribute
¶
redrive_status: NotRequired[ExecutionRedriveStatus]
Indicates whether or not an execution can be redriven at a given point in time.
-
For executions of type
STANDARD,redriveStatusisNOT_REDRIVABLEif calling the RedriveExecution API action would return theExecutionNotRedrivableerror. -
For a Distributed Map that includes child workflows of type
STANDARD,redriveStatusindicates whether or not the Map Run can redrive child workflow executions. -
For a Distributed Map that includes child workflows of type
EXPRESS,redriveStatusindicates whether or not the Map Run can redrive child workflow executions.You can redrive failed or timed out
EXPRESSworkflows only if they're a part of a Map Run. When you redrive the Map Run, these workflows are restarted using the StartExecution API action.
redrive_status_reason
instance-attribute
¶
redrive_status_reason: NotRequired[SensitiveData]
When redriveStatus is NOT_REDRIVABLE, redriveStatusReason specifies the reason why an execution cannot be redriven.
-
For executions of type
STANDARD, or for a Distributed Map that includes child workflows of typeSTANDARD,redriveStatusReasoncan include one of the following reasons:-
State machine is in DELETING status. -
Execution is RUNNING and cannot be redriven. -
Execution is SUCCEEDED and cannot be redriven. -
Execution was started before the launch of RedriveExecution. -
Execution history event limit exceeded. -
Execution has exceeded the max execution time. -
Execution redrivable period exceeded.
-
-
For a Distributed Map that includes child workflows of type
EXPRESS,redriveStatusReasonis only returned if the child workflows are not redrivable. This happens when the child workflow executions have completed successfully.
state_machine_alias_arn
instance-attribute
¶
state_machine_alias_arn: NotRequired[Arn]
The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is a combination of state machine ARN and the alias name separated by a colon (:). For example, stateMachineARN:PROD.
If you start an execution from a StartExecution request with a state machine version ARN, this field will be null.
state_machine_arn
instance-attribute
¶
state_machine_arn: Arn
The Amazon Resource Name (ARN) of the executed stated machine.
state_machine_version_arn
instance-attribute
¶
state_machine_version_arn: NotRequired[Arn]
The Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example, stateMachineARN:1.
If you start an execution from a StartExecution request without specifying a state machine version or alias ARN, Step Functions returns a null value.
stop_date
instance-attribute
¶
stop_date: NotRequired[Timestamp]
If the execution ended, the date the execution stopped.
trace_header
instance-attribute
¶
trace_header: NotRequired[TraceHeader]
The X-Ray trace header that was passed to the execution.
For X-Ray traces, all Amazon Web Services services use the X-Amzn-Trace-Id header from the HTTP request. Using the header is the preferred mechanism to identify a trace. StartExecution and StartSyncExecution API operations can also use traceHeader from the body of the request payload. If both sources are provided, Step Functions will use the header value (preferred) over the value in the request body.