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

Description

 
Synopsis

Documentation

data SocketAddress Source #

An IP address/port combination.

See: newSocketAddress smart constructor.

Constructors

SocketAddress' 

Fields

Instances

Instances details
Eq SocketAddress Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.SocketAddress

Read SocketAddress Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.SocketAddress

Show SocketAddress Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.SocketAddress

Generic SocketAddress Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.SocketAddress

Associated Types

type Rep SocketAddress :: Type -> Type #

NFData SocketAddress Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.SocketAddress

Methods

rnf :: SocketAddress -> () #

Hashable SocketAddress Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.SocketAddress

FromJSON SocketAddress Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.SocketAddress

type Rep SocketAddress Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.SocketAddress

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

newSocketAddress :: SocketAddress Source #

Create a value of SocketAddress 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:ipAddress:SocketAddress', socketAddress_ipAddress - The IP address for the socket address.

$sel:port:SocketAddress', socketAddress_port - The port for the socket address.

socketAddress_ipAddress :: Lens' SocketAddress (Maybe Text) Source #

The IP address for the socket address.

socketAddress_port :: Lens' SocketAddress (Maybe Natural) Source #

The port for the socket address.