:doc:`ACM <../../acm>` / Client / update_certificate_options

**************************
update_certificate_options
**************************



.. py:method:: ACM.Client.update_certificate_options(**kwargs)

  

  Updates a certificate. You can use this function to specify whether to opt in to or out of recording your certificate in a certificate transparency log and exporting. For more information, see `Opting Out of Certificate Transparency Logging <https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency>`__ and `Certificate Manager Exportable Managed Certificates <https://docs.aws.amazon.com/acm/latest/userguide/acm-exportable-certificates.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateCertificateOptions>`_  


  **Request Syntax**
  ::

    response = client.update_certificate_options(
        CertificateArn='string',
        Options={
            'CertificateTransparencyLoggingPreference': 'ENABLED'|'DISABLED',
            'Export': 'ENABLED'|'DISABLED'
        }
    )
    
  :type CertificateArn: string
  :param CertificateArn: **[REQUIRED]** 

    ARN of the requested certificate to update. This must be of the form:

     

    ``arn:aws:acm:us-east-1:account:certificate/12345678-1234-1234-1234-123456789012``

    

  
  :type Options: dict
  :param Options: **[REQUIRED]** 

    Use to update the options for your certificate. Currently, you can specify whether to add your certificate to a transparency log or export your certificate. Certificate transparency makes it possible to detect SSL/TLS certificates that have been mistakenly or maliciously issued. Certificates that have not been logged typically produce an error message in a browser.

    

  
    - **CertificateTransparencyLoggingPreference** *(string) --* 

      You can opt out of certificate transparency logging by specifying the ``DISABLED`` option. Opt in by specifying ``ENABLED``.

      

    
    - **Export** *(string) --* 

      You can opt in to allow the export of your certificates by specifying ``ENABLED``.

      

    
  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`ACM.Client.exceptions.InvalidArnException`

  
  *   :py:class:`ACM.Client.exceptions.LimitExceededException`

  
  *   :py:class:`ACM.Client.exceptions.InvalidStateException`

  
  *   :py:class:`ACM.Client.exceptions.ResourceNotFoundException`

  