You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodePipeline::Types::PutApprovalResultInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb

Overview

Note:

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

{
  pipeline_name: "PipelineName", # required
  stage_name: "StageName", # required
  action_name: "ActionName", # required
  result: { # required
    summary: "ApprovalSummary", # required
    status: "Approved", # required, accepts Approved, Rejected
  },
  token: "ApprovalToken", # required
}

Represents the input of a PutApprovalResult action.

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameString

The name of the action for which approval is requested.

Returns:

  • (String)


2697
2698
2699
2700
2701
2702
2703
2704
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2697

class PutApprovalResultInput < Struct.new(
  :pipeline_name,
  :stage_name,
  :action_name,
  :result,
  :token)
  include Aws::Structure
end

#pipeline_nameString

The name of the pipeline that contains the action.

Returns:

  • (String)


2697
2698
2699
2700
2701
2702
2703
2704
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2697

class PutApprovalResultInput < Struct.new(
  :pipeline_name,
  :stage_name,
  :action_name,
  :result,
  :token)
  include Aws::Structure
end

#resultTypes::ApprovalResult

Represents information about the result of the approval request.



2697
2698
2699
2700
2701
2702
2703
2704
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2697

class PutApprovalResultInput < Struct.new(
  :pipeline_name,
  :stage_name,
  :action_name,
  :result,
  :token)
  include Aws::Structure
end

#stage_nameString

The name of the stage that contains the action.

Returns:

  • (String)


2697
2698
2699
2700
2701
2702
2703
2704
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2697

class PutApprovalResultInput < Struct.new(
  :pipeline_name,
  :stage_name,
  :action_name,
  :result,
  :token)
  include Aws::Structure
end

#tokenString

The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState action and is used to validate that the approval request corresponding to this token is still valid.

Returns:

  • (String)


2697
2698
2699
2700
2701
2702
2703
2704
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2697

class PutApprovalResultInput < Struct.new(
  :pipeline_name,
  :stage_name,
  :action_name,
  :result,
  :token)
  include Aws::Structure
end