@aws-sdk/client-dsql 3.952.0 → 3.953.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 +164 -118
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CreateClusterCommand.js +2 -2
- package/dist-es/commands/DeleteClusterCommand.js +2 -2
- package/dist-es/commands/DeleteClusterPolicyCommand.js +2 -2
- package/dist-es/commands/GetClusterCommand.js +2 -2
- package/dist-es/commands/GetClusterPolicyCommand.js +2 -2
- package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +2 -2
- package/dist-es/commands/ListClustersCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutClusterPolicyCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateClusterCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +88 -88
- package/dist-types/DSQLClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +47 -53
- package/dist-types/ts3.4/DSQLClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -53
- package/package.json +35 -35
package/dist-cjs/index.js
CHANGED
|
@@ -109,14 +109,14 @@ class DSQLClient extends smithyClient.Client {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
class DSQLServiceException extends smithyClient.ServiceException {
|
|
113
113
|
constructor(options) {
|
|
114
114
|
super(options);
|
|
115
115
|
Object.setPrototypeOf(this, DSQLServiceException.prototype);
|
|
116
116
|
}
|
|
117
|
-
}
|
|
117
|
+
}
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
class AccessDeniedException extends DSQLServiceException {
|
|
120
120
|
name = "AccessDeniedException";
|
|
121
121
|
$fault = "client";
|
|
122
122
|
constructor(opts) {
|
|
@@ -127,8 +127,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends DSQLServiceExc
|
|
|
127
127
|
});
|
|
128
128
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
129
129
|
}
|
|
130
|
-
}
|
|
131
|
-
|
|
130
|
+
}
|
|
131
|
+
class ConflictException extends DSQLServiceException {
|
|
132
132
|
name = "ConflictException";
|
|
133
133
|
$fault = "client";
|
|
134
134
|
resourceId;
|
|
@@ -143,8 +143,8 @@ let ConflictException$1 = class ConflictException extends DSQLServiceException$1
|
|
|
143
143
|
this.resourceId = opts.resourceId;
|
|
144
144
|
this.resourceType = opts.resourceType;
|
|
145
145
|
}
|
|
146
|
-
}
|
|
147
|
-
|
|
146
|
+
}
|
|
147
|
+
class InternalServerException extends DSQLServiceException {
|
|
148
148
|
name = "InternalServerException";
|
|
149
149
|
$fault = "server";
|
|
150
150
|
$retryable = {};
|
|
@@ -158,8 +158,8 @@ let InternalServerException$1 = class InternalServerException extends DSQLServic
|
|
|
158
158
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
159
159
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
160
160
|
}
|
|
161
|
-
}
|
|
162
|
-
|
|
161
|
+
}
|
|
162
|
+
class ServiceQuotaExceededException extends DSQLServiceException {
|
|
163
163
|
name = "ServiceQuotaExceededException";
|
|
164
164
|
$fault = "client";
|
|
165
165
|
resourceId;
|
|
@@ -178,8 +178,8 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
178
178
|
this.serviceCode = opts.serviceCode;
|
|
179
179
|
this.quotaCode = opts.quotaCode;
|
|
180
180
|
}
|
|
181
|
-
}
|
|
182
|
-
|
|
181
|
+
}
|
|
182
|
+
class ThrottlingException extends DSQLServiceException {
|
|
183
183
|
name = "ThrottlingException";
|
|
184
184
|
$fault = "client";
|
|
185
185
|
$retryable = {
|
|
@@ -199,8 +199,8 @@ let ThrottlingException$1 = class ThrottlingException extends DSQLServiceExcepti
|
|
|
199
199
|
this.quotaCode = opts.quotaCode;
|
|
200
200
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
201
201
|
}
|
|
202
|
-
}
|
|
203
|
-
|
|
202
|
+
}
|
|
203
|
+
class ValidationException extends DSQLServiceException {
|
|
204
204
|
name = "ValidationException";
|
|
205
205
|
$fault = "client";
|
|
206
206
|
reason;
|
|
@@ -215,8 +215,8 @@ let ValidationException$1 = class ValidationException extends DSQLServiceExcepti
|
|
|
215
215
|
this.reason = opts.reason;
|
|
216
216
|
this.fieldList = opts.fieldList;
|
|
217
217
|
}
|
|
218
|
-
}
|
|
219
|
-
|
|
218
|
+
}
|
|
219
|
+
class ResourceNotFoundException extends DSQLServiceException {
|
|
220
220
|
name = "ResourceNotFoundException";
|
|
221
221
|
$fault = "client";
|
|
222
222
|
resourceId;
|
|
@@ -231,7 +231,7 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends DSQLSe
|
|
|
231
231
|
this.resourceId = opts.resourceId;
|
|
232
232
|
this.resourceType = opts.resourceType;
|
|
233
233
|
}
|
|
234
|
-
}
|
|
234
|
+
}
|
|
235
235
|
|
|
236
236
|
const _ADE = "AccessDeniedException";
|
|
237
237
|
const _CC = "CreateCluster";
|
|
@@ -330,28 +330,28 @@ const _t = "tags";
|
|
|
330
330
|
const _tK = "tagKeys";
|
|
331
331
|
const _wR = "witnessRegion";
|
|
332
332
|
const n0 = "com.amazonaws.dsql";
|
|
333
|
-
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
334
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException
|
|
335
|
-
var ClusterSummary = [3, n0, _CS, 0, [_i, _a], [0, 0]];
|
|
336
|
-
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
337
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException
|
|
338
|
-
var CreateClusterInput = [
|
|
333
|
+
var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
334
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
335
|
+
var ClusterSummary$ = [3, n0, _CS, 0, [_i, _a], [0, 0]];
|
|
336
|
+
var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
337
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
338
|
+
var CreateClusterInput$ = [
|
|
339
339
|
3,
|
|
340
340
|
n0,
|
|
341
341
|
_CCI,
|
|
342
342
|
0,
|
|
343
343
|
[_dPE, _kEK, _t, _cT, _mRP, _p, _bPLSC],
|
|
344
|
-
[2, 0, 128 | 0, [0, 4], () => MultiRegionProperties
|
|
344
|
+
[2, 0, 128 | 0, [0, 4], () => MultiRegionProperties$, 0, 2],
|
|
345
345
|
];
|
|
346
|
-
var CreateClusterOutput = [
|
|
346
|
+
var CreateClusterOutput$ = [
|
|
347
347
|
3,
|
|
348
348
|
n0,
|
|
349
349
|
_CCO,
|
|
350
350
|
0,
|
|
351
351
|
[_i, _a, _s, _cTr, _mRP, _eD, _dPE, _en],
|
|
352
|
-
[0, 0, 0, 4, () => MultiRegionProperties
|
|
352
|
+
[0, 0, 0, 4, () => MultiRegionProperties$, () => EncryptionDetails$, 2, 0],
|
|
353
353
|
];
|
|
354
|
-
var DeleteClusterInput = [
|
|
354
|
+
var DeleteClusterInput$ = [
|
|
355
355
|
3,
|
|
356
356
|
n0,
|
|
357
357
|
_DCI,
|
|
@@ -362,8 +362,8 @@ var DeleteClusterInput = [
|
|
|
362
362
|
[0, { [_iT]: 1, [_hQ]: _ct }],
|
|
363
363
|
],
|
|
364
364
|
];
|
|
365
|
-
var DeleteClusterOutput = [3, n0, _DCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
|
|
366
|
-
var DeleteClusterPolicyInput = [
|
|
365
|
+
var DeleteClusterOutput$ = [3, n0, _DCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
|
|
366
|
+
var DeleteClusterPolicyInput$ = [
|
|
367
367
|
3,
|
|
368
368
|
n0,
|
|
369
369
|
_DCPI,
|
|
@@ -375,22 +375,22 @@ var DeleteClusterPolicyInput = [
|
|
|
375
375
|
[0, { [_iT]: 1, [_hQ]: _ct }],
|
|
376
376
|
],
|
|
377
377
|
];
|
|
378
|
-
var DeleteClusterPolicyOutput = [3, n0, _DCPO, 0, [_pV], [0]];
|
|
379
|
-
var EncryptionDetails = [3, n0, _ED, 0, [_eT, _kKA, _eS], [0, 0, 0]];
|
|
380
|
-
var GetClusterInput = [3, n0, _GCI, 0, [_i], [[0, 1]]];
|
|
381
|
-
var GetClusterOutput = [
|
|
378
|
+
var DeleteClusterPolicyOutput$ = [3, n0, _DCPO, 0, [_pV], [0]];
|
|
379
|
+
var EncryptionDetails$ = [3, n0, _ED, 0, [_eT, _kKA, _eS], [0, 0, 0]];
|
|
380
|
+
var GetClusterInput$ = [3, n0, _GCI, 0, [_i], [[0, 1]]];
|
|
381
|
+
var GetClusterOutput$ = [
|
|
382
382
|
3,
|
|
383
383
|
n0,
|
|
384
384
|
_GCO,
|
|
385
385
|
0,
|
|
386
386
|
[_i, _a, _s, _cTr, _dPE, _mRP, _t, _eD, _en],
|
|
387
|
-
[0, 0, 0, 4, 2, () => MultiRegionProperties
|
|
387
|
+
[0, 0, 0, 4, 2, () => MultiRegionProperties$, 128 | 0, () => EncryptionDetails$, 0],
|
|
388
388
|
];
|
|
389
|
-
var GetClusterPolicyInput = [3, n0, _GCPI, 0, [_i], [[0, 1]]];
|
|
390
|
-
var GetClusterPolicyOutput = [3, n0, _GCPO, 0, [_p, _pV], [0, 0]];
|
|
391
|
-
var GetVpcEndpointServiceNameInput = [3, n0, _GVESNI, 0, [_i], [[0, 1]]];
|
|
392
|
-
var GetVpcEndpointServiceNameOutput = [3, n0, _GVESNO, 0, [_sN, _cVE], [0, 0]];
|
|
393
|
-
var InternalServerException = [
|
|
389
|
+
var GetClusterPolicyInput$ = [3, n0, _GCPI, 0, [_i], [[0, 1]]];
|
|
390
|
+
var GetClusterPolicyOutput$ = [3, n0, _GCPO, 0, [_p, _pV], [0, 0]];
|
|
391
|
+
var GetVpcEndpointServiceNameInput$ = [3, n0, _GVESNI, 0, [_i], [[0, 1]]];
|
|
392
|
+
var GetVpcEndpointServiceNameOutput$ = [3, n0, _GVESNO, 0, [_sN, _cVE], [0, 0]];
|
|
393
|
+
var InternalServerException$ = [
|
|
394
394
|
-3,
|
|
395
395
|
n0,
|
|
396
396
|
_ISE,
|
|
@@ -398,8 +398,8 @@ var InternalServerException = [
|
|
|
398
398
|
[_m, _rAS],
|
|
399
399
|
[0, [1, { [_hH]: _RA }]],
|
|
400
400
|
];
|
|
401
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException
|
|
402
|
-
var ListClustersInput = [
|
|
401
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
402
|
+
var ListClustersInput$ = [
|
|
403
403
|
3,
|
|
404
404
|
n0,
|
|
405
405
|
_LCI,
|
|
@@ -410,11 +410,11 @@ var ListClustersInput = [
|
|
|
410
410
|
[0, { [_hQ]: _nt }],
|
|
411
411
|
],
|
|
412
412
|
];
|
|
413
|
-
var ListClustersOutput = [3, n0, _LCO, 0, [_nT, _cl], [0, () => ClusterList]];
|
|
414
|
-
var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
|
|
415
|
-
var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
|
|
416
|
-
var MultiRegionProperties = [3, n0, _MRP, 0, [_wR, _cl], [0, 64 | 0]];
|
|
417
|
-
var PutClusterPolicyInput = [
|
|
413
|
+
var ListClustersOutput$ = [3, n0, _LCO, 0, [_nT, _cl], [0, () => ClusterList]];
|
|
414
|
+
var ListTagsForResourceInput$ = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
|
|
415
|
+
var ListTagsForResourceOutput$ = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
|
|
416
|
+
var MultiRegionProperties$ = [3, n0, _MRP, 0, [_wR, _cl], [0, 64 | 0]];
|
|
417
|
+
var PutClusterPolicyInput$ = [
|
|
418
418
|
3,
|
|
419
419
|
n0,
|
|
420
420
|
_PCPI,
|
|
@@ -422,8 +422,8 @@ var PutClusterPolicyInput = [
|
|
|
422
422
|
[_i, _p, _bPLSC, _ePV, _cT],
|
|
423
423
|
[[0, 1], 0, 2, 0, [0, 4]],
|
|
424
424
|
];
|
|
425
|
-
var PutClusterPolicyOutput = [3, n0, _PCPO, 0, [_pV], [0]];
|
|
426
|
-
var ResourceNotFoundException = [
|
|
425
|
+
var PutClusterPolicyOutput$ = [3, n0, _PCPO, 0, [_pV], [0]];
|
|
426
|
+
var ResourceNotFoundException$ = [
|
|
427
427
|
-3,
|
|
428
428
|
n0,
|
|
429
429
|
_RNFE,
|
|
@@ -431,8 +431,8 @@ var ResourceNotFoundException = [
|
|
|
431
431
|
[_m, _rI, _rT],
|
|
432
432
|
[0, 0, 0],
|
|
433
433
|
];
|
|
434
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
435
|
-
var ServiceQuotaExceededException = [
|
|
434
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
435
|
+
var ServiceQuotaExceededException$ = [
|
|
436
436
|
-3,
|
|
437
437
|
n0,
|
|
438
438
|
_SQEE,
|
|
@@ -440,9 +440,9 @@ var ServiceQuotaExceededException = [
|
|
|
440
440
|
[_m, _rI, _rT, _sC, _qC],
|
|
441
441
|
[0, 0, 0, 0, 0],
|
|
442
442
|
];
|
|
443
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException
|
|
444
|
-
var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
445
|
-
var ThrottlingException = [
|
|
443
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
444
|
+
var TagResourceInput$ = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
445
|
+
var ThrottlingException$ = [
|
|
446
446
|
-3,
|
|
447
447
|
n0,
|
|
448
448
|
_TE,
|
|
@@ -450,8 +450,8 @@ var ThrottlingException = [
|
|
|
450
450
|
[_m, _sC, _qC, _rAS],
|
|
451
451
|
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
452
452
|
];
|
|
453
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException
|
|
454
|
-
var UntagResourceInput = [
|
|
453
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
454
|
+
var UntagResourceInput$ = [
|
|
455
455
|
3,
|
|
456
456
|
n0,
|
|
457
457
|
_URI,
|
|
@@ -462,16 +462,16 @@ var UntagResourceInput = [
|
|
|
462
462
|
[64 | 0, { [_hQ]: _tK }],
|
|
463
463
|
],
|
|
464
464
|
];
|
|
465
|
-
var UpdateClusterInput = [
|
|
465
|
+
var UpdateClusterInput$ = [
|
|
466
466
|
3,
|
|
467
467
|
n0,
|
|
468
468
|
_UCI,
|
|
469
469
|
0,
|
|
470
470
|
[_i, _dPE, _kEK, _cT, _mRP],
|
|
471
|
-
[[0, 1], 2, 0, [0, 4], () => MultiRegionProperties],
|
|
471
|
+
[[0, 1], 2, 0, [0, 4], () => MultiRegionProperties$],
|
|
472
472
|
];
|
|
473
|
-
var UpdateClusterOutput = [3, n0, _UCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
|
|
474
|
-
var ValidationException = [
|
|
473
|
+
var UpdateClusterOutput$ = [3, n0, _UCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
|
|
474
|
+
var ValidationException$ = [
|
|
475
475
|
-3,
|
|
476
476
|
n0,
|
|
477
477
|
_VE,
|
|
@@ -479,108 +479,108 @@ var ValidationException = [
|
|
|
479
479
|
[_m, _r, _fL],
|
|
480
480
|
[0, 0, () => ValidationExceptionFieldList],
|
|
481
481
|
];
|
|
482
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException
|
|
483
|
-
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
482
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
483
|
+
var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
484
484
|
var __Unit = "unit";
|
|
485
|
-
var DSQLServiceException = [-3, _sm, "DSQLServiceException", 0, [], []];
|
|
486
|
-
schema.TypeRegistry.for(_sm).registerError(DSQLServiceException
|
|
487
|
-
var ClusterList = [1, n0, _CL, 0, () => ClusterSummary];
|
|
488
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
489
|
-
var CreateCluster = [
|
|
485
|
+
var DSQLServiceException$ = [-3, _sm, "DSQLServiceException", 0, [], []];
|
|
486
|
+
schema.TypeRegistry.for(_sm).registerError(DSQLServiceException$, DSQLServiceException);
|
|
487
|
+
var ClusterList = [1, n0, _CL, 0, () => ClusterSummary$];
|
|
488
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
|
|
489
|
+
var CreateCluster$ = [
|
|
490
490
|
9,
|
|
491
491
|
n0,
|
|
492
492
|
_CC,
|
|
493
493
|
{ [_h]: ["POST", "/cluster", 200] },
|
|
494
|
-
() => CreateClusterInput
|
|
495
|
-
() => CreateClusterOutput
|
|
494
|
+
() => CreateClusterInput$,
|
|
495
|
+
() => CreateClusterOutput$,
|
|
496
496
|
];
|
|
497
|
-
var DeleteCluster = [
|
|
497
|
+
var DeleteCluster$ = [
|
|
498
498
|
9,
|
|
499
499
|
n0,
|
|
500
500
|
_DC,
|
|
501
501
|
{ [_h]: ["DELETE", "/cluster/{identifier}", 200] },
|
|
502
|
-
() => DeleteClusterInput
|
|
503
|
-
() => DeleteClusterOutput
|
|
502
|
+
() => DeleteClusterInput$,
|
|
503
|
+
() => DeleteClusterOutput$,
|
|
504
504
|
];
|
|
505
|
-
var DeleteClusterPolicy = [
|
|
505
|
+
var DeleteClusterPolicy$ = [
|
|
506
506
|
9,
|
|
507
507
|
n0,
|
|
508
508
|
_DCP,
|
|
509
509
|
{ [_h]: ["DELETE", "/cluster/{identifier}/policy", 200] },
|
|
510
|
-
() => DeleteClusterPolicyInput
|
|
511
|
-
() => DeleteClusterPolicyOutput
|
|
510
|
+
() => DeleteClusterPolicyInput$,
|
|
511
|
+
() => DeleteClusterPolicyOutput$,
|
|
512
512
|
];
|
|
513
|
-
var GetCluster = [
|
|
513
|
+
var GetCluster$ = [
|
|
514
514
|
9,
|
|
515
515
|
n0,
|
|
516
516
|
_GC,
|
|
517
517
|
{ [_h]: ["GET", "/cluster/{identifier}", 200] },
|
|
518
|
-
() => GetClusterInput
|
|
519
|
-
() => GetClusterOutput
|
|
518
|
+
() => GetClusterInput$,
|
|
519
|
+
() => GetClusterOutput$,
|
|
520
520
|
];
|
|
521
|
-
var GetClusterPolicy = [
|
|
521
|
+
var GetClusterPolicy$ = [
|
|
522
522
|
9,
|
|
523
523
|
n0,
|
|
524
524
|
_GCP,
|
|
525
525
|
{ [_h]: ["GET", "/cluster/{identifier}/policy", 200] },
|
|
526
|
-
() => GetClusterPolicyInput
|
|
527
|
-
() => GetClusterPolicyOutput
|
|
526
|
+
() => GetClusterPolicyInput$,
|
|
527
|
+
() => GetClusterPolicyOutput$,
|
|
528
528
|
];
|
|
529
|
-
var GetVpcEndpointServiceName = [
|
|
529
|
+
var GetVpcEndpointServiceName$ = [
|
|
530
530
|
9,
|
|
531
531
|
n0,
|
|
532
532
|
_GVESN,
|
|
533
533
|
{ [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] },
|
|
534
|
-
() => GetVpcEndpointServiceNameInput
|
|
535
|
-
() => GetVpcEndpointServiceNameOutput
|
|
534
|
+
() => GetVpcEndpointServiceNameInput$,
|
|
535
|
+
() => GetVpcEndpointServiceNameOutput$,
|
|
536
536
|
];
|
|
537
|
-
var ListClusters = [
|
|
537
|
+
var ListClusters$ = [
|
|
538
538
|
9,
|
|
539
539
|
n0,
|
|
540
540
|
_LC,
|
|
541
541
|
{ [_h]: ["GET", "/cluster", 200] },
|
|
542
|
-
() => ListClustersInput
|
|
543
|
-
() => ListClustersOutput
|
|
542
|
+
() => ListClustersInput$,
|
|
543
|
+
() => ListClustersOutput$,
|
|
544
544
|
];
|
|
545
|
-
var ListTagsForResource = [
|
|
545
|
+
var ListTagsForResource$ = [
|
|
546
546
|
9,
|
|
547
547
|
n0,
|
|
548
548
|
_LTFR,
|
|
549
549
|
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
550
|
-
() => ListTagsForResourceInput
|
|
551
|
-
() => ListTagsForResourceOutput
|
|
550
|
+
() => ListTagsForResourceInput$,
|
|
551
|
+
() => ListTagsForResourceOutput$,
|
|
552
552
|
];
|
|
553
|
-
var PutClusterPolicy = [
|
|
553
|
+
var PutClusterPolicy$ = [
|
|
554
554
|
9,
|
|
555
555
|
n0,
|
|
556
556
|
_PCP,
|
|
557
557
|
{ [_h]: ["POST", "/cluster/{identifier}/policy", 200] },
|
|
558
|
-
() => PutClusterPolicyInput
|
|
559
|
-
() => PutClusterPolicyOutput
|
|
558
|
+
() => PutClusterPolicyInput$,
|
|
559
|
+
() => PutClusterPolicyOutput$,
|
|
560
560
|
];
|
|
561
|
-
var TagResource = [
|
|
561
|
+
var TagResource$ = [
|
|
562
562
|
9,
|
|
563
563
|
n0,
|
|
564
564
|
_TR,
|
|
565
565
|
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
566
|
-
() => TagResourceInput
|
|
566
|
+
() => TagResourceInput$,
|
|
567
567
|
() => __Unit,
|
|
568
568
|
];
|
|
569
|
-
var UntagResource = [
|
|
569
|
+
var UntagResource$ = [
|
|
570
570
|
9,
|
|
571
571
|
n0,
|
|
572
572
|
_UR,
|
|
573
573
|
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
574
|
-
() => UntagResourceInput
|
|
574
|
+
() => UntagResourceInput$,
|
|
575
575
|
() => __Unit,
|
|
576
576
|
];
|
|
577
|
-
var UpdateCluster = [
|
|
577
|
+
var UpdateCluster$ = [
|
|
578
578
|
9,
|
|
579
579
|
n0,
|
|
580
580
|
_UC,
|
|
581
581
|
{ [_h]: ["POST", "/cluster/{identifier}", 200] },
|
|
582
|
-
() => UpdateClusterInput
|
|
583
|
-
() => UpdateClusterOutput
|
|
582
|
+
() => UpdateClusterInput$,
|
|
583
|
+
() => UpdateClusterOutput$,
|
|
584
584
|
];
|
|
585
585
|
|
|
586
586
|
class CreateClusterCommand extends smithyClient.Command
|
|
@@ -591,7 +591,7 @@ class CreateClusterCommand extends smithyClient.Command
|
|
|
591
591
|
})
|
|
592
592
|
.s("DSQL", "CreateCluster", {})
|
|
593
593
|
.n("DSQLClient", "CreateClusterCommand")
|
|
594
|
-
.sc(CreateCluster)
|
|
594
|
+
.sc(CreateCluster$)
|
|
595
595
|
.build() {
|
|
596
596
|
}
|
|
597
597
|
|
|
@@ -603,7 +603,7 @@ class DeleteClusterCommand extends smithyClient.Command
|
|
|
603
603
|
})
|
|
604
604
|
.s("DSQL", "DeleteCluster", {})
|
|
605
605
|
.n("DSQLClient", "DeleteClusterCommand")
|
|
606
|
-
.sc(DeleteCluster)
|
|
606
|
+
.sc(DeleteCluster$)
|
|
607
607
|
.build() {
|
|
608
608
|
}
|
|
609
609
|
|
|
@@ -615,7 +615,7 @@ class DeleteClusterPolicyCommand extends smithyClient.Command
|
|
|
615
615
|
})
|
|
616
616
|
.s("DSQL", "DeleteClusterPolicy", {})
|
|
617
617
|
.n("DSQLClient", "DeleteClusterPolicyCommand")
|
|
618
|
-
.sc(DeleteClusterPolicy)
|
|
618
|
+
.sc(DeleteClusterPolicy$)
|
|
619
619
|
.build() {
|
|
620
620
|
}
|
|
621
621
|
|
|
@@ -627,7 +627,7 @@ class GetClusterCommand extends smithyClient.Command
|
|
|
627
627
|
})
|
|
628
628
|
.s("DSQL", "GetCluster", {})
|
|
629
629
|
.n("DSQLClient", "GetClusterCommand")
|
|
630
|
-
.sc(GetCluster)
|
|
630
|
+
.sc(GetCluster$)
|
|
631
631
|
.build() {
|
|
632
632
|
}
|
|
633
633
|
|
|
@@ -639,7 +639,7 @@ class GetClusterPolicyCommand extends smithyClient.Command
|
|
|
639
639
|
})
|
|
640
640
|
.s("DSQL", "GetClusterPolicy", {})
|
|
641
641
|
.n("DSQLClient", "GetClusterPolicyCommand")
|
|
642
|
-
.sc(GetClusterPolicy)
|
|
642
|
+
.sc(GetClusterPolicy$)
|
|
643
643
|
.build() {
|
|
644
644
|
}
|
|
645
645
|
|
|
@@ -651,7 +651,7 @@ class GetVpcEndpointServiceNameCommand extends smithyClient.Command
|
|
|
651
651
|
})
|
|
652
652
|
.s("DSQL", "GetVpcEndpointServiceName", {})
|
|
653
653
|
.n("DSQLClient", "GetVpcEndpointServiceNameCommand")
|
|
654
|
-
.sc(GetVpcEndpointServiceName)
|
|
654
|
+
.sc(GetVpcEndpointServiceName$)
|
|
655
655
|
.build() {
|
|
656
656
|
}
|
|
657
657
|
|
|
@@ -663,7 +663,7 @@ class ListClustersCommand extends smithyClient.Command
|
|
|
663
663
|
})
|
|
664
664
|
.s("DSQL", "ListClusters", {})
|
|
665
665
|
.n("DSQLClient", "ListClustersCommand")
|
|
666
|
-
.sc(ListClusters)
|
|
666
|
+
.sc(ListClusters$)
|
|
667
667
|
.build() {
|
|
668
668
|
}
|
|
669
669
|
|
|
@@ -675,7 +675,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
675
675
|
})
|
|
676
676
|
.s("DSQL", "ListTagsForResource", {})
|
|
677
677
|
.n("DSQLClient", "ListTagsForResourceCommand")
|
|
678
|
-
.sc(ListTagsForResource)
|
|
678
|
+
.sc(ListTagsForResource$)
|
|
679
679
|
.build() {
|
|
680
680
|
}
|
|
681
681
|
|
|
@@ -687,7 +687,7 @@ class PutClusterPolicyCommand extends smithyClient.Command
|
|
|
687
687
|
})
|
|
688
688
|
.s("DSQL", "PutClusterPolicy", {})
|
|
689
689
|
.n("DSQLClient", "PutClusterPolicyCommand")
|
|
690
|
-
.sc(PutClusterPolicy)
|
|
690
|
+
.sc(PutClusterPolicy$)
|
|
691
691
|
.build() {
|
|
692
692
|
}
|
|
693
693
|
|
|
@@ -699,7 +699,7 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
699
699
|
})
|
|
700
700
|
.s("DSQL", "TagResource", {})
|
|
701
701
|
.n("DSQLClient", "TagResourceCommand")
|
|
702
|
-
.sc(TagResource)
|
|
702
|
+
.sc(TagResource$)
|
|
703
703
|
.build() {
|
|
704
704
|
}
|
|
705
705
|
|
|
@@ -711,7 +711,7 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
711
711
|
})
|
|
712
712
|
.s("DSQL", "UntagResource", {})
|
|
713
713
|
.n("DSQLClient", "UntagResourceCommand")
|
|
714
|
-
.sc(UntagResource)
|
|
714
|
+
.sc(UntagResource$)
|
|
715
715
|
.build() {
|
|
716
716
|
}
|
|
717
717
|
|
|
@@ -723,7 +723,7 @@ class UpdateClusterCommand extends smithyClient.Command
|
|
|
723
723
|
})
|
|
724
724
|
.s("DSQL", "UpdateCluster", {})
|
|
725
725
|
.n("DSQLClient", "UpdateClusterCommand")
|
|
726
|
-
.sc(UpdateCluster)
|
|
726
|
+
.sc(UpdateCluster$)
|
|
727
727
|
.build() {
|
|
728
728
|
}
|
|
729
729
|
|
|
@@ -839,31 +839,77 @@ Object.defineProperty(exports, "__Client", {
|
|
|
839
839
|
enumerable: true,
|
|
840
840
|
get: function () { return smithyClient.Client; }
|
|
841
841
|
});
|
|
842
|
-
exports.AccessDeniedException = AccessDeniedException
|
|
842
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
843
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
843
844
|
exports.ClusterStatus = ClusterStatus;
|
|
844
|
-
exports.
|
|
845
|
+
exports.ClusterSummary$ = ClusterSummary$;
|
|
846
|
+
exports.ConflictException = ConflictException;
|
|
847
|
+
exports.ConflictException$ = ConflictException$;
|
|
848
|
+
exports.CreateCluster$ = CreateCluster$;
|
|
845
849
|
exports.CreateClusterCommand = CreateClusterCommand;
|
|
850
|
+
exports.CreateClusterInput$ = CreateClusterInput$;
|
|
851
|
+
exports.CreateClusterOutput$ = CreateClusterOutput$;
|
|
846
852
|
exports.DSQL = DSQL;
|
|
847
853
|
exports.DSQLClient = DSQLClient;
|
|
848
|
-
exports.DSQLServiceException = DSQLServiceException
|
|
854
|
+
exports.DSQLServiceException = DSQLServiceException;
|
|
855
|
+
exports.DSQLServiceException$ = DSQLServiceException$;
|
|
856
|
+
exports.DeleteCluster$ = DeleteCluster$;
|
|
849
857
|
exports.DeleteClusterCommand = DeleteClusterCommand;
|
|
858
|
+
exports.DeleteClusterInput$ = DeleteClusterInput$;
|
|
859
|
+
exports.DeleteClusterOutput$ = DeleteClusterOutput$;
|
|
860
|
+
exports.DeleteClusterPolicy$ = DeleteClusterPolicy$;
|
|
850
861
|
exports.DeleteClusterPolicyCommand = DeleteClusterPolicyCommand;
|
|
862
|
+
exports.DeleteClusterPolicyInput$ = DeleteClusterPolicyInput$;
|
|
863
|
+
exports.DeleteClusterPolicyOutput$ = DeleteClusterPolicyOutput$;
|
|
864
|
+
exports.EncryptionDetails$ = EncryptionDetails$;
|
|
851
865
|
exports.EncryptionStatus = EncryptionStatus;
|
|
852
866
|
exports.EncryptionType = EncryptionType;
|
|
867
|
+
exports.GetCluster$ = GetCluster$;
|
|
853
868
|
exports.GetClusterCommand = GetClusterCommand;
|
|
869
|
+
exports.GetClusterInput$ = GetClusterInput$;
|
|
870
|
+
exports.GetClusterOutput$ = GetClusterOutput$;
|
|
871
|
+
exports.GetClusterPolicy$ = GetClusterPolicy$;
|
|
854
872
|
exports.GetClusterPolicyCommand = GetClusterPolicyCommand;
|
|
873
|
+
exports.GetClusterPolicyInput$ = GetClusterPolicyInput$;
|
|
874
|
+
exports.GetClusterPolicyOutput$ = GetClusterPolicyOutput$;
|
|
875
|
+
exports.GetVpcEndpointServiceName$ = GetVpcEndpointServiceName$;
|
|
855
876
|
exports.GetVpcEndpointServiceNameCommand = GetVpcEndpointServiceNameCommand;
|
|
856
|
-
exports.
|
|
877
|
+
exports.GetVpcEndpointServiceNameInput$ = GetVpcEndpointServiceNameInput$;
|
|
878
|
+
exports.GetVpcEndpointServiceNameOutput$ = GetVpcEndpointServiceNameOutput$;
|
|
879
|
+
exports.InternalServerException = InternalServerException;
|
|
880
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
881
|
+
exports.ListClusters$ = ListClusters$;
|
|
857
882
|
exports.ListClustersCommand = ListClustersCommand;
|
|
883
|
+
exports.ListClustersInput$ = ListClustersInput$;
|
|
884
|
+
exports.ListClustersOutput$ = ListClustersOutput$;
|
|
885
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
858
886
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
887
|
+
exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
|
|
888
|
+
exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
|
|
889
|
+
exports.MultiRegionProperties$ = MultiRegionProperties$;
|
|
890
|
+
exports.PutClusterPolicy$ = PutClusterPolicy$;
|
|
859
891
|
exports.PutClusterPolicyCommand = PutClusterPolicyCommand;
|
|
860
|
-
exports.
|
|
861
|
-
exports.
|
|
892
|
+
exports.PutClusterPolicyInput$ = PutClusterPolicyInput$;
|
|
893
|
+
exports.PutClusterPolicyOutput$ = PutClusterPolicyOutput$;
|
|
894
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
895
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
896
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
897
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
898
|
+
exports.TagResource$ = TagResource$;
|
|
862
899
|
exports.TagResourceCommand = TagResourceCommand;
|
|
863
|
-
exports.
|
|
900
|
+
exports.TagResourceInput$ = TagResourceInput$;
|
|
901
|
+
exports.ThrottlingException = ThrottlingException;
|
|
902
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
903
|
+
exports.UntagResource$ = UntagResource$;
|
|
864
904
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
905
|
+
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
906
|
+
exports.UpdateCluster$ = UpdateCluster$;
|
|
865
907
|
exports.UpdateClusterCommand = UpdateClusterCommand;
|
|
866
|
-
exports.
|
|
908
|
+
exports.UpdateClusterInput$ = UpdateClusterInput$;
|
|
909
|
+
exports.UpdateClusterOutput$ = UpdateClusterOutput$;
|
|
910
|
+
exports.ValidationException = ValidationException;
|
|
911
|
+
exports.ValidationException$ = ValidationException$;
|
|
912
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
867
913
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
868
914
|
exports.paginateListClusters = paginateListClusters;
|
|
869
915
|
exports.waitForClusterActive = waitForClusterActive;
|
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.dsql",
|
|
32
|
+
version: "2018-05-10",
|
|
33
|
+
serviceTarget: "DSQL",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "DSQL",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateCluster } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateCluster$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateClusterCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateClusterCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("DSQL", "CreateCluster", {})
|
|
13
13
|
.n("DSQLClient", "CreateClusterCommand")
|
|
14
|
-
.sc(CreateCluster)
|
|
14
|
+
.sc(CreateCluster$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteCluster } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteCluster$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteClusterCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteClusterCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("DSQL", "DeleteCluster", {})
|
|
13
13
|
.n("DSQLClient", "DeleteClusterCommand")
|
|
14
|
-
.sc(DeleteCluster)
|
|
14
|
+
.sc(DeleteCluster$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteClusterPolicy } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteClusterPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteClusterPolicyCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteClusterPolicyCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("DSQL", "DeleteClusterPolicy", {})
|
|
13
13
|
.n("DSQLClient", "DeleteClusterPolicyCommand")
|
|
14
|
-
.sc(DeleteClusterPolicy)
|
|
14
|
+
.sc(DeleteClusterPolicy$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|