

# EnableAlarmActionRequest


Information needed to enable the alarm.

## Contents


 ** alarmModelName **   <a name="iotevents-Type-iotevents-data_EnableAlarmActionRequest-alarmModelName"></a>
The name of the alarm model.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** requestId **   <a name="iotevents-Type-iotevents-data_EnableAlarmActionRequest-requestId"></a>
The request ID. Each ID must be unique within each batch.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** keyValue **   <a name="iotevents-Type-iotevents-data_EnableAlarmActionRequest-keyValue"></a>
The value of the key used as a filter to select only the alarms associated with the [key](https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key).  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^[a-zA-Z0-9\-_:]+$`   
Required: No

 ** note **   <a name="iotevents-Type-iotevents-data_EnableAlarmActionRequest-note"></a>
The note that you can leave when you enable the alarm.  
Type: String  
Length Constraints: Maximum length of 256.  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iotevents-data-2018-10-23/EnableAlarmActionRequest) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotevents-data-2018-10-23/EnableAlarmActionRequest) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotevents-data-2018-10-23/EnableAlarmActionRequest) 