| 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 |
Amazonka.GlobalAccelerator.Types.PortRange
Description
Synopsis
- data PortRange = PortRange' {}
- newPortRange :: PortRange
- portRange_fromPort :: Lens' PortRange (Maybe Natural)
- portRange_toPort :: Lens' PortRange (Maybe Natural)
Documentation
A complex type for a range of ports for a listener.
See: newPortRange smart constructor.
Constructors
| PortRange' | |
Instances
| FromJSON PortRange Source # | |
| ToJSON PortRange Source # | |
Defined in Amazonka.GlobalAccelerator.Types.PortRange | |
| Generic PortRange Source # | |
| Read PortRange Source # | |
| Show PortRange Source # | |
| NFData PortRange Source # | |
Defined in Amazonka.GlobalAccelerator.Types.PortRange | |
| Eq PortRange Source # | |
| Hashable PortRange Source # | |
Defined in Amazonka.GlobalAccelerator.Types.PortRange | |
| type Rep PortRange Source # | |
Defined in Amazonka.GlobalAccelerator.Types.PortRange type Rep PortRange = D1 ('MetaData "PortRange" "Amazonka.GlobalAccelerator.Types.PortRange" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "PortRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "toPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) | |
newPortRange :: PortRange Source #
Create a value of PortRange 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:fromPort:PortRange', portRange_fromPort - The first port in the range of ports, inclusive.
$sel:toPort:PortRange', portRange_toPort - The last port in the range of ports, inclusive.