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.PortRange

Description

 
Synopsis

Documentation

data PortRange Source #

A range of ports.

See: newPortRange smart constructor.

Constructors

PortRange' 

Fields

Instances

Instances details
Eq PortRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRange

Read PortRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRange

Show PortRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRange

Generic PortRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRange

Associated Types

type Rep PortRange :: Type -> Type #

NFData PortRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRange

Methods

rnf :: PortRange -> () #

Hashable PortRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRange

ToJSON PortRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRange

FromJSON PortRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.PortRange

type Rep PortRange Source # 
Instance details

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.

portRange_begin :: Lens' PortRange (Maybe Int) Source #

The first port in the port range.

portRange_end :: Lens' PortRange (Maybe Int) Source #

The last port in the port range.