@aws-sdk/client-rds-data 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.
@@ -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 { CommitTransaction } from "../schemas/schemas_0";
4
+ import { CommitTransaction$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CommitTransactionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CommitTransactionCommand extends $Command
11
11
  })
12
12
  .s("RdsDataService", "CommitTransaction", {})
13
13
  .n("RDSDataClient", "CommitTransactionCommand")
14
- .sc(CommitTransaction)
14
+ .sc(CommitTransaction$)
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 { ExecuteSql } from "../schemas/schemas_0";
4
+ import { ExecuteSql$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ExecuteSqlCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ExecuteSqlCommand extends $Command
11
11
  })
12
12
  .s("RdsDataService", "ExecuteSql", {})
13
13
  .n("RDSDataClient", "ExecuteSqlCommand")
14
- .sc(ExecuteSql)
14
+ .sc(ExecuteSql$)
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 { ExecuteStatement } from "../schemas/schemas_0";
4
+ import { ExecuteStatement$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ExecuteStatementCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ExecuteStatementCommand extends $Command
11
11
  })
12
12
  .s("RdsDataService", "ExecuteStatement", {})
13
13
  .n("RDSDataClient", "ExecuteStatementCommand")
14
- .sc(ExecuteStatement)
14
+ .sc(ExecuteStatement$)
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 { RollbackTransaction } from "../schemas/schemas_0";
4
+ import { RollbackTransaction$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RollbackTransactionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RollbackTransactionCommand extends $Command
11
11
  })
12
12
  .s("RdsDataService", "RollbackTransaction", {})
13
13
  .n("RDSDataClient", "RollbackTransactionCommand")
