@aws-sdk/client-neptune 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 (345) hide show
  1. package/dist-cjs/commands/AddRoleToDBClusterCommand.js +18 -41
  2. package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +18 -41
  3. package/dist-cjs/commands/AddTagsToResourceCommand.js +18 -41
  4. package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +18 -41
  5. package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +18 -41
  6. package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +19 -42
  7. package/dist-cjs/commands/CopyDBParameterGroupCommand.js +18 -41
  8. package/dist-cjs/commands/CreateDBClusterCommand.js +19 -42
  9. package/dist-cjs/commands/CreateDBClusterEndpointCommand.js +18 -41
  10. package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +18 -41
  11. package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +18 -41
  12. package/dist-cjs/commands/CreateDBInstanceCommand.js +18 -41
  13. package/dist-cjs/commands/CreateDBParameterGroupCommand.js +18 -41
  14. package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +18 -41
  15. package/dist-cjs/commands/CreateEventSubscriptionCommand.js +18 -41
  16. package/dist-cjs/commands/CreateGlobalClusterCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteDBClusterCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteDBClusterEndpointCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteDBInstanceCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteDBParameterGroupCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +18 -41
  24. package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +18 -41
  25. package/dist-cjs/commands/DeleteGlobalClusterCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeDBClusterEndpointsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeDBClustersCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeDBInstancesCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeDBParameterGroupsCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeDBParametersCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +18 -41
  37. package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeEventCategoriesCommand.js +18 -41
  40. package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +18 -41
  41. package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
  42. package/dist-cjs/commands/DescribeGlobalClustersCommand.js +18 -41
  43. package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +18 -41
  44. package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +18 -41
  45. package/dist-cjs/commands/DescribeValidDBInstanceModificationsCommand.js +18 -41
  46. package/dist-cjs/commands/FailoverDBClusterCommand.js +18 -41
  47. package/dist-cjs/commands/FailoverGlobalClusterCommand.js +18 -41
  48. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  49. package/dist-cjs/commands/ModifyDBClusterCommand.js +18 -41
  50. package/dist-cjs/commands/ModifyDBClusterEndpointCommand.js +18 -41
  51. package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +18 -41
  52. package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +18 -41
  53. package/dist-cjs/commands/ModifyDBInstanceCommand.js +18 -41
  54. package/dist-cjs/commands/ModifyDBParameterGroupCommand.js +18 -41
  55. package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +18 -41
  56. package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +18 -41
  57. package/dist-cjs/commands/ModifyGlobalClusterCommand.js +18 -41
  58. package/dist-cjs/commands/PromoteReadReplicaDBClusterCommand.js +18 -41
  59. package/dist-cjs/commands/RebootDBInstanceCommand.js +18 -41
  60. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +18 -41
  61. package/dist-cjs/commands/RemoveRoleFromDBClusterCommand.js +18 -41
  62. package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +18 -41
  63. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +18 -41
  64. package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +18 -41
  65. package/dist-cjs/commands/ResetDBParameterGroupCommand.js +18 -41
  66. package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +18 -41
  67. package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +18 -41
  68. package/dist-cjs/commands/StartDBClusterCommand.js +18 -41
  69. package/dist-cjs/commands/StopDBClusterCommand.js +18 -41
  70. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  71. package/dist-cjs/pagination/DescribeDBClusterEndpointsPaginator.js +2 -24
  72. package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -24
  73. package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +2 -24
  74. package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -24
  75. package/dist-cjs/pagination/DescribeDBClustersPaginator.js +2 -24
  76. package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +2 -24
  77. package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +2 -24
  78. package/dist-cjs/pagination/DescribeDBParameterGroupsPaginator.js +2 -24
  79. package/dist-cjs/pagination/DescribeDBParametersPaginator.js +2 -24
  80. package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +2 -24
  81. package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +2 -24
  82. package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +2 -24
  83. package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
  84. package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +2 -24
  85. package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -24
  86. package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -24
  87. package/dist-es/commands/AddRoleToDBClusterCommand.js +18 -41
  88. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +18 -41
  89. package/dist-es/commands/AddTagsToResourceCommand.js +18 -41
  90. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +18 -41
  91. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +18 -41
  92. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +19 -42
  93. package/dist-es/commands/CopyDBParameterGroupCommand.js +18 -41
  94. package/dist-es/commands/CreateDBClusterCommand.js +19 -42
  95. package/dist-es/commands/CreateDBClusterEndpointCommand.js +18 -41
  96. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +18 -41
  97. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +18 -41
  98. package/dist-es/commands/CreateDBInstanceCommand.js +18 -41
  99. package/dist-es/commands/CreateDBParameterGroupCommand.js +18 -41
  100. package/dist-es/commands/CreateDBSubnetGroupCommand.js +18 -41
  101. package/dist-es/commands/CreateEventSubscriptionCommand.js +18 -41
  102. package/dist-es/commands/CreateGlobalClusterCommand.js +18 -41
  103. package/dist-es/commands/DeleteDBClusterCommand.js +18 -41
  104. package/dist-es/commands/DeleteDBClusterEndpointCommand.js +18 -41
  105. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +18 -41
  106. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +18 -41
  107. package/dist-es/commands/DeleteDBInstanceCommand.js +18 -41
  108. package/dist-es/commands/DeleteDBParameterGroupCommand.js +18 -41
  109. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +18 -41
  110. package/dist-es/commands/DeleteEventSubscriptionCommand.js +18 -41
  111. package/dist-es/commands/DeleteGlobalClusterCommand.js +18 -41
  112. package/dist-es/commands/DescribeDBClusterEndpointsCommand.js +18 -41
  113. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +18 -41
  114. package/dist-es/commands/DescribeDBClusterParametersCommand.js +18 -41
  115. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +18 -41
  116. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +18 -41
  117. package/dist-es/commands/DescribeDBClustersCommand.js +18 -41
  118. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +18 -41
  119. package/dist-es/commands/DescribeDBInstancesCommand.js +18 -41
  120. package/dist-es/commands/DescribeDBParameterGroupsCommand.js +18 -41
  121. package/dist-es/commands/DescribeDBParametersCommand.js +18 -41
  122. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +18 -41
  123. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +18 -41
  124. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +18 -41
  125. package/dist-es/commands/DescribeEventCategoriesCommand.js +18 -41
  126. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +18 -41
  127. package/dist-es/commands/DescribeEventsCommand.js +18 -41
  128. package/dist-es/commands/DescribeGlobalClustersCommand.js +18 -41
  129. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +18 -41
  130. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +18 -41
  131. package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.js +18 -41
  132. package/dist-es/commands/FailoverDBClusterCommand.js +18 -41
  133. package/dist-es/commands/FailoverGlobalClusterCommand.js +18 -41
  134. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  135. package/dist-es/commands/ModifyDBClusterCommand.js +18 -41
  136. package/dist-es/commands/ModifyDBClusterEndpointCommand.js +18 -41
  137. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +18 -41
  138. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +18 -41
  139. package/dist-es/commands/ModifyDBInstanceCommand.js +18 -41
  140. package/dist-es/commands/ModifyDBParameterGroupCommand.js +18 -41
  141. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +18 -41
  142. package/dist-es/commands/ModifyEventSubscriptionCommand.js +18 -41
  143. package/dist-es/commands/ModifyGlobalClusterCommand.js +18 -41
  144. package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +18 -41
  145. package/dist-es/commands/RebootDBInstanceCommand.js +18 -41
  146. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +18 -41
  147. package/dist-es/commands/RemoveRoleFromDBClusterCommand.js +18 -41
  148. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +18 -41
  149. package/dist-es/commands/RemoveTagsFromResourceCommand.js +18 -41
  150. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +18 -41
  151. package/dist-es/commands/ResetDBParameterGroupCommand.js +18 -41
  152. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +18 -41
  153. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +18 -41
  154. package/dist-es/commands/StartDBClusterCommand.js +18 -41
  155. package/dist-es/commands/StopDBClusterCommand.js +18 -41
  156. package/dist-es/endpoint/EndpointParameters.js +6 -0
  157. package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js +2 -23
  158. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -23
  159. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +2 -23
  160. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -23
  161. package/dist-es/pagination/DescribeDBClustersPaginator.js +2 -23
  162. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +2 -23
  163. package/dist-es/pagination/DescribeDBInstancesPaginator.js +2 -23
  164. package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +2 -23
  165. package/dist-es/pagination/DescribeDBParametersPaginator.js +2 -23
  166. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +2 -23
  167. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +2 -23
  168. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +2 -23
  169. package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
  170. package/dist-es/pagination/DescribeGlobalClustersPaginator.js +2 -23
  171. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -23
  172. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -23
  173. package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +6 -21
  174. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +6 -21
  175. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -21
  176. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +6 -21
  177. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +6 -21
  178. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +6 -21
  179. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +6 -21
  180. package/dist-types/commands/CreateDBClusterCommand.d.ts +6 -21
  181. package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +6 -21
  182. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +6 -21
  183. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +6 -21
  184. package/dist-types/commands/CreateDBInstanceCommand.d.ts +6 -21
  185. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +6 -21
  186. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +6 -21
  187. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +6 -21
  188. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +6 -21
  189. package/dist-types/commands/DeleteDBClusterCommand.d.ts +6 -21
  190. package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +6 -21
  191. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +6 -21
  192. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +6 -21
  193. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +6 -21
  194. package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +6 -21
  195. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +6 -21
  196. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +6 -21
  197. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +6 -21
  198. package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +6 -21
  199. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +6 -21
  200. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +6 -21
  201. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +6 -21
  202. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +6 -21
  203. package/dist-types/commands/DescribeDBClustersCommand.d.ts +6 -21
  204. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +6 -21
  205. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +6 -21
  206. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +6 -21
  207. package/dist-types/commands/DescribeDBParametersCommand.d.ts +6 -21
  208. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +6 -21
  209. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +6 -21
  210. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +6 -21
  211. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +6 -21
  212. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +6 -21
  213. package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
  214. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +6 -21
  215. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +6 -21
  216. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +6 -21
  217. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +6 -21
  218. package/dist-types/commands/FailoverDBClusterCommand.d.ts +6 -21
  219. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +6 -21
  220. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  221. package/dist-types/commands/ModifyDBClusterCommand.d.ts +6 -21
  222. package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +6 -21
  223. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +6 -21
  224. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +6 -21
  225. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +6 -21
  226. package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +6 -21
  227. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +6 -21
  228. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +6 -21
  229. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +6 -21
  230. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +6 -21
  231. package/dist-types/commands/RebootDBInstanceCommand.d.ts +6 -21
  232. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +6 -21
  233. package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +6 -21
  234. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +6 -21
  235. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -21
  236. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +6 -21
  237. package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +6 -21
  238. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +6 -21
  239. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +6 -21
  240. package/dist-types/commands/StartDBClusterCommand.d.ts +6 -21
  241. package/dist-types/commands/StopDBClusterCommand.d.ts +6 -21
  242. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  243. package/dist-types/pagination/DescribeDBClusterEndpointsPaginator.d.ts +1 -1
  244. package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +1 -1
  245. package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +1 -1
  246. package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +1 -1
  247. package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +1 -1
  248. package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +1 -1
  249. package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +1 -1
  250. package/dist-types/pagination/DescribeDBParameterGroupsPaginator.d.ts +1 -1
  251. package/dist-types/pagination/DescribeDBParametersPaginator.d.ts +1 -1
  252. package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +1 -1
  253. package/dist-types/pagination/DescribeEngineDefaultParametersPaginator.d.ts +1 -1
  254. package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +1 -1
  255. package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
  256. package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +1 -1
  257. package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +1 -1
  258. package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +1 -1
  259. package/dist-types/ts3.4/commands/AddRoleToDBClusterCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +12 -24
  261. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +14 -23
  262. package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +12 -24
  263. package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +12 -24
  264. package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +12 -24
  265. package/dist-types/ts3.4/commands/CopyDBParameterGroupCommand.d.ts +12 -24
  266. package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +14 -23
  267. package/dist-types/ts3.4/commands/CreateDBClusterEndpointCommand.d.ts +12 -24
  268. package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +12 -24
  269. package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +12 -24
  270. package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +14 -23
  271. package/dist-types/ts3.4/commands/CreateDBParameterGroupCommand.d.ts +12 -24
  272. package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +12 -24
  274. package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/DeleteDBClusterEndpointCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +12 -24
  278. package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +12 -24
  279. package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/DeleteDBParameterGroupCommand.d.ts +12 -24
  281. package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +14 -23
  282. package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +12 -24
  283. package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +14 -23
  284. package/dist-types/ts3.4/commands/DescribeDBClusterEndpointsCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +12 -24
  286. package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +12 -24
  287. package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +12 -24
  288. package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +12 -24
  289. package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +12 -24
  291. package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/DescribeDBParameterGroupsCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/DescribeDBParametersCommand.d.ts +12 -24
  294. package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/DescribeEngineDefaultParametersCommand.d.ts +12 -24
  297. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +12 -24
  302. package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/DescribeValidDBInstanceModificationsCommand.d.ts +12 -24
  304. package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/FailoverGlobalClusterCommand.d.ts +12 -24
  306. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/ModifyDBClusterEndpointCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/ModifyDBParameterGroupCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/PromoteReadReplicaDBClusterCommand.d.ts +12 -24
  317. package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/RemoveRoleFromDBClusterCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +12 -24
  321. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -24
  322. package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +12 -24
  323. package/dist-types/ts3.4/commands/ResetDBParameterGroupCommand.d.ts +12 -24
  324. package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +12 -24
  325. package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +12 -24
  326. package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +14 -23
  328. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  329. package/dist-types/ts3.4/pagination/DescribeDBClusterEndpointsPaginator.d.ts +3 -3
  330. package/dist-types/ts3.4/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +3 -3
  331. package/dist-types/ts3.4/pagination/DescribeDBClusterParametersPaginator.d.ts +3 -3
  332. package/dist-types/ts3.4/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +3 -3
  333. package/dist-types/ts3.4/pagination/DescribeDBClustersPaginator.d.ts +3 -3
  334. package/dist-types/ts3.4/pagination/DescribeDBEngineVersionsPaginator.d.ts +3 -3
  335. package/dist-types/ts3.4/pagination/DescribeDBInstancesPaginator.d.ts +3 -3
  336. package/dist-types/ts3.4/pagination/DescribeDBParameterGroupsPaginator.d.ts +3 -3
  337. package/dist-types/ts3.4/pagination/DescribeDBParametersPaginator.d.ts +3 -3
  338. package/dist-types/ts3.4/pagination/DescribeDBSubnetGroupsPaginator.d.ts +3 -3
  339. package/dist-types/ts3.4/pagination/DescribeEngineDefaultParametersPaginator.d.ts +3 -3
  340. package/dist-types/ts3.4/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -3
  341. package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
  342. package/dist-types/ts3.4/pagination/DescribeGlobalClustersPaginator.d.ts +3 -3
  343. package/dist-types/ts3.4/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +3 -3
  344. package/dist-types/ts3.4/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +3 -3
  345. package/package.json +11 -10
@@ -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_StartDBClusterCommand, se_StartDBClusterCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class StartDBClusterCommand 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, StartDBClusterCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "NeptuneClient";
26
- const commandName = "StartDBClusterCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRDSv19",
35
- operation: "StartDBCluster",
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_StartDBClusterCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartDBClusterCommand(output, context);
46
- }
7
+ export class StartDBClusterCommand 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", "StartDBCluster", {})
19
+ .n("NeptuneClient", "StartDBClusterCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartDBClusterCommand)
22
+ .de(de_StartDBClusterCommand)
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_StopDBClusterCommand, se_StopDBClusterCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class StopDBClusterCommand 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, StopDBClusterCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "NeptuneClient";
26
- const commandName = "StopDBClusterCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRDSv19",
35
- operation: "StopDBCluster",
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_StopDBClusterCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopDBClusterCommand(output, context);
46
- }
7
+ export class StopDBClusterCommand 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", "StopDBCluster", {})
19
+ .n("NeptuneClient", "StopDBClusterCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopDBClusterCommand)
22
+ .de(de_StopDBClusterCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "rds",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBClusterEndpointsCommand, } from "../commands/DescribeDBClusterEndpointsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBClusterEndpointsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBClusterEndpoints(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBClusterEndpoints = createPaginator(NeptuneClient, DescribeDBClusterEndpointsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBClusterParameterGroupsCommand, } from "../commands/DescribeDBClusterParameterGroupsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBClusterParameterGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBClusterParameterGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBClusterParameterGroups = createPaginator(NeptuneClient, DescribeDBClusterParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBClusterParametersCommand, } from "../commands/DescribeDBClusterParametersCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBClusterParametersCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBClusterParameters(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBClusterParameters = createPaginator(NeptuneClient, DescribeDBClusterParametersCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBClusterSnapshotsCommand, } from "../commands/DescribeDBClusterSnapshotsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBClusterSnapshotsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBClusterSnapshots(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBClusterSnapshots = createPaginator(NeptuneClient, DescribeDBClusterSnapshotsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBClustersCommand, } from "../commands/DescribeDBClustersCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBClustersCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBClusters(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBClusters = createPaginator(NeptuneClient, DescribeDBClustersCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBEngineVersionsCommand, } from "../commands/DescribeDBEngineVersionsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBEngineVersionsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBEngineVersions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBEngineVersions = createPaginator(NeptuneClient, DescribeDBEngineVersionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBInstancesCommand, } from "../commands/DescribeDBInstancesCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBInstancesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBInstances(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBInstances = createPaginator(NeptuneClient, DescribeDBInstancesCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBParameterGroupsCommand, } from "../commands/DescribeDBParameterGroupsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBParameterGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBParameterGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBParameterGroups = createPaginator(NeptuneClient, DescribeDBParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBParametersCommand, } from "../commands/DescribeDBParametersCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBParametersCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBParameters(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBParameters = createPaginator(NeptuneClient, DescribeDBParametersCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeDBSubnetGroupsCommand, } from "../commands/DescribeDBSubnetGroupsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeDBSubnetGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeDBSubnetGroups = createPaginator(NeptuneClient, DescribeDBSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeEngineDefaultParametersCommand, } from "../commands/DescribeEngineDefaultParametersCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeEngineDefaultParameters(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.EngineDefaults.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeEngineDefaultParameters = createPaginator(NeptuneClient, DescribeEngineDefaultParametersCommand, "Marker", "EngineDefaults.Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeEventSubscriptionsCommand, } from "../commands/DescribeEventSubscriptionsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeEventSubscriptionsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeEventSubscriptions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeEventSubscriptions = createPaginator(NeptuneClient, DescribeEventSubscriptionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeEventsCommand, } from "../commands/DescribeEventsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeEventsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeEvents(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeEvents = createPaginator(NeptuneClient, DescribeEventsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeGlobalClustersCommand, } from "../commands/DescribeGlobalClustersCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeGlobalClustersCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeGlobalClusters(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeGlobalClusters = createPaginator(NeptuneClient, DescribeGlobalClustersCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeOrderableDBInstanceOptionsCommand, } from "../commands/DescribeOrderableDBInstanceOptionsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeOrderableDBInstanceOptionsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeOrderableDBInstanceOptions = createPaginator(NeptuneClient, DescribeOrderableDBInstanceOptionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribePendingMaintenanceActionsCommand, } from "../commands/DescribePendingMaintenanceActionsCommand";
2
3
  import { NeptuneClient } from "../NeptuneClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribePendingMaintenanceActionsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribePendingMaintenanceActions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof NeptuneClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Neptune | NeptuneClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribePendingMaintenanceActions = createPaginator(NeptuneClient, DescribePendingMaintenanceActionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AddRoleToDBClusterMessage } from "../models/models_0";
5
4
  import { NeptuneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddRoleToDBClusterCommandInput extends AddRoleToDBClusterMessag
21
20
  */
22
21
  export interface AddRoleToDBClusterCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const AddRoleToDBClusterCommand_base: {
24
+ new (input: AddRoleToDBClusterCommandInput): import("@smithy/smithy-client").CommandImpl<AddRoleToDBClusterCommandInput, AddRoleToDBClusterCommandOutput, NeptuneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates an Identity and Access Management (IAM) role with an
@@ -65,23 +68,5 @@ export interface AddRoleToDBClusterCommandOutput extends __MetadataBearer {
65
68
  * <p>Base exception class for all service exceptions from Neptune service.</p>
66
69
  *
67
70
  */
68
- export declare class AddRoleToDBClusterCommand extends $Command<AddRoleToDBClusterCommandInput, AddRoleToDBClusterCommandOutput, NeptuneClientResolvedConfig> {
69
- readonly input: AddRoleToDBClusterCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: AddRoleToDBClusterCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddRoleToDBClusterCommandInput, AddRoleToDBClusterCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class AddRoleToDBClusterCommand extends AddRoleToDBClusterCommand_base {
87
72
  }