Resets permission settings for the specified snapshot.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The ID of the snapshot whose attribute is being reset. |
|
|
Required |
The name of the attribute being reset. Available attribute names: |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Reset the attributes for a snapshot to default settings.
// Instantiate the class $ec2 = new AmazonEC2(); $response = $ec2->reset_snapshot_attribute('snap-a99b8bc1', 'createVolumePermission'); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/ec2.class.php | Toggle source view (8 lines) | View on GitHub