@aws-sdk/client-rds 3.37.0 → 3.41.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 (200) 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 +166 -27
  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 +166 -27
  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/AddRoleToDBClusterCommand.d.ts +1 -1
  35. package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +2 -1
  36. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +1 -1
  37. package/dist-types/commands/AddTagsToResourceCommand.d.ts +1 -1
  38. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +1 -1
  39. package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +1 -1
  40. package/dist-types/commands/BacktrackDBClusterCommand.d.ts +1 -1
  41. package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -1
  42. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +1 -1
  43. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +2 -3
  44. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +1 -1
  45. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +3 -1
  46. package/dist-types/commands/CopyOptionGroupCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateCustomAvailabilityZoneCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +62 -0
  49. package/dist-types/commands/CreateDBClusterCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateDBInstanceCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +5 -4
  56. package/dist-types/commands/CreateDBProxyCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateDBProxyEndpointCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateDBSnapshotCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateOptionGroupCommand.d.ts +2 -1
  64. package/dist-types/commands/DeleteCustomAvailabilityZoneCommand.d.ts +1 -1
  65. package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +55 -0
  66. package/dist-types/commands/DeleteDBClusterCommand.d.ts +1 -1
  67. package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +1 -1
  68. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +1 -1
  69. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +1 -1
  72. package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +1 -1
  73. package/dist-types/commands/DeleteDBProxyCommand.d.ts +1 -1
  74. package/dist-types/commands/DeleteDBProxyEndpointCommand.d.ts +1 -1
  75. package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +1 -1
  76. package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +1 -1
  77. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +1 -1
  78. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +1 -1
  79. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +1 -1
  80. package/dist-types/commands/DeleteInstallationMediaCommand.d.ts +1 -1
  81. package/dist-types/commands/DeleteOptionGroupCommand.d.ts +1 -1
  82. package/dist-types/commands/DeregisterDBProxyTargetsCommand.d.ts +1 -1
  83. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
  84. package/dist-types/commands/DescribeCertificatesCommand.d.ts +1 -1
  85. package/dist-types/commands/DescribeCustomAvailabilityZonesCommand.d.ts +1 -1
  86. package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +1 -1
  87. package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +1 -1
  88. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +1 -1
  89. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +1 -1
  90. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +1 -1
  91. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +1 -1
  92. package/dist-types/commands/DescribeDBClustersCommand.d.ts +1 -1
  93. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +1 -1
  94. package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
  95. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +1 -1
  96. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +2 -1
  97. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +1 -1
  98. package/dist-types/commands/DescribeDBParametersCommand.d.ts +1 -1
  99. package/dist-types/commands/DescribeDBProxiesCommand.d.ts +1 -1
  100. package/dist-types/commands/DescribeDBProxyEndpointsCommand.d.ts +1 -1
  101. package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +1 -1
  102. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +3 -2
  103. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
  104. package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +1 -1
  105. package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +1 -1
  106. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +1 -1
  107. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +1 -1
  108. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +1 -1
  109. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -1
  110. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeExportTasksCommand.d.ts +1 -1
  113. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +1 -1
  114. package/dist-types/commands/DescribeInstallationMediaCommand.d.ts +1 -1
  115. package/dist-types/commands/DescribeOptionGroupOptionsCommand.d.ts +1 -1
  116. package/dist-types/commands/DescribeOptionGroupsCommand.d.ts +1 -1
  117. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +1 -1
  118. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +1 -1
  119. package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +1 -1
  121. package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +1 -1
  122. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +4 -5
  123. package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +2 -1
  124. package/dist-types/commands/FailoverDBClusterCommand.d.ts +1 -1
  125. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +1 -1
  126. package/dist-types/commands/ImportInstallationMediaCommand.d.ts +1 -1
  127. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  128. package/dist-types/commands/ModifyCertificatesCommand.d.ts +1 -1
  129. package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +1 -1
  130. package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +46 -0
  131. package/dist-types/commands/ModifyDBClusterCommand.d.ts +1 -1
  132. package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +1 -1
  133. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +1 -1
  134. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +1 -1
  135. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +1 -1
  136. package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +1 -1
  137. package/dist-types/commands/ModifyDBProxyCommand.d.ts +1 -1
  138. package/dist-types/commands/ModifyDBProxyEndpointCommand.d.ts +1 -1
  139. package/dist-types/commands/ModifyDBProxyTargetGroupCommand.d.ts +1 -1
  140. package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +1 -1
  141. package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +3 -2
  142. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +1 -1
  143. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
  144. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +1 -1
  145. package/dist-types/commands/ModifyOptionGroupCommand.d.ts +1 -1
  146. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +2 -2
  147. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +1 -1
  148. package/dist-types/commands/PurchaseReservedDBInstancesOfferingCommand.d.ts +1 -1
  149. package/dist-types/commands/RebootDBInstanceCommand.d.ts +3 -1
  150. package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +1 -1
  151. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +1 -1
  152. package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +1 -1
  153. package/dist-types/commands/RemoveRoleFromDBInstanceCommand.d.ts +1 -1
  154. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +1 -1
  155. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  156. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +1 -1
  157. package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +1 -1
  158. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +1 -1
  159. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +1 -1
  160. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +1 -1
  161. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +1 -1
  162. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +2 -1
  163. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +1 -1
  164. package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +1 -1
  165. package/dist-types/commands/StartActivityStreamCommand.d.ts +1 -1
  166. package/dist-types/commands/StartDBClusterCommand.d.ts +1 -1
  167. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +2 -1
  168. package/dist-types/commands/StartDBInstanceCommand.d.ts +2 -2
  169. package/dist-types/commands/StartExportTaskCommand.d.ts +2 -1
  170. package/dist-types/commands/StopActivityStreamCommand.d.ts +1 -1
  171. package/dist-types/commands/StopDBClusterCommand.d.ts +1 -1
  172. package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +2 -1
  173. package/dist-types/commands/StopDBInstanceCommand.d.ts +2 -2
  174. package/dist-types/commands/index.d.ts +140 -0
  175. package/dist-types/index.d.ts +5 -181
  176. package/dist-types/models/models_0.d.ts +697 -410
  177. package/dist-types/models/models_1.d.ts +468 -137
  178. package/dist-types/pagination/index.d.ts +36 -0
  179. package/dist-types/protocols/Aws_query.d.ts +9 -0
  180. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  181. package/dist-types/runtimeConfig.d.ts +2 -0
  182. package/dist-types/runtimeConfig.native.d.ts +2 -0
  183. package/dist-types/ts3.4/RDS.d.ts +15 -0
  184. package/dist-types/ts3.4/RDSClient.d.ts +9 -2
  185. package/dist-types/ts3.4/commands/CreateCustomDBEngineVersionCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/DeleteCustomDBEngineVersionCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/DescribeDBProxyTargetsCommand.d.ts +2 -1
  188. package/dist-types/ts3.4/commands/ModifyCustomDBEngineVersionCommand.d.ts +18 -0
  189. package/dist-types/ts3.4/commands/index.d.ts +140 -0
  190. package/dist-types/ts3.4/index.d.ts +5 -181
  191. package/dist-types/ts3.4/models/models_0.d.ts +190 -154
  192. package/dist-types/ts3.4/models/models_1.d.ts +97 -2
  193. package/dist-types/ts3.4/pagination/index.d.ts +36 -0
  194. package/dist-types/ts3.4/protocols/Aws_query.d.ts +9 -0
  195. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  196. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  197. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  198. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  199. package/dist-types/waiters/index.d.ts +6 -0
  200. package/package.json +28 -28
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.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
18
+
19
+
20
+ ### Features
21
+
22
+ * **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))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
29
+
30
+
31
+ ### Features
32
+
33
+ * **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))
34
+
35
+
36
+
37
+
38
+
39
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
40
+
41
+
42
+ ### Features
43
+
44
+ * **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))
45
+ * **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))
46
+
47
+
48
+
49
+
50
+
6
51
  # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
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
174
  regions: ["us-iso-east-1", "us-iso-west-1"],
