@aws-sdk/client-kms 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-kms
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,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CancelKeyDeletionCommand"), exports);
5
+ tslib_1.__exportStar(require("./ConnectCustomKeyStoreCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateAliasCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateCustomKeyStoreCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateGrantCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateKeyCommand"), exports);
10
+ tslib_1.__exportStar(require("./DecryptCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteAliasCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteCustomKeyStoreCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteImportedKeyMaterialCommand"), exports);
14
+ tslib_1.__exportStar(require("./DescribeCustomKeyStoresCommand"), exports);
15
+ tslib_1.__exportStar(require("./DescribeKeyCommand"), exports);
16
+ tslib_1.__exportStar(require("./DisableKeyCommand"), exports);
17
+ tslib_1.__exportStar(require("./DisableKeyRotationCommand"), exports);
18
+ tslib_1.__exportStar(require("./DisconnectCustomKeyStoreCommand"), exports);
19
+ tslib_1.__exportStar(require("./EnableKeyCommand"), exports);
20
+ tslib_1.__exportStar(require("./EnableKeyRotationCommand"), exports);
21
+ tslib_1.__exportStar(require("./EncryptCommand"), exports);
22
+ tslib_1.__exportStar(require("./GenerateDataKeyCommand"), exports);
23
+ tslib_1.__exportStar(require("./GenerateDataKeyPairCommand"), exports);
24
+ tslib_1.__exportStar(require("./GenerateDataKeyPairWithoutPlaintextCommand"), exports);
25
+ tslib_1.__exportStar(require("./GenerateDataKeyWithoutPlaintextCommand"), exports);
26
+ tslib_1.__exportStar(require("./GenerateRandomCommand"), exports);
27
+ tslib_1.__exportStar(require("./GetKeyPolicyCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetKeyRotationStatusCommand"), exports);
29
+ tslib_1.__exportStar(require("./GetParametersForImportCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetPublicKeyCommand"), exports);
31
+ tslib_1.__exportStar(require("./ImportKeyMaterialCommand"), exports);
32
+ tslib_1.__exportStar(require("./ListAliasesCommand"), exports);
33
+ tslib_1.__exportStar(require("./ListGrantsCommand"), exports);
34
+ tslib_1.__exportStar(require("./ListKeyPoliciesCommand"), exports);
35
+ tslib_1.__exportStar(require("./ListKeysCommand"), exports);
36
+ tslib_1.__exportStar(require("./ListResourceTagsCommand"), exports);
37
+ tslib_1.__exportStar(require("./ListRetirableGrantsCommand"), exports);
38
+ tslib_1.__exportStar(require("./PutKeyPolicyCommand"), exports);
39
+ tslib_1.__exportStar(require("./ReEncryptCommand"), exports);
40
+ tslib_1.__exportStar(require("./ReplicateKeyCommand"), exports);
41
+ tslib_1.__exportStar(require("./RetireGrantCommand"), exports);
42
+ tslib_1.__exportStar(require("./RevokeGrantCommand"), exports);
43
+ tslib_1.__exportStar(require("./ScheduleKeyDeletionCommand"), exports);
44
+ tslib_1.__exportStar(require("./SignCommand"), exports);
45
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
46
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
47
+ tslib_1.__exportStar(require("./UpdateAliasCommand"), exports);
48
+ tslib_1.__exportStar(require("./UpdateCustomKeyStoreCommand"), exports);
49
+ tslib_1.__exportStar(require("./UpdateKeyDescriptionCommand"), exports);
50
+ tslib_1.__exportStar(require("./UpdatePrimaryRegionCommand"), exports);
51
+ tslib_1.__exportStar(require("./VerifyCommand"), exports);
@@ -3,53 +3,448 @@ 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
- ProdFips: {
7
- hostname: "kms-fips.us-gov-west-1.amazonaws.com",
8
- signingRegion: "us-gov-west-1",
6
+ "af-south-1": {
7
+ variants: [
8
+ {
9
+ hostname: "kms.af-south-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ {
13
+ hostname: "kms-fips.af-south-1.amazonaws.com",
14
+ tags: ["fips"],
15
+ },
16
+ ],
17
+ },
18
+ "ap-east-1": {
19
+ variants: [
20
+ {
21
+ hostname: "kms.ap-east-1.amazonaws.com",
22
+ tags: [],
23
+ },
24
+ {
25
+ hostname: "kms-fips.ap-east-1.amazonaws.com",
26
+ tags: ["fips"],
27
+ },
28
+ ],
29
+ },
30
+ "ap-northeast-1": {
31
+ variants: [
32
+ {
33
+ hostname: "kms.ap-northeast-1.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "kms-fips.ap-northeast-1.amazonaws.com",
38
+ tags: ["fips"],
39
+ },
40
+ ],
41
+ },
42
+ "ap-northeast-2": {
43
+ variants: [
44
+ {
45
+ hostname: "kms.ap-northeast-2.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ {
49
+ hostname: "kms-fips.ap-northeast-2.amazonaws.com",
50
+ tags: ["fips"],
51
+ },
52
+ ],
53
+ },
54
+ "ap-northeast-3": {
55
+ variants: [
56
+ {
57
+ hostname: "kms.ap-northeast-3.amazonaws.com",
58
+ tags: [],
59
+ },
60
+ {
61
+ hostname: "kms-fips.ap-northeast-3.amazonaws.com",
62
+ tags: ["fips"],
63
+ },
64
+ ],
65
+ },
66
+ "ap-south-1": {
67
+ variants: [
68
+ {
69
+ hostname: "kms.ap-south-1.amazonaws.com",
70
+ tags: [],
71
+ },
72
+ {
73
+ hostname: "kms-fips.ap-south-1.amazonaws.com",
74
+ tags: ["fips"],
75
+ },
76
+ ],
77
+ },
78
+ "ap-southeast-1": {
79
+ variants: [
80
+ {
81
+ hostname: "kms.ap-southeast-1.amazonaws.com",
82
+ tags: [],
83
+ },
84
+ {
85
+ hostname: "kms-fips.ap-southeast-1.amazonaws.com",
86
+ tags: ["fips"],
87
+ },
88
+ ],
89
+ },
90
+ "ap-southeast-2": {
91
+ variants: [
92
+ {
93
+ hostname: "kms.ap-southeast-2.amazonaws.com",
94
+ tags: [],
95
+ },
96
+ {
97
+ hostname: "kms-fips.ap-southeast-2.amazonaws.com",
98
+ tags: ["fips"],
99
+ },
100
+ ],
101
+ },
102
+ "ca-central-1": {
103
+ variants: [
104
+ {
105
+ hostname: "kms.ca-central-1.amazonaws.com",
106
+ tags: [],
107
+ },
108
+ {
109
+ hostname: "kms-fips.ca-central-1.amazonaws.com",
110
+ tags: ["fips"],
111
+ },
112
+ ],
113
+ },
114
+ "eu-central-1": {
115
+ variants: [
116
+ {
117
+ hostname: "kms.eu-central-1.amazonaws.com",
118
+ tags: [],
119
+ },
120
+ {
121
+ hostname: "kms-fips.eu-central-1.amazonaws.com",
122
+ tags: ["fips"],
123
+ },
124
+ ],
125
+ },
126
+ "eu-north-1": {
127
+ variants: [
128
+ {
129
+ hostname: "kms.eu-north-1.amazonaws.com",
130
+ tags: [],
131
+ },
132
+ {
133
+ hostname: "kms-fips.eu-north-1.amazonaws.com",
134
+ tags: ["fips"],
135
+ },
136
+ ],
137
+ },
138
+ "eu-south-1": {
139
+ variants: [
140
+ {
141
+ hostname: "kms.eu-south-1.amazonaws.com",
142
+ tags: [],
143
+ },
144
+ {
145
+ hostname: "kms-fips.eu-south-1.amazonaws.com",
146
+ tags: ["fips"],
147
+ },
148
+ ],
149
+ },
150
+ "eu-west-1": {
151
+ variants: [
152
+ {
153
+ hostname: "kms.eu-west-1.amazonaws.com",
154
+ tags: [],
155
+ },
156
+ {
157
+ hostname: "kms-fips.eu-west-1.amazonaws.com",
158
+ tags: ["fips"],
159
+ },
160
+ ],
161
+ },
162
+ "eu-west-2": {
163
+ variants: [
164
+ {
165
+ hostname: "kms.eu-west-2.amazonaws.com",
166
+ tags: [],
167
+ },
168
+ {
169
+ hostname: "kms-fips.eu-west-2.amazonaws.com",
170
+ tags: ["fips"],
171
+ },
172
+ ],
173
+ },
174
+ "eu-west-3": {
175
+ variants: [
176
+ {
177
+ hostname: "kms.eu-west-3.amazonaws.com",
178
+ tags: [],
179
+ },
180
+ {
181
+ hostname: "kms-fips.eu-west-3.amazonaws.com",
182
+ tags: ["fips"],
183
+ },
184
+ ],
185
+ },
186
+ "me-south-1": {
187
+ variants: [
188
+ {
189
+ hostname: "kms.me-south-1.amazonaws.com",
190
+ tags: [],
191
+ },
192
+ {
193
+ hostname: "kms-fips.me-south-1.amazonaws.com",
194
+ tags: ["fips"],
195
+ },
196
+ ],
197
+ },
198
+ "sa-east-1": {
199
+ variants: [
200
+ {
201
+ hostname: "kms.sa-east-1.amazonaws.com",
202
+ tags: [],
203
+ },
204
+ {
205
+ hostname: "kms-fips.sa-east-1.amazonaws.com",
206
+ tags: ["fips"],
207
+ },
208
+ ],
209
+ },
210
+ "us-east-1": {
211
+ variants: [
212
+ {
213
+ hostname: "kms.us-east-1.amazonaws.com",
214
+ tags: [],
215
+ },
216
+ {
217
+ hostname: "kms-fips.us-east-1.amazonaws.com",
218
+ tags: ["fips"],
219
+ },
220
+ ],
221
+ },
222
+ "us-east-2": {
223
+ variants: [
224
+ {
225
+ hostname: "kms.us-east-2.amazonaws.com",
226
+ tags: [],
227
+ },
228
+ {
229
+ hostname: "kms-fips.us-east-2.amazonaws.com",
230
+ tags: ["fips"],
231
+ },
232
+ ],
233
+ },
234
+ "us-gov-east-1": {
235
+ variants: [
236
+ {
237
+ hostname: "kms.us-gov-east-1.amazonaws.com",
238
+ tags: [],
239
+ },
240
+ {
241
+ hostname: "kms-fips.us-gov-east-1.amazonaws.com",
242
+ tags: ["fips"],
243
+ },
244
+ ],
245
+ },
246
+ "us-gov-west-1": {
247
+ variants: [
248
+ {
249
+ hostname: "kms.us-gov-west-1.amazonaws.com",
250
+ tags: [],
251
+ },
252
+ {
253
+ hostname: "kms-fips.us-gov-west-1.amazonaws.com",
254
+ tags: ["fips"],
255
+ },
256
+ ],
257
+ },
258
+ "us-iso-east-1": {
259
+ variants: [
260
+ {
261
+ hostname: "kms.us-iso-east-1.c2s.ic.gov",
262
+ tags: [],
263
+ },
264
+ {
265
+ hostname: "kms-fips.us-iso-east-1.c2s.ic.gov",
266
+ tags: ["fips"],
267
+ },
268
+ ],
269
+ },
270
+ "us-iso-west-1": {
271
+ variants: [
272
+ {
273
+ hostname: "kms.us-iso-west-1.c2s.ic.gov",
274
+ tags: [],
275
+ },
276
+ {
277
+ hostname: "kms-fips.us-iso-west-1.c2s.ic.gov",
278
+ tags: ["fips"],
279
+ },
280
+ ],
281
+ },
282
+ "us-isob-east-1": {
283
+ variants: [
284
+ {
285
+ hostname: "kms.us-isob-east-1.sc2s.sgov.gov",
286
+ tags: [],
287
+ },
288
+ {
289
+ hostname: "kms-fips.us-isob-east-1.sc2s.sgov.gov",
290
+ tags: ["fips"],
291
+ },
292
+ ],
293
+ },
294
+ "us-west-1": {
295
+ variants: [
296
+ {
297
+ hostname: "kms.us-west-1.amazonaws.com",
298
+ tags: [],
299
+ },
300
+ {
301
+ hostname: "kms-fips.us-west-1.amazonaws.com",
302
+ tags: ["fips"],
303
+ },
304
+ ],
305
+ },
306
+ "us-west-2": {
307
+ variants: [
308
+ {
309
+ hostname: "kms.us-west-2.amazonaws.com",
310
+ tags: [],
311
+ },
312
+ {
313
+ hostname: "kms-fips.us-west-2.amazonaws.com",
314
+ tags: ["fips"],
315
+ },
316
+ ],
9
317
  },
10
318
  };
