Paws::ACMPCA::RevokeCertificate - Arguments for method RevokeCertificate on Paws::ACMPCA


This class represents the parameters used for calling the method RevokeCertificate on the AWS Certificate Manager Private Certificate Authority service. Use the attributes of this class as arguments to method RevokeCertificate.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RevokeCertificate.


    my $acm-pca = Paws->service('ACMPCA');
    $acm -pca->RevokeCertificate(
      CertificateAuthorityArn => 'MyArn',
      CertificateSerial       => 'MyString128',
      RevocationReason        => 'UNSPECIFIED',


Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED CertificateAuthorityArn => Str

Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:


REQUIRED CertificateSerial => Str

Serial number of the certificate to be revoked. This must be in hexadecimal format. You can retrieve the serial number by calling GetCertificate with the Amazon Resource Name (ARN) of the certificate you want and the ARN of your private CA. The GetCertificate action retrieves the certificate in the PEM format. You can use the following OpenSSL command to list the certificate in text format and copy the hexadecimal serial number.

openssl x509 -in file_path -text -noout

You can also copy the serial number from the console or use the DescribeCertificate ( action in the AWS Certificate Manager API Reference.

REQUIRED RevocationReason => Str

Specifies why you revoked the certificate.



This class forms part of Paws, documenting arguments for method RevokeCertificate in Paws::ACMPCA


The source code is located here:

Please report bugs to: