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

****************
list_authorizers
****************



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

  

  Lists the authorizers registered in your account.

   

  Requires permission to access the `ListAuthorizers <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/ListAuthorizers>`_  


  **Request Syntax**
  ::

    response = client.list_authorizers(
        pageSize=123,
        marker='string',
        ascendingOrder=True|False,
        status='ACTIVE'|'INACTIVE'
    )
    
  :type pageSize: integer
  :param pageSize: 

    The maximum number of results to return at one time.

    

  
  :type marker: string
  :param marker: 

    A marker used to get the next set of results.

    

  
  :type ascendingOrder: boolean
  :param ascendingOrder: 

    Return the list of authorizers in ascending alphabetical order.

    

  
  :type status: string
  :param status: 

    The status of the list authorizers request.

    

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

    
    ::

      {
          'authorizers': [
              {
                  'authorizerName': 'string',
                  'authorizerArn': 'string'
              },
          ],
          'nextMarker': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **authorizers** *(list) --* 

        The authorizers.

        
        

        - *(dict) --* 

          The authorizer summary.

          
          

          - **authorizerName** *(string) --* 

            The authorizer name.

            
          

          - **authorizerArn** *(string) --* 

            The authorizer ARN.

            
      
    
      

      - **nextMarker** *(string) --* 

        A marker used to get the next set of 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.ServiceUnavailableException`

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

  