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

***************************
update_certificate_provider
***************************



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

  

  Updates a certificate provider.

   

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


  **Request Syntax**
  ::

    response = client.update_certificate_provider(
        certificateProviderName='string',
        lambdaFunctionArn='string',
        accountDefaultForOperations=[
            'CreateCertificateFromCsr',
        ]
    )
    
  :type certificateProviderName: string
  :param certificateProviderName: **[REQUIRED]** 

    The name of the certificate provider.

    

  
  :type lambdaFunctionArn: string
  :param lambdaFunctionArn: 

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

    

  
  :type accountDefaultForOperations: list
  :param accountDefaultForOperations: 

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

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'certificateProviderName': 'string',
          'certificateProviderArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The name of the certificate provider.

        
      

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

        The ARN of the certificate provider.

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

  