src/Database/Schema/DynamoDbSchema.php
public function createTable($table, $options)
    {
        if (empty($tableName = array_get($table, 'name'))) {
            throw new \Exception("No valid name exist in the received table schema.");
        }

        $properties = array_merge(
            [static::TABLE_INDICATOR => $tableName],
            $this->defaultCreateTable,
            (array)array_get($table, 'native')
        );
        $result = $this->connection->createTable($properties);

        // Wait until the table is created and active
        $this->connection->waitUntil('TableExists', [static::TABLE_INDICATOR => $tableName]);

        return array_merge(['name' => $tableName], $result['TableDescription']);
    }
public function createTable($table, $options)
    {
        if (empty($tableName = array_get($table, 'name'))) {
            throw new \Exception("No valid name exist in the received table schema.");
        }

        $properties = array_merge(
            [static::TABLE_INDICATOR => $tableName],
            $this->defaultCreateTable,
            (array)array_get($table, 'native')
        );
        $result = $this->connection->createTable($properties);

        // Wait until the table is created and active
        $this->connection->waitUntil('TableExists', [static::TABLE_INDICATOR => $tableName]);

        return array_merge(['name' => $tableName], $result['TableDescription']);
    }
{@inheritdoc}