@aws-sdk/client-rds 3.36.1 → 3.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/RDS.js +45 -0
  3. package/dist-cjs/commands/CreateCustomDBEngineVersionCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteCustomDBEngineVersionCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeDBProxyTargetsCommand.js +2 -1
  6. package/dist-cjs/commands/ModifyCustomDBEngineVersionCommand.js +37 -0
  7. package/dist-cjs/commands/index.js +143 -0
  8. package/dist-cjs/endpoints.js +167 -28
  9. package/dist-cjs/index.js +5 -181
  10. package/dist-cjs/models/models_0.js +70 -73
  11. package/dist-cjs/models/models_1.js +60 -4
  12. package/dist-cjs/pagination/index.js +39 -0
  13. package/dist-cjs/protocols/Aws_query.js +426 -6
  14. package/dist-cjs/runtimeConfig.browser.js +6 -3
  15. package/dist-cjs/runtimeConfig.js +5 -3
  16. package/dist-cjs/waiters/index.js +9 -0
  17. package/dist-es/RDS.js +45 -0
  18. package/dist-es/commands/CreateCustomDBEngineVersionCommand.js +39 -0
  19. package/dist-es/commands/DeleteCustomDBEngineVersionCommand.js +39 -0
  20. package/dist-es/commands/DescribeDBProxyTargetsCommand.js +2 -1
  21. package/dist-es/commands/ModifyCustomDBEngineVersionCommand.js +40 -0
  22. package/dist-es/commands/index.js +140 -0
  23. package/dist-es/endpoints.js +167 -28
  24. package/dist-es/index.js +5 -181
  25. package/dist-es/models/models_0.js +45 -54
  26. package/dist-es/models/models_1.js +48 -0
  27. package/dist-es/pagination/index.js +36 -0
  28. package/dist-es/protocols/Aws_query.js +431 -0
  29. package/dist-es/runtimeConfig.browser.js +3 -2
  30. package/dist-es/runtimeConfig.js +3 -3
  31. package/dist-es/waiters/index.js +6 -0
  32. package/dist-types/RDS.d.ts +103 -13
  33. package/dist-types/RDSClient.d.ts +13 -2
  34. package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +1 -0
  35. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -2
  36. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +2 -0
  37. package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +62 -0
  38. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +4 -3
  39. package/dist-types/commands/CreateOptionGroupCommand.d.ts +1 -0
  40. package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +55 -0
  41. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +1 -0
  42. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +2 -1
  43. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +3 -4
  44. package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +1 -0
  45. package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +46 -0
  46. package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +2 -1
  47. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +1 -1
  48. package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -0
  49. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +1 -0
  50. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
  51. package/dist-types/commands/StartDBInstanceCommand.d.ts +1 -1
  52. package/dist-types/commands/StartExportTaskCommand.d.ts +1 -0
  53. package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
  54. package/dist-types/commands/StopDBInstanceCommand.d.ts +1 -1
  55. package/dist-types/commands/index.d.ts +140 -0
  56. package/dist-types/index.d.ts +5 -181
  57. package/dist-types/models/models_0.d.ts +697 -410
  58. package/dist-types/models/models_1.d.ts +468 -137
  59. package/dist-types/pagination/index.d.ts +36 -0
  60. package/dist-types/protocols/Aws_query.d.ts +9 -0
  61. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  62. package/dist-types/runtimeConfig.d.ts +2 -0
  63. package/dist-types/runtimeConfig.native.d.ts +2 -0
  64. package/dist-types/ts3.4/RDS.d.ts +15 -0
  65. package/dist-types/ts3.4/RDSClient.d.ts +9 -2
  66. package/dist-types/ts3.4/commands/CreateCustomDBEngineVersionCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/DeleteCustomDBEngineVersionCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/DescribeDBProxyTargetsCommand.d.ts +2 -1
  69. package/dist-types/ts3.4/commands/ModifyCustomDBEngineVersionCommand.d.ts +18 -0
  70. package/dist-types/ts3.4/commands/index.d.ts +140 -0
  71. package/dist-types/ts3.4/index.d.ts +5 -181
  72. package/dist-types/ts3.4/models/models_0.d.ts +190 -154
  73. package/dist-types/ts3.4/models/models_1.d.ts +97 -2
  74. package/dist-types/ts3.4/pagination/index.d.ts +36 -0
  75. package/dist-types/ts3.4/protocols/Aws_query.d.ts +9 -0
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  79. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  80. package/dist-types/waiters/index.d.ts +6 -0
  81. package/package.json +34 -34
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./waitForDBClusterSnapshotAvailable"), exports);
5
+ tslib_1.__exportStar(require("./waitForDBClusterSnapshotDeleted"), exports);
6
+ tslib_1.__exportStar(require("./waitForDBInstanceAvailable"), exports);
7
+ tslib_1.__exportStar(require("./waitForDBInstanceDeleted"), exports);
8
+ tslib_1.__exportStar(require("./waitForDBSnapshotAvailable"), exports);
9
+ tslib_1.__exportStar(require("./waitForDBSnapshotDeleted"), exports);
package/dist-es/RDS.js CHANGED
@@ -13,6 +13,7 @@ import { CopyDBParameterGroupCommand, } from "./commands/CopyDBParameterGroupCom
13
13
  import { CopyDBSnapshotCommand, } from "./commands/CopyDBSnapshotCommand";
