@effect-aws/client-elasticache 1.10.9 → 2.0.0-beta.1

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.
Files changed (38) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/ElastiCacheClientInstance.d.ts +4 -2
  4. package/dist/dts/ElastiCacheClientInstance.d.ts.map +1 -1
  5. package/dist/dts/ElastiCacheService.d.ts +80 -80
  6. package/dist/dts/ElastiCacheService.d.ts.map +1 -1
  7. package/dist/dts/ElastiCacheServiceConfig.d.ts +2 -1
  8. package/dist/dts/ElastiCacheServiceConfig.d.ts.map +1 -1
  9. package/dist/esm/ElastiCacheClientInstance.js +5 -3
  10. package/dist/esm/ElastiCacheClientInstance.js.map +1 -1
  11. package/dist/esm/ElastiCacheService.js +4 -2
  12. package/dist/esm/ElastiCacheService.js.map +1 -1
  13. package/dist/esm/ElastiCacheServiceConfig.js +7 -6
  14. package/dist/esm/ElastiCacheServiceConfig.js.map +1 -1
  15. package/package.json +8 -14
  16. package/src/ElastiCacheClientInstance.ts +6 -4
  17. package/src/ElastiCacheService.ts +81 -79
  18. package/src/ElastiCacheServiceConfig.ts +8 -7
  19. package/dist/cjs/ElastiCacheClientInstance.d.ts +0 -24
  20. package/dist/cjs/ElastiCacheClientInstance.d.ts.map +0 -1
  21. package/dist/cjs/ElastiCacheClientInstance.js +0 -50
  22. package/dist/cjs/ElastiCacheClientInstance.js.map +0 -1
  23. package/dist/cjs/ElastiCacheService.d.ts +0 -346
  24. package/dist/cjs/ElastiCacheService.d.ts.map +0 -1
  25. package/dist/cjs/ElastiCacheService.js +0 -134
  26. package/dist/cjs/ElastiCacheService.js.map +0 -1
  27. package/dist/cjs/ElastiCacheServiceConfig.d.ts +0 -25
  28. package/dist/cjs/ElastiCacheServiceConfig.d.ts.map +0 -1
  29. package/dist/cjs/ElastiCacheServiceConfig.js +0 -35
  30. package/dist/cjs/ElastiCacheServiceConfig.js.map +0 -1
  31. package/dist/cjs/Errors.d.ts +0 -83
  32. package/dist/cjs/Errors.d.ts.map +0 -1
  33. package/dist/cjs/Errors.js +0 -82
  34. package/dist/cjs/Errors.js.map +0 -1
  35. package/dist/cjs/index.d.ts +0 -44
  36. package/dist/cjs/index.d.ts.map +0 -1
  37. package/dist/cjs/index.js +0 -56
  38. package/dist/cjs/index.js.map +0 -1
@@ -232,8 +232,10 @@ import {
232
232
  } from "@aws-sdk/client-elasticache";
233
233
  import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
234
234
  import { Service } from "@effect-aws/commons";
235
- import type { Cause } from "effect";
236
- import { Effect, Layer } from "effect";
235
+ import type * as Cause from "effect/Cause";
236
+ import * as Effect from "effect/Effect";
237
+ import * as Layer from "effect/Layer";
238
+ import * as ServiceMap from "effect/ServiceMap";
237
239
  import * as Instance from "./ElastiCacheClientInstance.js";
238
240
  import * as ElastiCacheServiceConfig from "./ElastiCacheServiceConfig.js";
