| 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.IoTEventsData.Types.CustomerAction
Description
Synopsis
- data CustomerAction = CustomerAction' {
- acknowledgeActionConfiguration :: Maybe AcknowledgeActionConfiguration
- actionName :: Maybe CustomerActionName
- disableActionConfiguration :: Maybe DisableActionConfiguration
- enableActionConfiguration :: Maybe EnableActionConfiguration
- resetActionConfiguration :: Maybe ResetActionConfiguration
- snoozeActionConfiguration :: Maybe SnoozeActionConfiguration
- newCustomerAction :: CustomerAction
- customerAction_acknowledgeActionConfiguration :: Lens' CustomerAction (Maybe AcknowledgeActionConfiguration)
- customerAction_actionName :: Lens' CustomerAction (Maybe CustomerActionName)
- customerAction_disableActionConfiguration :: Lens' CustomerAction (Maybe DisableActionConfiguration)
- customerAction_enableActionConfiguration :: Lens' CustomerAction (Maybe EnableActionConfiguration)
- customerAction_resetActionConfiguration :: Lens' CustomerAction (Maybe ResetActionConfiguration)
- customerAction_snoozeActionConfiguration :: Lens' CustomerAction (Maybe SnoozeActionConfiguration)
Documentation
data CustomerAction Source #
Contains information about the action that you can take to respond to the alarm.
See: newCustomerAction smart constructor.
Constructors
| CustomerAction' | |
Fields
| |
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:acknowledgeActionConfiguration:CustomerAction', customerAction_acknowledgeActionConfiguration - Contains the configuration information of an acknowledge 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:disableActionConfiguration:CustomerAction', customerAction_disableActionConfiguration - Contains the configuration information of a disable action.
$sel:enableActionConfiguration:CustomerAction', customerAction_enableActionConfiguration - Contains the configuration information of an enable action.
$sel:resetActionConfiguration:CustomerAction', customerAction_resetActionConfiguration - Contains the configuration information of a reset action.
$sel:snoozeActionConfiguration:CustomerAction', customerAction_snoozeActionConfiguration - Contains the configuration information of a snooze action.
customerAction_acknowledgeActionConfiguration :: Lens' CustomerAction (Maybe AcknowledgeActionConfiguration) Source #
Contains the configuration information of an acknowledge 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_disableActionConfiguration :: Lens' CustomerAction (Maybe DisableActionConfiguration) Source #
Contains the configuration information of a disable action.
customerAction_enableActionConfiguration :: Lens' CustomerAction (Maybe EnableActionConfiguration) Source #
Contains the configuration information of an enable action.
customerAction_resetActionConfiguration :: Lens' CustomerAction (Maybe ResetActionConfiguration) Source #
Contains the configuration information of a reset action.
customerAction_snoozeActionConfiguration :: Lens' CustomerAction (Maybe SnoozeActionConfiguration) Source #
Contains the configuration information of a snooze action.