Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CustomerAction = CustomerAction' {
- resetActionConfiguration :: Maybe ResetActionConfiguration
- actionName :: Maybe CustomerActionName
- snoozeActionConfiguration :: Maybe SnoozeActionConfiguration
- enableActionConfiguration :: Maybe EnableActionConfiguration
- disableActionConfiguration :: Maybe DisableActionConfiguration
- acknowledgeActionConfiguration :: Maybe AcknowledgeActionConfiguration
- newCustomerAction :: CustomerAction
- customerAction_resetActionConfiguration :: Lens' CustomerAction (Maybe ResetActionConfiguration)
- customerAction_actionName :: Lens' CustomerAction (Maybe CustomerActionName)
- customerAction_snoozeActionConfiguration :: Lens' CustomerAction (Maybe SnoozeActionConfiguration)
- customerAction_enableActionConfiguration :: Lens' CustomerAction (Maybe EnableActionConfiguration)
- customerAction_disableActionConfiguration :: Lens' CustomerAction (Maybe DisableActionConfiguration)
- customerAction_acknowledgeActionConfiguration :: Lens' CustomerAction (Maybe AcknowledgeActionConfiguration)
Documentation
data CustomerAction Source #
Contains information about the action that you can take to respond to the alarm.
See: newCustomerAction
smart constructor.
CustomerAction' | |
|
Instances
newCustomerAction :: CustomerAction Source #
Create a value of CustomerAction
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:resetActionConfiguration:CustomerAction'
, customerAction_resetActionConfiguration
- Contains the configuration information of a reset action.
$sel:actionName:CustomerAction'
, customerAction_actionName
- The name of the action. The action name can be one of the following
values:
SNOOZE
- When you snooze the alarm, the alarm state changes toSNOOZE_DISABLED
.ENABLE
- When you enable the alarm, the alarm state changes toNORMAL
.DISABLE
- When you disable the alarm, the alarm state changes toDISABLED
.ACKNOWLEDGE
- When you acknowledge the alarm, the alarm state changes toACKNOWLEDGED
.RESET
- When you reset the alarm, the alarm state changes toNORMAL
.
For more information, see the AlarmState API.
$sel:snoozeActionConfiguration:CustomerAction'
, customerAction_snoozeActionConfiguration
- Contains the configuration information of a snooze action.
$sel:enableActionConfiguration:CustomerAction'
, customerAction_enableActionConfiguration
- Contains the configuration information of an enable action.
$sel:disableActionConfiguration:CustomerAction'
, customerAction_disableActionConfiguration
- Contains the configuration information of a disable action.
$sel:acknowledgeActionConfiguration:CustomerAction'
, customerAction_acknowledgeActionConfiguration
- Contains the configuration information of an acknowledge action.
customerAction_resetActionConfiguration :: Lens' CustomerAction (Maybe ResetActionConfiguration) Source #
Contains the configuration information of a reset action.
customerAction_actionName :: Lens' CustomerAction (Maybe CustomerActionName) Source #
The name of the action. The action name can be one of the following values:
SNOOZE
- When you snooze the alarm, the alarm state changes toSNOOZE_DISABLED
.ENABLE
- When you enable the alarm, the alarm state changes toNORMAL
.DISABLE
- When you disable the alarm, the alarm state changes toDISABLED
.ACKNOWLEDGE
- When you acknowledge the alarm, the alarm state changes toACKNOWLEDGED
.RESET
- When you reset the alarm, the alarm state changes toNORMAL
.
For more information, see the AlarmState API.
customerAction_snoozeActionConfiguration :: Lens' CustomerAction (Maybe SnoozeActionConfiguration) Source #
Contains the configuration information of a snooze action.
customerAction_enableActionConfiguration :: Lens' CustomerAction (Maybe EnableActionConfiguration) Source #
Contains the configuration information of an enable action.
customerAction_disableActionConfiguration :: Lens' CustomerAction (Maybe DisableActionConfiguration) Source #
Contains the configuration information of a disable action.
customerAction_acknowledgeActionConfiguration :: Lens' CustomerAction (Maybe AcknowledgeActionConfiguration) Source #
Contains the configuration information of an acknowledge action.