Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteTableCommand

Deletes a given Timestream table. This is an irreversible operation. After a Timestream database table is deleted, the time series data stored in the table cannot be recovered.

Due to the nature of distributed retries, the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent.

See code sample for details.

example

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

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

DeleteTableCommandInput for command's input shape.

see

DeleteTableCommandOutput for command's response shape.

see

config for TimestreamWriteClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteTableCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteTableCommandInput, DeleteTableCommandOutput>