- Navigation GuideYou are on a type information page within a Client package. Return to the Client landing page
@aws-sdk/client-workmail
ClientDefaults Interface
Members
Name | Type | Details |
---|---|---|
defaultsMode | DefaultsMode | Provider<DefaultsMode> | The @smithy/smithy-client#DefaultsMode that will be used to determine how certain default configuration options are resolved in the SDK. |
disableHostPrefix | boolean | Disable dynamically changing the endpoint of the client based on the hostPrefix trait of an operation. |
extensions | RuntimeExtension[] | Optional extensions |
logger | Logger | Optional logger for logging debug/info/warn/error. |
maxAttempts | number | Provider<number> | Value for how many times a request will be made at most in case of retry. |
profile | string | Setting 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. |
region | string | Provider<string> | The AWS region to which this client will send requests |
requestHandler | __HttpHandlerUserInput | The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. |
retryMode | string | Provider<string> | Specifies which retry algorithm to use. |
useDualstackEndpoint | boolean | Provider<boolean> | Enables IPv6/IPv4 dualstack endpoint. |
useFipsEndpoint | boolean | Provider<boolean> | Enables FIPS compatible endpoints. |
Full Signature
export interface ClientDefaults extends Partial<SmithyConfiguration<HttpHandlerOptions>