| 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.IoTEvents.Types.SetTimerAction
Description
Documentation
data SetTimerAction Source #
Information needed to set the timer.
See: newSetTimerAction smart constructor.
Constructors
| SetTimerAction' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> SetTimerAction |
Create a value of SetTimerAction 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:durationExpression:SetTimerAction', setTimerAction_durationExpression - The duration of the timer, in seconds. You can use a string expression
that includes numbers, variables ($variable.<variable-name>), and
input values ($input.<input-name>.<path-to-datum>) as the duration.
The range of the duration is 1-31622400 seconds. To ensure accuracy, the
minimum duration is 60 seconds. The evaluated result of the duration is
rounded down to the nearest whole number.
$sel:seconds:SetTimerAction', setTimerAction_seconds - The number of seconds until the timer expires. The minimum value is 60
seconds to ensure accuracy. The maximum value is 31622400 seconds.
$sel:timerName:SetTimerAction', setTimerAction_timerName - The name of the timer.
setTimerAction_durationExpression :: Lens' SetTimerAction (Maybe Text) Source #
The duration of the timer, in seconds. You can use a string expression
that includes numbers, variables ($variable.<variable-name>), and
input values ($input.<input-name>.<path-to-datum>) as the duration.
The range of the duration is 1-31622400 seconds. To ensure accuracy, the
minimum duration is 60 seconds. The evaluated result of the duration is
rounded down to the nearest whole number.
setTimerAction_seconds :: Lens' SetTimerAction (Maybe Natural) Source #
The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
setTimerAction_timerName :: Lens' SetTimerAction Text Source #
The name of the timer.