Values.CancelJobResultSourceCancels the specified job. You can only cancel a job before its JobState value changes to PreparingAppliance. Requesting the ListJobs or DescribeJob action returns a job's JobState as part of the response element data returned.
type nonrec error = [ | `InvalidJobStateException of InvalidJobStateException.t| `InvalidResourceException of InvalidResourceException.t| `KMSRequestFailedException of KMSRequestFailedException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidJobStateException of InvalidJobStateException.t
| `InvalidResourceException of InvalidResourceException.t
| `KMSRequestFailedException of KMSRequestFailedException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidJobStateException of InvalidJobStateException.t
| `InvalidResourceException of InvalidResourceException.t
| `KMSRequestFailedException of KMSRequestFailedException.t
| `Unknown_operation_error of string * string option ]