Skip to main content

@wildix/wda-insights-client > ClientDefaults

ClientDefaults interface

Signature:

export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> 

Extends: Partial<__SmithyConfiguration<__HttpHandlerOptions>>

Properties

Property

Modifiers

Type

Description

defaultsMode?

__DefaultsMode | __Provider<__DefaultsMode>

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

disableHostPrefix?

boolean

(Optional) Disable dynamically changing the endpoint of the client based on the hostPrefix trait of an operation.

extensions?

RuntimeExtension[]

(Optional) Optional extensions

logger?

__Logger

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

maxAttempts?

number | __Provider<number>

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

requestHandler?

__HttpHandlerUserInput

(Optional) The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.

retryMode?

string | __Provider<string>

(Optional) Specifies which retry algorithm to use.