@aws-sdk/client-dsql 3.927.0 → 3.929.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.
Files changed (50) hide show
  1. package/README.md +1 -6
  2. package/dist-cjs/index.js +497 -596
  3. package/dist-cjs/runtimeConfig.shared.js +2 -0
  4. package/dist-es/DSQLClient.js +2 -0
  5. package/dist-es/commands/CreateClusterCommand.js +3 -9
  6. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  7. package/dist-es/commands/DeleteClusterPolicyCommand.js +3 -9
  8. package/dist-es/commands/GetClusterCommand.js +3 -9
  9. package/dist-es/commands/GetClusterPolicyCommand.js +3 -9
  10. package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +3 -9
  11. package/dist-es/commands/ListClustersCommand.js +3 -9
  12. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  13. package/dist-es/commands/PutClusterPolicyCommand.js +3 -9
  14. package/dist-es/commands/TagResourceCommand.js +3 -9
  15. package/dist-es/commands/UntagResourceCommand.js +3 -9
  16. package/dist-es/commands/UpdateClusterCommand.js +3 -9
  17. package/dist-es/runtimeConfig.shared.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +463 -0
  19. package/dist-types/DSQL.d.ts +1 -6
  20. package/dist-types/DSQLClient.d.ts +11 -7
  21. package/dist-types/commands/CreateClusterCommand.d.ts +3 -67
  22. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -2
  23. package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +1 -2
  24. package/dist-types/commands/GetClusterCommand.d.ts +2 -2
  25. package/dist-types/commands/GetClusterPolicyCommand.d.ts +1 -2
  26. package/dist-types/commands/GetVpcEndpointServiceNameCommand.d.ts +1 -2
  27. package/dist-types/commands/ListClustersCommand.d.ts +1 -2
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  29. package/dist-types/commands/PutClusterPolicyCommand.d.ts +1 -2
  30. package/dist-types/commands/TagResourceCommand.d.ts +1 -2
  31. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  32. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -91
  33. package/dist-types/index.d.ts +1 -6
  34. package/dist-types/models/models_0.d.ts +22 -38
  35. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  36. package/dist-types/runtimeConfig.d.ts +1 -0
  37. package/dist-types/runtimeConfig.native.d.ts +1 -0
  38. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +53 -0
  40. package/dist-types/ts3.4/DSQLClient.d.ts +4 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
  47. package/package.json +5 -6
  48. package/dist-es/protocols/Aws_restJson1.js +0 -502
  49. package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
