Class: Aws::CodePipeline::Types::PutApprovalResultInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodePipeline::Types::PutApprovalResultInput
- Defined in:
- gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action_name ⇒ String
The name of the action for which approval is requested.
-
#pipeline_name ⇒ String
The name of the pipeline that contains the action.
-
#result ⇒ Types::ApprovalResult
Represents information about the result of the approval request.
-
#stage_name ⇒ String
The name of the stage that contains the action.
-
#token ⇒ String
The system-generated token used to identify a unique approval request.
Instance Attribute Details
#action_name ⇒ String
The name of the action for which approval is requested.
3861 3862 3863 3864 3865 3866 3867 3868 3869 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 3861 class PutApprovalResultInput < Struct.new( :pipeline_name, :stage_name, :action_name, :result, :token) SENSITIVE = [] include Aws::Structure end |
#pipeline_name ⇒ String
The name of the pipeline that contains the action.
3861 3862 3863 3864 3865 3866 3867 3868 3869 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 3861 class PutApprovalResultInput < Struct.new( :pipeline_name, :stage_name, :action_name, :result, :token) SENSITIVE = [] include Aws::Structure end |
#result ⇒ Types::ApprovalResult
Represents information about the result of the approval request.
3861 3862 3863 3864 3865 3866 3867 3868 3869 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 3861 class PutApprovalResultInput < Struct.new( :pipeline_name, :stage_name, :action_name, :result, :token) SENSITIVE = [] include Aws::Structure end |
#stage_name ⇒ String
The name of the stage that contains the action.
3861 3862 3863 3864 3865 3866 3867 3868 3869 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 3861 class PutApprovalResultInput < Struct.new( :pipeline_name, :stage_name, :action_name, :result, :token) SENSITIVE = [] include Aws::Structure end |
#token ⇒ String
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.
3861 3862 3863 3864 3865 3866 3867 3868 3869 |
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 3861 class PutApprovalResultInput < Struct.new( :pipeline_name, :stage_name, :action_name, :result, :token) SENSITIVE = [] include Aws::Structure end |