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
Documentation
data ConnectionHealth Source #
Describes connection health.
See: newConnectionHealth
smart constructor.
ConnectionHealth' | |
|
Instances
newConnectionHealth :: ConnectionHealth Source #
Create a value of ConnectionHealth
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:status:ConnectionHealth'
, connectionHealth_status
- The connection status.
$sel:timestamp:ConnectionHealth'
, connectionHealth_timestamp
- The time the status was last updated.
$sel:type':ConnectionHealth'
, connectionHealth_type
- The connection type.
connectionHealth_status :: Lens' ConnectionHealth (Maybe ConnectionStatus) Source #
The connection status.
connectionHealth_timestamp :: Lens' ConnectionHealth (Maybe UTCTime) Source #
The time the status was last updated.
connectionHealth_type :: Lens' ConnectionHealth (Maybe ConnectionType) Source #
The connection type.