public function rebootDBInstance($dBInstanceIdentifier, $forceFailover = null)
{
$options = array('DBInstanceIdentifier' => (string) $dBInstanceIdentifier);
if ($forceFailover !== null) {
$options['ForceFailover'] = $forceFailover ? 'true' : 'false';
}
$response = $this->client->call(ucfirst(__FUNCTION__), $options);
if ($response->getError() === false) {
$sxml = simplexml_load_string($response->getRawContent());
if (!$this->exist($sxml->RebootDBInstanceResult)) {
throw new RdsException(sprintf(self::UNEXPECTED, 'reboot DBIntance'));
}
$result = $this->_loadDBInstanceData($sxml->RebootDBInstanceResult->DBInstance);
}
return $result;
}