sfn_update_state_machine: Updates an existing state machine by modifying its...

View source: R/sfn_operations.R

sfn_update_state_machineR Documentation

Updates an existing state machine by modifying its definition, roleArn, loggingConfiguration, or EncryptionConfiguration

Description

Updates 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 LoggingConfiguration data 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, set publish to true.

versionDescription

An optional description of the state machine version to publish.

You can only specify the versionDescription parameter if you've set publish to true.

encryptionConfiguration

Settings to configure server-side encryption.


paws.application.integration documentation built on Sept. 12, 2024, 6:11 a.m.