TimestreamWrite / Client / delete_table

delete_table#

TimestreamWrite.Client.delete_table(**kwargs)#

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.

Note

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.

See also: AWS API Documentation

Request Syntax

response = client.delete_table(
    DatabaseName='string',
    TableName='string'
)
Parameters:
  • DatabaseName (string) –

    [REQUIRED]

    The name of the database where the Timestream database is to be deleted.

  • TableName (string) –

    [REQUIRED]

    The name of the Timestream table to be deleted.

Returns:

None

Exceptions

  • TimestreamWrite.Client.exceptions.InternalServerException

  • TimestreamWrite.Client.exceptions.ThrottlingException

  • TimestreamWrite.Client.exceptions.ValidationException

  • TimestreamWrite.Client.exceptions.ResourceNotFoundException

  • TimestreamWrite.Client.exceptions.AccessDeniedException

  • TimestreamWrite.Client.exceptions.InvalidEndpointException