libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
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.ElastiCache.Types.Endpoint

Description

 
Synopsis

Documentation

data Endpoint Source #

Represents the information required for client programs to connect to a cache node.

See: newEndpoint smart constructor.

Constructors

Endpoint' 

Fields

Instances

Instances details
Eq Endpoint Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Endpoint

Read Endpoint Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Endpoint

Show Endpoint Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Endpoint

Generic Endpoint Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Endpoint

Associated Types

type Rep Endpoint :: Type -> Type #

Methods

from :: Endpoint -> Rep Endpoint x #

to :: Rep Endpoint x -> Endpoint #

NFData Endpoint Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Endpoint

Methods

rnf :: Endpoint -> () #

Hashable Endpoint Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Endpoint

Methods

hashWithSalt :: Int -> Endpoint -> Int #

hash :: Endpoint -> Int #

FromXML Endpoint Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Endpoint

type Rep Endpoint Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.Endpoint

type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.ElastiCache.Types.Endpoint" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "Endpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newEndpoint :: Endpoint Source #

Create a value of Endpoint 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:address:Endpoint', endpoint_address - The DNS hostname of the cache node.

$sel:port:Endpoint', endpoint_port - The port number that the cache engine is listening on.

endpoint_address :: Lens' Endpoint (Maybe Text) Source #

The DNS hostname of the cache node.

endpoint_port :: Lens' Endpoint (Maybe Int) Source #

The port number that the cache engine is listening on.