private Amazon.TimestreamWrite.Model.DeleteTableResponse CallAWSServiceOperation(IAmazonTimestreamWrite client, Amazon.TimestreamWrite.Model.DeleteTableRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Timestream Write", "DeleteTable");
     try
     {
         #if DESKTOP
         return(client.DeleteTable(request));
         #elif CORECLR
         return(client.DeleteTableAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }
        public async Task DeleteTable(IAmazonTimestreamWrite writeClient, string databaseName, string tableName)
        {
            Console.WriteLine($"Deleting table {tableName}");
            try
            {
                var deleteTableRequest = new DeleteTableRequest
                {
                    DatabaseName = databaseName,
                    TableName    = tableName
                };
                DeleteTableResponse response = await writeClient.DeleteTableAsync(deleteTableRequest);

                Console.WriteLine($"Table {tableName} delete request status: {response.HttpStatusCode}");
            }
            catch (ResourceNotFoundException)
            {
                Console.WriteLine($"Table {tableName} does not exists");
            }
            catch (Exception e)
            {
                Console.WriteLine($"Exception while deleting table: {e}");
            }
        }