Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data SetAlarmState
- setAlarmState :: Text -> StateValue -> Text -> SetAlarmState
- sasAlarmName :: Lens' SetAlarmState Text
- sasStateReason :: Lens' SetAlarmState Text
- sasStateReasonData :: Lens' SetAlarmState (Maybe Text)
- sasStateValue :: Lens' SetAlarmState StateValue
- data SetAlarmStateResponse
- setAlarmStateResponse :: SetAlarmStateResponse
Request
data SetAlarmState Source
Request constructor
SetAlarmState
constructor.
The fields accessible through corresponding lenses are:
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)
sasStateValue :: Lens' SetAlarmState StateValue Source
The value of the state.
Response
Response constructor
setAlarmStateResponse :: SetAlarmStateResponse Source
SetAlarmStateResponse
constructor.