@aws-sdk/client-rds-data 3.721.0 → 3.723.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 +142 -108
- package/dist-es/RDSDataClient.js +1 -0
- package/dist-es/models/models_0.js +33 -32
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -153,7 +153,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
153
153
|
}, "resolveRuntimeExtensions");
|
|
154
154
|
|
|
155
155
|
// src/RDSDataClient.ts
|
|
156
|
-
var
|
|
156
|
+
var RDSDataClient = class extends import_smithy_client.Client {
|
|
157
|
+
static {
|
|
158
|
+
__name(this, "RDSDataClient");
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The resolved configuration of RDSDataClient class. This is resolved and normalized from the {@link RDSDataClientConfig | constructor configuration interface}.
|
|
162
|
+
*/
|
|
163
|
+
config;
|
|
157
164
|
constructor(...[configuration]) {
|
|
158
165
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
159
166
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -163,7 +170,7 @@ var _RDSDataClient = class _RDSDataClient extends import_smithy_client.Client {
|
|
|
163
170
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
164
171
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
165
172
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
166
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
173
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
167
174
|
super(_config_8);
|
|
168
175
|
this.config = _config_8;
|
|
169
176
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -191,8 +198,6 @@ var _RDSDataClient = class _RDSDataClient extends import_smithy_client.Client {
|
|
|
191
198
|
super.destroy();
|
|
192
199
|
}
|
|
193
200
|
};
|
|
194
|
-
__name(_RDSDataClient, "RDSDataClient");
|
|
195
|
-
var RDSDataClient = _RDSDataClient;
|
|
196
201
|
|
|
197
202
|
// src/RDSData.ts
|
|
198
203
|
|
|
@@ -209,7 +214,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
209
214
|
|
|
210
215
|
// src/models/RDSDataServiceException.ts
|
|
211
216
|
|
|
212
|
-
var
|
|
217
|
+
var RDSDataServiceException = class _RDSDataServiceException extends import_smithy_client.ServiceException {
|
|
218
|
+
static {
|
|
219
|
+
__name(this, "RDSDataServiceException");
|
|
220
|
+
}
|
|
213
221
|
/**
|
|
214
222
|
* @internal
|
|
215
223
|
*/
|
|
@@ -218,11 +226,14 @@ var _RDSDataServiceException = class _RDSDataServiceException extends import_smi
|
|
|
218
226
|
Object.setPrototypeOf(this, _RDSDataServiceException.prototype);
|
|
219
227
|
}
|
|
220
228
|
};
|
|
221
|
-
__name(_RDSDataServiceException, "RDSDataServiceException");
|
|
222
|
-
var RDSDataServiceException = _RDSDataServiceException;
|
|
223
229
|
|
|
224
230
|
// src/models/models_0.ts
|
|
225
|
-
var
|
|
231
|
+
var AccessDeniedException = class _AccessDeniedException extends RDSDataServiceException {
|
|
232
|
+
static {
|
|
233
|
+
__name(this, "AccessDeniedException");
|
|
234
|
+
}
|
|
235
|
+
name = "AccessDeniedException";
|
|
236
|
+
$fault = "client";
|
|
226
237
|
/**
|
|
227
238
|
* @internal
|
|
228
239
|
*/
|
|
@@ -232,14 +243,15 @@ var _AccessDeniedException = class _AccessDeniedException extends RDSDataService
|
|
|
232
243
|
$fault: "client",
|
|
233
244
|
...opts
|
|
234
245
|
});
|
|
235
|
-
this.name = "AccessDeniedException";
|
|
236
|
-
this.$fault = "client";
|
|
237
246
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
238
247
|
}
|
|
239
248
|
};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
249
|
+
var BadRequestException = class _BadRequestException extends RDSDataServiceException {
|
|
250
|
+
static {
|
|
251
|
+
__name(this, "BadRequestException");
|
|
252
|
+
}
|
|
253
|
+
name = "BadRequestException";
|
|
254
|
+
$fault = "client";
|
|
243
255
|
/**
|
|
244
256
|
* @internal
|
|
245
257
|
*/
|
|
@@ -249,13 +261,9 @@ var _BadRequestException = class _BadRequestException extends RDSDataServiceExce
|
|
|
249
261
|
$fault: "client",
|
|
250
262
|
...opts
|
|
251
263
|
});
|
|
252
|
-
this.name = "BadRequestException";
|
|
253
|
-
this.$fault = "client";
|
|
254
264
|
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
255
265
|
}
|
|
256
266
|
};
|
|
257
|
-
__name(_BadRequestException, "BadRequestException");
|
|
258
|
-
var BadRequestException = _BadRequestException;
|
|
259
267
|
var TypeHint = {
|
|
260
268
|
DATE: "DATE",
|
|
261
269
|
DECIMAL: "DECIMAL",
|
|
@@ -264,7 +272,12 @@ var TypeHint = {
|
|
|
264
272
|
TIMESTAMP: "TIMESTAMP",
|
|
265
273
|
UUID: "UUID"
|
|
266
274
|
};
|
|
267
|
-
var
|
|
275
|
+
var DatabaseErrorException = class _DatabaseErrorException extends RDSDataServiceException {
|
|
276
|
+
static {
|
|
277
|
+
__name(this, "DatabaseErrorException");
|
|
278
|
+
}
|
|
279
|
+
name = "DatabaseErrorException";
|
|
280
|
+
$fault = "client";
|
|
268
281
|
/**
|
|
269
282
|
* @internal
|
|
270
283
|
*/
|
|
@@ -274,14 +287,15 @@ var _DatabaseErrorException = class _DatabaseErrorException extends RDSDataServi
|
|
|
274
287
|
$fault: "client",
|
|
275
288
|
...opts
|
|
276
289
|
});
|
|
277
|
-
this.name = "DatabaseErrorException";
|
|
278
|
-
this.$fault = "client";
|
|
279
290
|
Object.setPrototypeOf(this, _DatabaseErrorException.prototype);
|
|
280
291
|
}
|
|
281
292
|
};
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
293
|
+
var DatabaseNotFoundException = class _DatabaseNotFoundException extends RDSDataServiceException {
|
|
294
|
+
static {
|
|
295
|
+
__name(this, "DatabaseNotFoundException");
|
|
296
|
+
}
|
|
297
|
+
name = "DatabaseNotFoundException";
|
|
298
|
+
$fault = "client";
|
|
285
299
|
/**
|
|
286
300
|
* @internal
|
|
287
301
|
*/
|
|
@@ -291,14 +305,15 @@ var _DatabaseNotFoundException = class _DatabaseNotFoundException extends RDSDat
|
|
|
291
305
|
$fault: "client",
|
|
292
306
|
...opts
|
|
293
307
|
});
|
|
294
|
-
this.name = "DatabaseNotFoundException";
|
|
295
|
-
this.$fault = "client";
|
|
296
308
|
Object.setPrototypeOf(this, _DatabaseNotFoundException.prototype);
|
|
297
309
|
}
|
|
298
310
|
};
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
311
|
+
var DatabaseResumingException = class _DatabaseResumingException extends RDSDataServiceException {
|
|
312
|
+
static {
|
|
313
|
+
__name(this, "DatabaseResumingException");
|
|
314
|
+
}
|
|
315
|
+
name = "DatabaseResumingException";
|
|
316
|
+
$fault = "client";
|
|
302
317
|
/**
|
|
303
318
|
* @internal
|
|
304
319
|
*/
|
|
@@ -308,14 +323,15 @@ var _DatabaseResumingException = class _DatabaseResumingException extends RDSDat
|
|
|
308
323
|
$fault: "client",
|
|
309
324
|
...opts
|
|
310
325
|
});
|
|
311
|
-
this.name = "DatabaseResumingException";
|
|
312
|
-
this.$fault = "client";
|
|
313
326
|
Object.setPrototypeOf(this, _DatabaseResumingException.prototype);
|
|
314
327
|
}
|
|
315
328
|
};
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
329
|
+
var DatabaseUnavailableException = class _DatabaseUnavailableException extends RDSDataServiceException {
|
|
330
|
+
static {
|
|
331
|
+
__name(this, "DatabaseUnavailableException");
|
|
332
|
+
}
|
|
333
|
+
name = "DatabaseUnavailableException";
|
|
334
|
+
$fault = "server";
|
|
319
335
|
/**
|
|
320
336
|
* @internal
|
|
321
337
|
*/
|
|
@@ -325,14 +341,15 @@ var _DatabaseUnavailableException = class _DatabaseUnavailableException extends
|
|
|
325
341
|
$fault: "server",
|
|
326
342
|
...opts
|
|
327
343
|
});
|
|
328
|
-
this.name = "DatabaseUnavailableException";
|
|
329
|
-
this.$fault = "server";
|
|
330
344
|
Object.setPrototypeOf(this, _DatabaseUnavailableException.prototype);
|
|
331
345
|
}
|
|
332
346
|
};
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
347
|
+
var ForbiddenException = class _ForbiddenException extends RDSDataServiceException {
|
|
348
|
+
static {
|
|
349
|
+
__name(this, "ForbiddenException");
|
|
350
|
+
}
|
|
351
|
+
name = "ForbiddenException";
|
|
352
|
+
$fault = "client";
|
|
336
353
|
/**
|
|
337
354
|
* @internal
|
|
338
355
|
*/
|
|
@@ -342,14 +359,15 @@ var _ForbiddenException = class _ForbiddenException extends RDSDataServiceExcept
|
|
|
342
359
|
$fault: "client",
|
|
343
360
|
...opts
|
|
344
361
|
});
|
|
345
|
-
this.name = "ForbiddenException";
|
|
346
|
-
this.$fault = "client";
|
|
347
362
|
Object.setPrototypeOf(this, _ForbiddenException.prototype);
|
|
348
363
|
}
|
|
349
364
|
};
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
365
|
+
var HttpEndpointNotEnabledException = class _HttpEndpointNotEnabledException extends RDSDataServiceException {
|
|
366
|
+
static {
|
|
367
|
+
__name(this, "HttpEndpointNotEnabledException");
|
|
368
|
+
}
|
|
369
|
+
name = "HttpEndpointNotEnabledException";
|
|
370
|
+
$fault = "client";
|
|
353
371
|
/**
|
|
354
372
|
* @internal
|
|
355
373
|
*/
|
|
@@ -359,14 +377,15 @@ var _HttpEndpointNotEnabledException = class _HttpEndpointNotEnabledException ex
|
|
|
359
377
|
$fault: "client",
|
|
360
378
|
...opts
|
|
361
379
|
});
|
|
362
|
-
this.name = "HttpEndpointNotEnabledException";
|
|
363
|
-
this.$fault = "client";
|
|
364
380
|
Object.setPrototypeOf(this, _HttpEndpointNotEnabledException.prototype);
|
|
365
381
|
}
|
|
366
382
|
};
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
383
|
+
var InternalServerErrorException = class _InternalServerErrorException extends RDSDataServiceException {
|
|
384
|
+
static {
|
|
385
|
+
__name(this, "InternalServerErrorException");
|
|
386
|
+
}
|
|
387
|
+
name = "InternalServerErrorException";
|
|
388
|
+
$fault = "server";
|
|
370
389
|
/**
|
|
371
390
|
* @internal
|
|
372
391
|
*/
|
|
@@ -376,14 +395,15 @@ var _InternalServerErrorException = class _InternalServerErrorException extends
|
|
|
376
395
|
$fault: "server",
|
|
377
396
|
...opts
|
|
378
397
|
});
|
|
379
|
-
this.name = "InternalServerErrorException";
|
|
380
|
-
this.$fault = "server";
|
|
381
398
|
Object.setPrototypeOf(this, _InternalServerErrorException.prototype);
|
|
382
399
|
}
|
|
383
400
|
};
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
401
|
+
var InvalidSecretException = class _InvalidSecretException extends RDSDataServiceException {
|
|
402
|
+
static {
|
|
403
|
+
__name(this, "InvalidSecretException");
|
|
404
|
+
}
|
|
405
|
+
name = "InvalidSecretException";
|
|
406
|
+
$fault = "client";
|
|
387
407
|
/**
|
|
388
408
|
* @internal
|
|
389
409
|
*/
|
|
@@ -393,14 +413,15 @@ var _InvalidSecretException = class _InvalidSecretException extends RDSDataServi
|
|
|
393
413
|
$fault: "client",
|
|
394
414
|
...opts
|
|
395
415
|
});
|
|
396
|
-
this.name = "InvalidSecretException";
|
|
397
|
-
this.$fault = "client";
|
|
398
416
|
Object.setPrototypeOf(this, _InvalidSecretException.prototype);
|
|
399
417
|
}
|
|
400
418
|
};
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
419
|
+
var SecretsErrorException = class _SecretsErrorException extends RDSDataServiceException {
|
|
420
|
+
static {
|
|
421
|
+
__name(this, "SecretsErrorException");
|
|
422
|
+
}
|
|
423
|
+
name = "SecretsErrorException";
|
|
424
|
+
$fault = "client";
|
|
404
425
|
/**
|
|
405
426
|
* @internal
|
|
406
427
|
*/
|
|
@@ -410,14 +431,15 @@ var _SecretsErrorException = class _SecretsErrorException extends RDSDataService
|
|
|
410
431
|
$fault: "client",
|
|
411
432
|
...opts
|
|
412
433
|
});
|
|
413
|
-
this.name = "SecretsErrorException";
|
|
414
|
-
this.$fault = "client";
|
|
415
434
|
Object.setPrototypeOf(this, _SecretsErrorException.prototype);
|
|
416
435
|
}
|
|
417
436
|
};
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
437
|
+
var ServiceUnavailableError = class _ServiceUnavailableError extends RDSDataServiceException {
|
|
438
|
+
static {
|
|
439
|
+
__name(this, "ServiceUnavailableError");
|
|
440
|
+
}
|
|
441
|
+
name = "ServiceUnavailableError";
|
|
442
|
+
$fault = "server";
|
|
421
443
|
/**
|
|
422
444
|
* @internal
|
|
423
445
|
*/
|
|
@@ -427,14 +449,20 @@ var _ServiceUnavailableError = class _ServiceUnavailableError extends RDSDataSer
|
|
|
427
449
|
$fault: "server",
|
|
428
450
|
...opts
|
|
429
451
|
});
|
|
430
|
-
this.name = "ServiceUnavailableError";
|
|
431
|
-
this.$fault = "server";
|
|
432
452
|
Object.setPrototypeOf(this, _ServiceUnavailableError.prototype);
|
|
433
453
|
}
|
|
434
454
|
};
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
455
|
+
var StatementTimeoutException = class _StatementTimeoutException extends RDSDataServiceException {
|
|
456
|
+
static {
|
|
457
|
+
__name(this, "StatementTimeoutException");
|
|
458
|
+
}
|
|
459
|
+
name = "StatementTimeoutException";
|
|
460
|
+
$fault = "client";
|
|
461
|
+
/**
|
|
462
|
+
* <p>The database connection ID that executed the SQL statement.</p>
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
dbConnectionId;
|
|
438
466
|
/**
|
|
439
467
|
* @internal
|
|
440
468
|
*/
|
|
@@ -444,15 +472,16 @@ var _StatementTimeoutException = class _StatementTimeoutException extends RDSDat
|
|
|
444
472
|
$fault: "client",
|
|
445
473
|
...opts
|
|
446
474
|
});
|
|
447
|
-
this.name = "StatementTimeoutException";
|
|
448
|
-
this.$fault = "client";
|
|
449
475
|
Object.setPrototypeOf(this, _StatementTimeoutException.prototype);
|
|
450
476
|
this.dbConnectionId = opts.dbConnectionId;
|
|
451
477
|
}
|
|
452
478
|
};
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
479
|
+
var TransactionNotFoundException = class _TransactionNotFoundException extends RDSDataServiceException {
|
|
480
|
+
static {
|
|
481
|
+
__name(this, "TransactionNotFoundException");
|
|
482
|
+
}
|
|
483
|
+
name = "TransactionNotFoundException";
|
|
484
|
+
$fault = "client";
|
|
456
485
|
/**
|
|
457
486
|
* @internal
|
|
458
487
|
*/
|
|
@@ -462,14 +491,15 @@ var _TransactionNotFoundException = class _TransactionNotFoundException extends
|
|
|
462
491
|
$fault: "client",
|
|
463
492
|
...opts
|
|
464
493
|
});
|
|
465
|
-
this.name = "TransactionNotFoundException";
|
|
466
|
-
this.$fault = "client";
|
|
467
494
|
Object.setPrototypeOf(this, _TransactionNotFoundException.prototype);
|
|
468
495
|
}
|
|
469
496
|
};
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
497
|
+
var NotFoundException = class _NotFoundException extends RDSDataServiceException {
|
|
498
|
+
static {
|
|
499
|
+
__name(this, "NotFoundException");
|
|
500
|
+
}
|
|
501
|
+
name = "NotFoundException";
|
|
502
|
+
$fault = "client";
|
|
473
503
|
/**
|
|
474
504
|
* @internal
|
|
475
505
|
*/
|
|
@@ -479,13 +509,9 @@ var _NotFoundException = class _NotFoundException extends RDSDataServiceExceptio
|
|
|
479
509
|
$fault: "client",
|
|
480
510
|
...opts
|
|
481
511
|
});
|
|
482
|
-
this.name = "NotFoundException";
|
|
483
|
-
this.$fault = "client";
|
|
484
512
|
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
485
513
|
}
|
|
486
514
|
};
|
|
487
|
-
__name(_NotFoundException, "NotFoundException");
|
|
488
|
-
var NotFoundException = _NotFoundException;
|
|
489
515
|
var DecimalReturnType = {
|
|
490
516
|
DOUBLE_OR_LONG: "DOUBLE_OR_LONG",
|
|
491
517
|
STRING: "STRING"
|
|
@@ -498,7 +524,12 @@ var LongReturnType = {
|
|
|
498
524
|
LONG: "LONG",
|
|
499
525
|
STRING: "STRING"
|
|
500
526
|
};
|
|
501
|
-
var
|
|
527
|
+
var UnsupportedResultException = class _UnsupportedResultException extends RDSDataServiceException {
|
|
528
|
+
static {
|
|
529
|
+
__name(this, "UnsupportedResultException");
|
|
530
|
+
}
|
|
531
|
+
name = "UnsupportedResultException";
|
|
532
|
+
$fault = "client";
|
|
502
533
|
/**
|
|
503
534
|
* @internal
|
|
504
535
|
*/
|
|
@@ -508,13 +539,9 @@ var _UnsupportedResultException = class _UnsupportedResultException extends RDSD
|
|
|
508
539
|
$fault: "client",
|
|
509
540
|
...opts
|
|
510
541
|
});
|
|
511
|
-
this.name = "UnsupportedResultException";
|
|
512
|
-
this.$fault = "client";
|
|
513
542
|
Object.setPrototypeOf(this, _UnsupportedResultException.prototype);
|
|
514
543
|
}
|
|
515
544
|
};
|
|
516
|
-
__name(_UnsupportedResultException, "UnsupportedResultException");
|
|
517
|
-
var UnsupportedResultException = _UnsupportedResultException;
|
|
518
545
|
var ArrayValue;
|
|
519
546
|
((ArrayValue2) => {
|
|
520
547
|
ArrayValue2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -1285,85 +1312,91 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1285
1312
|
}), "deserializeMetadata");
|
|
1286
1313
|
|
|
1287
1314
|
// src/commands/BatchExecuteStatementCommand.ts
|
|
1288
|
-
var
|
|
1315
|
+
var BatchExecuteStatementCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1289
1316
|
return [
|
|
1290
1317
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1291
1318
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1292
1319
|
];
|
|
1293
1320
|
}).s("RdsDataService", "BatchExecuteStatement", {}).n("RDSDataClient", "BatchExecuteStatementCommand").f(void 0, void 0).ser(se_BatchExecuteStatementCommand).de(de_BatchExecuteStatementCommand).build() {
|
|
1321
|
+
static {
|
|
1322
|
+
__name(this, "BatchExecuteStatementCommand");
|
|
1323
|
+
}
|
|
1294
1324
|
};
|
|
1295
|
-
__name(_BatchExecuteStatementCommand, "BatchExecuteStatementCommand");
|
|
1296
|
-
var BatchExecuteStatementCommand = _BatchExecuteStatementCommand;
|
|
1297
1325
|
|
|
1298
1326
|
// src/commands/BeginTransactionCommand.ts
|
|
1299
1327
|
|
|
1300
1328
|
|
|
1301
1329
|
|
|
1302
|
-
var
|
|
1330
|
+
var BeginTransactionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1303
1331
|
return [
|
|
1304
1332
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1305
1333
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1306
1334
|
];
|
|
1307
1335
|
}).s("RdsDataService", "BeginTransaction", {}).n("RDSDataClient", "BeginTransactionCommand").f(void 0, void 0).ser(se_BeginTransactionCommand).de(de_BeginTransactionCommand).build() {
|
|
1336
|
+
static {
|
|
1337
|
+
__name(this, "BeginTransactionCommand");
|
|
1338
|
+
}
|
|
1308
1339
|
};
|
|
1309
|
-
__name(_BeginTransactionCommand, "BeginTransactionCommand");
|
|
1310
|
-
var BeginTransactionCommand = _BeginTransactionCommand;
|
|
1311
1340
|
|
|
1312
1341
|
// src/commands/CommitTransactionCommand.ts
|
|
1313
1342
|
|
|
1314
1343
|
|
|
1315
1344
|
|
|
1316
|
-
var
|
|
1345
|
+
var CommitTransactionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1317
1346
|
return [
|
|
1318
1347
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1319
1348
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1320
1349
|
];
|
|
1321
1350
|
}).s("RdsDataService", "CommitTransaction", {}).n("RDSDataClient", "CommitTransactionCommand").f(void 0, void 0).ser(se_CommitTransactionCommand).de(de_CommitTransactionCommand).build() {
|
|
1351
|
+
static {
|
|
1352
|
+
__name(this, "CommitTransactionCommand");
|
|
1353
|
+
}
|
|
1322
1354
|
};
|
|
1323
|
-
__name(_CommitTransactionCommand, "CommitTransactionCommand");
|
|
1324
|
-
var CommitTransactionCommand = _CommitTransactionCommand;
|
|
1325
1355
|
|
|
1326
1356
|
// src/commands/ExecuteSqlCommand.ts
|
|
1327
1357
|
|
|
1328
1358
|
|
|
1329
1359
|
|
|
1330
|
-
var
|
|
1360
|
+
var ExecuteSqlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1331
1361
|
return [
|
|
1332
1362
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1333
1363
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1334
1364
|
];
|
|
1335
1365
|
}).s("RdsDataService", "ExecuteSql", {}).n("RDSDataClient", "ExecuteSqlCommand").f(void 0, void 0).ser(se_ExecuteSqlCommand).de(de_ExecuteSqlCommand).build() {
|
|
1366
|
+
static {
|
|
1367
|
+
__name(this, "ExecuteSqlCommand");
|
|
1368
|
+
}
|
|
1336
1369
|
};
|
|
1337
|
-
__name(_ExecuteSqlCommand, "ExecuteSqlCommand");
|
|
1338
|
-
var ExecuteSqlCommand = _ExecuteSqlCommand;
|
|
1339
1370
|
|
|
1340
1371
|
// src/commands/ExecuteStatementCommand.ts
|
|
1341
1372
|
|
|
1342
1373
|
|
|
1343
1374
|
|
|
1344
|
-
var
|
|
1375
|
+
var ExecuteStatementCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1345
1376
|
return [
|
|
1346
1377
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1347
1378
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1348
1379
|
];
|
|
1349
1380
|
}).s("RdsDataService", "ExecuteStatement", {}).n("RDSDataClient", "ExecuteStatementCommand").f(void 0, void 0).ser(se_ExecuteStatementCommand).de(de_ExecuteStatementCommand).build() {
|
|
1381
|
+
static {
|
|
1382
|
+
__name(this, "ExecuteStatementCommand");
|
|
1383
|
+
}
|
|
1350
1384
|
};
|
|
1351
|
-
__name(_ExecuteStatementCommand, "ExecuteStatementCommand");
|
|
1352
|
-
var ExecuteStatementCommand = _ExecuteStatementCommand;
|
|
1353
1385
|
|
|
1354
1386
|
// src/commands/RollbackTransactionCommand.ts
|
|
1355
1387
|
|
|
1356
1388
|
|
|
1357
1389
|
|
|
1358
|
-
var
|
|
1390
|
+
var RollbackTransactionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1359
1391
|
return [
|
|
1360
1392
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1361
1393
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1362
1394
|
];
|
|
1363
1395
|
}).s("RdsDataService", "RollbackTransaction", {}).n("RDSDataClient", "RollbackTransactionCommand").f(void 0, void 0).ser(se_RollbackTransactionCommand).de(de_RollbackTransactionCommand).build() {
|
|
1396
|
+
static {
|
|
1397
|
+
__name(this, "RollbackTransactionCommand");
|
|
1398
|
+
}
|
|
1364
1399
|
};
|
|
1365
|
-
__name(_RollbackTransactionCommand, "RollbackTransactionCommand");
|
|
1366
|
-
var RollbackTransactionCommand = _RollbackTransactionCommand;
|
|
1367
1400
|
|
|
1368
1401
|
// src/RDSData.ts
|
|
1369
1402
|
var commands = {
|
|
@@ -1374,10 +1407,11 @@ var commands = {
|
|
|
1374
1407
|
ExecuteStatementCommand,
|
|
1375
1408
|
RollbackTransactionCommand
|
|
1376
1409
|
};
|
|
1377
|
-
var
|
|
1410
|
+
var RDSData = class extends RDSDataClient {
|
|
1411
|
+
static {
|
|
1412
|
+
__name(this, "RDSData");
|
|
1413
|
+
}
|
|
1378
1414
|
};
|
|
1379
|
-
__name(_RDSData, "RDSData");
|
|
1380
|
-
var RDSData = _RDSData;
|
|
1381
1415
|
(0, import_smithy_client.createAggregatedClient)(commands, RDSData);
|
|
1382
1416
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1383
1417
|
|
package/dist-es/RDSDataClient.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class RDSDataClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { RDSDataServiceException as __BaseException } from "./RDSDataServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
3
5
|
constructor(opts) {
|
|
4
6
|
super({
|
|
5
7
|
name: "AccessDeniedException",
|
|
6
8
|
$fault: "client",
|
|
7
9
|
...opts,
|
|
8
10
|
});
|
|
9
|
-
this.name = "AccessDeniedException";
|
|
10
|
-
this.$fault = "client";
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export class BadRequestException extends __BaseException {
|
|
15
|
+
name = "BadRequestException";
|
|
16
|
+
$fault = "client";
|
|
15
17
|
constructor(opts) {
|
|
16
18
|
super({
|
|
17
19
|
name: "BadRequestException",
|
|
18
20
|
$fault: "client",
|
|
19
21
|
...opts,
|
|
20
22
|
});
|
|
21
|
-
this.name = "BadRequestException";
|
|
22
|
-
this.$fault = "client";
|
|
23
23
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -32,159 +32,160 @@ export const TypeHint = {
|
|
|
32
32
|
UUID: "UUID",
|
|
33
33
|
};
|
|
34
34
|
export class DatabaseErrorException extends __BaseException {
|
|
35
|
+
name = "DatabaseErrorException";
|
|
36
|
+
$fault = "client";
|
|
35
37
|
constructor(opts) {
|
|
36
38
|
super({
|
|
37
39
|
name: "DatabaseErrorException",
|
|
38
40
|
$fault: "client",
|
|
39
41
|
...opts,
|
|
40
42
|
});
|
|
41
|
-
this.name = "DatabaseErrorException";
|
|
42
|
-
this.$fault = "client";
|
|
43
43
|
Object.setPrototypeOf(this, DatabaseErrorException.prototype);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
export class DatabaseNotFoundException extends __BaseException {
|
|
47
|
+
name = "DatabaseNotFoundException";
|
|
48
|
+
$fault = "client";
|
|
47
49
|
constructor(opts) {
|
|
48
50
|
super({
|
|
49
51
|
name: "DatabaseNotFoundException",
|
|
50
52
|
$fault: "client",
|
|
51
53
|
...opts,
|
|
52
54
|
});
|
|
53
|
-
this.name = "DatabaseNotFoundException";
|
|
54
|
-
this.$fault = "client";
|
|
55
55
|
Object.setPrototypeOf(this, DatabaseNotFoundException.prototype);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
export class DatabaseResumingException extends __BaseException {
|
|
59
|
+
name = "DatabaseResumingException";
|
|
60
|
+
$fault = "client";
|
|
59
61
|
constructor(opts) {
|
|
60
62
|
super({
|
|
61
63
|
name: "DatabaseResumingException",
|
|
62
64
|
$fault: "client",
|
|
63
65
|
...opts,
|
|
64
66
|
});
|
|
65
|
-
this.name = "DatabaseResumingException";
|
|
66
|
-
this.$fault = "client";
|
|
67
67
|
Object.setPrototypeOf(this, DatabaseResumingException.prototype);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
export class DatabaseUnavailableException extends __BaseException {
|
|
71
|
+
name = "DatabaseUnavailableException";
|
|
72
|
+
$fault = "server";
|
|
71
73
|
constructor(opts) {
|
|
72
74
|
super({
|
|
73
75
|
name: "DatabaseUnavailableException",
|
|
74
76
|
$fault: "server",
|
|
75
77
|
...opts,
|
|
76
78
|
});
|
|
77
|
-
this.name = "DatabaseUnavailableException";
|
|
78
|
-
this.$fault = "server";
|
|
79
79
|
Object.setPrototypeOf(this, DatabaseUnavailableException.prototype);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
export class ForbiddenException extends __BaseException {
|
|
83
|
+
name = "ForbiddenException";
|
|
84
|
+
$fault = "client";
|
|
83
85
|
constructor(opts) {
|
|
84
86
|
super({
|
|
85
87
|
name: "ForbiddenException",
|
|
86
88
|
$fault: "client",
|
|
87
89
|
...opts,
|
|
88
90
|
});
|
|
89
|
-
this.name = "ForbiddenException";
|
|
90
|
-
this.$fault = "client";
|
|
91
91
|
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
export class HttpEndpointNotEnabledException extends __BaseException {
|
|
95
|
+
name = "HttpEndpointNotEnabledException";
|
|
96
|
+
$fault = "client";
|
|
95
97
|
constructor(opts) {
|
|
96
98
|
super({
|
|
97
99
|
name: "HttpEndpointNotEnabledException",
|
|
98
100
|
$fault: "client",
|
|
99
101
|
...opts,
|
|
100
102
|
});
|
|
101
|
-
this.name = "HttpEndpointNotEnabledException";
|
|
102
|
-
this.$fault = "client";
|
|
103
103
|
Object.setPrototypeOf(this, HttpEndpointNotEnabledException.prototype);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
export class InternalServerErrorException extends __BaseException {
|
|
107
|
+
name = "InternalServerErrorException";
|
|
108
|
+
$fault = "server";
|
|
107
109
|
constructor(opts) {
|
|
108
110
|
super({
|
|
109
111
|
name: "InternalServerErrorException",
|
|
110
112
|
$fault: "server",
|
|
111
113
|
...opts,
|
|
112
114
|
});
|
|
113
|
-
this.name = "InternalServerErrorException";
|
|
114
|
-
this.$fault = "server";
|
|
115
115
|
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
export class InvalidSecretException extends __BaseException {
|
|
119
|
+
name = "InvalidSecretException";
|
|
120
|
+
$fault = "client";
|
|
119
121
|
constructor(opts) {
|
|
120
122
|
super({
|
|
121
123
|
name: "InvalidSecretException",
|
|
122
124
|
$fault: "client",
|
|
123
125
|
...opts,
|
|
124
126
|
});
|
|
125
|
-
this.name = "InvalidSecretException";
|
|
126
|
-
this.$fault = "client";
|
|
127
127
|
Object.setPrototypeOf(this, InvalidSecretException.prototype);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
export class SecretsErrorException extends __BaseException {
|
|
131
|
+
name = "SecretsErrorException";
|
|
132
|
+
$fault = "client";
|
|
131
133
|
constructor(opts) {
|
|
132
134
|
super({
|
|
133
135
|
name: "SecretsErrorException",
|
|
134
136
|
$fault: "client",
|
|
135
137
|
...opts,
|
|
136
138
|
});
|
|
137
|
-
this.name = "SecretsErrorException";
|
|
138
|
-
this.$fault = "client";
|
|
139
139
|
Object.setPrototypeOf(this, SecretsErrorException.prototype);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
export class ServiceUnavailableError extends __BaseException {
|
|
143
|
+
name = "ServiceUnavailableError";
|
|
144
|
+
$fault = "server";
|
|
143
145
|
constructor(opts) {
|
|
144
146
|
super({
|
|
145
147
|
name: "ServiceUnavailableError",
|
|
146
148
|
$fault: "server",
|
|
147
149
|
...opts,
|
|
148
150
|
});
|
|
149
|
-
this.name = "ServiceUnavailableError";
|
|
150
|
-
this.$fault = "server";
|
|
151
151
|
Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
export class StatementTimeoutException extends __BaseException {
|
|
155
|
+
name = "StatementTimeoutException";
|
|
156
|
+
$fault = "client";
|
|
157
|
+
dbConnectionId;
|
|
155
158
|
constructor(opts) {
|
|
156
159
|
super({
|
|
157
160
|
name: "StatementTimeoutException",
|
|
158
161
|
$fault: "client",
|
|
159
162
|
...opts,
|
|
160
163
|
});
|
|
161
|
-
this.name = "StatementTimeoutException";
|
|
162
|
-
this.$fault = "client";
|
|
163
164
|
Object.setPrototypeOf(this, StatementTimeoutException.prototype);
|
|
164
165
|
this.dbConnectionId = opts.dbConnectionId;
|
|
165
166
|
}
|
|
166
167
|
}
|
|
167
168
|
export class TransactionNotFoundException extends __BaseException {
|
|
169
|
+
name = "TransactionNotFoundException";
|
|
170
|
+
$fault = "client";
|
|
168
171
|
constructor(opts) {
|
|
169
172
|
super({
|
|
170
173
|
name: "TransactionNotFoundException",
|
|
171
174
|
$fault: "client",
|
|
172
175
|
...opts,
|
|
173
176
|
});
|
|
174
|
-
this.name = "TransactionNotFoundException";
|
|
175
|
-
this.$fault = "client";
|
|
176
177
|
Object.setPrototypeOf(this, TransactionNotFoundException.prototype);
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
export class NotFoundException extends __BaseException {
|
|
181
|
+
name = "NotFoundException";
|
|
182
|
+
$fault = "client";
|
|
180
183
|
constructor(opts) {
|
|
181
184
|
super({
|
|
182
185
|
name: "NotFoundException",
|
|
183
186
|
$fault: "client",
|
|
184
187
|
...opts,
|
|
185
188
|
});
|
|
186
|
-
this.name = "NotFoundException";
|
|
187
|
-
this.$fault = "client";
|
|
188
189
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
189
190
|
}
|
|
190
191
|
}
|
|
@@ -201,14 +202,14 @@ export const LongReturnType = {
|
|
|
201
202
|
STRING: "STRING",
|
|
202
203
|
};
|
|
203
204
|
export class UnsupportedResultException extends __BaseException {
|
|
205
|
+
name = "UnsupportedResultException";
|
|
206
|
+
$fault = "client";
|
|
204
207
|
constructor(opts) {
|
|
205
208
|
super({
|
|
206
209
|
name: "UnsupportedResultException",
|
|
207
210
|
$fault: "client",
|
|
208
211
|
...opts,
|
|
209
212
|
});
|
|
210
|
-
this.name = "UnsupportedResultException";
|
|
211
|
-
this.$fault = "client";
|
|
212
213
|
Object.setPrototypeOf(this, UnsupportedResultException.prototype);
|
|
213
214
|
}
|
|
214
215
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rds-data",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|