UNPKG

@aws-sdk/client-dynamodb

Version:

AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native

75 lines (74 loc) 3.41 kB
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { RestoreTableToPointInTimeInput, RestoreTableToPointInTimeOutput } from "../models/models_0"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types"; export declare type RestoreTableToPointInTimeCommandInput = RestoreTableToPointInTimeInput; export declare type RestoreTableToPointInTimeCommandOutput = RestoreTableToPointInTimeOutput & __MetadataBearer; /** * <p>Restores the specified table to the specified point in time within * <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>. * You can restore your table to any point in time during the last 35 days. * Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account. * </p> * <p> * When you restore using point in time recovery, DynamoDB restores your table data to the state based on * the selected date and time (day:hour:minute:second) to a new table. * </p> * <p> * Along with data, the following are also included on the new restored table using point in time recovery: * </p> * <ul> * <li> * <p>Global secondary indexes (GSIs)</p> * </li> * <li> * <p>Local secondary indexes (LSIs)</p> * </li> * <li> * <p>Provisioned read and write capacity</p> * </li> * <li> * <p>Encryption settings</p> * <important> * <p> * All these settings come from the current settings of the source table at the time of restore. * </p> * </important> * </li> * </ul> * * <p>You must manually set up the following on the restored table:</p> * <ul> * <li> * <p>Auto scaling policies</p> * </li> * <li> * <p>IAM policies</p> * </li> * <li> * <p>Amazon CloudWatch metrics and alarms</p> * </li> * <li> * <p>Tags</p> * </li> * <li> * <p>Stream settings</p> * </li> * <li> * <p>Time to Live (TTL) settings</p> * </li> * <li> * <p>Point in time recovery settings</p> * </li> * </ul> */ export declare class RestoreTableToPointInTimeCommand extends $Command<RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig> { readonly input: RestoreTableToPointInTimeCommandInput; constructor(input: RestoreTableToPointInTimeCommandInput); /** * @internal */ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput>; private serialize; private deserialize; }