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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-devicefarm/types.rb

Overview

Represents a request to the create device pool operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The device pool’s description.

Returns:

  • (String)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devicefarm/types.rb', line 288

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules,
  :max_devices)
  SENSITIVE = []
  include Aws::Structure
end

#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)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devicefarm/types.rb', line 288

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules,
  :max_devices)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The device pool’s name.

Returns:

  • (String)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devicefarm/types.rb', line 288

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules,
  :max_devices)
  SENSITIVE = []
  include Aws::Structure
end

#project_arnString

The ARN of the project for the device pool.

Returns:

  • (String)


288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devicefarm/types.rb', line 288

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules,
  :max_devices)
  SENSITIVE = []
  include Aws::Structure
end

#rulesArray<Types::Rule>

The device pool’s rules.

Returns:



288
289
290
291
292
293
294
295
296
# File 'lib/aws-sdk-devicefarm/types.rb', line 288

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules,
  :max_devices)
  SENSITIVE = []
  include Aws::Structure
end