import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { ListInvalidationsRequest, ListInvalidationsResult } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListInvalidationsCommand}. */ export interface ListInvalidationsCommandInput extends ListInvalidationsRequest { } /** * @public * * The output of {@link ListInvalidationsCommand}. */ export interface ListInvalidationsCommandOutput extends ListInvalidationsResult, __MetadataBearer { } declare const ListInvalidationsCommand_base: { new (input: ListInvalidationsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListInvalidationsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists invalidation batches.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, ListInvalidationsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, ListInvalidationsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // ListInvalidationsRequest * DistributionId: "STRING_VALUE", // required * Marker: "STRING_VALUE", * MaxItems: Number("int"), * }; * const command = new ListInvalidationsCommand(input); * const response = await client.send(command); * // { // ListInvalidationsResult * // InvalidationList: { // InvalidationList * // Marker: "STRING_VALUE", // required * // NextMarker: "STRING_VALUE", * // MaxItems: Number("int"), // required * // IsTruncated: true || false, // required * // Quantity: Number("int"), // required * // Items: [ // InvalidationSummaryList * // { // InvalidationSummary * // Id: "STRING_VALUE", // required * // CreateTime: new Date("TIMESTAMP"), // required * // Status: "STRING_VALUE", // required * // }, * // ], * // }, * // }; * * ``` * * @param ListInvalidationsCommandInput - {@link ListInvalidationsCommandInput} * @returns {@link ListInvalidationsCommandOutput} * @see {@link ListInvalidationsCommandInput} for command's `input` shape. * @see {@link ListInvalidationsCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

An argument is invalid.

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

The specified distribution does not exist.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class ListInvalidationsCommand extends ListInvalidationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListInvalidationsRequest; output: ListInvalidationsResult; }; sdk: { input: ListInvalidationsCommandInput; output: ListInvalidationsCommandOutput; }; }; }