AWS SDK for .NET Documentation
PutMetricAlarm Method (putMetricAlarmRequest)
AmazonAmazon.CloudWatchAmazonCloudWatchClientPutMetricAlarm(PutMetricAlarmRequest) Did this page help you?   Yes   No    Tell us about it...

Creates or updates an alarm and associates it with the specified Amazon CloudWatch metric. Optionally, this operation can associate one or more Amazon Simple Notification Service resources with the alarm.

When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA . The alarm is evaluated and its StateValue is set appropriately. Any actions associated with the StateValue is then executed.

NOTE: When updating an existing alarm, its StateValue is left unchanged.

Declaration Syntax
public PutMetricAlarmResponse PutMetricAlarm(
	PutMetricAlarmRequest putMetricAlarmRequest
putMetricAlarmRequest (PutMetricAlarmRequest)
Container for the necessary parameters to execute the PutMetricAlarm service method on AmazonCloudWatch.

Assembly: AWSSDK (Module: AWSSDK) Version: (