@aws-sdk/client-kms 3.1148.0 → 3.1150.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1149.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class KMSServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.kms#KMSServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, KMSServiceException.prototype);
@@ -139,6 +140,7 @@ class KMSServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AlreadyExistsException extends KMSServiceException {
143
+ static shapeId = "com.amazonaws.kms#AlreadyExistsException";
142
144
  name = "AlreadyExistsException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class AlreadyExistsException extends KMSServiceException {
151
153
  }
152
154
  }
153
155
  class DependencyTimeoutException extends KMSServiceException {
156
+ static shapeId = "com.amazonaws.kms#DependencyTimeoutException";
154
157
  name = "DependencyTimeoutException";
155
158
  $fault = "server";
156
159
  constructor(opts) {
@@ -163,6 +166,7 @@ class DependencyTimeoutException extends KMSServiceException {
163
166
  }
164
167
  }
165
168
  class InvalidArnException extends KMSServiceException {
169
+ static shapeId = "com.amazonaws.kms#InvalidArnException";
166
170
  name = "InvalidArnException";
167
171
  $fault = "client";
168
172
  constructor(opts) {
@@ -175,6 +179,7 @@ class InvalidArnException extends KMSServiceException {
175
179
  }
176
180
  }
177
181
  class KMSInternalException extends KMSServiceException {
182
+ static shapeId = "com.amazonaws.kms#KMSInternalException";
178
183
  name = "KMSInternalException";
179
184
  $fault = "server";
180
185
  constructor(opts) {
@@ -187,6 +192,7 @@ class KMSInternalException extends KMSServiceException {
187
192
  }
188
193
  }
189
194
  class KMSInvalidStateException extends KMSServiceException {
195
+ static shapeId = "com.amazonaws.kms#KMSInvalidStateException";
190
196
  name = "KMSInvalidStateException";
191
197
  $fault = "client";
192
198
  constructor(opts) {
@@ -199,6 +205,7 @@ class KMSInvalidStateException extends KMSServiceException {
199
205
  }
200
206
  }
201
207
  class NotFoundException extends KMSServiceException {
208
+ static shapeId = "com.amazonaws.kms#NotFoundException";
202
209
  name = "NotFoundException";
203
210
  $fault = "client";
204
211
  constructor(opts) {
@@ -211,6 +218,7 @@ class NotFoundException extends KMSServiceException {
211
218
  }
212
219
  }
213
220
  class CloudHsmClusterInUseException extends KMSServiceException {
221
+ static shapeId = "com.amazonaws.kms#CloudHsmClusterInUseException";
214
222
  name = "CloudHsmClusterInUseException";
215
223
  $fault = "client";
216
224
  constructor(opts) {
@@ -223,6 +231,7 @@ class CloudHsmClusterInUseException extends KMSServiceException {
223
231
  }
224
232
  }
225
233
  class CloudHsmClusterInvalidConfigurationException extends KMSServiceException {
234
+ static shapeId = "com.amazonaws.kms#CloudHsmClusterInvalidConfigurationException";
226
235
  name = "CloudHsmClusterInvalidConfigurationException";
227
236
  $fault = "client";
228
237
  constructor(opts) {
@@ -235,6 +244,7 @@ class CloudHsmClusterInvalidConfigurationException extends KMSServiceException {
235
244
  }
236
245
  }
237
246
  class CloudHsmClusterNotActiveException extends KMSServiceException {
247
+ static shapeId = "com.amazonaws.kms#CloudHsmClusterNotActiveException";
238
248
  name = "CloudHsmClusterNotActiveException";
239
249
  $fault = "client";
240
250
  constructor(opts) {
@@ -247,6 +257,7 @@ class CloudHsmClusterNotActiveException extends KMSServiceException {
247
257
  }
248
258
  }
249
259
  class CloudHsmClusterNotFoundException extends KMSServiceException {
260
+ static shapeId = "com.amazonaws.kms#CloudHsmClusterNotFoundException";
250
261
  name = "CloudHsmClusterNotFoundException";
251
262
  $fault = "client";
252
263
  constructor(opts) {
@@ -259,6 +270,7 @@ class CloudHsmClusterNotFoundException extends KMSServiceException {
259
270
  }
260
271
  }
261
272
  class CloudHsmClusterNotRelatedException extends KMSServiceException {
273
+ static shapeId = "com.amazonaws.kms#CloudHsmClusterNotRelatedException";
262
274
  name = "CloudHsmClusterNotRelatedException";
263
275
  $fault = "client";
264
276
  constructor(opts) {
@@ -271,6 +283,7 @@ class CloudHsmClusterNotRelatedException extends KMSServiceException {
271
283
  }
272
284
  }
273
285
  class ConflictException extends KMSServiceException {
286
+ static shapeId = "com.amazonaws.kms#ConflictException";
274
287
  name = "ConflictException";
275
288
  $fault = "client";
276
289
  constructor(opts) {
@@ -283,6 +296,7 @@ class ConflictException extends KMSServiceException {
283
296
  }
284
297
  }
285
298
  class CustomKeyStoreInvalidStateException extends KMSServiceException {
299
+ static shapeId = "com.amazonaws.kms#CustomKeyStoreInvalidStateException";
286
300
  name = "CustomKeyStoreInvalidStateException";
287
301
  $fault = "client";
288
302
  constructor(opts) {
@@ -295,6 +309,7 @@ class CustomKeyStoreInvalidStateException extends KMSServiceException {
295
309
  }
296
310
  }
297
311
  class CustomKeyStoreNotFoundException extends KMSServiceException {
312
+ static shapeId = "com.amazonaws.kms#CustomKeyStoreNotFoundException";
298
313
  name = "CustomKeyStoreNotFoundException";
299
314
  $fault = "client";
300
315
  constructor(opts) {
@@ -307,6 +322,7 @@ class CustomKeyStoreNotFoundException extends KMSServiceException {
307
322
  }
308
323
  }
309
324
  class InvalidAliasNameException extends KMSServiceException {
325
+ static shapeId = "com.amazonaws.kms#InvalidAliasNameException";
310
326
  name = "InvalidAliasNameException";
311
327
  $fault = "client";
312
328
  constructor(opts) {
@@ -319,6 +335,7 @@ class InvalidAliasNameException extends KMSServiceException {
319
335
  }
320
336
  }
321
337
  class LimitExceededException extends KMSServiceException {
338
+ static shapeId = "com.amazonaws.kms#LimitExceededException";
322
339
  name = "LimitExceededException";
323
340
  $fault = "client";
324
341
  constructor(opts) {
@@ -331,6 +348,7 @@ class LimitExceededException extends KMSServiceException {
331
348
  }
332
349
  }
333
350
  class CustomKeyStoreNameInUseException extends KMSServiceException {
351
+ static shapeId = "com.amazonaws.kms#CustomKeyStoreNameInUseException";
334
352
  name = "CustomKeyStoreNameInUseException";
335
353
  $fault = "client";
336
354
  constructor(opts) {
@@ -343,6 +361,7 @@ class CustomKeyStoreNameInUseException extends KMSServiceException {
343
361
  }
344
362
  }
345
363
  class IncorrectTrustAnchorException extends KMSServiceException {
364
+ static shapeId = "com.amazonaws.kms#IncorrectTrustAnchorException";
346
365
  name = "IncorrectTrustAnchorException";
347
366
  $fault = "client";
348
367
  constructor(opts) {
@@ -355,6 +374,7 @@ class IncorrectTrustAnchorException extends KMSServiceException {
355
374
  }
356
375
  }
357
376
  class XksProxyIncorrectAuthenticationCredentialException extends KMSServiceException {
377
+ static shapeId = "com.amazonaws.kms#XksProxyIncorrectAuthenticationCredentialException";
358
378
  name = "XksProxyIncorrectAuthenticationCredentialException";
359
379
  $fault = "client";
360
380
  constructor(opts) {
@@ -367,6 +387,7 @@ class XksProxyIncorrectAuthenticationCredentialException extends KMSServiceExcep
367
387
  }
368
388
  }
369
389
  class XksProxyInvalidConfigurationException extends KMSServiceException {
390
+ static shapeId = "com.amazonaws.kms#XksProxyInvalidConfigurationException";
370
391
  name = "XksProxyInvalidConfigurationException";
371
392
  $fault = "client";
372
393
  constructor(opts) {
@@ -379,6 +400,7 @@ class XksProxyInvalidConfigurationException extends KMSServiceException {
379
400
  }
380
401
  }
381
402
  class XksProxyInvalidResponseException extends KMSServiceException {
403
+ static shapeId = "com.amazonaws.kms#XksProxyInvalidResponseException";
382
404
  name = "XksProxyInvalidResponseException";
383
405
  $fault = "client";
384
406
  constructor(opts) {
@@ -391,6 +413,7 @@ class XksProxyInvalidResponseException extends KMSServiceException {
391
413
  }
392
414
  }
393
415
  class XksProxyUriEndpointInUseException extends KMSServiceException {
416
+ static shapeId = "com.amazonaws.kms#XksProxyUriEndpointInUseException";
394
417
  name = "XksProxyUriEndpointInUseException";
395
418
  $fault = "client";
396
419
  constructor(opts) {
@@ -403,6 +426,7 @@ class XksProxyUriEndpointInUseException extends KMSServiceException {
403
426
  }
404
427
  }
405
428
  class XksProxyUriInUseException extends KMSServiceException {
429
+ static shapeId = "com.amazonaws.kms#XksProxyUriInUseException";
406
430
  name = "XksProxyUriInUseException";
407
431
  $fault = "client";
408
432
  constructor(opts) {
@@ -415,6 +439,7 @@ class XksProxyUriInUseException extends KMSServiceException {
415
439
  }
416
440
  }
417
441
  class XksProxyUriUnreachableException extends KMSServiceException {
442
+ static shapeId = "com.amazonaws.kms#XksProxyUriUnreachableException";
418
443
  name = "XksProxyUriUnreachableException";
419
444
  $fault = "client";
420
445
  constructor(opts) {
@@ -427,6 +452,7 @@ class XksProxyUriUnreachableException extends KMSServiceException {
427
452
  }
428
453
  }
429
454
  class XksProxyVpcEndpointServiceInUseException extends KMSServiceException {
455
+ static shapeId = "com.amazonaws.kms#XksProxyVpcEndpointServiceInUseException";
430
456
  name = "XksProxyVpcEndpointServiceInUseException";
431
457
  $fault = "client";
432
458
  constructor(opts) {
@@ -439,6 +465,7 @@ class XksProxyVpcEndpointServiceInUseException extends KMSServiceException {
439
465
  }
440
466
  }
441
467
  class XksProxyVpcEndpointServiceInvalidConfigurationException extends KMSServiceException {
468
+ static shapeId = "com.amazonaws.kms#XksProxyVpcEndpointServiceInvalidConfigurationException";
442
469
  name = "XksProxyVpcEndpointServiceInvalidConfigurationException";
443
470
  $fault = "client";
444
471
  constructor(opts) {
@@ -451,6 +478,7 @@ class XksProxyVpcEndpointServiceInvalidConfigurationException extends KMSService
451
478
  }
452
479
  }
453
480
  class XksProxyVpcEndpointServiceNotFoundException extends KMSServiceException {
481
+ static shapeId = "com.amazonaws.kms#XksProxyVpcEndpointServiceNotFoundException";
454
482
  name = "XksProxyVpcEndpointServiceNotFoundException";
455
483
  $fault = "client";
456
484
  constructor(opts) {
@@ -463,6 +491,7 @@ class XksProxyVpcEndpointServiceNotFoundException extends KMSServiceException {
463
491
  }
464
492
  }
465
493
  class DisabledException extends KMSServiceException {
494
+ static shapeId = "com.amazonaws.kms#DisabledException";
466
495
  name = "DisabledException";
467
496
  $fault = "client";
468
497
  constructor(opts) {
@@ -475,6 +504,7 @@ class DisabledException extends KMSServiceException {
475
504
  }
476
505
  }
477
506
  class DryRunOperationException extends KMSServiceException {
507
+ static shapeId = "com.amazonaws.kms#DryRunOperationException";
478
508
  name = "DryRunOperationException";
479
509
  $fault = "client";
480
510
  constructor(opts) {
@@ -487,6 +517,7 @@ class DryRunOperationException extends KMSServiceException {
487
517
  }
488
518
  }
489
519
  class InvalidGrantTokenException extends KMSServiceException {
520
+ static shapeId = "com.amazonaws.kms#InvalidGrantTokenException";
490
521
  name = "InvalidGrantTokenException";
491
522
  $fault = "client";
492
523
  constructor(opts) {
@@ -499,6 +530,7 @@ class InvalidGrantTokenException extends KMSServiceException {
499
530
  }
500
531
  }
501
532
  class MalformedPolicyDocumentException extends KMSServiceException {
533
+ static shapeId = "com.amazonaws.kms#MalformedPolicyDocumentException";
502
534
  name = "MalformedPolicyDocumentException";
503
535
  $fault = "client";
504
536
  constructor(opts) {
@@ -511,6 +543,7 @@ class MalformedPolicyDocumentException extends KMSServiceException {
511
543
  }
512
544
  }
513
545
  class TagException extends KMSServiceException {
546
+ static shapeId = "com.amazonaws.kms#TagException";
514
547
  name = "TagException";
515
548
  $fault = "client";
516
549
  constructor(opts) {
@@ -523,6 +556,7 @@ class TagException extends KMSServiceException {
523
556
  }
524
557
  }
525
558
  class UnsupportedOperationException extends KMSServiceException {
559
+ static shapeId = "com.amazonaws.kms#UnsupportedOperationException";
526
560
  name = "UnsupportedOperationException";
527
561
  $fault = "client";
528
562
  constructor(opts) {
@@ -535,6 +569,7 @@ class UnsupportedOperationException extends KMSServiceException {
535
569
  }
536
570
  }
537
571
  class XksKeyAlreadyInUseException extends KMSServiceException {
572
+ static shapeId = "com.amazonaws.kms#XksKeyAlreadyInUseException";
538
573
  name = "XksKeyAlreadyInUseException";
539
574
  $fault = "client";
540
575
  constructor(opts) {
@@ -547,6 +582,7 @@ class XksKeyAlreadyInUseException extends KMSServiceException {
547
582
  }
548
583
  }
549
584
  class XksKeyInvalidConfigurationException extends KMSServiceException {
585
+ static shapeId = "com.amazonaws.kms#XksKeyInvalidConfigurationException";
550
586
  name = "XksKeyInvalidConfigurationException";
551
587
  $fault = "client";
552
588
  constructor(opts) {
@@ -559,6 +595,7 @@ class XksKeyInvalidConfigurationException extends KMSServiceException {
559
595
  }
560
596
  }
561
597
  class XksKeyNotFoundException extends KMSServiceException {
598
+ static shapeId = "com.amazonaws.kms#XksKeyNotFoundException";
562
599
  name = "XksKeyNotFoundException";
563
600
  $fault = "client";
564
601
  constructor(opts) {
@@ -571,6 +608,7 @@ class XksKeyNotFoundException extends KMSServiceException {
571
608
  }
572
609
  }
573
610
  class CustomKeyStoreHasCMKsException extends KMSServiceException {
611
+ static shapeId = "com.amazonaws.kms#CustomKeyStoreHasCMKsException";
574
612
  name = "CustomKeyStoreHasCMKsException";
575
613
  $fault = "client";
576
614
  constructor(opts) {
@@ -583,6 +621,7 @@ class CustomKeyStoreHasCMKsException extends KMSServiceException {
583
621
  }
584
622
  }
585
623
  class IncorrectKeyException extends KMSServiceException {
624
+ static shapeId = "com.amazonaws.kms#IncorrectKeyException";
586
625
  name = "IncorrectKeyException";
587
626
  $fault = "client";
588
627
  constructor(opts) {
@@ -595,6 +634,7 @@ class IncorrectKeyException extends KMSServiceException {
595
634
  }
596
635
  }
597
636
  class InvalidCiphertextException extends KMSServiceException {
637
+ static shapeId = "com.amazonaws.kms#InvalidCiphertextException";
598
638
  name = "InvalidCiphertextException";
599
639
  $fault = "client";
600
640
  constructor(opts) {
@@ -607,6 +647,7 @@ class InvalidCiphertextException extends KMSServiceException {
607
647
  }
608
648
  }
609
649
  class InvalidKeyUsageException extends KMSServiceException {
650
+ static shapeId = "com.amazonaws.kms#InvalidKeyUsageException";
610
651
  name = "InvalidKeyUsageException";
611
652
  $fault = "client";
612
653
  constructor(opts) {
@@ -619,6 +660,7 @@ class InvalidKeyUsageException extends KMSServiceException {
619
660
  }
620
661
  }
621
662
  class KeyUnavailableException extends KMSServiceException {
663
+ static shapeId = "com.amazonaws.kms#KeyUnavailableException";
622
664
  name = "KeyUnavailableException";
623
665
  $fault = "server";
624
666
  constructor(opts) {
@@ -631,6 +673,7 @@ class KeyUnavailableException extends KMSServiceException {
631
673
  }
632
674
  }
633
675
  class InvalidMarkerException extends KMSServiceException {
676
+ static shapeId = "com.amazonaws.kms#InvalidMarkerException";
634
677
  name = "InvalidMarkerException";
635
678
  $fault = "client";
636
679
  constructor(opts) {
@@ -643,6 +686,7 @@ class InvalidMarkerException extends KMSServiceException {
643
686
  }
644
687
  }
645
688
  class ExpiredImportTokenException extends KMSServiceException {
689
+ static shapeId = "com.amazonaws.kms#ExpiredImportTokenException";
646
690
  name = "ExpiredImportTokenException";
647
691
  $fault = "client";
648
692
  constructor(opts) {
@@ -655,6 +699,7 @@ class ExpiredImportTokenException extends KMSServiceException {
655
699
  }
656
700
  }
657
701
  class IncorrectKeyMaterialException extends KMSServiceException {
702
+ static shapeId = "com.amazonaws.kms#IncorrectKeyMaterialException";
658
703
  name = "IncorrectKeyMaterialException";
659
704
  $fault = "client";
660
705
  constructor(opts) {
@@ -667,6 +712,7 @@ class IncorrectKeyMaterialException extends KMSServiceException {
667
712
  }
668
713
  }
669
714
  class InvalidImportTokenException extends KMSServiceException {
715
+ static shapeId = "com.amazonaws.kms#InvalidImportTokenException";
670
716
  name = "InvalidImportTokenException";
671
717
  $fault = "client";
672
718
  constructor(opts) {
@@ -679,6 +725,7 @@ class InvalidImportTokenException extends KMSServiceException {
679
725
  }
680
726
  }
681
727
  class InvalidGrantIdException extends KMSServiceException {
728
+ static shapeId = "com.amazonaws.kms#InvalidGrantIdException";
682
729
  name = "InvalidGrantIdException";
683
730
  $fault = "client";
684
731
  constructor(opts) {
@@ -691,6 +738,7 @@ class InvalidGrantIdException extends KMSServiceException {
691
738
  }
692
739
  }
693
740
  class KMSInvalidMacException extends KMSServiceException {
741
+ static shapeId = "com.amazonaws.kms#KMSInvalidMacException";
694
742
  name = "KMSInvalidMacException";
695
743
  $fault = "client";
696
744
  constructor(opts) {
@@ -703,6 +751,7 @@ class KMSInvalidMacException extends KMSServiceException {
703
751
  }
704
752
  }
705
753
  class KMSInvalidSignatureException extends KMSServiceException {
754
+ static shapeId = "com.amazonaws.kms#KMSInvalidSignatureException";
706
755
  name = "KMSInvalidSignatureException";
707
756
  $fault = "client";
708
757
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class KMSServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.kms#KMSServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, KMSServiceException.prototype);