Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
Eq Bandwidth Source # | |
Read Bandwidth Source # | |
Show Bandwidth Source # | |
Generic Bandwidth Source # | |
NFData Bandwidth Source # | |
Defined in Amazonka.NetworkManager.Types.Bandwidth | |
Hashable Bandwidth Source # | |
Defined in Amazonka.NetworkManager.Types.Bandwidth | |
ToJSON Bandwidth Source # | |
Defined in Amazonka.NetworkManager.Types.Bandwidth | |
FromJSON Bandwidth Source # | |
type Rep Bandwidth Source # | |
Defined in Amazonka.NetworkManager.Types.Bandwidth type Rep Bandwidth = D1 ('MetaData "Bandwidth" "Amazonka.NetworkManager.Types.Bandwidth" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" '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.