Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SSOClientConfig<T>

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

Type parameters

Hierarchy

Index

Properties

Optional customUserAgent

customUserAgent: string | UserAgent

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

Optional defaultsMode

defaultsMode: __DefaultsMode | __Provider<__DefaultsMode>

The {@link __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

The fully qualified endpoint of the webservice. This is only for using a custom endpoint (for example, when using a local version of S3). Endpoint transformations such as S3 applying a bucket to the hostname are still applicable to this custom endpoint.

Optional endpointProvider

endpointProvider: undefined | ((params: T, context?: undefined | { logger?: Logger }) => EndpointV2)

Providing a custom endpointProvider will override built-in transformations of the endpoint such as S3 adding the bucket name to the hostname, since they are part of the default endpointProvider.

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

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

Optional tls

tls: undefined | false | true

Whether TLS is enabled for requests.

deprecated

Optional useDualstackEndpoint

useDualstackEndpoint: boolean | __Provider<boolean>

Enables IPv6/IPv4 dualstack endpoint.

Optional useFipsEndpoint

useFipsEndpoint: boolean | __Provider<boolean>

Enables FIPS compatible endpoints.