use of com.amazonaws.services.dynamodbv2.model.UpdateTableRequest in project aws-doc-sdk-examples by awsdocs.
the class LowLevelTableExample method updateExampleTable.
static void updateExampleTable() {
ProvisionedThroughput provisionedThroughput = new ProvisionedThroughput().withReadCapacityUnits(6L).withWriteCapacityUnits(7L);
UpdateTableRequest updateTableRequest = new UpdateTableRequest().withTableName(tableName).withProvisionedThroughput(provisionedThroughput);
client.updateTable(updateTableRequest);
waitForTableToBecomeAvailable(tableName);
}
Aggregations