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

Class: Aws::DeviceFarm::Types::UpdateDevicePoolRequest

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 UpdateDevicePoolRequest data as a hash:

{
  arn: "AmazonResourceName", # required
  name: "Name",
  description: "Message",
  rules: [
    {
      attribute: "ARN", # accepts ARN, PLATFORM, FORM_FACTOR, MANUFACTURER, REMOTE_ACCESS_ENABLED, REMOTE_DEBUG_ENABLED, APPIUM_VERSION
      operator: "EQUALS", # accepts EQUALS, LESS_THAN, GREATER_THAN, IN, NOT_IN, CONTAINS
      value: "String",
    },
  ],
}

Represents a request to the update device pool operation.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.

Returns:

  • (String)


4298
4299
4300
4301
4302
4303
4304
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4298

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

#descriptionString

A description of the device pool you wish to update.

Returns:

  • (String)


4298
4299
4300
4301
4302
4303
4304
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4298

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

#nameString

A string representing the name of the device pool you wish to update.

Returns:

  • (String)


4298
4299
4300
4301
4302
4303
4304
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4298

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

#rulesArray<Types::Rule>

Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.

Returns:



4298
4299
4300
4301
4302
4303
4304
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4298

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