| 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.PortRangeFromTo
Description
Synopsis
Documentation
data PortRangeFromTo Source #
A range of ports.
See: newPortRangeFromTo smart constructor.
Constructors
| PortRangeFromTo' | |
Instances
newPortRangeFromTo :: PortRangeFromTo Source #
Create a value of PortRangeFromTo 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:to:PortRangeFromTo', portRangeFromTo_to - The last port in the port range.
$sel:from:PortRangeFromTo', portRangeFromTo_from - The first port in the port range.
portRangeFromTo_to :: Lens' PortRangeFromTo (Maybe Int) Source #
The last port in the port range.
portRangeFromTo_from :: Lens' PortRangeFromTo (Maybe Int) Source #
The first port in the port range.