@aws-sdk/client-dsql 3.957.0 → 3.958.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/README.md +1 -17
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +170 -205
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +169 -204
- package/dist-es/waiters/waitForClusterActive.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,10 +9,8 @@ AWS SDK for JavaScript DSQL Client for Node.js, Browser and React Native.
|
|
|
9
9
|
<p>This is an interface reference for Amazon Aurora DSQL. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Aurora DSQL.</p> <p>Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size. is available in both single-Region and multi-Region configurations, so your clusters and databases are always available even if an Availability Zone or an Amazon Web Services Region are unavailable. lets you focus on using your data to acquire new insights for your business and customers.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
|
-
|
|
13
12
|
To install this package, simply type add or install @aws-sdk/client-dsql
|
|
14
13
|
using your favorite package manager:
|
|
15
|
-
|
|
16
14
|
- `npm install @aws-sdk/client-dsql`
|
|
17
15
|
- `yarn add @aws-sdk/client-dsql`
|
|
18
16
|
- `pnpm add @aws-sdk/client-dsql`
|
|
@@ -48,9 +46,7 @@ To send a request, you:
|
|
|
48
46
|
// a client can be shared by different commands.
|
|
49
47
|
const client = new DSQLClient({ region: "REGION" });
|
|
50
48
|
|
|
51
|
-
const params = {
|
|
52
|
-
/** input parameters */
|
|
53
|
-
};
|
|
49
|
+
const params = { /** input parameters */ };
|
|
54
50
|
const command = new ListClustersCommand(params);
|
|
55
51
|
```
|
|
56
52
|
|
|
@@ -209,7 +205,6 @@ CreateCluster
|
|
|
209
205
|
</summary>
|
|
210
206
|
|
|
211
207
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/CreateClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/CreateClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/CreateClusterCommandOutput/)
|
|
212
|
-
|
|
213
208
|
</details>
|
|
214
209
|
<details>
|
|
215
210
|
<summary>
|
|
@@ -217,7 +212,6 @@ DeleteCluster
|
|
|
217
212
|
</summary>
|
|
218
213
|
|
|
219
214
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/DeleteClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteClusterCommandOutput/)
|
|
220
|
-
|
|
221
215
|
</details>
|
|
222
216
|
<details>
|
|
223
217
|
<summary>
|
|
@@ -225,7 +219,6 @@ DeleteClusterPolicy
|
|
|
225
219
|
</summary>
|
|
226
220
|
|
|
227
221
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/DeleteClusterPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteClusterPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteClusterPolicyCommandOutput/)
|
|
228
|
-
|
|
229
222
|
</details>
|
|
230
223
|
<details>
|
|
231
224
|
<summary>
|
|
@@ -233,7 +226,6 @@ GetCluster
|
|
|
233
226
|
</summary>
|
|
234
227
|
|
|
235
228
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/GetClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/GetClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/GetClusterCommandOutput/)
|
|
236
|
-
|
|
237
229
|
</details>
|
|
238
230
|
<details>
|
|
239
231
|
<summary>
|
|
@@ -241,7 +233,6 @@ GetClusterPolicy
|
|
|
241
233
|
</summary>
|
|
242
234
|
|
|
243
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/GetClusterPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/GetClusterPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/GetClusterPolicyCommandOutput/)
|
|
244
|
-
|
|
245
236
|
</details>
|
|
246
237
|
<details>
|
|
247
238
|
<summary>
|
|
@@ -249,7 +240,6 @@ GetVpcEndpointServiceName
|
|
|
249
240
|
</summary>
|
|
250
241
|
|
|
251
242
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/GetVpcEndpointServiceNameCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/GetVpcEndpointServiceNameCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/GetVpcEndpointServiceNameCommandOutput/)
|
|
252
|
-
|
|
253
243
|
</details>
|
|
254
244
|
<details>
|
|
255
245
|
<summary>
|
|
@@ -257,7 +247,6 @@ ListClusters
|
|
|
257
247
|
</summary>
|
|
258
248
|
|
|
259
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/ListClustersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/ListClustersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/ListClustersCommandOutput/)
|
|
260
|
-
|
|
261
250
|
</details>
|
|
262
251
|
<details>
|
|
263
252
|
<summary>
|
|
@@ -265,7 +254,6 @@ ListTagsForResource
|
|
|
265
254
|
</summary>
|
|
266
255
|
|
|
267
256
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/ListTagsForResourceCommandOutput/)
|
|
268
|
-
|
|
269
257
|
</details>
|
|
270
258
|
<details>
|
|
271
259
|
<summary>
|
|
@@ -273,7 +261,6 @@ PutClusterPolicy
|
|
|
273
261
|
</summary>
|
|
274
262
|
|
|
275
263
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/PutClusterPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/PutClusterPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/PutClusterPolicyCommandOutput/)
|
|
276
|
-
|
|
277
264
|
</details>
|
|
278
265
|
<details>
|
|
279
266
|
<summary>
|
|
@@ -281,7 +268,6 @@ TagResource
|
|
|
281
268
|
</summary>
|
|
282
269
|
|
|
283
270
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/TagResourceCommandOutput/)
|
|
284
|
-
|
|
285
271
|
</details>
|
|
286
272
|
<details>
|
|
287
273
|
<summary>
|
|
@@ -289,7 +275,6 @@ UntagResource
|
|
|
289
275
|
</summary>
|
|
290
276
|
|
|
291
277
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/UntagResourceCommandOutput/)
|
|
292
|
-
|
|
293
278
|
</details>
|
|
294
279
|
<details>
|
|
295
280
|
<summary>
|
|
@@ -297,5 +282,4 @@ UpdateCluster
|
|
|
297
282
|
</summary>
|
|
298
283
|
|
|
299
284
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/UpdateClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/UpdateClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/UpdateClusterCommandOutput/)
|
|
300
|
-
|
|
301
285
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultDSQLHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultDSQLHttpAuthSchemeParametersProvider = defaultDSQLHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -330,257 +330,222 @@ 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,
|
|
333
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
334
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
335
|
+
[_m],
|
|
336
|
+
[0]
|
|
337
|
+
];
|
|
334
338
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
335
|
-
var ClusterSummary$ = [3, n0, _CS,
|
|
336
|
-
|
|
339
|
+
var ClusterSummary$ = [3, n0, _CS,
|
|
340
|
+
0,
|
|
341
|
+
[_i, _a],
|
|
342
|
+
[0, 0]
|
|
343
|
+
];
|
|
344
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
345
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
346
|
+
[_m, _rI, _rT],
|
|
347
|
+
[0, 0, 0]
|
|
348
|
+
];
|
|
337
349
|
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
338
|
-
var CreateClusterInput$ = [
|
|
339
|
-
3,
|
|
340
|
-
n0,
|
|
341
|
-
_CCI,
|
|
350
|
+
var CreateClusterInput$ = [3, n0, _CCI,
|
|
342
351
|
0,
|
|
343
352
|
[_dPE, _kEK, _t, _cT, _mRP, _p, _bPLSC],
|
|
344
|
-
[2, 0, 128 | 0, [0, 4], () => MultiRegionProperties$, 0, 2]
|
|
353
|
+
[2, 0, 128 | 0, [0, 4], () => MultiRegionProperties$, 0, 2]
|
|
345
354
|
];
|
|
346
|
-
var CreateClusterOutput$ = [
|
|
347
|
-
3,
|
|
348
|
-
n0,
|
|
349
|
-
_CCO,
|
|
355
|
+
var CreateClusterOutput$ = [3, n0, _CCO,
|
|
350
356
|
0,
|
|
351
357
|
[_i, _a, _s, _cTr, _mRP, _eD, _dPE, _en],
|
|
352
|
-
[0, 0, 0, 4, () => MultiRegionProperties$, () => EncryptionDetails$, 2, 0]
|
|
358
|
+
[0, 0, 0, 4, () => MultiRegionProperties$, () => EncryptionDetails$, 2, 0]
|
|
353
359
|
];
|
|
354
|
-
var DeleteClusterInput$ = [
|
|
355
|
-
3,
|
|
356
|
-
n0,
|
|
357
|
-
_DCI,
|
|
360
|
+
var DeleteClusterInput$ = [3, n0, _DCI,
|
|
358
361
|
0,
|
|
359
362
|
[_i, _cT],
|
|
360
|
-
[
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
]
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
n0,
|
|
369
|
-
_DCPI,
|
|
363
|
+
[[0, 1], [0, { [_hQ]: _ct, [_iT]: 1 }]]
|
|
364
|
+
];
|
|
365
|
+
var DeleteClusterOutput$ = [3, n0, _DCO,
|
|
366
|
+
0,
|
|
367
|
+
[_i, _a, _s, _cTr],
|
|
368
|
+
[0, 0, 0, 4]
|
|
369
|
+
];
|
|
370
|
+
var DeleteClusterPolicyInput$ = [3, n0, _DCPI,
|
|
370
371
|
0,
|
|
371
372
|
[_i, _ePV, _cT],
|
|
372
|
-
[
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
],
|
|
377
|
-
]
|
|
378
|
-
|
|
379
|
-
var EncryptionDetails$ = [3, n0, _ED,
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
373
|
+
[[0, 1], [0, { [_hQ]: _epv }], [0, { [_hQ]: _ct, [_iT]: 1 }]]
|
|
374
|
+
];
|
|
375
|
+
var DeleteClusterPolicyOutput$ = [3, n0, _DCPO,
|
|
376
|
+
0,
|
|
377
|
+
[_pV],
|
|
378
|
+
[0]
|
|
379
|
+
];
|
|
380
|
+
var EncryptionDetails$ = [3, n0, _ED,
|
|
381
|
+
0,
|
|
382
|
+
[_eT, _kKA, _eS],
|
|
383
|
+
[0, 0, 0]
|
|
384
|
+
];
|
|
385
|
+
var GetClusterInput$ = [3, n0, _GCI,
|
|
386
|
+
0,
|
|
387
|
+
[_i],
|
|
388
|
+
[[0, 1]]
|
|
389
|
+
];
|
|
390
|
+
var GetClusterOutput$ = [3, n0, _GCO,
|
|
385
391
|
0,
|
|
386
392
|
[_i, _a, _s, _cTr, _dPE, _mRP, _t, _eD, _en],
|
|
387
|
-
[0, 0, 0, 4, 2, () => MultiRegionProperties$, 128 | 0, () => EncryptionDetails$, 0]
|
|
388
|
-
];
|
|
389
|
-
var GetClusterPolicyInput$ = [3, n0, _GCPI,
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
393
|
+
[0, 0, 0, 4, 2, () => MultiRegionProperties$, 128 | 0, () => EncryptionDetails$, 0]
|
|
394
|
+
];
|
|
395
|
+
var GetClusterPolicyInput$ = [3, n0, _GCPI,
|
|
396
|
+
0,
|
|
397
|
+
[_i],
|
|
398
|
+
[[0, 1]]
|
|
399
|
+
];
|
|
400
|
+
var GetClusterPolicyOutput$ = [3, n0, _GCPO,
|
|
401
|
+
0,
|
|
402
|
+
[_p, _pV],
|
|
403
|
+
[0, 0]
|
|
404
|
+
];
|
|
405
|
+
var GetVpcEndpointServiceNameInput$ = [3, n0, _GVESNI,
|
|
406
|
+
0,
|
|
407
|
+
[_i],
|
|
408
|
+
[[0, 1]]
|
|
409
|
+
];
|
|
410
|
+
var GetVpcEndpointServiceNameOutput$ = [3, n0, _GVESNO,
|
|
411
|
+
0,
|
|
412
|
+
[_sN, _cVE],
|
|
413
|
+
[0, 0]
|
|
414
|
+
];
|
|
415
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
397
416
|
{ [_e]: _se, [_hE]: 500 },
|
|
398
417
|
[_m, _rAS],
|
|
399
|
-
[0, [1, { [_hH]: _RA }]]
|
|
418
|
+
[0, [1, { [_hH]: _RA }]]
|
|
400
419
|
];
|
|
401
420
|
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
402
|
-
var ListClustersInput$ = [
|
|
403
|
-
3,
|
|
404
|
-
n0,
|
|
405
|
-
_LCI,
|
|
421
|
+
var ListClustersInput$ = [3, n0, _LCI,
|
|
406
422
|
0,
|
|
407
423
|
[_mR, _nT],
|
|
408
|
-
[
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
]
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
var
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
424
|
+
[[1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]]
|
|
425
|
+
];
|
|
426
|
+
var ListClustersOutput$ = [3, n0, _LCO,
|
|
427
|
+
0,
|
|
428
|
+
[_nT, _cl],
|
|
429
|
+
[0, () => ClusterList]
|
|
430
|
+
];
|
|
431
|
+
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
432
|
+
0,
|
|
433
|
+
[_rA],
|
|
434
|
+
[[0, 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,
|
|
421
447
|
0,
|
|
422
448
|
[_i, _p, _bPLSC, _ePV, _cT],
|
|
423
|
-
[[0, 1], 0, 2, 0, [0, 4]]
|
|
449
|
+
[[0, 1], 0, 2, 0, [0, 4]]
|
|
450
|
+
];
|
|
451
|
+
var PutClusterPolicyOutput$ = [3, n0, _PCPO,
|
|
452
|
+
0,
|
|
453
|
+
[_pV],
|
|
454
|
+
[0]
|
|
424
455
|
];
|
|
425
|
-
var
|
|
426
|
-
var ResourceNotFoundException$ = [
|
|
427
|
-
-3,
|
|
428
|
-
n0,
|
|
429
|
-
_RNFE,
|
|
456
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
430
457
|
{ [_e]: _c, [_hE]: 404 },
|
|
431
458
|
[_m, _rI, _rT],
|
|
432
|
-
[0, 0, 0]
|
|
459
|
+
[0, 0, 0]
|
|
433
460
|
];
|
|
434
461
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
435
|
-
var ServiceQuotaExceededException$ = [
|
|
436
|
-
-3,
|
|
437
|
-
n0,
|
|
438
|
-
_SQEE,
|
|
462
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
439
463
|
{ [_e]: _c, [_hE]: 402 },
|
|
440
464
|
[_m, _rI, _rT, _sC, _qC],
|
|
441
|
-
[0, 0, 0, 0, 0]
|
|
465
|
+
[0, 0, 0, 0, 0]
|
|
442
466
|
];
|
|
443
467
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
444
|
-
var TagResourceInput$ = [3, n0, _TRI,
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
468
|
+
var TagResourceInput$ = [3, n0, _TRI,
|
|
469
|
+
0,
|
|
470
|
+
[_rA, _t],
|
|
471
|
+
[[0, 1], 128 | 0]
|
|
472
|
+
];
|
|
473
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
449
474
|
{ [_e]: _c, [_hE]: 429 },
|
|
450
475
|
[_m, _sC, _qC, _rAS],
|
|
451
|
-
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
476
|
+
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
452
477
|
];
|
|
453
478
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
454
|
-
var UntagResourceInput$ = [
|
|
455
|
-
3,
|
|
456
|
-
n0,
|
|
457
|
-
_URI,
|
|
479
|
+
var UntagResourceInput$ = [3, n0, _URI,
|
|
458
480
|
0,
|
|
459
481
|
[_rA, _tK],
|
|
460
|
-
[
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
],
|
|
464
|
-
];
|
|
465
|
-
var UpdateClusterInput$ = [
|
|
466
|
-
3,
|
|
467
|
-
n0,
|
|
468
|
-
_UCI,
|
|
482
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]]
|
|
483
|
+
];
|
|
484
|
+
var UpdateClusterInput$ = [3, n0, _UCI,
|
|
469
485
|
0,
|
|
470
486
|
[_i, _dPE, _kEK, _cT, _mRP],
|
|
471
|
-
[[0, 1], 2, 0, [0, 4], () => MultiRegionProperties$]
|
|
487
|
+
[[0, 1], 2, 0, [0, 4], () => MultiRegionProperties$]
|
|
472
488
|
];
|
|
473
|
-
var UpdateClusterOutput$ = [3, n0, _UCO,
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
489
|
+
var UpdateClusterOutput$ = [3, n0, _UCO,
|
|
490
|
+
0,
|
|
491
|
+
[_i, _a, _s, _cTr],
|
|
492
|
+
[0, 0, 0, 4]
|
|
493
|
+
];
|
|
494
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
478
495
|
{ [_e]: _c, [_hE]: 400 },
|
|
479
496
|
[_m, _r, _fL],
|
|
480
|
-
[0, 0, () => ValidationExceptionFieldList]
|
|
497
|
+
[0, 0, () => ValidationExceptionFieldList]
|
|
481
498
|
];
|
|
482
499
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
483
|
-
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
500
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
501
|
+
0,
|
|
502
|
+
[_n, _m],
|
|
503
|
+
[0, 0]
|
|
504
|
+
];
|
|
484
505
|
var __Unit = "unit";
|
|
485
506
|
var DSQLServiceException$ = [-3, _sm, "DSQLServiceException", 0, [], []];
|
|
486
507
|
schema.TypeRegistry.for(_sm).registerError(DSQLServiceException$, DSQLServiceException);
|
|
487
|
-
var ClusterList = [1, n0, _CL,
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
() => CreateClusterInput$,
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
() =>
|
|
504
|
-
];
|
|
505
|
-
var
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
{ [_h]: ["
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
]
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
() =>
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
() =>
|
|
528
|
-
];
|
|
529
|
-
var GetVpcEndpointServiceName$ = [
|
|
530
|
-
9,
|
|
531
|
-
n0,
|
|
532
|
-
_GVESN,
|
|
533
|
-
{ [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] },
|
|
534
|
-
() => GetVpcEndpointServiceNameInput$,
|
|
535
|
-
() => GetVpcEndpointServiceNameOutput$,
|
|
536
|
-
];
|
|
537
|
-
var ListClusters$ = [
|
|
538
|
-
9,
|
|
539
|
-
n0,
|
|
540
|
-
_LC,
|
|
541
|
-
{ [_h]: ["GET", "/cluster", 200] },
|
|
542
|
-
() => ListClustersInput$,
|
|
543
|
-
() => ListClustersOutput$,
|
|
544
|
-
];
|
|
545
|
-
var ListTagsForResource$ = [
|
|
546
|
-
9,
|
|
547
|
-
n0,
|
|
548
|
-
_LTFR,
|
|
549
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
550
|
-
() => ListTagsForResourceInput$,
|
|
551
|
-
() => ListTagsForResourceOutput$,
|
|
552
|
-
];
|
|
553
|
-
var PutClusterPolicy$ = [
|
|
554
|
-
9,
|
|
555
|
-
n0,
|
|
556
|
-
_PCP,
|
|
557
|
-
{ [_h]: ["POST", "/cluster/{identifier}/policy", 200] },
|
|
558
|
-
() => PutClusterPolicyInput$,
|
|
559
|
-
() => PutClusterPolicyOutput$,
|
|
560
|
-
];
|
|
561
|
-
var TagResource$ = [
|
|
562
|
-
9,
|
|
563
|
-
n0,
|
|
564
|
-
_TR,
|
|
565
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
566
|
-
() => TagResourceInput$,
|
|
567
|
-
() => __Unit,
|
|
568
|
-
];
|
|
569
|
-
var UntagResource$ = [
|
|
570
|
-
9,
|
|
571
|
-
n0,
|
|
572
|
-
_UR,
|
|
573
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
574
|
-
() => UntagResourceInput$,
|
|
575
|
-
() => __Unit,
|
|
576
|
-
];
|
|
577
|
-
var UpdateCluster$ = [
|
|
578
|
-
9,
|
|
579
|
-
n0,
|
|
580
|
-
_UC,
|
|
581
|
-
{ [_h]: ["POST", "/cluster/{identifier}", 200] },
|
|
582
|
-
() => UpdateClusterInput$,
|
|
583
|
-
() => UpdateClusterOutput$,
|
|
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$
|
|
584
549
|
];
|
|
585
550
|
|
|
586
551
|
class CreateClusterCommand extends smithyClient.Command
|
|
@@ -753,7 +718,7 @@ const checkState$1 = async (client, input) => {
|
|
|
753
718
|
const result = await client.send(new GetClusterCommand(input));
|
|
754
719
|
reason = result;
|
|
755
720
|
try {
|
|
756
|
-
|
|
721
|
+
let returnComparator = () => {
|
|
757
722
|
return result.status;
|
|
758
723
|
};
|
|
759
724
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultDSQLHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -98,258 +98,223 @@ const n0 = "com.amazonaws.dsql";
|
|
|
98
98
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
99
99
|
import { DSQLServiceException } from "../models/DSQLServiceException";
|
|
100
100
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
101
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
101
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
102
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
103
|
+
[_m],
|
|
104
|
+
[0]
|
|
105
|
+
];
|
|
102
106
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
103
|
-
export var ClusterSummary$ = [3, n0, _CS,
|
|
104
|
-
|
|
107
|
+
export var ClusterSummary$ = [3, n0, _CS,
|
|
108
|
+
0,
|
|
109
|
+
[_i, _a],
|
|
110
|
+
[0, 0]
|
|
111
|
+
];
|
|
112
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
113
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
114
|
+
[_m, _rI, _rT],
|
|
115
|
+
[0, 0, 0]
|
|
116
|
+
];
|
|
105
117
|
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
106
|
-
export var CreateClusterInput$ = [
|
|
107
|
-
3,
|
|
108
|
-
n0,
|
|
109
|
-
_CCI,
|
|
118
|
+
export var CreateClusterInput$ = [3, n0, _CCI,
|
|
110
119
|
0,
|
|
111
120
|
[_dPE, _kEK, _t, _cT, _mRP, _p, _bPLSC],
|
|
112
|
-
[2, 0, 128 | 0, [0, 4], () => MultiRegionProperties$, 0, 2]
|
|
121
|
+
[2, 0, 128 | 0, [0, 4], () => MultiRegionProperties$, 0, 2]
|
|
113
122
|
];
|
|
114
|
-
export var CreateClusterOutput$ = [
|
|
115
|
-
3,
|
|
116
|
-
n0,
|
|
117
|
-
_CCO,
|
|
123
|
+
export var CreateClusterOutput$ = [3, n0, _CCO,
|
|
118
124
|
0,
|
|
119
125
|
[_i, _a, _s, _cTr, _mRP, _eD, _dPE, _en],
|
|
120
|
-
[0, 0, 0, 4, () => MultiRegionProperties$, () => EncryptionDetails$, 2, 0]
|
|
126
|
+
[0, 0, 0, 4, () => MultiRegionProperties$, () => EncryptionDetails$, 2, 0]
|
|
121
127
|
];
|
|
122
|
-
export var DeleteClusterInput$ = [
|
|
123
|
-
3,
|
|
124
|
-
n0,
|
|
125
|
-
_DCI,
|
|
128
|
+
export var DeleteClusterInput$ = [3, n0, _DCI,
|
|
126
129
|
0,
|
|
127
130
|
[_i, _cT],
|
|
128
|
-
[
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
]
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
n0,
|
|
137
|
-
_DCPI,
|
|
131
|
+
[[0, 1], [0, { [_hQ]: _ct, [_iT]: 1 }]]
|
|
132
|
+
];
|
|
133
|
+
export var DeleteClusterOutput$ = [3, n0, _DCO,
|
|
134
|
+
0,
|
|
135
|
+
[_i, _a, _s, _cTr],
|
|
136
|
+
[0, 0, 0, 4]
|
|
137
|
+
];
|
|
138
|
+
export var DeleteClusterPolicyInput$ = [3, n0, _DCPI,
|
|
138
139
|
0,
|
|
139
140
|
[_i, _ePV, _cT],
|
|
140
|
-
[
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
],
|
|
145
|
-
]
|
|
146
|
-
|
|
147
|
-
export var EncryptionDetails$ = [3, n0, _ED,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
141
|
+
[[0, 1], [0, { [_hQ]: _epv }], [0, { [_hQ]: _ct, [_iT]: 1 }]]
|
|
142
|
+
];
|
|
143
|
+
export var DeleteClusterPolicyOutput$ = [3, n0, _DCPO,
|
|
144
|
+
0,
|
|
145
|
+
[_pV],
|
|
146
|
+
[0]
|
|
147
|
+
];
|
|
148
|
+
export var EncryptionDetails$ = [3, n0, _ED,
|
|
149
|
+
0,
|
|
150
|
+
[_eT, _kKA, _eS],
|
|
151
|
+
[0, 0, 0]
|
|
152
|
+
];
|
|
153
|
+
export var GetClusterInput$ = [3, n0, _GCI,
|
|
154
|
+
0,
|
|
155
|
+
[_i],
|
|
156
|
+
[[0, 1]]
|
|
157
|
+
];
|
|
158
|
+
export var GetClusterOutput$ = [3, n0, _GCO,
|
|
153
159
|
0,
|
|
154
160
|
[_i, _a, _s, _cTr, _dPE, _mRP, _t, _eD, _en],
|
|
155
|
-
[0, 0, 0, 4, 2, () => MultiRegionProperties$, 128 | 0, () => EncryptionDetails$, 0]
|
|
156
|
-
];
|
|
157
|
-
export var GetClusterPolicyInput$ = [3, n0, _GCPI,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
[0, 0, 0, 4, 2, () => MultiRegionProperties$, 128 | 0, () => EncryptionDetails$, 0]
|
|
162
|
+
];
|
|
163
|
+
export var GetClusterPolicyInput$ = [3, n0, _GCPI,
|
|
164
|
+
0,
|
|
165
|
+
[_i],
|
|
166
|
+
[[0, 1]]
|
|
167
|
+
];
|
|
168
|
+
export var GetClusterPolicyOutput$ = [3, n0, _GCPO,
|
|
169
|
+
0,
|
|
170
|
+
[_p, _pV],
|
|
171
|
+
[0, 0]
|
|
172
|
+
];
|
|
173
|
+
export var GetVpcEndpointServiceNameInput$ = [3, n0, _GVESNI,
|
|
174
|
+
0,
|
|
175
|
+
[_i],
|
|
176
|
+
[[0, 1]]
|
|
177
|
+
];
|
|
178
|
+
export var GetVpcEndpointServiceNameOutput$ = [3, n0, _GVESNO,
|
|
179
|
+
0,
|
|
180
|
+
[_sN, _cVE],
|
|
181
|
+
[0, 0]
|
|
182
|
+
];
|
|
183
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
165
184
|
{ [_e]: _se, [_hE]: 500 },
|
|
166
185
|
[_m, _rAS],
|
|
167
|
-
[0, [1, { [_hH]: _RA }]]
|
|
186
|
+
[0, [1, { [_hH]: _RA }]]
|
|
168
187
|
];
|
|
169
188
|
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
170
|
-
export var ListClustersInput$ = [
|
|
171
|
-
3,
|
|
172
|
-
n0,
|
|
173
|
-
_LCI,
|
|
189
|
+
export var ListClustersInput$ = [3, n0, _LCI,
|
|
174
190
|
0,
|
|
175
191
|
[_mR, _nT],
|
|
176
|
-
[
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
]
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
export var
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
192
|
+
[[1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]]
|
|
193
|
+
];
|
|
194
|
+
export var ListClustersOutput$ = [3, n0, _LCO,
|
|
195
|
+
0,
|
|
196
|
+
[_nT, _cl],
|
|
197
|
+
[0, () => ClusterList]
|
|
198
|
+
];
|
|
199
|
+
export var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
200
|
+
0,
|
|
201
|
+
[_rA],
|
|
202
|
+
[[0, 1]]
|
|
203
|
+
];
|
|
204
|
+
export var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
205
|
+
0,
|
|
206
|
+
[_t],
|
|
207
|
+
[128 | 0]
|
|
208
|
+
];
|
|
209
|
+
export var MultiRegionProperties$ = [3, n0, _MRP,
|
|
210
|
+
0,
|
|
211
|
+
[_wR, _cl],
|
|
212
|
+
[0, 64 | 0]
|
|
213
|
+
];
|
|
214
|
+
export var PutClusterPolicyInput$ = [3, n0, _PCPI,
|
|
189
215
|
0,
|
|
190
216
|
[_i, _p, _bPLSC, _ePV, _cT],
|
|
191
|
-
[[0, 1], 0, 2, 0, [0, 4]]
|
|
217
|
+
[[0, 1], 0, 2, 0, [0, 4]]
|
|
218
|
+
];
|
|
219
|
+
export var PutClusterPolicyOutput$ = [3, n0, _PCPO,
|
|
220
|
+
0,
|
|
221
|
+
[_pV],
|
|
222
|
+
[0]
|
|
192
223
|
];
|
|
193
|
-
export var
|
|
194
|
-
export var ResourceNotFoundException$ = [
|
|
195
|
-
-3,
|
|
196
|
-
n0,
|
|
197
|
-
_RNFE,
|
|
224
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
198
225
|
{ [_e]: _c, [_hE]: 404 },
|
|
199
226
|
[_m, _rI, _rT],
|
|
200
|
-
[0, 0, 0]
|
|
227
|
+
[0, 0, 0]
|
|
201
228
|
];
|
|
202
229
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
203
|
-
export var ServiceQuotaExceededException$ = [
|
|
204
|
-
-3,
|
|
205
|
-
n0,
|
|
206
|
-
_SQEE,
|
|
230
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
207
231
|
{ [_e]: _c, [_hE]: 402 },
|
|
208
232
|
[_m, _rI, _rT, _sC, _qC],
|
|
209
|
-
[0, 0, 0, 0, 0]
|
|
233
|
+
[0, 0, 0, 0, 0]
|
|
210
234
|
];
|
|
211
235
|
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
212
|
-
export var TagResourceInput$ = [3, n0, _TRI,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
236
|
+
export var TagResourceInput$ = [3, n0, _TRI,
|
|
237
|
+
0,
|
|
238
|
+
[_rA, _t],
|
|
239
|
+
[[0, 1], 128 | 0]
|
|
240
|
+
];
|
|
241
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
217
242
|
{ [_e]: _c, [_hE]: 429 },
|
|
218
243
|
[_m, _sC, _qC, _rAS],
|
|
219
|
-
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
244
|
+
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
220
245
|
];
|
|
221
246
|
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
222
|
-
export var UntagResourceInput$ = [
|
|
223
|
-
3,
|
|
224
|
-
n0,
|
|
225
|
-
_URI,
|
|
247
|
+
export var UntagResourceInput$ = [3, n0, _URI,
|
|
226
248
|
0,
|
|
227
249
|
[_rA, _tK],
|
|
228
|
-
[
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
],
|
|
232
|
-
];
|
|
233
|
-
export var UpdateClusterInput$ = [
|
|
234
|
-
3,
|
|
235
|
-
n0,
|
|
236
|
-
_UCI,
|
|
250
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]]
|
|
251
|
+
];
|
|
252
|
+
export var UpdateClusterInput$ = [3, n0, _UCI,
|
|
237
253
|
0,
|
|
238
254
|
[_i, _dPE, _kEK, _cT, _mRP],
|
|
239
|
-
[[0, 1], 2, 0, [0, 4], () => MultiRegionProperties$]
|
|
255
|
+
[[0, 1], 2, 0, [0, 4], () => MultiRegionProperties$]
|
|
240
256
|
];
|
|
241
|
-
export var UpdateClusterOutput$ = [3, n0, _UCO,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
257
|
+
export var UpdateClusterOutput$ = [3, n0, _UCO,
|
|
258
|
+
0,
|
|
259
|
+
[_i, _a, _s, _cTr],
|
|
260
|
+
[0, 0, 0, 4]
|
|
261
|
+
];
|
|
262
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
246
263
|
{ [_e]: _c, [_hE]: 400 },
|
|
247
264
|
[_m, _r, _fL],
|
|
248
|
-
[0, 0, () => ValidationExceptionFieldList]
|
|
265
|
+
[0, 0, () => ValidationExceptionFieldList]
|
|
249
266
|
];
|
|
250
267
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
251
|
-
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
268
|
+
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
269
|
+
0,
|
|
270
|
+
[_n, _m],
|
|
271
|
+
[0, 0]
|
|
272
|
+
];
|
|
252
273
|
var __Unit = "unit";
|
|
253
274
|
export var DSQLServiceException$ = [-3, _sm, "DSQLServiceException", 0, [], []];
|
|
254
275
|
TypeRegistry.for(_sm).registerError(DSQLServiceException$, DSQLServiceException);
|
|
255
276
|
var ClusterArnList = 64 | 0;
|
|
256
|
-
var ClusterList = [1, n0, _CL,
|
|
277
|
+
var ClusterList = [1, n0, _CL,
|
|
278
|
+
0, () => ClusterSummary$
|
|
279
|
+
];
|
|
257
280
|
var TagKeyList = 64 | 0;
|
|
258
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
281
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
282
|
+
0, () => ValidationExceptionField$
|
|
283
|
+
];
|
|
259
284
|
var TagMap = 128 | 0;
|
|
260
|
-
export var CreateCluster$ = [
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
{ [_h]: ["
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
]
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
() =>
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
() =>
|
|
283
|
-
];
|
|
284
|
-
export var
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
{ [_h]: ["
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
]
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
_GCP,
|
|
296
|
-
{ [_h]: ["GET", "/cluster/{identifier}/policy", 200] },
|
|
297
|
-
() => GetClusterPolicyInput$,
|
|
298
|
-
() => GetClusterPolicyOutput$,
|
|
299
|
-
];
|
|
300
|
-
export var GetVpcEndpointServiceName$ = [
|
|
301
|
-
9,
|
|
302
|
-
n0,
|
|
303
|
-
_GVESN,
|
|
304
|
-
{ [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] },
|
|
305
|
-
() => GetVpcEndpointServiceNameInput$,
|
|
306
|
-
() => GetVpcEndpointServiceNameOutput$,
|
|
307
|
-
];
|
|
308
|
-
export var ListClusters$ = [
|
|
309
|
-
9,
|
|
310
|
-
n0,
|
|
311
|
-
_LC,
|
|
312
|
-
{ [_h]: ["GET", "/cluster", 200] },
|
|
313
|
-
() => ListClustersInput$,
|
|
314
|
-
() => ListClustersOutput$,
|
|
315
|
-
];
|
|
316
|
-
export var ListTagsForResource$ = [
|
|
317
|
-
9,
|
|
318
|
-
n0,
|
|
319
|
-
_LTFR,
|
|
320
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
321
|
-
() => ListTagsForResourceInput$,
|
|
322
|
-
() => ListTagsForResourceOutput$,
|
|
323
|
-
];
|
|
324
|
-
export var PutClusterPolicy$ = [
|
|
325
|
-
9,
|
|
326
|
-
n0,
|
|
327
|
-
_PCP,
|
|
328
|
-
{ [_h]: ["POST", "/cluster/{identifier}/policy", 200] },
|
|
329
|
-
() => PutClusterPolicyInput$,
|
|
330
|
-
() => PutClusterPolicyOutput$,
|
|
331
|
-
];
|
|
332
|
-
export var TagResource$ = [
|
|
333
|
-
9,
|
|
334
|
-
n0,
|
|
335
|
-
_TR,
|
|
336
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
337
|
-
() => TagResourceInput$,
|
|
338
|
-
() => __Unit,
|
|
339
|
-
];
|
|
340
|
-
export var UntagResource$ = [
|
|
341
|
-
9,
|
|
342
|
-
n0,
|
|
343
|
-
_UR,
|
|
344
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
345
|
-
() => UntagResourceInput$,
|
|
346
|
-
() => __Unit,
|
|
347
|
-
];
|
|
348
|
-
export var UpdateCluster$ = [
|
|
349
|
-
9,
|
|
350
|
-
n0,
|
|
351
|
-
_UC,
|
|
352
|
-
{ [_h]: ["POST", "/cluster/{identifier}", 200] },
|
|
353
|
-
() => UpdateClusterInput$,
|
|
354
|
-
() => UpdateClusterOutput$,
|
|
285
|
+
export var CreateCluster$ = [9, n0, _CC,
|
|
286
|
+
{ [_h]: ["POST", "/cluster", 200] }, () => CreateClusterInput$, () => CreateClusterOutput$
|
|
287
|
+
];
|
|
288
|
+
export var DeleteCluster$ = [9, n0, _DC,
|
|
289
|
+
{ [_h]: ["DELETE", "/cluster/{identifier}", 200] }, () => DeleteClusterInput$, () => DeleteClusterOutput$
|
|
290
|
+
];
|
|
291
|
+
export var DeleteClusterPolicy$ = [9, n0, _DCP,
|
|
292
|
+
{ [_h]: ["DELETE", "/cluster/{identifier}/policy", 200] }, () => DeleteClusterPolicyInput$, () => DeleteClusterPolicyOutput$
|
|
293
|
+
];
|
|
294
|
+
export var GetCluster$ = [9, n0, _GC,
|
|
295
|
+
{ [_h]: ["GET", "/cluster/{identifier}", 200] }, () => GetClusterInput$, () => GetClusterOutput$
|
|
296
|
+
];
|
|
297
|
+
export var GetClusterPolicy$ = [9, n0, _GCP,
|
|
298
|
+
{ [_h]: ["GET", "/cluster/{identifier}/policy", 200] }, () => GetClusterPolicyInput$, () => GetClusterPolicyOutput$
|
|
299
|
+
];
|
|
300
|
+
export var GetVpcEndpointServiceName$ = [9, n0, _GVESN,
|
|
301
|
+
{ [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] }, () => GetVpcEndpointServiceNameInput$, () => GetVpcEndpointServiceNameOutput$
|
|
302
|
+
];
|
|
303
|
+
export var ListClusters$ = [9, n0, _LC,
|
|
304
|
+
{ [_h]: ["GET", "/cluster", 200] }, () => ListClustersInput$, () => ListClustersOutput$
|
|
305
|
+
];
|
|
306
|
+
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
307
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
308
|
+
];
|
|
309
|
+
export var PutClusterPolicy$ = [9, n0, _PCP,
|
|
310
|
+
{ [_h]: ["POST", "/cluster/{identifier}/policy", 200] }, () => PutClusterPolicyInput$, () => PutClusterPolicyOutput$
|
|
311
|
+
];
|
|
312
|
+
export var TagResource$ = [9, n0, _TR,
|
|
313
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => __Unit
|
|
314
|
+
];
|
|
315
|
+
export var UntagResource$ = [9, n0, _UR,
|
|
316
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => __Unit
|
|
317
|
+
];
|
|
318
|
+
export var UpdateCluster$ = [9, n0, _UC,
|
|
319
|
+
{ [_h]: ["POST", "/cluster/{identifier}", 200] }, () => UpdateClusterInput$, () => UpdateClusterOutput$
|
|
355
320
|
];
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new GetClusterCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dsql",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dsql Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dsql",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|