@aws-sdk/client-rds-data 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rdsdata" }),
28
30
  serviceId: config?.serviceId ?? "RDS Data",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class RDSDataClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchExecuteStatementCommand, se_BatchExecuteStatementCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchExecuteStatement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchExecuteStatementCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RdsDataService", "BatchExecuteStatement", {})
17
13
  .n("RDSDataClient", "BatchExecuteStatementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchExecuteStatementCommand)
20
- .de(de_BatchExecuteStatementCommand)
14
+ .sc(BatchExecuteStatement)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BeginTransactionCommand, se_BeginTransactionCommand } from "../protocols/Aws_restJson1";
4
+ import { BeginTransaction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BeginTransactionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RdsDataService", "BeginTransaction", {})
17
13
  .n("RDSDataClient", "BeginTransactionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BeginTransactionCommand)
20
- .de(de_BeginTransactionCommand)
14
+ .sc(BeginTransaction)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CommitTransactionCommand, se_CommitTransactionCommand } from "../protocols/Aws_restJson1";
4
+ import { CommitTransaction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CommitTransactionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RdsDataService", "CommitTransaction", {})
17
13
  .n("RDSDataClient", "CommitTransactionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CommitTransactionCommand)
20
- .de(de_CommitTransactionCommand)
14
+ .sc(CommitTransaction)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ExecuteSqlCommand, se_ExecuteSqlCommand } from "../protocols/Aws_restJson1";
4
+ import { ExecuteSql } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExecuteSqlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RdsDataService", "ExecuteSql", {})
17
13
  .n("RDSDataClient", "ExecuteSqlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExecuteSqlCommand)
20
- .de(de_ExecuteSqlCommand)
14
+ .sc(ExecuteSql)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ExecuteStatementCommand, se_ExecuteStatementCommand } from "../protocols/Aws_restJson1";
4
+ import { ExecuteStatement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExecuteStatementCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RdsDataService", "ExecuteStatement", {})
17
13
  .n("RDSDataClient", "ExecuteStatementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExecuteStatementCommand)
20
- .de(de_ExecuteStatementCommand)
14
+ .sc(ExecuteStatement)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RollbackTransactionCommand, se_RollbackTransactionCommand } from "../protocols/Aws_restJson1";
4
+ import { RollbackTransaction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RollbackTransactionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("RdsDataService", "RollbackTransaction", {})
17
13
  .n("RDSDataClient", "RollbackTransactionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RollbackTransactionCommand)
20
- .de(de_RollbackTransactionCommand)
14
+ .sc(RollbackTransaction)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rdsdata" }),
25
27
  serviceId: config?.serviceId ?? "RDS Data",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -0,0 +1,487 @@
1
+ const _ADE = "AccessDeniedException";
2
+ const _AOA = "ArrayOfArray";
3
+ const _AV = "ArrayValue";
4
+ const _AVL = "ArrayValueList";
5
+ const _BES = "BatchExecuteStatement";
6
+ const _BESR = "BatchExecuteStatementRequest";
7
+ const _BESRa = "BatchExecuteStatementResponse";
8
+ const _BRE = "BadRequestException";
9
+ const _BT = "BeginTransaction";
10
+ const _BTR = "BeginTransactionRequest";
11
+ const _BTRe = "BeginTransactionResponse";
12
+ const _CM = "ColumnMetadata";
13
+ const _CT = "CommitTransaction";
14
+ const _CTR = "CommitTransactionRequest";
15
+ const _CTRo = "CommitTransactionResponse";
16
+ const _DEE = "DatabaseErrorException";
17
+ const _DNFE = "DatabaseNotFoundException";
18
+ const _DRE = "DatabaseResumingException";
19
+ const _DUE = "DatabaseUnavailableException";
20
+ const _ES = "ExecuteSql";
21
+ const _ESR = "ExecuteSqlRequest";
22
+ const _ESRx = "ExecuteSqlResponse";
23
+ const _ESRxe = "ExecuteStatementRequest";
24
+ const _ESRxec = "ExecuteStatementResponse";
25
+ const _ESx = "ExecuteStatement";
26
+ const _F = "Field";
27
+ const _FE = "ForbiddenException";
28
+ const _FL = "FieldList";
29
+ const _HENEE = "HttpEndpointNotEnabledException";
30
+ const _IRSE = "InvalidResourceStateException";
31
+ const _ISE = "InvalidSecretException";
32
+ const _ISEE = "InternalServerErrorException";
33
+ const _M = "Metadata";
34
+ const _NFE = "NotFoundException";
35
+ const _R = "Record";
36
+ const _RF = "ResultFrame";
37
+ const _RSM = "ResultSetMetadata";
38
+ const _RSO = "ResultSetOptions";
39
+ const _RT = "RollbackTransaction";
40
+ const _RTR = "RollbackTransactionRequest";
41
+ const _RTRo = "RollbackTransactionResponse";
42
+ const _Re = "Records";
43
+ const _Ro = "Row";
44
+ const _SEE = "SecretsErrorException";
45
+ const _SP = "SqlParameter";
46
+ const _SPL = "SqlParametersList";
47
+ const _SPS = "SqlParameterSets";
48
+ const _SR = "SqlRecords";
49
+ const _SSR = "SqlStatementResult";
50
+ const _SSRq = "SqlStatementResults";
51
+ const _STE = "StatementTimeoutException";
52
+ const _SUE = "ServiceUnavailableError";
53
+ const _SV = "StructValue";
54
+ const _TNFE = "TransactionNotFoundException";
55
+ const _UR = "UpdateResult";
56
+ const _URE = "UnsupportedResultException";
57
+ const _URp = "UpdateResults";
58
+ const _V = "Value";
59
+ const _a = "attributes";
60
+ const _aBCT = "arrayBaseColumnType";
61
+ const _aSSA = "awsSecretStoreArn";
62
+ const _aV = "arrayValues";
63
+ const _aVr = "arrayValue";
64
+ const _bIV = "bigIntValue";
65
+ const _bV = "booleanValues";
66
+ const _bVi = "bitValue";
67
+ const _bVl = "blobValue";
68
+ const _bVo = "booleanValue";
69
+ const _c = "client";
70
+ const _cAT = "continueAfterTimeout";
71
+ const _cC = "columnCount";
72
+ const _cM = "columnMetadata";
73
+ const _d = "database";
74
+ const _dCI = "dbConnectionId";
75
+ const _dCOIA = "dbClusterOrInstanceArn";
76
+ const _dRT = "decimalReturnType";
77
+ const _dV = "doubleValues";
78
+ const _dVo = "doubleValue";
79
+ const _e = "error";
80
+ const _fR = "formattedRecords";
81
+ const _fRA = "formatRecordsAs";
82
+ const _gF = "generatedFields";
83
+ const _h = "http";
84
+ const _hE = "httpError";
85
+ const _iAI = "isAutoIncrement";
86
+ const _iC = "isCurrency";
87
+ const _iCS = "isCaseSensitive";
88
+ const _iN = "isNull";
89
+ const _iRM = "includeResultMetadata";
90
+ const _iS = "isSigned";
91
+ const _iV = "intValue";
92
+ const _l = "label";
93
+ const _lRT = "longReturnType";
94
+ const _lV = "longValues";
95
+ const _lVo = "longValue";
96
+ const _m = "message";
97
+ const _n = "name";
98
+ const _nORU = "numberOfRecordsUpdated";
99
+ const _nu = "nullable";
100
+ const _p = "precision";
101
+ const _pS = "parameterSets";
102
+ const _pa = "parameters";
103
+ const _r = "records";
104
+ const _rA = "resourceArn";
105
+ const _rF = "resultFrame";
106
+ const _rSM = "resultSetMetadata";
107
+ const _rSO = "resultSetOptions";
108
+ const _rV = "realValue";
109
+ const _s = "sql";
110
+ const _sA = "secretArn";
111
+ const _sN = "schemaName";
112
+ const _sS = "sqlStatements";
113
+ const _sSR = "sqlStatementResults";
114
+ const _sV = "stringValues";
115
+ const _sVt = "stringValue";
116
+ const _sVtr = "structValue";
117
+ const _sc = "schema";
118
+ const _sca = "scale";
119
+ const _se = "server";
120
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rdsdata";
121
+ const _t = "type";
122
+ const _tH = "typeHint";
123
+ const _tI = "transactionId";
124
+ const _tN = "typeName";
125
+ const _tNa = "tableName";
126
+ const _tS = "transactionStatus";
127
+ const _uR = "updateResults";
128
+ const _v = "values";
129
+ const _va = "value";
130
+ const n0 = "com.amazonaws.rdsdata";
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/index";
133
+ import { RDSDataServiceException as __RDSDataServiceException } from "../models/RDSDataServiceException";
134
+ export var AccessDeniedException = [
135
+ -3,
136
+ n0,
137
+ _ADE,
138
+ {
139
+ [_e]: _c,
140
+ [_hE]: 403,
141
+ },
142
+ [_m],
143
+ [0],
144
+ ];
145
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
146
+ export var BadRequestException = [
147
+ -3,
148
+ n0,
149
+ _BRE,
150
+ {
151
+ [_e]: _c,
152
+ [_hE]: 400,
153
+ },
154
+ [_m],
155
+ [0],
156
+ ];
157
+ TypeRegistry.for(n0).registerError(BadRequestException, __BadRequestException);
158
+ export var BatchExecuteStatementRequest = [
159
+ 3,
160
+ n0,
161
+ _BESR,
162
+ 0,
163
+ [_rA, _sA, _s, _d, _sc, _pS, _tI],
164
+ [0, 0, 0, 0, 0, () => SqlParameterSets, 0],
165
+ ];
166
+ export var BatchExecuteStatementResponse = [3, n0, _BESRa, 0, [_uR], [() => UpdateResults]];
167
+ export var BeginTransactionRequest = [3, n0, _BTR, 0, [_rA, _sA, _d, _sc], [0, 0, 0, 0]];
168
+ export var BeginTransactionResponse = [3, n0, _BTRe, 0, [_tI], [0]];
169
+ export var ColumnMetadata = [
170
+ 3,
171
+ n0,
172
+ _CM,
173
+ 0,
174
+ [_n, _t, _tN, _l, _sN, _tNa, _iAI, _iS, _iC, _iCS, _nu, _p, _sca, _aBCT],
175
+ [0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1],
176
+ ];
177
+ export var CommitTransactionRequest = [3, n0, _CTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
178
+ export var CommitTransactionResponse = [3, n0, _CTRo, 0, [_tS], [0]];
179
+ export var DatabaseErrorException = [
180
+ -3,
181
+ n0,
182
+ _DEE,
183
+ {
184
+ [_e]: _c,
185
+ [_hE]: 400,
186
+ },
187
+ [_m],
188
+ [0],
189
+ ];
190
+ TypeRegistry.for(n0).registerError(DatabaseErrorException, __DatabaseErrorException);
191
+ export var DatabaseNotFoundException = [
192
+ -3,
193
+ n0,
194
+ _DNFE,
195
+ {
196
+ [_e]: _c,
197
+ [_hE]: 404,
198
+ },
199
+ [_m],
200
+ [0],
201
+ ];
202
+ TypeRegistry.for(n0).registerError(DatabaseNotFoundException, __DatabaseNotFoundException);
203
+ export var DatabaseResumingException = [
204
+ -3,
205
+ n0,
206
+ _DRE,
207
+ {
208
+ [_e]: _c,
209
+ [_hE]: 400,
210
+ },
211
+ [_m],
212
+ [0],
213
+ ];
214
+ TypeRegistry.for(n0).registerError(DatabaseResumingException, __DatabaseResumingException);
215
+ export var DatabaseUnavailableException = [
216
+ -3,
217
+ n0,
218
+ _DUE,
219
+ {
220
+ [_e]: _se,
221
+ [_hE]: 504,
222
+ },
223
+ [],
224
+ [],
225
+ ];
226
+ TypeRegistry.for(n0).registerError(DatabaseUnavailableException, __DatabaseUnavailableException);
227
+ export var ExecuteSqlRequest = [3, n0, _ESR, 0, [_dCOIA, _aSSA, _sS, _d, _sc], [0, 0, 0, 0, 0]];
228
+ export var ExecuteSqlResponse = [3, n0, _ESRx, 0, [_sSR], [() => SqlStatementResults]];
229
+ export var ExecuteStatementRequest = [
230
+ 3,
231
+ n0,
232
+ _ESRxe,
233
+ 0,
234
+ [_rA, _sA, _s, _d, _sc, _pa, _tI, _iRM, _cAT, _rSO, _fRA],
235
+ [0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions, 0],
236
+ ];
237
+ export var ExecuteStatementResponse = [
238
+ 3,
239
+ n0,
240
+ _ESRxec,
241
+ 0,
242
+ [_r, _cM, _nORU, _gF, _fR],
243
+ [() => SqlRecords, () => Metadata, 1, () => FieldList, 0],
244
+ ];
245
+ export var ForbiddenException = [
246
+ -3,
247
+ n0,
248
+ _FE,
249
+ {
250
+ [_e]: _c,
251
+ [_hE]: 403,
252
+ },
253
+ [_m],
254
+ [0],
255
+ ];
256
+ TypeRegistry.for(n0).registerError(ForbiddenException, __ForbiddenException);
257
+ export var HttpEndpointNotEnabledException = [
258
+ -3,
259
+ n0,
260
+ _HENEE,
261
+ {
262
+ [_e]: _c,
263
+ [_hE]: 400,
264
+ },
265
+ [_m],
266
+ [0],
267
+ ];
268
+ TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException, __HttpEndpointNotEnabledException);
269
+ export var InternalServerErrorException = [
270
+ -3,
271
+ n0,
272
+ _ISEE,
273
+ {
274
+ [_e]: _se,
275
+ [_hE]: 500,
276
+ },
277
+ [],
278
+ [],
279
+ ];
280
+ TypeRegistry.for(n0).registerError(InternalServerErrorException, __InternalServerErrorException);
281
+ export var InvalidResourceStateException = [
282
+ -3,
283
+ n0,
284
+ _IRSE,
285
+ {
286
+ [_e]: _c,
287
+ [_hE]: 400,
288
+ },
289
+ [_m],
290
+ [0],
291
+ ];
292
+ TypeRegistry.for(n0).registerError(InvalidResourceStateException, __InvalidResourceStateException);
293
+ export var InvalidSecretException = [
294
+ -3,
295
+ n0,
296
+ _ISE,
297
+ {
298
+ [_e]: _c,
299
+ [_hE]: 400,
300
+ },
301
+ [_m],
302
+ [0],
303
+ ];
304
+ TypeRegistry.for(n0).registerError(InvalidSecretException, __InvalidSecretException);
305
+ export var NotFoundException = [
306
+ -3,
307
+ n0,
308
+ _NFE,
309
+ {
310
+ [_e]: _c,
311
+ [_hE]: 404,
312
+ },
313
+ [_m],
314
+ [0],
315
+ ];
316
+ TypeRegistry.for(n0).registerError(NotFoundException, __NotFoundException);
317
+ export var _Record = [3, n0, _R, 0, [_v], [() => Row]];
318
+ export var ResultFrame = [3, n0, _RF, 0, [_rSM, _r], [() => ResultSetMetadata, () => Records]];
319
+ export var ResultSetMetadata = [3, n0, _RSM, 0, [_cC, _cM], [1, () => Metadata]];
320
+ export var ResultSetOptions = [3, n0, _RSO, 0, [_dRT, _lRT], [0, 0]];
321
+ export var RollbackTransactionRequest = [3, n0, _RTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
322
+ export var RollbackTransactionResponse = [3, n0, _RTRo, 0, [_tS], [0]];
323
+ export var SecretsErrorException = [
324
+ -3,
325
+ n0,
326
+ _SEE,
327
+ {
328
+ [_e]: _c,
329
+ [_hE]: 400,
330
+ },
331
+ [_m],
332
+ [0],
333
+ ];
334
+ TypeRegistry.for(n0).registerError(SecretsErrorException, __SecretsErrorException);
335
+ export var ServiceUnavailableError = [
336
+ -3,
337
+ n0,
338
+ _SUE,
339
+ {
340
+ [_e]: _se,
341
+ [_hE]: 503,
342
+ },
343
+ [],
344
+ [],
345
+ ];
346
+ TypeRegistry.for(n0).registerError(ServiceUnavailableError, __ServiceUnavailableError);
347
+ export var SqlParameter = [3, n0, _SP, 0, [_n, _va, _tH], [0, () => Field, 0]];
348
+ export var SqlStatementResult = [3, n0, _SSR, 0, [_rF, _nORU], [() => ResultFrame, 1]];
349
+ export var StatementTimeoutException = [
350
+ -3,
351
+ n0,
352
+ _STE,
353
+ {
354
+ [_e]: _c,
355
+ [_hE]: 400,
356
+ },
357
+ [_m, _dCI],
358
+ [0, 1],
359
+ ];
360
+ TypeRegistry.for(n0).registerError(StatementTimeoutException, __StatementTimeoutException);
361
+ export var StructValue = [3, n0, _SV, 0, [_a], [() => ArrayValueList]];
362
+ export var TransactionNotFoundException = [
363
+ -3,
364
+ n0,
365
+ _TNFE,
366
+ {
367
+ [_e]: _c,
368
+ [_hE]: 404,
369
+ },
370
+ [_m],
371
+ [0],
372
+ ];
373
+ TypeRegistry.for(n0).registerError(TransactionNotFoundException, __TransactionNotFoundException);
374
+ export var UnsupportedResultException = [
375
+ -3,
376
+ n0,
377
+ _URE,
378
+ {
379
+ [_e]: _c,
380
+ [_hE]: 400,
381
+ },
382
+ [_m],
383
+ [0],
384
+ ];
385
+ TypeRegistry.for(n0).registerError(UnsupportedResultException, __UnsupportedResultException);
386
+ export var UpdateResult = [3, n0, _UR, 0, [_gF], [() => FieldList]];
387
+ export var RDSDataServiceException = [-3, _sm, "RDSDataServiceException", 0, [], []];
388
+ TypeRegistry.for(_sm).registerError(RDSDataServiceException, __RDSDataServiceException);
389
+ export var ArrayOfArray = [1, n0, _AOA, 0, () => ArrayValue];
390
+ export var ArrayValueList = [1, n0, _AVL, 0, () => Value];
391
+ export var BooleanArray = 64 | 2;
392
+ export var DoubleArray = 64 | 1;
393
+ export var FieldList = [1, n0, _FL, 0, () => Field];
394
+ export var LongArray = 64 | 1;
395
+ export var Metadata = [1, n0, _M, 0, () => ColumnMetadata];
396
+ export var Records = [1, n0, _Re, 0, () => _Record];
397
+ export var Row = [1, n0, _Ro, 0, () => Value];
398
+ export var SqlParameterSets = [1, n0, _SPS, 0, () => SqlParametersList];
399
+ export var SqlParametersList = [1, n0, _SPL, 0, () => SqlParameter];
400
+ export var SqlRecords = [1, n0, _SR, 0, () => FieldList];
401
+ export var SqlStatementResults = [1, n0, _SSRq, 0, () => SqlStatementResult];
402
+ export var StringArray = 64 | 0;
403
+ export var UpdateResults = [1, n0, _URp, 0, () => UpdateResult];
404
+ export var ArrayValue = [
405
+ 3,
406
+ n0,
407
+ _AV,
408
+ 0,
409
+ [_bV, _lV, _dV, _sV, _aV],
410
+ [64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray],
411
+ ];
412
+ export var Field = [
413
+ 3,
414
+ n0,
415
+ _F,
416
+ 0,
417
+ [_iN, _bVo, _lVo, _dVo, _sVt, _bVl, _aVr],
418
+ [2, 2, 1, 1, 0, 21, () => ArrayValue],
419
+ ];
420
+ export var Value = [
421
+ 3,
422
+ n0,
423
+ _V,
424
+ 0,
425
+ [_iN, _bVi, _bIV, _iV, _dVo, _rV, _sVt, _bVl, _aV, _sVtr],
426
+ [2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue],
427
+ ];
428
+ export var BatchExecuteStatement = [
429
+ 9,
430
+ n0,
431
+ _BES,
432
+ {
433
+ [_h]: ["POST", "/BatchExecute", 200],
434
+ },
435
+ () => BatchExecuteStatementRequest,
436
+ () => BatchExecuteStatementResponse,
437
+ ];
438
+ export var BeginTransaction = [
439
+ 9,
440
+ n0,
441
+ _BT,
442
+ {
443
+ [_h]: ["POST", "/BeginTransaction", 200],
444
+ },
445
+ () => BeginTransactionRequest,
446
+ () => BeginTransactionResponse,
447
+ ];
448
+ export var CommitTransaction = [
449
+ 9,
450
+ n0,
451
+ _CT,
452
+ {
453
+ [_h]: ["POST", "/CommitTransaction", 200],
454
+ },
455
+ () => CommitTransactionRequest,
456
+ () => CommitTransactionResponse,
457
+ ];
458
+ export var ExecuteSql = [
459
+ 9,
460
+ n0,
461
+ _ES,
462
+ {
463
+ [_h]: ["POST", "/ExecuteSql", 200],
464
+ },
465
+ () => ExecuteSqlRequest,
466
+ () => ExecuteSqlResponse,
467
+ ];
468
+ export var ExecuteStatement = [
469
+ 9,
470
+ n0,
471
+ _ESx,
472
+ {
473
+ [_h]: ["POST", "/Execute", 200],
474
+ },
475
+ () => ExecuteStatementRequest,
476
+ () => ExecuteStatementResponse,
477
+ ];
478
+ export var RollbackTransaction = [
479
+ 9,
480
+ n0,
481
+ _RT,
482
+ {
483
+ [_h]: ["POST", "/RollbackTransaction", 200],
484
+ },
485
+ () => RollbackTransactionRequest,
486
+ () => RollbackTransactionResponse,
487
+ ];