@aws-sdk/client-dsql 3.986.0 → 3.988.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.
- package/dist-cjs/index.js +31 -505
- package/dist-cjs/models/DSQLServiceException.js +12 -0
- package/dist-cjs/models/errors.js +127 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +329 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +51 -45
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,7 +15,10 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
18
19
|
var utilWaiter = require('@smithy/util-waiter');
|
|
20
|
+
var errors = require('./models/errors');
|
|
21
|
+
var DSQLServiceException = require('./models/DSQLServiceException');
|
|
19
22
|
|
|
20
23
|
const resolveClientEndpointParameters = (options) => {
|
|
21
24
|
return Object.assign(options, {
|
|
@@ -109,445 +112,6 @@ class DSQLClient extends smithyClient.Client {
|
|
|
109
112
|
}
|
|
110
113
|
}
|
|
111
114
|
|
|
112
|
-
class DSQLServiceException extends smithyClient.ServiceException {
|
|
113
|
-
constructor(options) {
|
|
114
|
-
super(options);
|
|
115
|
-
Object.setPrototypeOf(this, DSQLServiceException.prototype);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
class AccessDeniedException extends DSQLServiceException {
|
|
120
|
-
name = "AccessDeniedException";
|
|
121
|
-
$fault = "client";
|
|
122
|
-
constructor(opts) {
|
|
123
|
-
super({
|
|
124
|
-
name: "AccessDeniedException",
|
|
125
|
-
$fault: "client",
|
|
126
|
-
...opts,
|
|
127
|
-
});
|
|
128
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
class ConflictException extends DSQLServiceException {
|
|
132
|
-
name = "ConflictException";
|
|
133
|
-
$fault = "client";
|
|
134
|
-
resourceId;
|
|
135
|
-
resourceType;
|
|
136
|
-
constructor(opts) {
|
|
137
|
-
super({
|
|
138
|
-
name: "ConflictException",
|
|
139
|
-
$fault: "client",
|
|
140
|
-
...opts,
|
|
141
|
-
});
|
|
142
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
143
|
-
this.resourceId = opts.resourceId;
|
|
144
|
-
this.resourceType = opts.resourceType;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
class InternalServerException extends DSQLServiceException {
|
|
148
|
-
name = "InternalServerException";
|
|
149
|
-
$fault = "server";
|
|
150
|
-
$retryable = {};
|
|
151
|
-
retryAfterSeconds;
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "InternalServerException",
|
|
155
|
-
$fault: "server",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
159
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
class ServiceQuotaExceededException extends DSQLServiceException {
|
|
163
|
-
name = "ServiceQuotaExceededException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
resourceId;
|
|
166
|
-
resourceType;
|
|
167
|
-
serviceCode;
|
|
168
|
-
quotaCode;
|
|
169
|
-
constructor(opts) {
|
|
170
|
-
super({
|
|
171
|
-
name: "ServiceQuotaExceededException",
|
|
172
|
-
$fault: "client",
|
|
173
|
-
...opts,
|
|
174
|
-
});
|
|
175
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
176
|
-
this.resourceId = opts.resourceId;
|
|
177
|
-
this.resourceType = opts.resourceType;
|
|
178
|
-
this.serviceCode = opts.serviceCode;
|
|
179
|
-
this.quotaCode = opts.quotaCode;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
class ThrottlingException extends DSQLServiceException {
|
|
183
|
-
name = "ThrottlingException";
|
|
184
|
-
$fault = "client";
|
|
185
|
-
$retryable = {
|
|
186
|
-
throttling: true,
|
|
187
|
-
};
|
|
188
|
-
serviceCode;
|
|
189
|
-
quotaCode;
|
|
190
|
-
retryAfterSeconds;
|
|
191
|
-
constructor(opts) {
|
|
192
|
-
super({
|
|
193
|
-
name: "ThrottlingException",
|
|
194
|
-
$fault: "client",
|
|
195
|
-
...opts,
|
|
196
|
-
});
|
|
197
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
198
|
-
this.serviceCode = opts.serviceCode;
|
|
199
|
-
this.quotaCode = opts.quotaCode;
|
|
200
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
class ValidationException extends DSQLServiceException {
|
|
204
|
-
name = "ValidationException";
|
|
205
|
-
$fault = "client";
|
|
206
|
-
reason;
|
|
207
|
-
fieldList;
|
|
208
|
-
constructor(opts) {
|
|
209
|
-
super({
|
|
210
|
-
name: "ValidationException",
|
|
211
|
-
$fault: "client",
|
|
212
|
-
...opts,
|
|
213
|
-
});
|
|
214
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
215
|
-
this.reason = opts.reason;
|
|
216
|
-
this.fieldList = opts.fieldList;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
class ResourceNotFoundException extends DSQLServiceException {
|
|
220
|
-
name = "ResourceNotFoundException";
|
|
221
|
-
$fault = "client";
|
|
222
|
-
resourceId;
|
|
223
|
-
resourceType;
|
|
224
|
-
constructor(opts) {
|
|
225
|
-
super({
|
|
226
|
-
name: "ResourceNotFoundException",
|
|
227
|
-
$fault: "client",
|
|
228
|
-
...opts,
|
|
229
|
-
});
|
|
230
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
231
|
-
this.resourceId = opts.resourceId;
|
|
232
|
-
this.resourceType = opts.resourceType;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
const _ADE = "AccessDeniedException";
|
|
237
|
-
const _CC = "CreateCluster";
|
|
238
|
-
const _CCI = "CreateClusterInput";
|
|
239
|
-
const _CCO = "CreateClusterOutput";
|
|
240
|
-
const _CE = "ConflictException";
|
|
241
|
-
const _CL = "ClusterList";
|
|
242
|
-
const _CS = "ClusterSummary";
|
|
243
|
-
const _DC = "DeleteCluster";
|
|
244
|
-
const _DCI = "DeleteClusterInput";
|
|
245
|
-
const _DCO = "DeleteClusterOutput";
|
|
246
|
-
const _DCP = "DeleteClusterPolicy";
|
|
247
|
-
const _DCPI = "DeleteClusterPolicyInput";
|
|
248
|
-
const _DCPO = "DeleteClusterPolicyOutput";
|
|
249
|
-
const _ED = "EncryptionDetails";
|
|
250
|
-
const _GC = "GetCluster";
|
|
251
|
-
const _GCI = "GetClusterInput";
|
|
252
|
-
const _GCO = "GetClusterOutput";
|
|
253
|
-
const _GCP = "GetClusterPolicy";
|
|
254
|
-
const _GCPI = "GetClusterPolicyInput";
|
|
255
|
-
const _GCPO = "GetClusterPolicyOutput";
|
|
256
|
-
const _GVESN = "GetVpcEndpointServiceName";
|
|
257
|
-
const _GVESNI = "GetVpcEndpointServiceNameInput";
|
|
258
|
-
const _GVESNO = "GetVpcEndpointServiceNameOutput";
|
|
259
|
-
const _ISE = "InternalServerException";
|
|
260
|
-
const _LC = "ListClusters";
|
|
261
|
-
const _LCI = "ListClustersInput";
|
|
262
|
-
const _LCO = "ListClustersOutput";
|
|
263
|
-
const _LTFR = "ListTagsForResource";
|
|
264
|
-
const _LTFRI = "ListTagsForResourceInput";
|
|
265
|
-
const _LTFRO = "ListTagsForResourceOutput";
|
|
266
|
-
const _MRP = "MultiRegionProperties";
|
|
267
|
-
const _PCP = "PutClusterPolicy";
|
|
268
|
-
const _PCPI = "PutClusterPolicyInput";
|
|
269
|
-
const _PCPO = "PutClusterPolicyOutput";
|
|
270
|
-
const _RA = "Retry-After";
|
|
271
|
-
const _RNFE = "ResourceNotFoundException";
|
|
272
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
273
|
-
const _TE = "ThrottlingException";
|
|
274
|
-
const _TR = "TagResource";
|
|
275
|
-
const _TRI = "TagResourceInput";
|
|
276
|
-
const _UC = "UpdateCluster";
|
|
277
|
-
const _UCI = "UpdateClusterInput";
|
|
278
|
-
const _UCO = "UpdateClusterOutput";
|
|
279
|
-
const _UR = "UntagResource";
|
|
280
|
-
const _URI = "UntagResourceInput";
|
|
281
|
-
const _VE = "ValidationException";
|
|
282
|
-
const _VEF = "ValidationExceptionField";
|
|
283
|
-
const _VEFL = "ValidationExceptionFieldList";
|
|
284
|
-
const _a = "arn";
|
|
285
|
-
const _bPLSC = "bypassPolicyLockoutSafetyCheck";
|
|
286
|
-
const _c = "client";
|
|
287
|
-
const _cT = "clientToken";
|
|
288
|
-
const _cTr = "creationTime";
|
|
289
|
-
const _cVE = "clusterVpcEndpoint";
|
|
290
|
-
const _cl = "clusters";
|
|
291
|
-
const _ct = "client-token";
|
|
292
|
-
const _dPE = "deletionProtectionEnabled";
|
|
293
|
-
const _e = "error";
|
|
294
|
-
const _eD = "encryptionDetails";
|
|
295
|
-
const _ePV = "expectedPolicyVersion";
|
|
296
|
-
const _eS = "encryptionStatus";
|
|
297
|
-
const _eT = "encryptionType";
|
|
298
|
-
const _en = "endpoint";
|
|
299
|
-
const _epv = "expected-policy-version";
|
|
300
|
-
const _fL = "fieldList";
|
|
301
|
-
const _h = "http";
|
|
302
|
-
const _hE = "httpError";
|
|
303
|
-
const _hH = "httpHeader";
|
|
304
|
-
const _hQ = "httpQuery";
|
|
305
|
-
const _i = "identifier";
|
|
306
|
-
const _iT = "idempotencyToken";
|
|
307
|
-
const _kEK = "kmsEncryptionKey";
|
|
308
|
-
const _kKA = "kmsKeyArn";
|
|
309
|
-
const _m = "message";
|
|
310
|
-
const _mR = "maxResults";
|
|
311
|
-
const _mRP = "multiRegionProperties";
|
|
312
|
-
const _mr = "max-results";
|
|
313
|
-
const _n = "name";
|
|
314
|
-
const _nT = "nextToken";
|
|
315
|
-
const _nt = "next-token";
|
|
316
|
-
const _p = "policy";
|
|
317
|
-
const _pV = "policyVersion";
|
|
318
|
-
const _qC = "quotaCode";
|
|
319
|
-
const _r = "reason";
|
|
320
|
-
const _rA = "resourceArn";
|
|
321
|
-
const _rAS = "retryAfterSeconds";
|
|
322
|
-
const _rI = "resourceId";
|
|
323
|
-
const _rT = "resourceType";
|
|
324
|
-
const _s = "status";
|
|
325
|
-
const _sC = "serviceCode";
|
|
326
|
-
const _sN = "serviceName";
|
|
327
|
-
const _se = "server";
|
|
328
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.dsql";
|
|
329
|
-
const _t = "tags";
|
|
330
|
-
const _tK = "tagKeys";
|
|
331
|
-
const _wR = "witnessRegion";
|
|
332
|
-
const n0 = "com.amazonaws.dsql";
|
|
333
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
334
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
335
|
-
[_m],
|
|
336
|
-
[0], 1
|
|
337
|
-
];
|
|
338
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
339
|
-
var ClusterSummary$ = [3, n0, _CS,
|
|
340
|
-
0,
|
|
341
|
-
[_i, _a],
|
|
342
|
-
[0, 0], 2
|
|
343
|
-
];
|
|
344
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
345
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
346
|
-
[_m, _rI, _rT],
|
|
347
|
-
[0, 0, 0], 1
|
|
348
|
-
];
|
|
349
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
350
|
-
var CreateClusterInput$ = [3, n0, _CCI,
|
|
351
|
-
0,
|
|
352
|
-
[_dPE, _kEK, _t, _cT, _mRP, _p, _bPLSC],
|
|
353
|
-
[2, 0, 128 | 0, [0, 4], () => MultiRegionProperties$, 0, 2]
|
|
354
|
-
];
|
|
355
|
-
var CreateClusterOutput$ = [3, n0, _CCO,
|
|
356
|
-
0,
|
|
357
|
-
[_i, _a, _s, _cTr, _dPE, _mRP, _eD, _en],
|
|
358
|
-
[0, 0, 0, 4, 2, () => MultiRegionProperties$, () => EncryptionDetails$, 0], 5
|
|
359
|
-
];
|
|
360
|
-
var DeleteClusterInput$ = [3, n0, _DCI,
|
|
361
|
-
0,
|
|
362
|
-
[_i, _cT],
|
|
363
|
-
[[0, 1], [0, { [_hQ]: _ct, [_iT]: 1 }]], 1
|
|
364
|
-
];
|
|
365
|
-
var DeleteClusterOutput$ = [3, n0, _DCO,
|
|
366
|
-
0,
|
|
367
|
-
[_i, _a, _s, _cTr],
|
|
368
|
-
[0, 0, 0, 4], 4
|
|
369
|
-
];
|
|
370
|
-
var DeleteClusterPolicyInput$ = [3, n0, _DCPI,
|
|
371
|
-
0,
|
|
372
|
-
[_i, _ePV, _cT],
|
|
373
|
-
[[0, 1], [0, { [_hQ]: _epv }], [0, { [_hQ]: _ct, [_iT]: 1 }]], 1
|
|
374
|
-
];
|
|
375
|
-
var DeleteClusterPolicyOutput$ = [3, n0, _DCPO,
|
|
376
|
-
0,
|
|
377
|
-
[_pV],
|
|
378
|
-
[0], 1
|
|
379
|
-
];
|
|
380
|
-
var EncryptionDetails$ = [3, n0, _ED,
|
|
381
|
-
0,
|
|
382
|
-
[_eT, _eS, _kKA],
|
|
383
|
-
[0, 0, 0], 2
|
|
384
|
-
];
|
|
385
|
-
var GetClusterInput$ = [3, n0, _GCI,
|
|
386
|
-
0,
|
|
387
|
-
[_i],
|
|
388
|
-
[[0, 1]], 1
|
|
389
|
-
];
|
|
390
|
-
var GetClusterOutput$ = [3, n0, _GCO,
|
|
391
|
-
0,
|
|
392
|
-
[_i, _a, _s, _cTr, _dPE, _mRP, _t, _eD, _en],
|
|
393
|
-
[0, 0, 0, 4, 2, () => MultiRegionProperties$, 128 | 0, () => EncryptionDetails$, 0], 5
|
|
394
|
-
];
|
|
395
|
-
var GetClusterPolicyInput$ = [3, n0, _GCPI,
|
|
396
|
-
0,
|
|
397
|
-
[_i],
|
|
398
|
-
[[0, 1]], 1
|
|
399
|
-
];
|
|
400
|
-
var GetClusterPolicyOutput$ = [3, n0, _GCPO,
|
|
401
|
-
0,
|
|
402
|
-
[_p, _pV],
|
|
403
|
-
[0, 0], 2
|
|
404
|
-
];
|
|
405
|
-
var GetVpcEndpointServiceNameInput$ = [3, n0, _GVESNI,
|
|
406
|
-
0,
|
|
407
|
-
[_i],
|
|
408
|
-
[[0, 1]], 1
|
|
409
|
-
];
|
|
410
|
-
var GetVpcEndpointServiceNameOutput$ = [3, n0, _GVESNO,
|
|
411
|
-
0,
|
|
412
|
-
[_sN, _cVE],
|
|
413
|
-
[0, 0], 1
|
|
414
|
-
];
|
|
415
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
416
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
417
|
-
[_m, _rAS],
|
|
418
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
419
|
-
];
|
|
420
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
421
|
-
var ListClustersInput$ = [3, n0, _LCI,
|
|
422
|
-
0,
|
|
423
|
-
[_mR, _nT],
|
|
424
|
-
[[1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]]
|
|
425
|
-
];
|
|
426
|
-
var ListClustersOutput$ = [3, n0, _LCO,
|
|
427
|
-
0,
|
|
428
|
-
[_cl, _nT],
|
|
429
|
-
[() => ClusterList, 0], 1
|
|
430
|
-
];
|
|
431
|
-
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
432
|
-
0,
|
|
433
|
-
[_rA],
|
|
434
|
-
[[0, 1]], 1
|
|
435
|
-
];
|
|
436
|
-
var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
437
|
-
0,
|
|
438
|
-
[_t],
|
|
439
|
-
[128 | 0]
|
|
440
|
-
];
|
|
441
|
-
var MultiRegionProperties$ = [3, n0, _MRP,
|
|
442
|
-
0,
|
|
443
|
-
[_wR, _cl],
|
|
444
|
-
[0, 64 | 0]
|
|
445
|
-
];
|
|
446
|
-
var PutClusterPolicyInput$ = [3, n0, _PCPI,
|
|
447
|
-
0,
|
|
448
|
-
[_i, _p, _bPLSC, _ePV, _cT],
|
|
449
|
-
[[0, 1], 0, 2, 0, [0, 4]], 2
|
|
450
|
-
];
|
|
451
|
-
var PutClusterPolicyOutput$ = [3, n0, _PCPO,
|
|
452
|
-
0,
|
|
453
|
-
[_pV],
|
|
454
|
-
[0], 1
|
|
455
|
-
];
|
|
456
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
457
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
458
|
-
[_m, _rI, _rT],
|
|
459
|
-
[0, 0, 0], 3
|
|
460
|
-
];
|
|
461
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
462
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
463
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
464
|
-
[_m, _rI, _rT, _sC, _qC],
|
|
465
|
-
[0, 0, 0, 0, 0], 5
|
|
466
|
-
];
|
|
467
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
468
|
-
var TagResourceInput$ = [3, n0, _TRI,
|
|
469
|
-
0,
|
|
470
|
-
[_rA, _t],
|
|
471
|
-
[[0, 1], 128 | 0], 2
|
|
472
|
-
];
|
|
473
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
474
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
475
|
-
[_m, _sC, _qC, _rAS],
|
|
476
|
-
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
477
|
-
];
|
|
478
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
479
|
-
var UntagResourceInput$ = [3, n0, _URI,
|
|
480
|
-
0,
|
|
481
|
-
[_rA, _tK],
|
|
482
|
-
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
483
|
-
];
|
|
484
|
-
var UpdateClusterInput$ = [3, n0, _UCI,
|
|
485
|
-
0,
|
|
486
|
-
[_i, _dPE, _kEK, _cT, _mRP],
|
|
487
|
-
[[0, 1], 2, 0, [0, 4], () => MultiRegionProperties$], 1
|
|
488
|
-
];
|
|
489
|
-
var UpdateClusterOutput$ = [3, n0, _UCO,
|
|
490
|
-
0,
|
|
491
|
-
[_i, _a, _s, _cTr],
|
|
492
|
-
[0, 0, 0, 4], 4
|
|
493
|
-
];
|
|
494
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
495
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
496
|
-
[_m, _r, _fL],
|
|
497
|
-
[0, 0, () => ValidationExceptionFieldList], 2
|
|
498
|
-
];
|
|
499
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
500
|
-
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
501
|
-
0,
|
|
502
|
-
[_n, _m],
|
|
503
|
-
[0, 0], 2
|
|
504
|
-
];
|
|
505
|
-
var __Unit = "unit";
|
|
506
|
-
var DSQLServiceException$ = [-3, _sm, "DSQLServiceException", 0, [], []];
|
|
507
|
-
schema.TypeRegistry.for(_sm).registerError(DSQLServiceException$, DSQLServiceException);
|
|
508
|
-
var ClusterList = [1, n0, _CL,
|
|
509
|
-
0, () => ClusterSummary$
|
|
510
|
-
];
|
|
511
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
512
|
-
0, () => ValidationExceptionField$
|
|
513
|
-
];
|
|
514
|
-
var CreateCluster$ = [9, n0, _CC,
|
|
515
|
-
{ [_h]: ["POST", "/cluster", 200] }, () => CreateClusterInput$, () => CreateClusterOutput$
|
|
516
|
-
];
|
|
517
|
-
var DeleteCluster$ = [9, n0, _DC,
|
|
518
|
-
{ [_h]: ["DELETE", "/cluster/{identifier}", 200] }, () => DeleteClusterInput$, () => DeleteClusterOutput$
|
|
519
|
-
];
|
|
520
|
-
var DeleteClusterPolicy$ = [9, n0, _DCP,
|
|
521
|
-
{ [_h]: ["DELETE", "/cluster/{identifier}/policy", 200] }, () => DeleteClusterPolicyInput$, () => DeleteClusterPolicyOutput$
|
|
522
|
-
];
|
|
523
|
-
var GetCluster$ = [9, n0, _GC,
|
|
524
|
-
{ [_h]: ["GET", "/cluster/{identifier}", 200] }, () => GetClusterInput$, () => GetClusterOutput$
|
|
525
|
-
];
|
|
526
|
-
var GetClusterPolicy$ = [9, n0, _GCP,
|
|
527
|
-
{ [_h]: ["GET", "/cluster/{identifier}/policy", 200] }, () => GetClusterPolicyInput$, () => GetClusterPolicyOutput$
|
|
528
|
-
];
|
|
529
|
-
var GetVpcEndpointServiceName$ = [9, n0, _GVESN,
|
|
530
|
-
{ [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] }, () => GetVpcEndpointServiceNameInput$, () => GetVpcEndpointServiceNameOutput$
|
|
531
|
-
];
|
|
532
|
-
var ListClusters$ = [9, n0, _LC,
|
|
533
|
-
{ [_h]: ["GET", "/cluster", 200] }, () => ListClustersInput$, () => ListClustersOutput$
|
|
534
|
-
];
|
|
535
|
-
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
536
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
537
|
-
];
|
|
538
|
-
var PutClusterPolicy$ = [9, n0, _PCP,
|
|
539
|
-
{ [_h]: ["POST", "/cluster/{identifier}/policy", 200] }, () => PutClusterPolicyInput$, () => PutClusterPolicyOutput$
|
|
540
|
-
];
|
|
541
|
-
var TagResource$ = [9, n0, _TR,
|
|
542
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => __Unit
|
|
543
|
-
];
|
|
544
|
-
var UntagResource$ = [9, n0, _UR,
|
|
545
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => __Unit
|
|
546
|
-
];
|
|
547
|
-
var UpdateCluster$ = [9, n0, _UC,
|
|
548
|
-
{ [_h]: ["POST", "/cluster/{identifier}", 200] }, () => UpdateClusterInput$, () => UpdateClusterOutput$
|
|
549
|
-
];
|
|
550
|
-
|
|
551
115
|
class CreateClusterCommand extends smithyClient.Command
|
|
552
116
|
.classBuilder()
|
|
553
117
|
.ep(commonParams)
|
|
@@ -556,7 +120,7 @@ class CreateClusterCommand extends smithyClient.Command
|
|
|
556
120
|
})
|
|
557
121
|
.s("DSQL", "CreateCluster", {})
|
|
558
122
|
.n("DSQLClient", "CreateClusterCommand")
|
|
559
|
-
.sc(CreateCluster$)
|
|
123
|
+
.sc(schemas_0.CreateCluster$)
|
|
560
124
|
.build() {
|
|
561
125
|
}
|
|
562
126
|
|
|
@@ -568,7 +132,7 @@ class DeleteClusterCommand extends smithyClient.Command
|
|
|
568
132
|
})
|
|
569
133
|
.s("DSQL", "DeleteCluster", {})
|
|
570
134
|
.n("DSQLClient", "DeleteClusterCommand")
|
|
571
|
-
.sc(DeleteCluster$)
|
|
135
|
+
.sc(schemas_0.DeleteCluster$)
|
|
572
136
|
.build() {
|
|
573
137
|
}
|
|
574
138
|
|
|
@@ -580,7 +144,7 @@ class DeleteClusterPolicyCommand extends smithyClient.Command
|
|
|
580
144
|
})
|
|
581
145
|
.s("DSQL", "DeleteClusterPolicy", {})
|
|
582
146
|
.n("DSQLClient", "DeleteClusterPolicyCommand")
|
|
583
|
-
.sc(DeleteClusterPolicy$)
|
|
147
|
+
.sc(schemas_0.DeleteClusterPolicy$)
|
|
584
148
|
.build() {
|
|
585
149
|
}
|
|
586
150
|
|
|
@@ -592,7 +156,7 @@ class GetClusterCommand extends smithyClient.Command
|
|
|
592
156
|
})
|
|
593
157
|
.s("DSQL", "GetCluster", {})
|
|
594
158
|
.n("DSQLClient", "GetClusterCommand")
|
|
595
|
-
.sc(GetCluster$)
|
|
159
|
+
.sc(schemas_0.GetCluster$)
|
|
596
160
|
.build() {
|
|
597
161
|
}
|
|
598
162
|
|
|
@@ -604,7 +168,7 @@ class GetClusterPolicyCommand extends smithyClient.Command
|
|
|
604
168
|
})
|
|
605
169
|
.s("DSQL", "GetClusterPolicy", {})
|
|
606
170
|
.n("DSQLClient", "GetClusterPolicyCommand")
|
|
607
|
-
.sc(GetClusterPolicy$)
|
|
171
|
+
.sc(schemas_0.GetClusterPolicy$)
|
|
608
172
|
.build() {
|
|
609
173
|
}
|
|
610
174
|
|
|
@@ -616,7 +180,7 @@ class GetVpcEndpointServiceNameCommand extends smithyClient.Command
|
|
|
616
180
|
})
|
|
617
181
|
.s("DSQL", "GetVpcEndpointServiceName", {})
|
|
618
182
|
.n("DSQLClient", "GetVpcEndpointServiceNameCommand")
|
|
619
|
-
.sc(GetVpcEndpointServiceName$)
|
|
183
|
+
.sc(schemas_0.GetVpcEndpointServiceName$)
|
|
620
184
|
.build() {
|
|
621
185
|
}
|
|
622
186
|
|
|
@@ -628,7 +192,7 @@ class ListClustersCommand extends smithyClient.Command
|
|
|
628
192
|
})
|
|
629
193
|
.s("DSQL", "ListClusters", {})
|
|
630
194
|
.n("DSQLClient", "ListClustersCommand")
|
|
631
|
-
.sc(ListClusters$)
|
|
195
|
+
.sc(schemas_0.ListClusters$)
|
|
632
196
|
.build() {
|
|
633
197
|
}
|
|
634
198
|
|
|
@@ -640,7 +204,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
640
204
|
})
|
|
641
205
|
.s("DSQL", "ListTagsForResource", {})
|
|
642
206
|
.n("DSQLClient", "ListTagsForResourceCommand")
|
|
643
|
-
.sc(ListTagsForResource$)
|
|
207
|
+
.sc(schemas_0.ListTagsForResource$)
|
|
644
208
|
.build() {
|
|
645
209
|
}
|
|
646
210
|
|
|
@@ -652,7 +216,7 @@ class PutClusterPolicyCommand extends smithyClient.Command
|
|
|
652
216
|
})
|
|
653
217
|
.s("DSQL", "PutClusterPolicy", {})
|
|
654
218
|
.n("DSQLClient", "PutClusterPolicyCommand")
|
|
655
|
-
.sc(PutClusterPolicy$)
|
|
219
|
+
.sc(schemas_0.PutClusterPolicy$)
|
|
656
220
|
.build() {
|
|
657
221
|
}
|
|
658
222
|
|
|
@@ -664,7 +228,7 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
664
228
|
})
|
|
665
229
|
.s("DSQL", "TagResource", {})
|
|
666
230
|
.n("DSQLClient", "TagResourceCommand")
|
|
667
|
-
.sc(TagResource$)
|
|
231
|
+
.sc(schemas_0.TagResource$)
|
|
668
232
|
.build() {
|
|
669
233
|
}
|
|
670
234
|
|
|
@@ -676,7 +240,7 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
676
240
|
})
|
|
677
241
|
.s("DSQL", "UntagResource", {})
|
|
678
242
|
.n("DSQLClient", "UntagResourceCommand")
|
|
679
|
-
.sc(UntagResource$)
|
|
243
|
+
.sc(schemas_0.UntagResource$)
|
|
680
244
|
.build() {
|
|
681
245
|
}
|
|
682
246
|
|
|
@@ -688,7 +252,7 @@ class UpdateClusterCommand extends smithyClient.Command
|
|
|
688
252
|
})
|
|
689
253
|
.s("DSQL", "UpdateCluster", {})
|
|
690
254
|
.n("DSQLClient", "UpdateClusterCommand")
|
|
691
|
-
.sc(UpdateCluster$)
|
|
255
|
+
.sc(schemas_0.UpdateCluster$)
|
|
692
256
|
.build() {
|
|
693
257
|
}
|
|
694
258
|
|
|
@@ -811,80 +375,42 @@ Object.defineProperty(exports, "__Client", {
|
|
|
811
375
|
enumerable: true,
|
|
812
376
|
get: function () { return smithyClient.Client; }
|
|
813
377
|
});
|
|
814
|
-
exports
|
|
815
|
-
|
|
378
|
+
Object.defineProperty(exports, "DSQLServiceException", {
|
|
379
|
+
enumerable: true,
|
|
380
|
+
get: function () { return DSQLServiceException.DSQLServiceException; }
|
|
381
|
+
});
|
|
816
382
|
exports.ClusterStatus = ClusterStatus;
|
|
817
|
-
exports.ClusterSummary$ = ClusterSummary$;
|
|
818
|
-
exports.ConflictException = ConflictException;
|
|
819
|
-
exports.ConflictException$ = ConflictException$;
|
|
820
|
-
exports.CreateCluster$ = CreateCluster$;
|
|
821
383
|
exports.CreateClusterCommand = CreateClusterCommand;
|
|
822
|
-
exports.CreateClusterInput$ = CreateClusterInput$;
|
|
823
|
-
exports.CreateClusterOutput$ = CreateClusterOutput$;
|
|
824
384
|
exports.DSQL = DSQL;
|
|
825
385
|
exports.DSQLClient = DSQLClient;
|
|
826
|
-
exports.DSQLServiceException = DSQLServiceException;
|
|
827
|
-
exports.DSQLServiceException$ = DSQLServiceException$;
|
|
828
|
-
exports.DeleteCluster$ = DeleteCluster$;
|
|
829
386
|
exports.DeleteClusterCommand = DeleteClusterCommand;
|
|
830
|
-
exports.DeleteClusterInput$ = DeleteClusterInput$;
|
|
831
|
-
exports.DeleteClusterOutput$ = DeleteClusterOutput$;
|
|
832
|
-
exports.DeleteClusterPolicy$ = DeleteClusterPolicy$;
|
|
833
387
|
exports.DeleteClusterPolicyCommand = DeleteClusterPolicyCommand;
|
|
834
|
-
exports.DeleteClusterPolicyInput$ = DeleteClusterPolicyInput$;
|
|
835
|
-
exports.DeleteClusterPolicyOutput$ = DeleteClusterPolicyOutput$;
|
|
836
|
-
exports.EncryptionDetails$ = EncryptionDetails$;
|
|
837
388
|
exports.EncryptionStatus = EncryptionStatus;
|
|
838
389
|
exports.EncryptionType = EncryptionType;
|
|
839
|
-
exports.GetCluster$ = GetCluster$;
|
|
840
390
|
exports.GetClusterCommand = GetClusterCommand;
|
|
841
|
-
exports.GetClusterInput$ = GetClusterInput$;
|
|
842
|
-
exports.GetClusterOutput$ = GetClusterOutput$;
|
|
843
|
-
exports.GetClusterPolicy$ = GetClusterPolicy$;
|
|
844
391
|
exports.GetClusterPolicyCommand = GetClusterPolicyCommand;
|
|
845
|
-
exports.GetClusterPolicyInput$ = GetClusterPolicyInput$;
|
|
846
|
-
exports.GetClusterPolicyOutput$ = GetClusterPolicyOutput$;
|
|
847
|
-
exports.GetVpcEndpointServiceName$ = GetVpcEndpointServiceName$;
|
|
848
392
|
exports.GetVpcEndpointServiceNameCommand = GetVpcEndpointServiceNameCommand;
|
|
849
|
-
exports.GetVpcEndpointServiceNameInput$ = GetVpcEndpointServiceNameInput$;
|
|
850
|
-
exports.GetVpcEndpointServiceNameOutput$ = GetVpcEndpointServiceNameOutput$;
|
|
851
|
-
exports.InternalServerException = InternalServerException;
|
|
852
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
853
|
-
exports.ListClusters$ = ListClusters$;
|
|
854
393
|
exports.ListClustersCommand = ListClustersCommand;
|
|
855
|
-
exports.ListClustersInput$ = ListClustersInput$;
|
|
856
|
-
exports.ListClustersOutput$ = ListClustersOutput$;
|
|
857
|
-
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
858
394
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
859
|
-
exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
|
|
860
|
-
exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
|
|
861
|
-
exports.MultiRegionProperties$ = MultiRegionProperties$;
|
|
862
|
-
exports.PutClusterPolicy$ = PutClusterPolicy$;
|
|
863
395
|
exports.PutClusterPolicyCommand = PutClusterPolicyCommand;
|
|
864
|
-
exports.PutClusterPolicyInput$ = PutClusterPolicyInput$;
|
|
865
|
-
exports.PutClusterPolicyOutput$ = PutClusterPolicyOutput$;
|
|
866
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
867
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
868
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
869
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
870
|
-
exports.TagResource$ = TagResource$;
|
|
871
396
|
exports.TagResourceCommand = TagResourceCommand;
|
|
872
|
-
exports.TagResourceInput$ = TagResourceInput$;
|
|
873
|
-
exports.ThrottlingException = ThrottlingException;
|
|
874
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
875
|
-
exports.UntagResource$ = UntagResource$;
|
|
876
397
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
877
|
-
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
878
|
-
exports.UpdateCluster$ = UpdateCluster$;
|
|
879
398
|
exports.UpdateClusterCommand = UpdateClusterCommand;
|
|
880
|
-
exports.UpdateClusterInput$ = UpdateClusterInput$;
|
|
881
|
-
exports.UpdateClusterOutput$ = UpdateClusterOutput$;
|
|
882
|
-
exports.ValidationException = ValidationException;
|
|
883
|
-
exports.ValidationException$ = ValidationException$;
|
|
884
|
-
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
885
399
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
886
400
|
exports.paginateListClusters = paginateListClusters;
|
|
887
401
|
exports.waitForClusterActive = waitForClusterActive;
|
|
888
402
|
exports.waitForClusterNotExists = waitForClusterNotExists;
|
|
889
403
|
exports.waitUntilClusterActive = waitUntilClusterActive;
|
|
890
404
|
exports.waitUntilClusterNotExists = waitUntilClusterNotExists;
|
|
405
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
406
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
407
|
+
enumerable: true,
|
|
408
|
+
get: function () { return schemas_0[k]; }
|
|
409
|
+
});
|
|
410
|
+
});
|
|
411
|
+
Object.keys(errors).forEach(function (k) {
|
|
412
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
413
|
+
enumerable: true,
|
|
414
|
+
get: function () { return errors[k]; }
|
|
415
|
+
});
|
|
416
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DSQLServiceException = 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 DSQLServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, DSQLServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.DSQLServiceException = DSQLServiceException;
|