Batch write items to dynamoDB with handling for maximum items (25) to write,
which means with this helper more than 25 items can be written into the database with one call.
Module