diff --git a/.changes/next-release/feature-Type-505e9b51.json b/.changes/next-release/feature-Type-505e9b51.json new file mode 100644 index 0000000000..d10c2eef6c --- /dev/null +++ b/.changes/next-release/feature-Type-505e9b51.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "Type", + "description": "export client config interface on root as ConfigurationOptions" +} \ No newline at end of file diff --git a/lib/config-base.d.ts b/lib/config-base.d.ts index 513cf775e3..d9b8d7d5b3 100644 --- a/lib/config-base.d.ts +++ b/lib/config-base.d.ts @@ -116,6 +116,9 @@ export interface RetryDelayOptions { customBackoff?: (retryCount: number, err?: Error) => number } +/** + * Common configuration entries to construct a service client. + */ export abstract class ConfigurationOptions { /** diff --git a/lib/core.d.ts b/lib/core.d.ts index 703e69e2c0..ebd738e84d 100644 --- a/lib/core.d.ts +++ b/lib/core.d.ts @@ -1,5 +1,5 @@ export {Config} from './config'; -export {HTTPOptions} from './config-base'; +export {HTTPOptions, ConfigurationOptions} from './config-base'; export {Credentials} from './credentials'; export {CognitoIdentityCredentials} from './credentials/cognito_identity_credentials'; export {CredentialProviderChain} from './credentials/credential_provider_chain';