ACM / Client / update_certificate_options

update_certificate_options

ACM.Client.update_certificate_options(**kwargs)

Updates a certificate. You can use this function to specify whether to export your certificate. Certificate transparency logging opt-out is no longer available. For more information, see Certificate Transparency Logging and Certificate Manager Exportable Managed Certificates.

See also: AWS API Documentation

Request Syntax

response = client.update_certificate_options(
    CertificateArn='string',
    Options={
        'CertificateTransparencyLoggingPreference': 'ENABLED'|'DISABLED',
        'Export': 'ENABLED'|'DISABLED'
    }
)
Parameters:
  • CertificateArn (string) –

    [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

  • Options (dict) –

    [REQUIRED]

    Use to update the options for your certificate. Currently, you can specify whether to export your certificate. Certificate transparency logging opt-out is no longer available. All public certificates are recorded in a certificate transparency log. For more information, see Certificate Transparency Logging.

    • CertificateTransparencyLoggingPreference (string) –

      This parameter has been deprecated. Certificate transparency logging opt-out is no longer available. All public certificates are recorded in a certificate transparency log.

    • Export (string) –

      You can opt in to allow the export of your certificates by specifying ENABLED. You cannot update the value of Export after the the certificate is created.

Returns:

None

Exceptions

  • ACM.Client.exceptions.InvalidArnException

  • ACM.Client.exceptions.LimitExceededException

  • ACM.Client.exceptions.InvalidStateException

  • ACM.Client.exceptions.ResourceNotFoundException