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

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

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

Overview

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, APPIUM_VERSION
      operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
      value: "String",
    },
  ],
}

Represents a request to the create device pool operation.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The device pool's description.

Returns:

  • (String)


253
254
255
256
257
258
259
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 253

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules)
  include Aws::Structure
end

#nameString

The device pool's name.

Returns:

  • (String)


253
254
255
256
257
258
259
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 253

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules)
  include Aws::Structure
end

#project_arnString

The ARN of the project for the device pool.

Returns:

  • (String)


253
254
255
256
257
258
259
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 253

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules)
  include Aws::Structure
end

#rulesArray<Types::Rule>

The device pool's rules.

Returns:



253
254
255
256
257
258
259
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 253

class CreateDevicePoolRequest < Struct.new(
  :project_arn,
  :name,
  :description,
  :rules)
  include Aws::Structure
end