'Add a BatchWrite to this BatchWriteList.
:type table: :class:`boto.dynamodb.table.Table`
:param table: The Table object in which the items are contained.
:type puts: list of :class:`boto.dynamodb.item.Item` objects
:param puts: A list of items that you want to write to DynamoDB.
:type deletes: A list
:param deletes: A list of scalar or tuple values.  Each element
in the list represents one Item to delete.  If the schema
for the table has both a HashKey and a RangeKey, each
element in the list should be a tuple consisting of
(hash_key, range_key).  If the schema for the table
contains only a HashKey, each element in the list should
be a scalar value of the appropriate type for the table
schema.'

def add_batch(self, table, puts=None, deletes=None):

    self.append(BatchWrite(table, puts, deletes))