14
14
  import { CopyOptionGroupCommand, } from "./commands/CopyOptionGroupCommand";
15
15
  import { CreateCustomAvailabilityZoneCommand, } from "./commands/CreateCustomAvailabilityZoneCommand";
16
+ import { CreateCustomDBEngineVersionCommand, } from "./commands/CreateCustomDBEngineVersionCommand";
16
17
  import { CreateDBClusterCommand, } from "./commands/CreateDBClusterCommand";
17
18
  import { CreateDBClusterEndpointCommand, } from "./commands/CreateDBClusterEndpointCommand";
18
19
  import { CreateDBClusterParameterGroupCommand, } from "./commands/CreateDBClusterParameterGroupCommand";
@@ -29,6 +30,7 @@ import { CreateEventSubscriptionCommand, } from "./commands/CreateEventSubscript
29
30
  import { CreateGlobalClusterCommand, } from "./commands/CreateGlobalClusterCommand";
30
31
  import { CreateOptionGroupCommand, } from "./commands/CreateOptionGroupCommand";
31
32
  import { DeleteCustomAvailabilityZoneCommand, } from "./commands/DeleteCustomAvailabilityZoneCommand";
33
+ import { DeleteCustomDBEngineVersionCommand, } from "./commands/DeleteCustomDBEngineVersionCommand";
32
34
  import { DeleteDBClusterCommand, } from "./commands/DeleteDBClusterCommand";
33
35
  import { DeleteDBClusterEndpointCommand, } from "./commands/DeleteDBClusterEndpointCommand";
34
36
  import { DeleteDBClusterParameterGroupCommand, } from "./commands/DeleteDBClusterParameterGroupCommand";
@@ -93,6 +95,7 @@ import { ImportInstallationMediaCommand, } from "./commands/ImportInstallationMe
93
95
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
94
96
  import { ModifyCertificatesCommand, } from "./commands/ModifyCertificatesCommand";
95
97
  import { ModifyCurrentDBClusterCapacityCommand, } from "./commands/ModifyCurrentDBClusterCapacityCommand";
98
+ import { ModifyCustomDBEngineVersionCommand, } from "./commands/ModifyCustomDBEngineVersionCommand";
96
99
  import { ModifyDBClusterCommand, } from "./commands/ModifyDBClusterCommand";
97
100
  import { ModifyDBClusterEndpointCommand, } from "./commands/ModifyDBClusterEndpointCommand";
98
101
  import { ModifyDBClusterParameterGroupCommand, } from "./commands/ModifyDBClusterParameterGroupCommand";
@@ -338,6 +341,20 @@ var RDS = (function (_super) {
338
341
  return this.send(command, optionsOrCb);
339
342
  }
340
343
  };
