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
Details about an NTP server connection.
See: newNtpStatus
smart constructor.
NtpStatus' | |
|
Instances
FromJSON NtpStatus Source # | |
Generic NtpStatus Source # | |
Read NtpStatus Source # | |
Show NtpStatus Source # | |
NFData NtpStatus Source # | |
Defined in Amazonka.Panorama.Types.NtpStatus | |
Eq NtpStatus Source # | |
Hashable NtpStatus Source # | |
Defined in Amazonka.Panorama.Types.NtpStatus | |
type Rep NtpStatus Source # | |
Defined in Amazonka.Panorama.Types.NtpStatus type Rep NtpStatus = D1 ('MetaData "NtpStatus" "Amazonka.Panorama.Types.NtpStatus" "amazonka-panorama-2.0-9Y2Sxd8ToqsBjPczgPI6n1" 'False) (C1 ('MetaCons "NtpStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkConnectionStatus)) :*: (S1 ('MetaSel ('Just "ipAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ntpServerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newNtpStatus :: NtpStatus Source #
Create a value of NtpStatus
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:connectionStatus:NtpStatus'
, ntpStatus_connectionStatus
- The connection's status.
$sel:ipAddress:NtpStatus'
, ntpStatus_ipAddress
- The IP address of the server.
$sel:ntpServerName:NtpStatus'
, ntpStatus_ntpServerName
- The domain name of the server.
ntpStatus_connectionStatus :: Lens' NtpStatus (Maybe NetworkConnectionStatus) Source #
The connection's status.