Module Values.TerminateJobRequestSource

Contains the parameters for TerminateJob.

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

    The Batch job ID of the job to terminate.

    *)
  2. reason : String_.t;
    (*

    A message to attach to the job that explains the reason for canceling it. This message is returned by future DescribeJobs operations on the job. It is also recorded in the Batch activity logs. This parameter has as limit of 1024 characters.

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