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

**************************
list_certificate_providers
**************************



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

  

  Lists all your certificate providers in your Amazon Web Services account.

   

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


  **Request Syntax**
  ::

    response = client.list_certificate_providers(
        nextToken='string',
        ascendingOrder=True|False
    )
    
  :type nextToken: string
  :param nextToken: 

    The token for the next set of results, or ``null`` if there are no more results.

    

  
  :type ascendingOrder: boolean
  :param ascendingOrder: 

    Returns the list of certificate providers in ascending alphabetical order.

    

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

    
    ::

      {
          'certificateProviders': [
              {
                  'certificateProviderName': 'string',
                  'certificateProviderArn': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **certificateProviders** *(list) --* 

        The list of certificate providers in your Amazon Web Services account.

        
        

        - *(dict) --* 

          The certificate provider summary.

          
          

          - **certificateProviderName** *(string) --* 

            The name of the certificate provider.

            
          

          - **certificateProviderArn** *(string) --* 

            The ARN of the certificate provider.

            
      
    
      

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

        The token for the next set of results, or ``null`` if there are no more 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`

  