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

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

Overview

Represents the input of a ‘PutApprovalResult` action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameString

The name of the action for which approval is requested.

Returns:

  • (String)


4026
4027
4028
4029
4030
4031
4032
4033
4034
# File 'lib/aws-sdk-codepipeline/types.rb', line 4026

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

#pipeline_nameString

The name of the pipeline that contains the action.

Returns:

  • (String)


4026
4027
4028
4029
4030
4031
4032
4033
4034
# File 'lib/aws-sdk-codepipeline/types.rb', line 4026

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

#resultTypes::ApprovalResult

Represents information about the result of the approval request.



4026
4027
4028
4029
4030
4031
4032
4033
4034
# File 'lib/aws-sdk-codepipeline/types.rb', line 4026

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

#stage_nameString

The name of the stage that contains the action.

Returns:

  • (String)


4026
4027
4028
4029
4030
4031
4032
4033
4034
# File 'lib/aws-sdk-codepipeline/types.rb', line 4026

class PutApprovalResultInput < Struct.new(
  :pipeline_name,
  :stage_name,
  :action_name,
  :result,
  :token)
  SENSITIVE = []
  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. It is used to validate that the approval request corresponding to this token is still valid.

For a pipeline where the execution mode is set to PARALLEL, the token required to approve/reject an approval request as detailed above is not available. Instead, use the ‘externalExecutionId` in the response output from the ListActionExecutions action as the token in the approval request.

Returns:

  • (String)


4026
4027
4028
4029
4030
4031
4032
4033
4034
# File 'lib/aws-sdk-codepipeline/types.rb', line 4026

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