:doc:`DeviceFarm <../../devicefarm>` / Paginator / ListInstanceProfiles

********************
ListInstanceProfiles
********************



.. py:class:: DeviceFarm.Paginator.ListInstanceProfiles

  ::

    
    paginator = client.get_paginator('list_instance_profiles')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`DeviceFarm.Client.list_instance_profiles`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListInstanceProfiles>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'instanceProfiles': [
                {
                    'arn': 'string',
                    'packageCleanup': True|False,
                    'excludeAppPackagesFromCleanup': [
                        'string',
                    ],
                    '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.

          
    