Module Values.PutApprovalResultInputSource

Represents the input of a PutApprovalResult action.

Sourcetype nonrec t = {
  1. pipelineName : PipelineName.t;
    (*

    The name of the pipeline that contains the action.

    *)
  2. stageName : StageName.t;
    (*

    The name of the stage that contains the action.

    *)
  3. actionName : ActionName.t;
    (*

    The name of the action for which approval is requested.

    *)
  4. result : ApprovalResult.t;
    (*

    Represents information about the result of the approval request.

    *)
  5. token : ApprovalToken.t;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : pipelineName:PipelineName.t -> stageName:StageName.t -> actionName:ActionName.t -> result:ApprovalResult.t -> token:ApprovalToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PipelineName.t | `Structure of (string * [> `Enum of string | `String of ApprovalSummary.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t