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

*****************************
describe_certificate_provider
*****************************



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

  

  Describes a certificate provider.

   

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


  **Request Syntax**
  ::

    response = client.describe_certificate_provider(
        certificateProviderName='string'
    )
    
  :type certificateProviderName: string
  :param certificateProviderName: **[REQUIRED]** 

    The name of the certificate provider.

    

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

    
    ::

      {
          'certificateProviderName': 'string',
          'certificateProviderArn': 'string',
          'lambdaFunctionArn': 'string',
          'accountDefaultForOperations': [
              'CreateCertificateFromCsr',
          ],
          'creationDate': datetime(2015, 1, 1),
          'lastModifiedDate': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The name of the certificate provider.

        
      

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

        The ARN of the certificate provider.

        
      

      - **lambdaFunctionArn** *(string) --* 

        The Lambda function ARN that's associated with the certificate provider.

        
      

      - **accountDefaultForOperations** *(list) --* 

        A list of the operations that the certificate provider will use to generate certificates. Valid value: ``CreateCertificateFromCsr``.

        
        

        - *(string) --* 
    
      

      - **creationDate** *(datetime) --* 

        The date-time string that indicates when the certificate provider was created.

        
      

      - **lastModifiedDate** *(datetime) --* 

        The date-time string that indicates when the certificate provider was last updated.

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

  
  *   :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`

  