@@ -0,0 +1,463 @@
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 _DC = "DeleteCluster";
9
+ const _DCI = "DeleteClusterInput";
10
+ const _DCO = "DeleteClusterOutput";
11
+ const _DCP = "DeleteClusterPolicy";
12
+ const _DCPI = "DeleteClusterPolicyInput";
13
+ const _DCPO = "DeleteClusterPolicyOutput";
14
+ const _ED = "EncryptionDetails";
15
+ const _GC = "GetCluster";
16
+ const _GCI = "GetClusterInput";
17
+ const _GCO = "GetClusterOutput";
18
+ const _GCP = "GetClusterPolicy";
19
+ const _GCPI = "GetClusterPolicyInput";
20
+ const _GCPO = "GetClusterPolicyOutput";
21
+ const _GVESN = "GetVpcEndpointServiceName";
22
+ const _GVESNI = "GetVpcEndpointServiceNameInput";
23
+ const _GVESNO = "GetVpcEndpointServiceNameOutput";
24
+ const _ISE = "InternalServerException";
25
+ const _LC = "ListClusters";
26
+ const _LCI = "ListClustersInput";
27
+ const _LCO = "ListClustersOutput";
28
+ const _LTFR = "ListTagsForResource";
29
+ const _LTFRI = "ListTagsForResourceInput";
30
+ const _LTFRO = "ListTagsForResourceOutput";
31
+ const _MRP = "MultiRegionProperties";
32
+ const _PCP = "PutClusterPolicy";
33
+ const _PCPI = "PutClusterPolicyInput";
34
+ const _PCPO = "PutClusterPolicyOutput";
35
+ const _RA = "Retry-After";
36
+ const _RNFE = "ResourceNotFoundException";
37
+ const _SQEE = "ServiceQuotaExceededException";
38
+ const _TE = "ThrottlingException";
39
+ const _TR = "TagResource";
40
+ const _TRI = "TagResourceInput";
41
+ const _UC = "UpdateCluster";
42
+ const _UCI = "UpdateClusterInput";
43
+ const _UCO = "UpdateClusterOutput";
44
+ const _UR = "UntagResource";
45
+ const _URI = "UntagResourceInput";
46
+ const _VE = "ValidationException";
47
+ const _VEF = "ValidationExceptionField";
48
+ const _VEFL = "ValidationExceptionFieldList";
49
+ const _a = "arn";
50
+ const _bPLSC = "bypassPolicyLockoutSafetyCheck";
51
+ const _c = "client";
52
+ const _cT = "clientToken";
53
+ const _cTr = "creationTime";
54
+ const _cl = "clusters";
55
+ const _ct = "client-token";
56
+ const _dPE = "deletionProtectionEnabled";
57
+ const _e = "error";
58
+ const _eD = "encryptionDetails";
59
+ const _ePV = "expectedPolicyVersion";
60
+ const _eS = "encryptionStatus";
61
+ const _eT = "encryptionType";
62
+ const _en = "endpoint";
63
+ const _epv = "expected-policy-version";
64
+ const _fL = "fieldList";
65
+ const _h = "http";
66
+ const _hE = "httpError";
67
+ const _hH = "httpHeader";
68
+ const _hQ = "httpQuery";
69
+ const _i = "identifier";
70
+ const _iT = "idempotencyToken";
71
+ const _kEK = "kmsEncryptionKey";
72
+ const _kKA = "kmsKeyArn";
73
+ const _m = "message";
74
+ const _mR = "maxResults";
75
+ const _mRP = "multiRegionProperties";
76
+ const _mr = "max-results";
77
+ const _n = "name";
78
+ const _nT = "nextToken";
79
+ const _nt = "next-token";
80
+ const _p = "policy";
81
+ const _pV = "policyVersion";
82
+ const _qC = "quotaCode";
83
+ const _r = "reason";
84
+ const _rA = "resourceArn";
85
+ const _rAS = "retryAfterSeconds";
86
+ const _rI = "resourceId";
87
+ const _rT = "resourceType";
88
+ const _s = "status";
89
+ const _sC = "serviceCode";
90
+ const _sN = "serviceName";
91
+ const _se = "server";
92
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.dsql";
93
+ const _t = "tags";
94
+ const _tK = "tagKeys";
95
+ const _wR = "witnessRegion";
96
+ const n0 = "com.amazonaws.dsql";
97
+ import { TypeRegistry } from "@smithy/core/schema";
98
+ import { DSQLServiceException as __DSQLServiceException } from "../models/DSQLServiceException";
99
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
100
+ export var AccessDeniedException = [
101
+ -3,
102
+ n0,
103
+ _ADE,
104
+ {
105
+ [_e]: _c,
106
+ [_hE]: 403,
107
+ },
108
+ [_m],
109
+ [0],
110
+ ];
111
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
112
+ export var ClusterSummary = [3, n0, _CS, 0, [_i, _a], [0, 0]];
113
+ export var ConflictException = [
114
+ -3,
115
+ n0,
116
+ _CE,
117
+ {
118
+ [_e]: _c,
119
+ [_hE]: 409,
120
+ },
121
+ [_m, _rI, _rT],
122
+ [0, 0, 0],
123
+ ];
124
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
125
+ export var CreateClusterInput = [
126
+ 3,
127
+ n0,
128
+ _CCI,
129
+ 0,
130
+ [_dPE, _kEK, _t, _cT, _mRP, _p, _bPLSC],
131
+ [2, 0, 128 | 0, [0, 4], () => MultiRegionProperties, 0, 2],
132
+ ];
133
+ export var CreateClusterOutput = [
134
+ 3,
135
+ n0,
136
+ _CCO,
137
+ 0,
138
+ [_i, _a, _s, _cTr, _mRP, _eD, _dPE, _en],
139
+ [0, 0, 0, 4, () => MultiRegionProperties, () => EncryptionDetails, 2, 0],
140
+ ];
141
+ export var DeleteClusterInput = [
142
+ 3,
143
+ n0,
144
+ _DCI,
145
+ 0,
146
+ [_i, _cT],
147
+ [
148
+ [0, 1],
149
+ [
150
+ 0,
151
+ {
152
+ [_iT]: 1,
153
+ [_hQ]: _ct,
154
+ },
155
+ ],
156
+ ],
157
+ ];
158
+ export var DeleteClusterOutput = [3, n0, _DCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
159
+ export var DeleteClusterPolicyInput = [
160
+ 3,
161
+ n0,
162
+ _DCPI,
163
+ 0,
164
+ [_i, _ePV, _cT],
165
+ [
166
+ [0, 1],
167
+ [
168
+ 0,
169
+ {
170
+ [_hQ]: _epv,
171
+ },
172
+ ],
173
+ [
174
+ 0,
175
+ {
176
+ [_iT]: 1,
177
+ [_hQ]: _ct,
178
+ },
179
+ ],
180
+ ],
181
+ ];
182
+ export var DeleteClusterPolicyOutput = [3, n0, _DCPO, 0, [_pV], [0]];
183
+ export var EncryptionDetails = [3, n0, _ED, 0, [_eT, _kKA, _eS], [0, 0, 0]];
184
+ export var GetClusterInput = [3, n0, _GCI, 0, [_i], [[0, 1]]];
185
+ export var GetClusterOutput = [
186
+ 3,
187
+ n0,
188
+ _GCO,
189
+ 0,
190
+ [_i, _a, _s, _cTr, _dPE, _mRP, _t, _eD, _en],
191
+ [0, 0, 0, 4, 2, () => MultiRegionProperties, 128 | 0, () => EncryptionDetails, 0],
192
+ ];
193
+ export var GetClusterPolicyInput = [3, n0, _GCPI, 0, [_i], [[0, 1]]];
194
+ export var GetClusterPolicyOutput = [3, n0, _GCPO, 0, [_p, _pV], [0, 0]];
195
+ export var GetVpcEndpointServiceNameInput = [3, n0, _GVESNI, 0, [_i], [[0, 1]]];
196
+ export var GetVpcEndpointServiceNameOutput = [3, n0, _GVESNO, 0, [_sN], [0]];
197
+ export var InternalServerException = [
198
+ -3,
199
+ n0,
200
+ _ISE,
201
+ {
202
+ [_e]: _se,
203
+ [_hE]: 500,
204
+ },
205
+ [_m, _rAS],
206
+ [
207
+ 0,
208
+ [
209
+ 1,
210
+ {
211
+ [_hH]: _RA,
212
+ },
213
+ ],
214
+ ],
215
+ ];
216
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
217
+ export var ListClustersInput = [
218
+ 3,
219
+ n0,
220
+ _LCI,
221
+ 0,
222
+ [_mR, _nT],
223
+ [
224
+ [
225
+ 1,
226
+ {
227
+ [_hQ]: _mr,
228
+ },
229
+ ],
230
+ [
231
+ 0,
232
+ {
233
+ [_hQ]: _nt,
234
+ },
235
+ ],
236
+ ],
237
+ ];
238
+ export var ListClustersOutput = [3, n0, _LCO, 0, [_nT, _cl], [0, () => ClusterList]];
239
+ export var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
240
+ export var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
241
+ export var MultiRegionProperties = [3, n0, _MRP, 0, [_wR, _cl], [0, 64 | 0]];
242
+ export var PutClusterPolicyInput = [
243
+ 3,
244
+ n0,
245
+ _PCPI,
246
+ 0,
247
+ [_i, _p, _bPLSC, _ePV, _cT],
248
+ [[0, 1], 0, 2, 0, [0, 4]],
249
+ ];
250
+ export var PutClusterPolicyOutput = [3, n0, _PCPO, 0, [_pV], [0]];
251
+ export var ResourceNotFoundException = [
252
+ -3,
253
+ n0,
254
+ _RNFE,
255
+ {
256
+ [_e]: _c,
257
+ [_hE]: 404,
258
+ },
259
+ [_m, _rI, _rT],
260
+ [0, 0, 0],
261
+ ];
262
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
263
+ export var ServiceQuotaExceededException = [
264
+ -3,
265
+ n0,
266
+ _SQEE,
267
+ {
268
+ [_e]: _c,
269
+ [_hE]: 402,
270
+ },
271
+ [_m, _rI, _rT, _sC, _qC],
272
+ [0, 0, 0, 0, 0],
273
+ ];
274
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
275
+ export var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
276
+ export var ThrottlingException = [
277
+ -3,
278
+ n0,
279
+ _TE,
280
+ {
281
+ [_e]: _c,
282
+ [_hE]: 429,
283
+ },
284
+ [_m, _sC, _qC, _rAS],
285
+ [
286
+ 0,
287
+ 0,
288
+ 0,
289
+ [
290
+ 1,
291
+ {
292
+ [_hH]: _RA,
293
+ },
294
+ ],
295
+ ],
296
+ ];
297
+ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
298
+ export var UntagResourceInput = [
299
+ 3,
300
+ n0,
301
+ _URI,
302
+ 0,
303
+ [_rA, _tK],
304
+ [
305
+ [0, 1],
306
+ [
307
+ 64 | 0,
308
+ {
309
+ [_hQ]: _tK,
310
+ },
311
+ ],
312
+ ],
313
+ ];
314
+ export var UpdateClusterInput = [
315
+ 3,
316
+ n0,
317
+ _UCI,
318
+ 0,
319
+ [_i, _dPE, _kEK, _cT, _mRP],
320
+ [[0, 1], 2, 0, [0, 4], () => MultiRegionProperties],
321
+ ];
322
+ export var UpdateClusterOutput = [3, n0, _UCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
323
+ export var ValidationException = [
324
+ -3,
325
+ n0,
326
+ _VE,
327
+ {
328
+ [_e]: _c,
329
+ [_hE]: 400,
330
+ },
331
+ [_m, _r, _fL],
332
+ [0, 0, () => ValidationExceptionFieldList],
333
+ ];
334
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
335
+ export var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
336
+ export var __Unit = "unit";
337
+ export var DSQLServiceException = [-3, _sm, "DSQLServiceException", 0, [], []];
338
+ TypeRegistry.for(_sm).registerError(DSQLServiceException, __DSQLServiceException);
339
+ export var ClusterArnList = 64 | 0;
340
+ export var ClusterList = [1, n0, _CL, 0, () => ClusterSummary];
341
+ export var TagKeyList = 64 | 0;
342
+ export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
343
+ export var TagMap = 128 | 0;
344
+ export var CreateCluster = [
345
+ 9,
346
+ n0,
347
+ _CC,
348
+ {
349
+ [_h]: ["POST", "/cluster", 200],
350
+ },
351
+ () => CreateClusterInput,
352
+ () => CreateClusterOutput,
353
+ ];
354
+ export var DeleteCluster = [
355
+ 9,
356
+ n0,
357
+ _DC,
358
+ {
359
+ [_h]: ["DELETE", "/cluster/{identifier}", 200],
360
+ },
361
+ () => DeleteClusterInput,
362
+ () => DeleteClusterOutput,
363
+ ];
364
+ export var DeleteClusterPolicy = [
365
+ 9,
366
+ n0,
367
+ _DCP,
368
+ {
369
+ [_h]: ["DELETE", "/cluster/{identifier}/policy", 200],
370
+ },
371
+ () => DeleteClusterPolicyInput,
372
+ () => DeleteClusterPolicyOutput,
373
+ ];
374
+ export var GetCluster = [
375
+ 9,
376
+ n0,
377
+ _GC,
378
+ {
379
+ [_h]: ["GET", "/cluster/{identifier}", 200],
380
+ },
381
+ () => GetClusterInput,
382
+ () => GetClusterOutput,
383
+ ];
384
+ export var GetClusterPolicy = [
385
+ 9,
386
+ n0,
387
+ _GCP,
388
+ {
389
+ [_h]: ["GET", "/cluster/{identifier}/policy", 200],
390
+ },
391
+ () => GetClusterPolicyInput,
392
+ () => GetClusterPolicyOutput,
393
+ ];
394
+ export var GetVpcEndpointServiceName = [
395
+ 9,
396
+ n0,
397
+ _GVESN,
398
+ {
399
+ [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200],
400
+ },
401
+ () => GetVpcEndpointServiceNameInput,
402
+ () => GetVpcEndpointServiceNameOutput,
403
+ ];
404
+ export var ListClusters = [
405
+ 9,
406
+ n0,
407
+ _LC,
408
+ {
409
+ [_h]: ["GET", "/cluster", 200],
410
+ },
411
+ () => ListClustersInput,
412
+ () => ListClustersOutput,
413
+ ];
414
+ export var ListTagsForResource = [
415
+ 9,
416
+ n0,
417
+ _LTFR,
418
+ {
419
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
420
+ },
421
+ () => ListTagsForResourceInput,
422
+ () => ListTagsForResourceOutput,
423
+ ];
424
+ export var PutClusterPolicy = [
425
+ 9,
426
+ n0,
427
+ _PCP,
428
+ {
429
+ [_h]: ["POST", "/cluster/{identifier}/policy", 200],
430
+ },
431
+ () => PutClusterPolicyInput,
432
+ () => PutClusterPolicyOutput,
433
+ ];
434
+ export var TagResource = [
435
+ 9,
436
+ n0,
437
+ _TR,
438
+ {
439
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
440
+ },
441
+ () => TagResourceInput,
442
+ () => __Unit,
443
+ ];
444
+ export var UntagResource = [
445
+ 9,
446
+ n0,
447
+ _UR,
448
+ {
449
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
450
+ },
451
+ () => UntagResourceInput,
452
+ () => __Unit,
453
+ ];
454
+ export var UpdateCluster = [
455
+ 9,
456
+ n0,
457
+ _UC,
458
+ {
459
+ [_h]: ["POST", "/cluster/{identifier}", 200],
460
+ },
461
+ () => UpdateClusterInput,
462
+ () => UpdateClusterOutput,
463
+ ];
@@ -89,12 +89,7 @@ export interface DSQL {
89
89
  updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
90
90
  }
91
91
  /**
92
- * <p>This is an interface reference for Amazon Aurora DSQL. It contains documentation for one of the
93
- * programming or command line interfaces you can use to manage Amazon Aurora DSQL.</p>
94
- * <p>Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size.
95
- * is available in both single-Region and multi-Region configurations, so your
96
- * 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
97
- * acquire new insights for your business and customers.</p>
92
+ * <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>
98
93
  * @public
99
94
  */
100
95
  export declare class DSQL extends DSQLClient implements DSQL {
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
11
11
  import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
@@ -153,6 +153,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
153
153
  * Optional extensions
154
154
  */
155
155
  extensions?: RuntimeExtension[];
156
+ /**
157
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
158
+ * may be overridden. A default will always be set by the client.
159
+ * Available options depend on the service's supported protocols and will not be validated by
160
+ * the client.
161
+ * @alpha
162
+ *
163
+ */
164
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
156
165
  /**
157
166
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
158
167
  */
@@ -181,12 +190,7 @@ export type DSQLClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpH
181
190
  export interface DSQLClientResolvedConfig extends DSQLClientResolvedConfigType {
182
191
  }
183
192
  /**
184
- * <p>This is an interface reference for Amazon Aurora DSQL. It contains documentation for one of the
185
- * programming or command line interfaces you can use to manage Amazon Aurora DSQL.</p>
186
- * <p>Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size.
187
- * is available in both single-Region and multi-Region configurations, so your
188
- * 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
189
- * acquire new insights for your business and customers.</p>
193
+ * <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>
190
194
  * @public
191
195
  */
192
196
  export declare class DSQLClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DSQLClientResolvedConfig> {
@@ -27,71 +27,7 @@ declare const CreateClusterCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>The CreateCluster API allows you to create both single-Region clusters and multi-Region
31
- * clusters. With the addition of the <i>multiRegionProperties</i> parameter,
32
- * you can create a cluster with witness Region support and establish peer relationships with
33
- * clusters in other Regions during creation.</p>
34
- * <note>
35
- * <p>Creating multi-Region clusters requires additional IAM permissions beyond those
36
- * needed for single-Region clusters, as detailed in the <b>Required permissions</b> section
37
- * below.</p>
38
- * </note>
39
- * <p>
40
- * <b>Required permissions</b>
41
- * </p>
42
- * <dl>
43
- * <dt>dsql:CreateCluster</dt>
44
- * <dd>
45
- * <p>Required to create a cluster.</p>
46
- * <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code>
47
- * </p>
48
- * </dd>
49
- * <dt>dsql:TagResource</dt>
50
- * <dd>
51
- * <p>Permission to add tags to a resource.</p>
52
- * <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code>
53
- * </p>
54
- * </dd>
55
- * <dt>dsql:PutMultiRegionProperties</dt>
56
- * <dd>
57
- * <p>Permission to configure multi-Region properties for a cluster.</p>
58
- * <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code>
59
- * </p>
60
- * </dd>
61
- * <dt>dsql:AddPeerCluster</dt>
62
- * <dd>
63
- * <p>When specifying <code>multiRegionProperties.clusters</code>, permission to
64
- * add peer clusters.</p>
65
- * <p>Resources:</p>
66
- * <ul>
67
- * <li>
68
- * <p>Local cluster: <code>arn:aws:dsql:region:account-id:cluster/*</code>
69
- * </p>
70
- * </li>
71
- * <li>
72
- * <p>Each peer cluster: exact ARN of each specified peer cluster</p>
73
- * </li>
74
- * </ul>
75
- * </dd>
76
- * <dt>dsql:PutWitnessRegion</dt>
77
- * <dd>
78
- * <p>When specifying <code>multiRegionProperties.witnessRegion</code>, permission
79
- * to set a witness Region. This permission is checked both in the cluster Region and
80
- * in the witness Region.</p>
81
- * <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code>
82
- * </p>
83
- * <p>Condition Keys: <code>dsql:WitnessRegion</code> (matching the specified witness region)</p>
84
- * </dd>
85
- * </dl>
86
- * <important>
87
- * <ul>
88
- * <li>
89
- * <p>The witness Region specified in
90
- * <code>multiRegionProperties.witnessRegion</code> cannot be the same as the
91
- * cluster's Region.</p>
92
- * </li>
93
- * </ul>
94
- * </important>
30
+ * <p>The CreateCluster API allows you to create both single-Region clusters and multi-Region clusters. With the addition of the <i>multiRegionProperties</i> parameter, you can create a cluster with witness Region support and establish peer relationships with clusters in other Regions during creation.</p> <note> <p>Creating multi-Region clusters requires additional IAM permissions beyond those needed for single-Region clusters, as detailed in the <b>Required permissions</b> section below.</p> </note> <p> <b>Required permissions</b> </p> <dl> <dt>dsql:CreateCluster</dt> <dd> <p>Required to create a cluster.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:TagResource</dt> <dd> <p>Permission to add tags to a resource.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:PutMultiRegionProperties</dt> <dd> <p>Permission to configure multi-Region properties for a cluster.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </dd> <dt>dsql:AddPeerCluster</dt> <dd> <p>When specifying <code>multiRegionProperties.clusters</code>, permission to add peer clusters.</p> <p>Resources:</p> <ul> <li> <p>Local cluster: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> </li> <li> <p>Each peer cluster: exact ARN of each specified peer cluster</p> </li> </ul> </dd> <dt>dsql:PutWitnessRegion</dt> <dd> <p>When specifying <code>multiRegionProperties.witnessRegion</code>, permission to set a witness Region. This permission is checked both in the cluster Region and in the witness Region.</p> <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code> </p> <p>Condition Keys: <code>dsql:WitnessRegion</code> (matching the specified witness region)</p> </dd> </dl> <important> <ul> <li> <p>The witness Region specified in <code>multiRegionProperties.witnessRegion</code> cannot be the same as the cluster's Region.</p> </li> </ul> </important>
95
31
  * @example
96
32
  * Use a bare-bones client and the command you need to make an API call.
97
33
  * ```javascript
@@ -135,6 +71,7 @@ declare const CreateClusterCommand_base: {
135
71
  * // encryptionStatus: "ENABLED" || "UPDATING" || "KMS_KEY_INACCESSIBLE" || "ENABLING", // required
136
72
  * // },
137
73
  * // deletionProtectionEnabled: true || false, // required
74
+ * // endpoint: "STRING_VALUE",
138
75
  * // };
139
76
  *
140
77
  * ```
@@ -158,8 +95,7 @@ declare const CreateClusterCommand_base: {
158
95
  * <p>You do not have sufficient access to perform this action.</p>
159
96
  *
160
97
  * @throws {@link InternalServerException} (server fault)
161
- * <p>The request processing has failed because of an unknown error, exception or
162
- * failure.</p>
98
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
163
99
  *
164
100
  * @throws {@link ThrottlingException} (client fault)
165
101
  * <p>The request was denied due to request throttling.</p>
@@ -67,8 +67,7 @@ declare const DeleteClusterCommand_base: {
67
67
  * <p>You do not have sufficient access to perform this action.</p>
68
68
  *
69
69
  * @throws {@link InternalServerException} (server fault)
70
- * <p>The request processing has failed because of an unknown error, exception or
71
- * failure.</p>
70
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
72
71
  *
73
72
  * @throws {@link ThrottlingException} (client fault)
74
73
  * <p>The request was denied due to request throttling.</p>
@@ -68,8 +68,7 @@ declare const DeleteClusterPolicyCommand_base: {
68
68
  * <p>You do not have sufficient access to perform this action.</p>
69
69
  *
70
70
  * @throws {@link InternalServerException} (server fault)
71
- * <p>The request processing has failed because of an unknown error, exception or
72
- * failure.</p>
71
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
73
72
  *
74
73
  * @throws {@link ThrottlingException} (client fault)
75
74
  * <p>The request was denied due to request throttling.</p>
@@ -61,6 +61,7 @@ declare const GetClusterCommand_base: {
61
61
  * // kmsKeyArn: "STRING_VALUE",
62
62
  * // encryptionStatus: "ENABLED" || "UPDATING" || "KMS_KEY_INACCESSIBLE" || "ENABLING", // required
63
63
  * // },
64
+ * // endpoint: "STRING_VALUE",
64
65
  * // };
65
66
  *
66
67
  * ```
@@ -78,8 +79,7 @@ declare const GetClusterCommand_base: {
78
79
  * <p>You do not have sufficient access to perform this action.</p>
79
80
  *
80
81
  * @throws {@link InternalServerException} (server fault)
81
- * <p>The request processing has failed because of an unknown error, exception or
82
- * failure.</p>
82
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
83
83
  *
84
84
  * @throws {@link ThrottlingException} (client fault)
85
85
  * <p>The request was denied due to request throttling.</p>
@@ -64,8 +64,7 @@ declare const GetClusterPolicyCommand_base: {
64
64
  * <p>You do not have sufficient access to perform this action.</p>
65
65
  *
66
66
  * @throws {@link InternalServerException} (server fault)
67
- * <p>The request processing has failed because of an unknown error, exception or
68
- * failure.</p>
67
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
69
68
  *
70
69
  * @throws {@link ThrottlingException} (client fault)
71
70
  * <p>The request was denied due to request throttling.</p>
@@ -54,8 +54,7 @@ declare const GetVpcEndpointServiceNameCommand_base: {
54
54
  * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
55
55
  *
56
56
  * @throws {@link InternalServerException} (server fault)
57
- * <p>The request processing has failed because of an unknown error, exception or
58
- * failure.</p>
57
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
59
58
  *
60
59
  * @throws {@link ResourceNotFoundException} (client fault)
61
60
  * <p>The resource could not be found.</p>
@@ -67,8 +67,7 @@ declare const ListClustersCommand_base: {
67
67
  * <p>You do not have sufficient access to perform this action.</p>
68
68
  *
69
69
  * @throws {@link InternalServerException} (server fault)
70
- * <p>The request processing has failed because of an unknown error, exception or
71
- * failure.</p>
70
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
72
71
  *
73
72
  * @throws {@link ThrottlingException} (client fault)
74
73
  * <p>The request was denied due to request throttling.</p>