Database Reference
In-Depth Information
// Invoke UpdateTable method of dynamodb client
var response =
dynamoDBClient.UpdateTable(udpateTableRequest);
Delete table
The delete table request is quite invoke. DeleteTableRequest only needs the name
of the table to be deleted and you are done. Note that a table once deleted cannot be re-
trieved, so handle this API with care. Have a look at the following code:
var deleteTableRequest = new DeleteTableRequest
{
TableName = "Book"
};
var response = client.DeleteTable(deleteTableRequest);
List tables
This method allows us to list down all available tables for a given account. You can op-
tionally also mention whether you want to restrict the list to a specified number. Also, you
can mention whether you want DynamoDB to start the evaluation from a particular table.
Have a look at the following code:
var listTableRequest = new ListTablesRequest
{
Limit = 10,
ExclusiveStartTableName = "Authors"
};
var response = dynamoDBClient.ListTables(listTableRequest);
Search WWH ::




Custom Search