@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,51 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update clients as of 2021/10/28 ([#2955](https://github.com/aws/aws-sdk-js-v3/issues/2955)) ([378d161](https://github.com/aws/aws-sdk-js-v3/commit/378d16166de49b06263291001986715d9533cadf))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
29
+
30
+
31
+ ### Features
32
+
33
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
34
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
35
+
36
+
37
+
38
+
39
+
40
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
41
+
42
+
43
+ ### Features
44
+
45
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
46
+
47
+
48
+
49
+
50
+
6
51
  ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
52
 
8
53
 
package/dist-cjs/RDS.js CHANGED
@@ -15,6 +15,7 @@ const CopyDBParameterGroupCommand_1 = require("./commands/CopyDBParameterGroupCo
15
15
  const CopyDBSnapshotCommand_1 = require("./commands/CopyDBSnapshotCommand");
16
16
  const CopyOptionGroupCommand_1 = require("./commands/CopyOptionGroupCommand");
17
17
  const CreateCustomAvailabilityZoneCommand_1 = require("./commands/CreateCustomAvailabilityZoneCommand");
18
+ const CreateCustomDBEngineVersionCommand_1 = require("./commands/CreateCustomDBEngineVersionCommand");
18
19
  const CreateDBClusterCommand_1 = require("./commands/CreateDBClusterCommand");
19
20
  const CreateDBClusterEndpointCommand_1 = require("./commands/CreateDBClusterEndpointCommand");
20
21
  const CreateDBClusterParameterGroupCommand_1 = require("./commands/CreateDBClusterParameterGroupCommand");
@@ -31,6 +32,7 @@ const CreateEventSubscriptionCommand_1 = require("./commands/CreateEventSubscrip
31
32
  const CreateGlobalClusterCommand_1 = require("./commands/CreateGlobalClusterCommand");
32
33
  const CreateOptionGroupCommand_1 = require("./commands/CreateOptionGroupCommand");
33
34
  const DeleteCustomAvailabilityZoneCommand_1 = require("./commands/DeleteCustomAvailabilityZoneCommand");
35
+ const DeleteCustomDBEngineVersionCommand_1 = require("./commands/DeleteCustomDBEngineVersionCommand");
34
36
  const DeleteDBClusterCommand_1 = require("./commands/DeleteDBClusterCommand");
35
37
  const DeleteDBClusterEndpointCommand_1 = require("./commands/DeleteDBClusterEndpointCommand");
36
38
  const DeleteDBClusterParameterGroupCommand_1 = require("./commands/DeleteDBClusterParameterGroupCommand");
@@ -95,6 +97,7 @@ const ImportInstallationMediaCommand_1 = require("./commands/ImportInstallationM
95
97
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
96
98
  const ModifyCertificatesCommand_1 = require("./commands/ModifyCertificatesCommand");
97
99
  const ModifyCurrentDBClusterCapacityCommand_1 = require("./commands/ModifyCurrentDBClusterCapacityCommand");
100
+ const ModifyCustomDBEngineVersionCommand_1 = require("./commands/ModifyCustomDBEngineVersionCommand");
98
101
  const ModifyDBClusterCommand_1 = require("./commands/ModifyDBClusterCommand");
99
102
  const ModifyDBClusterEndpointCommand_1 = require("./commands/ModifyDBClusterEndpointCommand");
100
103
  const ModifyDBClusterParameterGroupCommand_1 = require("./commands/ModifyDBClusterParameterGroupCommand");
@@ -336,6 +339,20 @@ class RDS extends RDSClient_1.RDSClient {
336
339
  return this.send(command, optionsOrCb);
337
340
  }
338
341
  }
342
+ createCustomDBEngineVersion(args, optionsOrCb, cb) {
343
+ const command = new CreateCustomDBEngineVersionCommand_1.CreateCustomDBEngineVersionCommand(args);
344
+ if (typeof optionsOrCb === "function") {
345
+ this.send(command, optionsOrCb);
346
+ }
347
+ else if (typeof cb === "function") {
348
+ if (typeof optionsOrCb !== "object")
349
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
350
+ this.send(command, optionsOrCb || {}, cb);
351
+ }
352
+ else {
353
+ return this.send(command, optionsOrCb);
354
+ }
355
+ }
339
356
  createDBCluster(args, optionsOrCb, cb) {
340
357
  const command = new CreateDBClusterCommand_1.CreateDBClusterCommand(args);
341
358
  if (typeof optionsOrCb === "function") {
@@ -560,6 +577,20 @@ class RDS extends RDSClient_1.RDSClient {
560
577
  return this.send(command, optionsOrCb);
561
578
  }
562
579
  }
580
+ deleteCustomDBEngineVersion(args, optionsOrCb, cb) {
581
+ const command = new DeleteCustomDBEngineVersionCommand_1.DeleteCustomDBEngineVersionCommand(args);
582
+ if (typeof optionsOrCb === "function") {
583
+ this.send(command, optionsOrCb);
584
+ }
585
+ else if (typeof cb === "function") {
586
+ if (typeof optionsOrCb !== "object")
587
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
588
+ this.send(command, optionsOrCb || {}, cb);
589
+ }
590
+ else {
591
+ return this.send(command, optionsOrCb);
592
+ }
593
+ }
563
594
  deleteDBCluster(args, optionsOrCb, cb) {
564
595
  const command = new DeleteDBClusterCommand_1.DeleteDBClusterCommand(args);
565
596
  if (typeof optionsOrCb === "function") {
@@ -1456,6 +1487,20 @@ class RDS extends RDSClient_1.RDSClient {
1456
1487
  return this.send(command, optionsOrCb);
1457
1488
  }
1458
1489
  }
1490
+ modifyCustomDBEngineVersion(args, optionsOrCb, cb) {
1491
+ const command = new ModifyCustomDBEngineVersionCommand_1.ModifyCustomDBEngineVersionCommand(args);
1492
+ if (typeof optionsOrCb === "function") {
1493
+ this.send(command, optionsOrCb);
1494
+ }
1495
+ else if (typeof cb === "function") {
1496
+ if (typeof optionsOrCb !== "object")
1497
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1498
+ this.send(command, optionsOrCb || {}, cb);
1499
+ }
1500
+ else {
1501
+ return this.send(command, optionsOrCb);
1502
+ }
1503
+ }
1459
1504
  modifyDBCluster(args, optionsOrCb, cb) {
1460
1505
  const command = new ModifyDBClusterCommand_1.ModifyDBClusterCommand(args);
1461
1506
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateCustomDBEngineVersionCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class CreateCustomDBEngineVersionCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RDSClient";
18
+ const commandName = "CreateCustomDBEngineVersionCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateCustomDBEngineVersionMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DBEngineVersion.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_query_1.serializeAws_queryCreateCustomDBEngineVersionCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_query_1.deserializeAws_queryCreateCustomDBEngineVersionCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateCustomDBEngineVersionCommand = CreateCustomDBEngineVersionCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteCustomDBEngineVersionCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class DeleteCustomDBEngineVersionCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RDSClient";
18
+ const commandName = "DeleteCustomDBEngineVersionCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteCustomDBEngineVersionMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DBEngineVersion.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_query_1.serializeAws_queryDeleteCustomDBEngineVersionCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_query_1.deserializeAws_queryDeleteCustomDBEngineVersionCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteCustomDBEngineVersionCommand = DeleteCustomDBEngineVersionCommand;
@@ -4,6 +4,7 @@ exports.DescribeDBProxyTargetsCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
7
8
  const Aws_query_1 = require("../protocols/Aws_query");
8
9
  class DescribeDBProxyTargetsCommand extends smithy_client_1.Command {
9
10
  constructor(input) {
@@ -21,7 +22,7 @@ class DescribeDBProxyTargetsCommand extends smithy_client_1.Command {
21
22
  clientName,
22
23
  commandName,
23
24
  inputFilterSensitiveLog: models_0_1.DescribeDBProxyTargetsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeDBProxyTargetsResponse.filterSensitiveLog,
25
+ outputFilterSensitiveLog: models_1_1.DescribeDBProxyTargetsResponse.filterSensitiveLog,
25
26
  };
26
27
  const { requestHandler } = configuration;
27
28
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModifyCustomDBEngineVersionCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
+ const Aws_query_1 = require("../protocols/Aws_query");
9
+ class ModifyCustomDBEngineVersionCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "RDSClient";
19
+ const commandName = "ModifyCustomDBEngineVersionCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: models_1_1.ModifyCustomDBEngineVersionMessage.filterSensitiveLog,
25
+ outputFilterSensitiveLog: models_0_1.DBEngineVersion.filterSensitiveLog,
26
+ };
27
+ const { requestHandler } = configuration;
28
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
29
+ }
30
+ serialize(input, context) {
31
+ return Aws_query_1.serializeAws_queryModifyCustomDBEngineVersionCommand(input, context);
32
+ }
33
+ deserialize(output, context) {
34
+ return Aws_query_1.deserializeAws_queryModifyCustomDBEngineVersionCommand(output, context);
35
+ }
36
+ }
37
+ exports.ModifyCustomDBEngineVersionCommand = ModifyCustomDBEngineVersionCommand;
@@ -0,0 +1,143 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AddRoleToDBClusterCommand"), exports);
5
+ tslib_1.__exportStar(require("./AddRoleToDBInstanceCommand"), exports);
6
+ tslib_1.__exportStar(require("./AddSourceIdentifierToSubscriptionCommand"), exports);
7
+ tslib_1.__exportStar(require("./AddTagsToResourceCommand"), exports);
8
+ tslib_1.__exportStar(require("./ApplyPendingMaintenanceActionCommand"), exports);
9
+ tslib_1.__exportStar(require("./AuthorizeDBSecurityGroupIngressCommand"), exports);
10
+ tslib_1.__exportStar(require("./BacktrackDBClusterCommand"), exports);
11
+ tslib_1.__exportStar(require("./CancelExportTaskCommand"), exports);
12
+ tslib_1.__exportStar(require("./CopyDBClusterParameterGroupCommand"), exports);
13
+ tslib_1.__exportStar(require("./CopyDBClusterSnapshotCommand"), exports);
14
+ tslib_1.__exportStar(require("./CopyDBParameterGroupCommand"), exports);
15
+ tslib_1.__exportStar(require("./CopyDBSnapshotCommand"), exports);
16
+ tslib_1.__exportStar(require("./CopyOptionGroupCommand"), exports);
17
+ tslib_1.__exportStar(require("./CreateCustomAvailabilityZoneCommand"), exports);
18
+ tslib_1.__exportStar(require("./CreateCustomDBEngineVersionCommand"), exports);
19
+ tslib_1.__exportStar(require("./CreateDBClusterCommand"), exports);
20
+ tslib_1.__exportStar(require("./CreateDBClusterEndpointCommand"), exports);
21
+ tslib_1.__exportStar(require("./CreateDBClusterParameterGroupCommand"), exports);
22
+ tslib_1.__exportStar(require("./CreateDBClusterSnapshotCommand"), exports);
23
+ tslib_1.__exportStar(require("./CreateDBInstanceCommand"), exports);
24
+ tslib_1.__exportStar(require("./CreateDBInstanceReadReplicaCommand"), exports);
25
+ tslib_1.__exportStar(require("./CreateDBParameterGroupCommand"), exports);
26
+ tslib_1.__exportStar(require("./CreateDBProxyCommand"), exports);
27
+ tslib_1.__exportStar(require("./CreateDBProxyEndpointCommand"), exports);
28
+ tslib_1.__exportStar(require("./CreateDBSecurityGroupCommand"), exports);
29
+ tslib_1.__exportStar(require("./CreateDBSnapshotCommand"), exports);
30
+ tslib_1.__exportStar(require("./CreateDBSubnetGroupCommand"), exports);
31
+ tslib_1.__exportStar(require("./CreateEventSubscriptionCommand"), exports);
32
+ tslib_1.__exportStar(require("./CreateGlobalClusterCommand"), exports);
33
+ tslib_1.__exportStar(require("./CreateOptionGroupCommand"), exports);
34
+ tslib_1.__exportStar(require("./DeleteCustomAvailabilityZoneCommand"), exports);
35
+ tslib_1.__exportStar(require("./DeleteCustomDBEngineVersionCommand"), exports);
36
+ tslib_1.__exportStar(require("./DeleteDBClusterCommand"), exports);
37
+ tslib_1.__exportStar(require("./DeleteDBClusterEndpointCommand"), exports);
38
+ tslib_1.__exportStar(require("./DeleteDBClusterParameterGroupCommand"), exports);
39
+ tslib_1.__exportStar(require("./DeleteDBClusterSnapshotCommand"), exports);
40
+ tslib_1.__exportStar(require("./DeleteDBInstanceAutomatedBackupCommand"), exports);
41
+ tslib_1.__exportStar(require("./DeleteDBInstanceCommand"), exports);
42
+ tslib_1.__exportStar(require("./DeleteDBParameterGroupCommand"), exports);
43
+ tslib_1.__exportStar(require("./DeleteDBProxyCommand"), exports);
44
+ tslib_1.__exportStar(require("./DeleteDBProxyEndpointCommand"), exports);
45
+ tslib_1.__exportStar(require("./DeleteDBSecurityGroupCommand"), exports);
46
+ tslib_1.__exportStar(require("./DeleteDBSnapshotCommand"), exports);
47
+ tslib_1.__exportStar(require("./DeleteDBSubnetGroupCommand"), exports);
48
+ tslib_1.__exportStar(require("./DeleteEventSubscriptionCommand"), exports);
49
+ tslib_1.__exportStar(require("./DeleteGlobalClusterCommand"), exports);
50
+ tslib_1.__exportStar(require("./DeleteInstallationMediaCommand"), exports);
51
+ tslib_1.__exportStar(require("./DeleteOptionGroupCommand"), exports);
52
+ tslib_1.__exportStar(require("./DeregisterDBProxyTargetsCommand"), exports);
53
+ tslib_1.__exportStar(require("./DescribeAccountAttributesCommand"), exports);
54
+ tslib_1.__exportStar(require("./DescribeCertificatesCommand"), exports);
55
+ tslib_1.__exportStar(require("./DescribeCustomAvailabilityZonesCommand"), exports);
56
+ tslib_1.__exportStar(require("./DescribeDBClusterBacktracksCommand"), exports);
57
+ tslib_1.__exportStar(require("./DescribeDBClusterEndpointsCommand"), exports);
58
+ tslib_1.__exportStar(require("./DescribeDBClusterParameterGroupsCommand"), exports);
59
+ tslib_1.__exportStar(require("./DescribeDBClusterParametersCommand"), exports);
60
+ tslib_1.__exportStar(require("./DescribeDBClusterSnapshotAttributesCommand"), exports);
61
+ tslib_1.__exportStar(require("./DescribeDBClusterSnapshotsCommand"), exports);
62
+ tslib_1.__exportStar(require("./DescribeDBClustersCommand"), exports);
63
+ tslib_1.__exportStar(require("./DescribeDBEngineVersionsCommand"), exports);
64
+ tslib_1.__exportStar(require("./DescribeDBInstanceAutomatedBackupsCommand"), exports);
65
+ tslib_1.__exportStar(require("./DescribeDBInstancesCommand"), exports);
66
+ tslib_1.__exportStar(require("./DescribeDBLogFilesCommand"), exports);
67
+ tslib_1.__exportStar(require("./DescribeDBParameterGroupsCommand"), exports);
68
+ tslib_1.__exportStar(require("./DescribeDBParametersCommand"), exports);
69
+ tslib_1.__exportStar(require("./DescribeDBProxiesCommand"), exports);
70
+ tslib_1.__exportStar(require("./DescribeDBProxyEndpointsCommand"), exports);
71
+ tslib_1.__exportStar(require("./DescribeDBProxyTargetGroupsCommand"), exports);
72
+ tslib_1.__exportStar(require("./DescribeDBProxyTargetsCommand"), exports);
73
+ tslib_1.__exportStar(require("./DescribeDBSecurityGroupsCommand"), exports);
74
+ tslib_1.__exportStar(require("./DescribeDBSnapshotAttributesCommand"), exports);
75
+ tslib_1.__exportStar(require("./DescribeDBSnapshotsCommand"), exports);
76
+ tslib_1.__exportStar(require("./DescribeDBSubnetGroupsCommand"), exports);
77
+ tslib_1.__exportStar(require("./DescribeEngineDefaultClusterParametersCommand"), exports);
78
+ tslib_1.__exportStar(require("./DescribeEngineDefaultParametersCommand"), exports);
79
+ tslib_1.__exportStar(require("./DescribeEventCategoriesCommand"), exports);
80
+ tslib_1.__exportStar(require("./DescribeEventSubscriptionsCommand"), exports);
81
+ tslib_1.__exportStar(require("./DescribeEventsCommand"), exports);
82
+ tslib_1.__exportStar(require("./DescribeExportTasksCommand"), exports);
83
+ tslib_1.__exportStar(require("./DescribeGlobalClustersCommand"), exports);
84
+ tslib_1.__exportStar(require("./DescribeInstallationMediaCommand"), exports);
85
+ tslib_1.__exportStar(require("./DescribeOptionGroupOptionsCommand"), exports);
86
+ tslib_1.__exportStar(require("./DescribeOptionGroupsCommand"), exports);
87
+ tslib_1.__exportStar(require("./DescribeOrderableDBInstanceOptionsCommand"), exports);
88
+ tslib_1.__exportStar(require("./DescribePendingMaintenanceActionsCommand"), exports);
89
+ tslib_1.__exportStar(require("./DescribeReservedDBInstancesCommand"), exports);
90
+ tslib_1.__exportStar(require("./DescribeReservedDBInstancesOfferingsCommand"), exports);
91
+ tslib_1.__exportStar(require("./DescribeSourceRegionsCommand"), exports);
92
+ tslib_1.__exportStar(require("./DescribeValidDBInstanceModificationsCommand"), exports);
93
+ tslib_1.__exportStar(require("./DownloadDBLogFilePortionCommand"), exports);
94
+ tslib_1.__exportStar(require("./FailoverDBClusterCommand"), exports);
95
+ tslib_1.__exportStar(require("./FailoverGlobalClusterCommand"), exports);
96
+ tslib_1.__exportStar(require("./ImportInstallationMediaCommand"), exports);
97
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
98
+ tslib_1.__exportStar(require("./ModifyCertificatesCommand"), exports);
99
+ tslib_1.__exportStar(require("./ModifyCurrentDBClusterCapacityCommand"), exports);
100
+ tslib_1.__exportStar(require("./ModifyCustomDBEngineVersionCommand"), exports);
101
+ tslib_1.__exportStar(require("./ModifyDBClusterCommand"), exports);
102
+ tslib_1.__exportStar(require("./ModifyDBClusterEndpointCommand"), exports);
103
+ tslib_1.__exportStar(require("./ModifyDBClusterParameterGroupCommand"), exports);
104
+ tslib_1.__exportStar(require("./ModifyDBClusterSnapshotAttributeCommand"), exports);
105
+ tslib_1.__exportStar(require("./ModifyDBInstanceCommand"), exports);
106
+ tslib_1.__exportStar(require("./ModifyDBParameterGroupCommand"), exports);
107
+ tslib_1.__exportStar(require("./ModifyDBProxyCommand"), exports);
108
+ tslib_1.__exportStar(require("./ModifyDBProxyEndpointCommand"), exports);
109
+ tslib_1.__exportStar(require("./ModifyDBProxyTargetGroupCommand"), exports);
110
+ tslib_1.__exportStar(require("./ModifyDBSnapshotAttributeCommand"), exports);
111
+ tslib_1.__exportStar(require("./ModifyDBSnapshotCommand"), exports);
112
+ tslib_1.__exportStar(require("./ModifyDBSubnetGroupCommand"), exports);
113
+ tslib_1.__exportStar(require("./ModifyEventSubscriptionCommand"), exports);
114
+ tslib_1.__exportStar(require("./ModifyGlobalClusterCommand"), exports);
115
+ tslib_1.__exportStar(require("./ModifyOptionGroupCommand"), exports);
116
+ tslib_1.__exportStar(require("./PromoteReadReplicaCommand"), exports);
117
+ tslib_1.__exportStar(require("./PromoteReadReplicaDBClusterCommand"), exports);
118
+ tslib_1.__exportStar(require("./PurchaseReservedDBInstancesOfferingCommand"), exports);
119
+ tslib_1.__exportStar(require("./RebootDBInstanceCommand"), exports);
120
+ tslib_1.__exportStar(require("./RegisterDBProxyTargetsCommand"), exports);
121
+ tslib_1.__exportStar(require("./RemoveFromGlobalClusterCommand"), exports);
122
+ tslib_1.__exportStar(require("./RemoveRoleFromDBClusterCommand"), exports);
123
+ tslib_1.__exportStar(require("./RemoveRoleFromDBInstanceCommand"), exports);
124
+ tslib_1.__exportStar(require("./RemoveSourceIdentifierFromSubscriptionCommand"), exports);
125
+ tslib_1.__exportStar(require("./RemoveTagsFromResourceCommand"), exports);
126
+ tslib_1.__exportStar(require("./ResetDBClusterParameterGroupCommand"), exports);
127
+ tslib_1.__exportStar(require("./ResetDBParameterGroupCommand"), exports);
128
+ tslib_1.__exportStar(require("./RestoreDBClusterFromS3Command"), exports);
129
+ tslib_1.__exportStar(require("./RestoreDBClusterFromSnapshotCommand"), exports);
130
+ tslib_1.__exportStar(require("./RestoreDBClusterToPointInTimeCommand"), exports);
131
+ tslib_1.__exportStar(require("./RestoreDBInstanceFromDBSnapshotCommand"), exports);
132
+ tslib_1.__exportStar(require("./RestoreDBInstanceFromS3Command"), exports);
133
+ tslib_1.__exportStar(require("./RestoreDBInstanceToPointInTimeCommand"), exports);
134
+ tslib_1.__exportStar(require("./RevokeDBSecurityGroupIngressCommand"), exports);
135
+ tslib_1.__exportStar(require("./StartActivityStreamCommand"), exports);
136
+ tslib_1.__exportStar(require("./StartDBClusterCommand"), exports);
137
+ tslib_1.__exportStar(require("./StartDBInstanceAutomatedBackupsReplicationCommand"), exports);
138
+ tslib_1.__exportStar(require("./StartDBInstanceCommand"), exports);
139
+ tslib_1.__exportStar(require("./StartExportTaskCommand"), exports);
140
+ tslib_1.__exportStar(require("./StopActivityStreamCommand"), exports);
141
+ tslib_1.__exportStar(require("./StopDBClusterCommand"), exports);
142
+ tslib_1.__exportStar(require("./StopDBInstanceAutomatedBackupsReplicationCommand"), exports);
143
+ tslib_1.__exportStar(require("./StopDBInstanceCommand"), exports);
@@ -3,33 +3,89 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
- "rds-fips.ca-central-1": {
7
- hostname: "rds-fips.ca-central-1.amazonaws.com",
8
- signingRegion: "ca-central-1",
6
+ "ca-central-1": {
7
+ variants: [
8
+ {
9
+ hostname: "rds.ca-central-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ {
13
+ hostname: "rds-fips.ca-central-1.amazonaws.com",
14
+ tags: ["fips"],
15
+ },
16
+ ],
9
17
  },
10
- "rds-fips.us-east-1": {
11
- hostname: "rds-fips.us-east-1.amazonaws.com",
12
- signingRegion: "us-east-1",
18
+ "us-east-1": {
19
+ variants: [
20
+ {
21
+ hostname: "rds.us-east-1.amazonaws.com",
22
+ tags: [],
23
+ },
24
+ {
25
+ hostname: "rds-fips.us-east-1.amazonaws.com",
26
+ tags: ["fips"],
27
+ },
28
+ ],
13
29
  },
14
- "rds-fips.us-east-2": {
15
- hostname: "rds-fips.us-east-2.amazonaws.com",
16
- signingRegion: "us-east-2",
30
+ "us-east-2": {
31
+ variants: [
32
+ {
33
+ hostname: "rds.us-east-2.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "rds-fips.us-east-2.amazonaws.com",
38
+ tags: ["fips"],
39
+ },
40
+ ],
17
41
  },
18
- "rds-fips.us-west-1": {
19
- hostname: "rds-fips.us-west-1.amazonaws.com",
20
- signingRegion: "us-west-1",
42
+ "us-gov-east-1": {
43
+ variants: [
44
+ {
45
+ hostname: "rds.us-gov-east-1.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ {
49
+ hostname: "rds.us-gov-east-1.amazonaws.com",
50
+ tags: ["fips"],
51
+ },
52
+ ],
21
53
  },
22
- "rds-fips.us-west-2": {
23
- hostname: "rds-fips.us-west-2.amazonaws.com",
24
- signingRegion: "us-west-2",
54
+ "us-gov-west-1": {
55
+ variants: [
56
+ {
57
+ hostname: "rds.us-gov-west-1.amazonaws.com",
58
+ tags: [],
59
+ },
60
+ {
61
+ hostname: "rds.us-gov-west-1.amazonaws.com",
62
+ tags: ["fips"],
63
+ },
64
+ ],
25
65
  },
26
- "rds.us-gov-east-1": {
27
- hostname: "rds.us-gov-east-1.amazonaws.com",
28
- signingRegion: "us-gov-east-1",
66
+ "us-west-1": {
67
+ variants: [
68
+ {
69
+ hostname: "rds.us-west-1.amazonaws.com",
70
+ tags: [],
71
+ },
72
+ {
73
+ hostname: "rds-fips.us-west-1.amazonaws.com",
74
+ tags: ["fips"],
75
+ },
76
+ ],
29
77
  },
30
- "rds.us-gov-west-1": {
31
- hostname: "rds.us-gov-west-1.amazonaws.com",
32
- signingRegion: "us-gov-west-1",
78
+ "us-west-2": {
79
+ variants: [
80
+ {
81
+ hostname: "rds.us-west-2.amazonaws.com",
82
+ tags: [],
83
+ },
84
+ {
85
+ hostname: "rds-fips.us-west-2.amazonaws.com",
86
+ tags: ["fips"],
87
+ },
88
+ ],
33
89
  },
34
90
  };
35
91
  const partitionHash = {
@@ -44,6 +100,7 @@ const partitionHash = {
44
100
  "ap-southeast-1",
45
101
  "ap-southeast-2",
46
102
  "ca-central-1",
103
+ "ca-central-1-fips",
47
104
  "eu-central-1",
48
105
  "eu-north-1",
49
106
  "eu-south-1",
@@ -56,29 +113,111 @@ const partitionHash = {
56
113
  "rds-fips.us-east-2",
57
114
  "rds-fips.us-west-1",
58
115
  "rds-fips.us-west-2",
116
+ "rds.ca-central-1",
117
+ "rds.us-east-1",
118
+ "rds.us-east-2",
119
+ "rds.us-west-1",
120
+ "rds.us-west-2",
59
121
  "sa-east-1",
60
122
  "us-east-1",
123
+ "us-east-1-fips",
61
124
  "us-east-2",
125
+ "us-east-2-fips",
62
126
  "us-west-1",
127
+ "us-west-1-fips",
63
128
  "us-west-2",
129
+ "us-west-2-fips",
130
+ ],
131
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
132
+ variants: [
133
+ {
134
+ hostname: "rds.{region}.amazonaws.com",
135
+ tags: [],
136
+ },
137
+ {
138
+ hostname: "rds-fips.{region}.amazonaws.com",
139
+ tags: ["fips"],
140
+ },
141
+ {
142
+ hostname: "rds-fips.{region}.api.aws",
143
+ tags: ["dualstack", "fips"],
144
+ },
145
+ {
146
+ hostname: "rds.{region}.api.aws",
147
+ tags: ["dualstack"],
148
+ },
64
149
  ],
65
- hostname: "rds.{region}.amazonaws.com",
66
150
  },
67
151
  "aws-cn": {
68
152
  regions: ["cn-north-1", "cn-northwest-1"],
69
- hostname: "rds.{region}.amazonaws.com.cn",
153
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
154
+ variants: [
155
+ {
156
+ hostname: "rds.{region}.amazonaws.com.cn",
157
+ tags: [],
158
+ },
159
+ {
160
+ hostname: "rds-fips.{region}.amazonaws.com.cn",
161
+ tags: ["fips"],
162
+ },
163
+ {
164
+ hostname: "rds-fips.{region}.api.amazonwebservices.com.cn",
165
+ tags: ["dualstack", "fips"],
166
+ },
167
+ {
168
+ hostname: "rds.{region}.api.amazonwebservices.com.cn",
169
+ tags: ["dualstack"],
170
+ },
171
+ ],
70
172
  },
71
173
  "aws-iso": {
72
- regions: ["us-iso-east-1"],
73
- hostname: "rds.{region}.c2s.ic.gov",
174
+ regions: ["us-iso-east-1", "us-iso-west-1"],
175
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
176
+ variants: [
177
+ {
178
+ hostname: "rds.{region}.c2s.ic.gov",
179
+ tags: [],
180
+ },
181
+ ],
74
182
  },
75
183
  "aws-iso-b": {
76
184
  regions: ["us-isob-east-1"],
77
- hostname: "rds.{region}.sc2s.sgov.gov",
185
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
186
+ variants: [
187
+ {
188
+ hostname: "rds.{region}.sc2s.sgov.gov",
189
+ tags: [],
190
+ },
191
+ ],
78
192
  },
79
193
  "aws-us-gov": {
80
- regions: ["rds.us-gov-east-1", "rds.us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
81
- hostname: "rds.{region}.amazonaws.com",
194
+ regions: [
195
+ "rds.us-gov-east-1",
196
+ "rds.us-gov-west-1",
197
+ "us-gov-east-1",
198
+ "us-gov-east-1-fips",
199
+ "us-gov-west-1",
200
+ "us-gov-west-1-fips",
201
+ ],
202
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
203
+ variants: [
204
+ {
205
+ hostname: "rds.{region}.amazonaws.com",
206
+ tags: [],
207
+ },
208
+ {
209
+ hostname: "rds-fips.{region}.amazonaws.com",
210
+ tags: ["fips"],
211
+ },
212
+ {
213
+ hostname: "rds-fips.{region}.api.aws",
214
+ tags: ["dualstack", "fips"],
215
+ },
216
+ {
217
+ hostname: "rds.{region}.api.aws",
218
+ tags: ["dualstack"],
219
+ },
220
+ ],
82
221
  },
83
222
  };
84
223
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {