@effect-aws/client-kms 1.9.5 → 1.10.2
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/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/KMSService.d.ts +57 -56
- package/dist/cjs/KMSService.d.ts.map +1 -1
- package/dist/cjs/KMSService.js +1 -1
- package/dist/cjs/KMSService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/KMSService.d.ts +57 -56
- package/dist/dts/KMSService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/KMSService.js +1 -1
- package/dist/esm/KMSService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/KMSService.ts +124 -19
package/src/KMSService.ts
CHANGED
|
@@ -164,8 +164,9 @@ import {
|
|
|
164
164
|
type VerifyMacCommandInput,
|
|
165
165
|
type VerifyMacCommandOutput,
|
|
166
166
|
} from "@aws-sdk/client-kms";
|
|
167
|
-
import type { HttpHandlerOptions,
|
|
167
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
168
168
|
import { Service } from "@effect-aws/commons";
|
|
169
|
+
import type { Cause } from "effect";
|
|
169
170
|
import { Effect, Layer } from "effect";
|
|
170
171
|
import type {
|
|
171
172
|
AlreadyExistsError,
|
|
@@ -202,6 +203,7 @@ import type {
|
|
|
202
203
|
LimitExceededError,
|
|
203
204
|
MalformedPolicyDocumentError,
|
|
204
205
|
NotFoundError,
|
|
206
|
+
SdkError,
|
|
205
207
|
TagError,
|
|
206
208
|
UnsupportedOperationError,
|
|
207
209
|
XksKeyAlreadyInUseError,
|
|
@@ -288,7 +290,13 @@ interface KMSService$ {
|
|
|
288
290
|
options?: HttpHandlerOptions,
|
|
289
291
|
): Effect.Effect<
|
|
290
292
|
CancelKeyDeletionCommandOutput,
|
|
291
|
-
|
|
293
|
+
| Cause.TimeoutException
|
|
294
|
+
| SdkError
|
|
295
|
+
| DependencyTimeoutError
|
|
296
|
+
| InvalidArnError
|
|
297
|
+
| KMSInternalError
|
|
298
|
+
| KMSInvalidStateError
|
|
299
|
+
| NotFoundError
|
|
292
300
|
>;
|
|
293
301
|
|
|
294
302
|
/**
|
|
@@ -299,6 +307,7 @@ interface KMSService$ {
|
|
|
299
307
|
options?: HttpHandlerOptions,
|
|
300
308
|
): Effect.Effect<
|
|
301
309
|
ConnectCustomKeyStoreCommandOutput,
|
|
310
|
+
| Cause.TimeoutException
|
|
302
311
|
| SdkError
|
|
303
312
|
| CloudHsmClusterInvalidConfigurationError
|
|
304
313
|
| CloudHsmClusterNotActiveError
|
|
@@ -315,6 +324,7 @@ interface KMSService$ {
|
|
|
315
324
|
options?: HttpHandlerOptions,
|
|
316
325
|
): Effect.Effect<
|
|
317
326
|
CreateAliasCommandOutput,
|
|
327
|
+
| Cause.TimeoutException
|
|
318
328
|
| SdkError
|
|
319
329
|
| AlreadyExistsError
|
|
320
330
|
| DependencyTimeoutError
|
|
@@ -333,6 +343,7 @@ interface KMSService$ {
|
|
|
333
343
|
options?: HttpHandlerOptions,
|
|
334
344
|
): Effect.Effect<
|
|
335
345
|
CreateCustomKeyStoreCommandOutput,
|
|
346
|
+
| Cause.TimeoutException
|
|
336
347
|
| SdkError
|
|
337
348
|
| CloudHsmClusterInUseError
|
|
338
349
|
| CloudHsmClusterInvalidConfigurationError
|
|
@@ -361,6 +372,7 @@ interface KMSService$ {
|
|
|
361
372
|
options?: HttpHandlerOptions,
|
|
362
373
|
): Effect.Effect<
|
|
363
374
|
CreateGrantCommandOutput,
|
|
375
|
+
| Cause.TimeoutException
|
|
364
376
|
| SdkError
|
|
365
377
|
| DependencyTimeoutError
|
|
366
378
|
| DisabledError
|
|
@@ -381,6 +393,7 @@ interface KMSService$ {
|
|
|
381
393
|
options?: HttpHandlerOptions,
|
|
382
394
|
): Effect.Effect<
|
|
383
395
|
CreateKeyCommandOutput,
|
|
396
|
+
| Cause.TimeoutException
|
|
384
397
|
| SdkError
|
|
385
398
|
| CloudHsmClusterInvalidConfigurationError
|
|
386
399
|
| CustomKeyStoreInvalidStateError
|
|
@@ -405,6 +418,7 @@ interface KMSService$ {
|
|
|
405
418
|
options?: HttpHandlerOptions,
|
|
406
419
|
): Effect.Effect<
|
|
407
420
|
DecryptCommandOutput,
|
|
421
|
+
| Cause.TimeoutException
|
|
408
422
|
| SdkError
|
|
409
423
|
| DependencyTimeoutError
|
|
410
424
|
| DisabledError
|
|
@@ -427,7 +441,7 @@ interface KMSService$ {
|
|
|
427
441
|
options?: HttpHandlerOptions,
|
|
428
442
|
): Effect.Effect<
|
|
429
443
|
DeleteAliasCommandOutput,
|
|
430
|
-
SdkError | DependencyTimeoutError | KMSInternalError | KMSInvalidStateError | NotFoundError
|
|
444
|
+
Cause.TimeoutException | SdkError | DependencyTimeoutError | KMSInternalError | KMSInvalidStateError | NotFoundError
|
|
431
445
|
>;
|
|
432
446
|
|
|
433
447
|
/**
|
|
@@ -438,6 +452,7 @@ interface KMSService$ {
|
|
|
438
452
|
options?: HttpHandlerOptions,
|
|
439
453
|
): Effect.Effect<
|
|
440
454
|
DeleteCustomKeyStoreCommandOutput,
|
|
455
|
+
| Cause.TimeoutException
|
|
441
456
|
| SdkError
|
|
442
457
|
| CustomKeyStoreHasCMKsError
|
|
443
458
|
| CustomKeyStoreInvalidStateError
|
|
@@ -453,6 +468,7 @@ interface KMSService$ {
|
|
|
453
468
|
options?: HttpHandlerOptions,
|
|
454
469
|
): Effect.Effect<
|
|
455
470
|
DeleteImportedKeyMaterialCommandOutput,
|
|
471
|
+
| Cause.TimeoutException
|
|
456
472
|
| SdkError
|
|
457
473
|
| DependencyTimeoutError
|
|
458
474
|
| InvalidArnError
|
|
@@ -470,6 +486,7 @@ interface KMSService$ {
|
|
|
470
486
|
options?: HttpHandlerOptions,
|
|
471
487
|
): Effect.Effect<
|
|
472
488
|
DeriveSharedSecretCommandOutput,
|
|
489
|
+
| Cause.TimeoutException
|
|
473
490
|
| SdkError
|
|
474
491
|
| DependencyTimeoutError
|
|
475
492
|
| DisabledError
|
|
@@ -490,7 +507,7 @@ interface KMSService$ {
|
|
|
490
507
|
options?: HttpHandlerOptions,
|
|
491
508
|
): Effect.Effect<
|
|
492
509
|
DescribeCustomKeyStoresCommandOutput,
|
|
493
|
-
SdkError | CustomKeyStoreNotFoundError | InvalidMarkerError | KMSInternalError
|
|
510
|
+
Cause.TimeoutException | SdkError | CustomKeyStoreNotFoundError | InvalidMarkerError | KMSInternalError
|
|
494
511
|
>;
|
|
495
512
|
|
|
496
513
|
/**
|
|
@@ -501,7 +518,7 @@ interface KMSService$ {
|
|
|
501
518
|
options?: HttpHandlerOptions,
|
|
502
519
|
): Effect.Effect<
|
|
503
520
|
DescribeKeyCommandOutput,
|
|
504
|
-
SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | NotFoundError
|
|
521
|
+
Cause.TimeoutException | SdkError | DependencyTimeoutError | InvalidArnError | KMSInternalError | NotFoundError
|
|
505
522
|
>;
|
|
506
523
|
|
|
507
524
|
/**
|
|
@@ -512,7 +529,13 @@ interface KMSService$ {
|
|
|
512
529
|
options?: HttpHandlerOptions,
|
|
513
530
|
): Effect.Effect<
|
|
514
531
|
DisableKeyCommandOutput,
|
|
515
|
-
|
|
532
|
+
| Cause.TimeoutException
|
|
533
|
+
| SdkError
|
|
534
|
+
| DependencyTimeoutError
|
|
535
|
+
| InvalidArnError
|
|
536
|
+
| KMSInternalError
|
|
537
|
+
| KMSInvalidStateError
|
|
538
|
+
| NotFoundError
|
|
516
539
|
>;
|
|
517
540
|
|
|
518
541
|
/**
|
|
@@ -523,6 +546,7 @@ interface KMSService$ {
|
|
|
523
546
|
options?: HttpHandlerOptions,
|
|
524
547
|
): Effect.Effect<
|
|
525
548
|
DisableKeyRotationCommandOutput,
|
|
549
|
+
| Cause.TimeoutException
|
|
526
550
|
| SdkError
|
|
527
551
|
| DependencyTimeoutError
|
|
528
552
|
| DisabledError
|
|
@@ -541,7 +565,7 @@ interface KMSService$ {
|
|
|
541
565
|
options?: HttpHandlerOptions,
|
|
542
566
|
): Effect.Effect<
|
|
543
567
|
DisconnectCustomKeyStoreCommandOutput,
|
|
544
|
-
SdkError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | KMSInternalError
|
|
568
|
+
Cause.TimeoutException | SdkError | CustomKeyStoreInvalidStateError | CustomKeyStoreNotFoundError | KMSInternalError
|
|
545
569
|
>;
|
|
546
570
|
|
|
547
571
|
/**
|
|
@@ -552,6 +576,7 @@ interface KMSService$ {
|
|
|
552
576
|
options?: HttpHandlerOptions,
|
|
553
577
|
): Effect.Effect<
|
|
554
578
|
EnableKeyCommandOutput,
|
|
579
|
+
| Cause.TimeoutException
|
|
555
580
|
| SdkError
|
|
556
581
|
| DependencyTimeoutError
|
|
557
582
|
| InvalidArnError
|
|
@@ -569,6 +594,7 @@ interface KMSService$ {
|
|
|
569
594
|
options?: HttpHandlerOptions,
|
|
570
595
|
): Effect.Effect<
|
|
571
596
|
EnableKeyRotationCommandOutput,
|
|
597
|
+
| Cause.TimeoutException
|
|
572
598
|
| SdkError
|
|
573
599
|
| DependencyTimeoutError
|
|
574
600
|
| DisabledError
|
|
@@ -587,6 +613,7 @@ interface KMSService$ {
|
|
|
587
613
|
options?: HttpHandlerOptions,
|
|
588
614
|
): Effect.Effect<
|
|
589
615
|
EncryptCommandOutput,
|
|
616
|
+
| Cause.TimeoutException
|
|
590
617
|
| SdkError
|
|
591
618
|
| DependencyTimeoutError
|
|
592
619
|
| DisabledError
|
|
@@ -607,6 +634,7 @@ interface KMSService$ {
|
|
|
607
634
|
options?: HttpHandlerOptions,
|
|
608
635
|
): Effect.Effect<
|
|
609
636
|
GenerateDataKeyCommandOutput,
|
|
637
|
+
| Cause.TimeoutException
|
|
610
638
|
| SdkError
|
|
611
639
|
| DependencyTimeoutError
|
|
612
640
|
| DisabledError
|
|
@@ -627,6 +655,7 @@ interface KMSService$ {
|
|
|
627
655
|
options?: HttpHandlerOptions,
|
|
628
656
|
): Effect.Effect<
|
|
629
657
|
GenerateDataKeyPairCommandOutput,
|
|
658
|
+
| Cause.TimeoutException
|
|
630
659
|
| SdkError
|
|
631
660
|
| DependencyTimeoutError
|
|
632
661
|
| DisabledError
|
|
@@ -648,6 +677,7 @@ interface KMSService$ {
|
|
|
648
677
|
options?: HttpHandlerOptions,
|
|
649
678
|
): Effect.Effect<
|
|
650
679
|
GenerateDataKeyPairWithoutPlaintextCommandOutput,
|
|
680
|
+
| Cause.TimeoutException
|
|
651
681
|
| SdkError
|
|
652
682
|
| DependencyTimeoutError
|
|
653
683
|
| DisabledError
|
|
@@ -669,6 +699,7 @@ interface KMSService$ {
|
|
|
669
699
|
options?: HttpHandlerOptions,
|
|
670
700
|
): Effect.Effect<
|
|
671
701
|
GenerateDataKeyWithoutPlaintextCommandOutput,
|
|
702
|
+
| Cause.TimeoutException
|
|
672
703
|
| SdkError
|
|
673
704
|
| DependencyTimeoutError
|
|
674
705
|
| DisabledError
|
|
@@ -689,6 +720,7 @@ interface KMSService$ {
|
|
|
689
720
|
options?: HttpHandlerOptions,
|
|
690
721
|
): Effect.Effect<
|
|
691
722
|
GenerateMacCommandOutput,
|
|
723
|
+
| Cause.TimeoutException
|
|
692
724
|
| SdkError
|
|
693
725
|
| DisabledError
|
|
694
726
|
| DryRunOperationError
|
|
@@ -708,6 +740,7 @@ interface KMSService$ {
|
|
|
708
740
|
options?: HttpHandlerOptions,
|
|
709
741
|
): Effect.Effect<
|
|
710
742
|
GenerateRandomCommandOutput,
|
|
743
|
+
| Cause.TimeoutException
|
|
711
744
|
| SdkError
|
|
712
745
|
| CustomKeyStoreInvalidStateError
|
|
713
746
|
| CustomKeyStoreNotFoundError
|
|
@@ -724,7 +757,13 @@ interface KMSService$ {
|
|
|
724
757
|
options?: HttpHandlerOptions,
|
|
725
758
|
): Effect.Effect<
|
|
726
759
|
GetKeyPolicyCommandOutput,
|
|
727
|
-
|
|
760
|
+
| Cause.TimeoutException
|
|
761
|
+
| SdkError
|
|
762
|
+
| DependencyTimeoutError
|
|
763
|
+
| InvalidArnError
|
|
764
|
+
| KMSInternalError
|
|
765
|
+
| KMSInvalidStateError
|
|
766
|
+
| NotFoundError
|
|
728
767
|
>;
|
|
729
768
|
|
|
730
769
|
/**
|
|
@@ -735,6 +774,7 @@ interface KMSService$ {
|
|
|
735
774
|
options?: HttpHandlerOptions,
|
|
736
775
|
): Effect.Effect<
|
|
737
776
|
GetKeyRotationStatusCommandOutput,
|
|
777
|
+
| Cause.TimeoutException
|
|
738
778
|
| SdkError
|
|
739
779
|
| DependencyTimeoutError
|
|
740
780
|
| InvalidArnError
|
|
@@ -752,6 +792,7 @@ interface KMSService$ {
|
|
|
752
792
|
options?: HttpHandlerOptions,
|
|
753
793
|
): Effect.Effect<
|
|
754
794
|
GetParametersForImportCommandOutput,
|
|
795
|
+
| Cause.TimeoutException
|
|
755
796
|
| SdkError
|
|
756
797
|
| DependencyTimeoutError
|
|
757
798
|
| InvalidArnError
|
|
@@ -769,6 +810,7 @@ interface KMSService$ {
|
|
|
769
810
|
options?: HttpHandlerOptions,
|
|
770
811
|
): Effect.Effect<
|
|
771
812
|
GetPublicKeyCommandOutput,
|
|
813
|
+
| Cause.TimeoutException
|
|
772
814
|
| SdkError
|
|
773
815
|
| DependencyTimeoutError
|
|
774
816
|
| DisabledError
|
|
@@ -790,6 +832,7 @@ interface KMSService$ {
|
|
|
790
832
|
options?: HttpHandlerOptions,
|
|
791
833
|
): Effect.Effect<
|
|
792
834
|
ImportKeyMaterialCommandOutput,
|
|
835
|
+
| Cause.TimeoutException
|
|
793
836
|
| SdkError
|
|
794
837
|
| DependencyTimeoutError
|
|
795
838
|
| ExpiredImportTokenError
|
|
@@ -811,7 +854,13 @@ interface KMSService$ {
|
|
|
811
854
|
options?: HttpHandlerOptions,
|
|
812
855
|
): Effect.Effect<
|
|
813
856
|
ListAliasesCommandOutput,
|
|
814
|
-
|
|
857
|
+
| Cause.TimeoutException
|
|
858
|
+
| SdkError
|
|
859
|
+
| DependencyTimeoutError
|
|
860
|
+
| InvalidArnError
|
|
861
|
+
| InvalidMarkerError
|
|
862
|
+
| KMSInternalError
|
|
863
|
+
| NotFoundError
|
|
815
864
|
>;
|
|
816
865
|
|
|
817
866
|
/**
|
|
@@ -822,6 +871,7 @@ interface KMSService$ {
|
|
|
822
871
|
options?: HttpHandlerOptions,
|
|
823
872
|
): Effect.Effect<
|
|
824
873
|
ListGrantsCommandOutput,
|
|
874
|
+
| Cause.TimeoutException
|
|
825
875
|
| SdkError
|
|
826
876
|
| DependencyTimeoutError
|
|
827
877
|
| InvalidArnError
|
|
@@ -840,7 +890,13 @@ interface KMSService$ {
|
|
|
840
890
|
options?: HttpHandlerOptions,
|
|
841
891
|
): Effect.Effect<
|
|
842
892
|
ListKeyPoliciesCommandOutput,
|
|
843
|
-
|
|
893
|
+
| Cause.TimeoutException
|
|
894
|
+
| SdkError
|
|
895
|
+
| DependencyTimeoutError
|
|
896
|
+
| InvalidArnError
|
|
897
|
+
| KMSInternalError
|
|
898
|
+
| KMSInvalidStateError
|
|
899
|
+
| NotFoundError
|
|
844
900
|
>;
|
|
845
901
|
|
|
846
902
|
/**
|
|
@@ -851,6 +907,7 @@ interface KMSService$ {
|
|
|
851
907
|
options?: HttpHandlerOptions,
|
|
852
908
|
): Effect.Effect<
|
|
853
909
|
ListKeyRotationsCommandOutput,
|
|
910
|
+
| Cause.TimeoutException
|
|
854
911
|
| SdkError
|
|
855
912
|
| InvalidArnError
|
|
856
913
|
| InvalidMarkerError
|
|
@@ -868,7 +925,7 @@ interface KMSService$ {
|
|
|
868
925
|
options?: HttpHandlerOptions,
|
|
869
926
|
): Effect.Effect<
|
|
870
927
|
ListKeysCommandOutput,
|
|
871
|
-
SdkError | DependencyTimeoutError | InvalidMarkerError | KMSInternalError
|
|
928
|
+
Cause.TimeoutException | SdkError | DependencyTimeoutError | InvalidMarkerError | KMSInternalError
|
|
872
929
|
>;
|
|
873
930
|
|
|
874
931
|
/**
|
|
@@ -879,7 +936,7 @@ interface KMSService$ {
|
|
|
879
936
|
options?: HttpHandlerOptions,
|
|
880
937
|
): Effect.Effect<
|
|
881
938
|
ListResourceTagsCommandOutput,
|
|
882
|
-
SdkError | InvalidArnError | InvalidMarkerError | KMSInternalError | NotFoundError
|
|
939
|
+
Cause.TimeoutException | SdkError | InvalidArnError | InvalidMarkerError | KMSInternalError | NotFoundError
|
|
883
940
|
>;
|
|
884
941
|
|
|
885
942
|
/**
|
|
@@ -890,7 +947,13 @@ interface KMSService$ {
|
|
|
890
947
|
options?: HttpHandlerOptions,
|
|
891
948
|
): Effect.Effect<
|
|
892
949
|
ListRetirableGrantsCommandOutput,
|
|
893
|
-
|
|
950
|
+
| Cause.TimeoutException
|
|
951
|
+
| SdkError
|
|
952
|
+
| DependencyTimeoutError
|
|
953
|
+
| InvalidArnError
|
|
954
|
+
| InvalidMarkerError
|
|
955
|
+
| KMSInternalError
|
|
956
|
+
| NotFoundError
|
|
894
957
|
>;
|
|
895
958
|
|
|
896
959
|
/**
|
|
@@ -901,6 +964,7 @@ interface KMSService$ {
|
|
|
901
964
|
options?: HttpHandlerOptions,
|
|
902
965
|
): Effect.Effect<
|
|
903
966
|
PutKeyPolicyCommandOutput,
|
|
967
|
+
| Cause.TimeoutException
|
|
904
968
|
| SdkError
|
|
905
969
|
| DependencyTimeoutError
|
|
906
970
|
| InvalidArnError
|
|
@@ -920,6 +984,7 @@ interface KMSService$ {
|
|
|
920
984
|
options?: HttpHandlerOptions,
|
|
921
985
|
): Effect.Effect<
|
|
922
986
|
ReEncryptCommandOutput,
|
|
987
|
+
| Cause.TimeoutException
|
|
923
988
|
| SdkError
|
|
924
989
|
| DependencyTimeoutError
|
|
925
990
|
| DisabledError
|
|
@@ -942,6 +1007,7 @@ interface KMSService$ {
|
|
|
942
1007
|
options?: HttpHandlerOptions,
|
|
943
1008
|
): Effect.Effect<
|
|
944
1009
|
ReplicateKeyCommandOutput,
|
|
1010
|
+
| Cause.TimeoutException
|
|
945
1011
|
| SdkError
|
|
946
1012
|
| AlreadyExistsError
|
|
947
1013
|
| DisabledError
|
|
@@ -963,6 +1029,7 @@ interface KMSService$ {
|
|
|
963
1029
|
options?: HttpHandlerOptions,
|
|
964
1030
|
): Effect.Effect<
|
|
965
1031
|
RetireGrantCommandOutput,
|
|
1032
|
+
| Cause.TimeoutException
|
|
966
1033
|
| SdkError
|
|
967
1034
|
| DependencyTimeoutError
|
|
968
1035
|
| DryRunOperationError
|
|
@@ -982,6 +1049,7 @@ interface KMSService$ {
|
|
|
982
1049
|
options?: HttpHandlerOptions,
|
|
983
1050
|
): Effect.Effect<
|
|
984
1051
|
RevokeGrantCommandOutput,
|
|
1052
|
+
| Cause.TimeoutException
|
|
985
1053
|
| SdkError
|
|
986
1054
|
| DependencyTimeoutError
|
|
987
1055
|
| DryRunOperationError
|
|
@@ -1000,6 +1068,7 @@ interface KMSService$ {
|
|
|
1000
1068
|
options?: HttpHandlerOptions,
|
|
1001
1069
|
): Effect.Effect<
|
|
1002
1070
|
RotateKeyOnDemandCommandOutput,
|
|
1071
|
+
| Cause.TimeoutException
|
|
1003
1072
|
| SdkError
|
|
1004
1073
|
| ConflictError
|
|
1005
1074
|
| DependencyTimeoutError
|
|
@@ -1020,7 +1089,13 @@ interface KMSService$ {
|
|
|
1020
1089
|
options?: HttpHandlerOptions,
|
|
1021
1090
|
): Effect.Effect<
|
|
1022
1091
|
ScheduleKeyDeletionCommandOutput,
|
|
1023
|
-
|
|
1092
|
+
| Cause.TimeoutException
|
|
1093
|
+
| SdkError
|
|
1094
|
+
| DependencyTimeoutError
|
|
1095
|
+
| InvalidArnError
|
|
1096
|
+
| KMSInternalError
|
|
1097
|
+
| KMSInvalidStateError
|
|
1098
|
+
| NotFoundError
|
|
1024
1099
|
>;
|
|
1025
1100
|
|
|
1026
1101
|
/**
|
|
@@ -1031,6 +1106,7 @@ interface KMSService$ {
|
|
|
1031
1106
|
options?: HttpHandlerOptions,
|
|
1032
1107
|
): Effect.Effect<
|
|
1033
1108
|
SignCommandOutput,
|
|
1109
|
+
| Cause.TimeoutException
|
|
1034
1110
|
| SdkError
|
|
1035
1111
|
| DependencyTimeoutError
|
|
1036
1112
|
| DisabledError
|
|
@@ -1051,7 +1127,14 @@ interface KMSService$ {
|
|
|
1051
1127
|
options?: HttpHandlerOptions,
|
|
1052
1128
|
): Effect.Effect<
|
|
1053
1129
|
TagResourceCommandOutput,
|
|
1054
|
-
|
|
1130
|
+
| Cause.TimeoutException
|
|
1131
|
+
| SdkError
|
|
1132
|
+
| InvalidArnError
|
|
1133
|
+
| KMSInternalError
|
|
1134
|
+
| KMSInvalidStateError
|
|
1135
|
+
| LimitExceededError
|
|
1136
|
+
| NotFoundError
|
|
1137
|
+
| TagError
|
|
1055
1138
|
>;
|
|
1056
1139
|
|
|
1057
1140
|
/**
|
|
@@ -1062,7 +1145,13 @@ interface KMSService$ {
|
|
|
1062
1145
|
options?: HttpHandlerOptions,
|
|
1063
1146
|
): Effect.Effect<
|
|
1064
1147
|
UntagResourceCommandOutput,
|
|
1065
|
-
|
|
1148
|
+
| Cause.TimeoutException
|
|
1149
|
+
| SdkError
|
|
1150
|
+
| InvalidArnError
|
|
1151
|
+
| KMSInternalError
|
|
1152
|
+
| KMSInvalidStateError
|
|
1153
|
+
| NotFoundError
|
|
1154
|
+
| TagError
|
|
1066
1155
|
>;
|
|
1067
1156
|
|
|
1068
1157
|
/**
|
|
@@ -1073,7 +1162,13 @@ interface KMSService$ {
|
|
|
1073
1162
|
options?: HttpHandlerOptions,
|
|
1074
1163
|
): Effect.Effect<
|
|
1075
1164
|
UpdateAliasCommandOutput,
|
|
1076
|
-
|
|
1165
|
+
| Cause.TimeoutException
|
|
1166
|
+
| SdkError
|
|
1167
|
+
| DependencyTimeoutError
|
|
1168
|
+
| KMSInternalError
|
|
1169
|
+
| KMSInvalidStateError
|
|
1170
|
+
| LimitExceededError
|
|
1171
|
+
| NotFoundError
|
|
1077
1172
|
>;
|
|
1078
1173
|
|
|
1079
1174
|
/**
|
|
@@ -1084,6 +1179,7 @@ interface KMSService$ {
|
|
|
1084
1179
|
options?: HttpHandlerOptions,
|
|
1085
1180
|
): Effect.Effect<
|
|
1086
1181
|
UpdateCustomKeyStoreCommandOutput,
|
|
1182
|
+
| Cause.TimeoutException
|
|
1087
1183
|
| SdkError
|
|
1088
1184
|
| CloudHsmClusterInvalidConfigurationError
|
|
1089
1185
|
| CloudHsmClusterNotActiveError
|
|
@@ -1112,7 +1208,13 @@ interface KMSService$ {
|
|
|
1112
1208
|
options?: HttpHandlerOptions,
|
|
1113
1209
|
): Effect.Effect<
|
|
1114
1210
|
UpdateKeyDescriptionCommandOutput,
|
|
1115
|
-
|
|
1211
|
+
| Cause.TimeoutException
|
|
1212
|
+
| SdkError
|
|
1213
|
+
| DependencyTimeoutError
|
|
1214
|
+
| InvalidArnError
|
|
1215
|
+
| KMSInternalError
|
|
1216
|
+
| KMSInvalidStateError
|
|
1217
|
+
| NotFoundError
|
|
1116
1218
|
>;
|
|
1117
1219
|
|
|
1118
1220
|
/**
|
|
@@ -1123,6 +1225,7 @@ interface KMSService$ {
|
|
|
1123
1225
|
options?: HttpHandlerOptions,
|
|
1124
1226
|
): Effect.Effect<
|
|
1125
1227
|
UpdatePrimaryRegionCommandOutput,
|
|
1228
|
+
| Cause.TimeoutException
|
|
1126
1229
|
| SdkError
|
|
1127
1230
|
| DisabledError
|
|
1128
1231
|
| InvalidArnError
|
|
@@ -1140,6 +1243,7 @@ interface KMSService$ {
|
|
|
1140
1243
|
options?: HttpHandlerOptions,
|
|
1141
1244
|
): Effect.Effect<
|
|
1142
1245
|
VerifyCommandOutput,
|
|
1246
|
+
| Cause.TimeoutException
|
|
1143
1247
|
| SdkError
|
|
1144
1248
|
| DependencyTimeoutError
|
|
1145
1249
|
| DisabledError
|
|
@@ -1161,6 +1265,7 @@ interface KMSService$ {
|
|
|
1161
1265
|
options?: HttpHandlerOptions,
|
|
1162
1266
|
): Effect.Effect<
|
|
1163
1267
|
VerifyMacCommandOutput,
|
|
1268
|
+
| Cause.TimeoutException
|
|
1164
1269
|
| SdkError
|
|
1165
1270
|
| DisabledError
|
|
1166
1271
|
| DryRunOperationError
|
|
@@ -1181,7 +1286,7 @@ interface KMSService$ {
|
|
|
1181
1286
|
export const makeKMSService = Effect.gen(function*() {
|
|
1182
1287
|
const client = yield* Instance.KMSClientInstance;
|
|
1183
1288
|
|
|
1184
|
-
return Service.fromClientAndCommands<KMSService$>(
|
|
1289
|
+
return yield* Service.fromClientAndCommands<KMSService$>(
|
|
1185
1290
|
client,
|
|
1186
1291
|
commands,
|
|
1187
1292
|
{
|