AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Revokes a certificate that you issued by calling the IssueCertificate operation. 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. ACM PCA writes the CRL to an S3 bucket that you specify. For more information about revocation, see the CrlConfiguration structure. ACM PCA also writes revocation information to the audit report. For more information, see CreateCertificateAuthorityAuditReport.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to RevokeCertificateAsync.

Namespace: Amazon.ACMPCA
Assembly: AWSSDK.ACMPCA.dll
Version: 3.x.y.z


public virtual RevokeCertificateResponse RevokeCertificate(
         RevokeCertificateRequest request
Type: Amazon.ACMPCA.Model.RevokeCertificateRequest

Container for the necessary parameters to execute the RevokeCertificate service method.

Return Value
The response from the RevokeCertificate service method, as returned by ACMPCA.


ConcurrentModificationException A previous update to your private CA is still ongoing.
InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidStateException The private CA is in a state during which a report cannot be generated.
RequestAlreadyProcessedException Your request has already been completed.
RequestFailedException The request has failed for an unspecified reason.
RequestInProgressException Your request is already in progress.
ResourceNotFoundException A resource such as a private CA, S3 bucket, certificate, or audit report cannot be found.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also