| 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.Inspector2.Types.PortRange
Description
Synopsis
- data PortRange = PortRange' {}
- newPortRange :: Natural -> Natural -> PortRange
- portRange_begin :: Lens' PortRange Natural
- portRange_end :: Lens' PortRange Natural
Documentation
Details about the port range associated with a finding.
See: newPortRange smart constructor.
Constructors
| PortRange' | |
Instances
| FromJSON PortRange Source # | |
| Generic PortRange Source # | |
| Read PortRange Source # | |
| Show PortRange Source # | |
| NFData PortRange Source # | |
Defined in Amazonka.Inspector2.Types.PortRange | |
| Eq PortRange Source # | |
| Hashable PortRange Source # | |
Defined in Amazonka.Inspector2.Types.PortRange | |
| type Rep PortRange Source # | |
Defined in Amazonka.Inspector2.Types.PortRange type Rep PortRange = D1 ('MetaData "PortRange" "Amazonka.Inspector2.Types.PortRange" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "PortRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "begin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))) | |
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:begin:PortRange', portRange_begin - The beginning port in a port range.
$sel:end:PortRange', portRange_end - The ending port in a port range.