:doc:`IoT <../../iot>` / Client / list_thing_registration_tasks

*****************************
list_thing_registration_tasks
*****************************



.. py:method:: IoT.Client.list_thing_registration_tasks(**kwargs)

  

  List bulk thing provisioning tasks.

   

  Requires permission to access the `ListThingRegistrationTasks <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListThingRegistrationTasks>`_  


  **Request Syntax**
  ::

    response = client.list_thing_registration_tasks(
        nextToken='string',
        maxResults=123,
        status='InProgress'|'Completed'|'Failed'|'Cancelled'|'Cancelling'
    )
    
  :type nextToken: string
  :param nextToken: 

    To retrieve the next set of results, the ``nextToken`` value from a previous response; otherwise **null** to receive the first set of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return at one time.

    

  
  :type status: string
  :param status: 

    The status of the bulk thing provisioning task.

    

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

    
    ::

      {
          'taskIds': [
              'string',
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **taskIds** *(list) --* 

        A list of bulk thing provisioning task IDs.

        
        

        - *(string) --* 
    
      

      - **nextToken** *(string) --* 

        The token to use to get the next set of results, or **null** if there are no additional results.

        
  
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoT.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoT.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`IoT.Client.exceptions.InternalFailureException`

  