ListDevicesInput
import "github.com/aws/aws-sdk-go/service/devicefarm"
type ListDevicesInput struct { Arn *string `locationName:"arn" min:"32" type:"string"` Filters []*DeviceFilter `locationName:"filters" type:"list"` NextToken *string `locationName:"nextToken" min:"4" type:"string"` }
Represents the result of a list devices request.
- Arn
-
Type:
*string
The Amazon Resource Name (ARN) of the project.
- 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.
- NextToken
-
Type:
*string
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Method
GoString
func (s ListDevicesInput) GoString() string
GoString returns the string representation
SetArn
func (s *ListDevicesInput) SetArn(v string) *ListDevicesInput
SetArn sets the Arn field's value.
SetFilters
func (s *ListDevicesInput) SetFilters(v []*DeviceFilter) *ListDevicesInput
SetFilters sets the Filters field's value.
SetNextToken
func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput
SetNextToken sets the NextToken field's value.
String
func (s ListDevicesInput) String() string
String returns the string representation
Validate
func (s *ListDevicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.