StepFunctionsClient.describe_state_machine_for_execution
rboto-sfn==0.4.0 · Service index · Types
Model summary (excerpt): 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...
Install and imports
from rboto import StepFunctionsClient
from rboto_sfn.types import (
DescribeStateMachineForExecutionOutput,
IncludedData,
)
Signature
async def describe_state_machine_for_execution(
*,
execution_arn: str,
included_data: IncludedData | None = None,
) -> DescribeStateMachineForExecutionOutput: ...
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 you want state machine information for. |
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 the API with includedData = METADATA_ONLY to get a successful response without the encrypted definition. |
Output
DescribeStateMachineForExecutionOutput.
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 |
|---|---|---|---|
state_machine_arn |
str |
Always present | — |
name |
str |
Always present | — |
definition |
str |
Always present | — |
role_arn |
str |
Always present | — |
update_date |
str |
Always present | — |
logging_configuration |
LoggingConfigurationOutput | None |
Always present | LoggingConfigurationOutput |
tracing_configuration |
TracingConfigurationOutput | None |
Always present | TracingConfigurationOutput |
map_run_arn |
str | None |
Always present | — |
label |
str | None |
Always present | — |
revision_id |
str | None |
Always present | — |
encryption_configuration |
EncryptionConfigurationOutput | None |
Always present | EncryptionConfigurationOutput |
variable_references |
dict[str, list[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
DescribeStateMachineForExecutionOutput, 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.