StepFunctionsClient.describe_execution
rboto-sfn==0.4.0 · Service index · Types
Model summary (excerpt): Provides information about a state machine execution, such as the state machine associated with the execution, the execution input and output, and relevant execution metadata. If you've redriven an execution, you can use this API action to return information about the redrives of that execution. In addition, you can use this API action to return the Map Run Amazon Resource Name (ARN) if the...
Install and imports
from rboto import StepFunctionsClient
from rboto_sfn.types import (
DescribeExecutionOutput,
IncludedData,
)
Signature
async def describe_execution(
*,
execution_arn: str,
included_data: IncludedData | None = None,
) -> DescribeExecutionOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
execution_arn |
Yes | The Amazon Resource Name (ARN) of the execution to describe. |
included_data |
No | 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 DescribeStateMachine API with includedData = METADATA_ONLY to get a successful response without the encrypted definition. |
Output
DescribeExecutionOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
execution_arn |
str |
Always present | — |
state_machine_arn |
str |
Always present | — |
name |
str | None |
Always present | — |
status |
ExecutionStatusOutput |
Always present | ExecutionStatusOutput |
start_date |
str |
Always present | — |
stop_date |
str | None |
Always present | — |
input |
str | None |
Always present | — |
input_details |
CloudWatchEventsExecutionDataDetailsOutput | None |
Always present | CloudWatchEventsExecutionDataDetailsOutput |
output |
str | None |
Always present | — |
output_details |
CloudWatchEventsExecutionDataDetailsOutput | None |
Always present | CloudWatchEventsExecutionDataDetailsOutput |
trace_header |
str | None |
Always present | — |
map_run_arn |
str | None |
Always present | — |
error |
str | None |
Always present | — |
cause |
str | None |
Always present | — |
state_machine_version_arn |
str | None |
Always present | — |
state_machine_alias_arn |
str | None |
Always present | — |
redrive_count |
int | None |
Always present | — |
redrive_date |
str | None |
Always present | — |
redrive_status |
ExecutionRedriveStatusOutput | None |
Always present | ExecutionRedriveStatusOutput |
redrive_status_reason |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
DescribeExecutionOutput, IncludedData
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_sfn.exceptions:
ExecutionDoesNotExistError, InvalidArnError, KmsAccessDeniedError, KmsInvalidStateError, KmsThrottlingError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.