344
+ RDS.prototype.createCustomDBEngineVersion = function (args, optionsOrCb, cb) {
345
+ var command = new CreateCustomDBEngineVersionCommand(args);
346
+ if (typeof optionsOrCb === "function") {
347
+ this.send(command, optionsOrCb);
348
+ }
349
+ else if (typeof cb === "function") {
350
+ if (typeof optionsOrCb !== "object")
351
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
352
+ this.send(command, optionsOrCb || {}, cb);
353
+ }
354
+ else {
355
+ return this.send(command, optionsOrCb);
356
+ }
357
+ };
341
358
  RDS.prototype.createDBCluster = function (args, optionsOrCb, cb) {
342
359
  var command = new CreateDBClusterCommand(args);
343
360
  if (typeof optionsOrCb === "function") {
@@ -562,6 +579,20 @@ var RDS = (function (_super) {
562
579
  return this.send(command, optionsOrCb);
563
580
  }
564
581
  };
582
+ RDS.prototype.deleteCustomDBEngineVersion = function (args, optionsOrCb, cb) {
583
+ var command = new DeleteCustomDBEngineVersionCommand(args);
584
+ if (typeof optionsOrCb === "function") {
585
+ this.send(command, optionsOrCb);
586
+ }
587
+ else if (typeof cb === "function") {
588
+ if (typeof optionsOrCb !== "object")
589
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
590
+ this.send(command, optionsOrCb || {}, cb);
591
+ }
592
+ else {
593
+ return this.send(command, optionsOrCb);
594
+ }
595
+ };
565
596
  RDS.prototype.deleteDBCluster = function (args, optionsOrCb, cb) {
566
597
  var command = new DeleteDBClusterCommand(args);
567
598
  if (typeof optionsOrCb === "function") {
@@ -1458,6 +1489,20 @@ var RDS = (function (_super) {
1458
1489
  return this.send(command, optionsOrCb);
1459
1490
  }
1460
1491
  };
1492
+ RDS.prototype.modifyCustomDBEngineVersion = function (args, optionsOrCb, cb) {
1493
+ var command = new ModifyCustomDBEngineVersionCommand(args);
1494
+ if (typeof optionsOrCb === "function") {
1495
+ this.send(command, optionsOrCb);
1496
+ }
1497
+ else if (typeof cb === "function") {
1498
+ if (typeof optionsOrCb !== "object")
1499
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
1500
+ this.send(command, optionsOrCb || {}, cb);
1501
+ }
1502
+ else {
1503
+ return this.send(command, optionsOrCb);
1504
+ }
1505
+ };
1461
1506
  RDS.prototype.modifyDBCluster = function (args, optionsOrCb, cb) {
1462
1507
  var command = new ModifyDBClusterCommand(args);
1463
1508
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateCustomDBEngineVersionMessage, DBEngineVersion } from "../models/models_0";
5
+ import { deserializeAws_queryCreateCustomDBEngineVersionCommand, serializeAws_queryCreateCustomDBEngineVersionCommand, } from "../protocols/Aws_query";
6
+ var CreateCustomDBEngineVersionCommand = (function (_super) {
7
+ __extends(CreateCustomDBEngineVersionCommand, _super);
8
+ function CreateCustomDBEngineVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateCustomDBEngineVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RDSClient";
18
+ var commandName = "CreateCustomDBEngineVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateCustomDBEngineVersionMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DBEngineVersion.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateCustomDBEngineVersionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_queryCreateCustomDBEngineVersionCommand(input, context);
33
+ };
34
+ CreateCustomDBEngineVersionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_queryCreateCustomDBEngineVersionCommand(output, context);
36
+ };
37
+ return CreateCustomDBEngineVersionCommand;
38
+ }($Command));
39
+ export { CreateCustomDBEngineVersionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DBEngineVersion, DeleteCustomDBEngineVersionMessage } from "../models/models_0";
5
+ import { deserializeAws_queryDeleteCustomDBEngineVersionCommand, serializeAws_queryDeleteCustomDBEngineVersionCommand, } from "../protocols/Aws_query";
6
+ var DeleteCustomDBEngineVersionCommand = (function (_super) {
7
+ __extends(DeleteCustomDBEngineVersionCommand, _super);
8
+ function DeleteCustomDBEngineVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteCustomDBEngineVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RDSClient";
18
+ var commandName = "DeleteCustomDBEngineVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteCustomDBEngineVersionMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DBEngineVersion.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteCustomDBEngineVersionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_queryDeleteCustomDBEngineVersionCommand(input, context);
33
+ };
34
+ DeleteCustomDBEngineVersionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_queryDeleteCustomDBEngineVersionCommand(output, context);
36
+ };
37
+ return DeleteCustomDBEngineVersionCommand;
38
+ }($Command));
39
+ export { DeleteCustomDBEngineVersionCommand };
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeDBProxyTargetsRequest, DescribeDBProxyTargetsResponse } from "../models/models_0";
4
+ import { DescribeDBProxyTargetsRequest } from "../models/models_0";
5
+ import { DescribeDBProxyTargetsResponse } from "../models/models_1";
5
6
  import { deserializeAws_queryDescribeDBProxyTargetsCommand, serializeAws_queryDescribeDBProxyTargetsCommand, } from "../protocols/Aws_query";
