@aws-sdk/client-dsql 3.952.0 → 3.953.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist-cjs/index.js +164 -118
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateClusterCommand.js +2 -2
  4. package/dist-es/commands/DeleteClusterCommand.js +2 -2
  5. package/dist-es/commands/DeleteClusterPolicyCommand.js +2 -2
  6. package/dist-es/commands/GetClusterCommand.js +2 -2
  7. package/dist-es/commands/GetClusterPolicyCommand.js +2 -2
  8. package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +2 -2
  9. package/dist-es/commands/ListClustersCommand.js +2 -2
  10. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  11. package/dist-es/commands/PutClusterPolicyCommand.js +2 -2
  12. package/dist-es/commands/TagResourceCommand.js +2 -2
  13. package/dist-es/commands/UntagResourceCommand.js +2 -2
  14. package/dist-es/commands/UpdateClusterCommand.js +2 -2
  15. package/dist-es/index.js +1 -0
  16. package/dist-es/runtimeConfig.shared.js +6 -1
  17. package/dist-es/schemas/schemas_0.js +88 -88
  18. package/dist-types/DSQLClient.d.ts +1 -10
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  21. package/dist-types/runtimeConfig.d.ts +6 -2
  22. package/dist-types/runtimeConfig.native.d.ts +6 -2
  23. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  24. package/dist-types/schemas/schemas_0.d.ts +47 -53
  25. package/dist-types/ts3.4/DSQLClient.d.ts +0 -4
  26. package/dist-types/ts3.4/index.d.ts +1 -0
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -53
  32. package/package.json +35 -35
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetCluster } from "../schemas/schemas_0";
4
+ import { GetCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetClusterCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "GetCluster", {})
13
13
  .n("DSQLClient", "GetClusterCommand")
14
- .sc(GetCluster)
14
+ .sc(GetCluster$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetClusterPolicy } from "../schemas/schemas_0";
4
+ import { GetClusterPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetClusterPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetClusterPolicyCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "GetClusterPolicy", {})
13
13
  .n("DSQLClient", "GetClusterPolicyCommand")
14
- .sc(GetClusterPolicy)
14
+ .sc(GetClusterPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetVpcEndpointServiceName } from "../schemas/schemas_0";
4
+ import { GetVpcEndpointServiceName$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetVpcEndpointServiceNameCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetVpcEndpointServiceNameCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "GetVpcEndpointServiceName", {})
13
13
  .n("DSQLClient", "GetVpcEndpointServiceNameCommand")
14
- .sc(GetVpcEndpointServiceName)
14
+ .sc(GetVpcEndpointServiceName$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListClusters } from "../schemas/schemas_0";
4
+ import { ListClusters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListClustersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListClustersCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "ListClusters", {})
13
13
  .n("DSQLClient", "ListClustersCommand")
