Updates an existing state machine by modifying its definition, roleArn, loggingConfiguration, or EncryptionConfiguration
Source:R/sfn_operations.R
sfn_update_state_machine.RdUpdates an existing state machine by modifying its definition, roleArn, loggingConfiguration, or EncryptionConfiguration. 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.
See https://www.paws-r-sdk.com/docs/sfn_update_state_machine/ for full documentation.
Usage
sfn_update_state_machine(
stateMachineArn,
definition = NULL,
roleArn = NULL,
loggingConfiguration = NULL,
tracingConfiguration = NULL,
publish = NULL,
versionDescription = NULL,
encryptionConfiguration = NULL
)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.
- loggingConfiguration
Use the
LoggingConfigurationdata type to set CloudWatch Logs options.- tracingConfiguration
Selects whether X-Ray tracing is enabled.
- publish
Specifies whether the state machine version is published. The default is
false. To publish a version after updating the state machine, setpublishtotrue.- versionDescription
An optional description of the state machine version to publish.
You can only specify the
versionDescriptionparameter if you've setpublishtotrue.- encryptionConfiguration
Settings to configure server-side encryption.