diff --git a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/runtimeConfig.ts.template b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/runtimeConfig.ts.template index 30034a8b99b..33df51bc0e8 100644 --- a/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/runtimeConfig.ts.template +++ b/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/runtimeConfig.ts.template @@ -1,10 +1,12 @@ import { ${clientConfigName} } from "${clientModuleName}"; import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client"; /** * @internal */ export const getRuntimeConfig = (config: ${clientConfigName} = {}) => { + emitWarningIfUnsupportedVersion(process.version); const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues,