libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator
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.GlobalAccelerator.Types.PortRange

Description

 
Synopsis

Documentation

data PortRange Source #

A complex type for a range of ports for a listener.

See: newPortRange smart constructor.

Constructors

PortRange' 

Fields

Instances

Instances details
Eq PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

Read PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

Show PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

Generic PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

Associated Types

type Rep PortRange :: Type -> Type #

NFData PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

Methods

rnf :: PortRange -> () #

Hashable PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

ToJSON PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

FromJSON PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

type Rep PortRange Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortRange

type Rep PortRange = D1 ('MetaData "PortRange" "Amazonka.GlobalAccelerator.Types.PortRange" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "PortRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "toPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

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:fromPort:PortRange', portRange_fromPort - The first port in the range of ports, inclusive.

$sel:toPort:PortRange', portRange_toPort - The last port in the range of ports, inclusive.

portRange_fromPort :: Lens' PortRange (Maybe Natural) Source #

The first port in the range of ports, inclusive.

portRange_toPort :: Lens' PortRange (Maybe Natural) Source #

The last port in the range of ports, inclusive.