DeviceFarm.Paginator.
ListSamples
¶paginator = client.get_paginator('list_samples')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from DeviceFarm.Client.list_samples()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
arn='string',
PaginationConfig={
'MaxItems': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the job used to list samples.
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.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'samples': [
{
'arn': 'string',
'type': 'CPU'|'MEMORY'|'THREADS'|'RX_RATE'|'TX_RATE'|'RX'|'TX'|'NATIVE_FRAMES'|'NATIVE_FPS'|'NATIVE_MIN_DRAWTIME'|'NATIVE_AVG_DRAWTIME'|'NATIVE_MAX_DRAWTIME'|'OPENGL_FRAMES'|'OPENGL_FPS'|'OPENGL_MIN_DRAWTIME'|'OPENGL_AVG_DRAWTIME'|'OPENGL_MAX_DRAWTIME',
'url': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Represents the result of a list samples request.
samples (list) --
Information about the samples.
(dict) --
Represents a sample of performance data.
arn (string) --
The sample's ARN.
type (string) --
The sample's type.
Must be one of the following values:
url (string) --
The presigned Amazon S3 URL that can be used with a GET request to download the sample's file.
NextToken (string) --
A token to resume pagination.