Amazon DynamoDB
Developer Guide (API Version 2012-08-10)

06-DeleteTable.cs

The 06-DeleteTable.cs program deletes TryDaxTable. Run this program after you are done testing.

using Amazon.DynamoDBv2.Model; using System; using Amazon.DynamoDBv2; namespace ClientTest { class Program { static void Main(string[] args) { AmazonDynamoDBClient client = new AmazonDynamoDBClient(); var tableName = "TryDaxTable"; var request = new DeleteTableRequest() { TableName = tableName }; var response = client.DeleteTableAsync(request).Result; Console.WriteLine("Hit <enter> to continue..."); Console.ReadLine(); } } }