@aws-sdk/client-rds-data 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +548 -894
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/RDSDataClient.js +2 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +3 -9
- package/dist-es/commands/BeginTransactionCommand.js +3 -9
- package/dist-es/commands/CommitTransactionCommand.js +3 -9
- package/dist-es/commands/ExecuteSqlCommand.js +3 -9
- package/dist-es/commands/ExecuteStatementCommand.js +3 -9
- package/dist-es/commands/RollbackTransactionCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -62
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +487 -0
- package/dist-types/RDSDataClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +12 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +64 -0
- package/dist-types/ts3.4/RDSDataClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +69 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -740
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -77
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class RDSDataClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,14 +110,14 @@ class RDSDataClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class RDSDataServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let RDSDataServiceException$1 = class RDSDataServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, RDSDataServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
|
-
class AccessDeniedException extends RDSDataServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends RDSDataServiceException$1 {
|
|
121
121
|
name = "AccessDeniedException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
constructor(opts) {
|
|
@@ -128,8 +128,8 @@ class AccessDeniedException extends RDSDataServiceException {
|
|
|
128
128
|
});
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
|
-
}
|
|
132
|
-
class BadRequestException extends RDSDataServiceException {
|
|
131
|
+
};
|
|
132
|
+
let BadRequestException$1 = class BadRequestException extends RDSDataServiceException$1 {
|
|
133
133
|
name = "BadRequestException";
|
|
134
134
|
$fault = "client";
|
|
135
135
|
constructor(opts) {
|
|
@@ -140,7 +140,7 @@ class BadRequestException extends RDSDataServiceException {
|
|
|
140
140
|
});
|
|
141
141
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
142
142
|
}
|
|
143
|
-
}
|
|
143
|
+
};
|
|
144
144
|
const TypeHint = {
|
|
145
145
|
DATE: "DATE",
|
|
146
146
|
DECIMAL: "DECIMAL",
|
|
@@ -149,7 +149,7 @@ const TypeHint = {
|
|
|
149
149
|
TIMESTAMP: "TIMESTAMP",
|
|
150
150
|
UUID: "UUID",
|
|
151
151
|
};
|
|
152
|
-
class DatabaseErrorException extends RDSDataServiceException {
|
|
152
|
+
let DatabaseErrorException$1 = class DatabaseErrorException extends RDSDataServiceException$1 {
|
|
153
153
|
name = "DatabaseErrorException";
|
|
154
154
|
$fault = "client";
|
|
155
155
|
constructor(opts) {
|
|
@@ -160,8 +160,8 @@ class DatabaseErrorException extends RDSDataServiceException {
|
|
|
160
160
|
});
|
|
161
161
|
Object.setPrototypeOf(this, DatabaseErrorException.prototype);
|
|
162
162
|
}
|
|
163
|
-
}
|
|
164
|
-
class DatabaseNotFoundException extends RDSDataServiceException {
|
|
163
|
+
};
|
|
164
|
+
let DatabaseNotFoundException$1 = class DatabaseNotFoundException extends RDSDataServiceException$1 {
|
|
165
165
|
name = "DatabaseNotFoundException";
|
|
166
166
|
$fault = "client";
|
|
167
167
|
constructor(opts) {
|
|
@@ -172,8 +172,8 @@ class DatabaseNotFoundException extends RDSDataServiceException {
|
|
|
172
172
|
});
|
|
173
173
|
Object.setPrototypeOf(this, DatabaseNotFoundException.prototype);
|
|
174
174
|
}
|
|
175
|
-
}
|
|
176
|
-
class DatabaseResumingException extends RDSDataServiceException {
|
|
175
|
+
};
|
|
176
|
+
let DatabaseResumingException$1 = class DatabaseResumingException extends RDSDataServiceException$1 {
|
|
177
177
|
name = "DatabaseResumingException";
|
|
178
178
|
$fault = "client";
|
|
179
179
|
constructor(opts) {
|
|
@@ -184,8 +184,8 @@ class DatabaseResumingException extends RDSDataServiceException {
|
|
|
184
184
|
});
|
|
185
185
|
Object.setPrototypeOf(this, DatabaseResumingException.prototype);
|
|
186
186
|
}
|
|
187
|
-
}
|
|
188
|
-
class DatabaseUnavailableException extends RDSDataServiceException {
|
|
187
|
+
};
|
|
188
|
+
let DatabaseUnavailableException$1 = class DatabaseUnavailableException extends RDSDataServiceException$1 {
|
|
189
189
|
name = "DatabaseUnavailableException";
|
|
190
190
|
$fault = "server";
|
|
191
191
|
constructor(opts) {
|
|
@@ -196,8 +196,8 @@ class DatabaseUnavailableException extends RDSDataServiceException {
|
|
|
196
196
|
});
|
|
197
197
|
Object.setPrototypeOf(this, DatabaseUnavailableException.prototype);
|
|
198
198
|
}
|
|
199
|
-
}
|
|
200
|
-
class ForbiddenException extends RDSDataServiceException {
|
|
199
|
+
};
|
|
200
|
+
let ForbiddenException$1 = class ForbiddenException extends RDSDataServiceException$1 {
|
|
201
201
|
name = "ForbiddenException";
|
|
202
202
|
$fault = "client";
|
|
203
203
|
constructor(opts) {
|
|
@@ -208,8 +208,8 @@ class ForbiddenException extends RDSDataServiceException {
|
|
|
208
208
|
});
|
|
209
209
|
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
210
210
|
}
|
|
211
|
-
}
|
|
212
|
-
class HttpEndpointNotEnabledException extends RDSDataServiceException {
|
|
211
|
+
};
|
|
212
|
+
let HttpEndpointNotEnabledException$1 = class HttpEndpointNotEnabledException extends RDSDataServiceException$1 {
|
|
213
213
|
name = "HttpEndpointNotEnabledException";
|
|
214
214
|
$fault = "client";
|
|
215
215
|
constructor(opts) {
|
|
@@ -220,8 +220,8 @@ class HttpEndpointNotEnabledException extends RDSDataServiceException {
|
|
|
220
220
|
});
|
|
221
221
|
Object.setPrototypeOf(this, HttpEndpointNotEnabledException.prototype);
|
|
222
222
|
}
|
|
223
|
-
}
|
|
224
|
-
class InternalServerErrorException extends RDSDataServiceException {
|
|
223
|
+
};
|
|
224
|
+
let InternalServerErrorException$1 = class InternalServerErrorException extends RDSDataServiceException$1 {
|
|
225
225
|
name = "InternalServerErrorException";
|
|
226
226
|
$fault = "server";
|
|
227
227
|
constructor(opts) {
|
|
@@ -232,8 +232,8 @@ class InternalServerErrorException extends RDSDataServiceException {
|
|
|
232
232
|
});
|
|
233
233
|
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
234
234
|
}
|
|
235
|
-
}
|
|
236
|
-
class InvalidResourceStateException extends RDSDataServiceException {
|
|
235
|
+
};
|
|
236
|
+
let InvalidResourceStateException$1 = class InvalidResourceStateException extends RDSDataServiceException$1 {
|
|
237
237
|
name = "InvalidResourceStateException";
|
|
238
238
|
$fault = "client";
|
|
239
239
|
constructor(opts) {
|
|
@@ -244,8 +244,8 @@ class InvalidResourceStateException extends RDSDataServiceException {
|
|
|
244
244
|
});
|
|
245
245
|
Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
|
|
246
246
|
}
|
|
247
|
-
}
|
|
248
|
-
class InvalidSecretException extends RDSDataServiceException {
|
|
247
|
+
};
|
|
248
|
+
let InvalidSecretException$1 = class InvalidSecretException extends RDSDataServiceException$1 {
|
|
249
249
|
name = "InvalidSecretException";
|
|
250
250
|
$fault = "client";
|
|
251
251
|
constructor(opts) {
|
|
@@ -256,8 +256,8 @@ class InvalidSecretException extends RDSDataServiceException {
|
|
|
256
256
|
});
|
|
257
257
|
Object.setPrototypeOf(this, InvalidSecretException.prototype);
|
|
258
258
|
}
|
|
259
|
-
}
|
|
260
|
-
class SecretsErrorException extends RDSDataServiceException {
|
|
259
|
+
};
|
|
260
|
+
let SecretsErrorException$1 = class SecretsErrorException extends RDSDataServiceException$1 {
|
|
261
261
|
name = "SecretsErrorException";
|
|
262
262
|
$fault = "client";
|
|
263
263
|
constructor(opts) {
|
|
@@ -268,8 +268,8 @@ class SecretsErrorException extends RDSDataServiceException {
|
|
|
268
268
|
});
|
|
269
269
|
Object.setPrototypeOf(this, SecretsErrorException.prototype);
|
|
270
270
|
}
|
|
271
|
-
}
|
|
272
|
-
class ServiceUnavailableError extends RDSDataServiceException {
|
|
271
|
+
};
|
|
272
|
+
let ServiceUnavailableError$1 = class ServiceUnavailableError extends RDSDataServiceException$1 {
|
|
273
273
|
name = "ServiceUnavailableError";
|
|
274
274
|
$fault = "server";
|
|
275
275
|
constructor(opts) {
|
|
@@ -280,8 +280,8 @@ class ServiceUnavailableError extends RDSDataServiceException {
|
|
|
280
280
|
});
|
|
281
281
|
Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
|
|
282
282
|
}
|
|
283
|
-
}
|
|
284
|
-
class StatementTimeoutException extends RDSDataServiceException {
|
|
283
|
+
};
|
|
284
|
+
let StatementTimeoutException$1 = class StatementTimeoutException extends RDSDataServiceException$1 {
|
|
285
285
|
name = "StatementTimeoutException";
|
|
286
286
|
$fault = "client";
|
|
287
287
|
dbConnectionId;
|
|
@@ -294,8 +294,8 @@ class StatementTimeoutException extends RDSDataServiceException {
|
|
|
294
294
|
Object.setPrototypeOf(this, StatementTimeoutException.prototype);
|
|
295
295
|
this.dbConnectionId = opts.dbConnectionId;
|
|
296
296
|
}
|
|
297
|
-
}
|
|
298
|
-
class TransactionNotFoundException extends RDSDataServiceException {
|
|
297
|
+
};
|
|
298
|
+
let TransactionNotFoundException$1 = class TransactionNotFoundException extends RDSDataServiceException$1 {
|
|
299
299
|
name = "TransactionNotFoundException";
|
|
300
300
|
$fault = "client";
|
|
301
301
|
constructor(opts) {
|
|
@@ -306,8 +306,8 @@ class TransactionNotFoundException extends RDSDataServiceException {
|
|
|
306
306
|
});
|
|
307
307
|
Object.setPrototypeOf(this, TransactionNotFoundException.prototype);
|
|
308
308
|
}
|
|
309
|
-
}
|
|
310
|
-
class NotFoundException extends RDSDataServiceException {
|
|
309
|
+
};
|
|
310
|
+
let NotFoundException$1 = class NotFoundException extends RDSDataServiceException$1 {
|
|
311
311
|
name = "NotFoundException";
|
|
312
312
|
$fault = "client";
|
|
313
313
|
constructor(opts) {
|
|
@@ -318,7 +318,7 @@ class NotFoundException extends RDSDataServiceException {
|
|
|
318
318
|
});
|
|
319
319
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
320
320
|
}
|
|
321
|
-
}
|
|
321
|
+
};
|
|
322
322
|
const DecimalReturnType = {
|
|
323
323
|
DOUBLE_OR_LONG: "DOUBLE_OR_LONG",
|
|
324
324
|
STRING: "STRING",
|
|
@@ -331,7 +331,7 @@ const LongReturnType = {
|
|
|
331
331
|
LONG: "LONG",
|
|
332
332
|
STRING: "STRING",
|
|
333
333
|
};
|
|
334
|
-
class UnsupportedResultException extends RDSDataServiceException {
|
|
334
|
+
let UnsupportedResultException$1 = class UnsupportedResultException extends RDSDataServiceException$1 {
|
|
335
335
|
name = "UnsupportedResultException";
|
|
336
336
|
$fault = "client";
|
|
337
337
|
constructor(opts) {
|
|
@@ -342,819 +342,498 @@ class UnsupportedResultException extends RDSDataServiceException {
|
|
|
342
342
|
});
|
|
343
343
|
Object.setPrototypeOf(this, UnsupportedResultException.prototype);
|
|
344
344
|
}
|
|
345
|
-
}
|
|
346
|
-
exports.ArrayValue = void 0;
|
|
347
|
-
(function (ArrayValue) {
|
|
348
|
-
ArrayValue.visit = (value, visitor) => {
|
|
349
|
-
if (value.booleanValues !== undefined)
|
|
350
|
-
return visitor.booleanValues(value.booleanValues);
|
|
351
|
-
if (value.longValues !== undefined)
|
|
352
|
-
return visitor.longValues(value.longValues);
|
|
353
|
-
if (value.doubleValues !== undefined)
|
|
354
|
-
return visitor.doubleValues(value.doubleValues);
|
|
355
|
-
if (value.stringValues !== undefined)
|
|
356
|
-
return visitor.stringValues(value.stringValues);
|
|
357
|
-
if (value.arrayValues !== undefined)
|
|
358
|
-
return visitor.arrayValues(value.arrayValues);
|
|
359
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
360
|
-
};
|
|
361
|
-
})(exports.ArrayValue || (exports.ArrayValue = {}));
|
|
362
|
-
exports.Field = void 0;
|
|
363
|
-
(function (Field) {
|
|
364
|
-
Field.visit = (value, visitor) => {
|
|
365
|
-
if (value.isNull !== undefined)
|
|
366
|
-
return visitor.isNull(value.isNull);
|
|
367
|
-
if (value.booleanValue !== undefined)
|
|
368
|
-
return visitor.booleanValue(value.booleanValue);
|
|
369
|
-
if (value.longValue !== undefined)
|
|
370
|
-
return visitor.longValue(value.longValue);
|
|
371
|
-
if (value.doubleValue !== undefined)
|
|
372
|
-
return visitor.doubleValue(value.doubleValue);
|
|
373
|
-
if (value.stringValue !== undefined)
|
|
374
|
-
return visitor.stringValue(value.stringValue);
|
|
375
|
-
if (value.blobValue !== undefined)
|
|
376
|
-
return visitor.blobValue(value.blobValue);
|
|
377
|
-
if (value.arrayValue !== undefined)
|
|
378
|
-
return visitor.arrayValue(value.arrayValue);
|
|
379
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
380
|
-
};
|
|
381
|
-
})(exports.Field || (exports.Field = {}));
|
|
382
|
-
exports.Value = void 0;
|
|
383
|
-
(function (Value) {
|
|
384
|
-
Value.visit = (value, visitor) => {
|
|
385
|
-
if (value.isNull !== undefined)
|
|
386
|
-
return visitor.isNull(value.isNull);
|
|
387
|
-
if (value.bitValue !== undefined)
|
|
388
|
-
return visitor.bitValue(value.bitValue);
|
|
389
|
-
if (value.bigIntValue !== undefined)
|
|
390
|
-
return visitor.bigIntValue(value.bigIntValue);
|
|
391
|
-
if (value.intValue !== undefined)
|
|
392
|
-
return visitor.intValue(value.intValue);
|
|
393
|
-
if (value.doubleValue !== undefined)
|
|
394
|
-
return visitor.doubleValue(value.doubleValue);
|
|
395
|
-
if (value.realValue !== undefined)
|
|
396
|
-
return visitor.realValue(value.realValue);
|
|
397
|
-
if (value.stringValue !== undefined)
|
|
398
|
-
return visitor.stringValue(value.stringValue);
|
|
399
|
-
if (value.blobValue !== undefined)
|
|
400
|
-
return visitor.blobValue(value.blobValue);
|
|
401
|
-
if (value.arrayValues !== undefined)
|
|
402
|
-
return visitor.arrayValues(value.arrayValues);
|
|
403
|
-
if (value.structValue !== undefined)
|
|
404
|
-
return visitor.structValue(value.structValue);
|
|
405
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
406
|
-
};
|
|
407
|
-
})(exports.Value || (exports.Value = {}));
|
|
408
|
-
|
|
409
|
-
const se_BatchExecuteStatementCommand = async (input, context) => {
|
|
410
|
-
const b = core.requestBuilder(input, context);
|
|
411
|
-
const headers = {
|
|
412
|
-
"content-type": "application/json",
|
|
413
|
-
};
|
|
414
|
-
b.bp("/BatchExecute");
|
|
415
|
-
let body;
|
|
416
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
417
|
-
database: [],
|
|
418
|
-
parameterSets: (_) => se_SqlParameterSets(_, context),
|
|
419
|
-
resourceArn: [],
|
|
420
|
-
schema: [],
|
|
421
|
-
secretArn: [],
|
|
422
|
-
sql: [],
|
|
423
|
-
transactionId: [],
|
|
424
|
-
}));
|
|
425
|
-
b.m("POST").h(headers).b(body);
|
|
426
|
-
return b.build();
|
|
427
|
-
};
|
|
428
|
-
const se_BeginTransactionCommand = async (input, context) => {
|
|
429
|
-
const b = core.requestBuilder(input, context);
|
|
430
|
-
const headers = {
|
|
431
|
-
"content-type": "application/json",
|
|
432
|
-
};
|
|
433
|
-
b.bp("/BeginTransaction");
|
|
434
|
-
let body;
|
|
435
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
436
|
-
database: [],
|
|
437
|
-
resourceArn: [],
|
|
438
|
-
schema: [],
|
|
439
|
-
secretArn: [],
|
|
440
|
-
}));
|
|
441
|
-
b.m("POST").h(headers).b(body);
|
|
442
|
-
return b.build();
|
|
443
|
-
};
|
|
444
|
-
const se_CommitTransactionCommand = async (input, context) => {
|
|
445
|
-
const b = core.requestBuilder(input, context);
|
|
446
|
-
const headers = {
|
|
447
|
-
"content-type": "application/json",
|
|
448
|
-
};
|
|
449
|
-
b.bp("/CommitTransaction");
|
|
450
|
-
let body;
|
|
451
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
452
|
-
resourceArn: [],
|
|
453
|
-
secretArn: [],
|
|
454
|
-
transactionId: [],
|
|
455
|
-
}));
|
|
456
|
-
b.m("POST").h(headers).b(body);
|
|
457
|
-
return b.build();
|
|
458
|
-
};
|
|
459
|
-
const se_ExecuteSqlCommand = async (input, context) => {
|
|
460
|
-
const b = core.requestBuilder(input, context);
|
|
461
|
-
const headers = {
|
|
462
|
-
"content-type": "application/json",
|
|
463
|
-
};
|
|
464
|
-
b.bp("/ExecuteSql");
|
|
465
|
-
let body;
|
|
466
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
467
|
-
awsSecretStoreArn: [],
|
|
468
|
-
database: [],
|
|
469
|
-
dbClusterOrInstanceArn: [],
|
|
470
|
-
schema: [],
|
|
471
|
-
sqlStatements: [],
|
|
472
|
-
}));
|
|
473
|
-
b.m("POST").h(headers).b(body);
|
|
474
|
-
return b.build();
|
|
475
|
-
};
|
|
476
|
-
const se_ExecuteStatementCommand = async (input, context) => {
|
|
477
|
-
const b = core.requestBuilder(input, context);
|
|
478
|
-
const headers = {
|
|
479
|
-
"content-type": "application/json",
|
|
480
|
-
};
|
|
481
|
-
b.bp("/Execute");
|
|
482
|
-
let body;
|
|
483
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
484
|
-
continueAfterTimeout: [],
|
|
485
|
-
database: [],
|
|
486
|
-
formatRecordsAs: [],
|
|
487
|
-
includeResultMetadata: [],
|
|
488
|
-
parameters: (_) => se_SqlParametersList(_, context),
|
|
489
|
-
resourceArn: [],
|
|
490
|
-
resultSetOptions: (_) => smithyClient._json(_),
|
|
491
|
-
schema: [],
|
|
492
|
-
secretArn: [],
|
|
493
|
-
sql: [],
|
|
494
|
-
transactionId: [],
|
|
495
|
-
}));
|
|
496
|
-
b.m("POST").h(headers).b(body);
|
|
497
|
-
return b.build();
|
|
498
|
-
};
|
|
499
|
-
const se_RollbackTransactionCommand = async (input, context) => {
|
|
500
|
-
const b = core.requestBuilder(input, context);
|
|
501
|
-
const headers = {
|
|
502
|
-
"content-type": "application/json",
|
|
503
|
-
};
|
|
504
|
-
b.bp("/RollbackTransaction");
|
|
505
|
-
let body;
|
|
506
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
507
|
-
resourceArn: [],
|
|
508
|
-
secretArn: [],
|
|
509
|
-
transactionId: [],
|
|
510
|
-
}));
|
|
511
|
-
b.m("POST").h(headers).b(body);
|
|
512
|
-
return b.build();
|
|
513
|
-
};
|
|
514
|
-
const de_BatchExecuteStatementCommand = async (output, context) => {
|
|
515
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
516
|
-
return de_CommandError(output, context);
|
|
517
|
-
}
|
|
518
|
-
const contents = smithyClient.map({
|
|
519
|
-
$metadata: deserializeMetadata(output),
|
|
520
|
-
});
|
|
521
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
522
|
-
const doc = smithyClient.take(data, {
|
|
523
|
-
updateResults: (_) => de_UpdateResults(_, context),
|
|
524
|
-
});
|
|
525
|
-
Object.assign(contents, doc);
|
|
526
|
-
return contents;
|
|
527
|
-
};
|
|
528
|
-
const de_BeginTransactionCommand = async (output, context) => {
|
|
529
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
530
|
-
return de_CommandError(output, context);
|
|
531
|
-
}
|
|
532
|
-
const contents = smithyClient.map({
|
|
533
|
-
$metadata: deserializeMetadata(output),
|
|
534
|
-
});
|
|
535
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
536
|
-
const doc = smithyClient.take(data, {
|
|
537
|
-
transactionId: smithyClient.expectString,
|
|
538
|
-
});
|
|
539
|
-
Object.assign(contents, doc);
|
|
540
|
-
return contents;
|
|
541
|
-
};
|
|
542
|
-
const de_CommitTransactionCommand = async (output, context) => {
|
|
543
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
544
|
-
return de_CommandError(output, context);
|
|
545
|
-
}
|
|
546
|
-
const contents = smithyClient.map({
|
|
547
|
-
$metadata: deserializeMetadata(output),
|
|
548
|
-
});
|
|
549
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
550
|
-
const doc = smithyClient.take(data, {
|
|
551
|
-
transactionStatus: smithyClient.expectString,
|
|
552
|
-
});
|
|
553
|
-
Object.assign(contents, doc);
|
|
554
|
-
return contents;
|
|
555
|
-
};
|
|
556
|
-
const de_ExecuteSqlCommand = async (output, context) => {
|
|
557
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
558
|
-
return de_CommandError(output, context);
|
|
559
|
-
}
|
|
560
|
-
const contents = smithyClient.map({
|
|
561
|
-
$metadata: deserializeMetadata(output),
|
|
562
|
-
});
|
|
563
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
564
|
-
const doc = smithyClient.take(data, {
|
|
565
|
-
sqlStatementResults: (_) => de_SqlStatementResults(_, context),
|
|
566
|
-
});
|
|
567
|
-
Object.assign(contents, doc);
|
|
568
|
-
return contents;
|
|
569
|
-
};
|
|
570
|
-
const de_ExecuteStatementCommand = async (output, context) => {
|
|
571
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
572
|
-
return de_CommandError(output, context);
|
|
573
|
-
}
|
|
574
|
-
const contents = smithyClient.map({
|
|
575
|
-
$metadata: deserializeMetadata(output),
|
|
576
|
-
});
|
|
577
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
578
|
-
const doc = smithyClient.take(data, {
|
|
579
|
-
columnMetadata: smithyClient._json,
|
|
580
|
-
formattedRecords: smithyClient.expectString,
|
|
581
|
-
generatedFields: (_) => de_FieldList(_, context),
|
|
582
|
-
numberOfRecordsUpdated: smithyClient.expectLong,
|
|
583
|
-
records: (_) => de_SqlRecords(_, context),
|
|
584
|
-
});
|
|
585
|
-
Object.assign(contents, doc);
|
|
586
|
-
return contents;
|
|
587
|
-
};
|
|
588
|
-
const de_RollbackTransactionCommand = async (output, context) => {
|
|
589
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
590
|
-
return de_CommandError(output, context);
|
|
591
|
-
}
|
|
592
|
-
const contents = smithyClient.map({
|
|
593
|
-
$metadata: deserializeMetadata(output),
|
|
594
|
-
});
|
|
595
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
596
|
-
const doc = smithyClient.take(data, {
|
|
597
|
-
transactionStatus: smithyClient.expectString,
|
|
598
|
-
});
|
|
599
|
-
Object.assign(contents, doc);
|
|
600
|
-
return contents;
|
|
601
|
-
};
|
|
602
|
-
const de_CommandError = async (output, context) => {
|
|
603
|
-
const parsedOutput = {
|
|
604
|
-
...output,
|
|
605
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
606
|
-
};
|
|
607
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
608
|
-
switch (errorCode) {
|
|
609
|
-
case "AccessDeniedException":
|
|
610
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
611
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
612
|
-
case "BadRequestException":
|
|
613
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
614
|
-
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
615
|
-
case "DatabaseErrorException":
|
|
616
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
617
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput);
|
|
618
|
-
case "DatabaseNotFoundException":
|
|
619
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
620
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput);
|
|
621
|
-
case "DatabaseResumingException":
|
|
622
|
-
case "com.amazonaws.rdsdata#DatabaseResumingException":
|
|
623
|
-
throw await de_DatabaseResumingExceptionRes(parsedOutput);
|
|
624
|
-
case "DatabaseUnavailableException":
|
|
625
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
626
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput);
|
|
627
|
-
case "ForbiddenException":
|
|
628
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
629
|
-
throw await de_ForbiddenExceptionRes(parsedOutput);
|
|
630
|
-
case "HttpEndpointNotEnabledException":
|
|
631
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
632
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput);
|
|
633
|
-
case "InternalServerErrorException":
|
|
634
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
635
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput);
|
|
636
|
-
case "InvalidResourceStateException":
|
|
637
|
-
case "com.amazonaws.rdsdata#InvalidResourceStateException":
|
|
638
|
-
throw await de_InvalidResourceStateExceptionRes(parsedOutput);
|
|
639
|
-
case "InvalidSecretException":
|
|
640
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
641
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput);
|
|
642
|
-
case "SecretsErrorException":
|
|
643
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
644
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput);
|
|
645
|
-
case "ServiceUnavailableError":
|
|
646
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
647
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput);
|
|
648
|
-
case "StatementTimeoutException":
|
|
649
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
650
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput);
|
|
651
|
-
case "TransactionNotFoundException":
|
|
652
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
653
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput);
|
|
654
|
-
case "NotFoundException":
|
|
655
|
-
case "com.amazonaws.rdsdata#NotFoundException":
|
|
656
|
-
throw await de_NotFoundExceptionRes(parsedOutput);
|
|
657
|
-
case "UnsupportedResultException":
|
|
658
|
-
case "com.amazonaws.rdsdata#UnsupportedResultException":
|
|
659
|
-
throw await de_UnsupportedResultExceptionRes(parsedOutput);
|
|
660
|
-
default:
|
|
661
|
-
const parsedBody = parsedOutput.body;
|
|
662
|
-
return throwDefaultError({
|
|
663
|
-
output,
|
|
664
|
-
parsedBody,
|
|
665
|
-
errorCode,
|
|
666
|
-
});
|
|
667
|
-
}
|
|
668
|
-
};
|
|
669
|
-
const throwDefaultError = smithyClient.withBaseException(RDSDataServiceException);
|
|
670
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
671
|
-
const contents = smithyClient.map({});
|
|
672
|
-
const data = parsedOutput.body;
|
|
673
|
-
const doc = smithyClient.take(data, {
|
|
674
|
-
message: smithyClient.expectString,
|
|
675
|
-
});
|
|
676
|
-
Object.assign(contents, doc);
|
|
677
|
-
const exception = new AccessDeniedException({
|
|
678
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
679
|
-
...contents,
|
|
680
|
-
});
|
|
681
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
682
|
-
};
|
|
683
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
684
|
-
const contents = smithyClient.map({});
|
|
685
|
-
const data = parsedOutput.body;
|
|
686
|
-
const doc = smithyClient.take(data, {
|
|
687
|
-
message: smithyClient.expectString,
|
|
688
|
-
});
|
|
689
|
-
Object.assign(contents, doc);
|
|
690
|
-
const exception = new BadRequestException({
|
|
691
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
692
|
-
...contents,
|
|
693
|
-
});
|
|
694
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
695
|
-
};
|
|
696
|
-
const de_DatabaseErrorExceptionRes = async (parsedOutput, context) => {
|
|
697
|
-
const contents = smithyClient.map({});
|
|
698
|
-
const data = parsedOutput.body;
|
|
699
|
-
const doc = smithyClient.take(data, {
|
|
700
|
-
message: smithyClient.expectString,
|
|
701
|
-
});
|
|
702
|
-
Object.assign(contents, doc);
|
|
703
|
-
const exception = new DatabaseErrorException({
|
|
704
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
705
|
-
...contents,
|
|
706
|
-
});
|
|
707
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
708
|
-
};
|
|
709
|
-
const de_DatabaseNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
710
|
-
const contents = smithyClient.map({});
|
|
711
|
-
const data = parsedOutput.body;
|
|
712
|
-
const doc = smithyClient.take(data, {
|
|
713
|
-
message: smithyClient.expectString,
|
|
714
|
-
});
|
|
715
|
-
Object.assign(contents, doc);
|
|
716
|
-
const exception = new DatabaseNotFoundException({
|
|
717
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
718
|
-
...contents,
|
|
719
|
-
});
|
|
720
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
721
|
-
};
|
|
722
|
-
const de_DatabaseResumingExceptionRes = async (parsedOutput, context) => {
|
|
723
|
-
const contents = smithyClient.map({});
|
|
724
|
-
const data = parsedOutput.body;
|
|
725
|
-
const doc = smithyClient.take(data, {
|
|
726
|
-
message: smithyClient.expectString,
|
|
727
|
-
});
|
|
728
|
-
Object.assign(contents, doc);
|
|
729
|
-
const exception = new DatabaseResumingException({
|
|
730
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
731
|
-
...contents,
|
|
732
|
-
});
|
|
733
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
734
|
-
};
|
|
735
|
-
const de_DatabaseUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
736
|
-
const contents = smithyClient.map({});
|
|
737
|
-
const data = parsedOutput.body;
|
|
738
|
-
const doc = smithyClient.take(data, {});
|
|
739
|
-
Object.assign(contents, doc);
|
|
740
|
-
const exception = new DatabaseUnavailableException({
|
|
741
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
742
|
-
...contents,
|
|
743
|
-
});
|
|
744
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
745
|
-
};
|
|
746
|
-
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
747
|
-
const contents = smithyClient.map({});
|
|
748
|
-
const data = parsedOutput.body;
|
|
749
|
-
const doc = smithyClient.take(data, {
|
|
750
|
-
message: smithyClient.expectString,
|
|
751
|
-
});
|
|
752
|
-
Object.assign(contents, doc);
|
|
753
|
-
const exception = new ForbiddenException({
|
|
754
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
755
|
-
...contents,
|
|
756
|
-
});
|
|
757
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
758
|
-
};
|
|
759
|
-
const de_HttpEndpointNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
760
|
-
const contents = smithyClient.map({});
|
|
761
|
-
const data = parsedOutput.body;
|
|
762
|
-
const doc = smithyClient.take(data, {
|
|
763
|
-
message: smithyClient.expectString,
|
|
764
|
-
});
|
|
765
|
-
Object.assign(contents, doc);
|
|
766
|
-
const exception = new HttpEndpointNotEnabledException({
|
|
767
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
768
|
-
...contents,
|
|
769
|
-
});
|
|
770
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
771
|
-
};
|
|
772
|
-
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
773
|
-
const contents = smithyClient.map({});
|
|
774
|
-
const data = parsedOutput.body;
|
|
775
|
-
const doc = smithyClient.take(data, {});
|
|
776
|
-
Object.assign(contents, doc);
|
|
777
|
-
const exception = new InternalServerErrorException({
|
|
778
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
779
|
-
...contents,
|
|
780
|
-
});
|
|
781
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
782
|
-
};
|
|
783
|
-
const de_InvalidResourceStateExceptionRes = async (parsedOutput, context) => {
|
|
784
|
-
const contents = smithyClient.map({});
|
|
785
|
-
const data = parsedOutput.body;
|
|
786
|
-
const doc = smithyClient.take(data, {
|
|
787
|
-
message: smithyClient.expectString,
|
|
788
|
-
});
|
|
789
|
-
Object.assign(contents, doc);
|
|
790
|
-
const exception = new InvalidResourceStateException({
|
|
791
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
792
|
-
...contents,
|
|
793
|
-
});
|
|
794
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
795
|
-
};
|
|
796
|
-
const de_InvalidSecretExceptionRes = async (parsedOutput, context) => {
|
|
797
|
-
const contents = smithyClient.map({});
|
|
798
|
-
const data = parsedOutput.body;
|
|
799
|
-
const doc = smithyClient.take(data, {
|
|
800
|
-
message: smithyClient.expectString,
|
|
801
|
-
});
|
|
802
|
-
Object.assign(contents, doc);
|
|
803
|
-
const exception = new InvalidSecretException({
|
|
804
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
805
|
-
...contents,
|
|
806
|
-
});
|
|
807
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
808
|
-
};
|
|
809
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
810
|
-
const contents = smithyClient.map({});
|
|
811
|
-
const data = parsedOutput.body;
|
|
812
|
-
const doc = smithyClient.take(data, {
|
|
813
|
-
message: smithyClient.expectString,
|
|
814
|
-
});
|
|
815
|
-
Object.assign(contents, doc);
|
|
816
|
-
const exception = new NotFoundException({
|
|
817
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
818
|
-
...contents,
|
|
819
|
-
});
|
|
820
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
821
|
-
};
|
|
822
|
-
const de_SecretsErrorExceptionRes = async (parsedOutput, context) => {
|
|
823
|
-
const contents = smithyClient.map({});
|
|
824
|
-
const data = parsedOutput.body;
|
|
825
|
-
const doc = smithyClient.take(data, {
|
|
826
|
-
message: smithyClient.expectString,
|
|
827
|
-
});
|
|
828
|
-
Object.assign(contents, doc);
|
|
829
|
-
const exception = new SecretsErrorException({
|
|
830
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
831
|
-
...contents,
|
|
832
|
-
});
|
|
833
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
834
|
-
};
|
|
835
|
-
const de_ServiceUnavailableErrorRes = async (parsedOutput, context) => {
|
|
836
|
-
const contents = smithyClient.map({});
|
|
837
|
-
const data = parsedOutput.body;
|
|
838
|
-
const doc = smithyClient.take(data, {});
|
|
839
|
-
Object.assign(contents, doc);
|
|
840
|
-
const exception = new ServiceUnavailableError({
|
|
841
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
842
|
-
...contents,
|
|
843
|
-
});
|
|
844
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
845
|
-
};
|
|
846
|
-
const de_StatementTimeoutExceptionRes = async (parsedOutput, context) => {
|
|
847
|
-
const contents = smithyClient.map({});
|
|
848
|
-
const data = parsedOutput.body;
|
|
849
|
-
const doc = smithyClient.take(data, {
|
|
850
|
-
dbConnectionId: smithyClient.expectLong,
|
|
851
|
-
message: smithyClient.expectString,
|
|
852
|
-
});
|
|
853
|
-
Object.assign(contents, doc);
|
|
854
|
-
const exception = new StatementTimeoutException({
|
|
855
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
856
|
-
...contents,
|
|
857
|
-
});
|
|
858
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
859
|
-
};
|
|
860
|
-
const de_TransactionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
861
|
-
const contents = smithyClient.map({});
|
|
862
|
-
const data = parsedOutput.body;
|
|
863
|
-
const doc = smithyClient.take(data, {
|
|
864
|
-
message: smithyClient.expectString,
|
|
865
|
-
});
|
|
866
|
-
Object.assign(contents, doc);
|
|
867
|
-
const exception = new TransactionNotFoundException({
|
|
868
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
869
|
-
...contents,
|
|
870
|
-
});
|
|
871
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
872
|
-
};
|
|
873
|
-
const de_UnsupportedResultExceptionRes = async (parsedOutput, context) => {
|
|
874
|
-
const contents = smithyClient.map({});
|
|
875
|
-
const data = parsedOutput.body;
|
|
876
|
-
const doc = smithyClient.take(data, {
|
|
877
|
-
message: smithyClient.expectString,
|
|
878
|
-
});
|
|
879
|
-
Object.assign(contents, doc);
|
|
880
|
-
const exception = new UnsupportedResultException({
|
|
881
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
882
|
-
...contents,
|
|
883
|
-
});
|
|
884
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
885
|
-
};
|
|
886
|
-
const se_ArrayOfArray = (input, context) => {
|
|
887
|
-
return input
|
|
888
|
-
.filter((e) => e != null)
|
|
889
|
-
.map((entry) => {
|
|
890
|
-
return se_ArrayValue(entry);
|
|
891
|
-
});
|
|
892
|
-
};
|
|
893
|
-
const se_ArrayValue = (input, context) => {
|
|
894
|
-
return exports.ArrayValue.visit(input, {
|
|
895
|
-
arrayValues: (value) => ({ arrayValues: se_ArrayOfArray(value) }),
|
|
896
|
-
booleanValues: (value) => ({ booleanValues: smithyClient._json(value) }),
|
|
897
|
-
doubleValues: (value) => ({ doubleValues: se_DoubleArray(value) }),
|
|
898
|
-
longValues: (value) => ({ longValues: smithyClient._json(value) }),
|
|
899
|
-
stringValues: (value) => ({ stringValues: smithyClient._json(value) }),
|
|
900
|
-
_: (name, value) => ({ [name]: value }),
|
|
901
|
-
});
|
|
902
|
-
};
|
|
903
|
-
const se_DoubleArray = (input, context) => {
|
|
904
|
-
return input
|
|
905
|
-
.filter((e) => e != null)
|
|
906
|
-
.map((entry) => {
|
|
907
|
-
return smithyClient.serializeFloat(entry);
|
|
908
|
-
});
|
|
909
|
-
};
|
|
910
|
-
const se_Field = (input, context) => {
|
|
911
|
-
return exports.Field.visit(input, {
|
|
912
|
-
arrayValue: (value) => ({ arrayValue: se_ArrayValue(value) }),
|
|
913
|
-
blobValue: (value) => ({ blobValue: context.base64Encoder(value) }),
|
|
914
|
-
booleanValue: (value) => ({ booleanValue: value }),
|
|
915
|
-
doubleValue: (value) => ({ doubleValue: smithyClient.serializeFloat(value) }),
|
|
916
|
-
isNull: (value) => ({ isNull: value }),
|
|
917
|
-
longValue: (value) => ({ longValue: value }),
|
|
918
|
-
stringValue: (value) => ({ stringValue: value }),
|
|
919
|
-
_: (name, value) => ({ [name]: value }),
|
|
920
|
-
});
|
|
921
|
-
};
|
|
922
|
-
const se_SqlParameter = (input, context) => {
|
|
923
|
-
return smithyClient.take(input, {
|
|
924
|
-
name: [],
|
|
925
|
-
typeHint: [],
|
|
926
|
-
value: (_) => se_Field(_, context),
|
|
927
|
-
});
|
|
928
|
-
};
|
|
929
|
-
const se_SqlParameterSets = (input, context) => {
|
|
930
|
-
return input
|
|
931
|
-
.filter((e) => e != null)
|
|
932
|
-
.map((entry) => {
|
|
933
|
-
return se_SqlParametersList(entry, context);
|
|
934
|
-
});
|
|
935
|
-
};
|
|
936
|
-
const se_SqlParametersList = (input, context) => {
|
|
937
|
-
return input
|
|
938
|
-
.filter((e) => e != null)
|
|
939
|
-
.map((entry) => {
|
|
940
|
-
return se_SqlParameter(entry, context);
|
|
941
|
-
});
|
|
942
|
-
};
|
|
943
|
-
const de_ArrayOfArray = (output, context) => {
|
|
944
|
-
const retVal = (output || [])
|
|
945
|
-
.filter((e) => e != null)
|
|
946
|
-
.map((entry) => {
|
|
947
|
-
return de_ArrayValue(core$1.awsExpectUnion(entry));
|
|
948
|
-
});
|
|
949
|
-
return retVal;
|
|
950
|
-
};
|
|
951
|
-
const de_ArrayValue = (output, context) => {
|
|
952
|
-
if (output.arrayValues != null) {
|
|
953
|
-
return {
|
|
954
|
-
arrayValues: de_ArrayOfArray(output.arrayValues),
|
|
955
|
-
};
|
|
956
|
-
}
|
|
957
|
-
if (output.booleanValues != null) {
|
|
958
|
-
return {
|
|
959
|
-
booleanValues: smithyClient._json(output.booleanValues),
|
|
960
|
-
};
|
|
961
|
-
}
|
|
962
|
-
if (output.doubleValues != null) {
|
|
963
|
-
return {
|
|
964
|
-
doubleValues: de_DoubleArray(output.doubleValues),
|
|
965
|
-
};
|
|
966
|
-
}
|
|
967
|
-
if (output.longValues != null) {
|
|
968
|
-
return {
|
|
969
|
-
longValues: smithyClient._json(output.longValues),
|
|
970
|
-
};
|
|
971
|
-
}
|
|
972
|
-
if (output.stringValues != null) {
|
|
973
|
-
return {
|
|
974
|
-
stringValues: smithyClient._json(output.stringValues),
|
|
975
|
-
};
|
|
976
|
-
}
|
|
977
|
-
return { $unknown: Object.entries(output)[0] };
|
|
978
|
-
};
|
|
979
|
-
const de_ArrayValueList = (output, context) => {
|
|
980
|
-
const retVal = (output || [])
|
|
981
|
-
.filter((e) => e != null)
|
|
982
|
-
.map((entry) => {
|
|
983
|
-
return de_Value(core$1.awsExpectUnion(entry), context);
|
|
984
|
-
});
|
|
985
|
-
return retVal;
|
|
986
|
-
};
|
|
987
|
-
const de_DoubleArray = (output, context) => {
|
|
988
|
-
const retVal = (output || [])
|
|
989
|
-
.filter((e) => e != null)
|
|
990
|
-
.map((entry) => {
|
|
991
|
-
return smithyClient.limitedParseDouble(entry);
|
|
992
|
-
});
|
|
993
|
-
return retVal;
|
|
994
|
-
};
|
|
995
|
-
const de_Field = (output, context) => {
|
|
996
|
-
if (output.arrayValue != null) {
|
|
997
|
-
return {
|
|
998
|
-
arrayValue: de_ArrayValue(core$1.awsExpectUnion(output.arrayValue)),
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
|
-
if (output.blobValue != null) {
|
|
1002
|
-
return {
|
|
1003
|
-
blobValue: context.base64Decoder(output.blobValue),
|
|
1004
|
-
};
|
|
1005
|
-
}
|
|
1006
|
-
if (smithyClient.expectBoolean(output.booleanValue) !== undefined) {
|
|
1007
|
-
return { booleanValue: smithyClient.expectBoolean(output.booleanValue) };
|
|
1008
|
-
}
|
|
1009
|
-
if (smithyClient.limitedParseDouble(output.doubleValue) !== undefined) {
|
|
1010
|
-
return { doubleValue: smithyClient.limitedParseDouble(output.doubleValue) };
|
|
1011
|
-
}
|
|
1012
|
-
if (smithyClient.expectBoolean(output.isNull) !== undefined) {
|
|
1013
|
-
return { isNull: smithyClient.expectBoolean(output.isNull) };
|
|
1014
|
-
}
|
|
1015
|
-
if (smithyClient.expectLong(output.longValue) !== undefined) {
|
|
1016
|
-
return { longValue: smithyClient.expectLong(output.longValue) };
|
|
1017
|
-
}
|
|
1018
|
-
if (smithyClient.expectString(output.stringValue) !== undefined) {
|
|
1019
|
-
return { stringValue: smithyClient.expectString(output.stringValue) };
|
|
1020
|
-
}
|
|
1021
|
-
return { $unknown: Object.entries(output)[0] };
|
|
1022
|
-
};
|
|
1023
|
-
const de_FieldList = (output, context) => {
|
|
1024
|
-
const retVal = (output || [])
|
|
1025
|
-
.filter((e) => e != null)
|
|
1026
|
-
.map((entry) => {
|
|
1027
|
-
return de_Field(core$1.awsExpectUnion(entry), context);
|
|
1028
|
-
});
|
|
1029
|
-
return retVal;
|
|
1030
|
-
};
|
|
1031
|
-
const de__Record = (output, context) => {
|
|
1032
|
-
return smithyClient.take(output, {
|
|
1033
|
-
values: (_) => de_Row(_, context),
|
|
1034
|
-
});
|
|
1035
|
-
};
|
|
1036
|
-
const de_Records = (output, context) => {
|
|
1037
|
-
const retVal = (output || [])
|
|
1038
|
-
.filter((e) => e != null)
|
|
1039
|
-
.map((entry) => {
|
|
1040
|
-
return de__Record(entry, context);
|
|
1041
|
-
});
|
|
1042
|
-
return retVal;
|
|
1043
|
-
};
|
|
1044
|
-
const de_ResultFrame = (output, context) => {
|
|
1045
|
-
return smithyClient.take(output, {
|
|
1046
|
-
records: (_) => de_Records(_, context),
|
|
1047
|
-
resultSetMetadata: smithyClient._json,
|
|
1048
|
-
});
|
|
1049
|
-
};
|
|
1050
|
-
const de_Row = (output, context) => {
|
|
1051
|
-
const retVal = (output || [])
|
|
1052
|
-
.filter((e) => e != null)
|
|
1053
|
-
.map((entry) => {
|
|
1054
|
-
return de_Value(core$1.awsExpectUnion(entry), context);
|
|
1055
|
-
});
|
|
1056
|
-
return retVal;
|
|
1057
|
-
};
|
|
1058
|
-
const de_SqlRecords = (output, context) => {
|
|
1059
|
-
const retVal = (output || [])
|
|
1060
|
-
.filter((e) => e != null)
|
|
1061
|
-
.map((entry) => {
|
|
1062
|
-
return de_FieldList(entry, context);
|
|
1063
|
-
});
|
|
1064
|
-
return retVal;
|
|
1065
|
-
};
|
|
1066
|
-
const de_SqlStatementResult = (output, context) => {
|
|
1067
|
-
return smithyClient.take(output, {
|
|
1068
|
-
numberOfRecordsUpdated: smithyClient.expectLong,
|
|
1069
|
-
resultFrame: (_) => de_ResultFrame(_, context),
|
|
1070
|
-
});
|
|
1071
|
-
};
|
|
1072
|
-
const de_SqlStatementResults = (output, context) => {
|
|
1073
|
-
const retVal = (output || [])
|
|
1074
|
-
.filter((e) => e != null)
|
|
1075
|
-
.map((entry) => {
|
|
1076
|
-
return de_SqlStatementResult(entry, context);
|
|
1077
|
-
});
|
|
1078
|
-
return retVal;
|
|
1079
|
-
};
|
|
1080
|
-
const de_StructValue = (output, context) => {
|
|
1081
|
-
return smithyClient.take(output, {
|
|
1082
|
-
attributes: (_) => de_ArrayValueList(_, context),
|
|
1083
|
-
});
|
|
1084
|
-
};
|
|
1085
|
-
const de_UpdateResult = (output, context) => {
|
|
1086
|
-
return smithyClient.take(output, {
|
|
1087
|
-
generatedFields: (_) => de_FieldList(_, context),
|
|
1088
|
-
});
|
|
1089
|
-
};
|
|
1090
|
-
const de_UpdateResults = (output, context) => {
|
|
1091
|
-
const retVal = (output || [])
|
|
1092
|
-
.filter((e) => e != null)
|
|
1093
|
-
.map((entry) => {
|
|
1094
|
-
return de_UpdateResult(entry, context);
|
|
1095
|
-
});
|
|
1096
|
-
return retVal;
|
|
1097
|
-
};
|
|
1098
|
-
const de_Value = (output, context) => {
|
|
1099
|
-
if (output.arrayValues != null) {
|
|
1100
|
-
return {
|
|
1101
|
-
arrayValues: de_ArrayValueList(output.arrayValues, context),
|
|
1102
|
-
};
|
|
1103
|
-
}
|
|
1104
|
-
if (smithyClient.expectLong(output.bigIntValue) !== undefined) {
|
|
1105
|
-
return { bigIntValue: smithyClient.expectLong(output.bigIntValue) };
|
|
1106
|
-
}
|
|
1107
|
-
if (smithyClient.expectBoolean(output.bitValue) !== undefined) {
|
|
1108
|
-
return { bitValue: smithyClient.expectBoolean(output.bitValue) };
|
|
1109
|
-
}
|
|
1110
|
-
if (output.blobValue != null) {
|
|
1111
|
-
return {
|
|
1112
|
-
blobValue: context.base64Decoder(output.blobValue),
|
|
1113
|
-
};
|
|
1114
|
-
}
|
|
1115
|
-
if (smithyClient.limitedParseDouble(output.doubleValue) !== undefined) {
|
|
1116
|
-
return { doubleValue: smithyClient.limitedParseDouble(output.doubleValue) };
|
|
1117
|
-
}
|
|
1118
|
-
if (smithyClient.expectInt32(output.intValue) !== undefined) {
|
|
1119
|
-
return { intValue: smithyClient.expectInt32(output.intValue) };
|
|
1120
|
-
}
|
|
1121
|
-
if (smithyClient.expectBoolean(output.isNull) !== undefined) {
|
|
1122
|
-
return { isNull: smithyClient.expectBoolean(output.isNull) };
|
|
1123
|
-
}
|
|
1124
|
-
if (smithyClient.limitedParseFloat32(output.realValue) !== undefined) {
|
|
1125
|
-
return { realValue: smithyClient.limitedParseFloat32(output.realValue) };
|
|
1126
|
-
}
|
|
1127
|
-
if (smithyClient.expectString(output.stringValue) !== undefined) {
|
|
1128
|
-
return { stringValue: smithyClient.expectString(output.stringValue) };
|
|
1129
|
-
}
|
|
1130
|
-
if (output.structValue != null) {
|
|
1131
|
-
return {
|
|
1132
|
-
structValue: de_StructValue(output.structValue, context),
|
|
1133
|
-
};
|
|
1134
|
-
}
|
|
1135
|
-
return { $unknown: Object.entries(output)[0] };
|
|
1136
345
|
};
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
346
|
+
|
|
347
|
+
const _ADE = "AccessDeniedException";
|
|
348
|
+
const _AOA = "ArrayOfArray";
|
|
349
|
+
const _AV = "ArrayValue";
|
|
350
|
+
const _AVL = "ArrayValueList";
|
|
351
|
+
const _BES = "BatchExecuteStatement";
|
|
352
|
+
const _BESR = "BatchExecuteStatementRequest";
|
|
353
|
+
const _BESRa = "BatchExecuteStatementResponse";
|
|
354
|
+
const _BRE = "BadRequestException";
|
|
355
|
+
const _BT = "BeginTransaction";
|
|
356
|
+
const _BTR = "BeginTransactionRequest";
|
|
357
|
+
const _BTRe = "BeginTransactionResponse";
|
|
358
|
+
const _CM = "ColumnMetadata";
|
|
359
|
+
const _CT = "CommitTransaction";
|
|
360
|
+
const _CTR = "CommitTransactionRequest";
|
|
361
|
+
const _CTRo = "CommitTransactionResponse";
|
|
362
|
+
const _DEE = "DatabaseErrorException";
|
|
363
|
+
const _DNFE = "DatabaseNotFoundException";
|
|
364
|
+
const _DRE = "DatabaseResumingException";
|
|
365
|
+
const _DUE = "DatabaseUnavailableException";
|
|
366
|
+
const _ES = "ExecuteSql";
|
|
367
|
+
const _ESR = "ExecuteSqlRequest";
|
|
368
|
+
const _ESRx = "ExecuteSqlResponse";
|
|
369
|
+
const _ESRxe = "ExecuteStatementRequest";
|
|
370
|
+
const _ESRxec = "ExecuteStatementResponse";
|
|
371
|
+
const _ESx = "ExecuteStatement";
|
|
372
|
+
const _F = "Field";
|
|
373
|
+
const _FE = "ForbiddenException";
|
|
374
|
+
const _FL = "FieldList";
|
|
375
|
+
const _HENEE = "HttpEndpointNotEnabledException";
|
|
376
|
+
const _IRSE = "InvalidResourceStateException";
|
|
377
|
+
const _ISE = "InvalidSecretException";
|
|
378
|
+
const _ISEE = "InternalServerErrorException";
|
|
379
|
+
const _M = "Metadata";
|
|
380
|
+
const _NFE = "NotFoundException";
|
|
381
|
+
const _R = "Record";
|
|
382
|
+
const _RF = "ResultFrame";
|
|
383
|
+
const _RSM = "ResultSetMetadata";
|
|
384
|
+
const _RSO = "ResultSetOptions";
|
|
385
|
+
const _RT = "RollbackTransaction";
|
|
386
|
+
const _RTR = "RollbackTransactionRequest";
|
|
387
|
+
const _RTRo = "RollbackTransactionResponse";
|
|
388
|
+
const _Re = "Records";
|
|
389
|
+
const _Ro = "Row";
|
|
390
|
+
const _SEE = "SecretsErrorException";
|
|
391
|
+
const _SP = "SqlParameter";
|
|
392
|
+
const _SPL = "SqlParametersList";
|
|
393
|
+
const _SPS = "SqlParameterSets";
|
|
394
|
+
const _SR = "SqlRecords";
|
|
395
|
+
const _SSR = "SqlStatementResult";
|
|
396
|
+
const _SSRq = "SqlStatementResults";
|
|
397
|
+
const _STE = "StatementTimeoutException";
|
|
398
|
+
const _SUE = "ServiceUnavailableError";
|
|
399
|
+
const _SV = "StructValue";
|
|
400
|
+
const _TNFE = "TransactionNotFoundException";
|
|
401
|
+
const _UR = "UpdateResult";
|
|
402
|
+
const _URE = "UnsupportedResultException";
|
|
403
|
+
const _URp = "UpdateResults";
|
|
404
|
+
const _V = "Value";
|
|
405
|
+
const _a = "attributes";
|
|
406
|
+
const _aBCT = "arrayBaseColumnType";
|
|
407
|
+
const _aSSA = "awsSecretStoreArn";
|
|
408
|
+
const _aV = "arrayValues";
|
|
409
|
+
const _aVr = "arrayValue";
|
|
410
|
+
const _bIV = "bigIntValue";
|
|
411
|
+
const _bV = "booleanValues";
|
|
412
|
+
const _bVi = "bitValue";
|
|
413
|
+
const _bVl = "blobValue";
|
|
414
|
+
const _bVo = "booleanValue";
|
|
415
|
+
const _c = "client";
|
|
416
|
+
const _cAT = "continueAfterTimeout";
|
|
417
|
+
const _cC = "columnCount";
|
|
418
|
+
const _cM = "columnMetadata";
|
|
419
|
+
const _d = "database";
|
|
420
|
+
const _dCI = "dbConnectionId";
|
|
421
|
+
const _dCOIA = "dbClusterOrInstanceArn";
|
|
422
|
+
const _dRT = "decimalReturnType";
|
|
423
|
+
const _dV = "doubleValues";
|
|
424
|
+
const _dVo = "doubleValue";
|
|
425
|
+
const _e = "error";
|
|
426
|
+
const _fR = "formattedRecords";
|
|
427
|
+
const _fRA = "formatRecordsAs";
|
|
428
|
+
const _gF = "generatedFields";
|
|
429
|
+
const _h = "http";
|
|
430
|
+
const _hE = "httpError";
|
|
431
|
+
const _iAI = "isAutoIncrement";
|
|
432
|
+
const _iC = "isCurrency";
|
|
433
|
+
const _iCS = "isCaseSensitive";
|
|
434
|
+
const _iN = "isNull";
|
|
435
|
+
const _iRM = "includeResultMetadata";
|
|
436
|
+
const _iS = "isSigned";
|
|
437
|
+
const _iV = "intValue";
|
|
438
|
+
const _l = "label";
|
|
439
|
+
const _lRT = "longReturnType";
|
|
440
|
+
const _lV = "longValues";
|
|
441
|
+
const _lVo = "longValue";
|
|
442
|
+
const _m = "message";
|
|
443
|
+
const _n = "name";
|
|
444
|
+
const _nORU = "numberOfRecordsUpdated";
|
|
445
|
+
const _nu = "nullable";
|
|
446
|
+
const _p = "precision";
|
|
447
|
+
const _pS = "parameterSets";
|
|
448
|
+
const _pa = "parameters";
|
|
449
|
+
const _r = "records";
|
|
450
|
+
const _rA = "resourceArn";
|
|
451
|
+
const _rF = "resultFrame";
|
|
452
|
+
const _rSM = "resultSetMetadata";
|
|
453
|
+
const _rSO = "resultSetOptions";
|
|
454
|
+
const _rV = "realValue";
|
|
455
|
+
const _s = "sql";
|
|
456
|
+
const _sA = "secretArn";
|
|
457
|
+
const _sN = "schemaName";
|
|
458
|
+
const _sS = "sqlStatements";
|
|
459
|
+
const _sSR = "sqlStatementResults";
|
|
460
|
+
const _sV = "stringValues";
|
|
461
|
+
const _sVt = "stringValue";
|
|
462
|
+
const _sVtr = "structValue";
|
|
463
|
+
const _sc = "schema";
|
|
464
|
+
const _sca = "scale";
|
|
465
|
+
const _se = "server";
|
|
466
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rdsdata";
|
|
467
|
+
const _t = "type";
|
|
468
|
+
const _tH = "typeHint";
|
|
469
|
+
const _tI = "transactionId";
|
|
470
|
+
const _tN = "typeName";
|
|
471
|
+
const _tNa = "tableName";
|
|
472
|
+
const _tS = "transactionStatus";
|
|
473
|
+
const _uR = "updateResults";
|
|
474
|
+
const _v = "values";
|
|
475
|
+
const _va = "value";
|
|
476
|
+
const n0 = "com.amazonaws.rdsdata";
|
|
477
|
+
var AccessDeniedException = [
|
|
478
|
+
-3,
|
|
479
|
+
n0,
|
|
480
|
+
_ADE,
|
|
481
|
+
{
|
|
482
|
+
[_e]: _c,
|
|
483
|
+
[_hE]: 403,
|
|
484
|
+
},
|
|
485
|
+
[_m],
|
|
486
|
+
[0],
|
|
487
|
+
];
|
|
488
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
489
|
+
var BadRequestException = [
|
|
490
|
+
-3,
|
|
491
|
+
n0,
|
|
492
|
+
_BRE,
|
|
493
|
+
{
|
|
494
|
+
[_e]: _c,
|
|
495
|
+
[_hE]: 400,
|
|
496
|
+
},
|
|
497
|
+
[_m],
|
|
498
|
+
[0],
|
|
499
|
+
];
|
|
500
|
+
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
501
|
+
var BatchExecuteStatementRequest = [
|
|
502
|
+
3,
|
|
503
|
+
n0,
|
|
504
|
+
_BESR,
|
|
505
|
+
0,
|
|
506
|
+
[_rA, _sA, _s, _d, _sc, _pS, _tI],
|
|
507
|
+
[0, 0, 0, 0, 0, () => SqlParameterSets, 0],
|
|
508
|
+
];
|
|
509
|
+
var BatchExecuteStatementResponse = [3, n0, _BESRa, 0, [_uR], [() => UpdateResults]];
|
|
510
|
+
var BeginTransactionRequest = [3, n0, _BTR, 0, [_rA, _sA, _d, _sc], [0, 0, 0, 0]];
|
|
511
|
+
var BeginTransactionResponse = [3, n0, _BTRe, 0, [_tI], [0]];
|
|
512
|
+
var ColumnMetadata = [
|
|
513
|
+
3,
|
|
514
|
+
n0,
|
|
515
|
+
_CM,
|
|
516
|
+
0,
|
|
517
|
+
[_n, _t, _tN, _l, _sN, _tNa, _iAI, _iS, _iC, _iCS, _nu, _p, _sca, _aBCT],
|
|
518
|
+
[0, 1, 0, 0, 0, 0, 2, 2, 2, 2, 1, 1, 1, 1],
|
|
519
|
+
];
|
|
520
|
+
var CommitTransactionRequest = [3, n0, _CTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
|
|
521
|
+
var CommitTransactionResponse = [3, n0, _CTRo, 0, [_tS], [0]];
|
|
522
|
+
var DatabaseErrorException = [
|
|
523
|
+
-3,
|
|
524
|
+
n0,
|
|
525
|
+
_DEE,
|
|
526
|
+
{
|
|
527
|
+
[_e]: _c,
|
|
528
|
+
[_hE]: 400,
|
|
529
|
+
},
|
|
530
|
+
[_m],
|
|
531
|
+
[0],
|
|
532
|
+
];
|
|
533
|
+
schema.TypeRegistry.for(n0).registerError(DatabaseErrorException, DatabaseErrorException$1);
|
|
534
|
+
var DatabaseNotFoundException = [
|
|
535
|
+
-3,
|
|
536
|
+
n0,
|
|
537
|
+
_DNFE,
|
|
538
|
+
{
|
|
539
|
+
[_e]: _c,
|
|
540
|
+
[_hE]: 404,
|
|
541
|
+
},
|
|
542
|
+
[_m],
|
|
543
|
+
[0],
|
|
544
|
+
];
|
|
545
|
+
schema.TypeRegistry.for(n0).registerError(DatabaseNotFoundException, DatabaseNotFoundException$1);
|
|
546
|
+
var DatabaseResumingException = [
|
|
547
|
+
-3,
|
|
548
|
+
n0,
|
|
549
|
+
_DRE,
|
|
550
|
+
{
|
|
551
|
+
[_e]: _c,
|
|
552
|
+
[_hE]: 400,
|
|
553
|
+
},
|
|
554
|
+
[_m],
|
|
555
|
+
[0],
|
|
556
|
+
];
|
|
557
|
+
schema.TypeRegistry.for(n0).registerError(DatabaseResumingException, DatabaseResumingException$1);
|
|
558
|
+
var DatabaseUnavailableException = [
|
|
559
|
+
-3,
|
|
560
|
+
n0,
|
|
561
|
+
_DUE,
|
|
562
|
+
{
|
|
563
|
+
[_e]: _se,
|
|
564
|
+
[_hE]: 504,
|
|
565
|
+
},
|
|
566
|
+
[],
|
|
567
|
+
[],
|
|
568
|
+
];
|
|
569
|
+
schema.TypeRegistry.for(n0).registerError(DatabaseUnavailableException, DatabaseUnavailableException$1);
|
|
570
|
+
var ExecuteSqlRequest = [3, n0, _ESR, 0, [_dCOIA, _aSSA, _sS, _d, _sc], [0, 0, 0, 0, 0]];
|
|
571
|
+
var ExecuteSqlResponse = [3, n0, _ESRx, 0, [_sSR], [() => SqlStatementResults]];
|
|
572
|
+
var ExecuteStatementRequest = [
|
|
573
|
+
3,
|
|
574
|
+
n0,
|
|
575
|
+
_ESRxe,
|
|
576
|
+
0,
|
|
577
|
+
[_rA, _sA, _s, _d, _sc, _pa, _tI, _iRM, _cAT, _rSO, _fRA],
|
|
578
|
+
[0, 0, 0, 0, 0, () => SqlParametersList, 0, 2, 2, () => ResultSetOptions, 0],
|
|
579
|
+
];
|
|
580
|
+
var ExecuteStatementResponse = [
|
|
581
|
+
3,
|
|
582
|
+
n0,
|
|
583
|
+
_ESRxec,
|
|
584
|
+
0,
|
|
585
|
+
[_r, _cM, _nORU, _gF, _fR],
|
|
586
|
+
[() => SqlRecords, () => Metadata, 1, () => FieldList, 0],
|
|
587
|
+
];
|
|
588
|
+
var ForbiddenException = [
|
|
589
|
+
-3,
|
|
590
|
+
n0,
|
|
591
|
+
_FE,
|
|
592
|
+
{
|
|
593
|
+
[_e]: _c,
|
|
594
|
+
[_hE]: 403,
|
|
595
|
+
},
|
|
596
|
+
[_m],
|
|
597
|
+
[0],
|
|
598
|
+
];
|
|
599
|
+
schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
|
|
600
|
+
var HttpEndpointNotEnabledException = [
|
|
601
|
+
-3,
|
|
602
|
+
n0,
|
|
603
|
+
_HENEE,
|
|
604
|
+
{
|
|
605
|
+
[_e]: _c,
|
|
606
|
+
[_hE]: 400,
|
|
607
|
+
},
|
|
608
|
+
[_m],
|
|
609
|
+
[0],
|
|
610
|
+
];
|
|
611
|
+
schema.TypeRegistry.for(n0).registerError(HttpEndpointNotEnabledException, HttpEndpointNotEnabledException$1);
|
|
612
|
+
var InternalServerErrorException = [
|
|
613
|
+
-3,
|
|
614
|
+
n0,
|
|
615
|
+
_ISEE,
|
|
616
|
+
{
|
|
617
|
+
[_e]: _se,
|
|
618
|
+
[_hE]: 500,
|
|
619
|
+
},
|
|
620
|
+
[],
|
|
621
|
+
[],
|
|
622
|
+
];
|
|
623
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
|
|
624
|
+
var InvalidResourceStateException = [
|
|
625
|
+
-3,
|
|
626
|
+
n0,
|
|
627
|
+
_IRSE,
|
|
628
|
+
{
|
|
629
|
+
[_e]: _c,
|
|
630
|
+
[_hE]: 400,
|
|
631
|
+
},
|
|
632
|
+
[_m],
|
|
633
|
+
[0],
|
|
634
|
+
];
|
|
635
|
+
schema.TypeRegistry.for(n0).registerError(InvalidResourceStateException, InvalidResourceStateException$1);
|
|
636
|
+
var InvalidSecretException = [
|
|
637
|
+
-3,
|
|
638
|
+
n0,
|
|
639
|
+
_ISE,
|
|
640
|
+
{
|
|
641
|
+
[_e]: _c,
|
|
642
|
+
[_hE]: 400,
|
|
643
|
+
},
|
|
644
|
+
[_m],
|
|
645
|
+
[0],
|
|
646
|
+
];
|
|
647
|
+
schema.TypeRegistry.for(n0).registerError(InvalidSecretException, InvalidSecretException$1);
|
|
648
|
+
var NotFoundException = [
|
|
649
|
+
-3,
|
|
650
|
+
n0,
|
|
651
|
+
_NFE,
|
|
652
|
+
{
|
|
653
|
+
[_e]: _c,
|
|
654
|
+
[_hE]: 404,
|
|
655
|
+
},
|
|
656
|
+
[_m],
|
|
657
|
+
[0],
|
|
658
|
+
];
|
|
659
|
+
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
660
|
+
var _Record = [3, n0, _R, 0, [_v], [() => Row]];
|
|
661
|
+
var ResultFrame = [3, n0, _RF, 0, [_rSM, _r], [() => ResultSetMetadata, () => Records]];
|
|
662
|
+
var ResultSetMetadata = [3, n0, _RSM, 0, [_cC, _cM], [1, () => Metadata]];
|
|
663
|
+
var ResultSetOptions = [3, n0, _RSO, 0, [_dRT, _lRT], [0, 0]];
|
|
664
|
+
var RollbackTransactionRequest = [3, n0, _RTR, 0, [_rA, _sA, _tI], [0, 0, 0]];
|
|
665
|
+
var RollbackTransactionResponse = [3, n0, _RTRo, 0, [_tS], [0]];
|
|
666
|
+
var SecretsErrorException = [
|
|
667
|
+
-3,
|
|
668
|
+
n0,
|
|
669
|
+
_SEE,
|
|
670
|
+
{
|
|
671
|
+
[_e]: _c,
|
|
672
|
+
[_hE]: 400,
|
|
673
|
+
},
|
|
674
|
+
[_m],
|
|
675
|
+
[0],
|
|
676
|
+
];
|
|
677
|
+
schema.TypeRegistry.for(n0).registerError(SecretsErrorException, SecretsErrorException$1);
|
|
678
|
+
var ServiceUnavailableError = [
|
|
679
|
+
-3,
|
|
680
|
+
n0,
|
|
681
|
+
_SUE,
|
|
682
|
+
{
|
|
683
|
+
[_e]: _se,
|
|
684
|
+
[_hE]: 503,
|
|
685
|
+
},
|
|
686
|
+
[],
|
|
687
|
+
[],
|
|
688
|
+
];
|
|
689
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableError, ServiceUnavailableError$1);
|
|
690
|
+
var SqlParameter = [3, n0, _SP, 0, [_n, _va, _tH], [0, () => Field, 0]];
|
|
691
|
+
var SqlStatementResult = [3, n0, _SSR, 0, [_rF, _nORU], [() => ResultFrame, 1]];
|
|
692
|
+
var StatementTimeoutException = [
|
|
693
|
+
-3,
|
|
694
|
+
n0,
|
|
695
|
+
_STE,
|
|
696
|
+
{
|
|
697
|
+
[_e]: _c,
|
|
698
|
+
[_hE]: 400,
|
|
699
|
+
},
|
|
700
|
+
[_m, _dCI],
|
|
701
|
+
[0, 1],
|
|
702
|
+
];
|
|
703
|
+
schema.TypeRegistry.for(n0).registerError(StatementTimeoutException, StatementTimeoutException$1);
|
|
704
|
+
var StructValue = [3, n0, _SV, 0, [_a], [() => ArrayValueList]];
|
|
705
|
+
var TransactionNotFoundException = [
|
|
706
|
+
-3,
|
|
707
|
+
n0,
|
|
708
|
+
_TNFE,
|
|
709
|
+
{
|
|
710
|
+
[_e]: _c,
|
|
711
|
+
[_hE]: 404,
|
|
712
|
+
},
|
|
713
|
+
[_m],
|
|
714
|
+
[0],
|
|
715
|
+
];
|
|
716
|
+
schema.TypeRegistry.for(n0).registerError(TransactionNotFoundException, TransactionNotFoundException$1);
|
|
717
|
+
var UnsupportedResultException = [
|
|
718
|
+
-3,
|
|
719
|
+
n0,
|
|
720
|
+
_URE,
|
|
721
|
+
{
|
|
722
|
+
[_e]: _c,
|
|
723
|
+
[_hE]: 400,
|
|
724
|
+
},
|
|
725
|
+
[_m],
|
|
726
|
+
[0],
|
|
727
|
+
];
|
|
728
|
+
schema.TypeRegistry.for(n0).registerError(UnsupportedResultException, UnsupportedResultException$1);
|
|
729
|
+
var UpdateResult = [3, n0, _UR, 0, [_gF], [() => FieldList]];
|
|
730
|
+
var RDSDataServiceException = [-3, _sm, "RDSDataServiceException", 0, [], []];
|
|
731
|
+
schema.TypeRegistry.for(_sm).registerError(RDSDataServiceException, RDSDataServiceException$1);
|
|
732
|
+
var ArrayOfArray = [1, n0, _AOA, 0, () => ArrayValue];
|
|
733
|
+
var ArrayValueList = [1, n0, _AVL, 0, () => Value];
|
|
734
|
+
var FieldList = [1, n0, _FL, 0, () => Field];
|
|
735
|
+
var Metadata = [1, n0, _M, 0, () => ColumnMetadata];
|
|
736
|
+
var Records = [1, n0, _Re, 0, () => _Record];
|
|
737
|
+
var Row = [1, n0, _Ro, 0, () => Value];
|
|
738
|
+
var SqlParameterSets = [1, n0, _SPS, 0, () => SqlParametersList];
|
|
739
|
+
var SqlParametersList = [1, n0, _SPL, 0, () => SqlParameter];
|
|
740
|
+
var SqlRecords = [1, n0, _SR, 0, () => FieldList];
|
|
741
|
+
var SqlStatementResults = [1, n0, _SSRq, 0, () => SqlStatementResult];
|
|
742
|
+
var UpdateResults = [1, n0, _URp, 0, () => UpdateResult];
|
|
743
|
+
var ArrayValue = [
|
|
744
|
+
3,
|
|
745
|
+
n0,
|
|
746
|
+
_AV,
|
|
747
|
+
0,
|
|
748
|
+
[_bV, _lV, _dV, _sV, _aV],
|
|
749
|
+
[64 | 2, 64 | 1, 64 | 1, 64 | 0, () => ArrayOfArray],
|
|
750
|
+
];
|
|
751
|
+
var Field = [
|
|
752
|
+
3,
|
|
753
|
+
n0,
|
|
754
|
+
_F,
|
|
755
|
+
0,
|
|
756
|
+
[_iN, _bVo, _lVo, _dVo, _sVt, _bVl, _aVr],
|
|
757
|
+
[2, 2, 1, 1, 0, 21, () => ArrayValue],
|
|
758
|
+
];
|
|
759
|
+
var Value = [
|
|
760
|
+
3,
|
|
761
|
+
n0,
|
|
762
|
+
_V,
|
|
763
|
+
0,
|
|
764
|
+
[_iN, _bVi, _bIV, _iV, _dVo, _rV, _sVt, _bVl, _aV, _sVtr],
|
|
765
|
+
[2, 2, 1, 1, 1, 1, 0, 21, () => ArrayValueList, () => StructValue],
|
|
766
|
+
];
|
|
767
|
+
var BatchExecuteStatement = [
|
|
768
|
+
9,
|
|
769
|
+
n0,
|
|
770
|
+
_BES,
|
|
771
|
+
{
|
|
772
|
+
[_h]: ["POST", "/BatchExecute", 200],
|
|
773
|
+
},
|
|
774
|
+
() => BatchExecuteStatementRequest,
|
|
775
|
+
() => BatchExecuteStatementResponse,
|
|
776
|
+
];
|
|
777
|
+
var BeginTransaction = [
|
|
778
|
+
9,
|
|
779
|
+
n0,
|
|
780
|
+
_BT,
|
|
781
|
+
{
|
|
782
|
+
[_h]: ["POST", "/BeginTransaction", 200],
|
|
783
|
+
},
|
|
784
|
+
() => BeginTransactionRequest,
|
|
785
|
+
() => BeginTransactionResponse,
|
|
786
|
+
];
|
|
787
|
+
var CommitTransaction = [
|
|
788
|
+
9,
|
|
789
|
+
n0,
|
|
790
|
+
_CT,
|
|
791
|
+
{
|
|
792
|
+
[_h]: ["POST", "/CommitTransaction", 200],
|
|
793
|
+
},
|
|
794
|
+
() => CommitTransactionRequest,
|
|
795
|
+
() => CommitTransactionResponse,
|
|
796
|
+
];
|
|
797
|
+
var ExecuteSql = [
|
|
798
|
+
9,
|
|
799
|
+
n0,
|
|
800
|
+
_ES,
|
|
801
|
+
{
|
|
802
|
+
[_h]: ["POST", "/ExecuteSql", 200],
|
|
803
|
+
},
|
|
804
|
+
() => ExecuteSqlRequest,
|
|
805
|
+
() => ExecuteSqlResponse,
|
|
806
|
+
];
|
|
807
|
+
var ExecuteStatement = [
|
|
808
|
+
9,
|
|
809
|
+
n0,
|
|
810
|
+
_ESx,
|
|
811
|
+
{
|
|
812
|
+
[_h]: ["POST", "/Execute", 200],
|
|
813
|
+
},
|
|
814
|
+
() => ExecuteStatementRequest,
|
|
815
|
+
() => ExecuteStatementResponse,
|
|
816
|
+
];
|
|
817
|
+
var RollbackTransaction = [
|
|
818
|
+
9,
|
|
819
|
+
n0,
|
|
820
|
+
_RT,
|
|
821
|
+
{
|
|
822
|
+
[_h]: ["POST", "/RollbackTransaction", 200],
|
|
823
|
+
},
|
|
824
|
+
() => RollbackTransactionRequest,
|
|
825
|
+
() => RollbackTransactionResponse,
|
|
826
|
+
];
|
|
1143
827
|
|
|
1144
828
|
class BatchExecuteStatementCommand extends smithyClient.Command
|
|
1145
829
|
.classBuilder()
|
|
1146
830
|
.ep(commonParams)
|
|
1147
831
|
.m(function (Command, cs, config, o) {
|
|
1148
|
-
return [
|
|
1149
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1150
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1151
|
-
];
|
|
832
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1152
833
|
})
|
|
1153
834
|
.s("RdsDataService", "BatchExecuteStatement", {})
|
|
1154
835
|
.n("RDSDataClient", "BatchExecuteStatementCommand")
|
|
1155
|
-
.
|
|
1156
|
-
.ser(se_BatchExecuteStatementCommand)
|
|
1157
|
-
.de(de_BatchExecuteStatementCommand)
|
|
836
|
+
.sc(BatchExecuteStatement)
|
|
1158
837
|
.build() {
|
|
1159
838
|
}
|
|
1160
839
|
|
|
@@ -1162,16 +841,11 @@ class BeginTransactionCommand extends smithyClient.Command
|
|
|
1162
841
|
.classBuilder()
|
|
1163
842
|
.ep(commonParams)
|
|
1164
843
|
.m(function (Command, cs, config, o) {
|
|
1165
|
-
return [
|
|
1166
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1167
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1168
|
-
];
|
|
844
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1169
845
|
})
|
|
1170
846
|
.s("RdsDataService", "BeginTransaction", {})
|
|
1171
847
|
.n("RDSDataClient", "BeginTransactionCommand")
|
|
1172
|
-
.
|
|
1173
|
-
.ser(se_BeginTransactionCommand)
|
|
1174
|
-
.de(de_BeginTransactionCommand)
|
|
848
|
+
.sc(BeginTransaction)
|
|
1175
849
|
.build() {
|
|
1176
850
|
}
|
|
1177
851
|
|
|
@@ -1179,16 +853,11 @@ class CommitTransactionCommand extends smithyClient.Command
|
|
|
1179
853
|
.classBuilder()
|
|
1180
854
|
.ep(commonParams)
|
|
1181
855
|
.m(function (Command, cs, config, o) {
|
|
1182
|
-
return [
|
|
1183
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1184
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1185
|
-
];
|
|
856
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1186
857
|
})
|
|
1187
858
|
.s("RdsDataService", "CommitTransaction", {})
|
|
1188
859
|
.n("RDSDataClient", "CommitTransactionCommand")
|
|
1189
|
-
.
|
|
1190
|
-
.ser(se_CommitTransactionCommand)
|
|
1191
|
-
.de(de_CommitTransactionCommand)
|
|
860
|
+
.sc(CommitTransaction)
|
|
1192
861
|
.build() {
|
|
1193
862
|
}
|
|
1194
863
|
|
|
@@ -1196,16 +865,11 @@ class ExecuteSqlCommand extends smithyClient.Command
|
|
|
1196
865
|
.classBuilder()
|
|
1197
866
|
.ep(commonParams)
|
|
1198
867
|
.m(function (Command, cs, config, o) {
|
|
1199
|
-
return [
|
|
1200
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1201
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1202
|
-
];
|
|
868
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1203
869
|
})
|
|
1204
870
|
.s("RdsDataService", "ExecuteSql", {})
|
|
1205
871
|
.n("RDSDataClient", "ExecuteSqlCommand")
|
|
1206
|
-
.
|
|
1207
|
-
.ser(se_ExecuteSqlCommand)
|
|
1208
|
-
.de(de_ExecuteSqlCommand)
|
|
872
|
+
.sc(ExecuteSql)
|
|
1209
873
|
.build() {
|
|
1210
874
|
}
|
|
1211
875
|
|
|
@@ -1213,16 +877,11 @@ class ExecuteStatementCommand extends smithyClient.Command
|
|
|
1213
877
|
.classBuilder()
|
|
1214
878
|
.ep(commonParams)
|
|
1215
879
|
.m(function (Command, cs, config, o) {
|
|
1216
|
-
return [
|
|
1217
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1218
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1219
|
-
];
|
|
880
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1220
881
|
})
|
|
1221
882
|
.s("RdsDataService", "ExecuteStatement", {})
|
|
1222
883
|
.n("RDSDataClient", "ExecuteStatementCommand")
|
|
1223
|
-
.
|
|
1224
|
-
.ser(se_ExecuteStatementCommand)
|
|
1225
|
-
.de(de_ExecuteStatementCommand)
|
|
884
|
+
.sc(ExecuteStatement)
|
|
1226
885
|
.build() {
|
|
1227
886
|
}
|
|
1228
887
|
|
|
@@ -1230,16 +889,11 @@ class RollbackTransactionCommand extends smithyClient.Command
|
|
|
1230
889
|
.classBuilder()
|
|
1231
890
|
.ep(commonParams)
|
|
1232
891
|
.m(function (Command, cs, config, o) {
|
|
1233
|
-
return [
|
|
1234
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1235
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1236
|
-
];
|
|
892
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1237
893
|
})
|
|
1238
894
|
.s("RdsDataService", "RollbackTransaction", {})
|
|
1239
895
|
.n("RDSDataClient", "RollbackTransactionCommand")
|
|
1240
|
-
.
|
|
1241
|
-
.ser(se_RollbackTransactionCommand)
|
|
1242
|
-
.de(de_RollbackTransactionCommand)
|
|
896
|
+
.sc(RollbackTransaction)
|
|
1243
897
|
.build() {
|
|
1244
898
|
}
|
|
1245
899
|
|
|
@@ -1263,33 +917,33 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1263
917
|
enumerable: true,
|
|
1264
918
|
get: function () { return smithyClient.Client; }
|
|
1265
919
|
});
|
|
1266
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1267
|
-
exports.BadRequestException = BadRequestException;
|
|
920
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
921
|
+
exports.BadRequestException = BadRequestException$1;
|
|
1268
922
|
exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
|
|
1269
923
|
exports.BeginTransactionCommand = BeginTransactionCommand;
|
|
1270
924
|
exports.CommitTransactionCommand = CommitTransactionCommand;
|
|
1271
|
-
exports.DatabaseErrorException = DatabaseErrorException;
|
|
1272
|
-
exports.DatabaseNotFoundException = DatabaseNotFoundException;
|
|
1273
|
-
exports.DatabaseResumingException = DatabaseResumingException;
|
|
1274
|
-
exports.DatabaseUnavailableException = DatabaseUnavailableException;
|
|
925
|
+
exports.DatabaseErrorException = DatabaseErrorException$1;
|
|
926
|
+
exports.DatabaseNotFoundException = DatabaseNotFoundException$1;
|
|
927
|
+
exports.DatabaseResumingException = DatabaseResumingException$1;
|
|
928
|
+
exports.DatabaseUnavailableException = DatabaseUnavailableException$1;
|
|
1275
929
|
exports.DecimalReturnType = DecimalReturnType;
|
|
1276
930
|
exports.ExecuteSqlCommand = ExecuteSqlCommand;
|
|
1277
931
|
exports.ExecuteStatementCommand = ExecuteStatementCommand;
|
|
1278
|
-
exports.ForbiddenException = ForbiddenException;
|
|
1279
|
-
exports.HttpEndpointNotEnabledException = HttpEndpointNotEnabledException;
|
|
1280
|
-
exports.InternalServerErrorException = InternalServerErrorException;
|
|
1281
|
-
exports.InvalidResourceStateException = InvalidResourceStateException;
|
|
1282
|
-
exports.InvalidSecretException = InvalidSecretException;
|
|
932
|
+
exports.ForbiddenException = ForbiddenException$1;
|
|
933
|
+
exports.HttpEndpointNotEnabledException = HttpEndpointNotEnabledException$1;
|
|
934
|
+
exports.InternalServerErrorException = InternalServerErrorException$1;
|
|
935
|
+
exports.InvalidResourceStateException = InvalidResourceStateException$1;
|
|
936
|
+
exports.InvalidSecretException = InvalidSecretException$1;
|
|
1283
937
|
exports.LongReturnType = LongReturnType;
|
|
1284
|
-
exports.NotFoundException = NotFoundException;
|
|
938
|
+
exports.NotFoundException = NotFoundException$1;
|
|
1285
939
|
exports.RDSData = RDSData;
|
|
1286
940
|
exports.RDSDataClient = RDSDataClient;
|
|
1287
|
-
exports.RDSDataServiceException = RDSDataServiceException;
|
|
941
|
+
exports.RDSDataServiceException = RDSDataServiceException$1;
|
|
1288
942
|
exports.RecordsFormatType = RecordsFormatType;
|
|
1289
943
|
exports.RollbackTransactionCommand = RollbackTransactionCommand;
|
|
1290
|
-
exports.SecretsErrorException = SecretsErrorException;
|
|
1291
|
-
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
1292
|
-
exports.StatementTimeoutException = StatementTimeoutException;
|
|
1293
|
-
exports.TransactionNotFoundException = TransactionNotFoundException;
|
|
944
|
+
exports.SecretsErrorException = SecretsErrorException$1;
|
|
945
|
+
exports.ServiceUnavailableError = ServiceUnavailableError$1;
|
|
946
|
+
exports.StatementTimeoutException = StatementTimeoutException$1;
|
|
947
|
+
exports.TransactionNotFoundException = TransactionNotFoundException$1;
|
|
1294
948
|
exports.TypeHint = TypeHint;
|
|
1295
|
-
exports.UnsupportedResultException = UnsupportedResultException;
|
|
949
|
+
exports.UnsupportedResultException = UnsupportedResultException$1;
|