libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.PortRangeFromTo

Description

 
Synopsis

Documentation

data PortRangeFromTo Source #

A range of ports.

See: newPortRangeFromTo smart constructor.

Constructors

PortRangeFromTo' 

Fields

Instances

Instances details
Eq PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

Read PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

Show PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

Generic PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

Associated Types

type Rep PortRangeFromTo :: Type -> Type #

NFData PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

Methods

rnf :: PortRangeFromTo -> () #

Hashable PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

ToJSON PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

FromJSON PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

type Rep PortRangeFromTo Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRangeFromTo

type Rep PortRangeFromTo = D1 ('MetaData "PortRangeFromTo" "Amazonka.SecurityHub.Types.PortRangeFromTo" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "PortRangeFromTo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

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.