| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSM.Types.AlarmStateInformation
Description
Synopsis
- data AlarmStateInformation = AlarmStateInformation' {
- name :: Text
- state :: ExternalAlarmState
- newAlarmStateInformation :: Text -> ExternalAlarmState -> AlarmStateInformation
- alarmStateInformation_name :: Lens' AlarmStateInformation Text
- alarmStateInformation_state :: Lens' AlarmStateInformation ExternalAlarmState
Documentation
data AlarmStateInformation Source #
The details about the state of your CloudWatch alarm.
See: newAlarmStateInformation smart constructor.
Constructors
| AlarmStateInformation' | |
Fields
| |
Instances
newAlarmStateInformation Source #
Arguments
| :: Text | |
| -> ExternalAlarmState | |
| -> AlarmStateInformation |
Create a value of AlarmStateInformation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:AlarmStateInformation', alarmStateInformation_name - The name of your CloudWatch alarm.
$sel:state:AlarmStateInformation', alarmStateInformation_state - The state of your CloudWatch alarm.
alarmStateInformation_name :: Lens' AlarmStateInformation Text Source #
The name of your CloudWatch alarm.
alarmStateInformation_state :: Lens' AlarmStateInformation ExternalAlarmState Source #
The state of your CloudWatch alarm.