ACM / Client / update_certificate_options
update_certificate_options¶
- ACM.Client.update_certificate_options(**kwargs)¶
Updates certificate options. You can use this operation to change the domain validation method or specify whether to export your certificate. For more information, see Migrate from email to DNS validation 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', 'ValidationMethod': 'EMAIL'|'DNS'|'HTTP' } )
- 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-123456789012Options (dict) –
[REQUIRED]
Use to update the options for your certificate. Currently, you can change the domain validation method or specify whether to export your certificate. For more information about migrating from email to DNS validation, see Migrate from email to DNS validation.
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 ofExportafter the the certificate is created.ValidationMethod (string) –
The domain validation method for the certificate. To migrate from email to DNS validation, specify
DNS.
- Returns:
None
Exceptions
ACM.Client.exceptions.InvalidArnExceptionACM.Client.exceptions.ConflictExceptionACM.Client.exceptions.LimitExceededExceptionACM.Client.exceptions.ValidationExceptionACM.Client.exceptions.InvalidStateExceptionACM.Client.exceptions.ResourceNotFoundException