Skip to content

PutApprovalResultInput

Source code in docs_src/capo_codepipeline/types/put_approval_result_input.py
class PutApprovalResultInput(TypedDict, closed=True):
    pipeline_name: "capo_codepipeline.types.pipeline_name.PipelineName"
    """<p>The name of the pipeline that contains the action. </p>"""
    stage_name: "capo_codepipeline.types.stage_name.StageName"
    """<p>The name of the stage that contains the action.</p>"""
    action_name: "capo_codepipeline.types.action_name.ActionName"
    """<p>The name of the action for which approval is requested.</p>"""
    result: "capo_codepipeline.types.approval_result.ApprovalResult"
    """<p>Represents information about the result of the approval request.</p>"""
    token: "capo_codepipeline.types.approval_token.ApprovalToken"
    """<p>The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the <a>GetPipelineState</a> action. It is used to validate that the approval request corresponding to this token is still valid.</p> <important> <p>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 <code>externalExecutionId</code> in the response output from the <a>ListActionExecutions</a> action as the token in the approval request.</p> </important>"""

action_name instance-attribute

action_name: ActionName

The name of the action for which approval is requested.

pipeline_name instance-attribute

pipeline_name: PipelineName

The name of the pipeline that contains the action.

result instance-attribute

Represents information about the result of the approval request.

stage_name instance-attribute

stage_name: StageName

The name of the stage that contains the action.

token instance-attribute

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.