Temporarily sets the state of an alarm for testing purposes. When the updated state differs from the previous value, the action configured for the appropriate state is invoked. For example, if your alarm is configured to send an Amazon SNS message when an alarm is triggered, temporarily changing the alarm state to
ALARM
sends an Amazon SNS message. The alarm returns to its actual state (often within seconds). Because the alarm state change happens very quickly, it is typically only visible in the alarm's
History tab in the Amazon CloudWatch console or through
DescribeAlarmHistory.
/// Data was not syntactically valid JSON.
///
/// The named resource does not exist.
///