class DeviceFarm.Paginator.ListInstanceProfiles
paginator = client.get_paginator('list_instance_profiles')

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
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.

  • PageSize (integer) --

    The size of each page.

  • StartingToken (string) --

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

Return type
Response Syntax
    'instanceProfiles': [
            'arn': 'string',
            'packageCleanup': True|False,
            'excludeAppPackagesFromCleanup': [
            'rebootAfterUse': True|False,
            'name': 'string',
            'description': 'string'
    'NextToken': 'string'

Response Structure

  • (dict) --
    • instanceProfiles (list) --

      An object that contains information about your instance profiles.

      • (dict) --

        Represents the instance profile.

        • arn (string) --

          The Amazon Resource Name (ARN) of the instance profile.

        • packageCleanup (boolean) --

          When set to true , Device Farm removes app packages after a test run. The default value is false for private devices.

        • excludeAppPackagesFromCleanup (list) --

          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 .

          • (string) --
        • rebootAfterUse (boolean) --

          When set to true , Device Farm reboots the instance after a test run. The default value is true .

        • name (string) --

          The name of the instance profile.

        • description (string) --

          The description of the instance profile.

    • NextToken (string) --

      A token to resume pagination.