Optional cacheDefault false.
When true, the client will only resolve the middleware stack once per Command class. This means modifying the middlewareStack of the command or client after requests have been made will not be recognized.
Calling client.destroy() also clears this cache.
Enable this only if needing the additional time saved (0-1ms per request) and not needing middleware modifications between requests.
Optional defaultsThe @smithy/smithy-client#DefaultsMode that will be used to determine how certain default configuration options are resolved in the SDK.
Optional disableDisable dynamically changing the endpoint of the client based on the hostPrefix trait of an operation.
Optional extensionsOptional extensions
Optional loggerOptional logger for logging debug/info/warn/error.
Optional maxValue for how many times a request will be made at most in case of retry.
Optional profileSetting a client profile is similar to setting a value for the AWS_PROFILE environment variable. Setting a profile on a client in code only affects the single client instance, unlike AWS_PROFILE.
When set, and only for environments where an AWS configuration file exists, fields configurable by this file will be retrieved from the specified profile within that file. Conflicting code configuration and environment variables will still have higher priority.
For client credential resolution that involves checking the AWS configuration file, the client's profile (this value) will be used unless a different profile is set in the credential provider options.
Optional protocolA client request/response protocol or constructor of one. A protocol in this context is not e.g. https. It is the combined implementation of how to (de)serialize and create the messages (e.g. http requests/responses) that are being exchanged.
Optional regionThe AWS region to which this client will send requests
Optional requestThe HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
Optional retrySpecifies which retry algorithm to use.
Optional useEnables IPv6/IPv4 dualstack endpoint.
Optional useEnables FIPS compatible endpoints.
Make all properties in T optional