Values_1.CancelJobRequestSourceCancels a job. Requires permission to access the CancelJob action.
type nonrec t = {jobId : Values_0.JobId.t;The unique identifier you assigned to this job when it was created.
*)reasonCode : Values_0.ReasonCode.t option;(Optional)A reason code string that explains why the job was canceled.
*)comment : Values_0.Comment.t option;An optional comment string describing why the job was canceled.
*)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.
*)}val make :
?reasonCode:??? ->
?comment:??? ->
?force:??? ->
jobId:Values_0.JobId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.ForceFlag.t | `String of Values_0.JobId.t ])
list ]