Jump to Content

Class RestoreFromRecoveryPointCommandProtected

Restore the data from a recovery point.

Example

Use a bare-bones client and the command you need to make an API call.

import { RedshiftServerlessClient, RestoreFromRecoveryPointCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
// const { RedshiftServerlessClient, RestoreFromRecoveryPointCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
const client = new RedshiftServerlessClient(config);
const input = { // RestoreFromRecoveryPointRequest
recoveryPointId: "STRING_VALUE", // required
namespaceName: "STRING_VALUE", // required
workgroupName: "STRING_VALUE", // required
};
const command = new RestoreFromRecoveryPointCommand(input);
const response = await client.send(command);

Param

RestoreFromRecoveryPointCommandInput

Returns

RestoreFromRecoveryPointCommandOutput

See

Throws

ConflictException (client fault)

The submitted action has conflicts.

Throws

InternalServerException (server fault)

The request processing has failed because of an unknown error, exception or failure.

Throws

ResourceNotFoundException (client fault)

The resource could not be found.

Throws

ValidationException (client fault)

The input failed to satisfy the constraints specified by an AWS service.

Hierarchy

Constructors

Properties

Methods