StepFunctionsClient.update_state_machine_alias
rboto-sfn==0.4.0 · Service index · Types
Model summary (excerpt): Updates the configuration of an existing state machine alias by modifying its description or routingConfiguration . You must specify at least one of the description or routingConfiguration parameters to update a state machine alias. UpdateStateMachineAlias is an idempotent API. Step Functions bases the idempotency check on the stateMachineAliasArn , description , and routingConfiguration...
Install and imports
from rboto import StepFunctionsClient
from collections.abc import Sequence
from rboto_sfn.types import (
RoutingConfigurationListItem,
UpdateStateMachineAliasOutput,
)
Signature
async def update_state_machine_alias(
*,
state_machine_alias_arn: str,
description: str | None = None,
routing_configuration: Sequence[RoutingConfigurationListItem] | None = None,
) -> UpdateStateMachineAliasOutput: ...
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_alias_arn |
Yes | The Amazon Resource Name (ARN) of the state machine alias. |
description |
No | A description of the state machine alias. |
routing_configuration |
No | The routing configuration of the state machine alias. An array of RoutingConfig objects that specifies up to two state machine versions that the alias starts executions for. |
Output
UpdateStateMachineAliasOutput.
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 |
|---|---|---|---|
update_date |
str |
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
RoutingConfigurationListItem, UpdateStateMachineAliasOutput
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:
ConflictError, InvalidArnError, ResourceNotFoundError, StateMachineDeletingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.