@effect-aws/client-elasticache 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/ElastiCacheService.d.ts +79 -78
- package/dist/cjs/ElastiCacheService.d.ts.map +1 -1
- package/dist/cjs/ElastiCacheService.js +1 -1
- package/dist/cjs/ElastiCacheService.js.map +1 -1
- 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/dts/ElastiCacheService.d.ts +79 -78
- package/dist/dts/ElastiCacheService.d.ts.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/esm/ElastiCacheService.js +1 -1
- package/dist/esm/ElastiCacheService.js.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/package.json +2 -2
- package/src/ElastiCacheService.ts +123 -22
- package/src/Errors.ts +1 -4
|
@@ -230,8 +230,9 @@ import {
|
|
|
230
230
|
type TestMigrationCommandInput,
|
|
231
231
|
type TestMigrationCommandOutput,
|
|
232
232
|
} from "@aws-sdk/client-elasticache";
|
|
233
|
-
import type { HttpHandlerOptions,
|
|
233
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
234
234
|
import { Service } from "@effect-aws/commons";
|
|
235
|
+
import type { Cause } from "effect";
|
|
235
236
|
import { Effect, Layer } from "effect";
|
|
236
237
|
import * as Instance from "./ElastiCacheClientInstance.js";
|
|
237
238
|
import * as ElastiCacheServiceConfig from "./ElastiCacheServiceConfig.js";
|
|
@@ -289,6 +290,7 @@ import type {
|
|
|
289
290
|
ReservedCacheNodeNotFoundFaultError,
|
|
290
291
|
ReservedCacheNodeQuotaExceededFaultError,
|
|
291
292
|
ReservedCacheNodesOfferingNotFoundFaultError,
|
|
293
|
+
SdkError,
|
|
292
294
|
ServerlessCacheAlreadyExistsFaultError,
|
|
293
295
|
ServerlessCacheNotFoundFaultError,
|
|
294
296
|
ServerlessCacheQuotaForCustomerExceededFaultError,
|
|
@@ -404,6 +406,7 @@ interface ElastiCacheService$ {
|
|
|
404
406
|
options?: HttpHandlerOptions,
|
|
405
407
|
): Effect.Effect<
|
|
406
408
|
AddTagsToResourceCommandOutput,
|
|
409
|
+
| Cause.TimeoutException
|
|
407
410
|
| SdkError
|
|
408
411
|
| CacheClusterNotFoundFaultError
|
|
409
412
|
| CacheParameterGroupNotFoundFaultError
|
|
@@ -431,6 +434,7 @@ interface ElastiCacheService$ {
|
|
|
431
434
|
options?: HttpHandlerOptions,
|
|
432
435
|
): Effect.Effect<
|
|
433
436
|
AuthorizeCacheSecurityGroupIngressCommandOutput,
|
|
437
|
+
| Cause.TimeoutException
|
|
434
438
|
| SdkError
|
|
435
439
|
| AuthorizationAlreadyExistsFaultError
|
|
436
440
|
| CacheSecurityGroupNotFoundFaultError
|
|
@@ -447,7 +451,7 @@ interface ElastiCacheService$ {
|
|
|
447
451
|
options?: HttpHandlerOptions,
|
|
448
452
|
): Effect.Effect<
|
|
449
453
|
BatchApplyUpdateActionCommandOutput,
|
|
450
|
-
SdkError | InvalidParameterValueError | ServiceUpdateNotFoundFaultError
|
|
454
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceUpdateNotFoundFaultError
|
|
451
455
|
>;
|
|
452
456
|
|
|
453
457
|
/**
|
|
@@ -458,7 +462,7 @@ interface ElastiCacheService$ {
|
|
|
458
462
|
options?: HttpHandlerOptions,
|
|
459
463
|
): Effect.Effect<
|
|
460
464
|
BatchStopUpdateActionCommandOutput,
|
|
461
|
-
SdkError | InvalidParameterValueError | ServiceUpdateNotFoundFaultError
|
|
465
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceUpdateNotFoundFaultError
|
|
462
466
|
>;
|
|
463
467
|
|
|
464
468
|
/**
|
|
@@ -469,6 +473,7 @@ interface ElastiCacheService$ {
|
|
|
469
473
|
options?: HttpHandlerOptions,
|
|
470
474
|
): Effect.Effect<
|
|
471
475
|
CompleteMigrationCommandOutput,
|
|
476
|
+
| Cause.TimeoutException
|
|
472
477
|
| SdkError
|
|
473
478
|
| InvalidReplicationGroupStateFaultError
|
|
474
479
|
| ReplicationGroupNotFoundFaultError
|
|
@@ -483,6 +488,7 @@ interface ElastiCacheService$ {
|
|
|
483
488
|
options?: HttpHandlerOptions,
|
|
484
489
|
): Effect.Effect<
|
|
485
490
|
CopyServerlessCacheSnapshotCommandOutput,
|
|
491
|
+
| Cause.TimeoutException
|
|
486
492
|
| SdkError
|
|
487
493
|
| InvalidParameterCombinationError
|
|
488
494
|
| InvalidParameterValueError
|
|
@@ -502,6 +508,7 @@ interface ElastiCacheService$ {
|
|
|
502
508
|
options?: HttpHandlerOptions,
|
|
503
509
|
): Effect.Effect<
|
|
504
510
|
CopySnapshotCommandOutput,
|
|
511
|
+
| Cause.TimeoutException
|
|
505
512
|
| SdkError
|
|
506
513
|
| InvalidParameterCombinationError
|
|
507
514
|
| InvalidParameterValueError
|
|
@@ -520,6 +527,7 @@ interface ElastiCacheService$ {
|
|
|
520
527
|
options?: HttpHandlerOptions,
|
|
521
528
|
): Effect.Effect<
|
|
522
529
|
CreateCacheClusterCommandOutput,
|
|
530
|
+
| Cause.TimeoutException
|
|
523
531
|
| SdkError
|
|
524
532
|
| CacheClusterAlreadyExistsFaultError
|
|
525
533
|
| CacheParameterGroupNotFoundFaultError
|
|
@@ -545,6 +553,7 @@ interface ElastiCacheService$ {
|
|
|
545
553
|
options?: HttpHandlerOptions,
|
|
546
554
|
): Effect.Effect<
|
|
547
555
|
CreateCacheParameterGroupCommandOutput,
|
|
556
|
+
| Cause.TimeoutException
|
|
548
557
|
| SdkError
|
|
549
558
|
| CacheParameterGroupAlreadyExistsFaultError
|
|
550
559
|
| CacheParameterGroupQuotaExceededFaultError
|
|
@@ -562,6 +571,7 @@ interface ElastiCacheService$ {
|
|
|
562
571
|
options?: HttpHandlerOptions,
|
|
563
572
|
): Effect.Effect<
|
|
564
573
|
CreateCacheSecurityGroupCommandOutput,
|
|
574
|
+
| Cause.TimeoutException
|
|
565
575
|
| SdkError
|
|
566
576
|
| CacheSecurityGroupAlreadyExistsFaultError
|
|
567
577
|
| CacheSecurityGroupQuotaExceededFaultError
|
|
@@ -578,6 +588,7 @@ interface ElastiCacheService$ {
|
|
|
578
588
|
options?: HttpHandlerOptions,
|
|
579
589
|
): Effect.Effect<
|
|
580
590
|
CreateCacheSubnetGroupCommandOutput,
|
|
591
|
+
| Cause.TimeoutException
|
|
581
592
|
| SdkError
|
|
582
593
|
| CacheSubnetGroupAlreadyExistsFaultError
|
|
583
594
|
| CacheSubnetGroupQuotaExceededFaultError
|
|
@@ -595,6 +606,7 @@ interface ElastiCacheService$ {
|
|
|
595
606
|
options?: HttpHandlerOptions,
|
|
596
607
|
): Effect.Effect<
|
|
597
608
|
CreateGlobalReplicationGroupCommandOutput,
|
|
609
|
+
| Cause.TimeoutException
|
|
598
610
|
| SdkError
|
|
599
611
|
| GlobalReplicationGroupAlreadyExistsFaultError
|
|
600
612
|
| InvalidParameterValueError
|
|
@@ -611,6 +623,7 @@ interface ElastiCacheService$ {
|
|
|
611
623
|
options?: HttpHandlerOptions,
|
|
612
624
|
): Effect.Effect<
|
|
613
625
|
CreateReplicationGroupCommandOutput,
|
|
626
|
+
| Cause.TimeoutException
|
|
614
627
|
| SdkError
|
|
615
628
|
| CacheClusterNotFoundFaultError
|
|
616
629
|
| CacheParameterGroupNotFoundFaultError
|
|
@@ -641,6 +654,7 @@ interface ElastiCacheService$ {
|
|
|
641
654
|
options?: HttpHandlerOptions,
|
|
642
655
|
): Effect.Effect<
|
|
643
656
|
CreateServerlessCacheCommandOutput,
|
|
657
|
+
| Cause.TimeoutException
|
|
644
658
|
| SdkError
|
|
645
659
|
| InvalidCredentialsError
|
|
646
660
|
| InvalidParameterCombinationError
|
|
@@ -663,6 +677,7 @@ interface ElastiCacheService$ {
|
|
|
663
677
|
options?: HttpHandlerOptions,
|
|
664
678
|
): Effect.Effect<
|
|
665
679
|
CreateServerlessCacheSnapshotCommandOutput,
|
|
680
|
+
| Cause.TimeoutException
|
|
666
681
|
| SdkError
|
|
667
682
|
| InvalidParameterCombinationError
|
|
668
683
|
| InvalidParameterValueError
|
|
@@ -682,6 +697,7 @@ interface ElastiCacheService$ {
|
|
|
682
697
|
options?: HttpHandlerOptions,
|
|
683
698
|
): Effect.Effect<
|
|
684
699
|
CreateSnapshotCommandOutput,
|
|
700
|
+
| Cause.TimeoutException
|
|
685
701
|
| SdkError
|
|
686
702
|
| CacheClusterNotFoundFaultError
|
|
687
703
|
| InvalidCacheClusterStateFaultError
|
|
@@ -703,6 +719,7 @@ interface ElastiCacheService$ {
|
|
|
703
719
|
options?: HttpHandlerOptions,
|
|
704
720
|
): Effect.Effect<
|
|
705
721
|
CreateUserCommandOutput,
|
|
722
|
+
| Cause.TimeoutException
|
|
706
723
|
| SdkError
|
|
707
724
|
| DuplicateUserNameFaultError
|
|
708
725
|
| InvalidParameterCombinationError
|
|
@@ -721,6 +738,7 @@ interface ElastiCacheService$ {
|
|
|
721
738
|
options?: HttpHandlerOptions,
|
|
722
739
|
): Effect.Effect<
|
|
723
740
|
CreateUserGroupCommandOutput,
|
|
741
|
+
| Cause.TimeoutException
|
|
724
742
|
| SdkError
|
|
725
743
|
| DefaultUserRequiredError
|
|
726
744
|
| DuplicateUserNameFaultError
|
|
@@ -740,6 +758,7 @@ interface ElastiCacheService$ {
|
|
|
740
758
|
options?: HttpHandlerOptions,
|
|
741
759
|
): Effect.Effect<
|
|
742
760
|
DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput,
|
|
761
|
+
| Cause.TimeoutException
|
|
743
762
|
| SdkError
|
|
744
763
|
| GlobalReplicationGroupNotFoundFaultError
|
|
745
764
|
| InvalidGlobalReplicationGroupStateFaultError
|
|
@@ -755,6 +774,7 @@ interface ElastiCacheService$ {
|
|
|
755
774
|
options?: HttpHandlerOptions,
|
|
756
775
|
): Effect.Effect<
|
|
757
776
|
DecreaseReplicaCountCommandOutput,
|
|
777
|
+
| Cause.TimeoutException
|
|
758
778
|
| SdkError
|
|
759
779
|
| ClusterQuotaForCustomerExceededFaultError
|
|
760
780
|
| InsufficientCacheClusterCapacityFaultError
|
|
@@ -778,6 +798,7 @@ interface ElastiCacheService$ {
|
|
|
778
798
|
options?: HttpHandlerOptions,
|
|
779
799
|
): Effect.Effect<
|
|
780
800
|
DeleteCacheClusterCommandOutput,
|
|
801
|
+
| Cause.TimeoutException
|
|
781
802
|
| SdkError
|
|
782
803
|
| CacheClusterNotFoundFaultError
|
|
783
804
|
| InvalidCacheClusterStateFaultError
|
|
@@ -796,6 +817,7 @@ interface ElastiCacheService$ {
|
|
|
796
817
|
options?: HttpHandlerOptions,
|
|
797
818
|
): Effect.Effect<
|
|
798
819
|
DeleteCacheParameterGroupCommandOutput,
|
|
820
|
+
| Cause.TimeoutException
|
|
799
821
|
| SdkError
|
|
800
822
|
| CacheParameterGroupNotFoundFaultError
|
|
801
823
|
| InvalidCacheParameterGroupStateFaultError
|
|
@@ -811,6 +833,7 @@ interface ElastiCacheService$ {
|
|
|
811
833
|
options?: HttpHandlerOptions,
|
|
812
834
|
): Effect.Effect<
|
|
813
835
|
DeleteCacheSecurityGroupCommandOutput,
|
|
836
|
+
| Cause.TimeoutException
|
|
814
837
|
| SdkError
|
|
815
838
|
| CacheSecurityGroupNotFoundFaultError
|
|
816
839
|
| InvalidCacheSecurityGroupStateFaultError
|
|
@@ -826,7 +849,7 @@ interface ElastiCacheService$ {
|
|
|
826
849
|
options?: HttpHandlerOptions,
|
|
827
850
|
): Effect.Effect<
|
|
828
851
|
DeleteCacheSubnetGroupCommandOutput,
|
|
829
|
-
SdkError | CacheSubnetGroupInUseError | CacheSubnetGroupNotFoundFaultError
|
|
852
|
+
Cause.TimeoutException | SdkError | CacheSubnetGroupInUseError | CacheSubnetGroupNotFoundFaultError
|
|
830
853
|
>;
|
|
831
854
|
|
|
832
855
|
/**
|
|
@@ -837,6 +860,7 @@ interface ElastiCacheService$ {
|
|
|
837
860
|
options?: HttpHandlerOptions,
|
|
838
861
|
): Effect.Effect<
|
|
839
862
|
DeleteGlobalReplicationGroupCommandOutput,
|
|
863
|
+
| Cause.TimeoutException
|
|
840
864
|
| SdkError
|
|
841
865
|
| GlobalReplicationGroupNotFoundFaultError
|
|
842
866
|
| InvalidGlobalReplicationGroupStateFaultError
|
|
@@ -851,6 +875,7 @@ interface ElastiCacheService$ {
|
|
|
851
875
|
options?: HttpHandlerOptions,
|
|
852
876
|
): Effect.Effect<
|
|
853
877
|
DeleteReplicationGroupCommandOutput,
|
|
878
|
+
| Cause.TimeoutException
|
|
854
879
|
| SdkError
|
|
855
880
|
| InvalidParameterCombinationError
|
|
856
881
|
| InvalidParameterValueError
|
|
@@ -869,6 +894,7 @@ interface ElastiCacheService$ {
|
|
|
869
894
|
options?: HttpHandlerOptions,
|
|
870
895
|
): Effect.Effect<
|
|
871
896
|
DeleteServerlessCacheCommandOutput,
|
|
897
|
+
| Cause.TimeoutException
|
|
872
898
|
| SdkError
|
|
873
899
|
| InvalidCredentialsError
|
|
874
900
|
| InvalidParameterCombinationError
|
|
@@ -887,6 +913,7 @@ interface ElastiCacheService$ {
|
|
|
887
913
|
options?: HttpHandlerOptions,
|
|
888
914
|
): Effect.Effect<
|
|
889
915
|
DeleteServerlessCacheSnapshotCommandOutput,
|
|
916
|
+
| Cause.TimeoutException
|
|
890
917
|
| SdkError
|
|
891
918
|
| InvalidParameterValueError
|
|
892
919
|
| InvalidServerlessCacheSnapshotStateFaultError
|
|
@@ -902,6 +929,7 @@ interface ElastiCacheService$ {
|
|
|
902
929
|
options?: HttpHandlerOptions,
|
|
903
930
|
): Effect.Effect<
|
|
904
931
|
DeleteSnapshotCommandOutput,
|
|
932
|
+
| Cause.TimeoutException
|
|
905
933
|
| SdkError
|
|
906
934
|
| InvalidParameterCombinationError
|
|
907
935
|
| InvalidParameterValueError
|
|
@@ -917,6 +945,7 @@ interface ElastiCacheService$ {
|
|
|
917
945
|
options?: HttpHandlerOptions,
|
|
918
946
|
): Effect.Effect<
|
|
919
947
|
DeleteUserCommandOutput,
|
|
948
|
+
| Cause.TimeoutException
|
|
920
949
|
| SdkError
|
|
921
950
|
| DefaultUserAssociatedToUserGroupFaultError
|
|
922
951
|
| InvalidParameterValueError
|
|
@@ -933,6 +962,7 @@ interface ElastiCacheService$ {
|
|
|
933
962
|
options?: HttpHandlerOptions,
|
|
934
963
|
): Effect.Effect<
|
|
935
964
|
DeleteUserGroupCommandOutput,
|
|
965
|
+
| Cause.TimeoutException
|
|
936
966
|
| SdkError
|
|
937
967
|
| InvalidParameterValueError
|
|
938
968
|
| InvalidUserGroupStateFaultError
|
|
@@ -948,7 +978,11 @@ interface ElastiCacheService$ {
|
|
|
948
978
|
options?: HttpHandlerOptions,
|
|
949
979
|
): Effect.Effect<
|
|
950
980
|
DescribeCacheClustersCommandOutput,
|
|
951
|
-
|
|
981
|
+
| Cause.TimeoutException
|
|
982
|
+
| SdkError
|
|
983
|
+
| CacheClusterNotFoundFaultError
|
|
984
|
+
| InvalidParameterCombinationError
|
|
985
|
+
| InvalidParameterValueError
|
|
952
986
|
>;
|
|
953
987
|
|
|
954
988
|
/**
|
|
@@ -959,7 +993,7 @@ interface ElastiCacheService$ {
|
|
|
959
993
|
options?: HttpHandlerOptions,
|
|
960
994
|
): Effect.Effect<
|
|
961
995
|
DescribeCacheEngineVersionsCommandOutput,
|
|
962
|
-
SdkError
|
|
996
|
+
Cause.TimeoutException | SdkError
|
|
963
997
|
>;
|
|
964
998
|
|
|
965
999
|
/**
|
|
@@ -970,7 +1004,11 @@ interface ElastiCacheService$ {
|
|
|
970
1004
|
options?: HttpHandlerOptions,
|
|
971
1005
|
): Effect.Effect<
|
|
972
1006
|
DescribeCacheParameterGroupsCommandOutput,
|
|
973
|
-
|
|
1007
|
+
| Cause.TimeoutException
|
|
1008
|
+
| SdkError
|
|
1009
|
+
| CacheParameterGroupNotFoundFaultError
|
|
1010
|
+
| InvalidParameterCombinationError
|
|
1011
|
+
| InvalidParameterValueError
|
|
974
1012
|
>;
|
|
975
1013
|
|
|
976
1014
|
/**
|
|
@@ -981,7 +1019,11 @@ interface ElastiCacheService$ {
|
|
|
981
1019
|
options?: HttpHandlerOptions,
|
|
982
1020
|
): Effect.Effect<
|
|
983
1021
|
DescribeCacheParametersCommandOutput,
|
|
984
|
-
|
|
1022
|
+
| Cause.TimeoutException
|
|
1023
|
+
| SdkError
|
|
1024
|
+
| CacheParameterGroupNotFoundFaultError
|
|
1025
|
+
| InvalidParameterCombinationError
|
|
1026
|
+
| InvalidParameterValueError
|
|
985
1027
|
>;
|
|
986
1028
|
|
|
987
1029
|
/**
|
|
@@ -992,7 +1034,11 @@ interface ElastiCacheService$ {
|
|
|
992
1034
|
options?: HttpHandlerOptions,
|
|
993
1035
|
): Effect.Effect<
|
|
994
1036
|
DescribeCacheSecurityGroupsCommandOutput,
|
|
995
|
-
|
|
1037
|
+
| Cause.TimeoutException
|
|
1038
|
+
| SdkError
|
|
1039
|
+
| CacheSecurityGroupNotFoundFaultError
|
|
1040
|
+
| InvalidParameterCombinationError
|
|
1041
|
+
| InvalidParameterValueError
|
|
996
1042
|
>;
|
|
997
1043
|
|
|
998
1044
|
/**
|
|
@@ -1003,7 +1049,7 @@ interface ElastiCacheService$ {
|
|
|
1003
1049
|
options?: HttpHandlerOptions,
|
|
1004
1050
|
): Effect.Effect<
|
|
1005
1051
|
DescribeCacheSubnetGroupsCommandOutput,
|
|
1006
|
-
SdkError | CacheSubnetGroupNotFoundFaultError
|
|
1052
|
+
Cause.TimeoutException | SdkError | CacheSubnetGroupNotFoundFaultError
|
|
1007
1053
|
>;
|
|
1008
1054
|
|
|
1009
1055
|
/**
|
|
@@ -1014,7 +1060,7 @@ interface ElastiCacheService$ {
|
|
|
1014
1060
|
options?: HttpHandlerOptions,
|
|
1015
1061
|
): Effect.Effect<
|
|
1016
1062
|
DescribeEngineDefaultParametersCommandOutput,
|
|
1017
|
-
SdkError | InvalidParameterCombinationError | InvalidParameterValueError
|
|
1063
|
+
Cause.TimeoutException | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
|
|
1018
1064
|
>;
|
|
1019
1065
|
|
|
1020
1066
|
/**
|
|
@@ -1025,7 +1071,7 @@ interface ElastiCacheService$ {
|
|
|
1025
1071
|
options?: HttpHandlerOptions,
|
|
1026
1072
|
): Effect.Effect<
|
|
1027
1073
|
DescribeEventsCommandOutput,
|
|
1028
|
-
SdkError | InvalidParameterCombinationError | InvalidParameterValueError
|
|
1074
|
+
Cause.TimeoutException | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
|
|
1029
1075
|
>;
|
|
1030
1076
|
|
|
1031
1077
|
/**
|
|
@@ -1036,7 +1082,11 @@ interface ElastiCacheService$ {
|
|
|
1036
1082
|
options?: HttpHandlerOptions,
|
|
1037
1083
|
): Effect.Effect<
|
|
1038
1084
|
DescribeGlobalReplicationGroupsCommandOutput,
|
|
1039
|
-
|
|
1085
|
+
| Cause.TimeoutException
|
|
1086
|
+
| SdkError
|
|
1087
|
+
| GlobalReplicationGroupNotFoundFaultError
|
|
1088
|
+
| InvalidParameterCombinationError
|
|
1089
|
+
| InvalidParameterValueError
|
|
1040
1090
|
>;
|
|
1041
1091
|
|
|
1042
1092
|
/**
|
|
@@ -1047,7 +1097,11 @@ interface ElastiCacheService$ {
|
|
|
1047
1097
|
options?: HttpHandlerOptions,
|
|
1048
1098
|
): Effect.Effect<
|
|
1049
1099
|
DescribeReplicationGroupsCommandOutput,
|
|
1050
|
-
|
|
1100
|
+
| Cause.TimeoutException
|
|
1101
|
+
| SdkError
|
|
1102
|
+
| InvalidParameterCombinationError
|
|
1103
|
+
| InvalidParameterValueError
|
|
1104
|
+
| ReplicationGroupNotFoundFaultError
|
|
1051
1105
|
>;
|
|
1052
1106
|
|
|
1053
1107
|
/**
|
|
@@ -1058,7 +1112,11 @@ interface ElastiCacheService$ {
|
|
|
1058
1112
|
options?: HttpHandlerOptions,
|
|
1059
1113
|
): Effect.Effect<
|
|
1060
1114
|
DescribeReservedCacheNodesCommandOutput,
|
|
1061
|
-
|
|
1115
|
+
| Cause.TimeoutException
|
|
1116
|
+
| SdkError
|
|
1117
|
+
| InvalidParameterCombinationError
|
|
1118
|
+
| InvalidParameterValueError
|
|
1119
|
+
| ReservedCacheNodeNotFoundFaultError
|
|
1062
1120
|
>;
|
|
1063
1121
|
|
|
1064
1122
|
/**
|
|
@@ -1069,6 +1127,7 @@ interface ElastiCacheService$ {
|
|
|
1069
1127
|
options?: HttpHandlerOptions,
|
|
1070
1128
|
): Effect.Effect<
|
|
1071
1129
|
DescribeReservedCacheNodesOfferingsCommandOutput,
|
|
1130
|
+
| Cause.TimeoutException
|
|
1072
1131
|
| SdkError
|
|
1073
1132
|
| InvalidParameterCombinationError
|
|
1074
1133
|
| InvalidParameterValueError
|
|
@@ -1083,6 +1142,7 @@ interface ElastiCacheService$ {
|
|
|
1083
1142
|
options?: HttpHandlerOptions,
|
|
1084
1143
|
): Effect.Effect<
|
|
1085
1144
|
DescribeServerlessCacheSnapshotsCommandOutput,
|
|
1145
|
+
| Cause.TimeoutException
|
|
1086
1146
|
| SdkError
|
|
1087
1147
|
| InvalidParameterCombinationError
|
|
1088
1148
|
| InvalidParameterValueError
|
|
@@ -1098,7 +1158,11 @@ interface ElastiCacheService$ {
|
|
|
1098
1158
|
options?: HttpHandlerOptions,
|
|
1099
1159
|
): Effect.Effect<
|
|
1100
1160
|
DescribeServerlessCachesCommandOutput,
|
|
1101
|
-
|
|
1161
|
+
| Cause.TimeoutException
|
|
1162
|
+
| SdkError
|
|
1163
|
+
| InvalidParameterCombinationError
|
|
1164
|
+
| InvalidParameterValueError
|
|
1165
|
+
| ServerlessCacheNotFoundFaultError
|
|
1102
1166
|
>;
|
|
1103
1167
|
|
|
1104
1168
|
/**
|
|
@@ -1109,7 +1173,11 @@ interface ElastiCacheService$ {
|
|
|
1109
1173
|
options?: HttpHandlerOptions,
|
|
1110
1174
|
): Effect.Effect<
|
|
1111
1175
|
DescribeServiceUpdatesCommandOutput,
|
|
1112
|
-
|
|
1176
|
+
| Cause.TimeoutException
|
|
1177
|
+
| SdkError
|
|
1178
|
+
| InvalidParameterCombinationError
|
|
1179
|
+
| InvalidParameterValueError
|
|
1180
|
+
| ServiceUpdateNotFoundFaultError
|
|
1113
1181
|
>;
|
|
1114
1182
|
|
|
1115
1183
|
/**
|
|
@@ -1120,6 +1188,7 @@ interface ElastiCacheService$ {
|
|
|
1120
1188
|
options?: HttpHandlerOptions,
|
|
1121
1189
|
): Effect.Effect<
|
|
1122
1190
|
DescribeSnapshotsCommandOutput,
|
|
1191
|
+
| Cause.TimeoutException
|
|
1123
1192
|
| SdkError
|
|
1124
1193
|
| CacheClusterNotFoundFaultError
|
|
1125
1194
|
| InvalidParameterCombinationError
|
|
@@ -1135,7 +1204,7 @@ interface ElastiCacheService$ {
|
|
|
1135
1204
|
options?: HttpHandlerOptions,
|
|
1136
1205
|
): Effect.Effect<
|
|
1137
1206
|
DescribeUpdateActionsCommandOutput,
|
|
1138
|
-
SdkError | InvalidParameterCombinationError | InvalidParameterValueError
|
|
1207
|
+
Cause.TimeoutException | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
|
|
1139
1208
|
>;
|
|
1140
1209
|
|
|
1141
1210
|
/**
|
|
@@ -1146,7 +1215,11 @@ interface ElastiCacheService$ {
|
|
|
1146
1215
|
options?: HttpHandlerOptions,
|
|
1147
1216
|
): Effect.Effect<
|
|
1148
1217
|
DescribeUserGroupsCommandOutput,
|
|
1149
|
-
|
|
1218
|
+
| Cause.TimeoutException
|
|
1219
|
+
| SdkError
|
|
1220
|
+
| InvalidParameterCombinationError
|
|
1221
|
+
| ServiceLinkedRoleNotFoundFaultError
|
|
1222
|
+
| UserGroupNotFoundFaultError
|
|
1150
1223
|
>;
|
|
1151
1224
|
|
|
1152
1225
|
/**
|
|
@@ -1157,7 +1230,11 @@ interface ElastiCacheService$ {
|
|
|
1157
1230
|
options?: HttpHandlerOptions,
|
|
1158
1231
|
): Effect.Effect<
|
|
1159
1232
|
DescribeUsersCommandOutput,
|
|
1160
|
-
|
|
1233
|
+
| Cause.TimeoutException
|
|
1234
|
+
| SdkError
|
|
1235
|
+
| InvalidParameterCombinationError
|
|
1236
|
+
| ServiceLinkedRoleNotFoundFaultError
|
|
1237
|
+
| UserNotFoundFaultError
|
|
1161
1238
|
>;
|
|
1162
1239
|
|
|
1163
1240
|
/**
|
|
@@ -1168,6 +1245,7 @@ interface ElastiCacheService$ {
|
|
|
1168
1245
|
options?: HttpHandlerOptions,
|
|
1169
1246
|
): Effect.Effect<
|
|
1170
1247
|
DisassociateGlobalReplicationGroupCommandOutput,
|
|
1248
|
+
| Cause.TimeoutException
|
|
1171
1249
|
| SdkError
|
|
1172
1250
|
| GlobalReplicationGroupNotFoundFaultError
|
|
1173
1251
|
| InvalidGlobalReplicationGroupStateFaultError
|
|
@@ -1183,6 +1261,7 @@ interface ElastiCacheService$ {
|
|
|
1183
1261
|
options?: HttpHandlerOptions,
|
|
1184
1262
|
): Effect.Effect<
|
|
1185
1263
|
ExportServerlessCacheSnapshotCommandOutput,
|
|
1264
|
+
| Cause.TimeoutException
|
|
1186
1265
|
| SdkError
|
|
1187
1266
|
| InvalidParameterValueError
|
|
1188
1267
|
| InvalidServerlessCacheSnapshotStateFaultError
|
|
@@ -1198,6 +1277,7 @@ interface ElastiCacheService$ {
|
|
|
1198
1277
|
options?: HttpHandlerOptions,
|
|
1199
1278
|
): Effect.Effect<
|
|
1200
1279
|
FailoverGlobalReplicationGroupCommandOutput,
|
|
1280
|
+
| Cause.TimeoutException
|
|
1201
1281
|
| SdkError
|
|
1202
1282
|
| GlobalReplicationGroupNotFoundFaultError
|
|
1203
1283
|
| InvalidGlobalReplicationGroupStateFaultError
|
|
@@ -1213,6 +1293,7 @@ interface ElastiCacheService$ {
|
|
|
1213
1293
|
options?: HttpHandlerOptions,
|
|
1214
1294
|
): Effect.Effect<
|
|
1215
1295
|
IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput,
|
|
1296
|
+
| Cause.TimeoutException
|
|
1216
1297
|
| SdkError
|
|
1217
1298
|
| GlobalReplicationGroupNotFoundFaultError
|
|
1218
1299
|
| InvalidGlobalReplicationGroupStateFaultError
|
|
@@ -1227,6 +1308,7 @@ interface ElastiCacheService$ {
|
|
|
1227
1308
|
options?: HttpHandlerOptions,
|
|
1228
1309
|
): Effect.Effect<
|
|
1229
1310
|
IncreaseReplicaCountCommandOutput,
|
|
1311
|
+
| Cause.TimeoutException
|
|
1230
1312
|
| SdkError
|
|
1231
1313
|
| ClusterQuotaForCustomerExceededFaultError
|
|
1232
1314
|
| InsufficientCacheClusterCapacityFaultError
|
|
@@ -1250,6 +1332,7 @@ interface ElastiCacheService$ {
|
|
|
1250
1332
|
options?: HttpHandlerOptions,
|
|
1251
1333
|
): Effect.Effect<
|
|
1252
1334
|
ListAllowedNodeTypeModificationsCommandOutput,
|
|
1335
|
+
| Cause.TimeoutException
|
|
1253
1336
|
| SdkError
|
|
1254
1337
|
| CacheClusterNotFoundFaultError
|
|
1255
1338
|
| InvalidParameterCombinationError
|
|
@@ -1265,6 +1348,7 @@ interface ElastiCacheService$ {
|
|
|
1265
1348
|
options?: HttpHandlerOptions,
|
|
1266
1349
|
): Effect.Effect<
|
|
1267
1350
|
ListTagsForResourceCommandOutput,
|
|
1351
|
+
| Cause.TimeoutException
|
|
1268
1352
|
| SdkError
|
|
1269
1353
|
| CacheClusterNotFoundFaultError
|
|
1270
1354
|
| CacheParameterGroupNotFoundFaultError
|
|
@@ -1291,6 +1375,7 @@ interface ElastiCacheService$ {
|
|
|
1291
1375
|
options?: HttpHandlerOptions,
|
|
1292
1376
|
): Effect.Effect<
|
|
1293
1377
|
ModifyCacheClusterCommandOutput,
|
|
1378
|
+
| Cause.TimeoutException
|
|
1294
1379
|
| SdkError
|
|
1295
1380
|
| CacheClusterNotFoundFaultError
|
|
1296
1381
|
| CacheParameterGroupNotFoundFaultError
|
|
@@ -1313,6 +1398,7 @@ interface ElastiCacheService$ {
|
|
|
1313
1398
|
options?: HttpHandlerOptions,
|
|
1314
1399
|
): Effect.Effect<
|
|
1315
1400
|
ModifyCacheParameterGroupCommandOutput,
|
|
1401
|
+
| Cause.TimeoutException
|
|
1316
1402
|
| SdkError
|
|
1317
1403
|
| CacheParameterGroupNotFoundFaultError
|
|
1318
1404
|
| InvalidCacheParameterGroupStateFaultError
|
|
@@ -1329,6 +1415,7 @@ interface ElastiCacheService$ {
|
|
|
1329
1415
|
options?: HttpHandlerOptions,
|
|
1330
1416
|
): Effect.Effect<
|
|
1331
1417
|
ModifyCacheSubnetGroupCommandOutput,
|
|
1418
|
+
| Cause.TimeoutException
|
|
1332
1419
|
| SdkError
|
|
1333
1420
|
| CacheSubnetGroupNotFoundFaultError
|
|
1334
1421
|
| CacheSubnetQuotaExceededFaultError
|
|
@@ -1345,6 +1432,7 @@ interface ElastiCacheService$ {
|
|
|
1345
1432
|
options?: HttpHandlerOptions,
|
|
1346
1433
|
): Effect.Effect<
|
|
1347
1434
|
ModifyGlobalReplicationGroupCommandOutput,
|
|
1435
|
+
| Cause.TimeoutException
|
|
1348
1436
|
| SdkError
|
|
1349
1437
|
| GlobalReplicationGroupNotFoundFaultError
|
|
1350
1438
|
| InvalidGlobalReplicationGroupStateFaultError
|
|
@@ -1359,6 +1447,7 @@ interface ElastiCacheService$ {
|
|
|
1359
1447
|
options?: HttpHandlerOptions,
|
|
1360
1448
|
): Effect.Effect<
|
|
1361
1449
|
ModifyReplicationGroupCommandOutput,
|
|
1450
|
+
| Cause.TimeoutException
|
|
1362
1451
|
| SdkError
|
|
1363
1452
|
| CacheClusterNotFoundFaultError
|
|
1364
1453
|
| CacheParameterGroupNotFoundFaultError
|
|
@@ -1386,6 +1475,7 @@ interface ElastiCacheService$ {
|
|
|
1386
1475
|
options?: HttpHandlerOptions,
|
|
1387
1476
|
): Effect.Effect<
|
|
1388
1477
|
ModifyReplicationGroupShardConfigurationCommandOutput,
|
|
1478
|
+
| Cause.TimeoutException
|
|
1389
1479
|
| SdkError
|
|
1390
1480
|
| InsufficientCacheClusterCapacityFaultError
|
|
1391
1481
|
| InvalidCacheClusterStateFaultError
|
|
@@ -1407,6 +1497,7 @@ interface ElastiCacheService$ {
|
|
|
1407
1497
|
options?: HttpHandlerOptions,
|
|
1408
1498
|
): Effect.Effect<
|
|
1409
1499
|
ModifyServerlessCacheCommandOutput,
|
|
1500
|
+
| Cause.TimeoutException
|
|
1410
1501
|
| SdkError
|
|
1411
1502
|
| InvalidCredentialsError
|
|
1412
1503
|
| InvalidParameterCombinationError
|
|
@@ -1426,6 +1517,7 @@ interface ElastiCacheService$ {
|
|
|
1426
1517
|
options?: HttpHandlerOptions,
|
|
1427
1518
|
): Effect.Effect<
|
|
1428
1519
|
ModifyUserCommandOutput,
|
|
1520
|
+
| Cause.TimeoutException
|
|
1429
1521
|
| SdkError
|
|
1430
1522
|
| InvalidParameterCombinationError
|
|
1431
1523
|
| InvalidParameterValueError
|
|
@@ -1442,6 +1534,7 @@ interface ElastiCacheService$ {
|
|
|
1442
1534
|
options?: HttpHandlerOptions,
|
|
1443
1535
|
): Effect.Effect<
|
|
1444
1536
|
ModifyUserGroupCommandOutput,
|
|
1537
|
+
| Cause.TimeoutException
|
|
1445
1538
|
| SdkError
|
|
1446
1539
|
| DefaultUserRequiredError
|
|
1447
1540
|
| DuplicateUserNameFaultError
|
|
@@ -1461,6 +1554,7 @@ interface ElastiCacheService$ {
|
|
|
1461
1554
|
options?: HttpHandlerOptions,
|
|
1462
1555
|
): Effect.Effect<
|
|
1463
1556
|
PurchaseReservedCacheNodesOfferingCommandOutput,
|
|
1557
|
+
| Cause.TimeoutException
|
|
1464
1558
|
| SdkError
|
|
1465
1559
|
| InvalidParameterCombinationError
|
|
1466
1560
|
| InvalidParameterValueError
|
|
@@ -1478,6 +1572,7 @@ interface ElastiCacheService$ {
|
|
|
1478
1572
|
options?: HttpHandlerOptions,
|
|
1479
1573
|
): Effect.Effect<
|
|
1480
1574
|
RebalanceSlotsInGlobalReplicationGroupCommandOutput,
|
|
1575
|
+
| Cause.TimeoutException
|
|
1481
1576
|
| SdkError
|
|
1482
1577
|
| GlobalReplicationGroupNotFoundFaultError
|
|
1483
1578
|
| InvalidGlobalReplicationGroupStateFaultError
|
|
@@ -1492,7 +1587,7 @@ interface ElastiCacheService$ {
|
|
|
1492
1587
|
options?: HttpHandlerOptions,
|
|
1493
1588
|
): Effect.Effect<
|
|
1494
1589
|
RebootCacheClusterCommandOutput,
|
|
1495
|
-
SdkError | CacheClusterNotFoundFaultError | InvalidCacheClusterStateFaultError
|
|
1590
|
+
Cause.TimeoutException | SdkError | CacheClusterNotFoundFaultError | InvalidCacheClusterStateFaultError
|
|
1496
1591
|
>;
|
|
1497
1592
|
|
|
1498
1593
|
/**
|
|
@@ -1503,6 +1598,7 @@ interface ElastiCacheService$ {
|
|
|
1503
1598
|
options?: HttpHandlerOptions,
|
|
1504
1599
|
): Effect.Effect<
|
|
1505
1600
|
RemoveTagsFromResourceCommandOutput,
|
|
1601
|
+
| Cause.TimeoutException
|
|
1506
1602
|
| SdkError
|
|
1507
1603
|
| CacheClusterNotFoundFaultError
|
|
1508
1604
|
| CacheParameterGroupNotFoundFaultError
|
|
@@ -1530,6 +1626,7 @@ interface ElastiCacheService$ {
|
|
|
1530
1626
|
options?: HttpHandlerOptions,
|
|
1531
1627
|
): Effect.Effect<
|
|
1532
1628
|
ResetCacheParameterGroupCommandOutput,
|
|
1629
|
+
| Cause.TimeoutException
|
|
1533
1630
|
| SdkError
|
|
1534
1631
|
| CacheParameterGroupNotFoundFaultError
|
|
1535
1632
|
| InvalidCacheParameterGroupStateFaultError
|
|
@@ -1546,6 +1643,7 @@ interface ElastiCacheService$ {
|
|
|
1546
1643
|
options?: HttpHandlerOptions,
|
|
1547
1644
|
): Effect.Effect<
|
|
1548
1645
|
RevokeCacheSecurityGroupIngressCommandOutput,
|
|
1646
|
+
| Cause.TimeoutException
|
|
1549
1647
|
| SdkError
|
|
1550
1648
|
| AuthorizationNotFoundFaultError
|
|
1551
1649
|
| CacheSecurityGroupNotFoundFaultError
|
|
@@ -1562,6 +1660,7 @@ interface ElastiCacheService$ {
|
|
|
1562
1660
|
options?: HttpHandlerOptions,
|
|
1563
1661
|
): Effect.Effect<
|
|
1564
1662
|
StartMigrationCommandOutput,
|
|
1663
|
+
| Cause.TimeoutException
|
|
1565
1664
|
| SdkError
|
|
1566
1665
|
| InvalidParameterValueError
|
|
1567
1666
|
| InvalidReplicationGroupStateFaultError
|
|
@@ -1577,6 +1676,7 @@ interface ElastiCacheService$ {
|
|
|
1577
1676
|
options?: HttpHandlerOptions,
|
|
1578
1677
|
): Effect.Effect<
|
|
1579
1678
|
TestFailoverCommandOutput,
|
|
1679
|
+
| Cause.TimeoutException
|
|
1580
1680
|
| SdkError
|
|
1581
1681
|
| APICallRateForCustomerExceededFaultError
|
|
1582
1682
|
| InvalidCacheClusterStateFaultError
|
|
@@ -1597,6 +1697,7 @@ interface ElastiCacheService$ {
|
|
|
1597
1697
|
options?: HttpHandlerOptions,
|
|
1598
1698
|
): Effect.Effect<
|
|
1599
1699
|
TestMigrationCommandOutput,
|
|
1700
|
+
| Cause.TimeoutException
|
|
1600
1701
|
| SdkError
|
|
1601
1702
|
| InvalidParameterValueError
|
|
1602
1703
|
| InvalidReplicationGroupStateFaultError
|
|
@@ -1612,7 +1713,7 @@ interface ElastiCacheService$ {
|
|
|
1612
1713
|
export const makeElastiCacheService = Effect.gen(function*() {
|
|
1613
1714
|
const client = yield* Instance.ElastiCacheClientInstance;
|
|
1614
1715
|
|
|
1615
|
-
return Service.fromClientAndCommands<ElastiCacheService$>(
|
|
1716
|
+
return yield* Service.fromClientAndCommands<ElastiCacheService$>(
|
|
1616
1717
|
client,
|
|
1617
1718
|
commands,
|
|
1618
1719
|
{
|
package/src/Errors.ts
CHANGED
|
@@ -77,7 +77,6 @@ import type {
|
|
|
77
77
|
UserQuotaExceededFault,
|
|
78
78
|
} from "@aws-sdk/client-elasticache";
|
|
79
79
|
import type { TaggedException } from "@effect-aws/commons";
|
|
80
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
81
80
|
|
|
82
81
|
export const AllServiceErrors = [
|
|
83
82
|
"APICallRateForCustomerExceededFault",
|
|
@@ -240,6 +239,4 @@ export type UserGroupNotFoundFaultError = TaggedException<UserGroupNotFoundFault
|
|
|
240
239
|
export type UserGroupQuotaExceededFaultError = TaggedException<UserGroupQuotaExceededFault>;
|
|
241
240
|
export type UserNotFoundFaultError = TaggedException<UserNotFoundFault>;
|
|
242
241
|
export type UserQuotaExceededFaultError = TaggedException<UserQuotaExceededFault>;
|
|
243
|
-
|
|
244
|
-
export type SdkError = CommonSdkError;
|
|
245
|
-
export const SdkError = CommonSdkError;
|
|
242
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|