Creating Dynamo Client

  • The Dynamo Client lets you store data into your Dynamo table
  • The "enhanced" client lets you convert Java objects to a storable format
  • Create a Dynamo table object in Java to be able to use your table
DynamoDbClient client = DynamoDbClient.builder()

DynamoDbEnhancedClient enhancedClient = DynamoDbEnhancedClient.builder()

DynamoDbTable<UserModel> table = 
    enhancedClient.table("practicum-table", TableSchema.fromBean(UserModel.class));

18 / 25