DeviceFarm.Paginator.
ListDeviceInstances
¶paginator = client.get_paginator('list_device_instances')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from DeviceFarm.Client.list_device_instances()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'deviceInstances': [
{
'arn': 'string',
'deviceArn': 'string',
'labels': [
'string',
],
'status': 'IN_USE'|'PREPARING'|'AVAILABLE'|'NOT_AVAILABLE',
'udid': 'string',
'instanceProfile': {
'arn': 'string',
'packageCleanup': True|False,
'excludeAppPackagesFromCleanup': [
'string',
],
'rebootAfterUse': True|False,
'name': 'string',
'description': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
An object that contains information about your device instances.
Represents the device instance.
The Amazon Resource Name (ARN) of the device instance.
The ARN of the device.
An array of strings that describe the device instance.
The status of the device instance. Valid values are listed here.
Unique device identifier for the device instance.
A object that contains information about the instance profile.
The Amazon Resource Name (ARN) of the instance profile.
When set to true
, Device Farm removes app packages after a test run. The default value is false
for private devices.
An array of strings containing the list of app packages that should not be cleaned up from the device after a test run completes.
The list of packages is considered only if you set packageCleanup
to true
.
When set to true
, Device Farm reboots the instance after a test run. The default value is true
.
The name of the instance profile.
The description of the instance profile.
A token to resume pagination.