11
319
  const partitionHash = {
12
320
  aws: {
13
321
  regions: [
14
322
  "af-south-1",
323
+ "af-south-1-fips",
15
324
  "ap-east-1",
325
+ "ap-east-1-fips",
16
326
  "ap-northeast-1",
327
+ "ap-northeast-1-fips",
17
328
  "ap-northeast-2",
329
+ "ap-northeast-2-fips",
18
330
  "ap-northeast-3",
331
+ "ap-northeast-3-fips",
19
332
  "ap-south-1",
333
+ "ap-south-1-fips",
20
334
  "ap-southeast-1",
335
+ "ap-southeast-1-fips",
21
336
  "ap-southeast-2",
337
+ "ap-southeast-2-fips",
22
338
  "ca-central-1",
339
+ "ca-central-1-fips",
23
340
  "eu-central-1",
341
+ "eu-central-1-fips",
24
342
  "eu-north-1",
343
+ "eu-north-1-fips",
25
344
  "eu-south-1",
345
+ "eu-south-1-fips",
26
346
  "eu-west-1",
347
+ "eu-west-1-fips",
27
348
  "eu-west-2",
349
+ "eu-west-2-fips",
28
350
  "eu-west-3",
351
+ "eu-west-3-fips",
29
352
  "me-south-1",
353
+ "me-south-1-fips",
30
354
  "sa-east-1",
355
+ "sa-east-1-fips",
31
356
  "us-east-1",
357
+ "us-east-1-fips",
32
358
  "us-east-2",
359
+ "us-east-2-fips",
33
360
  "us-west-1",
361
+ "us-west-1-fips",
34
362
  "us-west-2",
363
+ "us-west-2-fips",
364
+ ],
365
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
366
+ variants: [
367
+ {
368
+ hostname: "kms.{region}.amazonaws.com",
369
+ tags: [],
370
+ },
371
+ {
372
+ hostname: "kms-fips.{region}.amazonaws.com",
373
+ tags: ["fips"],
374
+ },
375
+ {
376
+ hostname: "kms-fips.{region}.api.aws",
377
+ tags: ["dualstack", "fips"],
378
+ },
379
+ {
380
+ hostname: "kms.{region}.api.aws",
381
+ tags: ["dualstack"],
382
+ },
35
383
  ],
36
- hostname: "kms.{region}.amazonaws.com",
37
384
  },
38
385
  "aws-cn": {
39
386
  regions: ["cn-north-1", "cn-northwest-1"],
40
- hostname: "kms.{region}.amazonaws.com.cn",
387
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
388
+ variants: [
389
+ {
390
+ hostname: "kms.{region}.amazonaws.com.cn",
391
+ tags: [],
392
+ },
393
+ {
394
+ hostname: "kms-fips.{region}.amazonaws.com.cn",
395
+ tags: ["fips"],
396
+ },
397
+ {
398
+ hostname: "kms-fips.{region}.api.amazonwebservices.com.cn",
399
+ tags: ["dualstack", "fips"],
400
+ },
401
+ {
402
+ hostname: "kms.{region}.api.amazonwebservices.com.cn",
403
+ tags: ["dualstack"],
404
+ },
405
+ ],
41
406
  },
42
407
  "aws-iso": {
43
- regions: ["ProdFips", "us-iso-east-1"],
44
- hostname: "kms.{region}.c2s.ic.gov",
408
+ regions: ["ProdFips", "us-iso-east-1", "us-iso-east-1-fips", "us-iso-west-1", "us-iso-west-1-fips"],
409
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
410
+ variants: [
411
+ {
412
+ hostname: "kms.{region}.c2s.ic.gov",
413
+ tags: [],
414
+ },
415
+ ],
45
416
  },
46
417
  "aws-iso-b": {
47
- regions: ["ProdFips", "us-isob-east-1"],
48
- hostname: "kms.{region}.sc2s.sgov.gov",
418
+ regions: ["ProdFips", "us-isob-east-1", "us-isob-east-1-fips"],
419
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
420
+ variants: [
421
+ {
422
+ hostname: "kms.{region}.sc2s.sgov.gov",
423
+ tags: [],
424
+ },
425
+ ],
49
426
  },
50
427
  "aws-us-gov": {
51
- regions: ["ProdFips", "us-gov-east-1", "us-gov-west-1"],
52
- hostname: "kms.{region}.amazonaws.com",
428
+ regions: ["ProdFips", "us-gov-east-1", "us-gov-east-1-fips", "us-gov-west-1", "us-gov-west-1-fips"],
429
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
430
+ variants: [
431
+ {
432
+ hostname: "kms.{region}.amazonaws.com",
433
+ tags: [],
434
+ },
435
+ {
436
+ hostname: "kms-fips.{region}.amazonaws.com",
437
+ tags: ["fips"],
438
+ },
439
+ {
440
+ hostname: "kms-fips.{region}.api.aws",
441
+ tags: ["dualstack", "fips"],
442
+ },
443
+ {
444
+ hostname: "kms.{region}.api.aws",
445
+ tags: ["dualstack"],
446
+ },
447
+ ],
53
448
  },
54
449
  };
55
450
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
package/dist-cjs/index.js CHANGED
@@ -1,59 +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("./KMSClient"), exports);
5
4
  tslib_1.__exportStar(require("./KMS"), exports);
6
- tslib_1.__exportStar(require("./commands/CancelKeyDeletionCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/ConnectCustomKeyStoreCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateAliasCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateCustomKeyStoreCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateGrantCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateKeyCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/DecryptCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DeleteAliasCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/DeleteCustomKeyStoreCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DeleteImportedKeyMaterialCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DescribeCustomKeyStoresCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DescribeKeyCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DisableKeyCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DisableKeyRotationCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DisconnectCustomKeyStoreCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/EnableKeyCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/EnableKeyRotationCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/EncryptCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/GenerateDataKeyCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/GenerateDataKeyPairCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/GenerateDataKeyPairWithoutPlaintextCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/GenerateDataKeyWithoutPlaintextCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/GenerateRandomCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/GetKeyPolicyCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/GetKeyRotationStatusCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/GetParametersForImportCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/GetPublicKeyCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/ImportKeyMaterialCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/ListAliasesCommand"), exports);
35
- tslib_1.__exportStar(require("./pagination/ListAliasesPaginator"), exports);
36
- tslib_1.__exportStar(require("./commands/ListGrantsCommand"), exports);
37
- tslib_1.__exportStar(require("./pagination/ListGrantsPaginator"), exports);
38
- tslib_1.__exportStar(require("./commands/ListKeyPoliciesCommand"), exports);
39
- tslib_1.__exportStar(require("./pagination/ListKeyPoliciesPaginator"), exports);
40
- tslib_1.__exportStar(require("./commands/ListKeysCommand"), exports);
41
- tslib_1.__exportStar(require("./pagination/ListKeysPaginator"), exports);
42
- tslib_1.__exportStar(require("./commands/ListResourceTagsCommand"), exports);
43
- tslib_1.__exportStar(require("./commands/ListRetirableGrantsCommand"), exports);
44
- tslib_1.__exportStar(require("./commands/PutKeyPolicyCommand"), exports);
45
- tslib_1.__exportStar(require("./commands/ReEncryptCommand"), exports);
46
- tslib_1.__exportStar(require("./commands/ReplicateKeyCommand"), exports);
47
- tslib_1.__exportStar(require("./commands/RetireGrantCommand"), exports);
48
- tslib_1.__exportStar(require("./commands/RevokeGrantCommand"), exports);
49
- tslib_1.__exportStar(require("./commands/ScheduleKeyDeletionCommand"), exports);
50
- tslib_1.__exportStar(require("./commands/SignCommand"), exports);
51
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
52
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
53
- tslib_1.__exportStar(require("./commands/UpdateAliasCommand"), exports);
54
- tslib_1.__exportStar(require("./commands/UpdateCustomKeyStoreCommand"), exports);
55
- tslib_1.__exportStar(require("./commands/UpdateKeyDescriptionCommand"), exports);
56
- tslib_1.__exportStar(require("./commands/UpdatePrimaryRegionCommand"), exports);
57
- tslib_1.__exportStar(require("./commands/VerifyCommand"), exports);
58
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
59
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./KMSClient"), 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,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListAliasesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListGrantsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListKeyPoliciesPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListKeysPaginator"), 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;