Module Values.CancelJobResultSource

Cancels 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.

Sourcetype nonrec t = unit
Sourcetype nonrec error = [
  1. | `InvalidJobStateException of InvalidJobStateException.t
  2. | `InvalidResourceException of InvalidResourceException.t
  3. | `KMSRequestFailedException of KMSRequestFailedException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> unit
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> unit
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> unit
Sourceval of_string : string -> unit
Sourceval of_json : 'a -> unit
Sourceval to_json : 'a -> Yojson.Safe.t