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 |
Synopsis
- data ReportedRuntimeContextState = ReportedRuntimeContextState' {}
- newReportedRuntimeContextState :: DesiredState -> DeviceReportedStatus -> UTCTime -> Text -> ReportedRuntimeContextState
- reportedRuntimeContextState_desiredState :: Lens' ReportedRuntimeContextState DesiredState
- reportedRuntimeContextState_deviceReportedStatus :: Lens' ReportedRuntimeContextState DeviceReportedStatus
- reportedRuntimeContextState_deviceReportedTime :: Lens' ReportedRuntimeContextState UTCTime
- reportedRuntimeContextState_runtimeContextName :: Lens' ReportedRuntimeContextState Text
Documentation
data ReportedRuntimeContextState Source #
An application instance's state.
See: newReportedRuntimeContextState
smart constructor.
ReportedRuntimeContextState' | |
|
Instances
newReportedRuntimeContextState Source #
Create a value of ReportedRuntimeContextState
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:desiredState:ReportedRuntimeContextState'
, reportedRuntimeContextState_desiredState
- The application's desired state.
$sel:deviceReportedStatus:ReportedRuntimeContextState'
, reportedRuntimeContextState_deviceReportedStatus
- The application's reported status.
$sel:deviceReportedTime:ReportedRuntimeContextState'
, reportedRuntimeContextState_deviceReportedTime
- When the device reported the application's state.
$sel:runtimeContextName:ReportedRuntimeContextState'
, reportedRuntimeContextState_runtimeContextName
- The device's name.
reportedRuntimeContextState_desiredState :: Lens' ReportedRuntimeContextState DesiredState Source #
The application's desired state.
reportedRuntimeContextState_deviceReportedStatus :: Lens' ReportedRuntimeContextState DeviceReportedStatus Source #
The application's reported status.
reportedRuntimeContextState_deviceReportedTime :: Lens' ReportedRuntimeContextState UTCTime Source #
When the device reported the application's state.
reportedRuntimeContextState_runtimeContextName :: Lens' ReportedRuntimeContextState Text Source #
The device's name.