src/DynamoDb/TableNamePrefixer.php
private function prefixBatchCommand(CommandInterface $command): CommandInterface
    {
        $newRequestItems = [];

        foreach ($command['RequestItems'] as $tableName => $requests) {
            $newTableName                   = $this->resolveTableName($tableName);
            $newRequestItems[$newTableName] = $requests;
        }

        $command['RequestItems'] = $newRequestItems;

        return $command;
    }
private function prefixBatchCommand(CommandInterface $command): CommandInterface
    {
        $newRequestItems = [];

        foreach ($command['RequestItems'] as $tableName => $requests) {
            $newTableName                   = $this->resolveTableName($tableName);
            $newRequestItems[$newTableName] = $requests;
        }

        $command['RequestItems'] = $newRequestItems;

        return $command;
    }
@param CommandInterface $command

@return CommandInterface