Class: Aws::States::Types::PublishStateMachineVersionInput
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::States::Types::PublishStateMachineVersionInput
 
 
- Includes:
 - Aws::Structure
 
- Defined in:
 - lib/aws-sdk-states/types.rb
 
Overview
Constant Summary collapse
- SENSITIVE =
 [:description]
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An optional description of the state machine version.
 - 
  
    
      #revision_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Only publish the state machine version if the current state machine’s revision ID matches the specified ID.
 - 
  
    
      #state_machine_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The Amazon Resource Name (ARN) of the state machine.
 
Instance Attribute Details
#description ⇒ String
An optional description of the state machine version.
      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_id ⇒ String
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>
  
      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_arn ⇒ String
The Amazon Resource Name (ARN) of the state machine.
      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  |