amazonka-timestream-query-2.0: Amazon Timestream Query 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.TimeStreamQuery.Types.Endpoint

Description

 
Synopsis

Documentation

data Endpoint Source #

Represents an available endpoint against which to make API calls against, as well as the TTL for that endpoint.

See: newEndpoint smart constructor.

Constructors

Endpoint' 

Fields

Instances

Instances details
FromJSON Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Endpoint

Generic Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.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.TimeStreamQuery.Types.Endpoint

Show Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Endpoint

NFData Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Endpoint

Methods

rnf :: Endpoint -> () #

Eq Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Endpoint

Hashable Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Endpoint

Methods

hashWithSalt :: Int -> Endpoint -> Int #

hash :: Endpoint -> Int #

type Rep Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Endpoint

type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.TimeStreamQuery.Types.Endpoint" "amazonka-timestream-query-2.0-HD7xx47Lw3eG6c52GyReXL" 'False) (C1 ('MetaCons "Endpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "cachePeriodInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newEndpoint 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 - An endpoint address.

$sel:cachePeriodInMinutes:Endpoint', endpoint_cachePeriodInMinutes - The TTL for the endpoint, in minutes.

endpoint_address :: Lens' Endpoint Text Source #

An endpoint address.

endpoint_cachePeriodInMinutes :: Lens' Endpoint Integer Source #

The TTL for the endpoint, in minutes.