Skip to content

Put Approval Result

codepipeline_put_approval_result R Documentation

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.

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.

Value

A list with the following syntax:

list(
  approvedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$put_approval_result(
  pipelineName = "string",
  stageName = "string",
  actionName = "string",
  result = list(
    summary = "string",
    status = "Approved"|"Rejected"
  ),
  token = "string"
)