@aws-sdk/client-dsql 3.928.0 → 3.930.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 (33) hide show
  1. package/dist-cjs/index.js +497 -598
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DSQLClient.js +2 -0
  4. package/dist-es/commands/CreateClusterCommand.js +3 -9
  5. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  6. package/dist-es/commands/DeleteClusterPolicyCommand.js +3 -9
  7. package/dist-es/commands/GetClusterCommand.js +3 -9
  8. package/dist-es/commands/GetClusterPolicyCommand.js +3 -9
  9. package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +3 -9
  10. package/dist-es/commands/ListClustersCommand.js +3 -9
  11. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  12. package/dist-es/commands/PutClusterPolicyCommand.js +3 -9
  13. package/dist-es/commands/TagResourceCommand.js +3 -9
  14. package/dist-es/commands/UntagResourceCommand.js +3 -9
  15. package/dist-es/commands/UpdateClusterCommand.js +3 -9
  16. package/dist-es/runtimeConfig.shared.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +463 -0
  18. package/dist-types/DSQLClient.d.ts +10 -1
  19. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  20. package/dist-types/runtimeConfig.d.ts +1 -0
  21. package/dist-types/runtimeConfig.native.d.ts +1 -0
  22. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  23. package/dist-types/schemas/schemas_0.d.ts +53 -0
  24. package/dist-types/ts3.4/DSQLClient.d.ts +4 -0
  25. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  27. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  29. package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
  30. package/package.json +34 -35
  31. package/dist-es/protocols/Aws_restJson1.js +0 -504
  32. package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
  33. 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
+ ];
@@ -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
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,53 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException: StaticErrorSchema;
3
+ export declare var ClusterSummary: StaticStructureSchema;
4
+ export declare var ConflictException: StaticErrorSchema;
5
+ export declare var CreateClusterInput: StaticStructureSchema;
6
+ export declare var CreateClusterOutput: StaticStructureSchema;
7
+ export declare var DeleteClusterInput: StaticStructureSchema;
8
+ export declare var DeleteClusterOutput: StaticStructureSchema;
9
+ export declare var DeleteClusterPolicyInput: StaticStructureSchema;
10
+ export declare var DeleteClusterPolicyOutput: StaticStructureSchema;
11
+ export declare var EncryptionDetails: StaticStructureSchema;
12
+ export declare var GetClusterInput: StaticStructureSchema;
13
+ export declare var GetClusterOutput: StaticStructureSchema;
14
+ export declare var GetClusterPolicyInput: StaticStructureSchema;
15
+ export declare var GetClusterPolicyOutput: StaticStructureSchema;
16
+ export declare var GetVpcEndpointServiceNameInput: StaticStructureSchema;
17
+ export declare var GetVpcEndpointServiceNameOutput: StaticStructureSchema;
18
+ export declare var InternalServerException: StaticErrorSchema;
19
+ export declare var ListClustersInput: StaticStructureSchema;
20
+ export declare var ListClustersOutput: StaticStructureSchema;
21
+ export declare var ListTagsForResourceInput: StaticStructureSchema;
22
+ export declare var ListTagsForResourceOutput: StaticStructureSchema;
23
+ export declare var MultiRegionProperties: StaticStructureSchema;
24
+ export declare var PutClusterPolicyInput: StaticStructureSchema;
25
+ export declare var PutClusterPolicyOutput: StaticStructureSchema;
26
+ export declare var ResourceNotFoundException: StaticErrorSchema;
27
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
28
+ export declare var TagResourceInput: StaticStructureSchema;
29
+ export declare var ThrottlingException: StaticErrorSchema;
30
+ export declare var UntagResourceInput: StaticStructureSchema;
31
+ export declare var UpdateClusterInput: StaticStructureSchema;
32
+ export declare var UpdateClusterOutput: StaticStructureSchema;
33
+ export declare var ValidationException: StaticErrorSchema;
34
+ export declare var ValidationExceptionField: StaticStructureSchema;
35
+ export declare var __Unit: "unit";
36
+ export declare var DSQLServiceException: StaticErrorSchema;
37
+ export declare var ClusterArnList: number;
38
+ export declare var ClusterList: StaticListSchema;
39
+ export declare var TagKeyList: number;
40
+ export declare var ValidationExceptionFieldList: StaticListSchema;
41
+ export declare var TagMap: number;
42
+ export declare var CreateCluster: StaticOperationSchema;
43
+ export declare var DeleteCluster: StaticOperationSchema;
44
+ export declare var DeleteClusterPolicy: StaticOperationSchema;
45
+ export declare var GetCluster: StaticOperationSchema;
46
+ export declare var GetClusterPolicy: StaticOperationSchema;
47
+ export declare var GetVpcEndpointServiceName: StaticOperationSchema;
48
+ export declare var ListClusters: StaticOperationSchema;
49
+ export declare var ListTagsForResource: StaticOperationSchema;
50
+ export declare var PutClusterPolicy: StaticOperationSchema;
51
+ export declare var TagResource: StaticOperationSchema;
52
+ export declare var UntagResource: StaticOperationSchema;
53
+ export declare var UpdateCluster: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -150,6 +153,7 @@ export interface ClientDefaults
150
153
  retryMode?: string | __Provider<string>;
151
154
  logger?: __Logger;
152
155
  extensions?: RuntimeExtension[];
156
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
153
157
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
154
158
  }
155
159
  export type DSQLClientConfigType = Partial<
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
37
37
  profile?: string;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  customUserAgent?: string | import("@smithy/types").UserAgent;
41
45
  userAgentAppId?:
42
46
  | string
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  retryStrategy?:
43
47
  | import("@smithy/types").RetryStrategy
@@ -36,6 +36,10 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
36
36
  retryMode: string | import("@smithy/types").Provider<string>;
37
37
  logger: import("@smithy/types").Logger;
38
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ protocol: import("@smithy/types").ClientProtocol<
40
+ import("@smithy/types").HttpRequest,
41
+ import("@smithy/types").HttpResponse
42
+ >;
39
43
  defaultsMode:
40
44
  | import("@smithy/smithy-client").DefaultsMode
41
45
  | import("@smithy/types").Provider<
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<
18
+ import("@smithy/types").HttpRequest,
19
+ import("@smithy/types").HttpResponse
20
+ >;
17
21
  serviceId: string;
18
22
  urlParser: import("@smithy/types").UrlParser;
19
23
  utf8Decoder: import("@smithy/types").Decoder;