14
- .sc(RollbackTransaction)
14
+ .sc(RollbackTransaction$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./RDSDataClient";
2
2
  export * from "./RDSData";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { RDSDataServiceException } from "./models/RDSDataServiceException";
@@ -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.rdsdata" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.rdsdata",
29
+ version: "2018-08-01",
30
+ serviceTarget: "RdsDataService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "RDS Data",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -129,13 +129,13 @@ const _v = "values";
129
129
  const _va = "value";
130
130
  const n0 = "com.amazonaws.rdsdata";
131
131
  import { TypeRegistry } from "@smithy/core/schema";
132
- import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, DatabaseErrorException as __DatabaseErrorException, DatabaseNotFoundException as __DatabaseNotFoundException, DatabaseResumingException as __DatabaseResumingException, DatabaseUnavailableException as __DatabaseUnavailableException, ForbiddenException as __ForbiddenException, HttpEndpointNotEnabledException as __HttpEndpointNotEnabledException, InternalServerErrorException as __InternalServerErrorException, InvalidResourceStateException as __InvalidResourceStateException, InvalidSecretException as __InvalidSecretException, NotFoundException as __NotFoundException, SecretsErrorException as __SecretsErrorException, ServiceUnavailableError as __ServiceUnavailableError, StatementTimeoutException as __StatementTimeoutException, TransactionNotFoundException as __TransactionNotFoundException, UnsupportedResultException as __UnsupportedResultException, } from "../models/errors";
133
- import { RDSDataServiceException as __RDSDataServiceException } from "../models/RDSDataServiceException";
134
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
135
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
136
- export var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
137
- TypeRegistry.for(n0).registerError(BadRequestException, __BadRequestException);
138
- export var BatchExecuteStatementRequest = [
132
+ import { AccessDeniedException, BadRequestException, DatabaseErrorException, DatabaseNotFoundException, DatabaseResumingException, DatabaseUnavailableException, ForbiddenException, HttpEndpointNotEnabledException, InternalServerErrorException, InvalidResourceStateException, InvalidSecretException, NotFoundException, SecretsErrorException, ServiceUnavailableError, StatementTimeoutException, TransactionNotFoundException, UnsupportedResultException, } from "../models/errors";
133
+ import { RDSDataServiceException } from "../models/RDSDataServiceException";
134
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
135
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
136
+ export var BadRequestException$ = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
137
+ TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
138
+ export var BatchExecuteStatementRequest$ = [
139
139
  3,
140
140
  n0,
141
141
  _BESR,
@@ -143,10 +143,10 @@ export var BatchExecuteStatementRequest = [
143
143
  [_rA, _sA, _s, _d, _sc, _pS, _tI],
144
144
  [0, 0, 0, 0, 0, () => SqlParameterSets, 0],
145
145
  ];
146
- export var BatchExecuteStatementResponse = [3, n0, _BESRa, 0, [_uR], [() => UpdateResults]];
147
- export var BeginTransactionRequest = [3, n0, _BTR, 0, [_rA, _sA, _d, _sc], [0, 0, 0, 0]];
148
- export var BeginTransactionResponse = [3, n0, _BTRe, 0, [_tI], [0]];
149
- export var ColumnMetadata = [
146
+ export var BatchExecuteStatementResponse$ = [3, n0, _BESRa, 0, [_uR], [() => UpdateResults]];
147
+ export var BeginTransactionRequest$ = [3, n0, _BTR, 0, [_rA, _sA, _d, _sc], [0, 0, 0, 0]];
148
+ export var BeginTransactionResponse$ = [3, n0, _BTRe, 0, [_tI], [0]];
149
+ export var ColumnMetadata$ = [
150
150
  3,
151
151
  n0,
152
152
  _CM,
@@ -154,27 +154,27 @@ export var ColumnMetadata = [
154
154
  [_n, _t, _tN, _l, _sN, _tNa, _iAI, _iS, _iC, _iCS, _nu, _p, _sca, _aBCT],
155
155
  [0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1],
156
156
  ];
157
- export var CommitTransactionRequest = [3, n0, _CTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
158
- export var CommitTransactionResponse = [3, n0, _CTRo, 0, [_tS], [0]];
159
- export var DatabaseErrorException = [-3, n0, _DEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
160
- TypeRegistry.for(n0).registerError(DatabaseErrorException, __DatabaseErrorException);
161
- export var DatabaseNotFoundException = [-3, n0, _DNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
162
- TypeRegistry.for(n0).registerError(DatabaseNotFoundException, __DatabaseNotFoundException);
163
- export var DatabaseResumingException = [-3, n0, _DRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
164
- TypeRegistry.for(n0).registerError(DatabaseResumingException, __DatabaseResumingException);
165
- export var DatabaseUnavailableException = [-3, n0, _DUE, { [_e]: _se, [_hE]: 504 }, [], []];
166
- TypeRegistry.for(n0).registerError(DatabaseUnavailableException, __DatabaseUnavailableException);
167
- export var ExecuteSqlRequest = [3, n0, _ESR, 0, [_dCOIA, _aSSA, _sS, _d, _sc], [0, 0, 0, 0, 0]];
168
- export var ExecuteSqlResponse = [3, n0, _ESRx, 0, [_sSR], [() => SqlStatementResults]];
169
- export var ExecuteStatementRequest = [
157
+ export var CommitTransactionRequest$ = [3, n0, _CTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
158
+ export var CommitTransactionResponse$ = [3, n0, _CTRo, 0, [_tS], [0]];
159
+ export var DatabaseErrorException$ = [-3, n0, _DEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
160
+ TypeRegistry.for(n0).registerError(DatabaseErrorException$, DatabaseErrorException);
161
+ export var DatabaseNotFoundException$ = [-3, n0, _DNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
162
+ TypeRegistry.for(n0).registerError(DatabaseNotFoundException$, DatabaseNotFoundException);
163
+ export var DatabaseResumingException$ = [-3, n0, _DRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
164
+ TypeRegistry.for(n0).registerError(DatabaseResumingException$, DatabaseResumingException);
165
+ export var DatabaseUnavailableException$ = [-3, n0, _DUE, { [_e]: _se, [_hE]: 504 }, [], []];
166
+ TypeRegistry.for(n0).registerError(DatabaseUnavailableException$, DatabaseUnavailableException);
167
+ export var ExecuteSqlRequest$ = [3, n0, _ESR, 0, [_dCOIA, _aSSA, _sS, _d, _sc], [0, 0, 0, 0, 0]];
168
+ export var ExecuteSqlResponse$ = [3, n0, _ESRx, 0, [_sSR], [() => SqlStatementResults]];
169
+ export var ExecuteStatementRequest$ = [
170
170
  3,
171
171
  n0,
172
172
  _ESRxe,
173
173
  0,
174
174
  [_rA, _sA, _s, _d, _sc, _pa, _tI, _iRM, _cAT, _rSO, _fRA],
175
- [0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions, 0],
175
+ [0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions$, 0],
176
176
  ];
177
- export var ExecuteStatementResponse = [
177
+ export var ExecuteStatementResponse$ = [
178
178
  3,
179
179
  n0,
180
180
  _ESRxec,
@@ -182,56 +182,56 @@ export var ExecuteStatementResponse = [
182
182
  [_r, _cM, _nORU, _gF, _fR],
183
183
  [() => SqlRecords, () => Metadata, 1, () => FieldList, 0],
184
184
  ];
185
- export var ForbiddenException = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
186
- TypeRegistry.for(n0).registerError(ForbiddenException, __ForbiddenException);
187
- export var HttpEndpointNotEnabledException = [-3, n0, _HENEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
188
- TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException, __HttpEndpointNotEnabledException);
189
- export var InternalServerErrorException = [-3, n0, _ISEE, { [_e]: _se, [_hE]: 500 }, [], []];
190
- TypeRegistry.for(n0).registerError(InternalServerErrorException, __InternalServerErrorException);
191
- export var InvalidResourceStateException = [-3, n0, _IRSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
192
- TypeRegistry.for(n0).registerError(InvalidResourceStateException, __InvalidResourceStateException);
193
- export var InvalidSecretException = [-3, n0, _ISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
194
- TypeRegistry.for(n0).registerError(InvalidSecretException, __InvalidSecretException);
195
- export var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
196
- TypeRegistry.for(n0).registerError(NotFoundException, __NotFoundException);
197
- export var _Record = [3, n0, _R, 0, [_v], [() => Row]];
198
- export var ResultFrame = [3, n0, _RF, 0, [_rSM, _r], [() => ResultSetMetadata, () => Records]];
199
- export var ResultSetMetadata = [3, n0, _RSM, 0, [_cC, _cM], [1, () => Metadata]];
200
- export var ResultSetOptions = [3, n0, _RSO, 0, [_dRT, _lRT], [0, 0]];
201
- export var RollbackTransactionRequest = [3, n0, _RTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
202
- export var RollbackTransactionResponse = [3, n0, _RTRo, 0, [_tS], [0]];
203
- export var SecretsErrorException = [-3, n0, _SEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
204
- TypeRegistry.for(n0).registerError(SecretsErrorException, __SecretsErrorException);
205
- export var ServiceUnavailableError = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [], []];
206
- TypeRegistry.for(n0).registerError(ServiceUnavailableError, __ServiceUnavailableError);
207
- export var SqlParameter = [3, n0, _SP, 0, [_n, _va, _tH], [0, () => Field, 0]];
208
- export var SqlStatementResult = [3, n0, _SSR, 0, [_rF, _nORU], [() => ResultFrame, 1]];
209
- export var StatementTimeoutException = [-3, n0, _STE, { [_e]: _c, [_hE]: 400 }, [_m, _dCI], [0, 1]];
210
- TypeRegistry.for(n0).registerError(StatementTimeoutException, __StatementTimeoutException);
211
- export var StructValue = [3, n0, _SV, 0, [_a], [() => ArrayValueList]];
212
- export var TransactionNotFoundException = [-3, n0, _TNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
213
- TypeRegistry.for(n0).registerError(TransactionNotFoundException, __TransactionNotFoundException);
214
- export var UnsupportedResultException = [-3, n0, _URE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
215
- TypeRegistry.for(n0).registerError(UnsupportedResultException, __UnsupportedResultException);
216
- export var UpdateResult = [3, n0, _UR, 0, [_gF], [() => FieldList]];
217
- export var RDSDataServiceException = [-3, _sm, "RDSDataServiceException", 0, [], []];
218
- TypeRegistry.for(_sm).registerError(RDSDataServiceException, __RDSDataServiceException);
219
- export var ArrayOfArray = [1, n0, _AOA, 0, () => ArrayValue];
220
- export var ArrayValueList = [1, n0, _AVL, 0, () => Value];
221
- export var BooleanArray = 64 | 2;
222
- export var DoubleArray = 64 | 1;
223
- export var FieldList = [1, n0, _FL, 0, () => Field];
224
- export var LongArray = 64 | 1;
225
- export var Metadata = [1, n0, _M, 0, () => ColumnMetadata];
226
- export var Records = [1, n0, _Re, 0, () => _Record];
227
- export var Row = [1, n0, _Ro, 0, () => Value];
228
- export var SqlParameterSets = [1, n0, _SPS, 0, () => SqlParametersList];
229
- export var SqlParametersList = [1, n0, _SPL, 0, () => SqlParameter];
230
- export var SqlRecords = [1, n0, _SR, 0, () => FieldList];
231
- export var SqlStatementResults = [1, n0, _SSRq, 0, () => SqlStatementResult];
232
- export var StringArray = 64 | 0;
233
- export var UpdateResults = [1, n0, _URp, 0, () => UpdateResult];
234
- export var ArrayValue = [
185
+ export var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
186
+ TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
187
+ export var HttpEndpointNotEnabledException$ = [-3, n0, _HENEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
188
+ TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException$, HttpEndpointNotEnabledException);
189
+ export var InternalServerErrorException$ = [-3, n0, _ISEE, { [_e]: _se, [_hE]: 500 }, [], []];
190
+ TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
191
+ export var InvalidResourceStateException$ = [-3, n0, _IRSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
192
+ TypeRegistry.for(n0).registerError(InvalidResourceStateException$, InvalidResourceStateException);
193
+ export var InvalidSecretException$ = [-3, n0, _ISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
194
+ TypeRegistry.for(n0).registerError(InvalidSecretException$, InvalidSecretException);
195
+ export var NotFoundException$ = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
196
+ TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
197
+ export var _Record$ = [3, n0, _R, 0, [_v], [() => Row]];
198
+ export var ResultFrame$ = [3, n0, _RF, 0, [_rSM, _r], [() => ResultSetMetadata$, () => Records]];
199
+ export var ResultSetMetadata$ = [3, n0, _RSM, 0, [_cC, _cM], [1, () => Metadata]];
200
+ export var ResultSetOptions$ = [3, n0, _RSO, 0, [_dRT, _lRT], [0, 0]];
201
+ export var RollbackTransactionRequest$ = [3, n0, _RTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
202
+ export var RollbackTransactionResponse$ = [3, n0, _RTRo, 0, [_tS], [0]];
203
+ export var SecretsErrorException$ = [-3, n0, _SEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
204
+ TypeRegistry.for(n0).registerError(SecretsErrorException$, SecretsErrorException);
205
+ export var ServiceUnavailableError$ = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [], []];
206
+ TypeRegistry.for(n0).registerError(ServiceUnavailableError$, ServiceUnavailableError);
207
+ export var SqlParameter$ = [3, n0, _SP, 0, [_n, _va, _tH], [0, () => Field$, 0]];
208
+ export var SqlStatementResult$ = [3, n0, _SSR, 0, [_rF, _nORU], [() => ResultFrame$, 1]];
209
+ export var StatementTimeoutException$ = [-3, n0, _STE, { [_e]: _c, [_hE]: 400 }, [_m, _dCI], [0, 1]];
210
+ TypeRegistry.for(n0).registerError(StatementTimeoutException$, StatementTimeoutException);
211
+ export var StructValue$ = [3, n0, _SV, 0, [_a], [() => ArrayValueList]];
212
+ export var TransactionNotFoundException$ = [-3, n0, _TNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
213
+ TypeRegistry.for(n0).registerError(TransactionNotFoundException$, TransactionNotFoundException);
214
+ export var UnsupportedResultException$ = [-3, n0, _URE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
215
+ TypeRegistry.for(n0).registerError(UnsupportedResultException$, UnsupportedResultException);
216
+ export var UpdateResult$ = [3, n0, _UR, 0, [_gF], [() => FieldList]];
217
+ export var RDSDataServiceException$ = [-3, _sm, "RDSDataServiceException", 0, [], []];
218
+ TypeRegistry.for(_sm).registerError(RDSDataServiceException$, RDSDataServiceException);
219
+ var ArrayOfArray = [1, n0, _AOA, 0, () => ArrayValue$];
220
+ var ArrayValueList = [1, n0, _AVL, 0, () => Value$];
221
+ var BooleanArray = 64 | 2;
222
+ var DoubleArray = 64 | 1;
223
+ var FieldList = [1, n0, _FL, 0, () => Field$];
224
+ var LongArray = 64 | 1;
225
+ var Metadata = [1, n0, _M, 0, () => ColumnMetadata$];
226
+ var Records = [1, n0, _Re, 0, () => _Record$];
227
+ var Row = [1, n0, _Ro, 0, () => Value$];
228
+ var SqlParameterSets = [1, n0, _SPS, 0, () => SqlParametersList];
229
+ var SqlParametersList = [1, n0, _SPL, 0, () => SqlParameter$];
230
+ var SqlRecords = [1, n0, _SR, 0, () => FieldList];
231
+ var SqlStatementResults = [1, n0, _SSRq, 0, () => SqlStatementResult$];
232
+ var StringArray = 64 | 0;
233
+ var UpdateResults = [1, n0, _URp, 0, () => UpdateResult$];
234
+ export var ArrayValue$ = [
235
235
  3,
236
236
  n0,
237
237
  _AV,
@@ -239,67 +239,67 @@ export var ArrayValue = [
239
239
  [_bV, _lV, _dV, _sV, _aV],
240
240
  [64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray],
241
241
  ];
242
- export var Field = [
242
+ export var Field$ = [
243
243
  3,
244
244
  n0,
245
245
  _F,
246
246
  0,
247
247
  [_iN, _bVo, _lVo, _dVo, _sVt, _bVl, _aVr],
248
- [2, 2, 1, 1, 0, 21, () => ArrayValue],
248
+ [2, 2, 1, 1, 0, 21, () => ArrayValue$],
249
249
  ];
250
- export var Value = [
250
+ export var Value$ = [
251
251
  3,
252
252
  n0,
253
253
  _V,
254
254
  0,
255
255
  [_iN, _bVi, _bIV, _iV, _dVo, _rV, _sVt, _bVl, _aV, _sVtr],
256
- [2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue],
256
+ [2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue$],
257
257
  ];
258
- export var BatchExecuteStatement = [
258
+ export var BatchExecuteStatement$ = [
259
259
  9,
260
260
  n0,
261
261
  _BES,
262
262
  { [_h]: ["POST", "/BatchExecute", 200] },
263
- () => BatchExecuteStatementRequest,
264
- () => BatchExecuteStatementResponse,
263
+ () => BatchExecuteStatementRequest$,
264
+ () => BatchExecuteStatementResponse$,
265
265
  ];
266
- export var BeginTransaction = [
266
+ export var BeginTransaction$ = [
267
267
  9,
268
268
  n0,
269
269
  _BT,
270
270
  { [_h]: ["POST", "/BeginTransaction", 200] },
271
- () => BeginTransactionRequest,
272
- () => BeginTransactionResponse,
271
+ () => BeginTransactionRequest$,
272
+ () => BeginTransactionResponse$,
273
273
  ];
274
- export var CommitTransaction = [
274
+ export var CommitTransaction$ = [
275
275
  9,
276
276
  n0,
277
277
  _CT,
278
278
  { [_h]: ["POST", "/CommitTransaction", 200] },
279
- () => CommitTransactionRequest,
280
- () => CommitTransactionResponse,
279
+ () => CommitTransactionRequest$,
280
+ () => CommitTransactionResponse$,
281
281
  ];
282
- export var ExecuteSql = [
282
+ export var ExecuteSql$ = [
283
283
  9,
284
284
  n0,
285
285
  _ES,
286
286
  { [_h]: ["POST", "/ExecuteSql", 200] },
287
- () => ExecuteSqlRequest,
288
- () => ExecuteSqlResponse,
287
+ () => ExecuteSqlRequest$,
288
+ () => ExecuteSqlResponse$,
289
289
  ];
290
- export var ExecuteStatement = [
290
+ export var ExecuteStatement$ = [
291
291
  9,
292
292
  n0,
293
293
  _ESx,
294
294
  { [_h]: ["POST", "/Execute", 200] },
295
- () => ExecuteStatementRequest,
296
- () => ExecuteStatementResponse,
295
+ () => ExecuteStatementRequest$,
296
+ () => ExecuteStatementResponse$,
297
297
  ];
298
- export var RollbackTransaction = [
298
+ export var RollbackTransaction$ = [
299
299
  9,
300
300
  n0,
301
301
  _RT,
302
302
  { [_h]: ["POST", "/RollbackTransaction", 200] },
303
- () => RollbackTransactionRequest,
304
- () => RollbackTransactionResponse,
303
+ () => RollbackTransactionRequest$,
304
+ () => RollbackTransactionResponse$,
305
305
  ];
@@ -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 { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
11
11
  import { BeginTransactionCommandInput, BeginTransactionCommandOutput } from "./commands/BeginTransactionCommand";
@@ -147,15 +147,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
147
147
  * Optional extensions
148
148
  */
149
149
  extensions?: RuntimeExtension[];
150
- /**
151
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
152
- * may be overridden. A default will always be set by the client.
153
- * Available options depend on the service's supported protocols and will not be validated by
154
- * the client.
155
- * @alpha
156
- *
157
- */
158
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
159
150
  /**
160
151
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
161
152
  */
@@ -23,6 +23,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
23
23
  export type { RuntimeExtension } from "./runtimeExtensions";
24
24
  export type { RDSDataExtensionConfiguration } from "./extensionConfiguration";
25
25
  export * from "./commands";
26
+ export * from "./schemas/schemas_0";
26
27
  export * from "./models/enums";
27
28
  export * from "./models/errors";
28
29
  export type * from "./models/models_0";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
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: RDSDataClientConfig) => {
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: RDSDataClientConfig) => {
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: RDSDataClientConfig) => {
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: RDSDataClientConfig) => {
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: RDSDataClientConfig) => {
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 { RDSDataClientConfig } from "./RDSDataClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RDSDataHttpAuthSchemeProvider;
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;
@@ -1,64 +1,49 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AccessDeniedException: StaticErrorSchema;
3
- export declare var BadRequestException: StaticErrorSchema;
4
- export declare var BatchExecuteStatementRequest: StaticStructureSchema;
5
- export declare var BatchExecuteStatementResponse: StaticStructureSchema;
6
- export declare var BeginTransactionRequest: StaticStructureSchema;
7
- export declare var BeginTransactionResponse: StaticStructureSchema;
8
- export declare var ColumnMetadata: StaticStructureSchema;
9
- export declare var CommitTransactionRequest: StaticStructureSchema;
10
- export declare var CommitTransactionResponse: StaticStructureSchema;
11
- export declare var DatabaseErrorException: StaticErrorSchema;
12
- export declare var DatabaseNotFoundException: StaticErrorSchema;
13
- export declare var DatabaseResumingException: StaticErrorSchema;
14
- export declare var DatabaseUnavailableException: StaticErrorSchema;
15
- export declare var ExecuteSqlRequest: StaticStructureSchema;
16
- export declare var ExecuteSqlResponse: StaticStructureSchema;
17
- export declare var ExecuteStatementRequest: StaticStructureSchema;
18
- export declare var ExecuteStatementResponse: StaticStructureSchema;
19
- export declare var ForbiddenException: StaticErrorSchema;
20
- export declare var HttpEndpointNotEnabledException: StaticErrorSchema;
21
- export declare var InternalServerErrorException: StaticErrorSchema;
22
- export declare var InvalidResourceStateException: StaticErrorSchema;
23
- export declare var InvalidSecretException: StaticErrorSchema;
24
- export declare var NotFoundException: StaticErrorSchema;
25
- export declare var _Record: StaticStructureSchema;
26
- export declare var ResultFrame: StaticStructureSchema;
27
- export declare var ResultSetMetadata: StaticStructureSchema;
28
- export declare var ResultSetOptions: StaticStructureSchema;
29
- export declare var RollbackTransactionRequest: StaticStructureSchema;
30
- export declare var RollbackTransactionResponse: StaticStructureSchema;
31
- export declare var SecretsErrorException: StaticErrorSchema;
32
- export declare var ServiceUnavailableError: StaticErrorSchema;
33
- export declare var SqlParameter: StaticStructureSchema;
34
- export declare var SqlStatementResult: StaticStructureSchema;
35
- export declare var StatementTimeoutException: StaticErrorSchema;
36
- export declare var StructValue: StaticStructureSchema;
37
- export declare var TransactionNotFoundException: StaticErrorSchema;
38
- export declare var UnsupportedResultException: StaticErrorSchema;
39
- export declare var UpdateResult: StaticStructureSchema;
40
- export declare var RDSDataServiceException: StaticErrorSchema;
41
- export declare var ArrayOfArray: StaticListSchema;
42
- export declare var ArrayValueList: StaticListSchema;
43
- export declare var BooleanArray: number;
44
- export declare var DoubleArray: number;
45
- export declare var FieldList: StaticListSchema;
46
- export declare var LongArray: number;
47
- export declare var Metadata: StaticListSchema;
48
- export declare var Records: StaticListSchema;
49
- export declare var Row: StaticListSchema;
50
- export declare var SqlParameterSets: StaticListSchema;
51
- export declare var SqlParametersList: StaticListSchema;
52
- export declare var SqlRecords: StaticListSchema;
53
- export declare var SqlStatementResults: StaticListSchema;
54
- export declare var StringArray: number;
55
- export declare var UpdateResults: StaticListSchema;
56
- export declare var ArrayValue: StaticStructureSchema;
57
- export declare var Field: StaticStructureSchema;
58
- export declare var Value: StaticStructureSchema;
59
- export declare var BatchExecuteStatement: StaticOperationSchema;
60
- export declare var BeginTransaction: StaticOperationSchema;
61
- export declare var CommitTransaction: StaticOperationSchema;
62
- export declare var ExecuteSql: StaticOperationSchema;
63
- export declare var ExecuteStatement: StaticOperationSchema;
64
- export declare var RollbackTransaction: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var BadRequestException$: StaticErrorSchema;
4
+ export declare var BatchExecuteStatementRequest$: StaticStructureSchema;
5
+ export declare var BatchExecuteStatementResponse$: StaticStructureSchema;
6
+ export declare var BeginTransactionRequest$: StaticStructureSchema;
7
+ export declare var BeginTransactionResponse$: StaticStructureSchema;
8
+ export declare var ColumnMetadata$: StaticStructureSchema;
9
+ export declare var CommitTransactionRequest$: StaticStructureSchema;
10
+ export declare var CommitTransactionResponse$: StaticStructureSchema;
11
+ export declare var DatabaseErrorException$: StaticErrorSchema;
12
+ export declare var DatabaseNotFoundException$: StaticErrorSchema;
13
+ export declare var DatabaseResumingException$: StaticErrorSchema;
14
+ export declare var DatabaseUnavailableException$: StaticErrorSchema;
15
+ export declare var ExecuteSqlRequest$: StaticStructureSchema;
16
+ export declare var ExecuteSqlResponse$: StaticStructureSchema;
17
+ export declare var ExecuteStatementRequest$: StaticStructureSchema;
18
+ export declare var ExecuteStatementResponse$: StaticStructureSchema;
19
+ export declare var ForbiddenException$: StaticErrorSchema;
20
+ export declare var HttpEndpointNotEnabledException$: StaticErrorSchema;
21
+ export declare var InternalServerErrorException$: StaticErrorSchema;
22
+ export declare var InvalidResourceStateException$: StaticErrorSchema;
23
+ export declare var InvalidSecretException$: StaticErrorSchema;
24
+ export declare var NotFoundException$: StaticErrorSchema;
25
+ export declare var _Record$: StaticStructureSchema;
26
+ export declare var ResultFrame$: StaticStructureSchema;
27
+ export declare var ResultSetMetadata$: StaticStructureSchema;
28
+ export declare var ResultSetOptions$: StaticStructureSchema;
29
+ export declare var RollbackTransactionRequest$: StaticStructureSchema;
30
+ export declare var RollbackTransactionResponse$: StaticStructureSchema;
31
+ export declare var SecretsErrorException$: StaticErrorSchema;
32
+ export declare var ServiceUnavailableError$: StaticErrorSchema;
33
+ export declare var SqlParameter$: StaticStructureSchema;
34
+ export declare var SqlStatementResult$: StaticStructureSchema;
35
+ export declare var StatementTimeoutException$: StaticErrorSchema;
36
+ export declare var StructValue$: StaticStructureSchema;
37
+ export declare var TransactionNotFoundException$: StaticErrorSchema;
38
+ export declare var UnsupportedResultException$: StaticErrorSchema;
39
+ export declare var UpdateResult$: StaticStructureSchema;
40
+ export declare var RDSDataServiceException$: StaticErrorSchema;
41
+ export declare var ArrayValue$: StaticStructureSchema;
42
+ export declare var Field$: StaticStructureSchema;
43
+ export declare var Value$: StaticStructureSchema;
44
+ export declare var BatchExecuteStatement$: StaticOperationSchema;
45
+ export declare var BeginTransaction$: StaticOperationSchema;
46
+ export declare var CommitTransaction$: StaticOperationSchema;
47
+ export declare var ExecuteSql$: StaticOperationSchema;
48
+ export declare var ExecuteStatement$: StaticOperationSchema;
49
+ export declare var RollbackTransaction$: StaticOperationSchema;