@aws-sdk/client-dsql 3.1075.0 → 3.1077.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,475 +0,0 @@
1
- const _ADE = "AccessDeniedException";
2
- const _CC = "CreateCluster";
3
- const _CCI = "CreateClusterInput";
4
- const _CCO = "CreateClusterOutput";
5
- const _CE = "ConflictException";
6
- const _CL = "ClusterList";
7
- const _CS = "ClusterSummary";
8
- const _CSI = "CreateStreamInput";
9
- const _CSO = "CreateStreamOutput";
10
- const _CSr = "CreateStream";
11
- const _DC = "DeleteCluster";
12
- const _DCI = "DeleteClusterInput";
13
- const _DCO = "DeleteClusterOutput";
14
- const _DCP = "DeleteClusterPolicy";
15
- const _DCPI = "DeleteClusterPolicyInput";
16
- const _DCPO = "DeleteClusterPolicyOutput";
17
- const _DS = "DeleteStream";
18
- const _DSI = "DeleteStreamInput";
19
- const _DSO = "DeleteStreamOutput";
20
- const _ED = "EncryptionDetails";
21
- const _GC = "GetCluster";
22
- const _GCI = "GetClusterInput";
23
- const _GCO = "GetClusterOutput";
24
- const _GCP = "GetClusterPolicy";
25
- const _GCPI = "GetClusterPolicyInput";
26
- const _GCPO = "GetClusterPolicyOutput";
27
- const _GS = "GetStream";
28
- const _GSI = "GetStreamInput";
29
- const _GSO = "GetStreamOutput";
30
- const _GVESN = "GetVpcEndpointServiceName";
31
- const _GVESNI = "GetVpcEndpointServiceNameInput";
32
- const _GVESNO = "GetVpcEndpointServiceNameOutput";
33
- const _ISE = "InternalServerException";
34
- const _KTD = "KinesisTargetDefinition";
35
- const _LC = "ListClusters";
36
- const _LCI = "ListClustersInput";
37
- const _LCO = "ListClustersOutput";
38
- const _LS = "ListStreams";
39
- const _LSI = "ListStreamsInput";
40
- const _LSO = "ListStreamsOutput";
41
- const _LTFR = "ListTagsForResource";
42
- const _LTFRI = "ListTagsForResourceInput";
43
- const _LTFRO = "ListTagsForResourceOutput";
44
- const _MRP = "MultiRegionProperties";
45
- const _PCP = "PutClusterPolicy";
46
- const _PCPI = "PutClusterPolicyInput";
47
- const _PCPO = "PutClusterPolicyOutput";
48
- const _RA = "Retry-After";
49
- const _RNFE = "ResourceNotFoundException";
50
- const _SL = "StreamList";
51
- const _SQEE = "ServiceQuotaExceededException";
52
- const _SR = "StatusReason";
53
- const _SS = "StreamSummary";
54
- const _TD = "TargetDefinition";
55
- const _TE = "ThrottlingException";
56
- const _TR = "TagResource";
57
- const _TRI = "TagResourceInput";
58
- const _UC = "UpdateCluster";
59
- const _UCI = "UpdateClusterInput";
60
- const _UCO = "UpdateClusterOutput";
61
- const _UR = "UntagResource";
62
- const _URI = "UntagResourceInput";
63
- const _VE = "ValidationException";
64
- const _VEF = "ValidationExceptionField";
65
- const _VEFL = "ValidationExceptionFieldList";
66
- const _a = "arn";
67
- const _bPLSC = "bypassPolicyLockoutSafetyCheck";
68
- const _c = "client";
69
- const _cI = "clusterIdentifier";
70
- const _cT = "clientToken";
71
- const _cTr = "creationTime";
72
- const _cVE = "clusterVpcEndpoint";
73
- const _cl = "clusters";
74
- const _ct = "client-token";
75
- const _dPE = "deletionProtectionEnabled";
76
- const _e = "error";
77
- const _eD = "encryptionDetails";
78
- const _ePV = "expectedPolicyVersion";
79
- const _eS = "encryptionStatus";
80
- const _eT = "encryptionType";
81
- const _en = "endpoint";
82
- const _epv = "expected-policy-version";
83
- const _f = "format";
84
- const _fL = "fieldList";
85
- const _h = "http";
86
- const _hE = "httpError";
87
- const _hH = "httpHeader";
88
- const _hQ = "httpQuery";
89
- const _i = "identifier";
90
- const _iT = "idempotencyToken";
91
- const _k = "kinesis";
92
- const _kEK = "kmsEncryptionKey";
93
- const _kKA = "kmsKeyArn";
94
- const _m = "message";
95
- const _mR = "maxResults";
96
- const _mRP = "multiRegionProperties";
97
- const _mr = "max-results";
98
- const _n = "name";
99
- const _nT = "nextToken";
100
- const _nt = "next-token";
101
- const _o = "ordering";
102
- const _p = "policy";
103
- const _pV = "policyVersion";
104
- const _qC = "quotaCode";
105
- const _r = "reason";
106
- const _rA = "roleArn";
107
- const _rAS = "retryAfterSeconds";
108
- const _rAe = "resourceArn";
109
- const _rI = "resourceId";
110
- const _rT = "resourceType";
111
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dsql";
112
- const _sA = "streamArn";
113
- const _sC = "serviceCode";
114
- const _sI = "streamIdentifier";
115
- const _sN = "serviceName";
116
- const _sR = "statusReason";
117
- const _se = "server";
118
- const _st = "status";
119
- const _str = "streams";
120
- const _t = "tags";
121
- const _tD = "targetDefinition";
122
- const _tK = "tagKeys";
123
- const _uA = "updatedAt";
124
- const _wR = "witnessRegion";
125
- const n0 = "com.amazonaws.dsql";
126
- const { TypeRegistry } = require("@smithy/core/schema");
127
- const { DSQLServiceException } = require("../models/DSQLServiceException");
128
- const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } = require("../models/errors");
129
- const _s_registry = TypeRegistry.for(_s);
130
- const DSQLServiceException$ = [-3, _s, "DSQLServiceException", 0, [], []];
131
- exports.DSQLServiceException$ = DSQLServiceException$;
132
- _s_registry.registerError(DSQLServiceException$, DSQLServiceException);
133
- const n0_registry = TypeRegistry.for(n0);
134
- const AccessDeniedException$ = [-3, n0, _ADE,
135
- { [_e]: _c, [_hE]: 403 },
136
- [_m],
137
- [0], 1
138
- ];
139
- exports.AccessDeniedException$ = AccessDeniedException$;
140
- n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
141
- const ConflictException$ = [-3, n0, _CE,
142
- { [_e]: _c, [_hE]: 409 },
143
- [_m, _rI, _rT],
144
- [0, 0, 0], 1
145
- ];
146
- exports.ConflictException$ = ConflictException$;
147
- n0_registry.registerError(ConflictException$, ConflictException);
148
- const InternalServerException$ = [-3, n0, _ISE,
149
- { [_e]: _se, [_hE]: 500 },
150
- [_m, _rAS],
151
- [0, [1, { [_hH]: _RA }]], 1
152
- ];
153
- exports.InternalServerException$ = InternalServerException$;
154
- n0_registry.registerError(InternalServerException$, InternalServerException);
155
- const ResourceNotFoundException$ = [-3, n0, _RNFE,
156
- { [_e]: _c, [_hE]: 404 },
157
- [_m, _rI, _rT],
158
- [0, 0, 0], 3
159
- ];
160
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
161
- n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
162
- const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
163
- { [_e]: _c, [_hE]: 402 },
164
- [_m, _rI, _rT, _sC, _qC],
165
- [0, 0, 0, 0, 0], 5
166
- ];
167
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
168
- n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
169
- const ThrottlingException$ = [-3, n0, _TE,
170
- { [_e]: _c, [_hE]: 429 },
171
- [_m, _sC, _qC, _rAS],
172
- [0, 0, 0, [1, { [_hH]: _RA }]], 1
173
- ];
174
- exports.ThrottlingException$ = ThrottlingException$;
175
- n0_registry.registerError(ThrottlingException$, ThrottlingException);
176
- const ValidationException$ = [-3, n0, _VE,
177
- { [_e]: _c, [_hE]: 400 },
178
- [_m, _r, _fL],
179
- [0, 0, () => ValidationExceptionFieldList], 2
180
- ];
181
- exports.ValidationException$ = ValidationException$;
182
- n0_registry.registerError(ValidationException$, ValidationException);
183
- exports.errorTypeRegistries = [
184
- _s_registry,
185
- n0_registry,
186
- ];
187
- const ClusterSummary$ = [3, n0, _CS,
188
- 0,
189
- [_i, _a],
190
- [0, 0], 2
191
- ];
192
- exports.ClusterSummary$ = ClusterSummary$;
193
- const CreateClusterInput$ = [3, n0, _CCI,
194
- 0,
195
- [_dPE, _kEK, _t, _cT, _mRP, _p, _bPLSC],
196
- [2, 0, 128 | 0, [0, 4], () => MultiRegionProperties$, 0, 2]
197
- ];
198
- exports.CreateClusterInput$ = CreateClusterInput$;
199
- const CreateClusterOutput$ = [3, n0, _CCO,
200
- 0,
201
- [_i, _a, _st, _cTr, _dPE, _mRP, _eD, _en],
202
- [0, 0, 0, 4, 2, () => MultiRegionProperties$, () => EncryptionDetails$, 0], 5
203
- ];
204
- exports.CreateClusterOutput$ = CreateClusterOutput$;
205
- const CreateStreamInput$ = [3, n0, _CSI,
206
- 0,
207
- [_cI, _tD, _o, _f, _t, _cT],
208
- [[0, 1], () => TargetDefinition$, 0, 0, 128 | 0, [0, 4]], 4
209
- ];
210
- exports.CreateStreamInput$ = CreateStreamInput$;
211
- const CreateStreamOutput$ = [3, n0, _CSO,
212
- 0,
213
- [_cI, _sI, _a, _st, _cTr, _o, _f],
214
- [0, 0, 0, 0, 4, 0, 0], 7
215
- ];
216
- exports.CreateStreamOutput$ = CreateStreamOutput$;
217
- const DeleteClusterInput$ = [3, n0, _DCI,
218
- 0,
219
- [_i, _cT],
220
- [[0, 1], [0, { [_hQ]: _ct, [_iT]: 1 }]], 1
221
- ];
222
- exports.DeleteClusterInput$ = DeleteClusterInput$;
223
- const DeleteClusterOutput$ = [3, n0, _DCO,
224
- 0,
225
- [_i, _a, _st, _cTr],
226
- [0, 0, 0, 4], 4
227
- ];
228
- exports.DeleteClusterOutput$ = DeleteClusterOutput$;
229
- const DeleteClusterPolicyInput$ = [3, n0, _DCPI,
230
- 0,
231
- [_i, _ePV, _cT],
232
- [[0, 1], [0, { [_hQ]: _epv }], [0, { [_hQ]: _ct, [_iT]: 1 }]], 1
233
- ];
234
- exports.DeleteClusterPolicyInput$ = DeleteClusterPolicyInput$;
235
- const DeleteClusterPolicyOutput$ = [3, n0, _DCPO,
236
- 0,
237
- [_pV],
238
- [0], 1
239
- ];
240
- exports.DeleteClusterPolicyOutput$ = DeleteClusterPolicyOutput$;
241
- const DeleteStreamInput$ = [3, n0, _DSI,
242
- 0,
243
- [_cI, _sI, _cT],
244
- [[0, 1], [0, 1], [0, { [_hQ]: _ct, [_iT]: 1 }]], 2
245
- ];
246
- exports.DeleteStreamInput$ = DeleteStreamInput$;
247
- const DeleteStreamOutput$ = [3, n0, _DSO,
248
- 0,
249
- [_cI, _sI, _a, _st, _cTr],
250
- [0, 0, 0, 0, 4], 5
251
- ];
252
- exports.DeleteStreamOutput$ = DeleteStreamOutput$;
253
- const EncryptionDetails$ = [3, n0, _ED,
254
- 0,
255
- [_eT, _eS, _kKA],
256
- [0, 0, 0], 2
257
- ];
258
- exports.EncryptionDetails$ = EncryptionDetails$;
259
- const GetClusterInput$ = [3, n0, _GCI,
260
- 0,
261
- [_i],
262
- [[0, 1]], 1
263
- ];
264
- exports.GetClusterInput$ = GetClusterInput$;
265
- const GetClusterOutput$ = [3, n0, _GCO,
266
- 0,
267
- [_i, _a, _st, _cTr, _dPE, _mRP, _t, _eD, _en],
268
- [0, 0, 0, 4, 2, () => MultiRegionProperties$, 128 | 0, () => EncryptionDetails$, 0], 5
269
- ];
270
- exports.GetClusterOutput$ = GetClusterOutput$;
271
- const GetClusterPolicyInput$ = [3, n0, _GCPI,
272
- 0,
273
- [_i],
274
- [[0, 1]], 1
275
- ];
276
- exports.GetClusterPolicyInput$ = GetClusterPolicyInput$;
277
- const GetClusterPolicyOutput$ = [3, n0, _GCPO,
278
- 0,
279
- [_p, _pV],
280
- [0, 0], 2
281
- ];
282
- exports.GetClusterPolicyOutput$ = GetClusterPolicyOutput$;
283
- const GetStreamInput$ = [3, n0, _GSI,
284
- 0,
285
- [_cI, _sI],
286
- [[0, 1], [0, 1]], 2
287
- ];
288
- exports.GetStreamInput$ = GetStreamInput$;
289
- const GetStreamOutput$ = [3, n0, _GSO,
290
- 0,
291
- [_cI, _sI, _a, _st, _cTr, _o, _f, _tD, _sR, _t],
292
- [0, 0, 0, 0, 4, 0, 0, () => TargetDefinition$, () => StatusReason$, 128 | 0], 7
293
- ];
294
- exports.GetStreamOutput$ = GetStreamOutput$;
295
- const GetVpcEndpointServiceNameInput$ = [3, n0, _GVESNI,
296
- 0,
297
- [_i],
298
- [[0, 1]], 1
299
- ];
300
- exports.GetVpcEndpointServiceNameInput$ = GetVpcEndpointServiceNameInput$;
301
- const GetVpcEndpointServiceNameOutput$ = [3, n0, _GVESNO,
302
- 0,
303
- [_sN, _cVE],
304
- [0, 0], 1
305
- ];
306
- exports.GetVpcEndpointServiceNameOutput$ = GetVpcEndpointServiceNameOutput$;
307
- const KinesisTargetDefinition$ = [3, n0, _KTD,
308
- 0,
309
- [_sA, _rA],
310
- [0, 0], 2
311
- ];
312
- exports.KinesisTargetDefinition$ = KinesisTargetDefinition$;
313
- const ListClustersInput$ = [3, n0, _LCI,
314
- 0,
315
- [_mR, _nT],
316
- [[1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]]
317
- ];
318
- exports.ListClustersInput$ = ListClustersInput$;
319
- const ListClustersOutput$ = [3, n0, _LCO,
320
- 0,
321
- [_cl, _nT],
322
- [() => ClusterList, 0], 1
323
- ];
324
- exports.ListClustersOutput$ = ListClustersOutput$;
325
- const ListStreamsInput$ = [3, n0, _LSI,
326
- 0,
327
- [_cI, _mR, _nT],
328
- [[0, 1], [1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]], 1
329
- ];
330
- exports.ListStreamsInput$ = ListStreamsInput$;
331
- const ListStreamsOutput$ = [3, n0, _LSO,
332
- 0,
333
- [_str, _nT],
334
- [() => StreamList, 0], 1
335
- ];
336
- exports.ListStreamsOutput$ = ListStreamsOutput$;
337
- const ListTagsForResourceInput$ = [3, n0, _LTFRI,
338
- 0,
339
- [_rAe],
340
- [[0, 1]], 1
341
- ];
342
- exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
343
- const ListTagsForResourceOutput$ = [3, n0, _LTFRO,
344
- 0,
345
- [_t],
346
- [128 | 0]
347
- ];
348
- exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
349
- const MultiRegionProperties$ = [3, n0, _MRP,
350
- 0,
351
- [_wR, _cl],
352
- [0, 64 | 0]
353
- ];
354
- exports.MultiRegionProperties$ = MultiRegionProperties$;
355
- const PutClusterPolicyInput$ = [3, n0, _PCPI,
356
- 0,
357
- [_i, _p, _bPLSC, _ePV, _cT],
358
- [[0, 1], 0, 2, 0, [0, 4]], 2
359
- ];
360
- exports.PutClusterPolicyInput$ = PutClusterPolicyInput$;
361
- const PutClusterPolicyOutput$ = [3, n0, _PCPO,
362
- 0,
363
- [_pV],
364
- [0], 1
365
- ];
366
- exports.PutClusterPolicyOutput$ = PutClusterPolicyOutput$;
367
- const StatusReason$ = [3, n0, _SR,
368
- 0,
369
- [_e, _uA],
370
- [0, 4], 2
371
- ];
372
- exports.StatusReason$ = StatusReason$;
373
- const StreamSummary$ = [3, n0, _SS,
374
- 0,
375
- [_cI, _sI, _a, _cTr, _st],
376
- [0, 0, 0, 4, 0], 5
377
- ];
378
- exports.StreamSummary$ = StreamSummary$;
379
- const TagResourceInput$ = [3, n0, _TRI,
380
- 0,
381
- [_rAe, _t],
382
- [[0, 1], 128 | 0], 2
383
- ];
384
- exports.TagResourceInput$ = TagResourceInput$;
385
- const UntagResourceInput$ = [3, n0, _URI,
386
- 0,
387
- [_rAe, _tK],
388
- [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
389
- ];
390
- exports.UntagResourceInput$ = UntagResourceInput$;
391
- const UpdateClusterInput$ = [3, n0, _UCI,
392
- 0,
393
- [_i, _dPE, _kEK, _cT, _mRP],
394
- [[0, 1], 2, 0, [0, 4], () => MultiRegionProperties$], 1
395
- ];
396
- exports.UpdateClusterInput$ = UpdateClusterInput$;
397
- const UpdateClusterOutput$ = [3, n0, _UCO,
398
- 0,
399
- [_i, _a, _st, _cTr],
400
- [0, 0, 0, 4], 4
401
- ];
402
- exports.UpdateClusterOutput$ = UpdateClusterOutput$;
403
- const ValidationExceptionField$ = [3, n0, _VEF,
404
- 0,
405
- [_n, _m],
406
- [0, 0], 2
407
- ];
408
- exports.ValidationExceptionField$ = ValidationExceptionField$;
409
- var __Unit = "unit";
410
- var ClusterArnList = 64 | 0;
411
- var ClusterList = [1, n0, _CL,
412
- 0, () => ClusterSummary$
413
- ];
414
- var StreamList = [1, n0, _SL,
415
- 0, () => StreamSummary$
416
- ];
417
- var TagKeyList = 64 | 0;
418
- var ValidationExceptionFieldList = [1, n0, _VEFL,
419
- 0, () => ValidationExceptionField$
420
- ];
421
- var TagMap = 128 | 0;
422
- const TargetDefinition$ = [4, n0, _TD,
423
- 0,
424
- [_k],
425
- [() => KinesisTargetDefinition$]
426
- ];
427
- exports.TargetDefinition$ = TargetDefinition$;
428
- exports.CreateCluster$ = [9, n0, _CC,
429
- { [_h]: ["POST", "/cluster", 200] }, () => CreateClusterInput$, () => CreateClusterOutput$
430
- ];
431
- exports.CreateStream$ = [9, n0, _CSr,
432
- { [_h]: ["POST", "/stream/{clusterIdentifier}", 200] }, () => CreateStreamInput$, () => CreateStreamOutput$
433
- ];
434
- exports.DeleteCluster$ = [9, n0, _DC,
435
- { [_h]: ["DELETE", "/cluster/{identifier}", 200] }, () => DeleteClusterInput$, () => DeleteClusterOutput$
436
- ];
437
- exports.DeleteClusterPolicy$ = [9, n0, _DCP,
438
- { [_h]: ["DELETE", "/cluster/{identifier}/policy", 200] }, () => DeleteClusterPolicyInput$, () => DeleteClusterPolicyOutput$
439
- ];
440
- exports.DeleteStream$ = [9, n0, _DS,
441
- { [_h]: ["DELETE", "/stream/{clusterIdentifier}/{streamIdentifier}", 200] }, () => DeleteStreamInput$, () => DeleteStreamOutput$
442
- ];
443
- exports.GetCluster$ = [9, n0, _GC,
444
- { [_h]: ["GET", "/cluster/{identifier}", 200] }, () => GetClusterInput$, () => GetClusterOutput$
445
- ];
446
- exports.GetClusterPolicy$ = [9, n0, _GCP,
447
- { [_h]: ["GET", "/cluster/{identifier}/policy", 200] }, () => GetClusterPolicyInput$, () => GetClusterPolicyOutput$
448
- ];
449
- exports.GetStream$ = [9, n0, _GS,
450
- { [_h]: ["GET", "/stream/{clusterIdentifier}/{streamIdentifier}", 200] }, () => GetStreamInput$, () => GetStreamOutput$
451
- ];
452
- exports.GetVpcEndpointServiceName$ = [9, n0, _GVESN,
453
- { [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] }, () => GetVpcEndpointServiceNameInput$, () => GetVpcEndpointServiceNameOutput$
454
- ];
455
- exports.ListClusters$ = [9, n0, _LC,
456
- { [_h]: ["GET", "/cluster", 200] }, () => ListClustersInput$, () => ListClustersOutput$
457
- ];
458
- exports.ListStreams$ = [9, n0, _LS,
459
- { [_h]: ["GET", "/stream/{clusterIdentifier}", 200] }, () => ListStreamsInput$, () => ListStreamsOutput$
460
- ];
461
- exports.ListTagsForResource$ = [9, n0, _LTFR,
462
- { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
463
- ];
464
- exports.PutClusterPolicy$ = [9, n0, _PCP,
465
- { [_h]: ["POST", "/cluster/{identifier}/policy", 200] }, () => PutClusterPolicyInput$, () => PutClusterPolicyOutput$
466
- ];
467
- exports.TagResource$ = [9, n0, _TR,
468
- { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => __Unit
469
- ];
470
- exports.UntagResource$ = [9, n0, _UR,
471
- { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => __Unit
472
- ];
473
- exports.UpdateCluster$ = [9, n0, _UC,
474
- { [_h]: ["POST", "/cluster/{identifier}", 200] }, () => UpdateClusterInput$, () => UpdateClusterOutput$
475
- ];