Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class GetRecoveryPointCommandProtected

Returns information about a recovery point.

Example

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

import { RedshiftServerlessClient, GetRecoveryPointCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
// const { RedshiftServerlessClient, GetRecoveryPointCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
const client = new RedshiftServerlessClient(config);
const input = { // GetRecoveryPointRequest
recoveryPointId: "STRING_VALUE", // required
};
const command = new GetRecoveryPointCommand(input);
const response = await client.send(command);
// { // GetRecoveryPointResponse
// recoveryPoint: { // RecoveryPoint
// recoveryPointId: "STRING_VALUE",
// recoveryPointCreateTime: new Date("TIMESTAMP"),
// totalSizeInMegaBytes: Number("double"),
// namespaceName: "STRING_VALUE",
// workgroupName: "STRING_VALUE",
// namespaceArn: "STRING_VALUE",
// },
// };

Param

GetRecoveryPointCommandInput

Returns

GetRecoveryPointCommandOutput

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.

Throws

RedshiftServerlessServiceException

Base exception class for all service exceptions from RedshiftServerless service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods