class DeviceFarm.Paginator.ListSamples
paginator = client.get_paginator('list_samples')

Creates an iterator that will paginate through responses from DeviceFarm.Client.list_samples().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'StartingToken': 'string'
  • arn (string) --


    The Amazon Resource Name (ARN) of the job used to list samples.

  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      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.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type



Response Syntax

    'samples': [
            'arn': 'string',
            '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:

          • CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.
          • MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.
          • NATIVE_FPS
          • NATIVE_FRAMES
          • OPENGL_FPS
          • OPENGL_FRAMES
          • RX
          • RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.
          • THREADS: A threads sample type. This is expressed as the total number of threads per app process.
          • TX
          • TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.
        • 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.