73
- hostname: "rds.{region}.c2s.ic.gov",
175
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
176
+ variants: [
177
+ {
178
+ hostname: "rds.{region}.c2s.ic.gov",
179
+ tags: [],
180
+ },
181
+ {
182
+ hostname: "rds-fips.{region}.c2s.ic.gov",
183
+ tags: ["fips"],
184
+ },
185
+ ],
74
186
  },
75
187
  "aws-iso-b": {
76
188
  regions: ["us-isob-east-1"],
77
- hostname: "rds.{region}.sc2s.sgov.gov",
189
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
190
+ variants: [
191
+ {
192
+ hostname: "rds.{region}.sc2s.sgov.gov",
193
+ tags: [],
194
+ },
195
+ {
196
+ hostname: "rds-fips.{region}.sc2s.sgov.gov",
197
+ tags: ["fips"],
198
+ },
199
+ ],
78
200
  },
79
201
  "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",
202
+ regions: [
203
+ "rds.us-gov-east-1",
204
+ "rds.us-gov-west-1",
205
+ "us-gov-east-1",
206
+ "us-gov-east-1-fips",
207
+ "us-gov-west-1",
208
+ "us-gov-west-1-fips",
209
+ ],
210
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
211
+ variants: [
212
+ {
213
+ hostname: "rds.{region}.amazonaws.com",
214
+ tags: [],
215
+ },
216
+ {
217
+ hostname: "rds.{region}.amazonaws.com",
218
+ tags: ["fips"],
219
+ },
220
+ ],
82
221
  },
83
222
  };
84
223
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {