@aws-sdk/client-docdb 3.477.0 → 3.481.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 (269) hide show
  1. package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +18 -41
  2. package/dist-cjs/commands/AddTagsToResourceCommand.js +18 -41
  3. package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +18 -41
  4. package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +18 -41
  5. package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +19 -42
  6. package/dist-cjs/commands/CreateDBClusterCommand.js +18 -41
  7. package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +18 -41
  8. package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +18 -41
  9. package/dist-cjs/commands/CreateDBInstanceCommand.js +18 -41
  10. package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +18 -41
  11. package/dist-cjs/commands/CreateEventSubscriptionCommand.js +18 -41
  12. package/dist-cjs/commands/CreateGlobalClusterCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteDBClusterCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteDBInstanceCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteGlobalClusterCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeCertificatesCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeDBClustersCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeDBInstancesCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeEventCategoriesCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeGlobalClustersCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +18 -41
  35. package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +18 -41
  36. package/dist-cjs/commands/FailoverDBClusterCommand.js +18 -41
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  38. package/dist-cjs/commands/ModifyDBClusterCommand.js +18 -41
  39. package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +18 -41
  40. package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +18 -41
  41. package/dist-cjs/commands/ModifyDBInstanceCommand.js +18 -41
  42. package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +18 -41
  43. package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +18 -41
  44. package/dist-cjs/commands/ModifyGlobalClusterCommand.js +18 -41
  45. package/dist-cjs/commands/RebootDBInstanceCommand.js +18 -41
  46. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +18 -41
  47. package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +18 -41
  48. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +18 -41
  49. package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +18 -41
  50. package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +18 -41
  51. package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +18 -41
  52. package/dist-cjs/commands/StartDBClusterCommand.js +18 -41
  53. package/dist-cjs/commands/StopDBClusterCommand.js +18 -41
  54. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  55. package/dist-cjs/pagination/DescribeCertificatesPaginator.js +2 -24
  56. package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -24
  57. package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +2 -24
  58. package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -24
  59. package/dist-cjs/pagination/DescribeDBClustersPaginator.js +2 -24
  60. package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +2 -24
  61. package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +2 -24
  62. package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +2 -24
  63. package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +2 -24
  64. package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
  65. package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +2 -24
  66. package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -24
  67. package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -24
  68. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +18 -41
  69. package/dist-es/commands/AddTagsToResourceCommand.js +18 -41
  70. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +18 -41
  71. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +18 -41
  72. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +19 -42
  73. package/dist-es/commands/CreateDBClusterCommand.js +18 -41
  74. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +18 -41
  75. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +18 -41
  76. package/dist-es/commands/CreateDBInstanceCommand.js +18 -41
  77. package/dist-es/commands/CreateDBSubnetGroupCommand.js +18 -41
  78. package/dist-es/commands/CreateEventSubscriptionCommand.js +18 -41
  79. package/dist-es/commands/CreateGlobalClusterCommand.js +18 -41
  80. package/dist-es/commands/DeleteDBClusterCommand.js +18 -41
  81. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +18 -41
  82. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +18 -41
  83. package/dist-es/commands/DeleteDBInstanceCommand.js +18 -41
  84. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +18 -41
  85. package/dist-es/commands/DeleteEventSubscriptionCommand.js +18 -41
  86. package/dist-es/commands/DeleteGlobalClusterCommand.js +18 -41
  87. package/dist-es/commands/DescribeCertificatesCommand.js +18 -41
  88. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +18 -41
  89. package/dist-es/commands/DescribeDBClusterParametersCommand.js +18 -41
  90. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +18 -41
  91. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +18 -41
  92. package/dist-es/commands/DescribeDBClustersCommand.js +18 -41
  93. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +18 -41
  94. package/dist-es/commands/DescribeDBInstancesCommand.js +18 -41
  95. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +18 -41
  96. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +18 -41
  97. package/dist-es/commands/DescribeEventCategoriesCommand.js +18 -41
  98. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +18 -41
  99. package/dist-es/commands/DescribeEventsCommand.js +18 -41
  100. package/dist-es/commands/DescribeGlobalClustersCommand.js +18 -41
  101. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +18 -41
  102. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +18 -41
  103. package/dist-es/commands/FailoverDBClusterCommand.js +18 -41
  104. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  105. package/dist-es/commands/ModifyDBClusterCommand.js +18 -41
  106. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +18 -41
  107. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +18 -41
  108. package/dist-es/commands/ModifyDBInstanceCommand.js +18 -41
  109. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +18 -41
  110. package/dist-es/commands/ModifyEventSubscriptionCommand.js +18 -41
  111. package/dist-es/commands/ModifyGlobalClusterCommand.js +18 -41
  112. package/dist-es/commands/RebootDBInstanceCommand.js +18 -41
  113. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +18 -41
  114. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +18 -41
  115. package/dist-es/commands/RemoveTagsFromResourceCommand.js +18 -41
  116. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +18 -41
  117. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +18 -41
  118. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +18 -41
  119. package/dist-es/commands/StartDBClusterCommand.js +18 -41
  120. package/dist-es/commands/StopDBClusterCommand.js +18 -41
  121. package/dist-es/endpoint/EndpointParameters.js +6 -0
  122. package/dist-es/pagination/DescribeCertificatesPaginator.js +2 -23
  123. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -23
  124. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +2 -23
  125. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -23
  126. package/dist-es/pagination/DescribeDBClustersPaginator.js +2 -23
  127. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +2 -23
  128. package/dist-es/pagination/DescribeDBInstancesPaginator.js +2 -23
  129. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +2 -23
  130. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +2 -23
  131. package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
  132. package/dist-es/pagination/DescribeGlobalClustersPaginator.js +2 -23
  133. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -23
  134. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -23
  135. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +6 -21
  136. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -21
  137. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +6 -21
  138. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +6 -21
  139. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +6 -21
  140. package/dist-types/commands/CreateDBClusterCommand.d.ts +6 -21
  141. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +6 -21
  142. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +6 -21
  143. package/dist-types/commands/CreateDBInstanceCommand.d.ts +6 -21
  144. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +6 -21
  145. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +6 -21
  146. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +6 -21
  147. package/dist-types/commands/DeleteDBClusterCommand.d.ts +6 -21
  148. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +6 -21
  149. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +6 -21
  150. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +6 -21
  151. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +6 -21
  152. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +6 -21
  153. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +6 -21
  154. package/dist-types/commands/DescribeCertificatesCommand.d.ts +6 -21
  155. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +6 -21
  156. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +6 -21
  157. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +6 -21
  158. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +6 -21
  159. package/dist-types/commands/DescribeDBClustersCommand.d.ts +6 -21
  160. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +6 -21
  161. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +6 -21
  162. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +6 -21
  163. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +6 -21
  164. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +6 -21
  165. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +6 -21
  166. package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
  167. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +6 -21
  168. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +6 -21
  169. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +6 -21
  170. package/dist-types/commands/FailoverDBClusterCommand.d.ts +6 -21
  171. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  172. package/dist-types/commands/ModifyDBClusterCommand.d.ts +6 -21
  173. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +6 -21
  174. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +6 -21
  175. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +6 -21
  176. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +6 -21
  177. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +6 -21
  178. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +6 -21
  179. package/dist-types/commands/RebootDBInstanceCommand.d.ts +6 -21
  180. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +6 -21
  181. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +6 -21
  182. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -21
  183. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +6 -21
  184. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +6 -21
  185. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +6 -21
  186. package/dist-types/commands/StartDBClusterCommand.d.ts +6 -21
  187. package/dist-types/commands/StopDBClusterCommand.d.ts +6 -21
  188. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  189. package/dist-types/pagination/DescribeCertificatesPaginator.d.ts +1 -1
  190. package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +1 -1
  191. package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +1 -1
  192. package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +1 -1
  193. package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +1 -1
  194. package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +1 -1
  195. package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +1 -1
  196. package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +1 -1
  197. package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +1 -1
  198. package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
  199. package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +1 -1
  200. package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +1 -1
  201. package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +1 -1
  202. package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/DescribeCertificatesCommand.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +12 -24
  224. package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +12 -24
  228. package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +12 -24
  230. package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +12 -24
  232. package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +12 -24
  236. package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +14 -23
  238. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +14 -23
  240. package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +12 -24
  241. package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +12 -24
  242. package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +14 -23
  246. package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +14 -23
  247. package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +12 -24
  248. package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +12 -24
  249. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -24
  250. package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +12 -24
  251. package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +12 -24
  252. package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +12 -24
  253. package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +14 -23
  254. package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  256. package/dist-types/ts3.4/pagination/DescribeCertificatesPaginator.d.ts +3 -3
  257. package/dist-types/ts3.4/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +3 -3
  258. package/dist-types/ts3.4/pagination/DescribeDBClusterParametersPaginator.d.ts +3 -3
  259. package/dist-types/ts3.4/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +3 -3
  260. package/dist-types/ts3.4/pagination/DescribeDBClustersPaginator.d.ts +3 -3
  261. package/dist-types/ts3.4/pagination/DescribeDBEngineVersionsPaginator.d.ts +3 -3
  262. package/dist-types/ts3.4/pagination/DescribeDBInstancesPaginator.d.ts +3 -3
  263. package/dist-types/ts3.4/pagination/DescribeDBSubnetGroupsPaginator.d.ts +3 -3
  264. package/dist-types/ts3.4/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -3
  265. package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
  266. package/dist-types/ts3.4/pagination/DescribeGlobalClustersPaginator.d.ts +3 -3
  267. package/dist-types/ts3.4/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +3 -3
  268. package/dist-types/ts3.4/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +3 -3
  269. package/package.json +11 -10
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBClusterParameters = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeDBClusterParametersCommand_1 = require("../commands/DescribeDBClusterParametersCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeDBClusterParametersCommand_1.DescribeDBClusterParametersCommand(input), ...args);
8
- };
9
- async function* paginateDescribeDBClusterParameters(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeDBClusterParameters = paginateDescribeDBClusterParameters;
7
+ exports.paginateDescribeDBClusterParameters = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeDBClusterParametersCommand_1.DescribeDBClusterParametersCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBClusterSnapshots = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeDBClusterSnapshotsCommand_1 = require("../commands/DescribeDBClusterSnapshotsCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeDBClusterSnapshotsCommand_1.DescribeDBClusterSnapshotsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeDBClusterSnapshots(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeDBClusterSnapshots = paginateDescribeDBClusterSnapshots;
7
+ exports.paginateDescribeDBClusterSnapshots = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeDBClusterSnapshotsCommand_1.DescribeDBClusterSnapshotsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBClusters = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeDBClustersCommand_1 = require("../commands/DescribeDBClustersCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeDBClustersCommand_1.DescribeDBClustersCommand(input), ...args);
8
- };
9
- async function* paginateDescribeDBClusters(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeDBClusters = paginateDescribeDBClusters;
7
+ exports.paginateDescribeDBClusters = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeDBClustersCommand_1.DescribeDBClustersCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBEngineVersions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeDBEngineVersionsCommand_1 = require("../commands/DescribeDBEngineVersionsCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeDBEngineVersionsCommand_1.DescribeDBEngineVersionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeDBEngineVersions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeDBEngineVersions = paginateDescribeDBEngineVersions;
7
+ exports.paginateDescribeDBEngineVersions = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeDBEngineVersionsCommand_1.DescribeDBEngineVersionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBInstances = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeDBInstancesCommand_1 = require("../commands/DescribeDBInstancesCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeDBInstancesCommand_1.DescribeDBInstancesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeDBInstances(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeDBInstances = paginateDescribeDBInstances;
7
+ exports.paginateDescribeDBInstances = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeDBInstancesCommand_1.DescribeDBInstancesCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDBSubnetGroups = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeDBSubnetGroupsCommand_1 = require("../commands/DescribeDBSubnetGroupsCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeDBSubnetGroupsCommand_1.DescribeDBSubnetGroupsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeDBSubnetGroups = paginateDescribeDBSubnetGroups;
7
+ exports.paginateDescribeDBSubnetGroups = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeDBSubnetGroupsCommand_1.DescribeDBSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeEventSubscriptions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeEventSubscriptionsCommand_1 = require("../commands/DescribeEventSubscriptionsCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeEventSubscriptions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeEventSubscriptions = paginateDescribeEventSubscriptions;
7
+ exports.paginateDescribeEventSubscriptions = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeEvents = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeEventsCommand_1.DescribeEventsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeEvents(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeEvents = paginateDescribeEvents;
7
+ exports.paginateDescribeEvents = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeEventsCommand_1.DescribeEventsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeGlobalClusters = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeGlobalClustersCommand_1 = require("../commands/DescribeGlobalClustersCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeGlobalClustersCommand_1.DescribeGlobalClustersCommand(input), ...args);
8
- };
9
- async function* paginateDescribeGlobalClusters(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeGlobalClusters = paginateDescribeGlobalClusters;
7
+ exports.paginateDescribeGlobalClusters = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeGlobalClustersCommand_1.DescribeGlobalClustersCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeOrderableDBInstanceOptions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeOrderableDBInstanceOptionsCommand_1 = require("../commands/DescribeOrderableDBInstanceOptionsCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeOrderableDBInstanceOptionsCommand_1.DescribeOrderableDBInstanceOptionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeOrderableDBInstanceOptions = paginateDescribeOrderableDBInstanceOptions;
7
+ exports.paginateDescribeOrderableDBInstanceOptions = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribeOrderableDBInstanceOptionsCommand_1.DescribeOrderableDBInstanceOptionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribePendingMaintenanceActions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribePendingMaintenanceActionsCommand_1 = require("../commands/DescribePendingMaintenanceActionsCommand");
5
6
  const DocDBClient_1 = require("../DocDBClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribePendingMaintenanceActionsCommand_1.DescribePendingMaintenanceActionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribePendingMaintenanceActions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["MaxRecords"] = config.pageSize;
16
- if (config.client instanceof DocDBClient_1.DocDBClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DocDB | DocDBClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribePendingMaintenanceActions = paginateDescribePendingMaintenanceActions;
7
+ exports.paginateDescribePendingMaintenanceActions = (0, core_1.createPaginator)(DocDBClient_1.DocDBClient, DescribePendingMaintenanceActionsCommand_1.DescribePendingMaintenanceActionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddSourceIdentifierToSubscriptionCommand, se_AddSourceIdentifierToSubscriptionCommand, } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class AddSourceIdentifierToSubscriptionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddSourceIdentifierToSubscriptionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DocDBClient";
26
- const commandName = "AddSourceIdentifierToSubscriptionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRDSv19",
35
- operation: "AddSourceIdentifierToSubscription",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddSourceIdentifierToSubscriptionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddSourceIdentifierToSubscriptionCommand(output, context);
46
- }
7
+ export class AddSourceIdentifierToSubscriptionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonRDSv19", "AddSourceIdentifierToSubscription", {})
19
+ .n("DocDBClient", "AddSourceIdentifierToSubscriptionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddSourceIdentifierToSubscriptionCommand)
22
+ .de(de_AddSourceIdentifierToSubscriptionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddTagsToResourceCommand, se_AddTagsToResourceCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class AddTagsToResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddTagsToResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DocDBClient";
26
- const commandName = "AddTagsToResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRDSv19",
35
- operation: "AddTagsToResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddTagsToResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddTagsToResourceCommand(output, context);
46
- }
7
+ export class AddTagsToResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonRDSv19", "AddTagsToResource", {})
19
+ .n("DocDBClient", "AddTagsToResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddTagsToResourceCommand)
22
+ .de(de_AddTagsToResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ApplyPendingMaintenanceActionCommand, se_ApplyPendingMaintenanceActionCommand, } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class ApplyPendingMaintenanceActionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ApplyPendingMaintenanceActionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DocDBClient";
26
- const commandName = "ApplyPendingMaintenanceActionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRDSv19",
35
- operation: "ApplyPendingMaintenanceAction",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ApplyPendingMaintenanceActionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ApplyPendingMaintenanceActionCommand(output, context);
46
- }
7
+ export class ApplyPendingMaintenanceActionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonRDSv19", "ApplyPendingMaintenanceAction", {})
19
+ .n("DocDBClient", "ApplyPendingMaintenanceActionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ApplyPendingMaintenanceActionCommand)
22
+ .de(de_ApplyPendingMaintenanceActionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CopyDBClusterParameterGroupCommand, se_CopyDBClusterParameterGroupCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class CopyDBClusterParameterGroupCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CopyDBClusterParameterGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DocDBClient";
26
- const commandName = "CopyDBClusterParameterGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRDSv19",
35
- operation: "CopyDBClusterParameterGroup",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CopyDBClusterParameterGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CopyDBClusterParameterGroupCommand(output, context);
46
- }
7
+ export class CopyDBClusterParameterGroupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonRDSv19", "CopyDBClusterParameterGroup", {})
19
+ .n("DocDBClient", "CopyDBClusterParameterGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CopyDBClusterParameterGroupCommand)
22
+ .de(de_CopyDBClusterParameterGroupCommand)
23
+ .build() {
47
24
  }