Class PutApprovalResultRequest

    • Method Detail

      • pipelineName

        public final String pipelineName()

        The name of the pipeline that contains the action.

        Returns:
        The name of the pipeline that contains the action.
      • stageName

        public final String stageName()

        The name of the stage that contains the action.

        Returns:
        The name of the stage that contains the action.
      • actionName

        public final String actionName()

        The name of the action for which approval is requested.

        Returns:
        The name of the action for which approval is requested.
      • result

        public final ApprovalResult result()

        Represents information about the result of the approval request.

        Returns:
        Represents information about the result of the approval request.
      • token

        public final String token()

        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 approval request as detailed above is not available. Instead, use the externalExecutionId from the GetPipelineState action as the token in the approval request.

        Returns:
        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 approval request as detailed above is not available. Instead, use the externalExecutionId from the GetPipelineState action as the token in the approval request.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object