Module Values.CancelJobRunRequestSource

Cancels a job run.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The ID of the application on which the job run will be canceled.

    *)
  2. jobRunId : JobRunId.t;
    (*

    The ID of the job run to cancel.

    *)
  3. shutdownGracePeriodInSeconds : ShutdownGracePeriodInSeconds.t option;
    (*

    The duration in seconds to wait before forcefully terminating the job after cancellation is requested.

    *)
}
Sourceval context_ : string
Sourceval make : ?shutdownGracePeriodInSeconds:??? -> applicationId:ApplicationId.t -> jobRunId:JobRunId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of ShutdownGracePeriodInSeconds.t | `String of ApplicationId.t ]) 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