

def delete_table(self):
    name = self.body['TableName']
    table = dynamodb_backend.delete_table(name)
    if table:
        return dynamo_json_dump(table.describe)
    else:
        er = 'com.amazonaws.dynamodb.v20111205#ResourceNotFoundException'
        return self.error(er)

dataset/ETHPy150Open spulec/moto/moto/dynamodb/responses.py DynamoHandler.delete_table/original