Class: Aws::States::Types::UpdateStateMachineInput

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-states/types.rb

Overview

Note:

When making an API call, you may pass UpdateStateMachineInput data as a hash:

{
  state_machine_arn: "Arn", # required
  definition: "Definition",
  role_arn: "Arn",
  logging_configuration: {
    level: "ALL", # accepts ALL, ERROR, FATAL, OFF
    include_execution_data: false,
    destinations: [
      {
        cloud_watch_logs_log_group: {
          log_group_arn: "Arn",
        },
      },
    ],
  },
  tracing_configuration: {
    enabled: false,
  },
}

Constant Summary collapse

SENSITIVE =
[:definition]

Instance Attribute Summary collapse

Instance Attribute Details

#definitionString

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

[1]: docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html

Returns:

  • (String)


3017
3018
3019
3020
3021
3022
3023
3024
3025
# File 'lib/aws-sdk-states/types.rb', line 3017

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration,
  :tracing_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end

#logging_configurationTypes::LoggingConfiguration

The ‘LoggingConfiguration` data type is used to set CloudWatch Logs options.



3017
3018
3019
3020
3021
3022
3023
3024
3025
# File 'lib/aws-sdk-states/types.rb', line 3017

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration,
  :tracing_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end

#role_arnString

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

Returns:

  • (String)


3017
3018
3019
3020
3021
3022
3023
3024
3025
# File 'lib/aws-sdk-states/types.rb', line 3017

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration,
  :tracing_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end

#state_machine_arnString

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

Returns:

  • (String)


3017
3018
3019
3020
3021
3022
3023
3024
3025
# File 'lib/aws-sdk-states/types.rb', line 3017

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration,
  :tracing_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end

#tracing_configurationTypes::TracingConfiguration

Selects whether AWS X-Ray tracing is enabled.



3017
3018
3019
3020
3021
3022
3023
3024
3025
# File 'lib/aws-sdk-states/types.rb', line 3017

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration,
  :tracing_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end