@aws-sdk/client-dax 3.987.0 → 3.989.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DAXServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class DAXServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, DAXServiceException.prototype);
10
+ }
11
+ }
12
+ exports.DAXServiceException = DAXServiceException;
@@ -0,0 +1,368 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubnetInUse = exports.TagNotFoundFault = exports.InvalidARNFault = exports.SubnetGroupInUseFault = exports.NodeNotFoundFault = exports.ClusterNotFoundFault = exports.SubnetQuotaExceededFault = exports.SubnetNotAllowedFault = exports.SubnetGroupQuotaExceededFault = exports.SubnetGroupAlreadyExistsFault = exports.InvalidSubnet = exports.ParameterGroupQuotaExceededFault = exports.ParameterGroupAlreadyExistsFault = exports.TagQuotaPerResourceExceeded = exports.SubnetGroupNotFoundFault = exports.ServiceQuotaExceededException = exports.ServiceLinkedRoleNotFoundFault = exports.ParameterGroupNotFoundFault = exports.NodeQuotaForCustomerExceededFault = exports.NodeQuotaForClusterExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidParameterValueException = exports.InvalidParameterGroupStateFault = exports.InvalidParameterCombinationException = exports.InvalidClusterStateFault = exports.InsufficientClusterCapacityFault = exports.ClusterQuotaForCustomerExceededFault = exports.ClusterAlreadyExistsFault = void 0;
4
+ const DAXServiceException_1 = require("./DAXServiceException");
5
+ class ClusterAlreadyExistsFault extends DAXServiceException_1.DAXServiceException {
6
+ name = "ClusterAlreadyExistsFault";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "ClusterAlreadyExistsFault",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, ClusterAlreadyExistsFault.prototype);
15
+ }
16
+ }
17
+ exports.ClusterAlreadyExistsFault = ClusterAlreadyExistsFault;
18
+ class ClusterQuotaForCustomerExceededFault extends DAXServiceException_1.DAXServiceException {
19
+ name = "ClusterQuotaForCustomerExceededFault";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "ClusterQuotaForCustomerExceededFault",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, ClusterQuotaForCustomerExceededFault.prototype);
28
+ }
29
+ }
30
+ exports.ClusterQuotaForCustomerExceededFault = ClusterQuotaForCustomerExceededFault;
31
+ class InsufficientClusterCapacityFault extends DAXServiceException_1.DAXServiceException {
32
+ name = "InsufficientClusterCapacityFault";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "InsufficientClusterCapacityFault",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InsufficientClusterCapacityFault.prototype);
41
+ }
42
+ }
43
+ exports.InsufficientClusterCapacityFault = InsufficientClusterCapacityFault;
44
+ class InvalidClusterStateFault extends DAXServiceException_1.DAXServiceException {
45
+ name = "InvalidClusterStateFault";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "InvalidClusterStateFault",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, InvalidClusterStateFault.prototype);
54
+ }
55
+ }
56
+ exports.InvalidClusterStateFault = InvalidClusterStateFault;
57
+ class InvalidParameterCombinationException extends DAXServiceException_1.DAXServiceException {
58
+ name = "InvalidParameterCombinationException";
59
+ $fault = "client";
60
+ constructor(opts) {
61
+ super({
62
+ name: "InvalidParameterCombinationException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
67
+ }
68
+ }
69
+ exports.InvalidParameterCombinationException = InvalidParameterCombinationException;
70
+ class InvalidParameterGroupStateFault extends DAXServiceException_1.DAXServiceException {
71
+ name = "InvalidParameterGroupStateFault";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "InvalidParameterGroupStateFault",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, InvalidParameterGroupStateFault.prototype);
80
+ }
81
+ }
82
+ exports.InvalidParameterGroupStateFault = InvalidParameterGroupStateFault;
83
+ class InvalidParameterValueException extends DAXServiceException_1.DAXServiceException {
84
+ name = "InvalidParameterValueException";
85
+ $fault = "client";
86
+ constructor(opts) {
87
+ super({
88
+ name: "InvalidParameterValueException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
93
+ }
94
+ }
95
+ exports.InvalidParameterValueException = InvalidParameterValueException;
96
+ class InvalidVPCNetworkStateFault extends DAXServiceException_1.DAXServiceException {
97
+ name = "InvalidVPCNetworkStateFault";
98
+ $fault = "client";
99
+ constructor(opts) {
100
+ super({
101
+ name: "InvalidVPCNetworkStateFault",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, InvalidVPCNetworkStateFault.prototype);
106
+ }
107
+ }
108
+ exports.InvalidVPCNetworkStateFault = InvalidVPCNetworkStateFault;
109
+ class NodeQuotaForClusterExceededFault extends DAXServiceException_1.DAXServiceException {
110
+ name = "NodeQuotaForClusterExceededFault";
111
+ $fault = "client";
112
+ constructor(opts) {
113
+ super({
114
+ name: "NodeQuotaForClusterExceededFault",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, NodeQuotaForClusterExceededFault.prototype);
119
+ }
120
+ }
121
+ exports.NodeQuotaForClusterExceededFault = NodeQuotaForClusterExceededFault;
122
+ class NodeQuotaForCustomerExceededFault extends DAXServiceException_1.DAXServiceException {
123
+ name = "NodeQuotaForCustomerExceededFault";
124
+ $fault = "client";
125
+ constructor(opts) {
126
+ super({
127
+ name: "NodeQuotaForCustomerExceededFault",
128
+ $fault: "client",
129
+ ...opts,
130
+ });
131
+ Object.setPrototypeOf(this, NodeQuotaForCustomerExceededFault.prototype);
132
+ }
133
+ }
134
+ exports.NodeQuotaForCustomerExceededFault = NodeQuotaForCustomerExceededFault;
135
+ class ParameterGroupNotFoundFault extends DAXServiceException_1.DAXServiceException {
136
+ name = "ParameterGroupNotFoundFault";
137
+ $fault = "client";
138
+ constructor(opts) {
139
+ super({
140
+ name: "ParameterGroupNotFoundFault",
141
+ $fault: "client",
142
+ ...opts,
143
+ });
144
+ Object.setPrototypeOf(this, ParameterGroupNotFoundFault.prototype);
145
+ }
146
+ }
147
+ exports.ParameterGroupNotFoundFault = ParameterGroupNotFoundFault;
148
+ class ServiceLinkedRoleNotFoundFault extends DAXServiceException_1.DAXServiceException {
149
+ name = "ServiceLinkedRoleNotFoundFault";
150
+ $fault = "client";
151
+ constructor(opts) {
152
+ super({
153
+ name: "ServiceLinkedRoleNotFoundFault",
154
+ $fault: "client",
155
+ ...opts,
156
+ });
157
+ Object.setPrototypeOf(this, ServiceLinkedRoleNotFoundFault.prototype);
158
+ }
159
+ }
160
+ exports.ServiceLinkedRoleNotFoundFault = ServiceLinkedRoleNotFoundFault;
161
+ class ServiceQuotaExceededException extends DAXServiceException_1.DAXServiceException {
162
+ name = "ServiceQuotaExceededException";
163
+ $fault = "client";
164
+ constructor(opts) {
165
+ super({
166
+ name: "ServiceQuotaExceededException",
167
+ $fault: "client",
168
+ ...opts,
169
+ });
170
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
171
+ }
172
+ }
173
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
174
+ class SubnetGroupNotFoundFault extends DAXServiceException_1.DAXServiceException {
175
+ name = "SubnetGroupNotFoundFault";
176
+ $fault = "client";
177
+ constructor(opts) {
178
+ super({
179
+ name: "SubnetGroupNotFoundFault",
180
+ $fault: "client",
181
+ ...opts,
182
+ });
183
+ Object.setPrototypeOf(this, SubnetGroupNotFoundFault.prototype);
184
+ }
185
+ }
186
+ exports.SubnetGroupNotFoundFault = SubnetGroupNotFoundFault;
187
+ class TagQuotaPerResourceExceeded extends DAXServiceException_1.DAXServiceException {
188
+ name = "TagQuotaPerResourceExceeded";
189
+ $fault = "client";
190
+ constructor(opts) {
191
+ super({
192
+ name: "TagQuotaPerResourceExceeded",
193
+ $fault: "client",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, TagQuotaPerResourceExceeded.prototype);
197
+ }
198
+ }
199
+ exports.TagQuotaPerResourceExceeded = TagQuotaPerResourceExceeded;
200
+ class ParameterGroupAlreadyExistsFault extends DAXServiceException_1.DAXServiceException {
201
+ name = "ParameterGroupAlreadyExistsFault";
202
+ $fault = "client";
203
+ constructor(opts) {
204
+ super({
205
+ name: "ParameterGroupAlreadyExistsFault",
206
+ $fault: "client",
207
+ ...opts,
208
+ });
209
+ Object.setPrototypeOf(this, ParameterGroupAlreadyExistsFault.prototype);
210
+ }
211
+ }
212
+ exports.ParameterGroupAlreadyExistsFault = ParameterGroupAlreadyExistsFault;
213
+ class ParameterGroupQuotaExceededFault extends DAXServiceException_1.DAXServiceException {
214
+ name = "ParameterGroupQuotaExceededFault";
215
+ $fault = "client";
216
+ constructor(opts) {
217
+ super({
218
+ name: "ParameterGroupQuotaExceededFault",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ Object.setPrototypeOf(this, ParameterGroupQuotaExceededFault.prototype);
223
+ }
224
+ }
225
+ exports.ParameterGroupQuotaExceededFault = ParameterGroupQuotaExceededFault;
226
+ class InvalidSubnet extends DAXServiceException_1.DAXServiceException {
227
+ name = "InvalidSubnet";
228
+ $fault = "client";
229
+ constructor(opts) {
230
+ super({
231
+ name: "InvalidSubnet",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ Object.setPrototypeOf(this, InvalidSubnet.prototype);
236
+ }
237
+ }
238
+ exports.InvalidSubnet = InvalidSubnet;
239
+ class SubnetGroupAlreadyExistsFault extends DAXServiceException_1.DAXServiceException {
240
+ name = "SubnetGroupAlreadyExistsFault";
241
+ $fault = "client";
242
+ constructor(opts) {
243
+ super({
244
+ name: "SubnetGroupAlreadyExistsFault",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ Object.setPrototypeOf(this, SubnetGroupAlreadyExistsFault.prototype);
249
+ }
250
+ }
251
+ exports.SubnetGroupAlreadyExistsFault = SubnetGroupAlreadyExistsFault;
252
+ class SubnetGroupQuotaExceededFault extends DAXServiceException_1.DAXServiceException {
253
+ name = "SubnetGroupQuotaExceededFault";
254
+ $fault = "client";
255
+ constructor(opts) {
256
+ super({
257
+ name: "SubnetGroupQuotaExceededFault",
258
+ $fault: "client",
259
+ ...opts,
260
+ });
261
+ Object.setPrototypeOf(this, SubnetGroupQuotaExceededFault.prototype);
262
+ }
263
+ }
264
+ exports.SubnetGroupQuotaExceededFault = SubnetGroupQuotaExceededFault;
265
+ class SubnetNotAllowedFault extends DAXServiceException_1.DAXServiceException {
266
+ name = "SubnetNotAllowedFault";
267
+ $fault = "client";
268
+ constructor(opts) {
269
+ super({
270
+ name: "SubnetNotAllowedFault",
271
+ $fault: "client",
272
+ ...opts,
273
+ });
274
+ Object.setPrototypeOf(this, SubnetNotAllowedFault.prototype);
275
+ }
276
+ }
277
+ exports.SubnetNotAllowedFault = SubnetNotAllowedFault;
278
+ class SubnetQuotaExceededFault extends DAXServiceException_1.DAXServiceException {
279
+ name = "SubnetQuotaExceededFault";
280
+ $fault = "client";
281
+ constructor(opts) {
282
+ super({
283
+ name: "SubnetQuotaExceededFault",
284
+ $fault: "client",
285
+ ...opts,
286
+ });
287
+ Object.setPrototypeOf(this, SubnetQuotaExceededFault.prototype);
288
+ }
289
+ }
290
+ exports.SubnetQuotaExceededFault = SubnetQuotaExceededFault;
291
+ class ClusterNotFoundFault extends DAXServiceException_1.DAXServiceException {
292
+ name = "ClusterNotFoundFault";
293
+ $fault = "client";
294
+ constructor(opts) {
295
+ super({
296
+ name: "ClusterNotFoundFault",
297
+ $fault: "client",
298
+ ...opts,
299
+ });
300
+ Object.setPrototypeOf(this, ClusterNotFoundFault.prototype);
301
+ }
302
+ }
303
+ exports.ClusterNotFoundFault = ClusterNotFoundFault;
304
+ class NodeNotFoundFault extends DAXServiceException_1.DAXServiceException {
305
+ name = "NodeNotFoundFault";
306
+ $fault = "client";
307
+ constructor(opts) {
308
+ super({
309
+ name: "NodeNotFoundFault",
310
+ $fault: "client",
311
+ ...opts,
312
+ });
313
+ Object.setPrototypeOf(this, NodeNotFoundFault.prototype);
314
+ }
315
+ }
316
+ exports.NodeNotFoundFault = NodeNotFoundFault;
317
+ class SubnetGroupInUseFault extends DAXServiceException_1.DAXServiceException {
318
+ name = "SubnetGroupInUseFault";
319
+ $fault = "client";
320
+ constructor(opts) {
321
+ super({
322
+ name: "SubnetGroupInUseFault",
323
+ $fault: "client",
324
+ ...opts,
325
+ });
326
+ Object.setPrototypeOf(this, SubnetGroupInUseFault.prototype);
327
+ }
328
+ }
329
+ exports.SubnetGroupInUseFault = SubnetGroupInUseFault;
330
+ class InvalidARNFault extends DAXServiceException_1.DAXServiceException {
331
+ name = "InvalidARNFault";
332
+ $fault = "client";
333
+ constructor(opts) {
334
+ super({
335
+ name: "InvalidARNFault",
336
+ $fault: "client",
337
+ ...opts,
338
+ });
339
+ Object.setPrototypeOf(this, InvalidARNFault.prototype);
340
+ }
341
+ }
342
+ exports.InvalidARNFault = InvalidARNFault;
343
+ class TagNotFoundFault extends DAXServiceException_1.DAXServiceException {
344
+ name = "TagNotFoundFault";
345
+ $fault = "client";
346
+ constructor(opts) {
347
+ super({
348
+ name: "TagNotFoundFault",
349
+ $fault: "client",
350
+ ...opts,
351
+ });
352
+ Object.setPrototypeOf(this, TagNotFoundFault.prototype);
353
+ }
354
+ }
355
+ exports.TagNotFoundFault = TagNotFoundFault;
356
+ class SubnetInUse extends DAXServiceException_1.DAXServiceException {
357
+ name = "SubnetInUse";
358
+ $fault = "client";
359
+ constructor(opts) {
360
+ super({
361
+ name: "SubnetInUse",
362
+ $fault: "client",
363
+ ...opts,
364
+ });
365
+ Object.setPrototypeOf(this, SubnetInUse.prototype);
366
+ }
367
+ }
368
+ exports.SubnetInUse = SubnetInUse;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2017-04-19",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.dax",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  xmlNamespace: "http://dax.amazonaws.com/doc/2017-04-19/",
33
35
  version: "2017-04-19",
34
36
  serviceTarget: "AmazonDAXV3",