diff --git a/src/transforms/v2-to-v3/__fixtures__/config/endpointCacheSize.input.js b/src/transforms/v2-to-v3/__fixtures__/config/endpointCacheSize.input.js new file mode 100644 index 000000000..82308ec35 --- /dev/null +++ b/src/transforms/v2-to-v3/__fixtures__/config/endpointCacheSize.input.js @@ -0,0 +1,5 @@ +import AWS from "aws-sdk"; + +const config = new AWS.Config({ + endpointCacheSize: 100 +}); \ No newline at end of file diff --git a/src/transforms/v2-to-v3/__fixtures__/config/endpointCacheSize.output.js b/src/transforms/v2-to-v3/__fixtures__/config/endpointCacheSize.output.js new file mode 100644 index 000000000..4c57f3057 --- /dev/null +++ b/src/transforms/v2-to-v3/__fixtures__/config/endpointCacheSize.output.js @@ -0,0 +1,3 @@ +const config = { + endpointCacheSize: 100 +}; \ No newline at end of file diff --git a/src/transforms/v2-to-v3/config/AWS_CONFIG_KEY_MAP.ts b/src/transforms/v2-to-v3/config/AWS_CONFIG_KEY_MAP.ts index cbffe4059..aabe993b9 100644 --- a/src/transforms/v2-to-v3/config/AWS_CONFIG_KEY_MAP.ts +++ b/src/transforms/v2-to-v3/config/AWS_CONFIG_KEY_MAP.ts @@ -19,6 +19,7 @@ export const AWS_CONFIG_KEY_MAP: Record = { deprecationMessage: "The clock skew correction is applied by default.", }, credentials: {}, + endpointCacheSize: {}, systemClockOffset: {}, region: {}, };