@aws-sdk/client-docdb 3.35.0 → 3.38.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 (476) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/DocDB.js +0 -4
  3. package/dist-cjs/DocDBClient.js +0 -9
  4. package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +0 -26
  5. package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -28
  6. package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +0 -26
  7. package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +0 -25
  8. package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +0 -36
  9. package/dist-cjs/commands/CreateDBClusterCommand.js +0 -25
  10. package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +0 -43
  11. package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +0 -25
  12. package/dist-cjs/commands/CreateDBInstanceCommand.js +0 -25
  13. package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +0 -26
  14. package/dist-cjs/commands/CreateEventSubscriptionCommand.js +0 -27
  15. package/dist-cjs/commands/CreateGlobalClusterCommand.js +0 -30
  16. package/dist-cjs/commands/DeleteDBClusterCommand.js +0 -26
  17. package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +0 -25
  18. package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +0 -28
  19. package/dist-cjs/commands/DeleteDBInstanceCommand.js +0 -25
  20. package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +0 -29
  21. package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +0 -25
  22. package/dist-cjs/commands/DeleteGlobalClusterCommand.js +0 -28
  23. package/dist-cjs/commands/DescribeCertificatesCommand.js +0 -25
  24. package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +0 -25
  25. package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +0 -26
  26. package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +0 -28
  27. package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +0 -25
  28. package/dist-cjs/commands/DescribeDBClustersCommand.js +0 -30
  29. package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +0 -25
  30. package/dist-cjs/commands/DescribeDBInstancesCommand.js +0 -25
  31. package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +0 -26
  32. package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +0 -26
  33. package/dist-cjs/commands/DescribeEventCategoriesCommand.js +0 -26
  34. package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +0 -26
  35. package/dist-cjs/commands/DescribeEventsCommand.js +0 -25
  36. package/dist-cjs/commands/DescribeGlobalClustersCommand.js +0 -28
  37. package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +0 -25
  38. package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +0 -26
  39. package/dist-cjs/commands/FailoverDBClusterCommand.js +0 -27
  40. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  41. package/dist-cjs/commands/ModifyDBClusterCommand.js +0 -27
  42. package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +0 -43
  43. package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +0 -26
  44. package/dist-cjs/commands/ModifyDBInstanceCommand.js +0 -25
  45. package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +0 -25
  46. package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +0 -25
  47. package/dist-cjs/commands/ModifyGlobalClusterCommand.js +0 -28
  48. package/dist-cjs/commands/RebootDBInstanceCommand.js +0 -31
  49. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +0 -28
  50. package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +0 -26
  51. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -25
  52. package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +0 -32
  53. package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +0 -27
  54. package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +0 -29
  55. package/dist-cjs/commands/StartDBClusterCommand.js +0 -27
  56. package/dist-cjs/commands/StopDBClusterCommand.js +0 -28
  57. package/dist-cjs/commands/index.js +56 -0
  58. package/dist-cjs/endpoints.js +1 -2
  59. package/dist-cjs/index.js +5 -71
  60. package/dist-cjs/models/index.js +0 -1
  61. package/dist-cjs/models/models_0.js +0 -571
  62. package/dist-cjs/pagination/DescribeCertificatesPaginator.js +0 -11
  63. package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +0 -11
  64. package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +0 -11
  65. package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +0 -11
  66. package/dist-cjs/pagination/DescribeDBClustersPaginator.js +0 -11
  67. package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +0 -11
  68. package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +0 -11
  69. package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +0 -11
  70. package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +0 -11
  71. package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -11
  72. package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +0 -11
  73. package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +0 -11
  74. package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +0 -11
  75. package/dist-cjs/pagination/Interfaces.js +0 -1
  76. package/dist-cjs/pagination/index.js +17 -0
  77. package/dist-cjs/protocols/Aws_query.js +0 -3
  78. package/dist-cjs/runtimeConfig.browser.js +1 -6
  79. package/dist-cjs/runtimeConfig.js +2 -7
  80. package/dist-cjs/runtimeConfig.native.js +0 -4
  81. package/dist-cjs/runtimeConfig.shared.js +0 -4
  82. package/dist-cjs/waiters/index.js +4 -0
  83. package/dist-cjs/waiters/waitForDBInstanceAvailable.js +0 -10
  84. package/dist-es/DocDB.js +0 -1
  85. package/dist-es/DocDBClient.js +0 -1
  86. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +0 -1
  87. package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
  88. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +0 -1
  89. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +0 -1
  90. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +0 -1
  91. package/dist-es/commands/CreateDBClusterCommand.js +0 -1
  92. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +0 -1
  93. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +0 -1
  94. package/dist-es/commands/CreateDBInstanceCommand.js +0 -1
  95. package/dist-es/commands/CreateDBSubnetGroupCommand.js +0 -1
  96. package/dist-es/commands/CreateEventSubscriptionCommand.js +0 -1
  97. package/dist-es/commands/CreateGlobalClusterCommand.js +0 -1
  98. package/dist-es/commands/DeleteDBClusterCommand.js +0 -1
  99. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +0 -1
  100. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +0 -1
  101. package/dist-es/commands/DeleteDBInstanceCommand.js +0 -1
  102. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +0 -1
  103. package/dist-es/commands/DeleteEventSubscriptionCommand.js +0 -1
  104. package/dist-es/commands/DeleteGlobalClusterCommand.js +0 -1
  105. package/dist-es/commands/DescribeCertificatesCommand.js +0 -1
  106. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +0 -1
  107. package/dist-es/commands/DescribeDBClusterParametersCommand.js +0 -1
  108. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +0 -1
  109. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +0 -1
  110. package/dist-es/commands/DescribeDBClustersCommand.js +0 -1
  111. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +0 -1
  112. package/dist-es/commands/DescribeDBInstancesCommand.js +0 -1
  113. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +0 -1
  114. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +0 -1
  115. package/dist-es/commands/DescribeEventCategoriesCommand.js +0 -1
  116. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +0 -1
  117. package/dist-es/commands/DescribeEventsCommand.js +0 -1
  118. package/dist-es/commands/DescribeGlobalClustersCommand.js +0 -1
  119. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +0 -1
  120. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +0 -1
  121. package/dist-es/commands/FailoverDBClusterCommand.js +0 -1
  122. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  123. package/dist-es/commands/ModifyDBClusterCommand.js +0 -1
  124. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +0 -1
  125. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +0 -1
  126. package/dist-es/commands/ModifyDBInstanceCommand.js +0 -1
  127. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +0 -1
  128. package/dist-es/commands/ModifyEventSubscriptionCommand.js +0 -1
  129. package/dist-es/commands/ModifyGlobalClusterCommand.js +0 -1
  130. package/dist-es/commands/RebootDBInstanceCommand.js +0 -1
  131. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +0 -1
  132. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +0 -1
  133. package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
  134. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +0 -1
  135. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +0 -1
  136. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +0 -1
  137. package/dist-es/commands/StartDBClusterCommand.js +0 -1
  138. package/dist-es/commands/StopDBClusterCommand.js +0 -1
  139. package/dist-es/commands/index.js +53 -0
  140. package/dist-es/endpoints.js +1 -2
  141. package/dist-es/index.js +5 -71
  142. package/dist-es/models/index.js +0 -1
  143. package/dist-es/models/models_0.js +0 -1
  144. package/dist-es/pagination/DescribeCertificatesPaginator.js +0 -1
  145. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +0 -1
  146. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +0 -1
  147. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +0 -1
  148. package/dist-es/pagination/DescribeDBClustersPaginator.js +0 -1
  149. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +0 -1
  150. package/dist-es/pagination/DescribeDBInstancesPaginator.js +0 -1
  151. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +0 -1
  152. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +0 -1
  153. package/dist-es/pagination/DescribeEventsPaginator.js +0 -1
  154. package/dist-es/pagination/DescribeGlobalClustersPaginator.js +0 -1
  155. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +0 -1
  156. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +0 -1
  157. package/dist-es/pagination/Interfaces.js +0 -1
  158. package/dist-es/pagination/index.js +14 -0
  159. package/dist-es/protocols/Aws_query.js +0 -1
  160. package/dist-es/runtimeConfig.browser.js +1 -2
  161. package/dist-es/runtimeConfig.js +2 -3
  162. package/dist-es/runtimeConfig.native.js +0 -1
  163. package/dist-es/runtimeConfig.shared.js +0 -1
  164. package/dist-es/waiters/index.js +1 -0
  165. package/dist-es/waiters/waitForDBInstanceAvailable.js +0 -1
  166. package/dist-types/commands/index.d.ts +53 -0
  167. package/dist-types/index.d.ts +5 -70
  168. package/dist-types/pagination/index.d.ts +14 -0
  169. package/dist-types/ts3.4/DocDB.d.ts +54 -286
  170. package/dist-types/ts3.4/DocDBClient.d.ts +24 -89
  171. package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +2 -21
  172. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -23
  173. package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +2 -21
  174. package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +2 -31
  176. package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +2 -38
  178. package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +2 -21
  181. package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +2 -22
  182. package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +2 -25
  183. package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +2 -21
  184. package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +2 -23
  186. package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +2 -24
  188. package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +2 -23
  190. package/dist-types/ts3.4/commands/DescribeCertificatesCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +2 -21
  193. package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -23
  194. package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -20
  195. package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +2 -25
  196. package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +2 -20
  197. package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +2 -20
  198. package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +2 -21
  199. package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +2 -21
  200. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -21
  201. package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +2 -21
  202. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -20
  203. package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +2 -23
  204. package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +2 -20
  205. package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -21
  206. package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +2 -22
  207. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  208. package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +2 -22
  209. package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +2 -38
  210. package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +2 -21
  211. package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +2 -20
  212. package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +2 -20
  213. package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +2 -20
  214. package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +2 -23
  215. package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +2 -26
  216. package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +2 -23
  217. package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +2 -21
  218. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -20
  219. package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +2 -27
  220. package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -22
  221. package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -24
  222. package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +2 -22
  223. package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +2 -23
  224. package/dist-types/ts3.4/commands/index.d.ts +53 -0
  225. package/dist-types/ts3.4/index.d.ts +5 -70
  226. package/dist-types/ts3.4/models/models_0.d.ts +845 -3657
  227. package/dist-types/ts3.4/pagination/index.d.ts +14 -0
  228. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  229. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  230. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  231. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  232. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  233. package/dist-types/ts3.4/waiters/waitForDBInstanceAvailable.d.ts +2 -9
  234. package/dist-types/waiters/index.d.ts +1 -0
  235. package/package.json +35 -32
  236. package/dist-cjs/DocDB.js.map +0 -1
  237. package/dist-cjs/DocDBClient.js.map +0 -1
  238. package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js.map +0 -1
  239. package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
  240. package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js.map +0 -1
  241. package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js.map +0 -1
  242. package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js.map +0 -1
  243. package/dist-cjs/commands/CreateDBClusterCommand.js.map +0 -1
  244. package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js.map +0 -1
  245. package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js.map +0 -1
  246. package/dist-cjs/commands/CreateDBInstanceCommand.js.map +0 -1
  247. package/dist-cjs/commands/CreateDBSubnetGroupCommand.js.map +0 -1
  248. package/dist-cjs/commands/CreateEventSubscriptionCommand.js.map +0 -1
  249. package/dist-cjs/commands/CreateGlobalClusterCommand.js.map +0 -1
  250. package/dist-cjs/commands/DeleteDBClusterCommand.js.map +0 -1
  251. package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js.map +0 -1
  252. package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js.map +0 -1
  253. package/dist-cjs/commands/DeleteDBInstanceCommand.js.map +0 -1
  254. package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js.map +0 -1
  255. package/dist-cjs/commands/DeleteEventSubscriptionCommand.js.map +0 -1
  256. package/dist-cjs/commands/DeleteGlobalClusterCommand.js.map +0 -1
  257. package/dist-cjs/commands/DescribeCertificatesCommand.js.map +0 -1
  258. package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js.map +0 -1
  259. package/dist-cjs/commands/DescribeDBClusterParametersCommand.js.map +0 -1
  260. package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +0 -1
  261. package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js.map +0 -1
  262. package/dist-cjs/commands/DescribeDBClustersCommand.js.map +0 -1
  263. package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js.map +0 -1
  264. package/dist-cjs/commands/DescribeDBInstancesCommand.js.map +0 -1
  265. package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js.map +0 -1
  266. package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js.map +0 -1
  267. package/dist-cjs/commands/DescribeEventCategoriesCommand.js.map +0 -1
  268. package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js.map +0 -1
  269. package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
  270. package/dist-cjs/commands/DescribeGlobalClustersCommand.js.map +0 -1
  271. package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +0 -1
  272. package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js.map +0 -1
  273. package/dist-cjs/commands/FailoverDBClusterCommand.js.map +0 -1
  274. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  275. package/dist-cjs/commands/ModifyDBClusterCommand.js.map +0 -1
  276. package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js.map +0 -1
  277. package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +0 -1
  278. package/dist-cjs/commands/ModifyDBInstanceCommand.js.map +0 -1
  279. package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js.map +0 -1
  280. package/dist-cjs/commands/ModifyEventSubscriptionCommand.js.map +0 -1
  281. package/dist-cjs/commands/ModifyGlobalClusterCommand.js.map +0 -1
  282. package/dist-cjs/commands/RebootDBInstanceCommand.js.map +0 -1
  283. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js.map +0 -1
  284. package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +0 -1
  285. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  286. package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js.map +0 -1
  287. package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js.map +0 -1
  288. package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js.map +0 -1
  289. package/dist-cjs/commands/StartDBClusterCommand.js.map +0 -1
  290. package/dist-cjs/commands/StopDBClusterCommand.js.map +0 -1
  291. package/dist-cjs/endpoints.js.map +0 -1
  292. package/dist-cjs/index.js.map +0 -1
  293. package/dist-cjs/models/index.js.map +0 -1
  294. package/dist-cjs/models/models_0.js.map +0 -1
  295. package/dist-cjs/pagination/DescribeCertificatesPaginator.js.map +0 -1
  296. package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +0 -1
  297. package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js.map +0 -1
  298. package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js.map +0 -1
  299. package/dist-cjs/pagination/DescribeDBClustersPaginator.js.map +0 -1
  300. package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js.map +0 -1
  301. package/dist-cjs/pagination/DescribeDBInstancesPaginator.js.map +0 -1
  302. package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js.map +0 -1
  303. package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js.map +0 -1
  304. package/dist-cjs/pagination/DescribeEventsPaginator.js.map +0 -1
  305. package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js.map +0 -1
  306. package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +0 -1
  307. package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js.map +0 -1
  308. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  309. package/dist-cjs/protocols/Aws_query.js.map +0 -1
  310. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  311. package/dist-cjs/runtimeConfig.js.map +0 -1
  312. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  313. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  314. package/dist-cjs/waiters/waitForDBInstanceAvailable.js.map +0 -1
  315. package/dist-es/DocDB.js.map +0 -1
  316. package/dist-es/DocDBClient.js.map +0 -1
  317. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js.map +0 -1
  318. package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
  319. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js.map +0 -1
  320. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js.map +0 -1
  321. package/dist-es/commands/CopyDBClusterSnapshotCommand.js.map +0 -1
  322. package/dist-es/commands/CreateDBClusterCommand.js.map +0 -1
  323. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js.map +0 -1
  324. package/dist-es/commands/CreateDBClusterSnapshotCommand.js.map +0 -1
  325. package/dist-es/commands/CreateDBInstanceCommand.js.map +0 -1
  326. package/dist-es/commands/CreateDBSubnetGroupCommand.js.map +0 -1
  327. package/dist-es/commands/CreateEventSubscriptionCommand.js.map +0 -1
  328. package/dist-es/commands/CreateGlobalClusterCommand.js.map +0 -1
  329. package/dist-es/commands/DeleteDBClusterCommand.js.map +0 -1
  330. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js.map +0 -1
  331. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js.map +0 -1
  332. package/dist-es/commands/DeleteDBInstanceCommand.js.map +0 -1
  333. package/dist-es/commands/DeleteDBSubnetGroupCommand.js.map +0 -1
  334. package/dist-es/commands/DeleteEventSubscriptionCommand.js.map +0 -1
  335. package/dist-es/commands/DeleteGlobalClusterCommand.js.map +0 -1
  336. package/dist-es/commands/DescribeCertificatesCommand.js.map +0 -1
  337. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js.map +0 -1
  338. package/dist-es/commands/DescribeDBClusterParametersCommand.js.map +0 -1
  339. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +0 -1
  340. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js.map +0 -1
  341. package/dist-es/commands/DescribeDBClustersCommand.js.map +0 -1
  342. package/dist-es/commands/DescribeDBEngineVersionsCommand.js.map +0 -1
  343. package/dist-es/commands/DescribeDBInstancesCommand.js.map +0 -1
  344. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js.map +0 -1
  345. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js.map +0 -1
  346. package/dist-es/commands/DescribeEventCategoriesCommand.js.map +0 -1
  347. package/dist-es/commands/DescribeEventSubscriptionsCommand.js.map +0 -1
  348. package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
  349. package/dist-es/commands/DescribeGlobalClustersCommand.js.map +0 -1
  350. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +0 -1
  351. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js.map +0 -1
  352. package/dist-es/commands/FailoverDBClusterCommand.js.map +0 -1
  353. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  354. package/dist-es/commands/ModifyDBClusterCommand.js.map +0 -1
  355. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js.map +0 -1
  356. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +0 -1
  357. package/dist-es/commands/ModifyDBInstanceCommand.js.map +0 -1
  358. package/dist-es/commands/ModifyDBSubnetGroupCommand.js.map +0 -1
  359. package/dist-es/commands/ModifyEventSubscriptionCommand.js.map +0 -1
  360. package/dist-es/commands/ModifyGlobalClusterCommand.js.map +0 -1
  361. package/dist-es/commands/RebootDBInstanceCommand.js.map +0 -1
  362. package/dist-es/commands/RemoveFromGlobalClusterCommand.js.map +0 -1
  363. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +0 -1
  364. package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  365. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js.map +0 -1
  366. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js.map +0 -1
  367. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js.map +0 -1
  368. package/dist-es/commands/StartDBClusterCommand.js.map +0 -1
  369. package/dist-es/commands/StopDBClusterCommand.js.map +0 -1
  370. package/dist-es/endpoints.js.map +0 -1
  371. package/dist-es/index.js.map +0 -1
  372. package/dist-es/models/index.js.map +0 -1
  373. package/dist-es/models/models_0.js.map +0 -1
  374. package/dist-es/pagination/DescribeCertificatesPaginator.js.map +0 -1
  375. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +0 -1
  376. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js.map +0 -1
  377. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js.map +0 -1
  378. package/dist-es/pagination/DescribeDBClustersPaginator.js.map +0 -1
  379. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js.map +0 -1
  380. package/dist-es/pagination/DescribeDBInstancesPaginator.js.map +0 -1
  381. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js.map +0 -1
  382. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js.map +0 -1
  383. package/dist-es/pagination/DescribeEventsPaginator.js.map +0 -1
  384. package/dist-es/pagination/DescribeGlobalClustersPaginator.js.map +0 -1
  385. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +0 -1
  386. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js.map +0 -1
  387. package/dist-es/pagination/Interfaces.js.map +0 -1
  388. package/dist-es/protocols/Aws_query.js.map +0 -1
  389. package/dist-es/runtimeConfig.browser.js.map +0 -1
  390. package/dist-es/runtimeConfig.js.map +0 -1
  391. package/dist-es/runtimeConfig.native.js.map +0 -1
  392. package/dist-es/runtimeConfig.shared.js.map +0 -1
  393. package/dist-es/waiters/waitForDBInstanceAvailable.js.map +0 -1
  394. package/jest.config.js +0 -4
  395. package/src/DocDB.ts +0 -2097
  396. package/src/DocDBClient.ts +0 -515
  397. package/src/commands/AddSourceIdentifierToSubscriptionCommand.ts +0 -104
  398. package/src/commands/AddTagsToResourceCommand.ts +0 -98
  399. package/src/commands/ApplyPendingMaintenanceActionCommand.ts +0 -101
  400. package/src/commands/CopyDBClusterParameterGroupCommand.ts +0 -98
  401. package/src/commands/CopyDBClusterSnapshotCommand.ts +0 -108
  402. package/src/commands/CreateDBClusterCommand.ts +0 -95
  403. package/src/commands/CreateDBClusterParameterGroupCommand.ts +0 -118
  404. package/src/commands/CreateDBClusterSnapshotCommand.ts +0 -95
  405. package/src/commands/CreateDBInstanceCommand.ts +0 -95
  406. package/src/commands/CreateDBSubnetGroupCommand.ts +0 -96
  407. package/src/commands/CreateEventSubscriptionCommand.ts +0 -97
  408. package/src/commands/CreateGlobalClusterCommand.ts +0 -100
  409. package/src/commands/DeleteDBClusterCommand.ts +0 -96
  410. package/src/commands/DeleteDBClusterParameterGroupCommand.ts +0 -98
  411. package/src/commands/DeleteDBClusterSnapshotCommand.ts +0 -98
  412. package/src/commands/DeleteDBInstanceCommand.ts +0 -95
  413. package/src/commands/DeleteDBSubnetGroupCommand.ts +0 -99
  414. package/src/commands/DeleteEventSubscriptionCommand.ts +0 -95
  415. package/src/commands/DeleteGlobalClusterCommand.ts +0 -98
  416. package/src/commands/DescribeCertificatesCommand.ts +0 -95
  417. package/src/commands/DescribeDBClusterParameterGroupsCommand.ts +0 -103
  418. package/src/commands/DescribeDBClusterParametersCommand.ts +0 -99
  419. package/src/commands/DescribeDBClusterSnapshotAttributesCommand.ts +0 -109
  420. package/src/commands/DescribeDBClusterSnapshotsCommand.ts +0 -98
  421. package/src/commands/DescribeDBClustersCommand.ts +0 -100
  422. package/src/commands/DescribeDBEngineVersionsCommand.ts +0 -95
  423. package/src/commands/DescribeDBInstancesCommand.ts +0 -95
  424. package/src/commands/DescribeDBSubnetGroupsCommand.ts +0 -96
  425. package/src/commands/DescribeEngineDefaultClusterParametersCommand.ts +0 -108
  426. package/src/commands/DescribeEventCategoriesCommand.ts +0 -96
  427. package/src/commands/DescribeEventSubscriptionsCommand.ts +0 -99
  428. package/src/commands/DescribeEventsCommand.ts +0 -95
  429. package/src/commands/DescribeGlobalClustersCommand.ts +0 -98
  430. package/src/commands/DescribeOrderableDBInstanceOptionsCommand.ts +0 -103
  431. package/src/commands/DescribePendingMaintenanceActionsCommand.ts +0 -104
  432. package/src/commands/FailoverDBClusterCommand.ts +0 -97
  433. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  434. package/src/commands/ModifyDBClusterCommand.ts +0 -97
  435. package/src/commands/ModifyDBClusterParameterGroupCommand.ts +0 -118
  436. package/src/commands/ModifyDBClusterSnapshotAttributeCommand.ts +0 -104
  437. package/src/commands/ModifyDBInstanceCommand.ts +0 -95
  438. package/src/commands/ModifyDBSubnetGroupCommand.ts +0 -95
  439. package/src/commands/ModifyEventSubscriptionCommand.ts +0 -95
  440. package/src/commands/ModifyGlobalClusterCommand.ts +0 -98
  441. package/src/commands/RebootDBInstanceCommand.ts +0 -101
  442. package/src/commands/RemoveFromGlobalClusterCommand.ts +0 -98
  443. package/src/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts +0 -108
  444. package/src/commands/RemoveTagsFromResourceCommand.ts +0 -95
  445. package/src/commands/ResetDBClusterParameterGroupCommand.ts +0 -107
  446. package/src/commands/RestoreDBClusterFromSnapshotCommand.ts +0 -102
  447. package/src/commands/RestoreDBClusterToPointInTimeCommand.ts +0 -104
  448. package/src/commands/StartDBClusterCommand.ts +0 -97
  449. package/src/commands/StopDBClusterCommand.ts +0 -98
  450. package/src/endpoints.ts +0 -91
  451. package/src/index.ts +0 -71
  452. package/src/models/index.ts +0 -1
  453. package/src/models/models_0.ts +0 -6422
  454. package/src/pagination/DescribeCertificatesPaginator.ts +0 -59
  455. package/src/pagination/DescribeDBClusterParameterGroupsPaginator.ts +0 -59
  456. package/src/pagination/DescribeDBClusterParametersPaginator.ts +0 -59
  457. package/src/pagination/DescribeDBClusterSnapshotsPaginator.ts +0 -59
  458. package/src/pagination/DescribeDBClustersPaginator.ts +0 -59
  459. package/src/pagination/DescribeDBEngineVersionsPaginator.ts +0 -59
  460. package/src/pagination/DescribeDBInstancesPaginator.ts +0 -59
  461. package/src/pagination/DescribeDBSubnetGroupsPaginator.ts +0 -59
  462. package/src/pagination/DescribeEventSubscriptionsPaginator.ts +0 -59
  463. package/src/pagination/DescribeEventsPaginator.ts +0 -59
  464. package/src/pagination/DescribeGlobalClustersPaginator.ts +0 -59
  465. package/src/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +0 -59
  466. package/src/pagination/DescribePendingMaintenanceActionsPaginator.ts +0 -59
  467. package/src/pagination/Interfaces.ts +0 -8
  468. package/src/protocols/Aws_query.ts +0 -10761
  469. package/src/runtimeConfig.browser.ts +0 -41
  470. package/src/runtimeConfig.native.ts +0 -17
  471. package/src/runtimeConfig.shared.ts +0 -17
  472. package/src/runtimeConfig.ts +0 -46
  473. package/src/waiters/waitForDBInstanceAvailable.ts +0 -125
  474. package/tsconfig.es.json +0 -10
  475. package/tsconfig.json +0 -33
  476. package/tsconfig.types.json +0 -9
