import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateRestoreTestingSelectionInput, UpdateRestoreTestingSelectionOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateRestoreTestingSelectionCommand}. */ export interface UpdateRestoreTestingSelectionCommandInput extends UpdateRestoreTestingSelectionInput { } /** * @public * * The output of {@link UpdateRestoreTestingSelectionCommand}. */ export interface UpdateRestoreTestingSelectionCommandOutput extends UpdateRestoreTestingSelectionOutput, __MetadataBearer { } declare const UpdateRestoreTestingSelectionCommand_base: { new (input: UpdateRestoreTestingSelectionCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateRestoreTestingSelectionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the specified restore testing selection.

*

Most elements except the RestoreTestingSelectionName * can be updated with this request.

*

You can use either protected resource ARNs or conditions, but not both.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, UpdateRestoreTestingSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, UpdateRestoreTestingSelectionCommand } = 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 = { // UpdateRestoreTestingSelectionInput * RestoreTestingPlanName: "STRING_VALUE", // required * RestoreTestingSelection: { // RestoreTestingSelectionForUpdate * IamRoleArn: "STRING_VALUE", * ProtectedResourceArns: [ // stringList * "STRING_VALUE", * ], * ProtectedResourceConditions: { // ProtectedResourceConditions * StringEquals: [ // KeyValueList * { // KeyValue * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * StringNotEquals: [ * { * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }, * RestoreMetadataOverrides: { // SensitiveStringMap * "": "STRING_VALUE", * }, * ValidationWindowHours: Number("int"), * }, * RestoreTestingSelectionName: "STRING_VALUE", // required * }; * const command = new UpdateRestoreTestingSelectionCommand(input); * const response = await client.send(command); * // { // UpdateRestoreTestingSelectionOutput * // CreationTime: new Date("TIMESTAMP"), // required * // RestoreTestingPlanArn: "STRING_VALUE", // required * // RestoreTestingPlanName: "STRING_VALUE", // required * // RestoreTestingSelectionName: "STRING_VALUE", // required * // UpdateTime: new Date("TIMESTAMP"), // required * // }; * * ``` * * @param UpdateRestoreTestingSelectionCommandInput - {@link UpdateRestoreTestingSelectionCommandInput} * @returns {@link UpdateRestoreTestingSelectionCommandOutput} * @see {@link UpdateRestoreTestingSelectionCommandInput} for command's `input` shape. * @see {@link UpdateRestoreTestingSelectionCommandOutput} for command's `response` shape. * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

Backup can't perform the action that you requested until it finishes * performing a previous action. Try again later.

* * @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 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 UpdateRestoreTestingSelectionCommand extends UpdateRestoreTestingSelectionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateRestoreTestingSelectionInput; output: UpdateRestoreTestingSelectionOutput; }; sdk: { input: UpdateRestoreTestingSelectionCommandInput; output: UpdateRestoreTestingSelectionCommandOutput; }; }; }