Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateTableCommand

Modifies the retention duration of the memory store and magnetic store for your Timestream table. Note that the change in retention duration takes effect immediately. For example, if the retention period of the memory store was initially set to 2 hours and then changed to 24 hours, the memory store will be capable of holding 24 hours of data, but will be populated with 24 hours of data 22 hours after this change was made. Timestream does not retrieve data from the magnetic store to populate the memory store.

See code sample for details.

example

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

import { TimestreamWriteClient, UpdateTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
// const { TimestreamWriteClient, UpdateTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
const client = new TimestreamWriteClient(config);
const command = new UpdateTableCommand(input);
const response = await client.send(command);
see

UpdateTableCommandInput for command's input shape.

see

UpdateTableCommandOutput for command's response shape.

see

config for TimestreamWriteClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: UpdateTableCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<UpdateTableCommandInput, UpdateTableCommandOutput>