Class: Aws::States::Types::PublishStateMachineVersionInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:description]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

An optional description of the state machine version.

Returns:

  • (String)


3201
3202
3203
3204
3205
3206
3207
# File 'lib/aws-sdk-states/types.rb', line 3201

class PublishStateMachineVersionInput < Struct.new(
  :state_machine_arn,
  :revision_id,
  :description)
  SENSITIVE = [:description]
  include Aws::Structure
end

#revision_idString

Only publish the state machine version if the current state machine’s revision ID matches the specified ID.

Use this option to avoid publishing a version if the state machine changed since you last updated it. If the specified revision ID doesn’t match the state machine’s current revision ID, the API returns ‘ConflictException`.

<note markdown=“1”> To specify an initial revision ID for a state machine with no revision ID assigned, specify the string ‘INITIAL` for the `revisionId` parameter. For example, you can specify a `revisionID` of `INITIAL` when you create a state machine using the CreateStateMachine API action.

</note>

Returns:

  • (String)


3201
3202
3203
3204
3205
3206
3207
# File 'lib/aws-sdk-states/types.rb', line 3201

class PublishStateMachineVersionInput < Struct.new(
  :state_machine_arn,
  :revision_id,
  :description)
  SENSITIVE = [:description]
  include Aws::Structure
end

#state_machine_arnString

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

Returns:

  • (String)


3201
3202
3203
3204
3205
3206
3207
# File 'lib/aws-sdk-states/types.rb', line 3201

class PublishStateMachineVersionInput < Struct.new(
  :state_machine_arn,
  :revision_id,
  :description)
  SENSITIVE = [:description]
  include Aws::Structure
end