amazonka-dynamodb-dax-2.0: Amazon DynamoDB Accelerator (DAX) 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.DAX.Types.Endpoint

Description

 
Synopsis

Documentation

data Endpoint Source #

Represents the information required for client programs to connect to the endpoint for a DAX cluster.

See: newEndpoint smart constructor.

Constructors

Endpoint' 

Fields

  • address :: Maybe Text

    The DNS hostname of the endpoint.

  • port :: Maybe Int

    The port number that applications should use to connect to the endpoint.

  • url :: Maybe Text

    The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.

Instances

Instances details
FromJSON Endpoint Source # 
Instance details

Defined in Amazonka.DAX.Types.Endpoint

Generic Endpoint Source # 
Instance details

Defined in Amazonka.DAX.Types.Endpoint

Associated Types

type Rep Endpoint :: Type -> Type #

Methods

from :: Endpoint -> Rep Endpoint x #

to :: Rep Endpoint x -> Endpoint #

Read Endpoint Source # 
Instance details

Defined in Amazonka.DAX.Types.Endpoint

Show Endpoint Source # 
Instance details

Defined in Amazonka.DAX.Types.Endpoint

NFData Endpoint Source # 
Instance details

Defined in Amazonka.DAX.Types.Endpoint

Methods

rnf :: Endpoint -> () #

Eq Endpoint Source # 
Instance details

Defined in Amazonka.DAX.Types.Endpoint

Hashable Endpoint Source # 
Instance details

Defined in Amazonka.DAX.Types.Endpoint

Methods

hashWithSalt :: Int -> Endpoint -> Int #

hash :: Endpoint -> Int #

type Rep Endpoint Source # 
Instance details

Defined in Amazonka.DAX.Types.Endpoint

type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.DAX.Types.Endpoint" "amazonka-dynamodb-dax-2.0-FwsdPL1z9NS2dTys8oHQ2n" '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)) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

$sel:port:Endpoint', endpoint_port - The port number that applications should use to connect to the endpoint.

$sel:url:Endpoint', endpoint_url - The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.

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

The DNS hostname of the endpoint.

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

The port number that applications should use to connect to the endpoint.

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

The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.