import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListProtectedResourcesInput, ListProtectedResourcesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListProtectedResourcesCommand}. */ export interface ListProtectedResourcesCommandInput extends ListProtectedResourcesInput { } /** * @public * * The output of {@link ListProtectedResourcesCommand}. */ export interface ListProtectedResourcesCommandOutput extends ListProtectedResourcesOutput, __MetadataBearer { } declare const ListProtectedResourcesCommand_base: { new (input: ListProtectedResourcesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListProtectedResourcesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns an array of resources with recovery points created by Backup * (regardless of the recovery point's status), * including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, * and a resource type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, ListProtectedResourcesCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, ListProtectedResourcesCommand } = 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 = { // ListProtectedResourcesInput * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListProtectedResourcesCommand(input); * const response = await client.send(command); * // { // ListProtectedResourcesOutput * // Results: [ // ProtectedResourcesList * // { // ProtectedResource * // ResourceArn: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // LastBackupTime: new Date("TIMESTAMP"), * // ResourceName: "STRING_VALUE", * // LastBackupVaultArn: "STRING_VALUE", * // LastRecoveryPointArn: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListProtectedResourcesCommandInput - {@link ListProtectedResourcesCommandInput} * @returns {@link ListProtectedResourcesCommandOutput} * @see {@link ListProtectedResourcesCommandInput} for command's `input` shape. * @see {@link ListProtectedResourcesCommandOutput} 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 ListProtectedResourcesCommand extends ListProtectedResourcesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListProtectedResourcesInput; output: ListProtectedResourcesOutput; }; sdk: { input: ListProtectedResourcesCommandInput; output: ListProtectedResourcesCommandOutput; }; }; }