We are excited to announce our new API Documentation.
Protected
Returns an array of recovery points.
Use a bare-bones client and the command you need to make an API call.
import { RedshiftServerlessClient, ListRecoveryPointsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import// const { RedshiftServerlessClient, ListRecoveryPointsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS importconst client = new RedshiftServerlessClient(config);const input = { // ListRecoveryPointsRequest nextToken: "STRING_VALUE", maxResults: Number("int"), startTime: new Date("TIMESTAMP"), endTime: new Date("TIMESTAMP"), namespaceName: "STRING_VALUE", namespaceArn: "STRING_VALUE",};const command = new ListRecoveryPointsCommand(input);const response = await client.send(command);// { // ListRecoveryPointsResponse// recoveryPoints: [ // RecoveryPointList// { // RecoveryPoint// recoveryPointId: "STRING_VALUE",// recoveryPointCreateTime: new Date("TIMESTAMP"),// totalSizeInMegaBytes: Number("double"),// namespaceName: "STRING_VALUE",// workgroupName: "STRING_VALUE",// namespaceArn: "STRING_VALUE",// },// ],// nextToken: "STRING_VALUE",// };
ListRecoveryPointsCommandInput
ListRecoveryPointsCommandOutput
input
response
config
InternalServerException (server fault)
The request processing has failed because of an unknown error, exception or failure.
ValidationException (client fault)
The input failed to satisfy the constraints specified by an AWS service.
RedshiftServerlessServiceException
Base exception class for all service exceptions from RedshiftServerless service.
Readonly
Static
Returns an array of recovery points.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListRecoveryPointsCommandInput
Returns
ListRecoveryPointsCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
The request processing has failed because of an unknown error, exception or failure.
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.