class Aws::DeviceFarm::Types::CreateDevicePoolRequest

Represents a request to the create device pool operation.

@note When making an API call, you may pass CreateDevicePoolRequest

data as a 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,
    }

@!attribute [rw] project_arn

The ARN of the project for the device pool.
@return [String]

@!attribute [rw] name

The device pool's name.
@return [String]

@!attribute [rw] description

The device pool's description.
@return [String]

@!attribute [rw] rules

The device pool's rules.
@return [Array<Types::Rule>]

@!attribute [rw] max_devices

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.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePoolRequest AWS API Documentation

Constants

SENSITIVE