import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListProtectedResourcesByBackupVaultInput, ListProtectedResourcesByBackupVaultOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListProtectedResourcesByBackupVaultCommand}. */ export interface ListProtectedResourcesByBackupVaultCommandInput extends ListProtectedResourcesByBackupVaultInput { } /** * @public * * The output of {@link ListProtectedResourcesByBackupVaultCommand}. */ export interface ListProtectedResourcesByBackupVaultCommandOutput extends ListProtectedResourcesByBackupVaultOutput, __MetadataBearer { } declare const ListProtectedResourcesByBackupVaultCommand_base: { new (input: ListProtectedResourcesByBackupVaultCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListProtectedResourcesByBackupVaultCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This request lists the protected resources corresponding to each backup vault.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, ListProtectedResourcesByBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, ListProtectedResourcesByBackupVaultCommand } = 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 = { // ListProtectedResourcesByBackupVaultInput * BackupVaultName: "STRING_VALUE", // required * BackupVaultAccountId: "STRING_VALUE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListProtectedResourcesByBackupVaultCommand(input); * const response = await client.send(command); * // { // ListProtectedResourcesByBackupVaultOutput * // 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 ListProtectedResourcesByBackupVaultCommandInput - {@link ListProtectedResourcesByBackupVaultCommandInput} * @returns {@link ListProtectedResourcesByBackupVaultCommandOutput} * @see {@link ListProtectedResourcesByBackupVaultCommandInput} for command's `input` shape. * @see {@link ListProtectedResourcesByBackupVaultCommandOutput} 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 ResourceNotFoundException} (client fault) *

A resource that is required for the action doesn't exist.

* * @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 ListProtectedResourcesByBackupVaultCommand extends ListProtectedResourcesByBackupVaultCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListProtectedResourcesByBackupVaultInput; output: ListProtectedResourcesByBackupVaultOutput; }; sdk: { input: ListProtectedResourcesByBackupVaultCommandInput; output: ListProtectedResourcesByBackupVaultCommandOutput; }; }; }