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

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

DeleteDBSubnetGroup action Deletes a DB subnet group.
public deleteDBSubnetGroup ( string $dBSubnetGroupName ) : boolean
$dBSubnetGroupName string Subnet group name
Результат boolean Returns true on success or throws an exception.
    public function deleteDBSubnetGroup($dBSubnetGroupName)
    {
        $result = false;
        $options = ['DBSubnetGroupName' => (string) $dBSubnetGroupName];
        $response = $this->client->call(ucfirst(__FUNCTION__), $options);
        if ($response->getError() === false) {
            $sxml = simplexml_load_string($response->getRawContent());
            $result = true;
        }
        return $result;
    }
RdsApi