paws.application.integration (version 0.1.0)

sfn_update_state_machine: Updates an existing state machine by modifying its definition and/or roleArn

Description

Updates an existing state machine by modifying its definition and/or roleArn. Running executions will continue to use the previous definition and roleArn. You must include at least one of definition or roleArn or you will receive a MissingRequiredParameter error.

Usage

sfn_update_state_machine(stateMachineArn, definition, roleArn)

Arguments

stateMachineArn

[required] The Amazon Resource Name (ARN) of the state machine.

definition

The Amazon States Language definition of the state machine. See Amazon States Language.

roleArn

The Amazon Resource Name (ARN) of the IAM role of the state machine.

Request syntax

svc$update_state_machine(
  stateMachineArn = "string",
  definition = "string",
  roleArn = "string"
)

Details

All StartExecution calls within a few seconds will use the updated definition and roleArn. Executions started immediately after calling UpdateStateMachine may use the previous state machine definition and roleArn.