Smaws_Client_SFN.UpdateStateMachineAliasUpdates 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 parameters. Requests with the same parameters return an idempotent response.
This operation is eventually consistent. All StartExecution requests made within a few seconds use the latest alias configuration. Executions started immediately after calling UpdateStateMachineAlias may use the previous routing configuration.
Related operations:
CreateStateMachineAliasDescribeStateMachineAliasListStateMachineAliasesDeleteStateMachineAliasval error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InvalidArn of Types.invalid_arn
| `ResourceNotFound of Types.resource_not_found
| `StateMachineDeleting of Types.state_machine_deleting
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_state_machine_alias_input ->
(Types.update_state_machine_alias_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InvalidArn of Types.invalid_arn
| `ResourceNotFound of Types.resource_not_found
| `StateMachineDeleting of Types.state_machine_deleting
| `ValidationException of Types.validation_exception ])
Stdlib.result