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 https://docs.aws.amazon.com/goto/WebAPI/acm-pca/RevokeCertificate
Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:
arn:aws:acm:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
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 function 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 (http://docs.aws.amazon.comacm/latest/APIReferenceAPI_DescribeCertificate.html) function in the AWS Certificate Manager API Reference.
Specifies why you revoked the certificate.
Valid values are: "UNSPECIFIED", "KEY_COMPROMISE", "CERTIFICATE_AUTHORITY_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "A_A_COMPROMISE"
"UNSPECIFIED"
"KEY_COMPROMISE"
"CERTIFICATE_AUTHORITY_COMPROMISE"
"AFFILIATION_CHANGED"
"SUPERSEDED"
"CESSATION_OF_OPERATION"
"PRIVILEGE_WITHDRAWN"
"A_A_COMPROMISE"
This class forms part of Paws, documenting arguments for method RevokeCertificate in Paws::ACMPCA
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.