batch_put_item

batch_put_item(connection, table, *items)

Note that this function is variadic. See Variadic functions.

Make as many BatchWriteItem actions as needed to put all specified items. Including processing BatchWriteItemResponse.unprocessed_items.

>>> batch_put_item(
...   connection,
...   table,
...   {"h": 0, "a": 42},
...   {"h": 1, "a": 57},
...   {"h": 2, "a": 33, "b": 22},
... )