import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeCertificateAuthorityRequest, DescribeCertificateAuthorityResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeCertificateAuthorityCommand}. */ export interface DescribeCertificateAuthorityCommandInput extends DescribeCertificateAuthorityRequest { } /** * @public * * The output of {@link DescribeCertificateAuthorityCommand}. */ export interface DescribeCertificateAuthorityCommandOutput extends DescribeCertificateAuthorityResponse, __MetadataBearer { } declare const DescribeCertificateAuthorityCommand_base: { new (input: DescribeCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists information about your private certificate authority (CA) or one that has been shared with you. You specify the private CA on input by its ARN (Amazon Resource Name). The output contains the status of your CA. This can be any of the following:

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ACMPCAClient, DescribeCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import * // const { ACMPCAClient, DescribeCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import * // import type { ACMPCAClientConfig } from "@aws-sdk/client-acm-pca"; * const config = {}; // type is ACMPCAClientConfig * const client = new ACMPCAClient(config); * const input = { // DescribeCertificateAuthorityRequest * CertificateAuthorityArn: "STRING_VALUE", // required * }; * const command = new DescribeCertificateAuthorityCommand(input); * const response = await client.send(command); * // { // DescribeCertificateAuthorityResponse * // CertificateAuthority: { // CertificateAuthority * // Arn: "STRING_VALUE", * // OwnerAccount: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // LastStateChangeAt: new Date("TIMESTAMP"), * // Type: "ROOT" || "SUBORDINATE", * // Serial: "STRING_VALUE", * // Status: "CREATING" || "PENDING_CERTIFICATE" || "ACTIVE" || "DELETED" || "DISABLED" || "EXPIRED" || "FAILED", * // NotBefore: new Date("TIMESTAMP"), * // NotAfter: new Date("TIMESTAMP"), * // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER", * // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration * // KeyAlgorithm: "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87" || "SM2", // required * // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA" || "SM3WITHSM2" || "ML_DSA_44" || "ML_DSA_65" || "ML_DSA_87", // required * // Subject: { // ASN1Subject * // Country: "STRING_VALUE", * // Organization: "STRING_VALUE", * // OrganizationalUnit: "STRING_VALUE", * // DistinguishedNameQualifier: "STRING_VALUE", * // State: "STRING_VALUE", * // CommonName: "STRING_VALUE", * // SerialNumber: "STRING_VALUE", * // Locality: "STRING_VALUE", * // Title: "STRING_VALUE", * // Surname: "STRING_VALUE", * // GivenName: "STRING_VALUE", * // Initials: "STRING_VALUE", * // Pseudonym: "STRING_VALUE", * // GenerationQualifier: "STRING_VALUE", * // CustomAttributes: [ // CustomAttributeList * // { // CustomAttribute * // ObjectIdentifier: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // CsrExtensions: { // CsrExtensions * // KeyUsage: { // KeyUsage * // DigitalSignature: true || false, * // NonRepudiation: true || false, * // KeyEncipherment: true || false, * // DataEncipherment: true || false, * // KeyAgreement: true || false, * // KeyCertSign: true || false, * // CRLSign: true || false, * // EncipherOnly: true || false, * // DecipherOnly: true || false, * // }, * // SubjectInformationAccess: [ // AccessDescriptionList * // { // AccessDescription * // AccessMethod: { // AccessMethod * // CustomObjectIdentifier: "STRING_VALUE", * // AccessMethodType: "CA_REPOSITORY" || "RESOURCE_PKI_MANIFEST" || "RESOURCE_PKI_NOTIFY", * // }, * // AccessLocation: { // GeneralName * // OtherName: { // OtherName * // TypeId: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // Rfc822Name: "STRING_VALUE", * // DnsName: "STRING_VALUE", * // DirectoryName: { * // Country: "STRING_VALUE", * // Organization: "STRING_VALUE", * // OrganizationalUnit: "STRING_VALUE", * // DistinguishedNameQualifier: "STRING_VALUE", * // State: "STRING_VALUE", * // CommonName: "STRING_VALUE", * // SerialNumber: "STRING_VALUE", * // Locality: "STRING_VALUE", * // Title: "STRING_VALUE", * // Surname: "STRING_VALUE", * // GivenName: "STRING_VALUE", * // Initials: "STRING_VALUE", * // Pseudonym: "STRING_VALUE", * // GenerationQualifier: "STRING_VALUE", * // CustomAttributes: [ * // { * // ObjectIdentifier: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // EdiPartyName: { // EdiPartyName * // PartyName: "STRING_VALUE", // required * // NameAssigner: "STRING_VALUE", * // }, * // UniformResourceIdentifier: "STRING_VALUE", * // IpAddress: "STRING_VALUE", * // RegisteredId: "STRING_VALUE", * // }, * // }, * // ], * // }, * // }, * // RevocationConfiguration: { // RevocationConfiguration * // CrlConfiguration: { // CrlConfiguration * // Enabled: true || false, // required * // ExpirationInDays: Number("int"), * // CustomCname: "STRING_VALUE", * // S3BucketName: "STRING_VALUE", * // S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL", * // CrlDistributionPointExtensionConfiguration: { // CrlDistributionPointExtensionConfiguration * // OmitExtension: true || false, // required * // }, * // CrlType: "COMPLETE" || "PARTITIONED", * // CustomPath: "STRING_VALUE", * // }, * // OcspConfiguration: { // OcspConfiguration * // Enabled: true || false, // required * // OcspCustomCname: "STRING_VALUE", * // }, * // }, * // RestorableUntil: new Date("TIMESTAMP"), * // KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER" || "CCPC_LEVEL_1_OR_HIGHER", * // UsageMode: "GENERAL_PURPOSE" || "SHORT_LIVED_CERTIFICATE", * // }, * // }; * * ``` * * @param DescribeCertificateAuthorityCommandInput - {@link DescribeCertificateAuthorityCommandInput} * @returns {@link DescribeCertificateAuthorityCommandOutput} * @see {@link DescribeCertificateAuthorityCommandInput} for command's `input` shape. * @see {@link DescribeCertificateAuthorityCommandOutput} for command's `response` shape. * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape. * * @throws {@link InvalidArnException} (client fault) *

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

* * @throws {@link ResourceNotFoundException} (client fault) *

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

* * @throws {@link ACMPCAServiceException} *

Base exception class for all service exceptions from ACMPCA service.

* * * @public */ export declare class DescribeCertificateAuthorityCommand extends DescribeCertificateAuthorityCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeCertificateAuthorityRequest; output: DescribeCertificateAuthorityResponse; }; sdk: { input: DescribeCertificateAuthorityCommandInput; output: DescribeCertificateAuthorityCommandOutput; }; }; }