GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::DeviceFarm::UpdateDevicePool(3) User Contributed Perl Documentation Paws::DeviceFarm::UpdateDevicePool(3)

Paws::DeviceFarm::UpdateDevicePool - Arguments for method UpdateDevicePool on Paws::DeviceFarm

This class represents the parameters used for calling the method UpdateDevicePool on the AWS Device Farm service. Use the attributes of this class as arguments to method UpdateDevicePool.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDevicePool.

    my $devicefarm = Paws->service('DeviceFarm');
   # To update a device pool
   # The following example updates the specified device pool with a new name and
   # description. It also enables remote access of devices in the device pool.
    my $UpdateDevicePoolResult = $devicefarm->UpdateDevicePool(
      'Arn' =>
'arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE',
      'Description' => 'NewDescription',
      'Name'        => 'NewName',
      'Rules'       => [
        {
          'Attribute' => 'REMOTE_ACCESS_ENABLED',
          'Operator'  => 'EQUALS',
          'Value'     => 'True'
        }
      ]
    );
    # Results:
    my $devicePool = $UpdateDevicePoolResult->devicePool;
    # Returns a L<Paws::DeviceFarm::UpdateDevicePoolResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/devicefarm/UpdateDevicePool>

REQUIRED Arn => Str

The Amazon Resource Name (ARN) of the Device Farm device pool to update.

Sets whether the "maxDevices" parameter applies to your device pool. If you set this parameter to "true", the "maxDevices" parameter does not apply, and Device Farm does not limit the number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that meet the criteria specified in the "rules" parameter.

If you use this parameter in your request, you cannot use the "maxDevices" parameter in the same request.

A description of the device pool to update.

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

If you use this parameter in your request, you cannot use the "clearMaxDevices" parameter in the same request.

A string that represents the name of the device pool to update.

Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.

This class forms part of Paws, documenting arguments for method UpdateDevicePool in Paws::DeviceFarm

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.