delete_db_subnet_group ( $db_subnet_group_name, $opt )

Deletes a DB subnet group.

The specified database subnet group must not be associated with any DB instances.

Access

public

Parameters

Parameter

Type

Required

Description

$db_subnet_group_name

string

Required

The name of the database subnet group to delete.

You cannot delete the default subnet group.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

$opt

array

Optional

An associative array of parameters that can have the following keys:

  • curlopts - array - Optional - A set of values to pass directly into curl_setopt(), where the key is a pre-defined CURLOPT_* constant.
  • returnCurlHandle - boolean - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.

Returns

Type

Description

CFResponse

A CFResponse object containing a parsed HTTP response.

Source

Method defined in services/rds.class.php | Toggle source view (7 lines) | View on GitHub

public function delete_db_subnet_group($db_subnet_group_name, $opt = null)
{
    if (!$opt) $opt = array();
    $opt['DBSubnetGroupName'] = $db_subnet_group_name;
    
    return $this->authenticate('DeleteDBSubnetGroup', $opt);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback