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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutApprovalResultInput as input to an Aws::Client method, you can use a vanilla 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)

    The name of the action for which approval is requested.

#pipeline_nameString

The name of the pipeline that contains the action.

Returns:

  • (String)

    The name of the pipeline that contains the action.

#resultTypes::ApprovalResult

Represents information about the result of the approval request.

Returns:

#stage_nameString

The name of the stage that contains the action.

Returns:

  • (String)

    The name of the stage that contains the action.

#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.

Returns:

  • (String)

    The system-generated token used to identify a unique approval request.