You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DeviceFarm::Types::CreateDevicePoolRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateDevicePoolRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  project_arn: "AmazonResourceName", # required
  name: "Name", # required
  description: "Message",
  rules: [ # required
    {
      attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION, INSTANCE_ARN, INSTANCE_LABELS, FLEET_TYPE, OS_VERSION, MODEL, AVAILABILITY
      operator: "EQUALS", # accepts EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, NOT_IN, CONTAINS
      value: "String",
    },
  ],
  max_devices: 1,
}

Represents a request to the create device pool operation.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The device pool\'s description.

Returns:

  • (String)

    The device pool\'s description.

#max_devicesInteger

The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and 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.

Returns:

  • (Integer)

    The number of devices that Device Farm can add to your device pool.

#nameString

The device pool\'s name.

Returns:

  • (String)

    The device pool\'s name.

#project_arnString

The ARN of the project for the device pool.

Returns:

  • (String)

    The ARN of the project for the device pool.

#rulesArray<Types::Rule>

The device pool\'s rules.

Returns: