| 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 |
Amazonka.SecurityHub.Types.PortRange
Description
Synopsis
- data PortRange = PortRange' {}
- newPortRange :: PortRange
- portRange_begin :: Lens' PortRange (Maybe Int)
- portRange_end :: Lens' PortRange (Maybe Int)
Documentation
A range of ports.
See: newPortRange smart constructor.
Constructors
| PortRange' | |
Instances
| Eq PortRange Source # | |
| Read PortRange Source # | |
| Show PortRange Source # | |
| Generic PortRange Source # | |
| NFData PortRange Source # | |
Defined in Amazonka.SecurityHub.Types.PortRange | |
| Hashable PortRange Source # | |
Defined in Amazonka.SecurityHub.Types.PortRange | |
| ToJSON PortRange Source # | |
Defined in Amazonka.SecurityHub.Types.PortRange | |
| FromJSON PortRange Source # | |
| type Rep PortRange Source # | |
Defined in Amazonka.SecurityHub.Types.PortRange type Rep PortRange = D1 ('MetaData "PortRange" "Amazonka.SecurityHub.Types.PortRange" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "PortRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "begin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) | |
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:begin:PortRange', portRange_begin - The first port in the port range.
$sel:end:PortRange', portRange_end - The last port in the port range.