Updates an existing state machine by modifying its definition,
roleArn, or loggingConfiguration. 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.
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.
sfn_update_state_machine(stateMachineArn, definition, roleArn,
loggingConfiguration, tracingConfiguration)[required] The Amazon Resource Name (ARN) of the state machine.
The Amazon States Language definition of the state machine. See Amazon States Language.
The Amazon Resource Name (ARN) of the IAM role of the state machine.
The LoggingConfiguration data type is used to set CloudWatch Logs
options.
Selects whether AWS X-Ray tracing is enabled.
svc$update_state_machine(
stateMachineArn = "string",
definition = "string",
roleArn = "string",
loggingConfiguration = list(
level = "ALL"|"ERROR"|"FATAL"|"OFF",
includeExecutionData = TRUE|FALSE,
destinations = list(
list(
cloudWatchLogsLogGroup = list(
logGroupArn = "string"
)
)
)
),
tracingConfiguration = list(
enabled = TRUE|FALSE
)
)