Module Smaws_Client_Lightsail.DeleteCertificate

Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution.

Certificates that are currently attached to a distribution cannot be deleted. Use the DetachCertificateFromDistribution action to detach a certificate from a distribution.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidInputException of Types.invalid_input_exception | `NotFoundException of Types.not_found_exception | `RegionSetupInProgressException of Types.region_setup_in_progress_exception | `ServiceException of Types.service_exception | `UnauthenticatedException of Types.unauthenticated_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_certificate_request -> (Types.delete_certificate_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidInputException of Types.invalid_input_exception | `NotFoundException of Types.not_found_exception | `RegionSetupInProgressException of Types.region_setup_in_progress_exception | `ServiceException of Types.service_exception | `UnauthenticatedException of Types.unauthenticated_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_certificate_request -> (Types.delete_certificate_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidInputException of Types.invalid_input_exception | `NotFoundException of Types.not_found_exception | `RegionSetupInProgressException of Types.region_setup_in_progress_exception | `ServiceException of Types.service_exception | `UnauthenticatedException of Types.unauthenticated_exception ] * Smaws_Lib.Response.metadata) Stdlib.result