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 Bandwidth = Bandwidth' {
- downloadSpeed :: Maybe Int
- uploadSpeed :: Maybe Int
- newBandwidth :: Bandwidth
- bandwidth_downloadSpeed :: Lens' Bandwidth (Maybe Int)
- bandwidth_uploadSpeed :: Lens' Bandwidth (Maybe Int)
Documentation
Describes bandwidth information.
See: newBandwidth
smart constructor.
Bandwidth' | |
|
Instances
FromJSON Bandwidth Source # | |
ToJSON Bandwidth Source # | |
Defined in Amazonka.NetworkManager.Types.Bandwidth | |
Generic Bandwidth Source # | |
Read Bandwidth Source # | |
Show Bandwidth Source # | |
NFData Bandwidth Source # | |
Defined in Amazonka.NetworkManager.Types.Bandwidth | |
Eq Bandwidth Source # | |
Hashable Bandwidth Source # | |
Defined in Amazonka.NetworkManager.Types.Bandwidth | |
type Rep Bandwidth Source # | |
Defined in Amazonka.NetworkManager.Types.Bandwidth type Rep Bandwidth = D1 ('MetaData "Bandwidth" "Amazonka.NetworkManager.Types.Bandwidth" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "Bandwidth'" 'PrefixI 'True) (S1 ('MetaSel ('Just "downloadSpeed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "uploadSpeed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) |
newBandwidth :: Bandwidth Source #
Create a value of Bandwidth
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:downloadSpeed:Bandwidth'
, bandwidth_downloadSpeed
- Download speed in Mbps.
$sel:uploadSpeed:Bandwidth'
, bandwidth_uploadSpeed
- Upload speed in Mbps.