import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetCrlCommand}. */ export interface GetCrlCommandInput extends ScalarCrlRequest { } /** * @public * * The output of {@link GetCrlCommand}. */ export interface GetCrlCommandOutput extends CrlDetailResponse, __MetadataBearer { } declare const GetCrlCommand_base: { new (input: GetCrlCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetCrlCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets a certificate revocation list (CRL).

Required permissions: rolesanywhere:GetCrl.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RolesAnywhereClient, GetCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import * // const { RolesAnywhereClient, GetCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import * // import type { RolesAnywhereClientConfig } from "@aws-sdk/client-rolesanywhere"; * const config = {}; // type is RolesAnywhereClientConfig * const client = new RolesAnywhereClient(config); * const input = { // ScalarCrlRequest * crlId: "STRING_VALUE", // required * }; * const command = new GetCrlCommand(input); * const response = await client.send(command); * // { // CrlDetailResponse * // crl: { // CrlDetail * // crlId: "STRING_VALUE", * // crlArn: "STRING_VALUE", * // name: "STRING_VALUE", * // enabled: true || false, * // crlData: new Uint8Array(), * // trustAnchorArn: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param GetCrlCommandInput - {@link GetCrlCommandInput} * @returns {@link GetCrlCommandOutput} * @see {@link GetCrlCommandInput} for command's `input` shape. * @see {@link GetCrlCommandOutput} for command's `response` shape. * @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

The resource could not be found.

* * @throws {@link RolesAnywhereServiceException} *

Base exception class for all service exceptions from RolesAnywhere service.

* * * @public */ export declare class GetCrlCommand extends GetCrlCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ScalarCrlRequest; output: CrlDetailResponse; }; sdk: { input: GetCrlCommandInput; output: GetCrlCommandOutput; }; }; }