6
7
  var DescribeDBProxyTargetsCommand = (function (_super) {
7
8
  __extends(DescribeDBProxyTargetsCommand, _super);
@@ -0,0 +1,40 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DBEngineVersion } from "../models/models_0";
5
+ import { ModifyCustomDBEngineVersionMessage } from "../models/models_1";
6
+ import { deserializeAws_queryModifyCustomDBEngineVersionCommand, serializeAws_queryModifyCustomDBEngineVersionCommand, } from "../protocols/Aws_query";
7
+ var ModifyCustomDBEngineVersionCommand = (function (_super) {
8
+ __extends(ModifyCustomDBEngineVersionCommand, _super);
9
+ function ModifyCustomDBEngineVersionCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
13
+ }
14
+ ModifyCustomDBEngineVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
15
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
+ var stack = clientStack.concat(this.middlewareStack);
17
+ var logger = configuration.logger;
18
+ var clientName = "RDSClient";
19
+ var commandName = "ModifyCustomDBEngineVersionCommand";
20
+ var handlerExecutionContext = {
21
+ logger: logger,
22
+ clientName: clientName,
23
+ commandName: commandName,
24
+ inputFilterSensitiveLog: ModifyCustomDBEngineVersionMessage.filterSensitiveLog,
25
+ outputFilterSensitiveLog: DBEngineVersion.filterSensitiveLog,
26
+ };
27
+ var requestHandler = configuration.requestHandler;
28
+ return stack.resolve(function (request) {
29
+ return requestHandler.handle(request.request, options || {});
30
+ }, handlerExecutionContext);
31
+ };
32
+ ModifyCustomDBEngineVersionCommand.prototype.serialize = function (input, context) {
33
+ return serializeAws_queryModifyCustomDBEngineVersionCommand(input, context);
34
+ };
35
+ ModifyCustomDBEngineVersionCommand.prototype.deserialize = function (output, context) {
36
+ return deserializeAws_queryModifyCustomDBEngineVersionCommand(output, context);
37
+ };
38
+ return ModifyCustomDBEngineVersionCommand;
39
+ }($Command));
40
+ export { ModifyCustomDBEngineVersionCommand };
@@ -0,0 +1,140 @@
1
+ export * from "./AddRoleToDBClusterCommand";
2
+ export * from "./AddRoleToDBInstanceCommand";
3
+ export * from "./AddSourceIdentifierToSubscriptionCommand";
4
+ export * from "./AddTagsToResourceCommand";
5
+ export * from "./ApplyPendingMaintenanceActionCommand";
6
+ export * from "./AuthorizeDBSecurityGroupIngressCommand";
7
+ export * from "./BacktrackDBClusterCommand";
8
+ export * from "./CancelExportTaskCommand";
9
+ export * from "./CopyDBClusterParameterGroupCommand";
10
+ export * from "./CopyDBClusterSnapshotCommand";
11
+ export * from "./CopyDBParameterGroupCommand";
12
+ export * from "./CopyDBSnapshotCommand";
13
+ export * from "./CopyOptionGroupCommand";
14
+ export * from "./CreateCustomAvailabilityZoneCommand";
15
+ export * from "./CreateCustomDBEngineVersionCommand";
16
+ export * from "./CreateDBClusterCommand";
17
+ export * from "./CreateDBClusterEndpointCommand";
18
+ export * from "./CreateDBClusterParameterGroupCommand";
19
+ export * from "./CreateDBClusterSnapshotCommand";
20
+ export * from "./CreateDBInstanceCommand";
21
+ export * from "./CreateDBInstanceReadReplicaCommand";
22
+ export * from "./CreateDBParameterGroupCommand";
23
+ export * from "./CreateDBProxyCommand";
24
+ export * from "./CreateDBProxyEndpointCommand";
25
+ export * from "./CreateDBSecurityGroupCommand";
26
+ export * from "./CreateDBSnapshotCommand";
27
+ export * from "./CreateDBSubnetGroupCommand";
28
+ export * from "./CreateEventSubscriptionCommand";
29
+ export * from "./CreateGlobalClusterCommand";
30
+ export * from "./CreateOptionGroupCommand";
31
+ export * from "./DeleteCustomAvailabilityZoneCommand";
32
+ export * from "./DeleteCustomDBEngineVersionCommand";
33
+ export * from "./DeleteDBClusterCommand";
34
+ export * from "./DeleteDBClusterEndpointCommand";
35
+ export * from "./DeleteDBClusterParameterGroupCommand";
36
+ export * from "./DeleteDBClusterSnapshotCommand";
37
+ export * from "./DeleteDBInstanceAutomatedBackupCommand";
38
+ export * from "./DeleteDBInstanceCommand";
39
+ export * from "./DeleteDBParameterGroupCommand";
40
+ export * from "./DeleteDBProxyCommand";
41
+ export * from "./DeleteDBProxyEndpointCommand";
42
+ export * from "./DeleteDBSecurityGroupCommand";
43
+ export * from "./DeleteDBSnapshotCommand";
44
+ export * from "./DeleteDBSubnetGroupCommand";
45
+ export * from "./DeleteEventSubscriptionCommand";
46
+ export * from "./DeleteGlobalClusterCommand";
47
+ export * from "./DeleteInstallationMediaCommand";
48
+ export * from "./DeleteOptionGroupCommand";
49
+ export * from "./DeregisterDBProxyTargetsCommand";
50
+ export * from "./DescribeAccountAttributesCommand";
51
+ export * from "./DescribeCertificatesCommand";
52
+ export * from "./DescribeCustomAvailabilityZonesCommand";
53
+ export * from "./DescribeDBClusterBacktracksCommand";
54
+ export * from "./DescribeDBClusterEndpointsCommand";
55
+ export * from "./DescribeDBClusterParameterGroupsCommand";
56
+ export * from "./DescribeDBClusterParametersCommand";
57
+ export * from "./DescribeDBClusterSnapshotAttributesCommand";
58
+ export * from "./DescribeDBClusterSnapshotsCommand";
59
+ export * from "./DescribeDBClustersCommand";
60
+ export * from "./DescribeDBEngineVersionsCommand";
61
+ export * from "./DescribeDBInstanceAutomatedBackupsCommand";
62
+ export * from "./DescribeDBInstancesCommand";
63
+ export * from "./DescribeDBLogFilesCommand";
64
+ export * from "./DescribeDBParameterGroupsCommand";
65
+ export * from "./DescribeDBParametersCommand";
66
+ export * from "./DescribeDBProxiesCommand";
67
+ export * from "./DescribeDBProxyEndpointsCommand";
68
+ export * from "./DescribeDBProxyTargetGroupsCommand";
69
+ export * from "./DescribeDBProxyTargetsCommand";
70
+ export * from "./DescribeDBSecurityGroupsCommand";
71
+ export * from "./DescribeDBSnapshotAttributesCommand";
72
+ export * from "./DescribeDBSnapshotsCommand";
73
+ export * from "./DescribeDBSubnetGroupsCommand";
74
+ export * from "./DescribeEngineDefaultClusterParametersCommand";
75
+ export * from "./DescribeEngineDefaultParametersCommand";
76
+ export * from "./DescribeEventCategoriesCommand";
77
+ export * from "./DescribeEventSubscriptionsCommand";
78
+ export * from "./DescribeEventsCommand";
79
+ export * from "./DescribeExportTasksCommand";
80
+ export * from "./DescribeGlobalClustersCommand";
81
+ export * from "./DescribeInstallationMediaCommand";
82
+ export * from "./DescribeOptionGroupOptionsCommand";
83
+ export * from "./DescribeOptionGroupsCommand";
84
+ export * from "./DescribeOrderableDBInstanceOptionsCommand";
85
+ export * from "./DescribePendingMaintenanceActionsCommand";
86
+ export * from "./DescribeReservedDBInstancesCommand";
87
+ export * from "./DescribeReservedDBInstancesOfferingsCommand";
88
+ export * from "./DescribeSourceRegionsCommand";
89
+ export * from "./DescribeValidDBInstanceModificationsCommand";
90
+ export * from "./DownloadDBLogFilePortionCommand";
91
+ export * from "./FailoverDBClusterCommand";
92
+ export * from "./FailoverGlobalClusterCommand";
93
+ export * from "./ImportInstallationMediaCommand";
94
+ export * from "./ListTagsForResourceCommand";
95
+ export * from "./ModifyCertificatesCommand";
96
+ export * from "./ModifyCurrentDBClusterCapacityCommand";
97
+ export * from "./ModifyCustomDBEngineVersionCommand";
98
+ export * from "./ModifyDBClusterCommand";
99
+ export * from "./ModifyDBClusterEndpointCommand";
100
+ export * from "./ModifyDBClusterParameterGroupCommand";
101
+ export * from "./ModifyDBClusterSnapshotAttributeCommand";
102
+ export * from "./ModifyDBInstanceCommand";
103
+ export * from "./ModifyDBParameterGroupCommand";
104
+ export * from "./ModifyDBProxyCommand";
105
+ export * from "./ModifyDBProxyEndpointCommand";
106
+ export * from "./ModifyDBProxyTargetGroupCommand";
107
+ export * from "./ModifyDBSnapshotAttributeCommand";
108
+ export * from "./ModifyDBSnapshotCommand";
109
+ export * from "./ModifyDBSubnetGroupCommand";
110
+ export * from "./ModifyEventSubscriptionCommand";
111
+ export * from "./ModifyGlobalClusterCommand";
112
+ export * from "./ModifyOptionGroupCommand";
113
+ export * from "./PromoteReadReplicaCommand";
114
+ export * from "./PromoteReadReplicaDBClusterCommand";
115
+ export * from "./PurchaseReservedDBInstancesOfferingCommand";
116
+ export * from "./RebootDBInstanceCommand";
117
+ export * from "./RegisterDBProxyTargetsCommand";
118
+ export * from "./RemoveFromGlobalClusterCommand";
119
+ export * from "./RemoveRoleFromDBClusterCommand";
120
+ export * from "./RemoveRoleFromDBInstanceCommand";
121
+ export * from "./RemoveSourceIdentifierFromSubscriptionCommand";
122
+ export * from "./RemoveTagsFromResourceCommand";
123
+ export * from "./ResetDBClusterParameterGroupCommand";
124
+ export * from "./ResetDBParameterGroupCommand";
125
+ export * from "./RestoreDBClusterFromS3Command";
126
+ export * from "./RestoreDBClusterFromSnapshotCommand";
127
+ export * from "./RestoreDBClusterToPointInTimeCommand";
128
+ export * from "./RestoreDBInstanceFromDBSnapshotCommand";
129
+ export * from "./RestoreDBInstanceFromS3Command";
130
+ export * from "./RestoreDBInstanceToPointInTimeCommand";
131
+ export * from "./RevokeDBSecurityGroupIngressCommand";
132
+ export * from "./StartActivityStreamCommand";
133
+ export * from "./StartDBClusterCommand";
134
+ export * from "./StartDBInstanceAutomatedBackupsReplicationCommand";
135
+ export * from "./StartDBInstanceCommand";
136
+ export * from "./StartExportTaskCommand";
137
+ export * from "./StopActivityStreamCommand";
138
+ export * from "./StopDBClusterCommand";
139
+ export * from "./StopDBInstanceAutomatedBackupsReplicationCommand";
140
+ export * from "./StopDBInstanceCommand";
@@ -1,33 +1,89 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
- "rds-fips.ca-central-1": {
5
- hostname: "rds-fips.ca-central-1.amazonaws.com",
6
- signingRegion: "ca-central-1",
4
+ "ca-central-1": {
5
+ variants: [
6
+ {
7
+ hostname: "rds.ca-central-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ {
11
+ hostname: "rds-fips.ca-central-1.amazonaws.com",
12
+ tags: ["fips"],
13
+ },
14
+ ],
7
15
  },
8
- "rds-fips.us-east-1": {
9
- hostname: "rds-fips.us-east-1.amazonaws.com",
10
- signingRegion: "us-east-1",
16
+ "us-east-1": {
17
+ variants: [
18
+ {
19
+ hostname: "rds.us-east-1.amazonaws.com",
20
+ tags: [],
21
+ },
22
+ {
23
+ hostname: "rds-fips.us-east-1.amazonaws.com",
24
+ tags: ["fips"],
25
+ },
26
+ ],
11
27
  },
12
- "rds-fips.us-east-2": {
13
- hostname: "rds-fips.us-east-2.amazonaws.com",
14
- signingRegion: "us-east-2",
28
+ "us-east-2": {
29
+ variants: [
30
+ {
31
+ hostname: "rds.us-east-2.amazonaws.com",
32
+ tags: [],
33
+ },
34
+ {
35
+ hostname: "rds-fips.us-east-2.amazonaws.com",
36
+ tags: ["fips"],
37
+ },
38
+ ],
15
39
  },
16
- "rds-fips.us-west-1": {
17
- hostname: "rds-fips.us-west-1.amazonaws.com",
18
- signingRegion: "us-west-1",
40
+ "us-gov-east-1": {
41
+ variants: [
42
+ {
43
+ hostname: "rds.us-gov-east-1.amazonaws.com",
44
+ tags: [],
45
+ },
46
+ {
47
+ hostname: "rds.us-gov-east-1.amazonaws.com",
48
+ tags: ["fips"],
49
+ },
50
+ ],
19
51
  },
20
- "rds-fips.us-west-2": {
21
- hostname: "rds-fips.us-west-2.amazonaws.com",
22
- signingRegion: "us-west-2",
52
+ "us-gov-west-1": {
53
+ variants: [
54
+ {
55
+ hostname: "rds.us-gov-west-1.amazonaws.com",
56
+ tags: [],
57
+ },
58
+ {
59
+ hostname: "rds.us-gov-west-1.amazonaws.com",
60
+ tags: ["fips"],
61
+ },
62
+ ],
23
63
  },
24
- "rds.us-gov-east-1": {
25
- hostname: "rds.us-gov-east-1.amazonaws.com",
26
- signingRegion: "us-gov-east-1",
64
+ "us-west-1": {
65
+ variants: [
66
+ {
67
+ hostname: "rds.us-west-1.amazonaws.com",
68
+ tags: [],
69
+ },
70
+ {
71
+ hostname: "rds-fips.us-west-1.amazonaws.com",
72
+ tags: ["fips"],
73
+ },
74
+ ],
27
75
  },
28
- "rds.us-gov-west-1": {
29
- hostname: "rds.us-gov-west-1.amazonaws.com",
30
- signingRegion: "us-gov-west-1",
76
+ "us-west-2": {
77
+ variants: [
78
+ {
79
+ hostname: "rds.us-west-2.amazonaws.com",
80
+ tags: [],
81
+ },
82
+ {
83
+ hostname: "rds-fips.us-west-2.amazonaws.com",
84
+ tags: ["fips"],
85
+ },
86
+ ],
31
87
  },
32
88
  };
33
89
  var partitionHash = {
@@ -42,6 +98,7 @@ var partitionHash = {
42
98
  "ap-southeast-1",
43
99
  "ap-southeast-2",
44
100
  "ca-central-1",
101
+ "ca-central-1-fips",
45
102
  "eu-central-1",
46
103
  "eu-north-1",
47
104
  "eu-south-1",
@@ -54,29 +111,111 @@ var partitionHash = {
54
111
  "rds-fips.us-east-2",
55
112
  "rds-fips.us-west-1",
56
113
  "rds-fips.us-west-2",
114
+ "rds.ca-central-1",
115
+ "rds.us-east-1",
116
+ "rds.us-east-2",
117
+ "rds.us-west-1",
118
+ "rds.us-west-2",
57
119
  "sa-east-1",
58
120
  "us-east-1",
121
+ "us-east-1-fips",
59
122
  "us-east-2",
123
+ "us-east-2-fips",
60
124
  "us-west-1",
125
+ "us-west-1-fips",
61
126
  "us-west-2",
127
+ "us-west-2-fips",
128
+ ],
129
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
130
+ variants: [
131
+ {
132
+ hostname: "rds.{region}.amazonaws.com",
133
+ tags: [],
134
+ },
135
+ {
136
+ hostname: "rds-fips.{region}.amazonaws.com",
137
+ tags: ["fips"],
138
+ },
139
+ {
140
+ hostname: "rds-fips.{region}.api.aws",
141
+ tags: ["dualstack", "fips"],
142
+ },
143
+ {
144
+ hostname: "rds.{region}.api.aws",
145
+ tags: ["dualstack"],
146
+ },
62
147
  ],
63
- hostname: "rds.{region}.amazonaws.com",
64
148
  },
65
149
  "aws-cn": {
66
150
  regions: ["cn-north-1", "cn-northwest-1"],
67
- hostname: "rds.{region}.amazonaws.com.cn",
151
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
152
+ variants: [
153
+ {
154
+ hostname: "rds.{region}.amazonaws.com.cn",
155
+ tags: [],
156
+ },
157
+ {
158
+ hostname: "rds-fips.{region}.amazonaws.com.cn",
159
+ tags: ["fips"],
160
+ },
161
+ {
162
+ hostname: "rds-fips.{region}.api.amazonwebservices.com.cn",
163
+ tags: ["dualstack", "fips"],
164
+ },
165
+ {
166
+ hostname: "rds.{region}.api.amazonwebservices.com.cn",
167
+ tags: ["dualstack"],
168
+ },
169
+ ],
68
170
  },
69
171
  "aws-iso": {
70
- regions: ["us-iso-east-1"],
71
- hostname: "rds.{region}.c2s.ic.gov",
172
+ regions: ["us-iso-east-1", "us-iso-west-1"],
173
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
174
+ variants: [
175
+ {
176
+ hostname: "rds.{region}.c2s.ic.gov",
177
+ tags: [],
178
+ },
179
+ ],
72
180
  },
73
181
  "aws-iso-b": {
74
182
  regions: ["us-isob-east-1"],
75
- hostname: "rds.{region}.sc2s.sgov.gov",
183
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
184
+ variants: [
185
+ {
186
+ hostname: "rds.{region}.sc2s.sgov.gov",
187
+ tags: [],
188
+ },
189
+ ],
76
190
  },
77
191
  "aws-us-gov": {
78
- regions: ["rds.us-gov-east-1", "rds.us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
79
- hostname: "rds.{region}.amazonaws.com",
192
+ regions: [
193
+ "rds.us-gov-east-1",
194
+ "rds.us-gov-west-1",
195
+ "us-gov-east-1",
196
+ "us-gov-east-1-fips",
197
+ "us-gov-west-1",
198
+ "us-gov-west-1-fips",
199
+ ],
200
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
201
+ variants: [
202
+ {
203
+ hostname: "rds.{region}.amazonaws.com",
204
+ tags: [],
205
+ },
206
+ {
207
+ hostname: "rds-fips.{region}.amazonaws.com",
208
+ tags: ["fips"],
209
+ },
210
+ {
211
+ hostname: "rds-fips.{region}.api.aws",
212
+ tags: ["dualstack", "fips"],
213
+ },
214
+ {
215
+ hostname: "rds.{region}.api.aws",
216
+ tags: ["dualstack"],
217
+ },
218
+ ],
80
219
  },
81
220
  };
82
221
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {