Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TimestreamQueryClientConfig

The configuration interface of TimestreamQueryClient class constructor that set the region, credentials and other options.

Hierarchy

Index

Properties

Optional credentials

The credentials used to sign requests.

Optional customUserAgent

customUserAgent: string | UserAgent

The custom user agent header that would be appended to default one

Optional defaultsMode

The DefaultsMode that will be used to determine how certain default configuration options are resolved in the SDK.

Optional disableHostPrefix

disableHostPrefix: undefined | false | true

Disable dyanamically changing the endpoint of the client based on the hostPrefix trait of an operation.

Optional endpoint

endpoint: string | Endpoint | Provider<Endpoint>

The fully qualified endpoint of the webservice. This is only required when using a custom endpoint (for example, when using a local version of S3).

Optional endpointCacheSize

endpointCacheSize: undefined | number

The size of the client cache storing endpoints from endpoint discovery operations. Defaults to 1000.

Optional endpointDiscoveryEnabled

endpointDiscoveryEnabled: boolean | undefined

Whether to call operations with endpoints given by service dynamically. Setting this config to true will enable endpoint discovery for all applicable operations. Setting it to false will explicitly disable endpoint discovery even though operations that require endpoint discovery will presumably fail. Leaving it to undefined means SDK only do endpoint discovery when it's required. Defaults to undefined.

Optional logger

logger: __Logger

Optional logger for logging debug/info/warn/error.

Optional maxAttempts

maxAttempts: number | __Provider<number>

Value for how many times a request will be made at most in case of retry.

Optional region

region: string | __Provider<string>

The AWS region to which this client will send requests

Optional requestHandler

requestHandler: __HttpHandler

The HTTP handler to use. Fetch in browser and Https in Nodejs.

Optional retryMode

retryMode: string | __Provider<string>

Specifies which retry algorithm to use.

Optional retryStrategy

retryStrategy: RetryStrategy

The strategy to retry the request. Using built-in exponential backoff strategy by default.

Optional signer

signer: RequestSigner | ((authScheme?: AuthScheme) => Promise<RequestSigner>)

The signer to use when signing requests.

Optional signingEscapePath

signingEscapePath: undefined | false | true

Whether to escape request path when signing the request.

Optional signingRegion

signingRegion: undefined | string

The region where you want to sign your request against. This can be different to the region in the endpoint.

Optional systemClockOffset

systemClockOffset: undefined | number

An offset value in milliseconds to apply to all signing times.

Optional tls

tls: undefined | false | true

Whether TLS is enabled for requests.

Optional useDualstackEndpoint

useDualstackEndpoint: boolean | __Provider<boolean>

Enables IPv6/IPv4 dualstack endpoint.

Optional useFipsEndpoint

useFipsEndpoint: boolean | __Provider<boolean>

Enables FIPS compatible endpoints.