Module Values.UpdateDevicePoolRequestSource

Represents a request to the update device pool operation.

Sourcetype nonrec t = {
  1. arn : AmazonResourceName.t;
    (*

    The Amazon Resource Name (ARN) of the Device Farm device pool to update.

    *)
  2. name : Name.t option;
    (*

    A string that represents the name of the device pool to update.

    *)
  3. description : Message.t option;
    (*

    A description of the device pool to update.

    *)
  4. rules : Rules.t option;
    (*

    Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.

    *)
  5. maxDevices : Integer.t option;
    (*

    The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and that meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter. By specifying the maximum number of devices, you can control the costs that you incur by running tests. If you use this parameter in your request, you cannot use the clearMaxDevices parameter in the same request.

    *)
  6. clearMaxDevices : Boolean.t option;
    (*

    Sets whether the maxDevices parameter applies to your device pool. If you set this parameter to true, the maxDevices parameter does not apply, and Device Farm does not limit the number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that meet the criteria specified in the rules parameter. If you use this parameter in your request, you cannot use the maxDevices parameter in the same request.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?description:??? -> ?rules:??? -> ?maxDevices:??? -> ?clearMaxDevices:??? -> arn:AmazonResourceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list | `String of AmazonResourceName.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