package/src/DocDB.ts DELETED
@@ -1,2097 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import {
4
- AddSourceIdentifierToSubscriptionCommand,
5
- AddSourceIdentifierToSubscriptionCommandInput,
6
- AddSourceIdentifierToSubscriptionCommandOutput,
7
- } from "./commands/AddSourceIdentifierToSubscriptionCommand";
8
- import {
9
- AddTagsToResourceCommand,
10
- AddTagsToResourceCommandInput,
11
- AddTagsToResourceCommandOutput,
12
- } from "./commands/AddTagsToResourceCommand";
13
- import {
14
- ApplyPendingMaintenanceActionCommand,
15
- ApplyPendingMaintenanceActionCommandInput,
16
- ApplyPendingMaintenanceActionCommandOutput,
17
- } from "./commands/ApplyPendingMaintenanceActionCommand";
18
- import {
19
- CopyDBClusterParameterGroupCommand,
20
- CopyDBClusterParameterGroupCommandInput,
21
- CopyDBClusterParameterGroupCommandOutput,
22
- } from "./commands/CopyDBClusterParameterGroupCommand";
23
- import {
24
- CopyDBClusterSnapshotCommand,
25
- CopyDBClusterSnapshotCommandInput,
26
- CopyDBClusterSnapshotCommandOutput,
27
- } from "./commands/CopyDBClusterSnapshotCommand";
28
- import {
29
- CreateDBClusterCommand,
30
- CreateDBClusterCommandInput,
31
- CreateDBClusterCommandOutput,
32
- } from "./commands/CreateDBClusterCommand";
33
- import {
34
- CreateDBClusterParameterGroupCommand,
35
- CreateDBClusterParameterGroupCommandInput,
36
- CreateDBClusterParameterGroupCommandOutput,
37
- } from "./commands/CreateDBClusterParameterGroupCommand";
38
- import {
39
- CreateDBClusterSnapshotCommand,
40
- CreateDBClusterSnapshotCommandInput,
41
- CreateDBClusterSnapshotCommandOutput,
42
- } from "./commands/CreateDBClusterSnapshotCommand";
43
- import {
44
- CreateDBInstanceCommand,
45
- CreateDBInstanceCommandInput,
46
- CreateDBInstanceCommandOutput,
47
- } from "./commands/CreateDBInstanceCommand";
48
- import {
49
- CreateDBSubnetGroupCommand,
50
- CreateDBSubnetGroupCommandInput,
51
- CreateDBSubnetGroupCommandOutput,
52
- } from "./commands/CreateDBSubnetGroupCommand";
53
- import {
54
- CreateEventSubscriptionCommand,
55
- CreateEventSubscriptionCommandInput,
56
- CreateEventSubscriptionCommandOutput,
57
- } from "./commands/CreateEventSubscriptionCommand";
58
- import {
59
- CreateGlobalClusterCommand,
60
- CreateGlobalClusterCommandInput,
61
- CreateGlobalClusterCommandOutput,
62
- } from "./commands/CreateGlobalClusterCommand";
63
- import {
64
- DeleteDBClusterCommand,
65
- DeleteDBClusterCommandInput,
66
- DeleteDBClusterCommandOutput,
67
- } from "./commands/DeleteDBClusterCommand";
68
- import {
69
- DeleteDBClusterParameterGroupCommand,
70
- DeleteDBClusterParameterGroupCommandInput,
71
- DeleteDBClusterParameterGroupCommandOutput,
72
- } from "./commands/DeleteDBClusterParameterGroupCommand";
73
- import {
74
- DeleteDBClusterSnapshotCommand,
75
- DeleteDBClusterSnapshotCommandInput,
76
- DeleteDBClusterSnapshotCommandOutput,
77
- } from "./commands/DeleteDBClusterSnapshotCommand";
78
- import {
79
- DeleteDBInstanceCommand,
80
- DeleteDBInstanceCommandInput,
81
- DeleteDBInstanceCommandOutput,
82
- } from "./commands/DeleteDBInstanceCommand";
83
- import {
84
- DeleteDBSubnetGroupCommand,
85
- DeleteDBSubnetGroupCommandInput,
86
- DeleteDBSubnetGroupCommandOutput,
87
- } from "./commands/DeleteDBSubnetGroupCommand";
88
- import {
89
- DeleteEventSubscriptionCommand,
90
- DeleteEventSubscriptionCommandInput,
91
- DeleteEventSubscriptionCommandOutput,
92
- } from "./commands/DeleteEventSubscriptionCommand";
93
- import {
94
- DeleteGlobalClusterCommand,
95
- DeleteGlobalClusterCommandInput,
96
- DeleteGlobalClusterCommandOutput,
97
- } from "./commands/DeleteGlobalClusterCommand";
98
- import {
99
- DescribeCertificatesCommand,
100
- DescribeCertificatesCommandInput,
101
- DescribeCertificatesCommandOutput,
102
- } from "./commands/DescribeCertificatesCommand";
103
- import {
104
- DescribeDBClusterParameterGroupsCommand,
105
- DescribeDBClusterParameterGroupsCommandInput,
106
- DescribeDBClusterParameterGroupsCommandOutput,
107
- } from "./commands/DescribeDBClusterParameterGroupsCommand";
108
- import {
109
- DescribeDBClusterParametersCommand,
110
- DescribeDBClusterParametersCommandInput,
111
- DescribeDBClusterParametersCommandOutput,
112
- } from "./commands/DescribeDBClusterParametersCommand";
113
- import {
114
- DescribeDBClustersCommand,
115
- DescribeDBClustersCommandInput,
116
- DescribeDBClustersCommandOutput,
117
- } from "./commands/DescribeDBClustersCommand";
118
- import {
119
- DescribeDBClusterSnapshotAttributesCommand,
120
- DescribeDBClusterSnapshotAttributesCommandInput,
121
- DescribeDBClusterSnapshotAttributesCommandOutput,
122
- } from "./commands/DescribeDBClusterSnapshotAttributesCommand";
123
- import {
124
- DescribeDBClusterSnapshotsCommand,
125
- DescribeDBClusterSnapshotsCommandInput,
126
- DescribeDBClusterSnapshotsCommandOutput,
127
- } from "./commands/DescribeDBClusterSnapshotsCommand";
128
- import {
129
- DescribeDBEngineVersionsCommand,
130
- DescribeDBEngineVersionsCommandInput,
131
- DescribeDBEngineVersionsCommandOutput,
132
- } from "./commands/DescribeDBEngineVersionsCommand";
133
- import {
134
- DescribeDBInstancesCommand,
135
- DescribeDBInstancesCommandInput,
136
- DescribeDBInstancesCommandOutput,
137
- } from "./commands/DescribeDBInstancesCommand";
138
- import {
139
- DescribeDBSubnetGroupsCommand,
140
- DescribeDBSubnetGroupsCommandInput,
141
- DescribeDBSubnetGroupsCommandOutput,
142
- } from "./commands/DescribeDBSubnetGroupsCommand";
143
- import {
144
- DescribeEngineDefaultClusterParametersCommand,
145
- DescribeEngineDefaultClusterParametersCommandInput,
146
- DescribeEngineDefaultClusterParametersCommandOutput,
147
- } from "./commands/DescribeEngineDefaultClusterParametersCommand";
148
- import {
149
- DescribeEventCategoriesCommand,
150
- DescribeEventCategoriesCommandInput,
151
- DescribeEventCategoriesCommandOutput,
152
- } from "./commands/DescribeEventCategoriesCommand";
153
- import {
154
- DescribeEventsCommand,
155
- DescribeEventsCommandInput,
156
- DescribeEventsCommandOutput,
157
- } from "./commands/DescribeEventsCommand";
158
- import {
159
- DescribeEventSubscriptionsCommand,
160
- DescribeEventSubscriptionsCommandInput,
161
- DescribeEventSubscriptionsCommandOutput,
162
- } from "./commands/DescribeEventSubscriptionsCommand";
163
- import {
164
- DescribeGlobalClustersCommand,
165
- DescribeGlobalClustersCommandInput,
166
- DescribeGlobalClustersCommandOutput,
167
- } from "./commands/DescribeGlobalClustersCommand";
168
- import {
169
- DescribeOrderableDBInstanceOptionsCommand,
170
- DescribeOrderableDBInstanceOptionsCommandInput,
171
- DescribeOrderableDBInstanceOptionsCommandOutput,
172
- } from "./commands/DescribeOrderableDBInstanceOptionsCommand";
173
- import {
174
- DescribePendingMaintenanceActionsCommand,
175
- DescribePendingMaintenanceActionsCommandInput,
176
- DescribePendingMaintenanceActionsCommandOutput,
177
- } from "./commands/DescribePendingMaintenanceActionsCommand";
178
- import {
179
- FailoverDBClusterCommand,
180
- FailoverDBClusterCommandInput,
181
- FailoverDBClusterCommandOutput,
182
- } from "./commands/FailoverDBClusterCommand";
183
- import {
184
- ListTagsForResourceCommand,
185
- ListTagsForResourceCommandInput,
186
- ListTagsForResourceCommandOutput,
187
- } from "./commands/ListTagsForResourceCommand";
188
- import {
189
- ModifyDBClusterCommand,
190
- ModifyDBClusterCommandInput,
191
- ModifyDBClusterCommandOutput,
192
- } from "./commands/ModifyDBClusterCommand";
193
- import {
194
- ModifyDBClusterParameterGroupCommand,
195
- ModifyDBClusterParameterGroupCommandInput,
196
- ModifyDBClusterParameterGroupCommandOutput,
197
- } from "./commands/ModifyDBClusterParameterGroupCommand";
198
- import {
199
- ModifyDBClusterSnapshotAttributeCommand,
200
- ModifyDBClusterSnapshotAttributeCommandInput,
201
- ModifyDBClusterSnapshotAttributeCommandOutput,
202
- } from "./commands/ModifyDBClusterSnapshotAttributeCommand";
203
- import {
204
- ModifyDBInstanceCommand,
205
- ModifyDBInstanceCommandInput,
206
- ModifyDBInstanceCommandOutput,
207
- } from "./commands/ModifyDBInstanceCommand";
208
- import {
209
- ModifyDBSubnetGroupCommand,
210
- ModifyDBSubnetGroupCommandInput,
211
- ModifyDBSubnetGroupCommandOutput,
212
- } from "./commands/ModifyDBSubnetGroupCommand";
213
- import {
214
- ModifyEventSubscriptionCommand,
215
- ModifyEventSubscriptionCommandInput,
216
- ModifyEventSubscriptionCommandOutput,
217
- } from "./commands/ModifyEventSubscriptionCommand";
218
- import {
219
- ModifyGlobalClusterCommand,
220
- ModifyGlobalClusterCommandInput,
221
- ModifyGlobalClusterCommandOutput,
222
- } from "./commands/ModifyGlobalClusterCommand";
223
- import {
224
- RebootDBInstanceCommand,
225
- RebootDBInstanceCommandInput,
226
- RebootDBInstanceCommandOutput,
227
- } from "./commands/RebootDBInstanceCommand";
228
- import {
229
- RemoveFromGlobalClusterCommand,
230
- RemoveFromGlobalClusterCommandInput,
231
- RemoveFromGlobalClusterCommandOutput,
232
- } from "./commands/RemoveFromGlobalClusterCommand";
233
- import {
234
- RemoveSourceIdentifierFromSubscriptionCommand,
235
- RemoveSourceIdentifierFromSubscriptionCommandInput,
236
- RemoveSourceIdentifierFromSubscriptionCommandOutput,
237
- } from "./commands/RemoveSourceIdentifierFromSubscriptionCommand";
238
- import {
239
- RemoveTagsFromResourceCommand,
240
- RemoveTagsFromResourceCommandInput,
241
- RemoveTagsFromResourceCommandOutput,
242
- } from "./commands/RemoveTagsFromResourceCommand";
243
- import {
244
- ResetDBClusterParameterGroupCommand,
245
- ResetDBClusterParameterGroupCommandInput,
246
- ResetDBClusterParameterGroupCommandOutput,
247
- } from "./commands/ResetDBClusterParameterGroupCommand";
248
- import {
249
- RestoreDBClusterFromSnapshotCommand,
250
- RestoreDBClusterFromSnapshotCommandInput,
251
- RestoreDBClusterFromSnapshotCommandOutput,
252
- } from "./commands/RestoreDBClusterFromSnapshotCommand";
253
- import {
254
- RestoreDBClusterToPointInTimeCommand,
255
- RestoreDBClusterToPointInTimeCommandInput,
256
- RestoreDBClusterToPointInTimeCommandOutput,
257
- } from "./commands/RestoreDBClusterToPointInTimeCommand";
258
- import {
259
- StartDBClusterCommand,
260
- StartDBClusterCommandInput,
261
- StartDBClusterCommandOutput,
262
- } from "./commands/StartDBClusterCommand";
263
- import {
264
- StopDBClusterCommand,
265
- StopDBClusterCommandInput,
266
- StopDBClusterCommandOutput,
267
- } from "./commands/StopDBClusterCommand";
268
- import { DocDBClient } from "./DocDBClient";
269
-
270
- /**
271
- * <p>Amazon DocumentDB API documentation</p>
272
- */
273
- export class DocDB extends DocDBClient {
274
- /**
275
- * <p>Adds a source identifier to an existing event notification
276
- * subscription.</p>
277
- */
278
- public addSourceIdentifierToSubscription(
279
- args: AddSourceIdentifierToSubscriptionCommandInput,
280
- options?: __HttpHandlerOptions
281
- ): Promise<AddSourceIdentifierToSubscriptionCommandOutput>;
282
- public addSourceIdentifierToSubscription(
283
- args: AddSourceIdentifierToSubscriptionCommandInput,
284
- cb: (err: any, data?: AddSourceIdentifierToSubscriptionCommandOutput) => void
285
- ): void;
286
- public addSourceIdentifierToSubscription(
287
- args: AddSourceIdentifierToSubscriptionCommandInput,
288
- options: __HttpHandlerOptions,
289
- cb: (err: any, data?: AddSourceIdentifierToSubscriptionCommandOutput) => void
290
- ): void;
291
- public addSourceIdentifierToSubscription(
292
- args: AddSourceIdentifierToSubscriptionCommandInput,
293
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddSourceIdentifierToSubscriptionCommandOutput) => void),
294
- cb?: (err: any, data?: AddSourceIdentifierToSubscriptionCommandOutput) => void
295
- ): Promise<AddSourceIdentifierToSubscriptionCommandOutput> | void {
296
- const command = new AddSourceIdentifierToSubscriptionCommand(args);
297
- if (typeof optionsOrCb === "function") {
298
- this.send(command, optionsOrCb);
299
- } else if (typeof cb === "function") {
300
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
301
- this.send(command, optionsOrCb || {}, cb);
302
- } else {
303
- return this.send(command, optionsOrCb);
304
- }
305
- }
306
-
307
- /**
308
- * <p>Adds metadata tags to an Amazon DocumentDB resource. You can use these tags
309
- * with cost allocation reporting to track costs that are associated
310
- * with Amazon DocumentDB resources or in a <code>Condition</code> statement in
311
- * an Identity and Access Management (IAM) policy for Amazon DocumentDB.</p>
312
- */
313
- public addTagsToResource(
314
- args: AddTagsToResourceCommandInput,
315
- options?: __HttpHandlerOptions
316
- ): Promise<AddTagsToResourceCommandOutput>;
317
- public addTagsToResource(
318
- args: AddTagsToResourceCommandInput,
319
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
320
- ): void;
321
- public addTagsToResource(
322
- args: AddTagsToResourceCommandInput,
323
- options: __HttpHandlerOptions,
324
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
325
- ): void;
326
- public addTagsToResource(
327
- args: AddTagsToResourceCommandInput,
328
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsToResourceCommandOutput) => void),
329
- cb?: (err: any, data?: AddTagsToResourceCommandOutput) => void
330
- ): Promise<AddTagsToResourceCommandOutput> | void {
331
- const command = new AddTagsToResourceCommand(args);
332
- if (typeof optionsOrCb === "function") {
333
- this.send(command, optionsOrCb);
334
- } else if (typeof cb === "function") {
335
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
336
- this.send(command, optionsOrCb || {}, cb);
337
- } else {
338
- return this.send(command, optionsOrCb);
339
- }
340
- }
341
-
342
- /**
343
- * <p>Applies a pending maintenance action to a resource (for example,
344
- * to an Amazon DocumentDB instance).</p>
345
- */
346
- public applyPendingMaintenanceAction(
347
- args: ApplyPendingMaintenanceActionCommandInput,
348
- options?: __HttpHandlerOptions
349
- ): Promise<ApplyPendingMaintenanceActionCommandOutput>;
350
- public applyPendingMaintenanceAction(
351
- args: ApplyPendingMaintenanceActionCommandInput,
352
- cb: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void
353
- ): void;
354
- public applyPendingMaintenanceAction(
355
- args: ApplyPendingMaintenanceActionCommandInput,
356
- options: __HttpHandlerOptions,
357
- cb: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void
358
- ): void;
359
- public applyPendingMaintenanceAction(
360
- args: ApplyPendingMaintenanceActionCommandInput,
361
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void),
362
- cb?: (err: any, data?: ApplyPendingMaintenanceActionCommandOutput) => void
363
- ): Promise<ApplyPendingMaintenanceActionCommandOutput> | void {
364
- const command = new ApplyPendingMaintenanceActionCommand(args);
365
- if (typeof optionsOrCb === "function") {
366
- this.send(command, optionsOrCb);
367
- } else if (typeof cb === "function") {
368
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
369
- this.send(command, optionsOrCb || {}, cb);
370
- } else {
371
- return this.send(command, optionsOrCb);
372
- }
373
- }
374
-
375
- /**
376
- * <p>Copies the specified cluster parameter group.</p>
377
- */
378
- public copyDBClusterParameterGroup(
379
- args: CopyDBClusterParameterGroupCommandInput,
380
- options?: __HttpHandlerOptions
381
- ): Promise<CopyDBClusterParameterGroupCommandOutput>;
382
- public copyDBClusterParameterGroup(
383
- args: CopyDBClusterParameterGroupCommandInput,
384
- cb: (err: any, data?: CopyDBClusterParameterGroupCommandOutput) => void
385
- ): void;
386
- public copyDBClusterParameterGroup(
387
- args: CopyDBClusterParameterGroupCommandInput,
388
- options: __HttpHandlerOptions,
389
- cb: (err: any, data?: CopyDBClusterParameterGroupCommandOutput) => void
390
- ): void;
391
- public copyDBClusterParameterGroup(
392
- args: CopyDBClusterParameterGroupCommandInput,
393
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CopyDBClusterParameterGroupCommandOutput) => void),
394
- cb?: (err: any, data?: CopyDBClusterParameterGroupCommandOutput) => void
395
- ): Promise<CopyDBClusterParameterGroupCommandOutput> | void {
396
- const command = new CopyDBClusterParameterGroupCommand(args);
397
- if (typeof optionsOrCb === "function") {
398
- this.send(command, optionsOrCb);
399
- } else if (typeof cb === "function") {
400
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
401
- this.send(command, optionsOrCb || {}, cb);
402
- } else {
403
- return this.send(command, optionsOrCb);
404
- }
405
- }
406
-
407
- /**
408
- * <p>Copies a snapshot of a cluster.</p>
409
- *
410
- * <p>To copy a cluster snapshot from a shared manual cluster snapshot,
411
- * <code>SourceDBClusterSnapshotIdentifier</code> must be the Amazon
412
- * Resource Name (ARN) of the shared cluster snapshot. You can only
413
- * copy a shared DB cluster snapshot, whether encrypted or not, in the
414
- * same Region.</p>
415
- *
416
- * <p>To cancel the copy operation after it is in progress, delete the
417
- * target cluster snapshot identified by
418
- * <code>TargetDBClusterSnapshotIdentifier</code> while that cluster
419
- * snapshot is in the <i>copying</i> status.</p>
420
- */
421
- public copyDBClusterSnapshot(
422
- args: CopyDBClusterSnapshotCommandInput,
423
- options?: __HttpHandlerOptions
424
- ): Promise<CopyDBClusterSnapshotCommandOutput>;
425
- public copyDBClusterSnapshot(
426
- args: CopyDBClusterSnapshotCommandInput,
427
- cb: (err: any, data?: CopyDBClusterSnapshotCommandOutput) => void
428
- ): void;
429
- public copyDBClusterSnapshot(
430
- args: CopyDBClusterSnapshotCommandInput,
431
- options: __HttpHandlerOptions,
432
- cb: (err: any, data?: CopyDBClusterSnapshotCommandOutput) => void
433
- ): void;
434
- public copyDBClusterSnapshot(
435
- args: CopyDBClusterSnapshotCommandInput,
436
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CopyDBClusterSnapshotCommandOutput) => void),
437
- cb?: (err: any, data?: CopyDBClusterSnapshotCommandOutput) => void
438
- ): Promise<CopyDBClusterSnapshotCommandOutput> | void {
439
- const command = new CopyDBClusterSnapshotCommand(args);
440
- if (typeof optionsOrCb === "function") {
441
- this.send(command, optionsOrCb);
442
- } else if (typeof cb === "function") {
443
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
444
- this.send(command, optionsOrCb || {}, cb);
445
- } else {
446
- return this.send(command, optionsOrCb);
447
- }
448
- }
449
-
450
- /**
451
- * <p>Creates a new Amazon DocumentDB cluster.</p>
452
- */
453
- public createDBCluster(
454
- args: CreateDBClusterCommandInput,
455
- options?: __HttpHandlerOptions
456
- ): Promise<CreateDBClusterCommandOutput>;
457
- public createDBCluster(
458
- args: CreateDBClusterCommandInput,
459
- cb: (err: any, data?: CreateDBClusterCommandOutput) => void
460
- ): void;
461
- public createDBCluster(
462
- args: CreateDBClusterCommandInput,
463
- options: __HttpHandlerOptions,
464
- cb: (err: any, data?: CreateDBClusterCommandOutput) => void
465
- ): void;
466
- public createDBCluster(
467
- args: CreateDBClusterCommandInput,
468
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDBClusterCommandOutput) => void),
469
- cb?: (err: any, data?: CreateDBClusterCommandOutput) => void
470
- ): Promise<CreateDBClusterCommandOutput> | void {
471
- const command = new CreateDBClusterCommand(args);
472
- if (typeof optionsOrCb === "function") {
473
- this.send(command, optionsOrCb);
474
- } else if (typeof cb === "function") {
475
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
476
- this.send(command, optionsOrCb || {}, cb);
477
- } else {
478
- return this.send(command, optionsOrCb);
479
- }
480
- }
481
-
482
- /**
483
- * <p>Creates a new cluster parameter group.</p>
484
- * <p>Parameters in a cluster parameter group apply to all of the
485
- * instances in a cluster.</p>
486
- * <p>A cluster parameter group is initially created with the default
487
- * parameters for the database engine used by instances in the cluster.
488
- * In Amazon DocumentDB, you cannot make modifications directly to the
489
- * <code>default.docdb3.6</code> cluster parameter group. If your
490
- * Amazon DocumentDB cluster is using the default cluster parameter group and you
491
- * want to modify a value in it, you must first <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-create.html">
492
- * create a new parameter group</a>
493
- * or <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-copy.html">
494
- * copy an existing parameter group</a>,
495
- * modify it, and then apply the modified parameter group to your
496
- * cluster. For the new cluster parameter group and associated settings
497
- * to take effect, you must then reboot the instances in the cluster
498
- * without failover. For more information,
499
- * see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-modify.html">
500
- * Modifying Amazon DocumentDB Cluster Parameter Groups</a>.
501
- * </p>
502
- */
503
- public createDBClusterParameterGroup(
504
- args: CreateDBClusterParameterGroupCommandInput,
505
- options?: __HttpHandlerOptions
506
- ): Promise<CreateDBClusterParameterGroupCommandOutput>;
507
- public createDBClusterParameterGroup(
508
- args: CreateDBClusterParameterGroupCommandInput,
509
- cb: (err: any, data?: CreateDBClusterParameterGroupCommandOutput) => void
510
- ): void;
511
- public createDBClusterParameterGroup(
512
- args: CreateDBClusterParameterGroupCommandInput,
513
- options: __HttpHandlerOptions,
514
- cb: (err: any, data?: CreateDBClusterParameterGroupCommandOutput) => void
515
- ): void;
516
- public createDBClusterParameterGroup(
517
- args: CreateDBClusterParameterGroupCommandInput,
518
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDBClusterParameterGroupCommandOutput) => void),
519
- cb?: (err: any, data?: CreateDBClusterParameterGroupCommandOutput) => void
520
- ): Promise<CreateDBClusterParameterGroupCommandOutput> | void {
521
- const command = new CreateDBClusterParameterGroupCommand(args);
522
- if (typeof optionsOrCb === "function") {
523
- this.send(command, optionsOrCb);
524
- } else if (typeof cb === "function") {
525
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
526
- this.send(command, optionsOrCb || {}, cb);
527
- } else {
528
- return this.send(command, optionsOrCb);
529
- }
530
- }
531
-
532
- /**
533
- * <p>Creates a snapshot of a cluster. </p>
534
- */
535
- public createDBClusterSnapshot(
536
- args: CreateDBClusterSnapshotCommandInput,
537
- options?: __HttpHandlerOptions
538
- ): Promise<CreateDBClusterSnapshotCommandOutput>;
539
- public createDBClusterSnapshot(
540
- args: CreateDBClusterSnapshotCommandInput,
541
- cb: (err: any, data?: CreateDBClusterSnapshotCommandOutput) => void
542
- ): void;
543
- public createDBClusterSnapshot(
544
- args: CreateDBClusterSnapshotCommandInput,
545
- options: __HttpHandlerOptions,
546
- cb: (err: any, data?: CreateDBClusterSnapshotCommandOutput) => void
547
- ): void;
548
- public createDBClusterSnapshot(
549
- args: CreateDBClusterSnapshotCommandInput,
550
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDBClusterSnapshotCommandOutput) => void),
551
- cb?: (err: any, data?: CreateDBClusterSnapshotCommandOutput) => void
552
- ): Promise<CreateDBClusterSnapshotCommandOutput> | void {
553
- const command = new CreateDBClusterSnapshotCommand(args);
554
- if (typeof optionsOrCb === "function") {
555
- this.send(command, optionsOrCb);
556
- } else if (typeof cb === "function") {
557
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
558
- this.send(command, optionsOrCb || {}, cb);
559
- } else {
560
- return this.send(command, optionsOrCb);
561
- }
562
- }
563
-
564
- /**
565
- * <p>Creates a new instance.</p>
566
- */
567
- public createDBInstance(
568
- args: CreateDBInstanceCommandInput,
569
- options?: __HttpHandlerOptions
570
- ): Promise<CreateDBInstanceCommandOutput>;
571
- public createDBInstance(
572
- args: CreateDBInstanceCommandInput,
573
- cb: (err: any, data?: CreateDBInstanceCommandOutput) => void
574
- ): void;
575
- public createDBInstance(
576
- args: CreateDBInstanceCommandInput,
577
- options: __HttpHandlerOptions,
578
- cb: (err: any, data?: CreateDBInstanceCommandOutput) => void
579
- ): void;
580
- public createDBInstance(
581
- args: CreateDBInstanceCommandInput,
582
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDBInstanceCommandOutput) => void),
583
- cb?: (err: any, data?: CreateDBInstanceCommandOutput) => void
584
- ): Promise<CreateDBInstanceCommandOutput> | void {
585
- const command = new CreateDBInstanceCommand(args);
586
- if (typeof optionsOrCb === "function") {
587
- this.send(command, optionsOrCb);
588
- } else if (typeof cb === "function") {
589
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
590
- this.send(command, optionsOrCb || {}, cb);
591
- } else {
592
- return this.send(command, optionsOrCb);
593
- }
594
- }
595
-
596
- /**
597
- * <p>Creates a new subnet group. subnet groups must contain at least one subnet in at
598
- * least two Availability Zones in the Region.</p>
599
- */
600
- public createDBSubnetGroup(
601
- args: CreateDBSubnetGroupCommandInput,
602
- options?: __HttpHandlerOptions
603
- ): Promise<CreateDBSubnetGroupCommandOutput>;
604
- public createDBSubnetGroup(
605
- args: CreateDBSubnetGroupCommandInput,
606
- cb: (err: any, data?: CreateDBSubnetGroupCommandOutput) => void
607
- ): void;
608
- public createDBSubnetGroup(
609
- args: CreateDBSubnetGroupCommandInput,
610
- options: __HttpHandlerOptions,
611
- cb: (err: any, data?: CreateDBSubnetGroupCommandOutput) => void
612
- ): void;
613
- public createDBSubnetGroup(
614
- args: CreateDBSubnetGroupCommandInput,
615
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDBSubnetGroupCommandOutput) => void),
616
- cb?: (err: any, data?: CreateDBSubnetGroupCommandOutput) => void
617
- ): Promise<CreateDBSubnetGroupCommandOutput> | void {
618
- const command = new CreateDBSubnetGroupCommand(args);
619
- if (typeof optionsOrCb === "function") {
620
- this.send(command, optionsOrCb);
621
- } else if (typeof cb === "function") {
622
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
623
- this.send(command, optionsOrCb || {}, cb);
624
- } else {
625
- return this.send(command, optionsOrCb);
626
- }
627
- }
628
-
629
- /**
630
- * <p>Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the Amazon SNS console.</p>
631
- * <p>You can specify the type of source (<code>SourceType</code>) that you want to be notified of. You can also provide a list of Amazon DocumentDB sources (<code>SourceIds</code>) that trigger the events, and you can provide a list of event categories (<code>EventCategories</code>) for events that you want to be notified of. For example, you can specify <code>SourceType = db-instance</code>, <code>SourceIds = mydbinstance1, mydbinstance2</code> and <code>EventCategories = Availability, Backup</code>.</p>
632
- * <p>If you specify both the <code>SourceType</code> and <code>SourceIds</code> (such as <code>SourceType = db-instance</code> and <code>SourceIdentifier = myDBInstance1</code>), you are notified of all the <code>db-instance</code> events for the specified source. If you specify a <code>SourceType</code> but do not specify a <code>SourceIdentifier</code>, you receive notice of the events for that source type for all your Amazon DocumentDB sources. If you do not specify either the <code>SourceType</code> or the <code>SourceIdentifier</code>, you are notified of events generated from all Amazon DocumentDB sources belonging to your customer account.</p>
633
- */
634
- public createEventSubscription(
635
- args: CreateEventSubscriptionCommandInput,
636
- options?: __HttpHandlerOptions
637
- ): Promise<CreateEventSubscriptionCommandOutput>;
638
- public createEventSubscription(
639
- args: CreateEventSubscriptionCommandInput,
640
- cb: (err: any, data?: CreateEventSubscriptionCommandOutput) => void
641
- ): void;
642
- public createEventSubscription(
643
- args: CreateEventSubscriptionCommandInput,
644
- options: __HttpHandlerOptions,
645
- cb: (err: any, data?: CreateEventSubscriptionCommandOutput) => void
646
- ): void;
647
- public createEventSubscription(
648
- args: CreateEventSubscriptionCommandInput,
649
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEventSubscriptionCommandOutput) => void),
650
- cb?: (err: any, data?: CreateEventSubscriptionCommandOutput) => void
651
- ): Promise<CreateEventSubscriptionCommandOutput> | void {
652
- const command = new CreateEventSubscriptionCommand(args);
653
- if (typeof optionsOrCb === "function") {
654
- this.send(command, optionsOrCb);
655
- } else if (typeof cb === "function") {
656
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
657
- this.send(command, optionsOrCb || {}, cb);
658
- } else {
659
- return this.send(command, optionsOrCb);
660
- }
661
- }
662
-
663
- /**
664
- * <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.</p>
665
- * <p></p>
666
- * <p>You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster. </p>
667
- * <note>
668
- * <p>This action only applies to Amazon DocumentDB clusters.</p>
669
- * </note>
670
- */
671
- public createGlobalCluster(
672
- args: CreateGlobalClusterCommandInput,
673
- options?: __HttpHandlerOptions
674
- ): Promise<CreateGlobalClusterCommandOutput>;
675
- public createGlobalCluster(
676
- args: CreateGlobalClusterCommandInput,
677
- cb: (err: any, data?: CreateGlobalClusterCommandOutput) => void
678
- ): void;
679
- public createGlobalCluster(
680
- args: CreateGlobalClusterCommandInput,
681
- options: __HttpHandlerOptions,
682
- cb: (err: any, data?: CreateGlobalClusterCommandOutput) => void
683
- ): void;
684
- public createGlobalCluster(
685
- args: CreateGlobalClusterCommandInput,
686
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGlobalClusterCommandOutput) => void),
687
- cb?: (err: any, data?: CreateGlobalClusterCommandOutput) => void
688
- ): Promise<CreateGlobalClusterCommandOutput> | void {
689
- const command = new CreateGlobalClusterCommand(args);
690
- if (typeof optionsOrCb === "function") {
691
- this.send(command, optionsOrCb);
692
- } else if (typeof cb === "function") {
693
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
694
- this.send(command, optionsOrCb || {}, cb);
695
- } else {
696
- return this.send(command, optionsOrCb);
697
- }
698
- }
699
-
700
- /**
701
- * <p>Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.</p>
702
- * <p></p>
703
- */
704
- public deleteDBCluster(
705
- args: DeleteDBClusterCommandInput,
706
- options?: __HttpHandlerOptions
707
- ): Promise<DeleteDBClusterCommandOutput>;
708
- public deleteDBCluster(
709
- args: DeleteDBClusterCommandInput,
710
- cb: (err: any, data?: DeleteDBClusterCommandOutput) => void
711
- ): void;
712
- public deleteDBCluster(
713
- args: DeleteDBClusterCommandInput,
714
- options: __HttpHandlerOptions,
715
- cb: (err: any, data?: DeleteDBClusterCommandOutput) => void
716
- ): void;
717
- public deleteDBCluster(
718
- args: DeleteDBClusterCommandInput,
719
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDBClusterCommandOutput) => void),
720
- cb?: (err: any, data?: DeleteDBClusterCommandOutput) => void
721
- ): Promise<DeleteDBClusterCommandOutput> | void {
722
- const command = new DeleteDBClusterCommand(args);
723
- if (typeof optionsOrCb === "function") {
724
- this.send(command, optionsOrCb);
725
- } else if (typeof cb === "function") {
726
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
727
- this.send(command, optionsOrCb || {}, cb);
728
- } else {
729
- return this.send(command, optionsOrCb);
730
- }
731
- }
732
-
733
- /**
734
- * <p>Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters.</p>
735
- */
736
- public deleteDBClusterParameterGroup(
737
- args: DeleteDBClusterParameterGroupCommandInput,
738
- options?: __HttpHandlerOptions
739
- ): Promise<DeleteDBClusterParameterGroupCommandOutput>;
740
- public deleteDBClusterParameterGroup(
741
- args: DeleteDBClusterParameterGroupCommandInput,
742
- cb: (err: any, data?: DeleteDBClusterParameterGroupCommandOutput) => void
743
- ): void;
744
- public deleteDBClusterParameterGroup(
745
- args: DeleteDBClusterParameterGroupCommandInput,
746
- options: __HttpHandlerOptions,
747
- cb: (err: any, data?: DeleteDBClusterParameterGroupCommandOutput) => void
748
- ): void;
749
- public deleteDBClusterParameterGroup(
750
- args: DeleteDBClusterParameterGroupCommandInput,
751
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDBClusterParameterGroupCommandOutput) => void),
752
- cb?: (err: any, data?: DeleteDBClusterParameterGroupCommandOutput) => void
753
- ): Promise<DeleteDBClusterParameterGroupCommandOutput> | void {
754
- const command = new DeleteDBClusterParameterGroupCommand(args);
755
- if (typeof optionsOrCb === "function") {
756
- this.send(command, optionsOrCb);
757
- } else if (typeof cb === "function") {
758
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
759
- this.send(command, optionsOrCb || {}, cb);
760
- } else {
761
- return this.send(command, optionsOrCb);
762
- }
763
- }
764
-
765
- /**
766
- * <p>Deletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated.</p>
767
- * <note>
768
- * <p>The cluster snapshot must be in the <code>available</code> state to be deleted.</p>
769
- * </note>
770
- */
771
- public deleteDBClusterSnapshot(
772
- args: DeleteDBClusterSnapshotCommandInput,
773
- options?: __HttpHandlerOptions
774
- ): Promise<DeleteDBClusterSnapshotCommandOutput>;
775
- public deleteDBClusterSnapshot(
776
- args: DeleteDBClusterSnapshotCommandInput,
777
- cb: (err: any, data?: DeleteDBClusterSnapshotCommandOutput) => void
778
- ): void;
779
- public deleteDBClusterSnapshot(
780
- args: DeleteDBClusterSnapshotCommandInput,
781
- options: __HttpHandlerOptions,
782
- cb: (err: any, data?: DeleteDBClusterSnapshotCommandOutput) => void
783
- ): void;
784
- public deleteDBClusterSnapshot(
785
- args: DeleteDBClusterSnapshotCommandInput,
786
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDBClusterSnapshotCommandOutput) => void),
787
- cb?: (err: any, data?: DeleteDBClusterSnapshotCommandOutput) => void
788
- ): Promise<DeleteDBClusterSnapshotCommandOutput> | void {
789
- const command = new DeleteDBClusterSnapshotCommand(args);
790
- if (typeof optionsOrCb === "function") {
791
- this.send(command, optionsOrCb);
792
- } else if (typeof cb === "function") {
793
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
794
- this.send(command, optionsOrCb || {}, cb);
795
- } else {
796
- return this.send(command, optionsOrCb);
797
- }
798
- }
799
-
800
- /**
801
- * <p>Deletes a previously provisioned instance.</p>
802
- */
803
- public deleteDBInstance(
804
- args: DeleteDBInstanceCommandInput,
805
- options?: __HttpHandlerOptions
806
- ): Promise<DeleteDBInstanceCommandOutput>;
807
- public deleteDBInstance(
808
- args: DeleteDBInstanceCommandInput,
809
- cb: (err: any, data?: DeleteDBInstanceCommandOutput) => void
810
- ): void;
811
- public deleteDBInstance(
812
- args: DeleteDBInstanceCommandInput,
813
- options: __HttpHandlerOptions,
814
- cb: (err: any, data?: DeleteDBInstanceCommandOutput) => void
815
- ): void;
816
- public deleteDBInstance(
817
- args: DeleteDBInstanceCommandInput,
818
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDBInstanceCommandOutput) => void),
819
- cb?: (err: any, data?: DeleteDBInstanceCommandOutput) => void
820
- ): Promise<DeleteDBInstanceCommandOutput> | void {
821
- const command = new DeleteDBInstanceCommand(args);
822
- if (typeof optionsOrCb === "function") {
823
- this.send(command, optionsOrCb);
824
- } else if (typeof cb === "function") {
825
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
826
- this.send(command, optionsOrCb || {}, cb);
827
- } else {
828
- return this.send(command, optionsOrCb);
829
- }
830
- }
831
-
832
- /**
833
- * <p>Deletes a subnet group.</p>
834
- * <note>
835
- * <p>The specified database subnet group must not be associated with any DB
836
- * instances.</p>
837
- * </note>
838
- */
839
- public deleteDBSubnetGroup(
840
- args: DeleteDBSubnetGroupCommandInput,
841
- options?: __HttpHandlerOptions
842
- ): Promise<DeleteDBSubnetGroupCommandOutput>;
843
- public deleteDBSubnetGroup(
844
- args: DeleteDBSubnetGroupCommandInput,
845
- cb: (err: any, data?: DeleteDBSubnetGroupCommandOutput) => void
846
- ): void;
847
- public deleteDBSubnetGroup(
848
- args: DeleteDBSubnetGroupCommandInput,
849
- options: __HttpHandlerOptions,
850
- cb: (err: any, data?: DeleteDBSubnetGroupCommandOutput) => void
851
- ): void;
852
- public deleteDBSubnetGroup(
853
- args: DeleteDBSubnetGroupCommandInput,
854
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDBSubnetGroupCommandOutput) => void),
855
- cb?: (err: any, data?: DeleteDBSubnetGroupCommandOutput) => void
856
- ): Promise<DeleteDBSubnetGroupCommandOutput> | void {
857
- const command = new DeleteDBSubnetGroupCommand(args);
858
- if (typeof optionsOrCb === "function") {
859
- this.send(command, optionsOrCb);
860
- } else if (typeof cb === "function") {
861
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
862
- this.send(command, optionsOrCb || {}, cb);
863
- } else {
864
- return this.send(command, optionsOrCb);
865
- }
866
- }
867
-
868
- /**
869
- * <p>Deletes an Amazon DocumentDB event notification subscription.</p>
870
- */
871
- public deleteEventSubscription(
872
- args: DeleteEventSubscriptionCommandInput,
873
- options?: __HttpHandlerOptions
874
- ): Promise<DeleteEventSubscriptionCommandOutput>;
875
- public deleteEventSubscription(
876
- args: DeleteEventSubscriptionCommandInput,
877
- cb: (err: any, data?: DeleteEventSubscriptionCommandOutput) => void
878
- ): void;
879
- public deleteEventSubscription(
880
- args: DeleteEventSubscriptionCommandInput,
881
- options: __HttpHandlerOptions,
882
- cb: (err: any, data?: DeleteEventSubscriptionCommandOutput) => void
883
- ): void;
884
- public deleteEventSubscription(
885
- args: DeleteEventSubscriptionCommandInput,
886
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEventSubscriptionCommandOutput) => void),
887
- cb?: (err: any, data?: DeleteEventSubscriptionCommandOutput) => void
888
- ): Promise<DeleteEventSubscriptionCommandOutput> | void {
889
- const command = new DeleteEventSubscriptionCommand(args);
890
- if (typeof optionsOrCb === "function") {
891
- this.send(command, optionsOrCb);
892
- } else if (typeof cb === "function") {
893
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
894
- this.send(command, optionsOrCb || {}, cb);
895
- } else {
896
- return this.send(command, optionsOrCb);
897
- }
898
- }
899
-
900
- /**
901
- * <p>Deletes a global cluster. The primary and secondary clusters must already be detached or deleted before attempting to delete a global cluster.</p>
902
- * <note>
903
- * <p>This action only applies to Amazon DocumentDB clusters.</p>
904
- * </note>
905
- */
906
- public deleteGlobalCluster(
907
- args: DeleteGlobalClusterCommandInput,
908
- options?: __HttpHandlerOptions
909
- ): Promise<DeleteGlobalClusterCommandOutput>;
910
- public deleteGlobalCluster(
911
- args: DeleteGlobalClusterCommandInput,
912
- cb: (err: any, data?: DeleteGlobalClusterCommandOutput) => void
913
- ): void;
914
- public deleteGlobalCluster(
915
- args: DeleteGlobalClusterCommandInput,
916
- options: __HttpHandlerOptions,
917
- cb: (err: any, data?: DeleteGlobalClusterCommandOutput) => void
918
- ): void;
919
- public deleteGlobalCluster(
920
- args: DeleteGlobalClusterCommandInput,
921
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGlobalClusterCommandOutput) => void),
922
- cb?: (err: any, data?: DeleteGlobalClusterCommandOutput) => void
923
- ): Promise<DeleteGlobalClusterCommandOutput> | void {
924
- const command = new DeleteGlobalClusterCommand(args);
925
- if (typeof optionsOrCb === "function") {
926
- this.send(command, optionsOrCb);
927
- } else if (typeof cb === "function") {
928
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
929
- this.send(command, optionsOrCb || {}, cb);
930
- } else {
931
- return this.send(command, optionsOrCb);
932
- }
933
- }
934
-
935
- /**
936
- * <p>Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this account.</p>
937
- */
938
- public describeCertificates(
939
- args: DescribeCertificatesCommandInput,
940
- options?: __HttpHandlerOptions
941
- ): Promise<DescribeCertificatesCommandOutput>;
942
- public describeCertificates(
943
- args: DescribeCertificatesCommandInput,
944
- cb: (err: any, data?: DescribeCertificatesCommandOutput) => void
945
- ): void;
946
- public describeCertificates(
947
- args: DescribeCertificatesCommandInput,
948
- options: __HttpHandlerOptions,
949
- cb: (err: any, data?: DescribeCertificatesCommandOutput) => void
950
- ): void;
951
- public describeCertificates(
952
- args: DescribeCertificatesCommandInput,
953
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCertificatesCommandOutput) => void),
954
- cb?: (err: any, data?: DescribeCertificatesCommandOutput) => void
955
- ): Promise<DescribeCertificatesCommandOutput> | void {
956
- const command = new DescribeCertificatesCommand(args);
957
- if (typeof optionsOrCb === "function") {
958
- this.send(command, optionsOrCb);
959
- } else if (typeof cb === "function") {
960
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
961
- this.send(command, optionsOrCb || {}, cb);
962
- } else {
963
- return this.send(command, optionsOrCb);
964
- }
965
- }
966
-
967
- /**
968
- * <p>Returns a list of <code>DBClusterParameterGroup</code> descriptions. If a <code>DBClusterParameterGroupName</code> parameter is specified, the list contains only the description of the specified cluster parameter group. </p>
969
- */
970
- public describeDBClusterParameterGroups(
971
- args: DescribeDBClusterParameterGroupsCommandInput,
972
- options?: __HttpHandlerOptions
973
- ): Promise<DescribeDBClusterParameterGroupsCommandOutput>;
974
- public describeDBClusterParameterGroups(
975
- args: DescribeDBClusterParameterGroupsCommandInput,
976
- cb: (err: any, data?: DescribeDBClusterParameterGroupsCommandOutput) => void
977
- ): void;
978
- public describeDBClusterParameterGroups(
979
- args: DescribeDBClusterParameterGroupsCommandInput,
980
- options: __HttpHandlerOptions,
981
- cb: (err: any, data?: DescribeDBClusterParameterGroupsCommandOutput) => void
982
- ): void;
983
- public describeDBClusterParameterGroups(
984
- args: DescribeDBClusterParameterGroupsCommandInput,
985
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDBClusterParameterGroupsCommandOutput) => void),
986
- cb?: (err: any, data?: DescribeDBClusterParameterGroupsCommandOutput) => void
987
- ): Promise<DescribeDBClusterParameterGroupsCommandOutput> | void {
988
- const command = new DescribeDBClusterParameterGroupsCommand(args);
989
- if (typeof optionsOrCb === "function") {
990
- this.send(command, optionsOrCb);
991
- } else if (typeof cb === "function") {
992
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
993
- this.send(command, optionsOrCb || {}, cb);
994
- } else {
995
- return this.send(command, optionsOrCb);
996
- }
997
- }
998
-
999
- /**
1000
- * <p>Returns the detailed parameter list for a particular cluster parameter
1001
- * group.</p>
1002
- */
1003
- public describeDBClusterParameters(
1004
- args: DescribeDBClusterParametersCommandInput,
1005
- options?: __HttpHandlerOptions
1006
- ): Promise<DescribeDBClusterParametersCommandOutput>;
1007
- public describeDBClusterParameters(
1008
- args: DescribeDBClusterParametersCommandInput,
1009
- cb: (err: any, data?: DescribeDBClusterParametersCommandOutput) => void
1010
- ): void;
1011
- public describeDBClusterParameters(
1012
- args: DescribeDBClusterParametersCommandInput,
1013
- options: __HttpHandlerOptions,
1014
- cb: (err: any, data?: DescribeDBClusterParametersCommandOutput) => void
1015
- ): void;
1016
- public describeDBClusterParameters(
1017
- args: DescribeDBClusterParametersCommandInput,
1018
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDBClusterParametersCommandOutput) => void),
1019
- cb?: (err: any, data?: DescribeDBClusterParametersCommandOutput) => void
1020
- ): Promise<DescribeDBClusterParametersCommandOutput> | void {
1021
- const command = new DescribeDBClusterParametersCommand(args);
1022
- if (typeof optionsOrCb === "function") {
1023
- this.send(command, optionsOrCb);
1024
- } else if (typeof cb === "function") {
1025
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1026
- this.send(command, optionsOrCb || {}, cb);
1027
- } else {
1028
- return this.send(command, optionsOrCb);
1029
- }
1030
- }
1031
-
1032
- /**
1033
- * <p>Returns information about provisioned Amazon DocumentDB clusters. This API
1034
- * operation supports pagination. For certain management features
1035
- * such as cluster and instance lifecycle management, Amazon DocumentDB leverages
1036
- * operational technology that is shared with Amazon RDS and Amazon
1037
- * Neptune. Use the <code>filterName=engine,Values=docdb</code> filter
1038
- * parameter to return only Amazon DocumentDB clusters.</p>
1039
- */
1040
- public describeDBClusters(
1041
- args: DescribeDBClustersCommandInput,
1042
- options?: __HttpHandlerOptions
1043
- ): Promise<DescribeDBClustersCommandOutput>;
1044
- public describeDBClusters(
1045
- args: DescribeDBClustersCommandInput,
1046
- cb: (err: any, data?: DescribeDBClustersCommandOutput) => void
1047
- ): void;
1048
- public describeDBClusters(
1049
- args: DescribeDBClustersCommandInput,
1050
- options: __HttpHandlerOptions,
1051
- cb: (err: any, data?: DescribeDBClustersCommandOutput) => void
1052
- ): void;
1053
- public describeDBClusters(
1054
- args: DescribeDBClustersCommandInput,
1055
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDBClustersCommandOutput) => void),
1056
- cb?: (err: any, data?: DescribeDBClustersCommandOutput) => void
1057
- ): Promise<DescribeDBClustersCommandOutput> | void {
1058
- const command = new DescribeDBClustersCommand(args);
1059
- if (typeof optionsOrCb === "function") {
1060
- this.send(command, optionsOrCb);
1061
- } else if (typeof cb === "function") {
1062
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1063
- this.send(command, optionsOrCb || {}, cb);
1064
- } else {
1065
- return this.send(command, optionsOrCb);
1066
- }
1067
- }
1068
-
1069
- /**
1070
- * <p>Returns a list of cluster snapshot attribute names and values for a manual DB
1071
- * cluster snapshot.</p>
1072
- * <p>When you share snapshots with other accounts,
1073
- * <code>DescribeDBClusterSnapshotAttributes</code> returns the <code>restore</code> attribute and a list of IDs for the accounts that are authorized to copy or restore the manual cluster snapshot. If <code>all</code> is included in the list of values for the <code>restore</code> attribute, then the manual cluster snapshot is public and can be copied or restored by all accounts.</p>
1074
- */
1075
- public describeDBClusterSnapshotAttributes(
1076
- args: DescribeDBClusterSnapshotAttributesCommandInput,
1077
- options?: __HttpHandlerOptions
1078
- ): Promise<DescribeDBClusterSnapshotAttributesCommandOutput>;
1079
- public describeDBClusterSnapshotAttributes(
1080
- args: DescribeDBClusterSnapshotAttributesCommandInput,
1081
- cb: (err: any, data?: DescribeDBClusterSnapshotAttributesCommandOutput) => void
1082
- ): void;
1083
- public describeDBClusterSnapshotAttributes(
1084
- args: DescribeDBClusterSnapshotAttributesCommandInput,
1085
- options: __HttpHandlerOptions,
1086
- cb: (err: any, data?: DescribeDBClusterSnapshotAttributesCommandOutput) => void
1087
- ): void;
1088
- public describeDBClusterSnapshotAttributes(
1089
- args: DescribeDBClusterSnapshotAttributesCommandInput,
1090
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDBClusterSnapshotAttributesCommandOutput) => void),
1091
- cb?: (err: any, data?: DescribeDBClusterSnapshotAttributesCommandOutput) => void
1092
- ): Promise<DescribeDBClusterSnapshotAttributesCommandOutput> | void {
1093
- const command = new DescribeDBClusterSnapshotAttributesCommand(args);
1094
- if (typeof optionsOrCb === "function") {
1095
- this.send(command, optionsOrCb);
1096
- } else if (typeof cb === "function") {
1097
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1098
- this.send(command, optionsOrCb || {}, cb);
1099
- } else {
1100
- return this.send(command, optionsOrCb);
1101
- }
1102
- }
1103
-
1104
- /**
1105
- * <p>Returns information about cluster snapshots. This API operation supports pagination.</p>
1106
- */
1107
- public describeDBClusterSnapshots(
1108
- args: DescribeDBClusterSnapshotsCommandInput,
1109
- options?: __HttpHandlerOptions
1110
- ): Promise<DescribeDBClusterSnapshotsCommandOutput>;
1111
- public describeDBClusterSnapshots(
1112
- args: DescribeDBClusterSnapshotsCommandInput,
1113
- cb: (err: any, data?: DescribeDBClusterSnapshotsCommandOutput) => void
1114
- ): void;
1115
- public describeDBClusterSnapshots(
1116
- args: DescribeDBClusterSnapshotsCommandInput,
1117
- options: __HttpHandlerOptions,
1118
- cb: (err: any, data?: DescribeDBClusterSnapshotsCommandOutput) => void
1119
- ): void;
1120
- public describeDBClusterSnapshots(
1121
- args: DescribeDBClusterSnapshotsCommandInput,
1122
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDBClusterSnapshotsCommandOutput) => void),
1123
- cb?: (err: any, data?: DescribeDBClusterSnapshotsCommandOutput) => void
1124
- ): Promise<DescribeDBClusterSnapshotsCommandOutput> | void {
1125
- const command = new DescribeDBClusterSnapshotsCommand(args);
1126
- if (typeof optionsOrCb === "function") {
1127
- this.send(command, optionsOrCb);
1128
- } else if (typeof cb === "function") {
1129
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1130
- this.send(command, optionsOrCb || {}, cb);
1131
- } else {
1132
- return this.send(command, optionsOrCb);
1133
- }
1134
- }
1135
-
1136
- /**
1137
- * <p>Returns a list of the available engines.</p>
1138
- */
1139
- public describeDBEngineVersions(
1140
- args: DescribeDBEngineVersionsCommandInput,
1141
- options?: __HttpHandlerOptions
1142
- ): Promise<DescribeDBEngineVersionsCommandOutput>;
1143
- public describeDBEngineVersions(
1144
- args: DescribeDBEngineVersionsCommandInput,
1145
- cb: (err: any, data?: DescribeDBEngineVersionsCommandOutput) => void
1146
- ): void;
1147
- public describeDBEngineVersions(
1148
- args: DescribeDBEngineVersionsCommandInput,
1149
- options: __HttpHandlerOptions,
1150
- cb: (err: any, data?: DescribeDBEngineVersionsCommandOutput) => void
1151
- ): void;
1152
- public describeDBEngineVersions(
1153
- args: DescribeDBEngineVersionsCommandInput,
1154
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDBEngineVersionsCommandOutput) => void),
1155
- cb?: (err: any, data?: DescribeDBEngineVersionsCommandOutput) => void
1156
- ): Promise<DescribeDBEngineVersionsCommandOutput> | void {
1157
- const command = new DescribeDBEngineVersionsCommand(args);
1158
- if (typeof optionsOrCb === "function") {
1159
- this.send(command, optionsOrCb);
1160
- } else if (typeof cb === "function") {
1161
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1162
- this.send(command, optionsOrCb || {}, cb);
1163
- } else {
1164
- return this.send(command, optionsOrCb);
1165
- }
1166
- }
1167
-
1168
- /**
1169
- * <p>Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.</p>
1170
- */
1171
- public describeDBInstances(
1172
- args: DescribeDBInstancesCommandInput,
1173
- options?: __HttpHandlerOptions
1174
- ): Promise<DescribeDBInstancesCommandOutput>;
1175
- public describeDBInstances(
1176
- args: DescribeDBInstancesCommandInput,
1177
- cb: (err: any, data?: DescribeDBInstancesCommandOutput) => void
1178
- ): void;
1179
- public describeDBInstances(
1180
- args: DescribeDBInstancesCommandInput,
1181
- options: __HttpHandlerOptions,
1182
- cb: (err: any, data?: DescribeDBInstancesCommandOutput) => void
1183
- ): void;
1184
- public describeDBInstances(
1185
- args: DescribeDBInstancesCommandInput,
1186
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDBInstancesCommandOutput) => void),
1187
- cb?: (err: any, data?: DescribeDBInstancesCommandOutput) => void
1188
- ): Promise<DescribeDBInstancesCommandOutput> | void {
1189
- const command = new DescribeDBInstancesCommand(args);
1190
- if (typeof optionsOrCb === "function") {
1191
- this.send(command, optionsOrCb);
1192
- } else if (typeof cb === "function") {
1193
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1194
- this.send(command, optionsOrCb || {}, cb);
1195
- } else {
1196
- return this.send(command, optionsOrCb);
1197
- }
1198
- }
1199
-
1200
- /**
1201
- * <p>Returns a list of <code>DBSubnetGroup</code> descriptions. If a
1202
- * <code>DBSubnetGroupName</code> is specified, the list will contain only the descriptions of the specified <code>DBSubnetGroup</code>.</p>
1203
- */
1204
- public describeDBSubnetGroups(
1205
- args: DescribeDBSubnetGroupsCommandInput,
1206
- options?: __HttpHandlerOptions
1207
- ): Promise<DescribeDBSubnetGroupsCommandOutput>;
1208
- public describeDBSubnetGroups(
1209
- args: DescribeDBSubnetGroupsCommandInput,
1210
- cb: (err: any, data?: DescribeDBSubnetGroupsCommandOutput) => void
1211
- ): void;
1212
- public describeDBSubnetGroups(
1213
- args: DescribeDBSubnetGroupsCommandInput,
1214
- options: __HttpHandlerOptions,
1215
- cb: (err: any, data?: DescribeDBSubnetGroupsCommandOutput) => void
1216
- ): void;
1217
- public describeDBSubnetGroups(
1218
- args: DescribeDBSubnetGroupsCommandInput,
1219
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDBSubnetGroupsCommandOutput) => void),
1220
- cb?: (err: any, data?: DescribeDBSubnetGroupsCommandOutput) => void
1221
- ): Promise<DescribeDBSubnetGroupsCommandOutput> | void {
1222
- const command = new DescribeDBSubnetGroupsCommand(args);
1223
- if (typeof optionsOrCb === "function") {
1224
- this.send(command, optionsOrCb);
1225
- } else if (typeof cb === "function") {
1226
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1227
- this.send(command, optionsOrCb || {}, cb);
1228
- } else {
1229
- return this.send(command, optionsOrCb);
1230
- }
1231
- }
1232
-
1233
- /**
1234
- * <p>Returns the default engine and system parameter information for the cluster database
1235
- * engine.</p>
1236
- */
1237
- public describeEngineDefaultClusterParameters(
1238
- args: DescribeEngineDefaultClusterParametersCommandInput,
1239
- options?: __HttpHandlerOptions
1240
- ): Promise<DescribeEngineDefaultClusterParametersCommandOutput>;
1241
- public describeEngineDefaultClusterParameters(
1242
- args: DescribeEngineDefaultClusterParametersCommandInput,
1243
- cb: (err: any, data?: DescribeEngineDefaultClusterParametersCommandOutput) => void
1244
- ): void;
1245
- public describeEngineDefaultClusterParameters(
1246
- args: DescribeEngineDefaultClusterParametersCommandInput,
1247
- options: __HttpHandlerOptions,
1248
- cb: (err: any, data?: DescribeEngineDefaultClusterParametersCommandOutput) => void
1249
- ): void;
1250
- public describeEngineDefaultClusterParameters(
1251
- args: DescribeEngineDefaultClusterParametersCommandInput,
1252
- optionsOrCb?:
1253
- | __HttpHandlerOptions
1254
- | ((err: any, data?: DescribeEngineDefaultClusterParametersCommandOutput) => void),
1255
- cb?: (err: any, data?: DescribeEngineDefaultClusterParametersCommandOutput) => void
1256
- ): Promise<DescribeEngineDefaultClusterParametersCommandOutput> | void {
1257
- const command = new DescribeEngineDefaultClusterParametersCommand(args);
1258
- if (typeof optionsOrCb === "function") {
1259
- this.send(command, optionsOrCb);
1260
- } else if (typeof cb === "function") {
1261
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1262
- this.send(command, optionsOrCb || {}, cb);
1263
- } else {
1264
- return this.send(command, optionsOrCb);
1265
- }
1266
- }
1267
-
1268
- /**
1269
- * <p>Displays a list of categories for all event source types, or, if specified, for a
1270
- * specified source type. </p>
1271
- */
1272
- public describeEventCategories(
1273
- args: DescribeEventCategoriesCommandInput,
1274
- options?: __HttpHandlerOptions
1275
- ): Promise<DescribeEventCategoriesCommandOutput>;
1276
- public describeEventCategories(
1277
- args: DescribeEventCategoriesCommandInput,
1278
- cb: (err: any, data?: DescribeEventCategoriesCommandOutput) => void
1279
- ): void;
1280
- public describeEventCategories(
1281
- args: DescribeEventCategoriesCommandInput,
1282
- options: __HttpHandlerOptions,
1283
- cb: (err: any, data?: DescribeEventCategoriesCommandOutput) => void
1284
- ): void;
1285
- public describeEventCategories(
1286
- args: DescribeEventCategoriesCommandInput,
1287
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEventCategoriesCommandOutput) => void),
1288
- cb?: (err: any, data?: DescribeEventCategoriesCommandOutput) => void
1289
- ): Promise<DescribeEventCategoriesCommandOutput> | void {
1290
- const command = new DescribeEventCategoriesCommand(args);
1291
- if (typeof optionsOrCb === "function") {
1292
- this.send(command, optionsOrCb);
1293
- } else if (typeof cb === "function") {
1294
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1295
- this.send(command, optionsOrCb || {}, cb);
1296
- } else {
1297
- return this.send(command, optionsOrCb);
1298
- }
1299
- }
1300
-
1301
- /**
1302
- * <p>Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned.</p>
1303
- */
1304
- public describeEvents(
1305
- args: DescribeEventsCommandInput,
1306
- options?: __HttpHandlerOptions
1307
- ): Promise<DescribeEventsCommandOutput>;
1308
- public describeEvents(
1309
- args: DescribeEventsCommandInput,
1310
- cb: (err: any, data?: DescribeEventsCommandOutput) => void
1311
- ): void;
1312
- public describeEvents(
1313
- args: DescribeEventsCommandInput,
1314
- options: __HttpHandlerOptions,
1315
- cb: (err: any, data?: DescribeEventsCommandOutput) => void
1316
- ): void;
1317
- public describeEvents(
1318
- args: DescribeEventsCommandInput,
1319
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEventsCommandOutput) => void),
1320
- cb?: (err: any, data?: DescribeEventsCommandOutput) => void
1321
- ): Promise<DescribeEventsCommandOutput> | void {
1322
- const command = new DescribeEventsCommand(args);
1323
- if (typeof optionsOrCb === "function") {
1324
- this.send(command, optionsOrCb);
1325
- } else if (typeof cb === "function") {
1326
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1327
- this.send(command, optionsOrCb || {}, cb);
1328
- } else {
1329
- return this.send(command, optionsOrCb);
1330
- }
1331
- }
1332
-
1333
- /**
1334
- * <p>Lists all the subscription descriptions for a customer account. The description for a subscription includes <code>SubscriptionName</code>, <code>SNSTopicARN</code>, <code>CustomerID</code>, <code>SourceType</code>, <code>SourceID</code>, <code>CreationTime</code>, and <code>Status</code>.</p>
1335
- * <p>If you specify a <code>SubscriptionName</code>, lists the description for that subscription.</p>
1336
- */
1337
- public describeEventSubscriptions(
1338
- args: DescribeEventSubscriptionsCommandInput,
1339
- options?: __HttpHandlerOptions
1340
- ): Promise<DescribeEventSubscriptionsCommandOutput>;
1341
- public describeEventSubscriptions(
1342
- args: DescribeEventSubscriptionsCommandInput,
1343
- cb: (err: any, data?: DescribeEventSubscriptionsCommandOutput) => void
1344
- ): void;
1345
- public describeEventSubscriptions(
1346
- args: DescribeEventSubscriptionsCommandInput,
1347
- options: __HttpHandlerOptions,
1348
- cb: (err: any, data?: DescribeEventSubscriptionsCommandOutput) => void
1349
- ): void;
1350
- public describeEventSubscriptions(
1351
- args: DescribeEventSubscriptionsCommandInput,
1352
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEventSubscriptionsCommandOutput) => void),
1353
- cb?: (err: any, data?: DescribeEventSubscriptionsCommandOutput) => void
1354
- ): Promise<DescribeEventSubscriptionsCommandOutput> | void {
1355
- const command = new DescribeEventSubscriptionsCommand(args);
1356
- if (typeof optionsOrCb === "function") {
1357
- this.send(command, optionsOrCb);
1358
- } else if (typeof cb === "function") {
1359
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1360
- this.send(command, optionsOrCb || {}, cb);
1361
- } else {
1362
- return this.send(command, optionsOrCb);
1363
- }
1364
- }
1365
-
1366
- /**
1367
- * <p>Returns information about Amazon DocumentDB global clusters. This API supports pagination.</p>
1368
- * <note>
1369
- * <p>This action only applies to Amazon DocumentDB clusters.</p>
1370
- * </note>
1371
- */
1372
- public describeGlobalClusters(
1373
- args: DescribeGlobalClustersCommandInput,
1374
- options?: __HttpHandlerOptions
1375
- ): Promise<DescribeGlobalClustersCommandOutput>;
1376
- public describeGlobalClusters(
1377
- args: DescribeGlobalClustersCommandInput,
1378
- cb: (err: any, data?: DescribeGlobalClustersCommandOutput) => void
1379
- ): void;
1380
- public describeGlobalClusters(
1381
- args: DescribeGlobalClustersCommandInput,
1382
- options: __HttpHandlerOptions,
1383
- cb: (err: any, data?: DescribeGlobalClustersCommandOutput) => void
1384
- ): void;
1385
- public describeGlobalClusters(
1386
- args: DescribeGlobalClustersCommandInput,
1387
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeGlobalClustersCommandOutput) => void),
1388
- cb?: (err: any, data?: DescribeGlobalClustersCommandOutput) => void
1389
- ): Promise<DescribeGlobalClustersCommandOutput> | void {
1390
- const command = new DescribeGlobalClustersCommand(args);
1391
- if (typeof optionsOrCb === "function") {
1392
- this.send(command, optionsOrCb);
1393
- } else if (typeof cb === "function") {
1394
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1395
- this.send(command, optionsOrCb || {}, cb);
1396
- } else {
1397
- return this.send(command, optionsOrCb);
1398
- }
1399
- }
1400
-
1401
- /**
1402
- * <p>Returns a list of orderable instance options for the specified engine.</p>
1403
- */
1404
- public describeOrderableDBInstanceOptions(
1405
- args: DescribeOrderableDBInstanceOptionsCommandInput,
1406
- options?: __HttpHandlerOptions
1407
- ): Promise<DescribeOrderableDBInstanceOptionsCommandOutput>;
1408
- public describeOrderableDBInstanceOptions(
1409
- args: DescribeOrderableDBInstanceOptionsCommandInput,
1410
- cb: (err: any, data?: DescribeOrderableDBInstanceOptionsCommandOutput) => void
1411
- ): void;
1412
- public describeOrderableDBInstanceOptions(
1413
- args: DescribeOrderableDBInstanceOptionsCommandInput,
1414
- options: __HttpHandlerOptions,
1415
- cb: (err: any, data?: DescribeOrderableDBInstanceOptionsCommandOutput) => void
1416
- ): void;
1417
- public describeOrderableDBInstanceOptions(
1418
- args: DescribeOrderableDBInstanceOptionsCommandInput,
1419
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeOrderableDBInstanceOptionsCommandOutput) => void),
1420
- cb?: (err: any, data?: DescribeOrderableDBInstanceOptionsCommandOutput) => void
1421
- ): Promise<DescribeOrderableDBInstanceOptionsCommandOutput> | void {
1422
- const command = new DescribeOrderableDBInstanceOptionsCommand(args);
1423
- if (typeof optionsOrCb === "function") {
1424
- this.send(command, optionsOrCb);
1425
- } else if (typeof cb === "function") {
1426
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1427
- this.send(command, optionsOrCb || {}, cb);
1428
- } else {
1429
- return this.send(command, optionsOrCb);
1430
- }
1431
- }
1432
-
1433
- /**
1434
- * <p>Returns a list of resources (for example, instances) that have at least one pending
1435
- * maintenance action.</p>
1436
- */
1437
- public describePendingMaintenanceActions(
1438
- args: DescribePendingMaintenanceActionsCommandInput,
1439
- options?: __HttpHandlerOptions
1440
- ): Promise<DescribePendingMaintenanceActionsCommandOutput>;
1441
- public describePendingMaintenanceActions(
1442
- args: DescribePendingMaintenanceActionsCommandInput,
1443
- cb: (err: any, data?: DescribePendingMaintenanceActionsCommandOutput) => void
1444
- ): void;
1445
- public describePendingMaintenanceActions(
1446
- args: DescribePendingMaintenanceActionsCommandInput,
1447
- options: __HttpHandlerOptions,
1448
- cb: (err: any, data?: DescribePendingMaintenanceActionsCommandOutput) => void
1449
- ): void;
1450
- public describePendingMaintenanceActions(
1451
- args: DescribePendingMaintenanceActionsCommandInput,
1452
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePendingMaintenanceActionsCommandOutput) => void),
1453
- cb?: (err: any, data?: DescribePendingMaintenanceActionsCommandOutput) => void
1454
- ): Promise<DescribePendingMaintenanceActionsCommandOutput> | void {
1455
- const command = new DescribePendingMaintenanceActionsCommand(args);
1456
- if (typeof optionsOrCb === "function") {
1457
- this.send(command, optionsOrCb);
1458
- } else if (typeof cb === "function") {
1459
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1460
- this.send(command, optionsOrCb || {}, cb);
1461
- } else {
1462
- return this.send(command, optionsOrCb);
1463
- }
1464
- }
1465
-
1466
- /**
1467
- * <p>Forces a failover for a cluster.</p>
1468
- * <p>A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to be the primary instance (the cluster writer).</p>
1469
- * <p>If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.</p>
1470
- */
1471
- public failoverDBCluster(
1472
- args: FailoverDBClusterCommandInput,
1473
- options?: __HttpHandlerOptions
1474
- ): Promise<FailoverDBClusterCommandOutput>;
1475
- public failoverDBCluster(
1476
- args: FailoverDBClusterCommandInput,
1477
- cb: (err: any, data?: FailoverDBClusterCommandOutput) => void
1478
- ): void;
1479
- public failoverDBCluster(
1480
- args: FailoverDBClusterCommandInput,
1481
- options: __HttpHandlerOptions,
1482
- cb: (err: any, data?: FailoverDBClusterCommandOutput) => void
1483
- ): void;
1484
- public failoverDBCluster(
1485
- args: FailoverDBClusterCommandInput,
1486
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: FailoverDBClusterCommandOutput) => void),
1487
- cb?: (err: any, data?: FailoverDBClusterCommandOutput) => void
1488
- ): Promise<FailoverDBClusterCommandOutput> | void {
1489
- const command = new FailoverDBClusterCommand(args);
1490
- if (typeof optionsOrCb === "function") {
1491
- this.send(command, optionsOrCb);
1492
- } else if (typeof cb === "function") {
1493
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1494
- this.send(command, optionsOrCb || {}, cb);
1495
- } else {
1496
- return this.send(command, optionsOrCb);
1497
- }
1498
- }
1499
-
1500
- /**
1501
- * <p>Lists all tags on an Amazon DocumentDB resource.</p>
1502
- */
1503
- public listTagsForResource(
1504
- args: ListTagsForResourceCommandInput,
1505
- options?: __HttpHandlerOptions
1506
- ): Promise<ListTagsForResourceCommandOutput>;
1507
- public listTagsForResource(
1508
- args: ListTagsForResourceCommandInput,
1509
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1510
- ): void;
1511
- public listTagsForResource(
1512
- args: ListTagsForResourceCommandInput,
1513
- options: __HttpHandlerOptions,
1514
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1515
- ): void;
1516
- public listTagsForResource(
1517
- args: ListTagsForResourceCommandInput,
1518
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1519
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1520
- ): Promise<ListTagsForResourceCommandOutput> | void {
1521
- const command = new ListTagsForResourceCommand(args);
1522
- if (typeof optionsOrCb === "function") {
1523
- this.send(command, optionsOrCb);
1524
- } else if (typeof cb === "function") {
1525
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1526
- this.send(command, optionsOrCb || {}, cb);
1527
- } else {
1528
- return this.send(command, optionsOrCb);
1529
- }
1530
- }
1531
-
1532
- /**
1533
- * <p>Modifies a setting for an Amazon DocumentDB cluster. You can change one or more database
1534
- * configuration parameters by specifying these parameters and the new values in the
1535
- * request. </p>
1536
- */
1537
- public modifyDBCluster(
1538
- args: ModifyDBClusterCommandInput,
1539
- options?: __HttpHandlerOptions
1540
- ): Promise<ModifyDBClusterCommandOutput>;
1541
- public modifyDBCluster(
1542
- args: ModifyDBClusterCommandInput,
1543
- cb: (err: any, data?: ModifyDBClusterCommandOutput) => void
1544
- ): void;
1545
- public modifyDBCluster(
1546
- args: ModifyDBClusterCommandInput,
1547
- options: __HttpHandlerOptions,
1548
- cb: (err: any, data?: ModifyDBClusterCommandOutput) => void
1549
- ): void;
1550
- public modifyDBCluster(
1551
- args: ModifyDBClusterCommandInput,
1552
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyDBClusterCommandOutput) => void),
1553
- cb?: (err: any, data?: ModifyDBClusterCommandOutput) => void
1554
- ): Promise<ModifyDBClusterCommandOutput> | void {
1555
- const command = new ModifyDBClusterCommand(args);
1556
- if (typeof optionsOrCb === "function") {
1557
- this.send(command, optionsOrCb);
1558
- } else if (typeof cb === "function") {
1559
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1560
- this.send(command, optionsOrCb || {}, cb);
1561
- } else {
1562
- return this.send(command, optionsOrCb);
1563
- }
1564
- }
1565
-
1566
- /**
1567
- * <p> Modifies the parameters of a cluster parameter group. To modify more than one
1568
- * parameter, submit a list of the following: <code>ParameterName</code>,
1569
- * <code>ParameterValue</code>, and <code>ApplyMethod</code>. A maximum of 20
1570
- * parameters can be modified in a single request. </p>
1571
- * <note>
1572
- * <p>Changes to dynamic parameters are applied immediately. Changes to static
1573
- * parameters require a reboot or maintenance window
1574
- *
1575
- * before the change can take effect.</p>
1576
- * </note>
1577
- * <important>
1578
- * <p>After you create a cluster parameter group, you should wait at least 5 minutes
1579
- * before creating your first cluster that uses that cluster parameter group as
1580
- * the default parameter group. This allows Amazon DocumentDB to fully complete the create action
1581
- * before the parameter group is used as the default for a new cluster. This step is
1582
- * especially important for parameters that are critical when creating the default
1583
- * database for a cluster, such as the character set for the default database
1584
- * defined by the <code>character_set_database</code> parameter.</p>
1585
- * </important>
1586
- */
1587
- public modifyDBClusterParameterGroup(
1588
- args: ModifyDBClusterParameterGroupCommandInput,
1589
- options?: __HttpHandlerOptions
1590
- ): Promise<ModifyDBClusterParameterGroupCommandOutput>;
1591
- public modifyDBClusterParameterGroup(
1592
- args: ModifyDBClusterParameterGroupCommandInput,
1593
- cb: (err: any, data?: ModifyDBClusterParameterGroupCommandOutput) => void
1594
- ): void;
1595
- public modifyDBClusterParameterGroup(
1596
- args: ModifyDBClusterParameterGroupCommandInput,
1597
- options: __HttpHandlerOptions,
1598
- cb: (err: any, data?: ModifyDBClusterParameterGroupCommandOutput) => void
1599
- ): void;
1600
- public modifyDBClusterParameterGroup(
1601
- args: ModifyDBClusterParameterGroupCommandInput,
1602
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyDBClusterParameterGroupCommandOutput) => void),
1603
- cb?: (err: any, data?: ModifyDBClusterParameterGroupCommandOutput) => void
1604
- ): Promise<ModifyDBClusterParameterGroupCommandOutput> | void {
1605
- const command = new ModifyDBClusterParameterGroupCommand(args);
1606
- if (typeof optionsOrCb === "function") {
1607
- this.send(command, optionsOrCb);
1608
- } else if (typeof cb === "function") {
1609
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1610
- this.send(command, optionsOrCb || {}, cb);
1611
- } else {
1612
- return this.send(command, optionsOrCb);
1613
- }
1614
- }
1615
-
1616
- /**
1617
- * <p>Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.</p>
1618
- * <p>To share a manual cluster snapshot with other accounts, specify <code>restore</code> as the <code>AttributeName</code>, and use the <code>ValuesToAdd</code> parameter to add a list of IDs of the accounts that are authorized to restore the manual cluster snapshot. Use the value <code>all</code> to make the manual cluster snapshot public, which means that it can be copied or restored by all accounts. Do not add the <code>all</code> value for any manual cluster snapshots that contain private information that you don't want available to all accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized account IDs for the <code>ValuesToAdd</code> parameter. You can't use <code>all</code> as a value for that parameter in this case.</p>
1619
- */
1620
- public modifyDBClusterSnapshotAttribute(
1621
- args: ModifyDBClusterSnapshotAttributeCommandInput,
1622
- options?: __HttpHandlerOptions
1623
- ): Promise<ModifyDBClusterSnapshotAttributeCommandOutput>;
1624
- public modifyDBClusterSnapshotAttribute(
1625
- args: ModifyDBClusterSnapshotAttributeCommandInput,
1626
- cb: (err: any, data?: ModifyDBClusterSnapshotAttributeCommandOutput) => void
1627
- ): void;
1628
- public modifyDBClusterSnapshotAttribute(
1629
- args: ModifyDBClusterSnapshotAttributeCommandInput,
1630
- options: __HttpHandlerOptions,
1631
- cb: (err: any, data?: ModifyDBClusterSnapshotAttributeCommandOutput) => void
1632
- ): void;
1633
- public modifyDBClusterSnapshotAttribute(
1634
- args: ModifyDBClusterSnapshotAttributeCommandInput,
1635
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyDBClusterSnapshotAttributeCommandOutput) => void),
1636
- cb?: (err: any, data?: ModifyDBClusterSnapshotAttributeCommandOutput) => void
1637
- ): Promise<ModifyDBClusterSnapshotAttributeCommandOutput> | void {
1638
- const command = new ModifyDBClusterSnapshotAttributeCommand(args);
1639
- if (typeof optionsOrCb === "function") {
1640
- this.send(command, optionsOrCb);
1641
- } else if (typeof cb === "function") {
1642
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1643
- this.send(command, optionsOrCb || {}, cb);
1644
- } else {
1645
- return this.send(command, optionsOrCb);
1646
- }
1647
- }
1648
-
1649
- /**
1650
- * <p>Modifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.</p>
1651
- */
1652
- public modifyDBInstance(
1653
- args: ModifyDBInstanceCommandInput,
1654
- options?: __HttpHandlerOptions
1655
- ): Promise<ModifyDBInstanceCommandOutput>;
1656
- public modifyDBInstance(
1657
- args: ModifyDBInstanceCommandInput,
1658
- cb: (err: any, data?: ModifyDBInstanceCommandOutput) => void
1659
- ): void;
1660
- public modifyDBInstance(
1661
- args: ModifyDBInstanceCommandInput,
1662
- options: __HttpHandlerOptions,
1663
- cb: (err: any, data?: ModifyDBInstanceCommandOutput) => void
1664
- ): void;
1665
- public modifyDBInstance(
1666
- args: ModifyDBInstanceCommandInput,
1667
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyDBInstanceCommandOutput) => void),
1668
- cb?: (err: any, data?: ModifyDBInstanceCommandOutput) => void
1669
- ): Promise<ModifyDBInstanceCommandOutput> | void {
1670
- const command = new ModifyDBInstanceCommand(args);
1671
- if (typeof optionsOrCb === "function") {
1672
- this.send(command, optionsOrCb);
1673
- } else if (typeof cb === "function") {
1674
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1675
- this.send(command, optionsOrCb || {}, cb);
1676
- } else {
1677
- return this.send(command, optionsOrCb);
1678
- }
1679
- }
1680
-
1681
- /**
1682
- * <p>Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Region.</p>
1683
- */
1684
- public modifyDBSubnetGroup(
1685
- args: ModifyDBSubnetGroupCommandInput,
1686
- options?: __HttpHandlerOptions
1687
- ): Promise<ModifyDBSubnetGroupCommandOutput>;
1688
- public modifyDBSubnetGroup(
1689
- args: ModifyDBSubnetGroupCommandInput,
1690
- cb: (err: any, data?: ModifyDBSubnetGroupCommandOutput) => void
1691
- ): void;
1692
- public modifyDBSubnetGroup(
1693
- args: ModifyDBSubnetGroupCommandInput,
1694
- options: __HttpHandlerOptions,
1695
- cb: (err: any, data?: ModifyDBSubnetGroupCommandOutput) => void
1696
- ): void;
1697
- public modifyDBSubnetGroup(
1698
- args: ModifyDBSubnetGroupCommandInput,
1699
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyDBSubnetGroupCommandOutput) => void),
1700
- cb?: (err: any, data?: ModifyDBSubnetGroupCommandOutput) => void
1701
- ): Promise<ModifyDBSubnetGroupCommandOutput> | void {
1702
- const command = new ModifyDBSubnetGroupCommand(args);
1703
- if (typeof optionsOrCb === "function") {
1704
- this.send(command, optionsOrCb);
1705
- } else if (typeof cb === "function") {
1706
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1707
- this.send(command, optionsOrCb || {}, cb);
1708
- } else {
1709
- return this.send(command, optionsOrCb);
1710
- }
1711
- }
1712
-
1713
- /**
1714
- * <p>Modifies an existing Amazon DocumentDB event notification subscription.</p>
1715
- */
1716
- public modifyEventSubscription(
1717
- args: ModifyEventSubscriptionCommandInput,
1718
- options?: __HttpHandlerOptions
1719
- ): Promise<ModifyEventSubscriptionCommandOutput>;
1720
- public modifyEventSubscription(
1721
- args: ModifyEventSubscriptionCommandInput,
1722
- cb: (err: any, data?: ModifyEventSubscriptionCommandOutput) => void
1723
- ): void;
1724
- public modifyEventSubscription(
1725
- args: ModifyEventSubscriptionCommandInput,
1726
- options: __HttpHandlerOptions,
1727
- cb: (err: any, data?: ModifyEventSubscriptionCommandOutput) => void
1728
- ): void;
1729
- public modifyEventSubscription(
1730
- args: ModifyEventSubscriptionCommandInput,
1731
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyEventSubscriptionCommandOutput) => void),
1732
- cb?: (err: any, data?: ModifyEventSubscriptionCommandOutput) => void
1733
- ): Promise<ModifyEventSubscriptionCommandOutput> | void {
1734
- const command = new ModifyEventSubscriptionCommand(args);
1735
- if (typeof optionsOrCb === "function") {
1736
- this.send(command, optionsOrCb);
1737
- } else if (typeof cb === "function") {
1738
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1739
- this.send(command, optionsOrCb || {}, cb);
1740
- } else {
1741
- return this.send(command, optionsOrCb);
1742
- }
1743
- }
1744
-
1745
- /**
1746
- * <p>Modify a setting for an Amazon DocumentDB global cluster. You can change one or more configuration parameters (for example: deletion protection), or the global cluster identifier by specifying these parameters and the new values in the request.</p>
1747
- * <note>
1748
- * <p>This action only applies to Amazon DocumentDB clusters.</p>
1749
- * </note>
1750
- */
1751
- public modifyGlobalCluster(
1752
- args: ModifyGlobalClusterCommandInput,
1753
- options?: __HttpHandlerOptions
1754
- ): Promise<ModifyGlobalClusterCommandOutput>;
1755
- public modifyGlobalCluster(
1756
- args: ModifyGlobalClusterCommandInput,
1757
- cb: (err: any, data?: ModifyGlobalClusterCommandOutput) => void
1758
- ): void;
1759
- public modifyGlobalCluster(
1760
- args: ModifyGlobalClusterCommandInput,
1761
- options: __HttpHandlerOptions,
1762
- cb: (err: any, data?: ModifyGlobalClusterCommandOutput) => void
1763
- ): void;
1764
- public modifyGlobalCluster(
1765
- args: ModifyGlobalClusterCommandInput,
1766
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyGlobalClusterCommandOutput) => void),
1767
- cb?: (err: any, data?: ModifyGlobalClusterCommandOutput) => void
1768
- ): Promise<ModifyGlobalClusterCommandOutput> | void {
1769
- const command = new ModifyGlobalClusterCommand(args);
1770
- if (typeof optionsOrCb === "function") {
1771
- this.send(command, optionsOrCb);
1772
- } else if (typeof cb === "function") {
1773
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1774
- this.send(command, optionsOrCb || {}, cb);
1775
- } else {
1776
- return this.send(command, optionsOrCb);
1777
- }
1778
- }
1779
-
1780
- /**
1781
- * <p>You might need to reboot your instance, usually for maintenance reasons. For
1782
- * example, if you make certain changes, or if you change the cluster parameter group
1783
- * that is associated with the instance, you must reboot the instance for the changes to
1784
- * take effect. </p>
1785
- * <p>Rebooting an instance restarts the database engine service. Rebooting an instance
1786
- * results in a momentary outage, during which the instance status is set to
1787
- * <i>rebooting</i>. </p>
1788
- */
1789
- public rebootDBInstance(
1790
- args: RebootDBInstanceCommandInput,
1791
- options?: __HttpHandlerOptions
1792
- ): Promise<RebootDBInstanceCommandOutput>;
1793
- public rebootDBInstance(
1794
- args: RebootDBInstanceCommandInput,
1795
- cb: (err: any, data?: RebootDBInstanceCommandOutput) => void
1796
- ): void;
1797
- public rebootDBInstance(
1798
- args: RebootDBInstanceCommandInput,
1799
- options: __HttpHandlerOptions,
1800
- cb: (err: any, data?: RebootDBInstanceCommandOutput) => void
1801
- ): void;
1802
- public rebootDBInstance(
1803
- args: RebootDBInstanceCommandInput,
1804
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RebootDBInstanceCommandOutput) => void),
1805
- cb?: (err: any, data?: RebootDBInstanceCommandOutput) => void
1806
- ): Promise<RebootDBInstanceCommandOutput> | void {
1807
- const command = new RebootDBInstanceCommand(args);
1808
- if (typeof optionsOrCb === "function") {
1809
- this.send(command, optionsOrCb);
1810
- } else if (typeof cb === "function") {
1811
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1812
- this.send(command, optionsOrCb || {}, cb);
1813
- } else {
1814
- return this.send(command, optionsOrCb);
1815
- }
1816
- }
1817
-
1818
- /**
1819
- * <p>Detaches an Amazon DocumentDB secondary cluster from a global cluster. The cluster becomes a standalone cluster with read-write capability instead of being read-only and receiving data from a primary in a different region. </p>
1820
- * <note>
1821
- * <p>This action only applies to Amazon DocumentDB clusters.</p>
1822
- * </note>
1823
- */
1824
- public removeFromGlobalCluster(
1825
- args: RemoveFromGlobalClusterCommandInput,
1826
- options?: __HttpHandlerOptions
1827
- ): Promise<RemoveFromGlobalClusterCommandOutput>;
1828
- public removeFromGlobalCluster(
1829
- args: RemoveFromGlobalClusterCommandInput,
1830
- cb: (err: any, data?: RemoveFromGlobalClusterCommandOutput) => void
1831
- ): void;
1832
- public removeFromGlobalCluster(
1833
- args: RemoveFromGlobalClusterCommandInput,
1834
- options: __HttpHandlerOptions,
1835
- cb: (err: any, data?: RemoveFromGlobalClusterCommandOutput) => void
1836
- ): void;
1837
- public removeFromGlobalCluster(
1838
- args: RemoveFromGlobalClusterCommandInput,
1839
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveFromGlobalClusterCommandOutput) => void),
1840
- cb?: (err: any, data?: RemoveFromGlobalClusterCommandOutput) => void
1841
- ): Promise<RemoveFromGlobalClusterCommandOutput> | void {
1842
- const command = new RemoveFromGlobalClusterCommand(args);
1843
- if (typeof optionsOrCb === "function") {
1844
- this.send(command, optionsOrCb);
1845
- } else if (typeof cb === "function") {
1846
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1847
- this.send(command, optionsOrCb || {}, cb);
1848
- } else {
1849
- return this.send(command, optionsOrCb);
1850
- }
1851
- }
1852
-
1853
- /**
1854
- * <p>Removes a source identifier from an existing Amazon DocumentDB event notification
1855
- * subscription.</p>
1856
- */
1857
- public removeSourceIdentifierFromSubscription(
1858
- args: RemoveSourceIdentifierFromSubscriptionCommandInput,
1859
- options?: __HttpHandlerOptions
1860
- ): Promise<RemoveSourceIdentifierFromSubscriptionCommandOutput>;
1861
- public removeSourceIdentifierFromSubscription(
1862
- args: RemoveSourceIdentifierFromSubscriptionCommandInput,
1863
- cb: (err: any, data?: RemoveSourceIdentifierFromSubscriptionCommandOutput) => void
1864
- ): void;
1865
- public removeSourceIdentifierFromSubscription(
1866
- args: RemoveSourceIdentifierFromSubscriptionCommandInput,
1867
- options: __HttpHandlerOptions,
1868
- cb: (err: any, data?: RemoveSourceIdentifierFromSubscriptionCommandOutput) => void
1869
- ): void;
1870
- public removeSourceIdentifierFromSubscription(
1871
- args: RemoveSourceIdentifierFromSubscriptionCommandInput,
1872
- optionsOrCb?:
1873
- | __HttpHandlerOptions
1874
- | ((err: any, data?: RemoveSourceIdentifierFromSubscriptionCommandOutput) => void),
1875
- cb?: (err: any, data?: RemoveSourceIdentifierFromSubscriptionCommandOutput) => void
1876
- ): Promise<RemoveSourceIdentifierFromSubscriptionCommandOutput> | void {
1877
- const command = new RemoveSourceIdentifierFromSubscriptionCommand(args);
1878
- if (typeof optionsOrCb === "function") {
1879
- this.send(command, optionsOrCb);
1880
- } else if (typeof cb === "function") {
1881
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1882
- this.send(command, optionsOrCb || {}, cb);
1883
- } else {
1884
- return this.send(command, optionsOrCb);
1885
- }
1886
- }
1887
-
1888
- /**
1889
- * <p>Removes metadata tags from an Amazon DocumentDB resource.</p>
1890
- */
1891
- public removeTagsFromResource(
1892
- args: RemoveTagsFromResourceCommandInput,
1893
- options?: __HttpHandlerOptions
1894
- ): Promise<RemoveTagsFromResourceCommandOutput>;
1895
- public removeTagsFromResource(
1896
- args: RemoveTagsFromResourceCommandInput,
1897
- cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
1898
- ): void;
1899
- public removeTagsFromResource(
1900
- args: RemoveTagsFromResourceCommandInput,
1901
- options: __HttpHandlerOptions,
1902
- cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
1903
- ): void;
1904
- public removeTagsFromResource(
1905
- args: RemoveTagsFromResourceCommandInput,
1906
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveTagsFromResourceCommandOutput) => void),
1907
- cb?: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
1908
- ): Promise<RemoveTagsFromResourceCommandOutput> | void {
1909
- const command = new RemoveTagsFromResourceCommand(args);
1910
- if (typeof optionsOrCb === "function") {
1911
- this.send(command, optionsOrCb);
1912
- } else if (typeof cb === "function") {
1913
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1914
- this.send(command, optionsOrCb || {}, cb);
1915
- } else {
1916
- return this.send(command, optionsOrCb);
1917
- }
1918
- }
1919
-
1920
- /**
1921
- * <p> Modifies the parameters of a cluster parameter group to the default value. To
1922
- * reset specific parameters, submit a list of the following: <code>ParameterName</code>
1923
- * and <code>ApplyMethod</code>. To reset the entire cluster parameter group, specify
1924
- * the <code>DBClusterParameterGroupName</code> and <code>ResetAllParameters</code>
1925
- * parameters. </p>
1926
- * <p> When you reset the entire group, dynamic parameters are updated immediately and
1927
- * static parameters are set to <code>pending-reboot</code> to take effect on the next DB
1928
- * instance reboot.</p>
1929
- */
1930
- public resetDBClusterParameterGroup(
1931
- args: ResetDBClusterParameterGroupCommandInput,
1932
- options?: __HttpHandlerOptions
1933
- ): Promise<ResetDBClusterParameterGroupCommandOutput>;
1934
- public resetDBClusterParameterGroup(
1935
- args: ResetDBClusterParameterGroupCommandInput,
1936
- cb: (err: any, data?: ResetDBClusterParameterGroupCommandOutput) => void
1937
- ): void;
1938
- public resetDBClusterParameterGroup(
1939
- args: ResetDBClusterParameterGroupCommandInput,
1940
- options: __HttpHandlerOptions,
1941
- cb: (err: any, data?: ResetDBClusterParameterGroupCommandOutput) => void
1942
- ): void;
1943
- public resetDBClusterParameterGroup(
1944
- args: ResetDBClusterParameterGroupCommandInput,
1945
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResetDBClusterParameterGroupCommandOutput) => void),
1946
- cb?: (err: any, data?: ResetDBClusterParameterGroupCommandOutput) => void
1947
- ): Promise<ResetDBClusterParameterGroupCommandOutput> | void {
1948
- const command = new ResetDBClusterParameterGroupCommand(args);
1949
- if (typeof optionsOrCb === "function") {
1950
- this.send(command, optionsOrCb);
1951
- } else if (typeof cb === "function") {
1952
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1953
- this.send(command, optionsOrCb || {}, cb);
1954
- } else {
1955
- return this.send(command, optionsOrCb);
1956
- }
1957
- }
1958
-
1959
- /**
1960
- * <p>Creates a new cluster from a snapshot or cluster snapshot.</p>
1961
- * <p>If a snapshot is specified, the target cluster is created from the source DB snapshot with a default configuration and default security group.</p>
1962
- * <p>If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the same configuration as the original source DB cluster, except that the new cluster is created with the default security group.</p>
1963
- */
1964
- public restoreDBClusterFromSnapshot(
1965
- args: RestoreDBClusterFromSnapshotCommandInput,
1966
- options?: __HttpHandlerOptions
1967
- ): Promise<RestoreDBClusterFromSnapshotCommandOutput>;
1968
- public restoreDBClusterFromSnapshot(
1969
- args: RestoreDBClusterFromSnapshotCommandInput,
1970
- cb: (err: any, data?: RestoreDBClusterFromSnapshotCommandOutput) => void
1971
- ): void;
1972
- public restoreDBClusterFromSnapshot(
1973
- args: RestoreDBClusterFromSnapshotCommandInput,
1974
- options: __HttpHandlerOptions,
1975
- cb: (err: any, data?: RestoreDBClusterFromSnapshotCommandOutput) => void
1976
- ): void;
1977
- public restoreDBClusterFromSnapshot(
1978
- args: RestoreDBClusterFromSnapshotCommandInput,
1979
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RestoreDBClusterFromSnapshotCommandOutput) => void),
1980
- cb?: (err: any, data?: RestoreDBClusterFromSnapshotCommandOutput) => void
1981
- ): Promise<RestoreDBClusterFromSnapshotCommandOutput> | void {
1982
- const command = new RestoreDBClusterFromSnapshotCommand(args);
1983
- if (typeof optionsOrCb === "function") {
1984
- this.send(command, optionsOrCb);
1985
- } else if (typeof cb === "function") {
1986
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1987
- this.send(command, optionsOrCb || {}, cb);
1988
- } else {
1989
- return this.send(command, optionsOrCb);
1990
- }
1991
- }
1992
-
1993
- /**
1994
- * <p>Restores a cluster to an arbitrary point in time. Users can restore to any point in
1995
- * time before <code>LatestRestorableTime</code> for up to
1996
- * <code>BackupRetentionPeriod</code> days. The target cluster is created from the
1997
- * source cluster with the same configuration as the original cluster, except that
1998
- * the new cluster is created with the default security group. </p>
1999
- */
2000
- public restoreDBClusterToPointInTime(
2001
- args: RestoreDBClusterToPointInTimeCommandInput,
2002
- options?: __HttpHandlerOptions
2003
- ): Promise<RestoreDBClusterToPointInTimeCommandOutput>;
2004
- public restoreDBClusterToPointInTime(
2005
- args: RestoreDBClusterToPointInTimeCommandInput,
2006
- cb: (err: any, data?: RestoreDBClusterToPointInTimeCommandOutput) => void
2007
- ): void;
2008
- public restoreDBClusterToPointInTime(
2009
- args: RestoreDBClusterToPointInTimeCommandInput,
2010
- options: __HttpHandlerOptions,
2011
- cb: (err: any, data?: RestoreDBClusterToPointInTimeCommandOutput) => void
2012
- ): void;
2013
- public restoreDBClusterToPointInTime(
2014
- args: RestoreDBClusterToPointInTimeCommandInput,
2015
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RestoreDBClusterToPointInTimeCommandOutput) => void),
2016
- cb?: (err: any, data?: RestoreDBClusterToPointInTimeCommandOutput) => void
2017
- ): Promise<RestoreDBClusterToPointInTimeCommandOutput> | void {
2018
- const command = new RestoreDBClusterToPointInTimeCommand(args);
2019
- if (typeof optionsOrCb === "function") {
2020
- this.send(command, optionsOrCb);
2021
- } else if (typeof cb === "function") {
2022
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2023
- this.send(command, optionsOrCb || {}, cb);
2024
- } else {
2025
- return this.send(command, optionsOrCb);
2026
- }
2027
- }
2028
-
2029
- /**
2030
- * <p>Restarts the stopped cluster that is specified by <code>DBClusterIdentifier</code>.
2031
- * For more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-stop-start.html">Stopping and
2032
- * Starting an Amazon DocumentDB Cluster</a>.</p>
2033
- */
2034
- public startDBCluster(
2035
- args: StartDBClusterCommandInput,
2036
- options?: __HttpHandlerOptions
2037
- ): Promise<StartDBClusterCommandOutput>;
2038
- public startDBCluster(
2039
- args: StartDBClusterCommandInput,
2040
- cb: (err: any, data?: StartDBClusterCommandOutput) => void
2041
- ): void;
2042
- public startDBCluster(
2043
- args: StartDBClusterCommandInput,
2044
- options: __HttpHandlerOptions,
2045
- cb: (err: any, data?: StartDBClusterCommandOutput) => void
2046
- ): void;
2047
- public startDBCluster(
2048
- args: StartDBClusterCommandInput,
2049
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartDBClusterCommandOutput) => void),
2050
- cb?: (err: any, data?: StartDBClusterCommandOutput) => void
2051
- ): Promise<StartDBClusterCommandOutput> | void {
2052
- const command = new StartDBClusterCommand(args);
2053
- if (typeof optionsOrCb === "function") {
2054
- this.send(command, optionsOrCb);
2055
- } else if (typeof cb === "function") {
2056
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2057
- this.send(command, optionsOrCb || {}, cb);
2058
- } else {
2059
- return this.send(command, optionsOrCb);
2060
- }
2061
- }
2062
-
2063
- /**
2064
- * <p>Stops the running cluster that is specified by <code>DBClusterIdentifier</code>. The
2065
- * cluster must be in the <i>available</i> state. For more information, see
2066
- * <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-stop-start.html">Stopping and
2067
- * Starting an Amazon DocumentDB Cluster</a>.</p>
2068
- */
2069
- public stopDBCluster(
2070
- args: StopDBClusterCommandInput,
2071
- options?: __HttpHandlerOptions
2072
- ): Promise<StopDBClusterCommandOutput>;
2073
- public stopDBCluster(
2074
- args: StopDBClusterCommandInput,
2075
- cb: (err: any, data?: StopDBClusterCommandOutput) => void
2076
- ): void;
2077
- public stopDBCluster(
2078
- args: StopDBClusterCommandInput,
2079
- options: __HttpHandlerOptions,
2080
- cb: (err: any, data?: StopDBClusterCommandOutput) => void
2081
- ): void;
2082
- public stopDBCluster(
2083
- args: StopDBClusterCommandInput,
2084
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopDBClusterCommandOutput) => void),
2085
- cb?: (err: any, data?: StopDBClusterCommandOutput) => void
2086
- ): Promise<StopDBClusterCommandOutput> | void {
2087
- const command = new StopDBClusterCommand(args);
2088
- if (typeof optionsOrCb === "function") {
2089
- this.send(command, optionsOrCb);
2090
- } else if (typeof cb === "function") {
2091
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2092
- this.send(command, optionsOrCb || {}, cb);
2093
- } else {
2094
- return this.send(command, optionsOrCb);
2095
- }
2096
- }
2097
- }