import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import type { ListBackupsInput, ListBackupsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListBackupsCommand}. */ export interface ListBackupsCommandInput extends ListBackupsInput { } /** * @public * * The output of {@link ListBackupsCommand}. */ export interface ListBackupsCommandOutput extends ListBackupsOutput, __MetadataBearer { } declare const ListBackupsCommand_base: { new (input: ListBackupsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListBackupsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

List DynamoDB backups that are associated with an Amazon Web Services account and * weren't made with Amazon Web Services Backup. To list these backups for a given table, * specify TableName. ListBackups returns a paginated list of * results with at most 1 MB worth of items in a page. You can also specify a maximum * number of entries to be returned in a page.

*

In the request, start time is inclusive, but end time is exclusive. Note that these * boundaries are for the time at which the original backup was requested.

*

You can call ListBackups a maximum of five times per second.

*

If you want to retrieve the complete list of backups made with Amazon Web Services * Backup, use the Amazon Web Services Backup * list API. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DynamoDBClient, ListBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import * // const { DynamoDBClient, ListBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; * const config = {}; // type is DynamoDBClientConfig * const client = new DynamoDBClient(config); * const input = { // ListBackupsInput * TableName: "STRING_VALUE", * Limit: Number("int"), * TimeRangeLowerBound: new Date("TIMESTAMP"), * TimeRangeUpperBound: new Date("TIMESTAMP"), * ExclusiveStartBackupArn: "STRING_VALUE", * BackupType: "USER" || "SYSTEM" || "AWS_BACKUP" || "ALL", * }; * const command = new ListBackupsCommand(input); * const response = await client.send(command); * // { // ListBackupsOutput * // BackupSummaries: [ // BackupSummaries * // { // BackupSummary * // TableName: "STRING_VALUE", * // TableId: "STRING_VALUE", * // TableArn: "STRING_VALUE", * // BackupArn: "STRING_VALUE", * // BackupName: "STRING_VALUE", * // BackupCreationDateTime: new Date("TIMESTAMP"), * // BackupExpiryDateTime: new Date("TIMESTAMP"), * // BackupStatus: "CREATING" || "DELETED" || "AVAILABLE", * // BackupType: "USER" || "SYSTEM" || "AWS_BACKUP", * // BackupSizeBytes: Number("long"), * // }, * // ], * // LastEvaluatedBackupArn: "STRING_VALUE", * // }; * * ``` * * @param ListBackupsCommandInput - {@link ListBackupsCommandInput} * @returns {@link ListBackupsCommandOutput} * @see {@link ListBackupsCommandInput} for command's `input` shape. * @see {@link ListBackupsCommandOutput} for command's `response` shape. * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

* * @throws {@link InvalidEndpointException} (client fault) * * @throws {@link DynamoDBServiceException} *

Base exception class for all service exceptions from DynamoDB service.

* * * @public */ export declare class ListBackupsCommand extends ListBackupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListBackupsInput; output: ListBackupsOutput; }; sdk: { input: ListBackupsCommandInput; output: ListBackupsCommandOutput; }; }; }