import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { ListPublicKeysRequest, ListPublicKeysResult } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListPublicKeysCommand}. */ export interface ListPublicKeysCommandInput extends ListPublicKeysRequest { } /** * @public * * The output of {@link ListPublicKeysCommand}. */ export interface ListPublicKeysCommandOutput extends ListPublicKeysResult, __MetadataBearer { } declare const ListPublicKeysCommand_base: { new (input: ListPublicKeysCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListPublicKeysCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

List all public keys that have been added to CloudFront for this account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, ListPublicKeysCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, ListPublicKeysCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // ListPublicKeysRequest * Marker: "STRING_VALUE", * MaxItems: Number("int"), * }; * const command = new ListPublicKeysCommand(input); * const response = await client.send(command); * // { // ListPublicKeysResult * // PublicKeyList: { // PublicKeyList * // NextMarker: "STRING_VALUE", * // MaxItems: Number("int"), // required * // Quantity: Number("int"), // required * // Items: [ // PublicKeySummaryList * // { // PublicKeySummary * // Id: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // CreatedTime: new Date("TIMESTAMP"), // required * // EncodedKey: "STRING_VALUE", // required * // Comment: "STRING_VALUE", * // }, * // ], * // }, * // }; * * ``` * * @param ListPublicKeysCommandInput - {@link ListPublicKeysCommandInput} * @returns {@link ListPublicKeysCommandOutput} * @see {@link ListPublicKeysCommandInput} for command's `input` shape. * @see {@link ListPublicKeysCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link InvalidArgument} (client fault) *

An argument is invalid.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class ListPublicKeysCommand extends ListPublicKeysCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListPublicKeysRequest; output: ListPublicKeysResult; }; sdk: { input: ListPublicKeysCommandInput; output: ListPublicKeysCommandOutput; }; }; }