Module Values.CreateQuotaShareRequestSource

Creates an Batch quota share. Each quota share operates as a virtual queue with a configured compute capacity, resource sharing strategy, and borrow limits.

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

    The name of the quota share. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

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

    The Batch job queue associated with the quota share. This can be the job queue name or ARN. A job queue must be in the VALID state before you can associate it with a quota share.

    *)
  3. capacityLimits : QuotaShareCapacityLimits.t;
    (*

    A list that specifies the quantity and type of compute capacity allocated to the quota share.

    *)
  4. resourceSharingConfiguration : QuotaShareResourceSharingConfiguration.t;
    (*

    Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.

    *)
  5. preemptionConfiguration : QuotaSharePreemptionConfiguration.t;
    (*

    Specifies the preemption behavior for jobs in a quota share.

    *)
  6. state : QuotaShareState.t option;
    (*

    The state of the quota share. If the quota share is ENABLED, it is able to accept jobs. If the quota share is DISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state is ENABLED.

    *)
  7. tags : TagrisTagsMap.t option;
    (*

    The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources in Batch User Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?state:??? -> ?tags:??? -> quotaShareName:String_.t -> jobQueue:String_.t -> capacityLimits:QuotaShareCapacityLimits.t -> resourceSharingConfiguration:QuotaShareResourceSharingConfiguration.t -> preemptionConfiguration:QuotaSharePreemptionConfiguration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of String_.t | `Structure of (string * [> `Enum of string | `Integer of Integer.t ]) list ]) 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