Module Values.CreateQueueEnvironmentRequestSource

Creates an environment for a queue that defines how jobs in the queue run.

Sourcetype nonrec t = {
  1. farmId : FarmId.t;
    (*

    The farm ID of the farm to connect to the environment.

    *)
  2. queueId : QueueId.t;
    (*

    The queue ID to connect the queue and environment.

    *)
  3. clientToken : ClientToken.t option;
    (*

    The unique token which the server uses to recognize retries of the same request.

    *)
  4. priority : Priority.t;
    (*

    Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority (activated first and deactivated last). If two environments share the same priority value, the environment created first takes higher priority.

    *)
  5. templateType : EnvironmentTemplateType.t;
    (*

    The template's file type, JSON or YAML.

    *)
  6. template : EnvironmentTemplate.t;
    (*

    The environment template to use in the queue.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> farmId:FarmId.t -> queueId:QueueId.t -> priority:Priority.t -> templateType:EnvironmentTemplateType.t -> template:EnvironmentTemplate.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Priority.t | `String of FarmId.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