AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateDevicePoolInput

import "github.com/aws/aws-sdk-go/service/devicefarm"

type UpdateDevicePoolInput struct { Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` ClearMaxDevices *bool `locationName:"clearMaxDevices" type:"boolean"` Description *string `locationName:"description" type:"string"` MaxDevices *int64 `locationName:"maxDevices" type:"integer"` Name *string `locationName:"name" type:"string"` Rules []*Rule `locationName:"rules" type:"list"` }

Represents a request to the update device pool operation.

Arn

Type: *string

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

Arn is a required field

ClearMaxDevices

Type: *bool

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 that are specified for the rules parameter.

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

Description

Type: *string

A description of the device pool you wish to update.

MaxDevices

Type: *int64

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.

Name

Type: *string

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

Rules

Represents a condition for a device pool.

Method

GoString

func (s UpdateDevicePoolInput) GoString() string

GoString returns the string representation

SetArn

func (s *UpdateDevicePoolInput) SetArn(v string) *UpdateDevicePoolInput

SetArn sets the Arn field's value.

SetClearMaxDevices

func (s *UpdateDevicePoolInput) SetClearMaxDevices(v bool) *UpdateDevicePoolInput

SetClearMaxDevices sets the ClearMaxDevices field's value.

SetDescription

func (s *UpdateDevicePoolInput) SetDescription(v string) *UpdateDevicePoolInput

SetDescription sets the Description field's value.

SetMaxDevices

func (s *UpdateDevicePoolInput) SetMaxDevices(v int64) *UpdateDevicePoolInput

SetMaxDevices sets the MaxDevices field's value.

SetName

func (s *UpdateDevicePoolInput) SetName(v string) *UpdateDevicePoolInput

SetName sets the Name field's value.

SetRules

func (s *UpdateDevicePoolInput) SetRules(v []*Rule) *UpdateDevicePoolInput

SetRules sets the Rules field's value.

String

func (s UpdateDevicePoolInput) String() string

String returns the string representation

Validate

func (s *UpdateDevicePoolInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: