StepFunctionsClient.describe_state_machine
rboto-sfn==0.4.0 · Service index · Types
Model summary (excerpt): Provides information about a state machine's definition, its IAM role Amazon Resource Name (ARN), and configuration. A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN. The following are some examples of qualified and unqualified state machine ARNs: The following qualified state machine ARN refers to a...
Install and imports
from rboto import StepFunctionsClient
from rboto_sfn.types import (
DescribeStateMachineOutput,
IncludedData,
)
Signature
async def describe_state_machine(
*,
state_machine_arn: str,
included_data: IncludedData | None = None,
) -> DescribeStateMachineOutput: ...
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) |
|---|---|---|
state_machine_arn |
Yes | The Amazon Resource Name (ARN) of the state machine for which you want the information. If you specify a state machine version ARN, this API returns details about that version. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example, stateMachineARN:1 . |
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. When calling a labelled ARN for an encrypted state machine, the includedData = METADATA_ONLY parameter will not apply because Step... |
Output
DescribeStateMachineOutput.
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 | — |
status |
StateMachineStatusOutput | None |
Always present | StateMachineStatusOutput |
definition |
str |
Always present | — |
role_arn |
str |
Always present | — |
type |
StateMachineTypeOutput |
Always present | StateMachineTypeOutput |
creation_date |
str |
Always present | — |
logging_configuration |
LoggingConfigurationOutput | None |
Always present | LoggingConfigurationOutput |
tracing_configuration |
TracingConfigurationOutput | None |
Always present | TracingConfigurationOutput |
label |
str | None |
Always present | — |
revision_id |
str | None |
Always present | — |
description |
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
DescribeStateMachineOutput, 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:
InvalidArnError, KmsAccessDeniedError, KmsInvalidStateError, KmsThrottlingError, StateMachineDoesNotExistError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.