Deletes a DBSnapshot.
The DBSnapshot must be in the available
state to be deleted.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The DBSnapshot identifier. Constraints: Must be the name of an existing DB Snapshot in the |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Delete a database snapshot.
// Instantiate the class $rds = new AmazonRDS(); $response = $rds->delete_db_snapshot('mySnapshot'); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/rds.class.php | Toggle source view (7 lines) | View on GitHub