AWS SDK for .NET Documentation
SetAlarmState Method (setAlarmStateRequest)
AmazonAmazon.CloudWatchAmazonCloudWatchClientSetAlarmState(SetAlarmStateRequest) Did this page help you?   Yes   No    Tell us about it...

Temporarily sets the state of an alarm. When the updated StateValue differs from the previous value, the action configured for the appropriate state is invoked. This is not a permanent change. The next periodic alarm check (in about a minute) will set the alarm to its actual state.

Declaration Syntax
C#
public SetAlarmStateResponse SetAlarmState(
	SetAlarmStateRequest setAlarmStateRequest
)
Parameters
setAlarmStateRequest (SetAlarmStateRequest)
Container for the necessary parameters to execute the SetAlarmState service method on AmazonCloudWatch.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)