awswrangler.timestream.delete_table

awswrangler.timestream.delete_table(database: str, table: str, boto3_session: Optional[boto3.session.Session] = None) None

Delete 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.

Parameters
  • database (str) – Database name.

  • table (str) – Table name.

  • boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 Session will be used if boto3_session receive None.

Returns

None.

Return type

None

Examples

Deleting a table

>>> import awswrangler as wr
>>> arn = wr.timestream.delete_table("MyDatabase", "MyTable")