amazonka-cloudwatch-0.1.2: Amazon CloudWatch SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudWatch.SetAlarmState

Contents

Description

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.

http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_SetAlarmState.html

Synopsis

Request

Request constructor

Request lenses

sasAlarmName :: Lens' SetAlarmState Text Source

The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.

sasStateReason :: Lens' SetAlarmState Text Source

The reason that this alarm is set to this specific state (in human-readable text format)

sasStateReasonData :: Lens' SetAlarmState (Maybe Text) Source

The reason that this alarm is set to this specific state (in machine-readable JSON format)

Response

Response constructor