Scalr\Service\Aws\Rds\V20141031\RdsApi::modifyDBCluster PHP Метод

modifyDBCluster() публичный Метод

Modify settings for a DB Cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
public modifyDBCluster ( Scalr\Service\Aws\Rds\DataType\ModifyDBClusterRequestData $request ) : DBClusterData
$request Scalr\Service\Aws\Rds\DataType\ModifyDBClusterRequestData Modify DB Cluster request object
Результат Scalr\Service\Aws\Rds\DataType\DBClusterData Returns modified DBCluster
    public function modifyDBCluster(ModifyDBClusterRequestData $request)
    {
        $result = null;
        $options = $request->getQueryArray();
        $response = $this->client->call(ucfirst(__FUNCTION__), $options);
        if ($response->getError() === false) {
            $sxml = simplexml_load_string($response->getRawContent());
            if (!$this->exist($sxml->ModifyDBClusterResult)) {
                throw new RdsException(sprintf(self::UNEXPECTED, 'modify DBCluster'));
            }
            $result = $this->_loadDBClusterData($sxml->ModifyDBClusterResult->DBCluster);
        }
        return $result;
    }
RdsApi