Learn R Programming

paws.developer.tools (version 0.8.0)

codepipeline_put_approval_result: Provides the response to a manual approval request to CodePipeline

Description

Provides the response to a manual approval request to CodePipeline. Valid responses include Approved and Rejected.

See https://www.paws-r-sdk.com/docs/codepipeline_put_approval_result/ for full documentation.

Usage

codepipeline_put_approval_result(
  pipelineName,
  stageName,
  actionName,
  result,
  token
)

Arguments

pipelineName

[required] The name of the pipeline that contains the action.

stageName

[required] The name of the stage that contains the action.

actionName

[required] The name of the action for which approval is requested.

result

[required] Represents information about the result of the approval request.

token

[required] The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the get_pipeline_state 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 approval request as detailed above is not available. Instead, use the externalExecutionId from the get_pipeline_state action as the token in the approval request.