src/DynamoDb/WriteRequestBatch.php
public function delete(array $key, $table = null)
    {
        $this->queue[] = [
            'table' => $this->determineTable($table),
            'data'  => ['DeleteRequest' => ['Key' => $key]],
        ];

        $this->autoFlush();

        return $this;
    }
public function delete(array $key, $table = null)
    {
        $this->queue[] = [
            'table' => $this->determineTable($table),
            'data'  => ['DeleteRequest' => ['Key' => $key]],
        ];

        $this->autoFlush();

        return $this;
    }
public function delete ( array $ key , $ table = null ) { $ this -> queue [ ] = [ 'table' => $ this -> determineTable ( $ table ) , 'data' => [ 'DeleteRequest' => [ 'Key' => $ key ] ] , ] ; $ this -> autoFlush ( ) ; return $ this ; }
Adds a delete item request to the batch.

@param array       $key   Key of an item to delete. Format:
[
'key1' => ['type' => 'value'],
...
]
@param string|null $table The name of the table. This must be specified
unless the "table" option was provided in the
config of the WriteRequestBatch.

@return $this
Adds a delete item request to the batch .