Disables actions for the specified alarms. When an alarm’s actions are disabled the alarm’s state may change, but none of the alarm’s actions will execute.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The names of the alarms to disable actions for. Pass a string for a single value, or an indexed array for multiple values. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Disable multiple alarm actions.
$cw = new AmazonCloudWatch(); $response = $cw->disable_alarm_actions(array( 'my-alarm', 'my-other-alarm' )); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/cloudwatch.class.php | Toggle source view (11 lines) | View on GitHub