new AttributeDefinition(HASH_KEY, ScalarAttributeType.N),
new AttributeDefinition(RANGE_KEY, ScalarAttributeType.S))
.withProvisionedThroughput(
new ProvisionedThroughput(READ_CAPACITY, WRITE_CAPACITY));
table = dynamo.createTable(createTableRequest);
table.waitForActive();
}
}
private static void fillInData(DynamoDB dynamo) {
Table table = dynamo.getTable(TABLE_NAME);