@aws-sdk/client-elasticache 3.52.0 → 3.53.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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ElastiCacheServiceException as __BaseException } from "./ElastiCacheServiceException";
2
3
 
3
4
  export interface Tag {
4
5
 
@@ -22,58 +23,67 @@ export declare namespace AddTagsToResourceMessage {
22
23
  const filterSensitiveLog: (obj: AddTagsToResourceMessage) => any;
23
24
  }
24
25
 
25
- export interface CacheClusterNotFoundFault extends __SmithyException, $MetadataBearer {
26
- name: "CacheClusterNotFoundFault";
27
- $fault: "client";
28
- message?: string;
26
+ export declare class CacheClusterNotFoundFault extends __BaseException {
27
+ readonly name: "CacheClusterNotFoundFault";
28
+ readonly $fault: "client";
29
+
30
+ constructor(opts: __ExceptionOptionType<CacheClusterNotFoundFault, __BaseException>);
29
31
  }
30
32
 
31
- export interface CacheParameterGroupNotFoundFault extends __SmithyException, $MetadataBearer {
32
- name: "CacheParameterGroupNotFoundFault";
33
- $fault: "client";
34
- message?: string;
33
+ export declare class CacheParameterGroupNotFoundFault extends __BaseException {
34
+ readonly name: "CacheParameterGroupNotFoundFault";
35
+ readonly $fault: "client";
36
+
37
+ constructor(opts: __ExceptionOptionType<CacheParameterGroupNotFoundFault, __BaseException>);
35
38
  }
36
39
 
37
- export interface CacheSecurityGroupNotFoundFault extends __SmithyException, $MetadataBearer {
38
- name: "CacheSecurityGroupNotFoundFault";
39
- $fault: "client";
40
- message?: string;
40
+ export declare class CacheSecurityGroupNotFoundFault extends __BaseException {
41
+ readonly name: "CacheSecurityGroupNotFoundFault";
42
+ readonly $fault: "client";
43
+
44
+ constructor(opts: __ExceptionOptionType<CacheSecurityGroupNotFoundFault, __BaseException>);
41
45
  }
42
46
 
43
- export interface CacheSubnetGroupNotFoundFault extends __SmithyException, $MetadataBearer {
44
- name: "CacheSubnetGroupNotFoundFault";
45
- $fault: "client";
46
- message?: string;
47
+ export declare class CacheSubnetGroupNotFoundFault extends __BaseException {
48
+ readonly name: "CacheSubnetGroupNotFoundFault";
49
+ readonly $fault: "client";
50
+
51
+ constructor(opts: __ExceptionOptionType<CacheSubnetGroupNotFoundFault, __BaseException>);
47
52
  }
48
53
 
49
- export interface InvalidARNFault extends __SmithyException, $MetadataBearer {
50
- name: "InvalidARNFault";
51
- $fault: "client";
52
- message?: string;
54
+ export declare class InvalidARNFault extends __BaseException {
55
+ readonly name: "InvalidARNFault";
56
+ readonly $fault: "client";
57
+
58
+ constructor(opts: __ExceptionOptionType<InvalidARNFault, __BaseException>);
53
59
  }
54
60
 
55
- export interface InvalidReplicationGroupStateFault extends __SmithyException, $MetadataBearer {
56
- name: "InvalidReplicationGroupStateFault";
57
- $fault: "client";
58
- message?: string;
61
+ export declare class InvalidReplicationGroupStateFault extends __BaseException {
62
+ readonly name: "InvalidReplicationGroupStateFault";
63
+ readonly $fault: "client";
64
+
65
+ constructor(opts: __ExceptionOptionType<InvalidReplicationGroupStateFault, __BaseException>);
59
66
  }
60
67
 
61
- export interface ReplicationGroupNotFoundFault extends __SmithyException, $MetadataBearer {
62
- name: "ReplicationGroupNotFoundFault";
63
- $fault: "client";
64
- message?: string;
68
+ export declare class ReplicationGroupNotFoundFault extends __BaseException {
69
+ readonly name: "ReplicationGroupNotFoundFault";
70
+ readonly $fault: "client";
71
+
72
+ constructor(opts: __ExceptionOptionType<ReplicationGroupNotFoundFault, __BaseException>);
65
73
  }
66
74
 
67
- export interface ReservedCacheNodeNotFoundFault extends __SmithyException, $MetadataBearer {
68
- name: "ReservedCacheNodeNotFoundFault";
69
- $fault: "client";
70
- message?: string;
75
+ export declare class ReservedCacheNodeNotFoundFault extends __BaseException {
76
+ readonly name: "ReservedCacheNodeNotFoundFault";
77
+ readonly $fault: "client";
78
+
79
+ constructor(opts: __ExceptionOptionType<ReservedCacheNodeNotFoundFault, __BaseException>);
71
80
  }
72
81
 
73
- export interface SnapshotNotFoundFault extends __SmithyException, $MetadataBearer {
74
- name: "SnapshotNotFoundFault";
75
- $fault: "client";
76
- message?: string;
82
+ export declare class SnapshotNotFoundFault extends __BaseException {
83
+ readonly name: "SnapshotNotFoundFault";
84
+ readonly $fault: "client";
85
+
86
+ constructor(opts: __ExceptionOptionType<SnapshotNotFoundFault, __BaseException>);
77
87
  }
78
88
 
79
89
  export interface TagListMessage {
@@ -85,22 +95,25 @@ export declare namespace TagListMessage {
85
95
  const filterSensitiveLog: (obj: TagListMessage) => any;
86
96
  }
87
97
 
88
- export interface TagQuotaPerResourceExceeded extends __SmithyException, $MetadataBearer {
89
- name: "TagQuotaPerResourceExceeded";
90
- $fault: "client";
91
- message?: string;
98
+ export declare class TagQuotaPerResourceExceeded extends __BaseException {
99
+ readonly name: "TagQuotaPerResourceExceeded";
100
+ readonly $fault: "client";
101
+
102
+ constructor(opts: __ExceptionOptionType<TagQuotaPerResourceExceeded, __BaseException>);
92
103
  }
93
104
 
94
- export interface UserGroupNotFoundFault extends __SmithyException, $MetadataBearer {
95
- name: "UserGroupNotFoundFault";
96
- $fault: "client";
97
- message?: string;
105
+ export declare class UserGroupNotFoundFault extends __BaseException {
106
+ readonly name: "UserGroupNotFoundFault";
107
+ readonly $fault: "client";
108
+
109
+ constructor(opts: __ExceptionOptionType<UserGroupNotFoundFault, __BaseException>);
98
110
  }
99
111
 
100
- export interface UserNotFoundFault extends __SmithyException, $MetadataBearer {
101
- name: "UserNotFoundFault";
102
- $fault: "client";
103
- message?: string;
112
+ export declare class UserNotFoundFault extends __BaseException {
113
+ readonly name: "UserNotFoundFault";
114
+ readonly $fault: "client";
115
+
116
+ constructor(opts: __ExceptionOptionType<UserNotFoundFault, __BaseException>);
104
117
  }
105
118
 
106
119
  export interface AllowedNodeTypeModificationsMessage {
@@ -114,10 +127,11 @@ export declare namespace AllowedNodeTypeModificationsMessage {
114
127
  const filterSensitiveLog: (obj: AllowedNodeTypeModificationsMessage) => any;
115
128
  }
116
129
 
117
- export interface AuthorizationAlreadyExistsFault extends __SmithyException, $MetadataBearer {
118
- name: "AuthorizationAlreadyExistsFault";
119
- $fault: "client";
120
- message?: string;
130
+ export declare class AuthorizationAlreadyExistsFault extends __BaseException {
131
+ readonly name: "AuthorizationAlreadyExistsFault";
132
+ readonly $fault: "client";
133
+
134
+ constructor(opts: __ExceptionOptionType<AuthorizationAlreadyExistsFault, __BaseException>);
121
135
  }
122
136
 
123
137
  export interface AuthorizeCacheSecurityGroupIngressMessage {
@@ -171,24 +185,25 @@ export declare namespace AuthorizeCacheSecurityGroupIngressResult {
171
185
  const filterSensitiveLog: (obj: AuthorizeCacheSecurityGroupIngressResult) => any;
172
186
  }
173
187
 
174
- export interface InvalidCacheSecurityGroupStateFault extends __SmithyException, $MetadataBearer {
175
- name: "InvalidCacheSecurityGroupStateFault";
176
- $fault: "client";
177
- message?: string;
188
+ export declare class InvalidCacheSecurityGroupStateFault extends __BaseException {
189
+ readonly name: "InvalidCacheSecurityGroupStateFault";
190
+ readonly $fault: "client";
191
+
192
+ constructor(opts: __ExceptionOptionType<InvalidCacheSecurityGroupStateFault, __BaseException>);
178
193
  }
179
194
 
180
- export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
181
- name: "InvalidParameterCombinationException";
182
- $fault: "client";
195
+ export declare class InvalidParameterCombinationException extends __BaseException {
196
+ readonly name: "InvalidParameterCombinationException";
197
+ readonly $fault: "client";
183
198
 
184
- message?: string;
199
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
185
200
  }
186
201
 
187
- export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
188
- name: "InvalidParameterValueException";
189
- $fault: "client";
202
+ export declare class InvalidParameterValueException extends __BaseException {
203
+ readonly name: "InvalidParameterValueException";
204
+ readonly $fault: "client";
190
205
 
191
- message?: string;
206
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
192
207
  }
193
208
  export interface BatchApplyUpdateActionMessage {
194
209
 
@@ -203,10 +218,11 @@ export declare namespace BatchApplyUpdateActionMessage {
203
218
  const filterSensitiveLog: (obj: BatchApplyUpdateActionMessage) => any;
204
219
  }
205
220
 
206
- export interface ServiceUpdateNotFoundFault extends __SmithyException, $MetadataBearer {
207
- name: "ServiceUpdateNotFoundFault";
208
- $fault: "client";
209
- message?: string;
221
+ export declare class ServiceUpdateNotFoundFault extends __BaseException {
222
+ readonly name: "ServiceUpdateNotFoundFault";
223
+ readonly $fault: "client";
224
+
225
+ constructor(opts: __ExceptionOptionType<ServiceUpdateNotFoundFault, __BaseException>);
210
226
  }
211
227
  export declare enum UpdateActionStatus {
212
228
  COMPLETE = "complete",
@@ -560,10 +576,11 @@ export declare namespace CompleteMigrationResponse {
560
576
  const filterSensitiveLog: (obj: CompleteMigrationResponse) => any;
561
577
  }
562
578
 
563
- export interface ReplicationGroupNotUnderMigrationFault extends __SmithyException, $MetadataBearer {
564
- name: "ReplicationGroupNotUnderMigrationFault";
565
- $fault: "client";
566
- message?: string;
579
+ export declare class ReplicationGroupNotUnderMigrationFault extends __BaseException {
580
+ readonly name: "ReplicationGroupNotUnderMigrationFault";
581
+ readonly $fault: "client";
582
+
583
+ constructor(opts: __ExceptionOptionType<ReplicationGroupNotUnderMigrationFault, __BaseException>);
567
584
  }
568
585
 
569
586
  export interface CopySnapshotMessage {
@@ -696,34 +713,39 @@ export declare namespace CopySnapshotResult {
696
713
  const filterSensitiveLog: (obj: CopySnapshotResult) => any;
697
714
  }
698
715
 
699
- export interface InvalidSnapshotStateFault extends __SmithyException, $MetadataBearer {
700
- name: "InvalidSnapshotStateFault";
701
- $fault: "client";
702
- message?: string;
716
+ export declare class InvalidSnapshotStateFault extends __BaseException {
717
+ readonly name: "InvalidSnapshotStateFault";
718
+ readonly $fault: "client";
719
+
720
+ constructor(opts: __ExceptionOptionType<InvalidSnapshotStateFault, __BaseException>);
703
721
  }
704
722
 
705
- export interface SnapshotAlreadyExistsFault extends __SmithyException, $MetadataBearer {
706
- name: "SnapshotAlreadyExistsFault";
707
- $fault: "client";
708
- message?: string;
723
+ export declare class SnapshotAlreadyExistsFault extends __BaseException {
724
+ readonly name: "SnapshotAlreadyExistsFault";
725
+ readonly $fault: "client";
726
+
727
+ constructor(opts: __ExceptionOptionType<SnapshotAlreadyExistsFault, __BaseException>);
709
728
  }
710
729
 
711
- export interface SnapshotQuotaExceededFault extends __SmithyException, $MetadataBearer {
712
- name: "SnapshotQuotaExceededFault";
713
- $fault: "client";
714
- message?: string;
730
+ export declare class SnapshotQuotaExceededFault extends __BaseException {
731
+ readonly name: "SnapshotQuotaExceededFault";
732
+ readonly $fault: "client";
733
+
734
+ constructor(opts: __ExceptionOptionType<SnapshotQuotaExceededFault, __BaseException>);
715
735
  }
716
736
 
717
- export interface CacheClusterAlreadyExistsFault extends __SmithyException, $MetadataBearer {
718
- name: "CacheClusterAlreadyExistsFault";
719
- $fault: "client";
720
- message?: string;
737
+ export declare class CacheClusterAlreadyExistsFault extends __BaseException {
738
+ readonly name: "CacheClusterAlreadyExistsFault";
739
+ readonly $fault: "client";
740
+
741
+ constructor(opts: __ExceptionOptionType<CacheClusterAlreadyExistsFault, __BaseException>);
721
742
  }
722
743
 
723
- export interface ClusterQuotaForCustomerExceededFault extends __SmithyException, $MetadataBearer {
724
- name: "ClusterQuotaForCustomerExceededFault";
725
- $fault: "client";
726
- message?: string;
744
+ export declare class ClusterQuotaForCustomerExceededFault extends __BaseException {
745
+ readonly name: "ClusterQuotaForCustomerExceededFault";
746
+ readonly $fault: "client";
747
+
748
+ constructor(opts: __ExceptionOptionType<ClusterQuotaForCustomerExceededFault, __BaseException>);
727
749
  }
728
750
  export declare enum AZMode {
729
751
  CROSS_AZ = "cross-az",
@@ -975,40 +997,46 @@ export declare namespace CreateCacheClusterResult {
975
997
  const filterSensitiveLog: (obj: CreateCacheClusterResult) => any;
976
998
  }
977
999
 
978
- export interface InsufficientCacheClusterCapacityFault extends __SmithyException, $MetadataBearer {
979
- name: "InsufficientCacheClusterCapacityFault";
980
- $fault: "client";
981
- message?: string;
1000
+ export declare class InsufficientCacheClusterCapacityFault extends __BaseException {
1001
+ readonly name: "InsufficientCacheClusterCapacityFault";
1002
+ readonly $fault: "client";
1003
+
1004
+ constructor(opts: __ExceptionOptionType<InsufficientCacheClusterCapacityFault, __BaseException>);
982
1005
  }
983
1006
 
984
- export interface InvalidVPCNetworkStateFault extends __SmithyException, $MetadataBearer {
985
- name: "InvalidVPCNetworkStateFault";
986
- $fault: "client";
987
- message?: string;
1007
+ export declare class InvalidVPCNetworkStateFault extends __BaseException {
1008
+ readonly name: "InvalidVPCNetworkStateFault";
1009
+ readonly $fault: "client";
1010
+
1011
+ constructor(opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>);
988
1012
  }
989
1013
 
990
- export interface NodeQuotaForClusterExceededFault extends __SmithyException, $MetadataBearer {
991
- name: "NodeQuotaForClusterExceededFault";
992
- $fault: "client";
993
- message?: string;
1014
+ export declare class NodeQuotaForClusterExceededFault extends __BaseException {
1015
+ readonly name: "NodeQuotaForClusterExceededFault";
1016
+ readonly $fault: "client";
1017
+
1018
+ constructor(opts: __ExceptionOptionType<NodeQuotaForClusterExceededFault, __BaseException>);
994
1019
  }
995
1020
 
996
- export interface NodeQuotaForCustomerExceededFault extends __SmithyException, $MetadataBearer {
997
- name: "NodeQuotaForCustomerExceededFault";
998
- $fault: "client";
999
- message?: string;
1021
+ export declare class NodeQuotaForCustomerExceededFault extends __BaseException {
1022
+ readonly name: "NodeQuotaForCustomerExceededFault";
1023
+ readonly $fault: "client";
1024
+
1025
+ constructor(opts: __ExceptionOptionType<NodeQuotaForCustomerExceededFault, __BaseException>);
1000
1026
  }
1001
1027
 
1002
- export interface CacheParameterGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1003
- name: "CacheParameterGroupAlreadyExistsFault";
1004
- $fault: "client";
1005
- message?: string;
1028
+ export declare class CacheParameterGroupAlreadyExistsFault extends __BaseException {
1029
+ readonly name: "CacheParameterGroupAlreadyExistsFault";
1030
+ readonly $fault: "client";
1031
+
1032
+ constructor(opts: __ExceptionOptionType<CacheParameterGroupAlreadyExistsFault, __BaseException>);
1006
1033
  }
1007
1034
 
1008
- export interface CacheParameterGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
1009
- name: "CacheParameterGroupQuotaExceededFault";
1010
- $fault: "client";
1011
- message?: string;
1035
+ export declare class CacheParameterGroupQuotaExceededFault extends __BaseException {
1036
+ readonly name: "CacheParameterGroupQuotaExceededFault";
1037
+ readonly $fault: "client";
1038
+
1039
+ constructor(opts: __ExceptionOptionType<CacheParameterGroupQuotaExceededFault, __BaseException>);
1012
1040
  }
1013
1041
 
1014
1042
  export interface CreateCacheParameterGroupMessage {
@@ -1051,22 +1079,25 @@ export declare namespace CreateCacheParameterGroupResult {
1051
1079
  const filterSensitiveLog: (obj: CreateCacheParameterGroupResult) => any;
1052
1080
  }
1053
1081
 
1054
- export interface InvalidCacheParameterGroupStateFault extends __SmithyException, $MetadataBearer {
1055
- name: "InvalidCacheParameterGroupStateFault";
1056
- $fault: "client";
1057
- message?: string;
1082
+ export declare class InvalidCacheParameterGroupStateFault extends __BaseException {
1083
+ readonly name: "InvalidCacheParameterGroupStateFault";
1084
+ readonly $fault: "client";
1085
+
1086
+ constructor(opts: __ExceptionOptionType<InvalidCacheParameterGroupStateFault, __BaseException>);
1058
1087
  }
1059
1088
 
1060
- export interface CacheSecurityGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1061
- name: "CacheSecurityGroupAlreadyExistsFault";
1062
- $fault: "client";
1063
- message?: string;
1089
+ export declare class CacheSecurityGroupAlreadyExistsFault extends __BaseException {
1090
+ readonly name: "CacheSecurityGroupAlreadyExistsFault";
1091
+ readonly $fault: "client";
1092
+
1093
+ constructor(opts: __ExceptionOptionType<CacheSecurityGroupAlreadyExistsFault, __BaseException>);
1064
1094
  }
1065
1095
 
1066
- export interface CacheSecurityGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
1067
- name: "CacheSecurityGroupQuotaExceededFault";
1068
- $fault: "client";
1069
- message?: string;
1096
+ export declare class CacheSecurityGroupQuotaExceededFault extends __BaseException {
1097
+ readonly name: "CacheSecurityGroupQuotaExceededFault";
1098
+ readonly $fault: "client";
1099
+
1100
+ constructor(opts: __ExceptionOptionType<CacheSecurityGroupQuotaExceededFault, __BaseException>);
1070
1101
  }
1071
1102
 
1072
1103
  export interface CreateCacheSecurityGroupMessage {
@@ -1090,22 +1121,25 @@ export declare namespace CreateCacheSecurityGroupResult {
1090
1121
  const filterSensitiveLog: (obj: CreateCacheSecurityGroupResult) => any;
1091
1122
  }
1092
1123
 
1093
- export interface CacheSubnetGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1094
- name: "CacheSubnetGroupAlreadyExistsFault";
1095
- $fault: "client";
1096
- message?: string;
1124
+ export declare class CacheSubnetGroupAlreadyExistsFault extends __BaseException {
1125
+ readonly name: "CacheSubnetGroupAlreadyExistsFault";
1126
+ readonly $fault: "client";
1127
+
1128
+ constructor(opts: __ExceptionOptionType<CacheSubnetGroupAlreadyExistsFault, __BaseException>);
1097
1129
  }
1098
1130
 
1099
- export interface CacheSubnetGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
1100
- name: "CacheSubnetGroupQuotaExceededFault";
1101
- $fault: "client";
1102
- message?: string;
1131
+ export declare class CacheSubnetGroupQuotaExceededFault extends __BaseException {
1132
+ readonly name: "CacheSubnetGroupQuotaExceededFault";
1133
+ readonly $fault: "client";
1134
+
1135
+ constructor(opts: __ExceptionOptionType<CacheSubnetGroupQuotaExceededFault, __BaseException>);
1103
1136
  }
1104
1137
 
1105
- export interface CacheSubnetQuotaExceededFault extends __SmithyException, $MetadataBearer {
1106
- name: "CacheSubnetQuotaExceededFault";
1107
- $fault: "client";
1108
- message?: string;
1138
+ export declare class CacheSubnetQuotaExceededFault extends __BaseException {
1139
+ readonly name: "CacheSubnetQuotaExceededFault";
1140
+ readonly $fault: "client";
1141
+
1142
+ constructor(opts: __ExceptionOptionType<CacheSubnetQuotaExceededFault, __BaseException>);
1109
1143
  }
1110
1144
 
1111
1145
  export interface CreateCacheSubnetGroupMessage {
@@ -1179,16 +1213,18 @@ export declare namespace CreateCacheSubnetGroupResult {
1179
1213
  const filterSensitiveLog: (obj: CreateCacheSubnetGroupResult) => any;
1180
1214
  }
1181
1215
 
1182
- export interface InvalidSubnet extends __SmithyException, $MetadataBearer {
1183
- name: "InvalidSubnet";
1184
- $fault: "client";
1185
- message?: string;
1216
+ export declare class InvalidSubnet extends __BaseException {
1217
+ readonly name: "InvalidSubnet";
1218
+ readonly $fault: "client";
1219
+
1220
+ constructor(opts: __ExceptionOptionType<InvalidSubnet, __BaseException>);
1186
1221
  }
1187
1222
 
1188
- export interface SubnetNotAllowedFault extends __SmithyException, $MetadataBearer {
1189
- name: "SubnetNotAllowedFault";
1190
- $fault: "client";
1191
- message?: string;
1223
+ export declare class SubnetNotAllowedFault extends __BaseException {
1224
+ readonly name: "SubnetNotAllowedFault";
1225
+ readonly $fault: "client";
1226
+
1227
+ constructor(opts: __ExceptionOptionType<SubnetNotAllowedFault, __BaseException>);
1192
1228
  }
1193
1229
  export interface CreateGlobalReplicationGroupMessage {
1194
1230
 
@@ -1272,16 +1308,18 @@ export declare namespace CreateGlobalReplicationGroupResult {
1272
1308
  const filterSensitiveLog: (obj: CreateGlobalReplicationGroupResult) => any;
1273
1309
  }
1274
1310
 
1275
- export interface GlobalReplicationGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1276
- name: "GlobalReplicationGroupAlreadyExistsFault";
1277
- $fault: "client";
1278
- message?: string;
1311
+ export declare class GlobalReplicationGroupAlreadyExistsFault extends __BaseException {
1312
+ readonly name: "GlobalReplicationGroupAlreadyExistsFault";
1313
+ readonly $fault: "client";
1314
+
1315
+ constructor(opts: __ExceptionOptionType<GlobalReplicationGroupAlreadyExistsFault, __BaseException>);
1279
1316
  }
1280
1317
 
1281
- export interface ServiceLinkedRoleNotFoundFault extends __SmithyException, $MetadataBearer {
1282
- name: "ServiceLinkedRoleNotFoundFault";
1283
- $fault: "client";
1284
- message?: string;
1318
+ export declare class ServiceLinkedRoleNotFoundFault extends __BaseException {
1319
+ readonly name: "ServiceLinkedRoleNotFoundFault";
1320
+ readonly $fault: "client";
1321
+
1322
+ constructor(opts: __ExceptionOptionType<ServiceLinkedRoleNotFoundFault, __BaseException>);
1285
1323
  }
1286
1324
 
1287
1325
  export interface CreateReplicationGroupMessage {
@@ -1367,40 +1405,46 @@ export declare namespace CreateReplicationGroupResult {
1367
1405
  const filterSensitiveLog: (obj: CreateReplicationGroupResult) => any;
1368
1406
  }
1369
1407
 
1370
- export interface GlobalReplicationGroupNotFoundFault extends __SmithyException, $MetadataBearer {
1371
- name: "GlobalReplicationGroupNotFoundFault";
1372
- $fault: "client";
1373
- message?: string;
1408
+ export declare class GlobalReplicationGroupNotFoundFault extends __BaseException {
1409
+ readonly name: "GlobalReplicationGroupNotFoundFault";
1410
+ readonly $fault: "client";
1411
+
1412
+ constructor(opts: __ExceptionOptionType<GlobalReplicationGroupNotFoundFault, __BaseException>);
1374
1413
  }
1375
1414
 
1376
- export interface InvalidCacheClusterStateFault extends __SmithyException, $MetadataBearer {
1377
- name: "InvalidCacheClusterStateFault";
1378
- $fault: "client";
1379
- message?: string;
1415
+ export declare class InvalidCacheClusterStateFault extends __BaseException {
1416
+ readonly name: "InvalidCacheClusterStateFault";
1417
+ readonly $fault: "client";
1418
+
1419
+ constructor(opts: __ExceptionOptionType<InvalidCacheClusterStateFault, __BaseException>);
1380
1420
  }
1381
1421
 
1382
- export interface InvalidGlobalReplicationGroupStateFault extends __SmithyException, $MetadataBearer {
1383
- name: "InvalidGlobalReplicationGroupStateFault";
1384
- $fault: "client";
1385
- message?: string;
1422
+ export declare class InvalidGlobalReplicationGroupStateFault extends __BaseException {
1423
+ readonly name: "InvalidGlobalReplicationGroupStateFault";
1424
+ readonly $fault: "client";
1425
+
1426
+ constructor(opts: __ExceptionOptionType<InvalidGlobalReplicationGroupStateFault, __BaseException>);
1386
1427
  }
1387
1428
 
1388
- export interface InvalidUserGroupStateFault extends __SmithyException, $MetadataBearer {
1389
- name: "InvalidUserGroupStateFault";
1390
- $fault: "client";
1391
- message?: string;
1429
+ export declare class InvalidUserGroupStateFault extends __BaseException {
1430
+ readonly name: "InvalidUserGroupStateFault";
1431
+ readonly $fault: "client";
1432
+
1433
+ constructor(opts: __ExceptionOptionType<InvalidUserGroupStateFault, __BaseException>);
1392
1434
  }
1393
1435
 
1394
- export interface NodeGroupsPerReplicationGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
1395
- name: "NodeGroupsPerReplicationGroupQuotaExceededFault";
1396
- $fault: "client";
1397
- message?: string;
1436
+ export declare class NodeGroupsPerReplicationGroupQuotaExceededFault extends __BaseException {
1437
+ readonly name: "NodeGroupsPerReplicationGroupQuotaExceededFault";
1438
+ readonly $fault: "client";
1439
+
1440
+ constructor(opts: __ExceptionOptionType<NodeGroupsPerReplicationGroupQuotaExceededFault, __BaseException>);
1398
1441
  }
1399
1442
 
1400
- export interface ReplicationGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1401
- name: "ReplicationGroupAlreadyExistsFault";
1402
- $fault: "client";
1403
- message?: string;
1443
+ export declare class ReplicationGroupAlreadyExistsFault extends __BaseException {
1444
+ readonly name: "ReplicationGroupAlreadyExistsFault";
1445
+ readonly $fault: "client";
1446
+
1447
+ constructor(opts: __ExceptionOptionType<ReplicationGroupAlreadyExistsFault, __BaseException>);
1404
1448
  }
1405
1449
 
1406
1450
  export interface CreateSnapshotMessage {
@@ -1428,10 +1472,11 @@ export declare namespace CreateSnapshotResult {
1428
1472
  const filterSensitiveLog: (obj: CreateSnapshotResult) => any;
1429
1473
  }
1430
1474
 
1431
- export interface SnapshotFeatureNotSupportedFault extends __SmithyException, $MetadataBearer {
1432
- name: "SnapshotFeatureNotSupportedFault";
1433
- $fault: "client";
1434
- message?: string;
1475
+ export declare class SnapshotFeatureNotSupportedFault extends __BaseException {
1476
+ readonly name: "SnapshotFeatureNotSupportedFault";
1477
+ readonly $fault: "client";
1478
+
1479
+ constructor(opts: __ExceptionOptionType<SnapshotFeatureNotSupportedFault, __BaseException>);
1435
1480
  }
1436
1481
  export interface CreateUserMessage {
1437
1482
 
@@ -1454,10 +1499,11 @@ export declare namespace CreateUserMessage {
1454
1499
  const filterSensitiveLog: (obj: CreateUserMessage) => any;
1455
1500
  }
1456
1501
 
1457
- export interface DuplicateUserNameFault extends __SmithyException, $MetadataBearer {
1458
- name: "DuplicateUserNameFault";
1459
- $fault: "client";
1460
- message?: string;
1502
+ export declare class DuplicateUserNameFault extends __BaseException {
1503
+ readonly name: "DuplicateUserNameFault";
1504
+ readonly $fault: "client";
1505
+
1506
+ constructor(opts: __ExceptionOptionType<DuplicateUserNameFault, __BaseException>);
1461
1507
  }
1462
1508
  export declare enum AuthenticationType {
1463
1509
  NO_PASSWORD = "no-password",
@@ -1499,16 +1545,18 @@ export declare namespace User {
1499
1545
  const filterSensitiveLog: (obj: User) => any;
1500
1546
  }
1501
1547
 
1502
- export interface UserAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1503
- name: "UserAlreadyExistsFault";
1504
- $fault: "client";
1505
- message?: string;
1548
+ export declare class UserAlreadyExistsFault extends __BaseException {
1549
+ readonly name: "UserAlreadyExistsFault";
1550
+ readonly $fault: "client";
1551
+
1552
+ constructor(opts: __ExceptionOptionType<UserAlreadyExistsFault, __BaseException>);
1506
1553
  }
1507
1554
 
1508
- export interface UserQuotaExceededFault extends __SmithyException, $MetadataBearer {
1509
- name: "UserQuotaExceededFault";
1510
- $fault: "client";
1511
- message?: string;
1555
+ export declare class UserQuotaExceededFault extends __BaseException {
1556
+ readonly name: "UserQuotaExceededFault";
1557
+ readonly $fault: "client";
1558
+
1559
+ constructor(opts: __ExceptionOptionType<UserQuotaExceededFault, __BaseException>);
1512
1560
  }
1513
1561
  export interface CreateUserGroupMessage {
1514
1562
 
@@ -1525,10 +1573,11 @@ export declare namespace CreateUserGroupMessage {
1525
1573
  const filterSensitiveLog: (obj: CreateUserGroupMessage) => any;
1526
1574
  }
1527
1575
 
1528
- export interface DefaultUserRequired extends __SmithyException, $MetadataBearer {
1529
- name: "DefaultUserRequired";
1530
- $fault: "client";
1531
- message?: string;
1576
+ export declare class DefaultUserRequired extends __BaseException {
1577
+ readonly name: "DefaultUserRequired";
1578
+ readonly $fault: "client";
1579
+
1580
+ constructor(opts: __ExceptionOptionType<DefaultUserRequired, __BaseException>);
1532
1581
  }
1533
1582
 
1534
1583
  export interface UserGroupPendingChanges {
@@ -1564,16 +1613,18 @@ export declare namespace UserGroup {
1564
1613
  const filterSensitiveLog: (obj: UserGroup) => any;
1565
1614
  }
1566
1615
 
1567
- export interface UserGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1568
- name: "UserGroupAlreadyExistsFault";
1569
- $fault: "client";
1570
- message?: string;
1616
+ export declare class UserGroupAlreadyExistsFault extends __BaseException {
1617
+ readonly name: "UserGroupAlreadyExistsFault";
1618
+ readonly $fault: "client";
1619
+
1620
+ constructor(opts: __ExceptionOptionType<UserGroupAlreadyExistsFault, __BaseException>);
1571
1621
  }
1572
1622
 
1573
- export interface UserGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
1574
- name: "UserGroupQuotaExceededFault";
1575
- $fault: "client";
1576
- message?: string;
1623
+ export declare class UserGroupQuotaExceededFault extends __BaseException {
1624
+ readonly name: "UserGroupQuotaExceededFault";
1625
+ readonly $fault: "client";
1626
+
1627
+ constructor(opts: __ExceptionOptionType<UserGroupQuotaExceededFault, __BaseException>);
1577
1628
  }
1578
1629
  export interface DecreaseNodeGroupsInGlobalReplicationGroupMessage {
1579
1630
 
@@ -1639,10 +1690,11 @@ export declare namespace DecreaseReplicaCountResult {
1639
1690
  const filterSensitiveLog: (obj: DecreaseReplicaCountResult) => any;
1640
1691
  }
1641
1692
 
1642
- export interface NoOperationFault extends __SmithyException, $MetadataBearer {
1643
- name: "NoOperationFault";
1644
- $fault: "client";
1645
- message?: string;
1693
+ export declare class NoOperationFault extends __BaseException {
1694
+ readonly name: "NoOperationFault";
1695
+ readonly $fault: "client";
1696
+
1697
+ constructor(opts: __ExceptionOptionType<NoOperationFault, __BaseException>);
1646
1698
  }
1647
1699
 
1648
1700
  export interface DeleteCacheClusterMessage {
@@ -1682,10 +1734,11 @@ export declare namespace DeleteCacheSecurityGroupMessage {
1682
1734
  const filterSensitiveLog: (obj: DeleteCacheSecurityGroupMessage) => any;
1683
1735
  }
1684
1736
 
1685
- export interface CacheSubnetGroupInUse extends __SmithyException, $MetadataBearer {
1686
- name: "CacheSubnetGroupInUse";
1687
- $fault: "client";
1688
- message?: string;
1737
+ export declare class CacheSubnetGroupInUse extends __BaseException {
1738
+ readonly name: "CacheSubnetGroupInUse";
1739
+ readonly $fault: "client";
1740
+
1741
+ constructor(opts: __ExceptionOptionType<CacheSubnetGroupInUse, __BaseException>);
1689
1742
  }
1690
1743
 
1691
1744
  export interface DeleteCacheSubnetGroupMessage {
@@ -1753,10 +1806,11 @@ export declare namespace DeleteSnapshotResult {
1753
1806
  const filterSensitiveLog: (obj: DeleteSnapshotResult) => any;
1754
1807
  }
1755
1808
 
1756
- export interface DefaultUserAssociatedToUserGroupFault extends __SmithyException, $MetadataBearer {
1757
- name: "DefaultUserAssociatedToUserGroupFault";
1758
- $fault: "client";
1759
- message?: string;
1809
+ export declare class DefaultUserAssociatedToUserGroupFault extends __BaseException {
1810
+ readonly name: "DefaultUserAssociatedToUserGroupFault";
1811
+ readonly $fault: "client";
1812
+
1813
+ constructor(opts: __ExceptionOptionType<DefaultUserAssociatedToUserGroupFault, __BaseException>);
1760
1814
  }
1761
1815
  export interface DeleteUserMessage {
1762
1816
 
@@ -1767,10 +1821,11 @@ export declare namespace DeleteUserMessage {
1767
1821
  const filterSensitiveLog: (obj: DeleteUserMessage) => any;
1768
1822
  }
1769
1823
 
1770
- export interface InvalidUserStateFault extends __SmithyException, $MetadataBearer {
1771
- name: "InvalidUserStateFault";
1772
- $fault: "client";
1773
- message?: string;
1824
+ export declare class InvalidUserStateFault extends __BaseException {
1825
+ readonly name: "InvalidUserStateFault";
1826
+ readonly $fault: "client";
1827
+
1828
+ constructor(opts: __ExceptionOptionType<InvalidUserStateFault, __BaseException>);
1774
1829
  }
1775
1830
  export interface DeleteUserGroupMessage {
1776
1831
 
@@ -2283,10 +2338,11 @@ export declare namespace ReservedCacheNodesOfferingMessage {
2283
2338
  const filterSensitiveLog: (obj: ReservedCacheNodesOfferingMessage) => any;
2284
2339
  }
2285
2340
 
2286
- export interface ReservedCacheNodesOfferingNotFoundFault extends __SmithyException, $MetadataBearer {
2287
- name: "ReservedCacheNodesOfferingNotFoundFault";
2288
- $fault: "client";
2289
- message?: string;
2341
+ export declare class ReservedCacheNodesOfferingNotFoundFault extends __BaseException {
2342
+ readonly name: "ReservedCacheNodesOfferingNotFoundFault";
2343
+ readonly $fault: "client";
2344
+
2345
+ constructor(opts: __ExceptionOptionType<ReservedCacheNodesOfferingNotFoundFault, __BaseException>);
2290
2346
  }
2291
2347
  export declare enum ServiceUpdateStatus {
2292
2348
  AVAILABLE = "available",
@@ -2721,10 +2777,11 @@ export declare namespace IncreaseReplicaCountResult {
2721
2777
  const filterSensitiveLog: (obj: IncreaseReplicaCountResult) => any;
2722
2778
  }
2723
2779
 
2724
- export interface InvalidKMSKeyFault extends __SmithyException, $MetadataBearer {
2725
- name: "InvalidKMSKeyFault";
2726
- $fault: "client";
2727
- message?: string;
2780
+ export declare class InvalidKMSKeyFault extends __BaseException {
2781
+ readonly name: "InvalidKMSKeyFault";
2782
+ readonly $fault: "client";
2783
+
2784
+ constructor(opts: __ExceptionOptionType<InvalidKMSKeyFault, __BaseException>);
2728
2785
  }
2729
2786
 
2730
2787
  export interface ListAllowedNodeTypeModificationsMessage {
@@ -2855,10 +2912,11 @@ export declare namespace ModifyCacheSubnetGroupResult {
2855
2912
  const filterSensitiveLog: (obj: ModifyCacheSubnetGroupResult) => any;
2856
2913
  }
2857
2914
 
2858
- export interface SubnetInUse extends __SmithyException, $MetadataBearer {
2859
- name: "SubnetInUse";
2860
- $fault: "client";
2861
- message?: string;
2915
+ export declare class SubnetInUse extends __BaseException {
2916
+ readonly name: "SubnetInUse";
2917
+ readonly $fault: "client";
2918
+
2919
+ constructor(opts: __ExceptionOptionType<SubnetInUse, __BaseException>);
2862
2920
  }
2863
2921
  export interface ModifyGlobalReplicationGroupMessage {
2864
2922
 
@@ -3032,16 +3090,18 @@ export declare namespace PurchaseReservedCacheNodesOfferingResult {
3032
3090
  const filterSensitiveLog: (obj: PurchaseReservedCacheNodesOfferingResult) => any;
3033
3091
  }
3034
3092
 
3035
- export interface ReservedCacheNodeAlreadyExistsFault extends __SmithyException, $MetadataBearer {
3036
- name: "ReservedCacheNodeAlreadyExistsFault";
3037
- $fault: "client";
3038
- message?: string;
3093
+ export declare class ReservedCacheNodeAlreadyExistsFault extends __BaseException {
3094
+ readonly name: "ReservedCacheNodeAlreadyExistsFault";
3095
+ readonly $fault: "client";
3096
+
3097
+ constructor(opts: __ExceptionOptionType<ReservedCacheNodeAlreadyExistsFault, __BaseException>);
3039
3098
  }
3040
3099
 
3041
- export interface ReservedCacheNodeQuotaExceededFault extends __SmithyException, $MetadataBearer {
3042
- name: "ReservedCacheNodeQuotaExceededFault";
3043
- $fault: "client";
3044
- message?: string;
3100
+ export declare class ReservedCacheNodeQuotaExceededFault extends __BaseException {
3101
+ readonly name: "ReservedCacheNodeQuotaExceededFault";
3102
+ readonly $fault: "client";
3103
+
3104
+ constructor(opts: __ExceptionOptionType<ReservedCacheNodeQuotaExceededFault, __BaseException>);
3045
3105
  }
3046
3106
  export interface RebalanceSlotsInGlobalReplicationGroupMessage {
3047
3107
 
@@ -3092,10 +3152,11 @@ export declare namespace RemoveTagsFromResourceMessage {
3092
3152
  const filterSensitiveLog: (obj: RemoveTagsFromResourceMessage) => any;
3093
3153
  }
3094
3154
 
3095
- export interface TagNotFoundFault extends __SmithyException, $MetadataBearer {
3096
- name: "TagNotFoundFault";
3097
- $fault: "client";
3098
- message?: string;
3155
+ export declare class TagNotFoundFault extends __BaseException {
3156
+ readonly name: "TagNotFoundFault";
3157
+ readonly $fault: "client";
3158
+
3159
+ constructor(opts: __ExceptionOptionType<TagNotFoundFault, __BaseException>);
3099
3160
  }
3100
3161
 
3101
3162
  export interface ResetCacheParameterGroupMessage {
@@ -3111,10 +3172,11 @@ export declare namespace ResetCacheParameterGroupMessage {
3111
3172
  const filterSensitiveLog: (obj: ResetCacheParameterGroupMessage) => any;
3112
3173
  }
3113
3174
 
3114
- export interface AuthorizationNotFoundFault extends __SmithyException, $MetadataBearer {
3115
- name: "AuthorizationNotFoundFault";
3116
- $fault: "client";
3117
- message?: string;
3175
+ export declare class AuthorizationNotFoundFault extends __BaseException {
3176
+ readonly name: "AuthorizationNotFoundFault";
3177
+ readonly $fault: "client";
3178
+
3179
+ constructor(opts: __ExceptionOptionType<AuthorizationNotFoundFault, __BaseException>);
3118
3180
  }
3119
3181
 
3120
3182
  export interface RevokeCacheSecurityGroupIngressMessage {
@@ -3138,10 +3200,11 @@ export declare namespace RevokeCacheSecurityGroupIngressResult {
3138
3200
  const filterSensitiveLog: (obj: RevokeCacheSecurityGroupIngressResult) => any;
3139
3201
  }
3140
3202
 
3141
- export interface ReplicationGroupAlreadyUnderMigrationFault extends __SmithyException, $MetadataBearer {
3142
- name: "ReplicationGroupAlreadyUnderMigrationFault";
3143
- $fault: "client";
3144
- message?: string;
3203
+ export declare class ReplicationGroupAlreadyUnderMigrationFault extends __BaseException {
3204
+ readonly name: "ReplicationGroupAlreadyUnderMigrationFault";
3205
+ readonly $fault: "client";
3206
+
3207
+ constructor(opts: __ExceptionOptionType<ReplicationGroupAlreadyUnderMigrationFault, __BaseException>);
3145
3208
  }
3146
3209
 
3147
3210
  export interface CustomerNodeEndpoint {
@@ -3173,16 +3236,18 @@ export declare namespace StartMigrationResponse {
3173
3236
  const filterSensitiveLog: (obj: StartMigrationResponse) => any;
3174
3237
  }
3175
3238
 
3176
- export interface APICallRateForCustomerExceededFault extends __SmithyException, $MetadataBearer {
3177
- name: "APICallRateForCustomerExceededFault";
3178
- $fault: "client";
3179
- message?: string;
3239
+ export declare class APICallRateForCustomerExceededFault extends __BaseException {
3240
+ readonly name: "APICallRateForCustomerExceededFault";
3241
+ readonly $fault: "client";
3242
+
3243
+ constructor(opts: __ExceptionOptionType<APICallRateForCustomerExceededFault, __BaseException>);
3180
3244
  }
3181
3245
 
3182
- export interface NodeGroupNotFoundFault extends __SmithyException, $MetadataBearer {
3183
- name: "NodeGroupNotFoundFault";
3184
- $fault: "client";
3185
- message?: string;
3246
+ export declare class NodeGroupNotFoundFault extends __BaseException {
3247
+ readonly name: "NodeGroupNotFoundFault";
3248
+ readonly $fault: "client";
3249
+
3250
+ constructor(opts: __ExceptionOptionType<NodeGroupNotFoundFault, __BaseException>);
3186
3251
  }
3187
3252
  export interface TestFailoverMessage {
3188
3253
 
@@ -3195,10 +3260,11 @@ export declare namespace TestFailoverMessage {
3195
3260
  const filterSensitiveLog: (obj: TestFailoverMessage) => any;
3196
3261
  }
3197
3262
 
3198
- export interface TestFailoverNotAvailableFault extends __SmithyException, $MetadataBearer {
3199
- name: "TestFailoverNotAvailableFault";
3200
- $fault: "client";
3201
- message?: string;
3263
+ export declare class TestFailoverNotAvailableFault extends __BaseException {
3264
+ readonly name: "TestFailoverNotAvailableFault";
3265
+ readonly $fault: "client";
3266
+
3267
+ constructor(opts: __ExceptionOptionType<TestFailoverNotAvailableFault, __BaseException>);
3202
3268
  }
3203
3269
  export interface TestFailoverResult {
3204
3270