239
241
  import type {
@@ -406,7 +408,7 @@ interface ElastiCacheService$ {
406
408
  options?: HttpHandlerOptions,
407
409
  ): Effect.Effect<
408
410
  AddTagsToResourceCommandOutput,
409
- | Cause.TimeoutException
411
+ | Cause.TimeoutError
410
412
  | SdkError
411
413
  | CacheClusterNotFoundFaultError
412
414
  | CacheParameterGroupNotFoundFaultError
@@ -434,7 +436,7 @@ interface ElastiCacheService$ {
434
436
  options?: HttpHandlerOptions,
435
437
  ): Effect.Effect<
436
438
  AuthorizeCacheSecurityGroupIngressCommandOutput,
437
- | Cause.TimeoutException
439
+ | Cause.TimeoutError
438
440
  | SdkError
439
441
  | AuthorizationAlreadyExistsFaultError
440
442
  | CacheSecurityGroupNotFoundFaultError
@@ -451,7 +453,7 @@ interface ElastiCacheService$ {
451
453
  options?: HttpHandlerOptions,
452
454
  ): Effect.Effect<
453
455
  BatchApplyUpdateActionCommandOutput,
454
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceUpdateNotFoundFaultError
456
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceUpdateNotFoundFaultError
455
457
  >;
456
458
 
457
459
  /**
@@ -462,7 +464,7 @@ interface ElastiCacheService$ {
462
464
  options?: HttpHandlerOptions,
463
465
  ): Effect.Effect<
464
466
  BatchStopUpdateActionCommandOutput,
465
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceUpdateNotFoundFaultError
467
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceUpdateNotFoundFaultError
466
468
  >;
467
469
 
468
470
  /**
@@ -473,7 +475,7 @@ interface ElastiCacheService$ {
473
475
  options?: HttpHandlerOptions,
474
476
  ): Effect.Effect<
475
477
  CompleteMigrationCommandOutput,
476
- | Cause.TimeoutException
478
+ | Cause.TimeoutError
477
479
  | SdkError
478
480
  | InvalidReplicationGroupStateFaultError
479
481
  | ReplicationGroupNotFoundFaultError
@@ -488,7 +490,7 @@ interface ElastiCacheService$ {
488
490
  options?: HttpHandlerOptions,
489
491
  ): Effect.Effect<
490
492
  CopyServerlessCacheSnapshotCommandOutput,
491
- | Cause.TimeoutException
493
+ | Cause.TimeoutError
492
494
  | SdkError
493
495
  | InvalidParameterCombinationError
494
496
  | InvalidParameterValueError
@@ -508,7 +510,7 @@ interface ElastiCacheService$ {
508
510
  options?: HttpHandlerOptions,
509
511
  ): Effect.Effect<
510
512
  CopySnapshotCommandOutput,
511
- | Cause.TimeoutException
513
+ | Cause.TimeoutError
512
514
  | SdkError
513
515
  | InvalidParameterCombinationError
514
516
  | InvalidParameterValueError
@@ -527,7 +529,7 @@ interface ElastiCacheService$ {
527
529
  options?: HttpHandlerOptions,
528
530
  ): Effect.Effect<
529
531
  CreateCacheClusterCommandOutput,
530
- | Cause.TimeoutException
532
+ | Cause.TimeoutError
531
533
  | SdkError
532
534
  | CacheClusterAlreadyExistsFaultError
533
535
  | CacheParameterGroupNotFoundFaultError
@@ -553,7 +555,7 @@ interface ElastiCacheService$ {
553
555
  options?: HttpHandlerOptions,
554
556
  ): Effect.Effect<
555
557
  CreateCacheParameterGroupCommandOutput,
556
- | Cause.TimeoutException
558
+ | Cause.TimeoutError
557
559
  | SdkError
558
560
  | CacheParameterGroupAlreadyExistsFaultError
559
561
  | CacheParameterGroupQuotaExceededFaultError
@@ -571,7 +573,7 @@ interface ElastiCacheService$ {
571
573
  options?: HttpHandlerOptions,
572
574
  ): Effect.Effect<
573
575
  CreateCacheSecurityGroupCommandOutput,
574
- | Cause.TimeoutException
576
+ | Cause.TimeoutError
575
577
  | SdkError
576
578
  | CacheSecurityGroupAlreadyExistsFaultError
577
579
  | CacheSecurityGroupQuotaExceededFaultError
@@ -588,7 +590,7 @@ interface ElastiCacheService$ {
588
590
  options?: HttpHandlerOptions,
589
591
  ): Effect.Effect<
590
592
  CreateCacheSubnetGroupCommandOutput,
591
- | Cause.TimeoutException
593
+ | Cause.TimeoutError
592
594
  | SdkError
593
595
  | CacheSubnetGroupAlreadyExistsFaultError
594
596
  | CacheSubnetGroupQuotaExceededFaultError
@@ -606,7 +608,7 @@ interface ElastiCacheService$ {
606
608
  options?: HttpHandlerOptions,
607
609
  ): Effect.Effect<
608
610
  CreateGlobalReplicationGroupCommandOutput,
609
- | Cause.TimeoutException
611
+ | Cause.TimeoutError
610
612
  | SdkError
611
613
  | GlobalReplicationGroupAlreadyExistsFaultError
612
614
  | InvalidParameterValueError
@@ -623,7 +625,7 @@ interface ElastiCacheService$ {
623
625
  options?: HttpHandlerOptions,
624
626
  ): Effect.Effect<
625
627
  CreateReplicationGroupCommandOutput,
626
- | Cause.TimeoutException
628
+ | Cause.TimeoutError
627
629
  | SdkError
628
630
  | CacheClusterNotFoundFaultError
629
631
  | CacheParameterGroupNotFoundFaultError
@@ -654,7 +656,7 @@ interface ElastiCacheService$ {
654
656
  options?: HttpHandlerOptions,
655
657
  ): Effect.Effect<
656
658
  CreateServerlessCacheCommandOutput,
657
- | Cause.TimeoutException
659
+ | Cause.TimeoutError
658
660
  | SdkError
659
661
  | InvalidCredentialsError
660
662
  | InvalidParameterCombinationError
@@ -677,7 +679,7 @@ interface ElastiCacheService$ {
677
679
  options?: HttpHandlerOptions,
678
680
  ): Effect.Effect<
679
681
  CreateServerlessCacheSnapshotCommandOutput,
680
- | Cause.TimeoutException
682
+ | Cause.TimeoutError
681
683
  | SdkError
682
684
  | InvalidParameterCombinationError
683
685
  | InvalidParameterValueError
@@ -697,7 +699,7 @@ interface ElastiCacheService$ {
697
699
  options?: HttpHandlerOptions,
698
700
  ): Effect.Effect<
699
701
  CreateSnapshotCommandOutput,
700
- | Cause.TimeoutException
702
+ | Cause.TimeoutError
701
703
  | SdkError
702
704
  | CacheClusterNotFoundFaultError
703
705
  | InvalidCacheClusterStateFaultError
@@ -719,7 +721,7 @@ interface ElastiCacheService$ {
719
721
  options?: HttpHandlerOptions,
720
722
  ): Effect.Effect<
721
723
  CreateUserCommandOutput,
722
- | Cause.TimeoutException
724
+ | Cause.TimeoutError
723
725
  | SdkError
724
726
  | DuplicateUserNameFaultError
725
727
  | InvalidParameterCombinationError
@@ -738,7 +740,7 @@ interface ElastiCacheService$ {
738
740
  options?: HttpHandlerOptions,
739
741
  ): Effect.Effect<
740
742
  CreateUserGroupCommandOutput,
741
- | Cause.TimeoutException
743
+ | Cause.TimeoutError
742
744
  | SdkError
743
745
  | DefaultUserRequiredError
744
746
  | DuplicateUserNameFaultError
@@ -758,7 +760,7 @@ interface ElastiCacheService$ {
758
760
  options?: HttpHandlerOptions,
759
761
  ): Effect.Effect<
760
762
  DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput,
761
- | Cause.TimeoutException
763
+ | Cause.TimeoutError
762
764
  | SdkError
763
765
  | GlobalReplicationGroupNotFoundFaultError
764
766
  | InvalidGlobalReplicationGroupStateFaultError
@@ -774,7 +776,7 @@ interface ElastiCacheService$ {
774
776
  options?: HttpHandlerOptions,
775
777
  ): Effect.Effect<
776
778
  DecreaseReplicaCountCommandOutput,
777
- | Cause.TimeoutException
779
+ | Cause.TimeoutError
778
780
  | SdkError
779
781
  | ClusterQuotaForCustomerExceededFaultError
780
782
  | InsufficientCacheClusterCapacityFaultError
@@ -798,7 +800,7 @@ interface ElastiCacheService$ {
798
800
  options?: HttpHandlerOptions,
799
801
  ): Effect.Effect<
800
802
  DeleteCacheClusterCommandOutput,
801
- | Cause.TimeoutException
803
+ | Cause.TimeoutError
802
804
  | SdkError
803
805
  | CacheClusterNotFoundFaultError
804
806
  | InvalidCacheClusterStateFaultError
@@ -817,7 +819,7 @@ interface ElastiCacheService$ {
817
819
  options?: HttpHandlerOptions,
818
820
  ): Effect.Effect<
819
821
  DeleteCacheParameterGroupCommandOutput,
820
- | Cause.TimeoutException
822
+ | Cause.TimeoutError
821
823
  | SdkError
822
824
  | CacheParameterGroupNotFoundFaultError
823
825
  | InvalidCacheParameterGroupStateFaultError
@@ -833,7 +835,7 @@ interface ElastiCacheService$ {
833
835
  options?: HttpHandlerOptions,
834
836
  ): Effect.Effect<
835
837
  DeleteCacheSecurityGroupCommandOutput,
836
- | Cause.TimeoutException
838
+ | Cause.TimeoutError
837
839
  | SdkError
838
840
  | CacheSecurityGroupNotFoundFaultError
839
841
  | InvalidCacheSecurityGroupStateFaultError
@@ -849,7 +851,7 @@ interface ElastiCacheService$ {
849
851
  options?: HttpHandlerOptions,
850
852
  ): Effect.Effect<
851
853
  DeleteCacheSubnetGroupCommandOutput,
852
- Cause.TimeoutException | SdkError | CacheSubnetGroupInUseError | CacheSubnetGroupNotFoundFaultError
854
+ Cause.TimeoutError | SdkError | CacheSubnetGroupInUseError | CacheSubnetGroupNotFoundFaultError
853
855
  >;
854
856
 
855
857
  /**
@@ -860,7 +862,7 @@ interface ElastiCacheService$ {
860
862
  options?: HttpHandlerOptions,
861
863
  ): Effect.Effect<
862
864
  DeleteGlobalReplicationGroupCommandOutput,
863
- | Cause.TimeoutException
865
+ | Cause.TimeoutError
864
866
  | SdkError
865
867
  | GlobalReplicationGroupNotFoundFaultError
866
868
  | InvalidGlobalReplicationGroupStateFaultError
@@ -875,7 +877,7 @@ interface ElastiCacheService$ {
875
877
  options?: HttpHandlerOptions,
876
878
  ): Effect.Effect<
877
879
  DeleteReplicationGroupCommandOutput,
878
- | Cause.TimeoutException
880
+ | Cause.TimeoutError
879
881
  | SdkError
880
882
  | InvalidParameterCombinationError
881
883
  | InvalidParameterValueError
@@ -894,7 +896,7 @@ interface ElastiCacheService$ {
894
896
  options?: HttpHandlerOptions,
895
897
  ): Effect.Effect<
896
898
  DeleteServerlessCacheCommandOutput,
897
- | Cause.TimeoutException
899
+ | Cause.TimeoutError
898
900
  | SdkError
899
901
  | InvalidCredentialsError
900
902
  | InvalidParameterCombinationError
@@ -913,7 +915,7 @@ interface ElastiCacheService$ {
913
915
  options?: HttpHandlerOptions,
914
916
  ): Effect.Effect<
915
917
  DeleteServerlessCacheSnapshotCommandOutput,
916
- | Cause.TimeoutException
918
+ | Cause.TimeoutError
917
919
  | SdkError
918
920
  | InvalidParameterValueError
919
921
  | InvalidServerlessCacheSnapshotStateFaultError
@@ -929,7 +931,7 @@ interface ElastiCacheService$ {
929
931
  options?: HttpHandlerOptions,
930
932
  ): Effect.Effect<
931
933
  DeleteSnapshotCommandOutput,
932
- | Cause.TimeoutException
934
+ | Cause.TimeoutError
933
935
  | SdkError
934
936
  | InvalidParameterCombinationError
935
937
  | InvalidParameterValueError
@@ -945,7 +947,7 @@ interface ElastiCacheService$ {
945
947
  options?: HttpHandlerOptions,
946
948
  ): Effect.Effect<
947
949
  DeleteUserCommandOutput,
948
- | Cause.TimeoutException
950
+ | Cause.TimeoutError
949
951
  | SdkError
950
952
  | DefaultUserAssociatedToUserGroupFaultError
951
953
  | InvalidParameterValueError
@@ -962,7 +964,7 @@ interface ElastiCacheService$ {
962
964
  options?: HttpHandlerOptions,
963
965
  ): Effect.Effect<
964
966
  DeleteUserGroupCommandOutput,
965
- | Cause.TimeoutException
967
+ | Cause.TimeoutError
966
968
  | SdkError
967
969
  | InvalidParameterValueError
968
970
  | InvalidUserGroupStateFaultError
@@ -978,7 +980,7 @@ interface ElastiCacheService$ {
978
980
  options?: HttpHandlerOptions,
979
981
  ): Effect.Effect<
980
982
  DescribeCacheClustersCommandOutput,
981
- | Cause.TimeoutException
983
+ | Cause.TimeoutError
982
984
  | SdkError
983
985
  | CacheClusterNotFoundFaultError
984
986
  | InvalidParameterCombinationError
@@ -993,7 +995,7 @@ interface ElastiCacheService$ {
993
995
  options?: HttpHandlerOptions,
994
996
  ): Effect.Effect<
995
997
  DescribeCacheEngineVersionsCommandOutput,
996
- Cause.TimeoutException | SdkError
998
+ Cause.TimeoutError | SdkError
997
999
  >;
998
1000
 
999
1001
  /**
@@ -1004,7 +1006,7 @@ interface ElastiCacheService$ {
1004
1006
  options?: HttpHandlerOptions,
1005
1007
  ): Effect.Effect<
1006
1008
  DescribeCacheParameterGroupsCommandOutput,
1007
- | Cause.TimeoutException
1009
+ | Cause.TimeoutError
1008
1010
  | SdkError
1009
1011
  | CacheParameterGroupNotFoundFaultError
1010
1012
  | InvalidParameterCombinationError
@@ -1019,7 +1021,7 @@ interface ElastiCacheService$ {
1019
1021
  options?: HttpHandlerOptions,
1020
1022
  ): Effect.Effect<
1021
1023
  DescribeCacheParametersCommandOutput,
1022
- | Cause.TimeoutException
1024
+ | Cause.TimeoutError
1023
1025
  | SdkError
1024
1026
  | CacheParameterGroupNotFoundFaultError
1025
1027
  | InvalidParameterCombinationError
@@ -1034,7 +1036,7 @@ interface ElastiCacheService$ {
1034
1036
  options?: HttpHandlerOptions,
1035
1037
  ): Effect.Effect<
1036
1038
  DescribeCacheSecurityGroupsCommandOutput,
1037
- | Cause.TimeoutException
1039
+ | Cause.TimeoutError
1038
1040
  | SdkError
1039
1041
  | CacheSecurityGroupNotFoundFaultError
1040
1042
  | InvalidParameterCombinationError
@@ -1049,7 +1051,7 @@ interface ElastiCacheService$ {
1049
1051
  options?: HttpHandlerOptions,
1050
1052
  ): Effect.Effect<
1051
1053
  DescribeCacheSubnetGroupsCommandOutput,
1052
- Cause.TimeoutException | SdkError | CacheSubnetGroupNotFoundFaultError
1054
+ Cause.TimeoutError | SdkError | CacheSubnetGroupNotFoundFaultError
1053
1055
  >;
1054
1056
 
1055
1057
  /**
@@ -1060,7 +1062,7 @@ interface ElastiCacheService$ {
1060
1062
  options?: HttpHandlerOptions,
1061
1063
  ): Effect.Effect<
1062
1064
  DescribeEngineDefaultParametersCommandOutput,
1063
- Cause.TimeoutException | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
1065
+ Cause.TimeoutError | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
1064
1066
  >;
1065
1067
 
1066
1068
  /**
@@ -1071,7 +1073,7 @@ interface ElastiCacheService$ {
1071
1073
  options?: HttpHandlerOptions,
1072
1074
  ): Effect.Effect<
1073
1075
  DescribeEventsCommandOutput,
1074
- Cause.TimeoutException | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
1076
+ Cause.TimeoutError | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
1075
1077
  >;
1076
1078
 
1077
1079
  /**
@@ -1082,7 +1084,7 @@ interface ElastiCacheService$ {
1082
1084
  options?: HttpHandlerOptions,
1083
1085
  ): Effect.Effect<
1084
1086
  DescribeGlobalReplicationGroupsCommandOutput,
1085
- | Cause.TimeoutException
1087
+ | Cause.TimeoutError
1086
1088
  | SdkError
1087
1089
  | GlobalReplicationGroupNotFoundFaultError
1088
1090
  | InvalidParameterCombinationError
@@ -1097,7 +1099,7 @@ interface ElastiCacheService$ {
1097
1099
  options?: HttpHandlerOptions,
1098
1100
  ): Effect.Effect<
1099
1101
  DescribeReplicationGroupsCommandOutput,
1100
- | Cause.TimeoutException
1102
+ | Cause.TimeoutError
1101
1103
  | SdkError
1102
1104
  | InvalidParameterCombinationError
1103
1105
  | InvalidParameterValueError
@@ -1112,7 +1114,7 @@ interface ElastiCacheService$ {
1112
1114
  options?: HttpHandlerOptions,
1113
1115
  ): Effect.Effect<
1114
1116
  DescribeReservedCacheNodesCommandOutput,
1115
- | Cause.TimeoutException
1117
+ | Cause.TimeoutError
1116
1118
  | SdkError
1117
1119
  | InvalidParameterCombinationError
1118
1120
  | InvalidParameterValueError
@@ -1127,7 +1129,7 @@ interface ElastiCacheService$ {
1127
1129
  options?: HttpHandlerOptions,
1128
1130
  ): Effect.Effect<
1129
1131
  DescribeReservedCacheNodesOfferingsCommandOutput,
1130
- | Cause.TimeoutException
1132
+ | Cause.TimeoutError
1131
1133
  | SdkError
1132
1134
  | InvalidParameterCombinationError
1133
1135
  | InvalidParameterValueError
@@ -1142,7 +1144,7 @@ interface ElastiCacheService$ {
1142
1144
  options?: HttpHandlerOptions,
1143
1145
  ): Effect.Effect<
1144
1146
  DescribeServerlessCacheSnapshotsCommandOutput,
1145
- | Cause.TimeoutException
1147
+ | Cause.TimeoutError
1146
1148
  | SdkError
1147
1149
  | InvalidParameterCombinationError
1148
1150
  | InvalidParameterValueError
@@ -1158,7 +1160,7 @@ interface ElastiCacheService$ {
1158
1160
  options?: HttpHandlerOptions,
1159
1161
  ): Effect.Effect<
1160
1162
  DescribeServerlessCachesCommandOutput,
1161
- | Cause.TimeoutException
1163
+ | Cause.TimeoutError
1162
1164
  | SdkError
1163
1165
  | InvalidParameterCombinationError
1164
1166
  | InvalidParameterValueError
@@ -1173,7 +1175,7 @@ interface ElastiCacheService$ {
1173
1175
  options?: HttpHandlerOptions,
1174
1176
  ): Effect.Effect<
1175
1177
  DescribeServiceUpdatesCommandOutput,
1176
- | Cause.TimeoutException
1178
+ | Cause.TimeoutError
1177
1179
  | SdkError
1178
1180
  | InvalidParameterCombinationError
1179
1181
  | InvalidParameterValueError
@@ -1188,7 +1190,7 @@ interface ElastiCacheService$ {
1188
1190
  options?: HttpHandlerOptions,
1189
1191
  ): Effect.Effect<
1190
1192
  DescribeSnapshotsCommandOutput,
1191
- | Cause.TimeoutException
1193
+ | Cause.TimeoutError
1192
1194
  | SdkError
1193
1195
  | CacheClusterNotFoundFaultError
1194
1196
  | InvalidParameterCombinationError
@@ -1204,7 +1206,7 @@ interface ElastiCacheService$ {
1204
1206
  options?: HttpHandlerOptions,
1205
1207
  ): Effect.Effect<
1206
1208
  DescribeUpdateActionsCommandOutput,
1207
- Cause.TimeoutException | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
1209
+ Cause.TimeoutError | SdkError | InvalidParameterCombinationError | InvalidParameterValueError
1208
1210
  >;
1209
1211
 
1210
1212
  /**
@@ -1215,7 +1217,7 @@ interface ElastiCacheService$ {
1215
1217
  options?: HttpHandlerOptions,
1216
1218
  ): Effect.Effect<
1217
1219
  DescribeUserGroupsCommandOutput,
1218
- | Cause.TimeoutException
1220
+ | Cause.TimeoutError
1219
1221
  | SdkError
1220
1222
  | InvalidParameterCombinationError
1221
1223
  | ServiceLinkedRoleNotFoundFaultError
@@ -1230,7 +1232,7 @@ interface ElastiCacheService$ {
1230
1232
  options?: HttpHandlerOptions,
1231
1233
  ): Effect.Effect<
1232
1234
  DescribeUsersCommandOutput,
1233
- | Cause.TimeoutException
1235
+ | Cause.TimeoutError
1234
1236
  | SdkError
1235
1237
  | InvalidParameterCombinationError
1236
1238
  | ServiceLinkedRoleNotFoundFaultError
@@ -1245,7 +1247,7 @@ interface ElastiCacheService$ {
1245
1247
  options?: HttpHandlerOptions,
1246
1248
  ): Effect.Effect<
1247
1249
  DisassociateGlobalReplicationGroupCommandOutput,
1248
- | Cause.TimeoutException
1250
+ | Cause.TimeoutError
1249
1251
  | SdkError
1250
1252
  | GlobalReplicationGroupNotFoundFaultError
1251
1253
  | InvalidGlobalReplicationGroupStateFaultError
@@ -1261,7 +1263,7 @@ interface ElastiCacheService$ {
1261
1263
  options?: HttpHandlerOptions,
1262
1264
  ): Effect.Effect<
1263
1265
  ExportServerlessCacheSnapshotCommandOutput,
1264
- | Cause.TimeoutException
1266
+ | Cause.TimeoutError
1265
1267
  | SdkError
1266
1268
  | InvalidParameterValueError
1267
1269
  | InvalidServerlessCacheSnapshotStateFaultError
@@ -1277,7 +1279,7 @@ interface ElastiCacheService$ {
1277
1279
  options?: HttpHandlerOptions,
1278
1280
  ): Effect.Effect<
1279
1281
  FailoverGlobalReplicationGroupCommandOutput,
1280
- | Cause.TimeoutException
1282
+ | Cause.TimeoutError
1281
1283
  | SdkError
1282
1284
  | GlobalReplicationGroupNotFoundFaultError
1283
1285
  | InvalidGlobalReplicationGroupStateFaultError
@@ -1293,7 +1295,7 @@ interface ElastiCacheService$ {
1293
1295
  options?: HttpHandlerOptions,
1294
1296
  ): Effect.Effect<
1295
1297
  IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput,
1296
- | Cause.TimeoutException
1298
+ | Cause.TimeoutError
1297
1299
  | SdkError
1298
1300
  | GlobalReplicationGroupNotFoundFaultError
1299
1301
  | InvalidGlobalReplicationGroupStateFaultError
@@ -1308,7 +1310,7 @@ interface ElastiCacheService$ {
1308
1310
  options?: HttpHandlerOptions,
1309
1311
  ): Effect.Effect<
1310
1312
  IncreaseReplicaCountCommandOutput,
1311
- | Cause.TimeoutException
1313
+ | Cause.TimeoutError
1312
1314
  | SdkError
1313
1315
  | ClusterQuotaForCustomerExceededFaultError
1314
1316
  | InsufficientCacheClusterCapacityFaultError
@@ -1332,7 +1334,7 @@ interface ElastiCacheService$ {
1332
1334
  options?: HttpHandlerOptions,
1333
1335
  ): Effect.Effect<
1334
1336
  ListAllowedNodeTypeModificationsCommandOutput,
1335
- | Cause.TimeoutException
1337
+ | Cause.TimeoutError
1336
1338
  | SdkError
1337
1339
  | CacheClusterNotFoundFaultError
1338
1340
  | InvalidParameterCombinationError
@@ -1348,7 +1350,7 @@ interface ElastiCacheService$ {
1348
1350
  options?: HttpHandlerOptions,
1349
1351
  ): Effect.Effect<
1350
1352
  ListTagsForResourceCommandOutput,
1351
- | Cause.TimeoutException
1353
+ | Cause.TimeoutError
1352
1354
  | SdkError
1353
1355
  | CacheClusterNotFoundFaultError
1354
1356
  | CacheParameterGroupNotFoundFaultError
@@ -1375,7 +1377,7 @@ interface ElastiCacheService$ {
1375
1377
  options?: HttpHandlerOptions,
1376
1378
  ): Effect.Effect<
1377
1379
  ModifyCacheClusterCommandOutput,
1378
- | Cause.TimeoutException
1380
+ | Cause.TimeoutError
1379
1381
  | SdkError
1380
1382
  | CacheClusterNotFoundFaultError
1381
1383
  | CacheParameterGroupNotFoundFaultError
@@ -1398,7 +1400,7 @@ interface ElastiCacheService$ {
1398
1400
  options?: HttpHandlerOptions,
1399
1401
  ): Effect.Effect<
1400
1402
  ModifyCacheParameterGroupCommandOutput,
1401
- | Cause.TimeoutException
1403
+ | Cause.TimeoutError
1402
1404
  | SdkError
1403
1405
  | CacheParameterGroupNotFoundFaultError
1404
1406
  | InvalidCacheParameterGroupStateFaultError
@@ -1415,7 +1417,7 @@ interface ElastiCacheService$ {
1415
1417
  options?: HttpHandlerOptions,
1416
1418
  ): Effect.Effect<
1417
1419
  ModifyCacheSubnetGroupCommandOutput,
1418
- | Cause.TimeoutException
1420
+ | Cause.TimeoutError
1419
1421
  | SdkError
1420
1422
  | CacheSubnetGroupNotFoundFaultError
1421
1423
  | CacheSubnetQuotaExceededFaultError
@@ -1432,7 +1434,7 @@ interface ElastiCacheService$ {
1432
1434
  options?: HttpHandlerOptions,
1433
1435
  ): Effect.Effect<
1434
1436
  ModifyGlobalReplicationGroupCommandOutput,
1435
- | Cause.TimeoutException
1437
+ | Cause.TimeoutError
1436
1438
  | SdkError
1437
1439
  | GlobalReplicationGroupNotFoundFaultError
1438
1440
  | InvalidGlobalReplicationGroupStateFaultError
@@ -1447,7 +1449,7 @@ interface ElastiCacheService$ {
1447
1449
  options?: HttpHandlerOptions,
1448
1450
  ): Effect.Effect<
1449
1451
  ModifyReplicationGroupCommandOutput,
1450
- | Cause.TimeoutException
1452
+ | Cause.TimeoutError
1451
1453
  | SdkError
1452
1454
  | CacheClusterNotFoundFaultError
1453
1455
  | CacheParameterGroupNotFoundFaultError
@@ -1475,7 +1477,7 @@ interface ElastiCacheService$ {
1475
1477
  options?: HttpHandlerOptions,
1476
1478
  ): Effect.Effect<
1477
1479
  ModifyReplicationGroupShardConfigurationCommandOutput,
1478
- | Cause.TimeoutException
1480
+ | Cause.TimeoutError
1479
1481
  | SdkError
1480
1482
  | InsufficientCacheClusterCapacityFaultError
1481
1483
  | InvalidCacheClusterStateFaultError
@@ -1497,7 +1499,7 @@ interface ElastiCacheService$ {
1497
1499
  options?: HttpHandlerOptions,
1498
1500
  ): Effect.Effect<
1499
1501
  ModifyServerlessCacheCommandOutput,
1500
- | Cause.TimeoutException
1502
+ | Cause.TimeoutError
1501
1503
  | SdkError
1502
1504
  | InvalidCredentialsError
1503
1505
  | InvalidParameterCombinationError
@@ -1517,7 +1519,7 @@ interface ElastiCacheService$ {
1517
1519
  options?: HttpHandlerOptions,
1518
1520
  ): Effect.Effect<
1519
1521
  ModifyUserCommandOutput,
1520
- | Cause.TimeoutException
1522
+ | Cause.TimeoutError
1521
1523
  | SdkError
1522
1524
  | InvalidParameterCombinationError
1523
1525
  | InvalidParameterValueError
@@ -1534,7 +1536,7 @@ interface ElastiCacheService$ {
1534
1536
  options?: HttpHandlerOptions,
1535
1537
  ): Effect.Effect<
1536
1538
  ModifyUserGroupCommandOutput,
1537
- | Cause.TimeoutException
1539
+ | Cause.TimeoutError
1538
1540
  | SdkError
1539
1541
  | DefaultUserRequiredError
1540
1542
  | DuplicateUserNameFaultError
@@ -1554,7 +1556,7 @@ interface ElastiCacheService$ {
1554
1556
  options?: HttpHandlerOptions,
1555
1557
  ): Effect.Effect<
1556
1558
  PurchaseReservedCacheNodesOfferingCommandOutput,
1557
- | Cause.TimeoutException
1559
+ | Cause.TimeoutError
1558
1560
  | SdkError
1559
1561
  | InvalidParameterCombinationError
1560
1562
  | InvalidParameterValueError
@@ -1572,7 +1574,7 @@ interface ElastiCacheService$ {
1572
1574
  options?: HttpHandlerOptions,
1573
1575
  ): Effect.Effect<
1574
1576
  RebalanceSlotsInGlobalReplicationGroupCommandOutput,
1575
- | Cause.TimeoutException
1577
+ | Cause.TimeoutError
1576
1578
  | SdkError
1577
1579
  | GlobalReplicationGroupNotFoundFaultError
1578
1580
  | InvalidGlobalReplicationGroupStateFaultError
@@ -1587,7 +1589,7 @@ interface ElastiCacheService$ {
1587
1589
  options?: HttpHandlerOptions,
1588
1590
  ): Effect.Effect<
1589
1591
  RebootCacheClusterCommandOutput,
1590
- Cause.TimeoutException | SdkError | CacheClusterNotFoundFaultError | InvalidCacheClusterStateFaultError
1592
+ Cause.TimeoutError | SdkError | CacheClusterNotFoundFaultError | InvalidCacheClusterStateFaultError
1591
1593
  >;
1592
1594
 
1593
1595
  /**
@@ -1598,7 +1600,7 @@ interface ElastiCacheService$ {
1598
1600
  options?: HttpHandlerOptions,
1599
1601
  ): Effect.Effect<
1600
1602
  RemoveTagsFromResourceCommandOutput,
1601
- | Cause.TimeoutException
1603
+ | Cause.TimeoutError
1602
1604
  | SdkError
1603
1605
  | CacheClusterNotFoundFaultError
1604
1606
  | CacheParameterGroupNotFoundFaultError
@@ -1626,7 +1628,7 @@ interface ElastiCacheService$ {
1626
1628
  options?: HttpHandlerOptions,
1627
1629
  ): Effect.Effect<
1628
1630
  ResetCacheParameterGroupCommandOutput,
1629
- | Cause.TimeoutException
1631
+ | Cause.TimeoutError
1630
1632
  | SdkError
1631
1633
  | CacheParameterGroupNotFoundFaultError
1632
1634
  | InvalidCacheParameterGroupStateFaultError
@@ -1643,7 +1645,7 @@ interface ElastiCacheService$ {
1643
1645
  options?: HttpHandlerOptions,
1644
1646
  ): Effect.Effect<
1645
1647
  RevokeCacheSecurityGroupIngressCommandOutput,
1646
- | Cause.TimeoutException
1648
+ | Cause.TimeoutError
1647
1649
  | SdkError
1648
1650
  | AuthorizationNotFoundFaultError
1649
1651
  | CacheSecurityGroupNotFoundFaultError
@@ -1660,7 +1662,7 @@ interface ElastiCacheService$ {
1660
1662
  options?: HttpHandlerOptions,
1661
1663
  ): Effect.Effect<
1662
1664
  StartMigrationCommandOutput,
1663
- | Cause.TimeoutException
1665
+ | Cause.TimeoutError
1664
1666
  | SdkError
1665
1667
  | InvalidParameterValueError
1666
1668
  | InvalidReplicationGroupStateFaultError
@@ -1676,7 +1678,7 @@ interface ElastiCacheService$ {
1676
1678
  options?: HttpHandlerOptions,
1677
1679
  ): Effect.Effect<
1678
1680
  TestFailoverCommandOutput,
1679
- | Cause.TimeoutException
1681
+ | Cause.TimeoutError
1680
1682
  | SdkError
1681
1683
  | APICallRateForCustomerExceededFaultError
1682
1684
  | InvalidCacheClusterStateFaultError
@@ -1697,7 +1699,7 @@ interface ElastiCacheService$ {
1697
1699
  options?: HttpHandlerOptions,
1698
1700
  ): Effect.Effect<
1699
1701
  TestMigrationCommandOutput,
1700
- | Cause.TimeoutException
1702
+ | Cause.TimeoutError
1701
1703
  | SdkError
1702
1704
  | InvalidParameterValueError
1703
1705
  | InvalidReplicationGroupStateFaultError
@@ -1727,10 +1729,10 @@ export const makeElastiCacheService = Effect.gen(function*() {
1727
1729
  * @since 1.0.0
1728
1730
  * @category models
1729
1731
  */
1730
- export class ElastiCacheService extends Effect.Tag("@effect-aws/client-elasticache/ElastiCacheService")<
1732
+ export class ElastiCacheService extends ServiceMap.Service<
1731
1733
  ElastiCacheService,
1732
1734
  ElastiCacheService$
1733
- >() {
1735
+ >()("@effect-aws/client-elasticache/ElastiCacheService") {
1734
1736
  static readonly defaultLayer = Layer.effect(this, makeElastiCacheService).pipe(Layer.provide(Instance.layer));
1735
1737
  static readonly layer = (config: ElastiCacheService.Config) =>
1736
1738
  Layer.effect(this, makeElastiCacheService).pipe(