Jump to Content

Class DescribeCertificateAuthorityAuditReportCommandProtected

Lists information about a specific audit report created by calling the CreateCertificateAuthorityAuditReport action. Audit information is created every time the certificate authority (CA) private key is used. The private key is used when you call the IssueCertificate action or the RevokeCertificate action.

Example

Use a bare-bones client and the command you need to make an API call.

import { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
// const { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
const client = new ACMPCAClient(config);
const input = { // DescribeCertificateAuthorityAuditReportRequest
CertificateAuthorityArn: "STRING_VALUE", // required
AuditReportId: "STRING_VALUE", // required
};
const command = new DescribeCertificateAuthorityAuditReportCommand(input);
const response = await client.send(command);

Param

DescribeCertificateAuthorityAuditReportCommandInput

Returns

DescribeCertificateAuthorityAuditReportCommandOutput

See

Throws

InvalidArgsException (client fault)

One or more of the specified arguments was not valid.

Throws

InvalidArnException (client fault)

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

Throws

ResourceNotFoundException (client fault)

A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.

Hierarchy

Constructors

Properties

Methods