amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

Description

 
Synopsis

Documentation

data TrafficMirrorPortRangeRequest Source #

Information about the Traffic Mirror filter rule port range.

See: newTrafficMirrorPortRangeRequest smart constructor.

Constructors

TrafficMirrorPortRangeRequest' 

Fields

  • fromPort :: Maybe Int

    The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

  • toPort :: Maybe Int

    The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

Instances

Instances details
ToQuery TrafficMirrorPortRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

Generic TrafficMirrorPortRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

Associated Types

type Rep TrafficMirrorPortRangeRequest :: Type -> Type #

Read TrafficMirrorPortRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

Show TrafficMirrorPortRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

NFData TrafficMirrorPortRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

Eq TrafficMirrorPortRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

Hashable TrafficMirrorPortRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

type Rep TrafficMirrorPortRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.TrafficMirrorPortRangeRequest

type Rep TrafficMirrorPortRangeRequest = D1 ('MetaData "TrafficMirrorPortRangeRequest" "Amazonka.EC2.Types.TrafficMirrorPortRangeRequest" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TrafficMirrorPortRangeRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "toPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newTrafficMirrorPortRangeRequest :: TrafficMirrorPortRangeRequest Source #

Create a value of TrafficMirrorPortRangeRequest 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:TrafficMirrorPortRangeRequest', trafficMirrorPortRangeRequest_fromPort - The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

$sel:toPort:TrafficMirrorPortRangeRequest', trafficMirrorPortRangeRequest_toPort - The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

trafficMirrorPortRangeRequest_fromPort :: Lens' TrafficMirrorPortRangeRequest (Maybe Int) Source #

The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

trafficMirrorPortRangeRequest_toPort :: Lens' TrafficMirrorPortRangeRequest (Maybe Int) Source #

The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.