Module Smaws_Client_ACMPCA.RevokeCertificate

Revokes a certificate that was issued inside Amazon Web Services Private CA. If you enable a certificate revocation list (CRL) when you create or update your private CA, information about the revoked certificates will be included in the CRL. Amazon Web Services Private CA writes the CRL to an S3 bucket that you specify. A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason the CRL update fails, Amazon Web Services Private CA attempts makes further attempts every 15 minutes. With Amazon CloudWatch, you can create alarms for the metrics CRLGenerated and MisconfiguredCRLBucket. For more information, see Supported CloudWatch Metrics.

Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access policies for CRLs in Amazon S3.

Amazon Web Services Private CA also writes revocation information to the audit report. For more information, see CreateCertificateAuthorityAuditReport.

You cannot revoke a root CA self-signed certificate.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidRequestException of Types.invalid_request_exception | `InvalidStateException of Types.invalid_state_exception | `LimitExceededException of Types.limit_exceeded_exception | `RequestAlreadyProcessedException of Types.request_already_processed_exception | `RequestFailedException of Types.request_failed_exception | `RequestInProgressException of Types.request_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.revoke_certificate_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidRequestException of Types.invalid_request_exception | `InvalidStateException of Types.invalid_state_exception | `LimitExceededException of Types.limit_exceeded_exception | `RequestAlreadyProcessedException of Types.request_already_processed_exception | `RequestFailedException of Types.request_failed_exception | `RequestInProgressException of Types.request_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.revoke_certificate_request -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidRequestException of Types.invalid_request_exception | `InvalidStateException of Types.invalid_state_exception | `LimitExceededException of Types.limit_exceeded_exception | `RequestAlreadyProcessedException of Types.request_already_processed_exception | `RequestFailedException of Types.request_failed_exception | `RequestInProgressException of Types.request_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result