We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Enables the actions for the specified alarms.
Use a bare-bones client and the command you need to make an API call.
import { CloudWatchClient, EnableAlarmActionsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import// const { CloudWatchClient, EnableAlarmActionsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS importconst client = new CloudWatchClient(config);const input = { // EnableAlarmActionsInput AlarmNames: [ // AlarmNames // required "STRING_VALUE", ],};const command = new EnableAlarmActionsCommand(input);const response = await client.send(command);// {};
EnableAlarmActionsCommandInput
EnableAlarmActionsCommandOutput
input
response
config
CloudWatchServiceException
Base exception class for all service exceptions from CloudWatch service.
Readonly
Static
Enables the actions for the specified alarms.
Example
Use a bare-bones client and the command you need to make an API call.
Param
EnableAlarmActionsCommandInput
Returns
EnableAlarmActionsCommandOutput
See
input
shape.response
shape.config
shape.Throws
CloudWatchServiceException
Base exception class for all service exceptions from CloudWatch service.