Module Values_1.CancelJobRequestSource

Cancels a job. Requires permission to access the CancelJob action.

Sourcetype nonrec t = {
  1. jobId : Values_0.JobId.t;
    (*

    The unique identifier you assigned to this job when it was created.

    *)
  2. reasonCode : Values_0.ReasonCode.t option;
    (*

    (Optional)A reason code string that explains why the job was canceled.

    *)
  3. comment : Values_0.Comment.t option;
    (*

    An optional comment string describing why the job was canceled.

    *)
  4. force : Values_0.ForceFlag.t option;
    (*

    (Optional) If true job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise only job executions with status "QUEUED" are canceled. The default is false. Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.

    *)
}
Sourceval context_ : string
Sourceval make : ?reasonCode:??? -> ?comment:??? -> ?force:??? -> jobId:Values_0.JobId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.ForceFlag.t | `String of Values_0.JobId.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