14
- .sc(ListClusters)
14
+ .sc(ListClusters$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "ListTagsForResource", {})
13
13
  .n("DSQLClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutClusterPolicy } from "../schemas/schemas_0";
4
+ import { PutClusterPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutClusterPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutClusterPolicyCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "PutClusterPolicy", {})
13
13
  .n("DSQLClient", "PutClusterPolicyCommand")
14
- .sc(PutClusterPolicy)
14
+ .sc(PutClusterPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "TagResource", {})
13
13
  .n("DSQLClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "UntagResource", {})
13
13
  .n("DSQLClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateCluster } from "../schemas/schemas_0";
4
+ import { UpdateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateClusterCommand extends $Command
11
11
  })
12
12
  .s("DSQL", "UpdateCluster", {})
13
13
  .n("DSQLClient", "UpdateClusterCommand")
14
- .sc(UpdateCluster)
14
+ .sc(UpdateCluster$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./DSQLClient";
2
2
  export * from "./DSQL";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.dsql" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.dsql",
29
+ version: "2018-05-10",
30
+ serviceTarget: "DSQL",
31
+ },
27
32
  serviceId: config?.serviceId ?? "DSQL",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -96,30 +96,30 @@ const _tK = "tagKeys";
96
96
  const _wR = "witnessRegion";
97
97
  const n0 = "com.amazonaws.dsql";
98
98
  import { TypeRegistry } from "@smithy/core/schema";
99
- import { DSQLServiceException as __DSQLServiceException } from "../models/DSQLServiceException";
100
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
101
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
102
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
103
- export var ClusterSummary = [3, n0, _CS, 0, [_i, _a], [0, 0]];
104
- export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
105
- TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
106
- export var CreateClusterInput = [
99
+ import { DSQLServiceException } from "../models/DSQLServiceException";
100
+ import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
101
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
102
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
103
+ export var ClusterSummary$ = [3, n0, _CS, 0, [_i, _a], [0, 0]];
104
+ export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
105
+ TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
106
+ export var CreateClusterInput$ = [
107
107
  3,
108
108
  n0,
109
109
  _CCI,
110
110
  0,
111
111
  [_dPE, _kEK, _t, _cT, _mRP, _p, _bPLSC],
112
- [2, 0, 128 | 0, [0, 4], () => MultiRegionProperties, 0, 2],
112
+ [2, 0, 128 | 0, [0, 4], () => MultiRegionProperties$, 0, 2],
113
113
  ];
114
- export var CreateClusterOutput = [
114
+ export var CreateClusterOutput$ = [
115
115
  3,
116
116
  n0,
117
117
  _CCO,
118
118
  0,
119
119
  [_i, _a, _s, _cTr, _mRP, _eD, _dPE, _en],
120
- [0, 0, 0, 4, () => MultiRegionProperties, () => EncryptionDetails, 2, 0],
120
+ [0, 0, 0, 4, () => MultiRegionProperties$, () => EncryptionDetails$, 2, 0],
121
121
  ];
122
- export var DeleteClusterInput = [
122
+ export var DeleteClusterInput$ = [
123
123
  3,
124
124
  n0,
125
125
  _DCI,
@@ -130,8 +130,8 @@ export var DeleteClusterInput = [
130
130
  [0, { [_iT]: 1, [_hQ]: _ct }],
131
131
  ],
132
132
  ];
133
- export var DeleteClusterOutput = [3, n0, _DCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
134
- export var DeleteClusterPolicyInput = [
133
+ export var DeleteClusterOutput$ = [3, n0, _DCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
134
+ export var DeleteClusterPolicyInput$ = [
135
135
  3,
136
136
  n0,
137
137
  _DCPI,
@@ -143,22 +143,22 @@ export var DeleteClusterPolicyInput = [
143
143
  [0, { [_iT]: 1, [_hQ]: _ct }],
144
144
  ],
145
145
  ];
146
- export var DeleteClusterPolicyOutput = [3, n0, _DCPO, 0, [_pV], [0]];
147
- export var EncryptionDetails = [3, n0, _ED, 0, [_eT, _kKA, _eS], [0, 0, 0]];
148
- export var GetClusterInput = [3, n0, _GCI, 0, [_i], [[0, 1]]];
149
- export var GetClusterOutput = [
146
+ export var DeleteClusterPolicyOutput$ = [3, n0, _DCPO, 0, [_pV], [0]];
147
+ export var EncryptionDetails$ = [3, n0, _ED, 0, [_eT, _kKA, _eS], [0, 0, 0]];
148
+ export var GetClusterInput$ = [3, n0, _GCI, 0, [_i], [[0, 1]]];
149
+ export var GetClusterOutput$ = [
150
150
  3,
151
151
  n0,
152
152
  _GCO,
153
153
  0,
154
154
  [_i, _a, _s, _cTr, _dPE, _mRP, _t, _eD, _en],
155
- [0, 0, 0, 4, 2, () => MultiRegionProperties, 128 | 0, () => EncryptionDetails, 0],
155
+ [0, 0, 0, 4, 2, () => MultiRegionProperties$, 128 | 0, () => EncryptionDetails$, 0],
156
156
  ];
157
- export var GetClusterPolicyInput = [3, n0, _GCPI, 0, [_i], [[0, 1]]];
158
- export var GetClusterPolicyOutput = [3, n0, _GCPO, 0, [_p, _pV], [0, 0]];
159
- export var GetVpcEndpointServiceNameInput = [3, n0, _GVESNI, 0, [_i], [[0, 1]]];
160
- export var GetVpcEndpointServiceNameOutput = [3, n0, _GVESNO, 0, [_sN, _cVE], [0, 0]];
161
- export var InternalServerException = [
157
+ export var GetClusterPolicyInput$ = [3, n0, _GCPI, 0, [_i], [[0, 1]]];
158
+ export var GetClusterPolicyOutput$ = [3, n0, _GCPO, 0, [_p, _pV], [0, 0]];
159
+ export var GetVpcEndpointServiceNameInput$ = [3, n0, _GVESNI, 0, [_i], [[0, 1]]];
160
+ export var GetVpcEndpointServiceNameOutput$ = [3, n0, _GVESNO, 0, [_sN, _cVE], [0, 0]];
161
+ export var InternalServerException$ = [
162
162
  -3,
163
163
  n0,
164
164
  _ISE,
@@ -166,8 +166,8 @@ export var InternalServerException = [
166
166
  [_m, _rAS],
167
167
  [0, [1, { [_hH]: _RA }]],
168
168
  ];
169
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
170
- export var ListClustersInput = [
169
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
170
+ export var ListClustersInput$ = [
171
171
  3,
172
172
  n0,
173
173
  _LCI,
@@ -178,11 +178,11 @@ export var ListClustersInput = [
178
178
  [0, { [_hQ]: _nt }],
179
179
  ],
180
180
  ];
181
- export var ListClustersOutput = [3, n0, _LCO, 0, [_nT, _cl], [0, () => ClusterList]];
182
- export var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
183
- export var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
184
- export var MultiRegionProperties = [3, n0, _MRP, 0, [_wR, _cl], [0, 64 | 0]];
185
- export var PutClusterPolicyInput = [
181
+ export var ListClustersOutput$ = [3, n0, _LCO, 0, [_nT, _cl], [0, () => ClusterList]];
182
+ export var ListTagsForResourceInput$ = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
183
+ export var ListTagsForResourceOutput$ = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
184
+ export var MultiRegionProperties$ = [3, n0, _MRP, 0, [_wR, _cl], [0, 64 | 0]];
185
+ export var PutClusterPolicyInput$ = [
186
186
  3,
187
187
  n0,
188
188
  _PCPI,
@@ -190,8 +190,8 @@ export var PutClusterPolicyInput = [
190
190
  [_i, _p, _bPLSC, _ePV, _cT],
191
191
  [[0, 1], 0, 2, 0, [0, 4]],
192
192
  ];
193
- export var PutClusterPolicyOutput = [3, n0, _PCPO, 0, [_pV], [0]];
194
- export var ResourceNotFoundException = [
193
+ export var PutClusterPolicyOutput$ = [3, n0, _PCPO, 0, [_pV], [0]];
194
+ export var ResourceNotFoundException$ = [
195
195
  -3,
196
196
  n0,
197
197
  _RNFE,
@@ -199,8 +199,8 @@ export var ResourceNotFoundException = [
199
199
  [_m, _rI, _rT],
200
200
  [0, 0, 0],
201
201
  ];
202
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
203
- export var ServiceQuotaExceededException = [
202
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
203
+ export var ServiceQuotaExceededException$ = [
204
204
  -3,
205
205
  n0,
206
206
  _SQEE,
@@ -208,9 +208,9 @@ export var ServiceQuotaExceededException = [
208
208
  [_m, _rI, _rT, _sC, _qC],
209
209
  [0, 0, 0, 0, 0],
210
210
  ];
211
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
212
- export var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
213
- export var ThrottlingException = [
211
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
212
+ export var TagResourceInput$ = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
213
+ export var ThrottlingException$ = [
214
214
  -3,
215
215
  n0,
216
216
  _TE,
@@ -218,8 +218,8 @@ export var ThrottlingException = [
218
218
  [_m, _sC, _qC, _rAS],
219
219
  [0, 0, 0, [1, { [_hH]: _RA }]],
220
220
  ];
221
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
222
- export var UntagResourceInput = [
221
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
222
+ export var UntagResourceInput$ = [
223
223
  3,
224
224
  n0,
225
225
  _URI,
@@ -230,16 +230,16 @@ export var UntagResourceInput = [
230
230
  [64 | 0, { [_hQ]: _tK }],
231
231
  ],
232
232
  ];
233
- export var UpdateClusterInput = [
233
+ export var UpdateClusterInput$ = [
234
234
  3,
235
235
  n0,
236
236
  _UCI,
237
237
  0,
238
238
  [_i, _dPE, _kEK, _cT, _mRP],
239
- [[0, 1], 2, 0, [0, 4], () => MultiRegionProperties],
239
+ [[0, 1], 2, 0, [0, 4], () => MultiRegionProperties$],
240
240
  ];
241
- export var UpdateClusterOutput = [3, n0, _UCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
242
- export var ValidationException = [
241
+ export var UpdateClusterOutput$ = [3, n0, _UCO, 0, [_i, _a, _s, _cTr], [0, 0, 0, 4]];
242
+ export var ValidationException$ = [
243
243
  -3,
244
244
  n0,
245
245
  _VE,
@@ -247,109 +247,109 @@ export var ValidationException = [
247
247
  [_m, _r, _fL],
248
248
  [0, 0, () => ValidationExceptionFieldList],
249
249
  ];
250
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
251
- export var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
252
- export var __Unit = "unit";
253
- export var DSQLServiceException = [-3, _sm, "DSQLServiceException", 0, [], []];
254
- TypeRegistry.for(_sm).registerError(DSQLServiceException, __DSQLServiceException);
255
- export var ClusterArnList = 64 | 0;
256
- export var ClusterList = [1, n0, _CL, 0, () => ClusterSummary];
257
- export var TagKeyList = 64 | 0;
258
- export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
259
- export var TagMap = 128 | 0;
260
- export var CreateCluster = [
250
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
251
+ export var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
252
+ var __Unit = "unit";
253
+ export var DSQLServiceException$ = [-3, _sm, "DSQLServiceException", 0, [], []];
254
+ TypeRegistry.for(_sm).registerError(DSQLServiceException$, DSQLServiceException);
255
+ var ClusterArnList = 64 | 0;
256
+ var ClusterList = [1, n0, _CL, 0, () => ClusterSummary$];
257
+ var TagKeyList = 64 | 0;
258
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
259
+ var TagMap = 128 | 0;
260
+ export var CreateCluster$ = [
261
261
  9,
262
262
  n0,
263
263
  _CC,
264
264
  { [_h]: ["POST", "/cluster", 200] },
265
- () => CreateClusterInput,
266
- () => CreateClusterOutput,
265
+ () => CreateClusterInput$,
266
+ () => CreateClusterOutput$,
267
267
  ];
268
- export var DeleteCluster = [
268
+ export var DeleteCluster$ = [
269
269
  9,
270
270
  n0,
271
271
  _DC,
272
272
  { [_h]: ["DELETE", "/cluster/{identifier}", 200] },
273
- () => DeleteClusterInput,
274
- () => DeleteClusterOutput,
273
+ () => DeleteClusterInput$,
274
+ () => DeleteClusterOutput$,
275
275
  ];
276
- export var DeleteClusterPolicy = [
276
+ export var DeleteClusterPolicy$ = [
277
277
  9,
278
278
  n0,
279
279
  _DCP,
280
280
  { [_h]: ["DELETE", "/cluster/{identifier}/policy", 200] },
281
- () => DeleteClusterPolicyInput,
282
- () => DeleteClusterPolicyOutput,
281
+ () => DeleteClusterPolicyInput$,
282
+ () => DeleteClusterPolicyOutput$,
283
283
  ];
284
- export var GetCluster = [
284
+ export var GetCluster$ = [
285
285
  9,
286
286
  n0,
287
287
  _GC,
288
288
  { [_h]: ["GET", "/cluster/{identifier}", 200] },
289
- () => GetClusterInput,
290
- () => GetClusterOutput,
289
+ () => GetClusterInput$,
290
+ () => GetClusterOutput$,
291
291
  ];
292
- export var GetClusterPolicy = [
292
+ export var GetClusterPolicy$ = [
293
293
  9,
294
294
  n0,
295
295
  _GCP,
296
296
  { [_h]: ["GET", "/cluster/{identifier}/policy", 200] },
297
- () => GetClusterPolicyInput,
298
- () => GetClusterPolicyOutput,
297
+ () => GetClusterPolicyInput$,
298
+ () => GetClusterPolicyOutput$,
299
299
  ];
300
- export var GetVpcEndpointServiceName = [
300
+ export var GetVpcEndpointServiceName$ = [
301
301
  9,
302
302
  n0,
303
303
  _GVESN,
304
304
  { [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] },
305
- () => GetVpcEndpointServiceNameInput,
306
- () => GetVpcEndpointServiceNameOutput,
305
+ () => GetVpcEndpointServiceNameInput$,
306
+ () => GetVpcEndpointServiceNameOutput$,
307
307
  ];
308
- export var ListClusters = [
308
+ export var ListClusters$ = [
309
309
  9,
310
310
  n0,
311
311
  _LC,
312
312
  { [_h]: ["GET", "/cluster", 200] },
313
- () => ListClustersInput,
314
- () => ListClustersOutput,
313
+ () => ListClustersInput$,
314
+ () => ListClustersOutput$,
315
315
  ];
316
- export var ListTagsForResource = [
316
+ export var ListTagsForResource$ = [
317
317
  9,
318
318
  n0,
319
319
  _LTFR,
320
320
  { [_h]: ["GET", "/tags/{resourceArn}", 200] },
321
- () => ListTagsForResourceInput,
322
- () => ListTagsForResourceOutput,
321
+ () => ListTagsForResourceInput$,
322
+ () => ListTagsForResourceOutput$,
323
323
  ];
324
- export var PutClusterPolicy = [
324
+ export var PutClusterPolicy$ = [
325
325
  9,
326
326
  n0,
327
327
  _PCP,
328
328
  { [_h]: ["POST", "/cluster/{identifier}/policy", 200] },
329
- () => PutClusterPolicyInput,
330
- () => PutClusterPolicyOutput,
329
+ () => PutClusterPolicyInput$,
330
+ () => PutClusterPolicyOutput$,
331
331
  ];
332
- export var TagResource = [
332
+ export var TagResource$ = [
333
333
  9,
334
334
  n0,
335
335
  _TR,
336
336
  { [_h]: ["POST", "/tags/{resourceArn}", 200] },
337
- () => TagResourceInput,
337
+ () => TagResourceInput$,
338
338
  () => __Unit,
339
339
  ];
340
- export var UntagResource = [
340
+ export var UntagResource$ = [
341
341
  9,
342
342
  n0,
343
343
  _UR,
344
344
  { [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
345
- () => UntagResourceInput,
345
+ () => UntagResourceInput$,
346
346
  () => __Unit,
347
347
  ];
348
- export var UpdateCluster = [
348
+ export var UpdateCluster$ = [
349
349
  9,
350
350
  n0,
351
351
  _UC,
352
352
  { [_h]: ["POST", "/cluster/{identifier}", 200] },
353
- () => UpdateClusterInput,
354
- () => UpdateClusterOutput,
353
+ () => UpdateClusterInput$,
354
+ () => UpdateClusterOutput$,
355
355
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
11
11
  import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
@@ -153,15 +153,6 @@ 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>;
165
156
  /**
166
157
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
167
158
  */
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { DSQLExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export * from "./schemas/schemas_0";
12
13
  export * from "./pagination";
13
14
  export * from "./waiters";
14
15
  export * from "./models/enums";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  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;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { DSQLClientConfig } from "./DSQLClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DSQLHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;