import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListRecoveryPointsByLegalHoldInput, ListRecoveryPointsByLegalHoldOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListRecoveryPointsByLegalHoldCommand}. */ export interface ListRecoveryPointsByLegalHoldCommandInput extends ListRecoveryPointsByLegalHoldInput { } /** * @public * * The output of {@link ListRecoveryPointsByLegalHoldCommand}. */ export interface ListRecoveryPointsByLegalHoldCommandOutput extends ListRecoveryPointsByLegalHoldOutput, __MetadataBearer { } declare const ListRecoveryPointsByLegalHoldCommand_base: { new (input: ListRecoveryPointsByLegalHoldCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListRecoveryPointsByLegalHoldCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This action returns recovery point ARNs (Amazon Resource Names) of the * specified legal hold.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, ListRecoveryPointsByLegalHoldCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, ListRecoveryPointsByLegalHoldCommand } = 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 = { // ListRecoveryPointsByLegalHoldInput * LegalHoldId: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListRecoveryPointsByLegalHoldCommand(input); * const response = await client.send(command); * // { // ListRecoveryPointsByLegalHoldOutput * // RecoveryPoints: [ // RecoveryPointsList * // { // RecoveryPointMember * // RecoveryPointArn: "STRING_VALUE", * // ResourceArn: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // BackupVaultName: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListRecoveryPointsByLegalHoldCommandInput - {@link ListRecoveryPointsByLegalHoldCommandInput} * @returns {@link ListRecoveryPointsByLegalHoldCommandOutput} * @see {@link ListRecoveryPointsByLegalHoldCommandInput} for command's `input` shape. * @see {@link ListRecoveryPointsByLegalHoldCommandOutput} 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 MissingParameterValueException} (client fault) *

Indicates that a required parameter is missing.

* * @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 ListRecoveryPointsByLegalHoldCommand extends ListRecoveryPointsByLegalHoldCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRecoveryPointsByLegalHoldInput; output: ListRecoveryPointsByLegalHoldOutput; }; sdk: { input: ListRecoveryPointsByLegalHoldCommandInput; output: ListRecoveryPointsByLegalHoldCommandOutput; }; }; }