@aws-sdk/client-snowball 3.39.0 → 3.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist-cjs/endpoints.js +294 -65
  3. package/dist-cjs/runtimeConfig.browser.js +6 -3
  4. package/dist-cjs/runtimeConfig.js +5 -3
  5. package/dist-es/endpoints.js +294 -65
  6. package/dist-es/runtimeConfig.browser.js +3 -2
  7. package/dist-es/runtimeConfig.js +3 -3
  8. package/dist-types/SnowballClient.d.ts +8 -0
  9. package/dist-types/commands/CancelClusterCommand.d.ts +1 -1
  10. package/dist-types/commands/CancelJobCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateAddressCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateJobCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateLongTermPricingCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeAddressCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +1 -1
  21. package/dist-types/commands/GetJobManifestCommand.d.ts +1 -1
  22. package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +1 -1
  23. package/dist-types/commands/GetSnowballUsageCommand.d.ts +1 -1
  24. package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListClusterJobsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  27. package/dist-types/commands/ListCompatibleImagesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListJobsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListLongTermPricingCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateJobCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateJobShipmentStateCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateLongTermPricingCommand.d.ts +1 -1
  34. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  35. package/dist-types/runtimeConfig.d.ts +2 -0
  36. package/dist-types/runtimeConfig.native.d.ts +2 -0
  37. package/dist-types/ts3.4/SnowballClient.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  41. package/package.json +23 -23
package/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-snowball
9
+
10
+
11
+
12
+
13
+
14
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-snowball
17
+
18
+
19
+
20
+
21
+
22
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
28
+
29
+
30
+
31
+
32
+
33
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
34
+
35
+
36
+ ### Features
37
+
38
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
39
+
40
+
41
+
42
+
43
+
6
44
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
45
 
8
46
  **Note:** Version bump only for package @aws-sdk/client-snowball
