@aws-sdk/client-snowball 3.36.1 → 3.40.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
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.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-snowball
20
+
21
+
22
+
23
+
24
+
25
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
26
+
27
+
28
+ ### Features
29
+
30
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
31
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
32
+
33
+
34
+
35
+
36
+
37
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
38
+
39
+
40
+ ### Features
41
+
42
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
43
+
44
+
45
+
46
+
47
+
6
48
  ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
49
 
8
50
 
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CancelClusterCommand"), exports);
5
+ tslib_1.__exportStar(require("./CancelJobCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateAddressCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateClusterCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateJobCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateLongTermPricingCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateReturnShippingLabelCommand"), exports);
11
+ tslib_1.__exportStar(require("./DescribeAddressCommand"), exports);
12
+ tslib_1.__exportStar(require("./DescribeAddressesCommand"), exports);
13
+ tslib_1.__exportStar(require("./DescribeClusterCommand"), exports);
14
+ tslib_1.__exportStar(require("./DescribeJobCommand"), exports);
15
+ tslib_1.__exportStar(require("./DescribeReturnShippingLabelCommand"), exports);
16
+ tslib_1.__exportStar(require("./GetJobManifestCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetJobUnlockCodeCommand"), exports);
18
+ tslib_1.__exportStar(require("./GetSnowballUsageCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetSoftwareUpdatesCommand"), exports);
20
+ tslib_1.__exportStar(require("./ListClusterJobsCommand"), exports);
21
+ tslib_1.__exportStar(require("./ListClustersCommand"), exports);
22
+ tslib_1.__exportStar(require("./ListCompatibleImagesCommand"), exports);
23
+ tslib_1.__exportStar(require("./ListJobsCommand"), exports);
24
+ tslib_1.__exportStar(require("./ListLongTermPricingCommand"), exports);
25
+ tslib_1.__exportStar(require("./UpdateClusterCommand"), exports);
26
+ tslib_1.__exportStar(require("./UpdateJobCommand"), exports);
27
+ tslib_1.__exportStar(require("./UpdateJobShipmentStateCommand"), exports);
28
+ tslib_1.__exportStar(require("./UpdateLongTermPricingCommand"), exports);
@@ -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 = {
@@ -125,23 +285,89 @@ const partitionHash = {
125
285
  "us-west-1",
126
286
  "us-west-2",
127
287
  ],
128
- hostname: "snowball.{region}.amazonaws.com",
288
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
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
+ ],
129
307
  },
130
308
  "aws-cn": {
131
309
  regions: ["cn-north-1", "cn-northwest-1", "fips-cn-north-1", "fips-cn-northwest-1"],
132
- hostname: "snowball.{region}.amazonaws.com.cn",
310
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
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
+ ],
133
329
  },
134
330
  "aws-iso": {
135
- regions: ["us-iso-east-1"],
136
- hostname: "snowball.{region}.c2s.ic.gov",
331
+ regions: ["us-iso-east-1", "us-iso-west-1"],
332
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
333
+ variants: [
334
+ {
335
+ hostname: "snowball.{region}.c2s.ic.gov",
336
+ tags: [],
337
+ },
338
+ ],
137
339
  },
138
340
  "aws-iso-b": {
139
341
  regions: ["us-isob-east-1"],
140
- hostname: "snowball.{region}.sc2s.sgov.gov",
342
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
343
+ variants: [
344
+ {
345
+ hostname: "snowball.{region}.sc2s.sgov.gov",
346
+ tags: [],
347
+ },
348
+ ],
141
349
  },
142
350
  "aws-us-gov": {
143
351
  regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
144
- hostname: "snowball.{region}.amazonaws.com",
352
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
353
+ variants: [
354
+ {
355
+ hostname: "snowball.{region}.amazonaws.com",
356
+ tags: [],
357
+ },
358
+ {
359
+ hostname: "snowball-fips.{region}.amazonaws.com",
360
+ tags: ["fips"],
361
+ },
362
+ {
363
+ hostname: "snowball-fips.{region}.api.aws",
364
+ tags: ["dualstack", "fips"],
365
+ },
366
+ {
367
+ hostname: "snowball.{region}.api.aws",
368
+ tags: ["dualstack"],
369
+ },
370
+ ],
145
371
  },
146
372
  };
147
373
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
package/dist-cjs/index.js CHANGED
@@ -1,34 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./SnowballClient"), exports);
5
4
  tslib_1.__exportStar(require("./Snowball"), exports);
6
- tslib_1.__exportStar(require("./commands/CancelClusterCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CancelJobCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateAddressCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateClusterCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateJobCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateLongTermPricingCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreateReturnShippingLabelCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DescribeAddressCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/DescribeAddressesCommand"), exports);
15
- tslib_1.__exportStar(require("./pagination/DescribeAddressesPaginator"), exports);
16
- tslib_1.__exportStar(require("./commands/DescribeClusterCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DescribeJobCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DescribeReturnShippingLabelCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/GetJobManifestCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/GetJobUnlockCodeCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/GetSnowballUsageCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/GetSoftwareUpdatesCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/ListClusterJobsCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/ListClustersCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/ListCompatibleImagesCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/ListJobsCommand"), exports);
27
- tslib_1.__exportStar(require("./pagination/ListJobsPaginator"), exports);
28
- tslib_1.__exportStar(require("./commands/ListLongTermPricingCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/UpdateClusterCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/UpdateJobCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/UpdateJobShipmentStateCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/UpdateLongTermPricingCommand"), exports);
33
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
34
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./SnowballClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeAddressesPaginator"), exports);
5
+ tslib_1.__exportStar(require("./Interfaces"), exports);
6
+ tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
@@ -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;
@@ -0,0 +1,25 @@
1
+ export * from "./CancelClusterCommand";
2
+ export * from "./CancelJobCommand";
3
+ export * from "./CreateAddressCommand";
4
+ export * from "./CreateClusterCommand";
5
+ export * from "./CreateJobCommand";
6
+ export * from "./CreateLongTermPricingCommand";
7
+ export * from "./CreateReturnShippingLabelCommand";
8
+ export * from "./DescribeAddressCommand";
9
+ export * from "./DescribeAddressesCommand";
10
+ export * from "./DescribeClusterCommand";
11
+ export * from "./DescribeJobCommand";
12
+ export * from "./DescribeReturnShippingLabelCommand";
13
+ export * from "./GetJobManifestCommand";
14
+ export * from "./GetJobUnlockCodeCommand";
15
+ export * from "./GetSnowballUsageCommand";
16
+ export * from "./GetSoftwareUpdatesCommand";
17
+ export * from "./ListClusterJobsCommand";
18
+ export * from "./ListClustersCommand";
19
+ export * from "./ListCompatibleImagesCommand";
20
+ export * from "./ListJobsCommand";
21
+ export * from "./ListLongTermPricingCommand";
22
+ export * from "./UpdateClusterCommand";
23
+ export * from "./UpdateJobCommand";
24
+ export * from "./UpdateJobShipmentStateCommand";
25
+ export * from "./UpdateLongTermPricingCommand";