Module Values.SearchJobsRequestSource

Retrieve a JSON array that includes job details for up to twenty of your most recent jobs. Optionally filter results further according to input file, queue, or status. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.

Sourcetype nonrec t = {
  1. inputFile : string option;
    (*

    Optional. Provide your input file URL or your partial input file name. The maximum length for an input file is 300 characters.

    *)
  2. maxResults : int option;
    (*

    Optional. Number of jobs, up to twenty, that will be returned at one time.

    *)
  3. nextToken : string option;
    (*

    Optional. Use this string, provided with the response to a previous request, to request the next batch of jobs.

    *)
  4. order : Order.t option;
    (*

    Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.

    *)
  5. queue : string option;
    (*

    Optional. Provide a queue name, or a queue ARN, to return only jobs from that queue.

    *)
  6. status : JobStatus.t option;
    (*

    Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.

    *)
}
Sourceval make : ?inputFile:??? -> ?maxResults:??? -> ?nextToken:??? -> ?order:??? -> ?queue:??? -> ?status:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of int | `String of string ]) 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