import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListCrlsResponse, ListRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListCrlsCommand}. */ export interface ListCrlsCommandInput extends ListRequest { } /** * @public * * The output of {@link ListCrlsCommand}. */ export interface ListCrlsCommandOutput extends ListCrlsResponse, __MetadataBearer { } declare const ListCrlsCommand_base: { new (input: ListCrlsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListCrlsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListCrls.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RolesAnywhereClient, ListCrlsCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import * // const { RolesAnywhereClient, ListCrlsCommand } = 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 = { // ListRequest * nextToken: "STRING_VALUE", * pageSize: Number("int"), * }; * const command = new ListCrlsCommand(input); * const response = await client.send(command); * // { // ListCrlsResponse * // nextToken: "STRING_VALUE", * // crls: [ // CrlDetails * // { // 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 ListCrlsCommandInput - {@link ListCrlsCommandInput} * @returns {@link ListCrlsCommandOutput} * @see {@link ListCrlsCommandInput} for command's `input` shape. * @see {@link ListCrlsCommandOutput} for command's `response` shape. * @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

Validation exception error.

* * @throws {@link RolesAnywhereServiceException} *

Base exception class for all service exceptions from RolesAnywhere service.

* * * @public */ export declare class ListCrlsCommand extends ListCrlsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRequest; output: ListCrlsResponse; }; sdk: { input: ListCrlsCommandInput; output: ListCrlsCommandOutput; }; }; }