Module Values.StopKeyPhrasesDetectionJobRequestSource

Stops a key phrases detection job in progress. If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

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

    The identifier of the key phrases detection job to stop.

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