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.

DeviceSelectionResult

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

type DeviceSelectionResult struct { Filters []*DeviceFilter `locationName:"filters" type:"list"` MatchedDevicesCount *int64 `locationName:"matchedDevicesCount" type:"integer"` MaxDevices *int64 `locationName:"maxDevices" type:"integer"` }

Contains the run results requested by the device selection configuration as well as how many devices were returned. For an example of the JSON response syntax, see ScheduleRun.

Filters

Represents a device filter used to select a set of devices to be included in a test run. This data structure is passed in as the deviceSelectionConfiguration parameter to ScheduleRun. For an example of the JSON request syntax, see ScheduleRun.

It is also passed in as the filters parameter to ListDevices. For an example of the JSON request syntax, see ListDevices.

MatchedDevicesCount

Type: *int64

The number of devices that matched the device filter selection criteria.

MaxDevices

Type: *int64

The maximum number of devices to be selected by a device filter and included in a test run.

Method

GoString

func (s DeviceSelectionResult) GoString() string

GoString returns the string representation

SetFilters

func (s *DeviceSelectionResult) SetFilters(v []*DeviceFilter) *DeviceSelectionResult

SetFilters sets the Filters field's value.

SetMatchedDevicesCount

func (s *DeviceSelectionResult) SetMatchedDevicesCount(v int64) *DeviceSelectionResult

SetMatchedDevicesCount sets the MatchedDevicesCount field's value.

SetMaxDevices

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

SetMaxDevices sets the MaxDevices field's value.

String

func (s DeviceSelectionResult) String() string

String returns the string representation

On this page: