@aws-sdk/client-kms 3.957.0 → 3.958.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/README.md +1 -59
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +683 -840
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/pagination/index.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +683 -840
- package/dist-types/pagination/index.d.ts +1 -1
- package/dist-types/ts3.4/pagination/index.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
AWS SDK for JavaScript KMS Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<fullname>Key Management Service</fullname>
|
|
10
|
-
|
|
11
10
|
<p>Key Management Service (KMS) is an encryption and key management web service. This guide describes
|
|
12
11
|
the KMS operations that you can call programmatically. For general information about KMS,
|
|
13
12
|
see the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/">
|
|
@@ -107,10 +106,8 @@ keys and assigning policies, by using the console.</p>
|
|
|
107
106
|
</ul>
|
|
108
107
|
|
|
109
108
|
## Installing
|
|
110
|
-
|
|
111
109
|
To install this package, simply type add or install @aws-sdk/client-kms
|
|
112
110
|
using your favorite package manager:
|
|
113
|
-
|
|
114
111
|
- `npm install @aws-sdk/client-kms`
|
|
115
112
|
- `yarn add @aws-sdk/client-kms`
|
|
116
113
|
- `pnpm add @aws-sdk/client-kms`
|
|
@@ -146,9 +143,7 @@ To send a request, you:
|
|
|
146
143
|
// a client can be shared by different commands.
|
|
147
144
|
const client = new KMSClient({ region: "REGION" });
|
|
148
145
|
|
|
149
|
-
const params = {
|
|
150
|
-
/** input parameters */
|
|
151
|
-
};
|
|
146
|
+
const params = { /** input parameters */ };
|
|
152
147
|
const command = new ListAliasesCommand(params);
|
|
153
148
|
```
|
|
154
149
|
|
|
@@ -307,7 +302,6 @@ CancelKeyDeletion
|
|
|
307
302
|
</summary>
|
|
308
303
|
|
|
309
304
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/CancelKeyDeletionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CancelKeyDeletionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CancelKeyDeletionCommandOutput/)
|
|
310
|
-
|
|
311
305
|
</details>
|
|
312
306
|
<details>
|
|
313
307
|
<summary>
|
|
@@ -315,7 +309,6 @@ ConnectCustomKeyStore
|
|
|
315
309
|
</summary>
|
|
316
310
|
|
|
317
311
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ConnectCustomKeyStoreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ConnectCustomKeyStoreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ConnectCustomKeyStoreCommandOutput/)
|
|
318
|
-
|
|
319
312
|
</details>
|
|
320
313
|
<details>
|
|
321
314
|
<summary>
|
|
@@ -323,7 +316,6 @@ CreateAlias
|
|
|
323
316
|
</summary>
|
|
324
317
|
|
|
325
318
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/CreateAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CreateAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CreateAliasCommandOutput/)
|
|
326
|
-
|
|
327
319
|
</details>
|
|
328
320
|
<details>
|
|
329
321
|
<summary>
|
|
@@ -331,7 +323,6 @@ CreateCustomKeyStore
|
|
|
331
323
|
</summary>
|
|
332
324
|
|
|
333
325
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/CreateCustomKeyStoreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CreateCustomKeyStoreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CreateCustomKeyStoreCommandOutput/)
|
|
334
|
-
|
|
335
326
|
</details>
|
|
336
327
|
<details>
|
|
337
328
|
<summary>
|
|
@@ -339,7 +330,6 @@ CreateGrant
|
|
|
339
330
|
</summary>
|
|
340
331
|
|
|
341
332
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/CreateGrantCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CreateGrantCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CreateGrantCommandOutput/)
|
|
342
|
-
|
|
343
333
|
</details>
|
|
344
334
|
<details>
|
|
345
335
|
<summary>
|
|
@@ -347,7 +337,6 @@ CreateKey
|
|
|
347
337
|
</summary>
|
|
348
338
|
|
|
349
339
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/CreateKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CreateKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/CreateKeyCommandOutput/)
|
|
350
|
-
|
|
351
340
|
</details>
|
|
352
341
|
<details>
|
|
353
342
|
<summary>
|
|
@@ -355,7 +344,6 @@ Decrypt
|
|
|
355
344
|
</summary>
|
|
356
345
|
|
|
357
346
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DecryptCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DecryptCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DecryptCommandOutput/)
|
|
358
|
-
|
|
359
347
|
</details>
|
|
360
348
|
<details>
|
|
361
349
|
<summary>
|
|
@@ -363,7 +351,6 @@ DeleteAlias
|
|
|
363
351
|
</summary>
|
|
364
352
|
|
|
365
353
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DeleteAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DeleteAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DeleteAliasCommandOutput/)
|
|
366
|
-
|
|
367
354
|
</details>
|
|
368
355
|
<details>
|
|
369
356
|
<summary>
|
|
@@ -371,7 +358,6 @@ DeleteCustomKeyStore
|
|
|
371
358
|
</summary>
|
|
372
359
|
|
|
373
360
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DeleteCustomKeyStoreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DeleteCustomKeyStoreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DeleteCustomKeyStoreCommandOutput/)
|
|
374
|
-
|
|
375
361
|
</details>
|
|
376
362
|
<details>
|
|
377
363
|
<summary>
|
|
@@ -379,7 +365,6 @@ DeleteImportedKeyMaterial
|
|
|
379
365
|
</summary>
|
|
380
366
|
|
|
381
367
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DeleteImportedKeyMaterialCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DeleteImportedKeyMaterialCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DeleteImportedKeyMaterialCommandOutput/)
|
|
382
|
-
|
|
383
368
|
</details>
|
|
384
369
|
<details>
|
|
385
370
|
<summary>
|
|
@@ -387,7 +372,6 @@ DeriveSharedSecret
|
|
|
387
372
|
</summary>
|
|
388
373
|
|
|
389
374
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DeriveSharedSecretCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DeriveSharedSecretCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DeriveSharedSecretCommandOutput/)
|
|
390
|
-
|
|
391
375
|
</details>
|
|
392
376
|
<details>
|
|
393
377
|
<summary>
|
|
@@ -395,7 +379,6 @@ DescribeCustomKeyStores
|
|
|
395
379
|
</summary>
|
|
396
380
|
|
|
397
381
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DescribeCustomKeyStoresCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DescribeCustomKeyStoresCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DescribeCustomKeyStoresCommandOutput/)
|
|
398
|
-
|
|
399
382
|
</details>
|
|
400
383
|
<details>
|
|
401
384
|
<summary>
|
|
@@ -403,7 +386,6 @@ DescribeKey
|
|
|
403
386
|
</summary>
|
|
404
387
|
|
|
405
388
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DescribeKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DescribeKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DescribeKeyCommandOutput/)
|
|
406
|
-
|
|
407
389
|
</details>
|
|
408
390
|
<details>
|
|
409
391
|
<summary>
|
|
@@ -411,7 +393,6 @@ DisableKey
|
|
|
411
393
|
</summary>
|
|
412
394
|
|
|
413
395
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DisableKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DisableKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DisableKeyCommandOutput/)
|
|
414
|
-
|
|
415
396
|
</details>
|
|
416
397
|
<details>
|
|
417
398
|
<summary>
|
|
@@ -419,7 +400,6 @@ DisableKeyRotation
|
|
|
419
400
|
</summary>
|
|
420
401
|
|
|
421
402
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DisableKeyRotationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DisableKeyRotationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DisableKeyRotationCommandOutput/)
|
|
422
|
-
|
|
423
403
|
</details>
|
|
424
404
|
<details>
|
|
425
405
|
<summary>
|
|
@@ -427,7 +407,6 @@ DisconnectCustomKeyStore
|
|
|
427
407
|
</summary>
|
|
428
408
|
|
|
429
409
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/DisconnectCustomKeyStoreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DisconnectCustomKeyStoreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/DisconnectCustomKeyStoreCommandOutput/)
|
|
430
|
-
|
|
431
410
|
</details>
|
|
432
411
|
<details>
|
|
433
412
|
<summary>
|
|
@@ -435,7 +414,6 @@ EnableKey
|
|
|
435
414
|
</summary>
|
|
436
415
|
|
|
437
416
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/EnableKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/EnableKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/EnableKeyCommandOutput/)
|
|
438
|
-
|
|
439
417
|
</details>
|
|
440
418
|
<details>
|
|
441
419
|
<summary>
|
|
@@ -443,7 +421,6 @@ EnableKeyRotation
|
|
|
443
421
|
</summary>
|
|
444
422
|
|
|
445
423
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/EnableKeyRotationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/EnableKeyRotationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/EnableKeyRotationCommandOutput/)
|
|
446
|
-
|
|
447
424
|
</details>
|
|
448
425
|
<details>
|
|
449
426
|
<summary>
|
|
@@ -451,7 +428,6 @@ Encrypt
|
|
|
451
428
|
</summary>
|
|
452
429
|
|
|
453
430
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/EncryptCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/EncryptCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/EncryptCommandOutput/)
|
|
454
|
-
|
|
455
431
|
</details>
|
|
456
432
|
<details>
|
|
457
433
|
<summary>
|
|
@@ -459,7 +435,6 @@ GenerateDataKey
|
|
|
459
435
|
</summary>
|
|
460
436
|
|
|
461
437
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GenerateDataKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateDataKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateDataKeyCommandOutput/)
|
|
462
|
-
|
|
463
438
|
</details>
|
|
464
439
|
<details>
|
|
465
440
|
<summary>
|
|
@@ -467,7 +442,6 @@ GenerateDataKeyPair
|
|
|
467
442
|
</summary>
|
|
468
443
|
|
|
469
444
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GenerateDataKeyPairCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateDataKeyPairCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateDataKeyPairCommandOutput/)
|
|
470
|
-
|
|
471
445
|
</details>
|
|
472
446
|
<details>
|
|
473
447
|
<summary>
|
|
@@ -475,7 +449,6 @@ GenerateDataKeyPairWithoutPlaintext
|
|
|
475
449
|
</summary>
|
|
476
450
|
|
|
477
451
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GenerateDataKeyPairWithoutPlaintextCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateDataKeyPairWithoutPlaintextCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateDataKeyPairWithoutPlaintextCommandOutput/)
|
|
478
|
-
|
|
479
452
|
</details>
|
|
480
453
|
<details>
|
|
481
454
|
<summary>
|
|
@@ -483,7 +456,6 @@ GenerateDataKeyWithoutPlaintext
|
|
|
483
456
|
</summary>
|
|
484
457
|
|
|
485
458
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GenerateDataKeyWithoutPlaintextCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateDataKeyWithoutPlaintextCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateDataKeyWithoutPlaintextCommandOutput/)
|
|
486
|
-
|
|
487
459
|
</details>
|
|
488
460
|
<details>
|
|
489
461
|
<summary>
|
|
@@ -491,7 +463,6 @@ GenerateMac
|
|
|
491
463
|
</summary>
|
|
492
464
|
|
|
493
465
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GenerateMacCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateMacCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateMacCommandOutput/)
|
|
494
|
-
|
|
495
466
|
</details>
|
|
496
467
|
<details>
|
|
497
468
|
<summary>
|
|
@@ -499,7 +470,6 @@ GenerateRandom
|
|
|
499
470
|
</summary>
|
|
500
471
|
|
|
501
472
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GenerateRandomCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateRandomCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GenerateRandomCommandOutput/)
|
|
502
|
-
|
|
503
473
|
</details>
|
|
504
474
|
<details>
|
|
505
475
|
<summary>
|
|
@@ -507,7 +477,6 @@ GetKeyPolicy
|
|
|
507
477
|
</summary>
|
|
508
478
|
|
|
509
479
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GetKeyPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GetKeyPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GetKeyPolicyCommandOutput/)
|
|
510
|
-
|
|
511
480
|
</details>
|
|
512
481
|
<details>
|
|
513
482
|
<summary>
|
|
@@ -515,7 +484,6 @@ GetKeyRotationStatus
|
|
|
515
484
|
</summary>
|
|
516
485
|
|
|
517
486
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GetKeyRotationStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GetKeyRotationStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GetKeyRotationStatusCommandOutput/)
|
|
518
|
-
|
|
519
487
|
</details>
|
|
520
488
|
<details>
|
|
521
489
|
<summary>
|
|
@@ -523,7 +491,6 @@ GetParametersForImport
|
|
|
523
491
|
</summary>
|
|
524
492
|
|
|
525
493
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GetParametersForImportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GetParametersForImportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GetParametersForImportCommandOutput/)
|
|
526
|
-
|
|
527
494
|
</details>
|
|
528
495
|
<details>
|
|
529
496
|
<summary>
|
|
@@ -531,7 +498,6 @@ GetPublicKey
|
|
|
531
498
|
</summary>
|
|
532
499
|
|
|
533
500
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/GetPublicKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GetPublicKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/GetPublicKeyCommandOutput/)
|
|
534
|
-
|
|
535
501
|
</details>
|
|
536
502
|
<details>
|
|
537
503
|
<summary>
|
|
@@ -539,7 +505,6 @@ ImportKeyMaterial
|
|
|
539
505
|
</summary>
|
|
540
506
|
|
|
541
507
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ImportKeyMaterialCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ImportKeyMaterialCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ImportKeyMaterialCommandOutput/)
|
|
542
|
-
|
|
543
508
|
</details>
|
|
544
509
|
<details>
|
|
545
510
|
<summary>
|
|
@@ -547,7 +512,6 @@ ListAliases
|
|
|
547
512
|
</summary>
|
|
548
513
|
|
|
549
514
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ListAliasesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListAliasesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListAliasesCommandOutput/)
|
|
550
|
-
|
|
551
515
|
</details>
|
|
552
516
|
<details>
|
|
553
517
|
<summary>
|
|
@@ -555,7 +519,6 @@ ListGrants
|
|
|
555
519
|
</summary>
|
|
556
520
|
|
|
557
521
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ListGrantsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListGrantsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListGrantsCommandOutput/)
|
|
558
|
-
|
|
559
522
|
</details>
|
|
560
523
|
<details>
|
|
561
524
|
<summary>
|
|
@@ -563,7 +526,6 @@ ListKeyPolicies
|
|
|
563
526
|
</summary>
|
|
564
527
|
|
|
565
528
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ListKeyPoliciesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListKeyPoliciesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListKeyPoliciesCommandOutput/)
|
|
566
|
-
|
|
567
529
|
</details>
|
|
568
530
|
<details>
|
|
569
531
|
<summary>
|
|
@@ -571,7 +533,6 @@ ListKeyRotations
|
|
|
571
533
|
</summary>
|
|
572
534
|
|
|
573
535
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ListKeyRotationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListKeyRotationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListKeyRotationsCommandOutput/)
|
|
574
|
-
|
|
575
536
|
</details>
|
|
576
537
|
<details>
|
|
577
538
|
<summary>
|
|
@@ -579,7 +540,6 @@ ListKeys
|
|
|
579
540
|
</summary>
|
|
580
541
|
|
|
581
542
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ListKeysCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListKeysCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListKeysCommandOutput/)
|
|
582
|
-
|
|
583
543
|
</details>
|
|
584
544
|
<details>
|
|
585
545
|
<summary>
|
|
@@ -587,7 +547,6 @@ ListResourceTags
|
|
|
587
547
|
</summary>
|
|
588
548
|
|
|
589
549
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ListResourceTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListResourceTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListResourceTagsCommandOutput/)
|
|
590
|
-
|
|
591
550
|
</details>
|
|
592
551
|
<details>
|
|
593
552
|
<summary>
|
|
@@ -595,7 +554,6 @@ ListRetirableGrants
|
|
|
595
554
|
</summary>
|
|
596
555
|
|
|
597
556
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ListRetirableGrantsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListRetirableGrantsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ListRetirableGrantsCommandOutput/)
|
|
598
|
-
|
|
599
557
|
</details>
|
|
600
558
|
<details>
|
|
601
559
|
<summary>
|
|
@@ -603,7 +561,6 @@ PutKeyPolicy
|
|
|
603
561
|
</summary>
|
|
604
562
|
|
|
605
563
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/PutKeyPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/PutKeyPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/PutKeyPolicyCommandOutput/)
|
|
606
|
-
|
|
607
564
|
</details>
|
|
608
565
|
<details>
|
|
609
566
|
<summary>
|
|
@@ -611,7 +568,6 @@ ReEncrypt
|
|
|
611
568
|
</summary>
|
|
612
569
|
|
|
613
570
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ReEncryptCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ReEncryptCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ReEncryptCommandOutput/)
|
|
614
|
-
|
|
615
571
|
</details>
|
|
616
572
|
<details>
|
|
617
573
|
<summary>
|
|
@@ -619,7 +575,6 @@ ReplicateKey
|
|
|
619
575
|
</summary>
|
|
620
576
|
|
|
621
577
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ReplicateKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ReplicateKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ReplicateKeyCommandOutput/)
|
|
622
|
-
|
|
623
578
|
</details>
|
|
624
579
|
<details>
|
|
625
580
|
<summary>
|
|
@@ -627,7 +582,6 @@ RetireGrant
|
|
|
627
582
|
</summary>
|
|
628
583
|
|
|
629
584
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/RetireGrantCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/RetireGrantCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/RetireGrantCommandOutput/)
|
|
630
|
-
|
|
631
585
|
</details>
|
|
632
586
|
<details>
|
|
633
587
|
<summary>
|
|
@@ -635,7 +589,6 @@ RevokeGrant
|
|
|
635
589
|
</summary>
|
|
636
590
|
|
|
637
591
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/RevokeGrantCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/RevokeGrantCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/RevokeGrantCommandOutput/)
|
|
638
|
-
|
|
639
592
|
</details>
|
|
640
593
|
<details>
|
|
641
594
|
<summary>
|
|
@@ -643,7 +596,6 @@ RotateKeyOnDemand
|
|
|
643
596
|
</summary>
|
|
644
597
|
|
|
645
598
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/RotateKeyOnDemandCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/RotateKeyOnDemandCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/RotateKeyOnDemandCommandOutput/)
|
|
646
|
-
|
|
647
599
|
</details>
|
|
648
600
|
<details>
|
|
649
601
|
<summary>
|
|
@@ -651,7 +603,6 @@ ScheduleKeyDeletion
|
|
|
651
603
|
</summary>
|
|
652
604
|
|
|
653
605
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/ScheduleKeyDeletionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ScheduleKeyDeletionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/ScheduleKeyDeletionCommandOutput/)
|
|
654
|
-
|
|
655
606
|
</details>
|
|
656
607
|
<details>
|
|
657
608
|
<summary>
|
|
@@ -659,7 +610,6 @@ Sign
|
|
|
659
610
|
</summary>
|
|
660
611
|
|
|
661
612
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/SignCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/SignCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/SignCommandOutput/)
|
|
662
|
-
|
|
663
613
|
</details>
|
|
664
614
|
<details>
|
|
665
615
|
<summary>
|
|
@@ -667,7 +617,6 @@ TagResource
|
|
|
667
617
|
</summary>
|
|
668
618
|
|
|
669
619
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/TagResourceCommandOutput/)
|
|
670
|
-
|
|
671
620
|
</details>
|
|
672
621
|
<details>
|
|
673
622
|
<summary>
|
|
@@ -675,7 +624,6 @@ UntagResource
|
|
|
675
624
|
</summary>
|
|
676
625
|
|
|
677
626
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UntagResourceCommandOutput/)
|
|
678
|
-
|
|
679
627
|
</details>
|
|
680
628
|
<details>
|
|
681
629
|
<summary>
|
|
@@ -683,7 +631,6 @@ UpdateAlias
|
|
|
683
631
|
</summary>
|
|
684
632
|
|
|
685
633
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/UpdateAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UpdateAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UpdateAliasCommandOutput/)
|
|
686
|
-
|
|
687
634
|
</details>
|
|
688
635
|
<details>
|
|
689
636
|
<summary>
|
|
@@ -691,7 +638,6 @@ UpdateCustomKeyStore
|
|
|
691
638
|
</summary>
|
|
692
639
|
|
|
693
640
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/UpdateCustomKeyStoreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UpdateCustomKeyStoreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UpdateCustomKeyStoreCommandOutput/)
|
|
694
|
-
|
|
695
641
|
</details>
|
|
696
642
|
<details>
|
|
697
643
|
<summary>
|
|
@@ -699,7 +645,6 @@ UpdateKeyDescription
|
|
|
699
645
|
</summary>
|
|
700
646
|
|
|
701
647
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/UpdateKeyDescriptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UpdateKeyDescriptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UpdateKeyDescriptionCommandOutput/)
|
|
702
|
-
|
|
703
648
|
</details>
|
|
704
649
|
<details>
|
|
705
650
|
<summary>
|
|
@@ -707,7 +652,6 @@ UpdatePrimaryRegion
|
|
|
707
652
|
</summary>
|
|
708
653
|
|
|
709
654
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/UpdatePrimaryRegionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UpdatePrimaryRegionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/UpdatePrimaryRegionCommandOutput/)
|
|
710
|
-
|
|
711
655
|
</details>
|
|
712
656
|
<details>
|
|
713
657
|
<summary>
|
|
@@ -715,7 +659,6 @@ Verify
|
|
|
715
659
|
</summary>
|
|
716
660
|
|
|
717
661
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/VerifyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/VerifyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/VerifyCommandOutput/)
|
|
718
|
-
|
|
719
662
|
</details>
|
|
720
663
|
<details>
|
|
721
664
|
<summary>
|
|
@@ -723,5 +666,4 @@ VerifyMac
|
|
|
723
666
|
</summary>
|
|
724
667
|
|
|
725
668
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kms/command/VerifyMacCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/VerifyMacCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kms/Interface/VerifyMacCommandOutput/)
|
|
726
|
-
|
|
727
669
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultKMSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultKMSHttpAuthSchemeParametersProvider = defaultKMSHttpAuthSchemeParametersProvider;
|