import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListBackupJobSummariesInput, ListBackupJobSummariesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListBackupJobSummariesCommand}. */ export interface ListBackupJobSummariesCommandInput extends ListBackupJobSummariesInput { } /** * @public * * The output of {@link ListBackupJobSummariesCommand}. */ export interface ListBackupJobSummariesCommandOutput extends ListBackupJobSummariesOutput, __MetadataBearer { } declare const ListBackupJobSummariesCommand_base: { new (input: ListBackupJobSummariesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListBackupJobSummariesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This is a request for a summary of backup jobs created * or running within the most recent 14 days. You can * include parameters AccountID, State, ResourceType, MessageCategory, * AggregationPeriod, MaxResults, or NextToken to filter * results.

*

This request returns a summary that contains * Region, Account, State, ResourceType, MessageCategory, * StartTime, EndTime, and Count of included jobs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, ListBackupJobSummariesCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, ListBackupJobSummariesCommand } = require("@aws-sdk/client-backup"); // CommonJS import * // import type { BackupClientConfig } from "@aws-sdk/client-backup"; * const config = {}; // type is BackupClientConfig * const client = new BackupClient(config); * const input = { // ListBackupJobSummariesInput * AccountId: "STRING_VALUE", * State: "CREATED" || "PENDING" || "RUNNING" || "ABORTING" || "ABORTED" || "COMPLETED" || "FAILED" || "EXPIRED" || "PARTIAL" || "AGGREGATE_ALL" || "ANY", * ResourceType: "STRING_VALUE", * MessageCategory: "STRING_VALUE", * AggregationPeriod: "ONE_DAY" || "SEVEN_DAYS" || "FOURTEEN_DAYS", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListBackupJobSummariesCommand(input); * const response = await client.send(command); * // { // ListBackupJobSummariesOutput * // BackupJobSummaries: [ // BackupJobSummaryList * // { // BackupJobSummary * // Region: "STRING_VALUE", * // AccountId: "STRING_VALUE", * // State: "CREATED" || "PENDING" || "RUNNING" || "ABORTING" || "ABORTED" || "COMPLETED" || "FAILED" || "EXPIRED" || "PARTIAL" || "AGGREGATE_ALL" || "ANY", * // ResourceType: "STRING_VALUE", * // MessageCategory: "STRING_VALUE", * // Count: Number("int"), * // StartTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // }, * // ], * // AggregationPeriod: "STRING_VALUE", * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListBackupJobSummariesCommandInput - {@link ListBackupJobSummariesCommandInput} * @returns {@link ListBackupJobSummariesCommandOutput} * @see {@link ListBackupJobSummariesCommandInput} for command's `input` shape. * @see {@link ListBackupJobSummariesCommandOutput} for command's `response` shape. * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape. * * @throws {@link InvalidParameterValueException} (client fault) *

Indicates that something is wrong with a parameter's value. For example, the value is * out of range.

* * @throws {@link ServiceUnavailableException} (server fault) *

The request failed due to a temporary failure of the server.

* * @throws {@link BackupServiceException} *

Base exception class for all service exceptions from Backup service.

* * * @public */ export declare class ListBackupJobSummariesCommand extends ListBackupJobSummariesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListBackupJobSummariesInput; output: ListBackupJobSummariesOutput; }; sdk: { input: ListBackupJobSummariesCommandInput; output: ListBackupJobSummariesCommandOutput; }; }; }