@@ -3,85 +3,245 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
- "fips-ap-northeast-1": {
7
- hostname: "snowball-fips.ap-northeast-1.amazonaws.com",
8
- signingRegion: "ap-northeast-1",
6
+ "ap-northeast-1": {
7
+ variants: [
8
+ {
9
+ hostname: "snowball.ap-northeast-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ {
13
+ hostname: "snowball-fips.ap-northeast-1.amazonaws.com",
14
+ tags: ["fips"],
15
+ },
16
+ ],
9
17
  },
10
- "fips-ap-northeast-2": {
11
- hostname: "snowball-fips.ap-northeast-2.amazonaws.com",
12
- signingRegion: "ap-northeast-2",
18
+ "ap-northeast-2": {
19
+ variants: [
20
+ {
21
+ hostname: "snowball.ap-northeast-2.amazonaws.com",
22
+ tags: [],
23
+ },
24
+ {
25
+ hostname: "snowball-fips.ap-northeast-2.amazonaws.com",
26
+ tags: ["fips"],
27
+ },
28
+ ],
13
29
  },
14
- "fips-ap-northeast-3": {
15
- hostname: "snowball-fips.ap-northeast-3.amazonaws.com",
16
- signingRegion: "ap-northeast-3",
30
+ "ap-northeast-3": {
31
+ variants: [
32
+ {
33
+ hostname: "snowball.ap-northeast-3.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "snowball-fips.ap-northeast-3.amazonaws.com",
38
+ tags: ["fips"],
39
+ },
40
+ ],
17
41
  },
18
- "fips-ap-south-1": {
19
- hostname: "snowball-fips.ap-south-1.amazonaws.com",
20
- signingRegion: "ap-south-1",
42
+ "ap-south-1": {
43
+ variants: [
44
+ {
45
+ hostname: "snowball.ap-south-1.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ {
49
+ hostname: "snowball-fips.ap-south-1.amazonaws.com",
50
+ tags: ["fips"],
51
+ },
52
+ ],
21
53
  },
22
- "fips-ap-southeast-1": {
23
- hostname: "snowball-fips.ap-southeast-1.amazonaws.com",
24
- signingRegion: "ap-southeast-1",
54
+ "ap-southeast-1": {
55
+ variants: [
56
+ {
57
+ hostname: "snowball.ap-southeast-1.amazonaws.com",
58
+ tags: [],
59
+ },
60
+ {
61
+ hostname: "snowball-fips.ap-southeast-1.amazonaws.com",
62
+ tags: ["fips"],
63
+ },
64
+ ],
25
65
  },
26
- "fips-ap-southeast-2": {
27
- hostname: "snowball-fips.ap-southeast-2.amazonaws.com",
28
- signingRegion: "ap-southeast-2",
66
+ "ap-southeast-2": {
67
+ variants: [
68
+ {
69
+ hostname: "snowball.ap-southeast-2.amazonaws.com",
70
+ tags: [],
71
+ },
72
+ {
73
+ hostname: "snowball-fips.ap-southeast-2.amazonaws.com",
74
+ tags: ["fips"],
75
+ },
76
+ ],
29
77
  },
30
- "fips-ca-central-1": {
31
- hostname: "snowball-fips.ca-central-1.amazonaws.com",
32
- signingRegion: "ca-central-1",
78
+ "ca-central-1": {
79
+ variants: [
80
+ {
81
+ hostname: "snowball.ca-central-1.amazonaws.com",
82
+ tags: [],
83
+ },
84
+ {
85
+ hostname: "snowball-fips.ca-central-1.amazonaws.com",
86
+ tags: ["fips"],
87
+ },
88
+ ],
33
89
  },
34
- "fips-cn-north-1": {
35
- hostname: "snowball-fips.cn-north-1.amazonaws.com.cn",
36
- signingRegion: "cn-north-1",
90
+ "cn-north-1": {
91
+ variants: [
92
+ {
93
+ hostname: "snowball.cn-north-1.amazonaws.com.cn",
94
+ tags: [],
95
+ },
96
+ {
97
+ hostname: "snowball-fips.cn-north-1.amazonaws.com.cn",
98
+ tags: ["fips"],
99
+ },
100
+ ],
37
101
  },
38
- "fips-cn-northwest-1": {
39
- hostname: "snowball-fips.cn-northwest-1.amazonaws.com.cn",
40
- signingRegion: "cn-northwest-1",
102
+ "cn-northwest-1": {
103
+ variants: [
104
+ {
105
+ hostname: "snowball.cn-northwest-1.amazonaws.com.cn",
106
+ tags: [],
107
+ },
108
+ {
109
+ hostname: "snowball-fips.cn-northwest-1.amazonaws.com.cn",
110
+ tags: ["fips"],
111
+ },
112
+ ],
41
113
  },
42
- "fips-eu-central-1": {
43
- hostname: "snowball-fips.eu-central-1.amazonaws.com",
44
- signingRegion: "eu-central-1",
114
+ "eu-central-1": {
115
+ variants: [
116
+ {
117
+ hostname: "snowball.eu-central-1.amazonaws.com",
118
+ tags: [],
119
+ },
120
+ {
121
+ hostname: "snowball-fips.eu-central-1.amazonaws.com",
122
+ tags: ["fips"],
123
+ },
124
+ ],
45
125
  },
46
- "fips-eu-west-1": {
47
- hostname: "snowball-fips.eu-west-1.amazonaws.com",
48
- signingRegion: "eu-west-1",
126
+ "eu-west-1": {
127
+ variants: [
128
+ {
129
+ hostname: "snowball.eu-west-1.amazonaws.com",
130
+ tags: [],
131
+ },
132
+ {
133
+ hostname: "snowball-fips.eu-west-1.amazonaws.com",
134
+ tags: ["fips"],
135
+ },
136
+ ],
49
137
  },
50
- "fips-eu-west-2": {
51
- hostname: "snowball-fips.eu-west-2.amazonaws.com",
52
- signingRegion: "eu-west-2",
138
+ "eu-west-2": {
139
+ variants: [
140
+ {
141
+ hostname: "snowball.eu-west-2.amazonaws.com",
142
+ tags: [],
143
+ },
144
+ {
145
+ hostname: "snowball-fips.eu-west-2.amazonaws.com",
146
+ tags: ["fips"],
147
+ },
148
+ ],
53
149
  },
54
- "fips-eu-west-3": {
55
- hostname: "snowball-fips.eu-west-3.amazonaws.com",
56
- signingRegion: "eu-west-3",
150
+ "eu-west-3": {
151
+ variants: [
152
+ {
153
+ hostname: "snowball.eu-west-3.amazonaws.com",
154
+ tags: [],
155
+ },
156
+ {
157
+ hostname: "snowball-fips.eu-west-3.amazonaws.com",
158
+ tags: ["fips"],
159
+ },
160
+ ],
57
161
  },
58
- "fips-sa-east-1": {
59
- hostname: "snowball-fips.sa-east-1.amazonaws.com",
60
- signingRegion: "sa-east-1",
162
+ "sa-east-1": {
163
+ variants: [
164
+ {
165
+ hostname: "snowball.sa-east-1.amazonaws.com",
166
+ tags: [],
167
+ },
168
+ {
169
+ hostname: "snowball-fips.sa-east-1.amazonaws.com",
170
+ tags: ["fips"],
171
+ },
172
+ ],
61
173
  },
62
- "fips-us-east-1": {
63
- hostname: "snowball-fips.us-east-1.amazonaws.com",
64
- signingRegion: "us-east-1",
174
+ "us-east-1": {
175
+ variants: [
176
+ {
177
+ hostname: "snowball.us-east-1.amazonaws.com",
178
+ tags: [],
179
+ },
180
+ {
181
+ hostname: "snowball-fips.us-east-1.amazonaws.com",
182
+ tags: ["fips"],
183
+ },
184
+ ],
65
185
  },
66
- "fips-us-east-2": {
67
- hostname: "snowball-fips.us-east-2.amazonaws.com",
68
- signingRegion: "us-east-2",
186
+ "us-east-2": {
187
+ variants: [
188
+ {
189
+ hostname: "snowball.us-east-2.amazonaws.com",
190
+ tags: [],
191
+ },
192
+ {
193
+ hostname: "snowball-fips.us-east-2.amazonaws.com",
194
+ tags: ["fips"],
195
+ },
196
+ ],
69
197
  },
70
- "fips-us-gov-east-1": {
71
- hostname: "snowball-fips.us-gov-east-1.amazonaws.com",
72
- signingRegion: "us-gov-east-1",
198
+ "us-gov-east-1": {
199
+ variants: [
200
+ {
201
+ hostname: "snowball.us-gov-east-1.amazonaws.com",
202
+ tags: [],
203
+ },
204
+ {
205
+ hostname: "snowball-fips.us-gov-east-1.amazonaws.com",
206
+ tags: ["fips"],
207
+ },
208
+ ],
73
209
  },
74
- "fips-us-gov-west-1": {
75
- hostname: "snowball-fips.us-gov-west-1.amazonaws.com",
76
- signingRegion: "us-gov-west-1",
210
+ "us-gov-west-1": {
211
+ variants: [
212
+ {
213
+ hostname: "snowball.us-gov-west-1.amazonaws.com",
214
+ tags: [],
215
+ },
216
+ {
217
+ hostname: "snowball-fips.us-gov-west-1.amazonaws.com",
218
+ tags: ["fips"],
219
+ },
220
+ ],
77
221
  },
78
- "fips-us-west-1": {
79
- hostname: "snowball-fips.us-west-1.amazonaws.com",
80
- signingRegion: "us-west-1",
222
+ "us-west-1": {
223
+ variants: [
224
+ {
225
+ hostname: "snowball.us-west-1.amazonaws.com",
226
+ tags: [],
227
+ },
228
+ {
229
+ hostname: "snowball-fips.us-west-1.amazonaws.com",
230
+ tags: ["fips"],
231
+ },
232
+ ],
81
233
  },
82
- "fips-us-west-2": {
83
- hostname: "snowball-fips.us-west-2.amazonaws.com",
84
- signingRegion: "us-west-2",
234
+ "us-west-2": {
235
+ variants: [
236
+ {
237
+ hostname: "snowball.us-west-2.amazonaws.com",
238
+ tags: [],
239
+ },
240
+ {
241
+ hostname: "snowball-fips.us-west-2.amazonaws.com",
242
+ tags: ["fips"],
243
+ },
244
+ ],
85
245
  },
86
246
  };
87
247
  const partitionHash = {
@@ -126,27 +286,96 @@ const partitionHash = {
126
286
  "us-west-2",
127
287
  ],
128
288
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
129
- hostname: "snowball.{region}.amazonaws.com",
289
+ variants: [
290
+ {
291
+ hostname: "snowball.{region}.amazonaws.com",
292
+ tags: [],
293
+ },
294
+ {
295
+ hostname: "snowball-fips.{region}.amazonaws.com",
296
+ tags: ["fips"],
297
+ },
298
+ {
299
+ hostname: "snowball-fips.{region}.api.aws",
300
+ tags: ["dualstack", "fips"],
301
+ },
302
+ {
303
+ hostname: "snowball.{region}.api.aws",
304
+ tags: ["dualstack"],
305
+ },
306
+ ],
130
307
  },
131
308
  "aws-cn": {
132
309
  regions: ["cn-north-1", "cn-northwest-1", "fips-cn-north-1", "fips-cn-northwest-1"],
133
310
  regionRegex: "^cn\\-\\w+\\-\\d+$",
134
- hostname: "snowball.{region}.amazonaws.com.cn",
311
+ variants: [
312
+ {
313
+ hostname: "snowball.{region}.amazonaws.com.cn",
314
+ tags: [],
315
+ },
316
+ {
317
+ hostname: "snowball-fips.{region}.amazonaws.com.cn",
318
+ tags: ["fips"],
319
+ },
320
+ {
321
+ hostname: "snowball-fips.{region}.api.amazonwebservices.com.cn",
322
+ tags: ["dualstack", "fips"],
323
+ },
324
+ {
325
+ hostname: "snowball.{region}.api.amazonwebservices.com.cn",
326
+ tags: ["dualstack"],
327
+ },
328
+ ],
135
329
  },
136
330
  "aws-iso": {
137
331
  regions: ["us-iso-east-1", "us-iso-west-1"],
138
332
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
139
- hostname: "snowball.{region}.c2s.ic.gov",
333
+ variants: [
334
+ {
335
+ hostname: "snowball.{region}.c2s.ic.gov",
336
+ tags: [],
337
+ },
338
+ {
339
+ hostname: "snowball-fips.{region}.c2s.ic.gov",
340
+ tags: ["fips"],
341
+ },
342
+ ],
140
343
  },
141
344
  "aws-iso-b": {
142
345
  regions: ["us-isob-east-1"],
143
346
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
144
- hostname: "snowball.{region}.sc2s.sgov.gov",
347
+ variants: [
348
+ {
349
+ hostname: "snowball.{region}.sc2s.sgov.gov",
350
+ tags: [],
351
+ },
352
+ {
353
+ hostname: "snowball-fips.{region}.sc2s.sgov.gov",
354
+ tags: ["fips"],
355
+ },
356
+ ],
145
357
  },
146
358
  "aws-us-gov": {
147
359
  regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
148
360
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
149
- hostname: "snowball.{region}.amazonaws.com",
361
+ variants: [
362
+ {
363
+ hostname: "snowball.{region}.amazonaws.com",
364
+ tags: [],
365
+ },
366
+ {
367
+ hostname: "snowball-fips.{region}.amazonaws.com",
368
+ tags: ["fips"],
369
+ },
370
+ {
371
+ hostname: "snowball-fips.{region}.api.aws",
372
+ tags: ["dualstack", "fips"],
373
+ },
374
+ {
375
+ hostname: "snowball.{region}.api.aws",
376
+ tags: ["dualstack"],
377
+ },
378
+ ],
150
379
  },
151
380
  };
152
381
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;