@aws-sdk/client-mgn 3.362.0 → 3.366.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 (344) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/Mgn.js +9 -1
  3. package/dist-cjs/MgnClient.js +5 -5
  4. package/dist-cjs/commands/ArchiveApplicationCommand.js +3 -3
  5. package/dist-cjs/commands/ArchiveWaveCommand.js +3 -3
  6. package/dist-cjs/commands/AssociateApplicationsCommand.js +3 -3
  7. package/dist-cjs/commands/AssociateSourceServersCommand.js +3 -3
  8. package/dist-cjs/commands/ChangeServerLifeCycleStateCommand.js +3 -3
  9. package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
  10. package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +3 -3
  11. package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
  12. package/dist-cjs/commands/CreateWaveCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteJobCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteSourceServerCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteVcenterClientCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteWaveCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeJobLogItemsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeJobsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeSourceServersCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeVcenterClientsCommand.js +3 -3
  26. package/dist-cjs/commands/DisassociateApplicationsCommand.js +3 -3
  27. package/dist-cjs/commands/DisassociateSourceServersCommand.js +3 -3
  28. package/dist-cjs/commands/DisconnectFromServiceCommand.js +3 -3
  29. package/dist-cjs/commands/FinalizeCutoverCommand.js +3 -3
  30. package/dist-cjs/commands/GetLaunchConfigurationCommand.js +3 -3
  31. package/dist-cjs/commands/GetReplicationConfigurationCommand.js +3 -3
  32. package/dist-cjs/commands/InitializeServiceCommand.js +3 -3
  33. package/dist-cjs/commands/ListApplicationsCommand.js +3 -3
  34. package/dist-cjs/commands/ListExportErrorsCommand.js +3 -3
  35. package/dist-cjs/commands/ListExportsCommand.js +3 -3
  36. package/dist-cjs/commands/ListImportErrorsCommand.js +3 -3
  37. package/dist-cjs/commands/ListImportsCommand.js +3 -3
  38. package/dist-cjs/commands/ListManagedAccountsCommand.js +46 -0
  39. package/dist-cjs/commands/ListSourceServerActionsCommand.js +3 -3
  40. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  41. package/dist-cjs/commands/ListTemplateActionsCommand.js +3 -3
  42. package/dist-cjs/commands/ListWavesCommand.js +3 -3
  43. package/dist-cjs/commands/MarkAsArchivedCommand.js +3 -3
  44. package/dist-cjs/commands/PauseReplicationCommand.js +47 -0
  45. package/dist-cjs/commands/PutSourceServerActionCommand.js +3 -3
  46. package/dist-cjs/commands/PutTemplateActionCommand.js +3 -3
  47. package/dist-cjs/commands/RemoveSourceServerActionCommand.js +3 -3
  48. package/dist-cjs/commands/RemoveTemplateActionCommand.js +3 -3
  49. package/dist-cjs/commands/ResumeReplicationCommand.js +47 -0
  50. package/dist-cjs/commands/RetryDataReplicationCommand.js +3 -3
  51. package/dist-cjs/commands/StartCutoverCommand.js +3 -3
  52. package/dist-cjs/commands/StartExportCommand.js +3 -3
  53. package/dist-cjs/commands/StartImportCommand.js +3 -3
  54. package/dist-cjs/commands/StartReplicationCommand.js +3 -3
  55. package/dist-cjs/commands/StartTestCommand.js +3 -3
  56. package/dist-cjs/commands/StopReplicationCommand.js +47 -0
  57. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  58. package/dist-cjs/commands/TerminateTargetInstancesCommand.js +3 -3
  59. package/dist-cjs/commands/UnarchiveApplicationCommand.js +3 -3
  60. package/dist-cjs/commands/UnarchiveWaveCommand.js +3 -3
  61. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  62. package/dist-cjs/commands/UpdateApplicationCommand.js +3 -3
  63. package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +3 -3
  64. package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +3 -3
  65. package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +3 -3
  66. package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
  67. package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +3 -3
  68. package/dist-cjs/commands/UpdateWaveCommand.js +3 -3
  69. package/dist-cjs/commands/index.js +4 -0
  70. package/dist-cjs/models/MgnServiceException.js +1 -1
  71. package/dist-cjs/models/models_0.js +1 -1
  72. package/dist-cjs/pagination/ListManagedAccountsPaginator.js +29 -0
  73. package/dist-cjs/pagination/index.js +1 -0
  74. package/dist-cjs/protocols/Aws_restJson1.js +349 -4
  75. package/dist-cjs/runtimeConfig.browser.js +7 -7
  76. package/dist-cjs/runtimeConfig.js +10 -10
  77. package/dist-cjs/runtimeConfig.shared.js +4 -4
  78. package/dist-es/Mgn.js +9 -1
  79. package/dist-es/MgnClient.js +5 -5
  80. package/dist-es/commands/ArchiveApplicationCommand.js +3 -3
  81. package/dist-es/commands/ArchiveWaveCommand.js +3 -3
  82. package/dist-es/commands/AssociateApplicationsCommand.js +3 -3
  83. package/dist-es/commands/AssociateSourceServersCommand.js +3 -3
  84. package/dist-es/commands/ChangeServerLifeCycleStateCommand.js +3 -3
  85. package/dist-es/commands/CreateApplicationCommand.js +3 -3
  86. package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +3 -3
  87. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
  88. package/dist-es/commands/CreateWaveCommand.js +3 -3
  89. package/dist-es/commands/DeleteApplicationCommand.js +3 -3
  90. package/dist-es/commands/DeleteJobCommand.js +3 -3
  91. package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +3 -3
  92. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -3
  93. package/dist-es/commands/DeleteSourceServerCommand.js +3 -3
  94. package/dist-es/commands/DeleteVcenterClientCommand.js +3 -3
  95. package/dist-es/commands/DeleteWaveCommand.js +3 -3
  96. package/dist-es/commands/DescribeJobLogItemsCommand.js +3 -3
  97. package/dist-es/commands/DescribeJobsCommand.js +3 -3
  98. package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +3 -3
  99. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
  100. package/dist-es/commands/DescribeSourceServersCommand.js +3 -3
  101. package/dist-es/commands/DescribeVcenterClientsCommand.js +3 -3
  102. package/dist-es/commands/DisassociateApplicationsCommand.js +3 -3
  103. package/dist-es/commands/DisassociateSourceServersCommand.js +3 -3
  104. package/dist-es/commands/DisconnectFromServiceCommand.js +3 -3
  105. package/dist-es/commands/FinalizeCutoverCommand.js +3 -3
  106. package/dist-es/commands/GetLaunchConfigurationCommand.js +3 -3
  107. package/dist-es/commands/GetReplicationConfigurationCommand.js +3 -3
  108. package/dist-es/commands/InitializeServiceCommand.js +3 -3
  109. package/dist-es/commands/ListApplicationsCommand.js +3 -3
  110. package/dist-es/commands/ListExportErrorsCommand.js +3 -3
  111. package/dist-es/commands/ListExportsCommand.js +3 -3
  112. package/dist-es/commands/ListImportErrorsCommand.js +3 -3
  113. package/dist-es/commands/ListImportsCommand.js +3 -3
  114. package/dist-es/commands/ListManagedAccountsCommand.js +42 -0
  115. package/dist-es/commands/ListSourceServerActionsCommand.js +3 -3
  116. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  117. package/dist-es/commands/ListTemplateActionsCommand.js +3 -3
  118. package/dist-es/commands/ListWavesCommand.js +3 -3
  119. package/dist-es/commands/MarkAsArchivedCommand.js +3 -3
  120. package/dist-es/commands/PauseReplicationCommand.js +43 -0
  121. package/dist-es/commands/PutSourceServerActionCommand.js +3 -3
  122. package/dist-es/commands/PutTemplateActionCommand.js +3 -3
  123. package/dist-es/commands/RemoveSourceServerActionCommand.js +3 -3
  124. package/dist-es/commands/RemoveTemplateActionCommand.js +3 -3
  125. package/dist-es/commands/ResumeReplicationCommand.js +43 -0
  126. package/dist-es/commands/RetryDataReplicationCommand.js +3 -3
  127. package/dist-es/commands/StartCutoverCommand.js +3 -3
  128. package/dist-es/commands/StartExportCommand.js +3 -3
  129. package/dist-es/commands/StartImportCommand.js +3 -3
  130. package/dist-es/commands/StartReplicationCommand.js +3 -3
  131. package/dist-es/commands/StartTestCommand.js +3 -3
  132. package/dist-es/commands/StopReplicationCommand.js +43 -0
  133. package/dist-es/commands/TagResourceCommand.js +3 -3
  134. package/dist-es/commands/TerminateTargetInstancesCommand.js +3 -3
  135. package/dist-es/commands/UnarchiveApplicationCommand.js +3 -3
  136. package/dist-es/commands/UnarchiveWaveCommand.js +3 -3
  137. package/dist-es/commands/UntagResourceCommand.js +3 -3
  138. package/dist-es/commands/UpdateApplicationCommand.js +3 -3
  139. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +3 -3
  140. package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +3 -3
  141. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +3 -3
  142. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
  143. package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +3 -3
  144. package/dist-es/commands/UpdateWaveCommand.js +3 -3
  145. package/dist-es/commands/index.js +4 -0
  146. package/dist-es/models/MgnServiceException.js +1 -1
  147. package/dist-es/models/models_0.js +1 -1
  148. package/dist-es/pagination/ListManagedAccountsPaginator.js +25 -0
  149. package/dist-es/pagination/index.js +1 -0
  150. package/dist-es/protocols/Aws_restJson1.js +338 -1
  151. package/dist-es/runtimeConfig.browser.js +7 -7
  152. package/dist-es/runtimeConfig.js +10 -10
  153. package/dist-es/runtimeConfig.shared.js +4 -4
  154. package/dist-types/Mgn.d.ts +29 -1
  155. package/dist-types/MgnClient.d.ts +14 -10
  156. package/dist-types/commands/ArchiveApplicationCommand.d.ts +4 -3
  157. package/dist-types/commands/ArchiveWaveCommand.d.ts +4 -3
  158. package/dist-types/commands/AssociateApplicationsCommand.d.ts +4 -3
  159. package/dist-types/commands/AssociateSourceServersCommand.d.ts +4 -3
  160. package/dist-types/commands/ChangeServerLifeCycleStateCommand.d.ts +4 -3
  161. package/dist-types/commands/CreateApplicationCommand.d.ts +4 -3
  162. package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +3 -3
  163. package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +5 -3
  164. package/dist-types/commands/CreateWaveCommand.d.ts +4 -3
  165. package/dist-types/commands/DeleteApplicationCommand.d.ts +4 -3
  166. package/dist-types/commands/DeleteJobCommand.d.ts +4 -3
  167. package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +3 -3
  168. package/dist-types/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +3 -3
  169. package/dist-types/commands/DeleteSourceServerCommand.d.ts +4 -3
  170. package/dist-types/commands/DeleteVcenterClientCommand.d.ts +3 -3
  171. package/dist-types/commands/DeleteWaveCommand.d.ts +4 -3
  172. package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +4 -3
  173. package/dist-types/commands/DescribeJobsCommand.d.ts +4 -3
  174. package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +3 -3
  175. package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +4 -3
  176. package/dist-types/commands/DescribeSourceServersCommand.d.ts +4 -3
  177. package/dist-types/commands/DescribeVcenterClientsCommand.d.ts +3 -3
  178. package/dist-types/commands/DisassociateApplicationsCommand.d.ts +4 -3
  179. package/dist-types/commands/DisassociateSourceServersCommand.d.ts +4 -3
  180. package/dist-types/commands/DisconnectFromServiceCommand.d.ts +4 -3
  181. package/dist-types/commands/FinalizeCutoverCommand.d.ts +4 -3
  182. package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +4 -3
  183. package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +5 -3
  184. package/dist-types/commands/InitializeServiceCommand.d.ts +3 -3
  185. package/dist-types/commands/ListApplicationsCommand.d.ts +4 -3
  186. package/dist-types/commands/ListExportErrorsCommand.d.ts +3 -3
  187. package/dist-types/commands/ListExportsCommand.d.ts +3 -3
  188. package/dist-types/commands/ListImportErrorsCommand.d.ts +4 -3
  189. package/dist-types/commands/ListImportsCommand.d.ts +3 -3
  190. package/dist-types/commands/ListManagedAccountsCommand.d.ts +85 -0
  191. package/dist-types/commands/ListSourceServerActionsCommand.d.ts +4 -3
  192. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  193. package/dist-types/commands/ListTemplateActionsCommand.d.ts +3 -3
  194. package/dist-types/commands/ListWavesCommand.d.ts +4 -3
  195. package/dist-types/commands/MarkAsArchivedCommand.d.ts +4 -3
  196. package/dist-types/commands/PauseReplicationCommand.d.ts +200 -0
  197. package/dist-types/commands/PutSourceServerActionCommand.d.ts +4 -3
  198. package/dist-types/commands/PutTemplateActionCommand.d.ts +3 -3
  199. package/dist-types/commands/RemoveSourceServerActionCommand.d.ts +4 -3
  200. package/dist-types/commands/RemoveTemplateActionCommand.d.ts +3 -3
  201. package/dist-types/commands/ResumeReplicationCommand.d.ts +200 -0
  202. package/dist-types/commands/RetryDataReplicationCommand.d.ts +4 -3
  203. package/dist-types/commands/StartCutoverCommand.d.ts +4 -3
  204. package/dist-types/commands/StartExportCommand.d.ts +3 -3
  205. package/dist-types/commands/StartImportCommand.d.ts +3 -3
  206. package/dist-types/commands/StartReplicationCommand.d.ts +4 -3
  207. package/dist-types/commands/StartTestCommand.d.ts +4 -3
  208. package/dist-types/commands/StopReplicationCommand.d.ts +200 -0
  209. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  210. package/dist-types/commands/TerminateTargetInstancesCommand.d.ts +4 -3
  211. package/dist-types/commands/UnarchiveApplicationCommand.d.ts +4 -3
  212. package/dist-types/commands/UnarchiveWaveCommand.d.ts +4 -3
  213. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  214. package/dist-types/commands/UpdateApplicationCommand.d.ts +4 -3
  215. package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +4 -3
  216. package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +3 -3
  217. package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +6 -3
  218. package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +5 -3
  219. package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +4 -3
  220. package/dist-types/commands/UpdateWaveCommand.d.ts +4 -3
  221. package/dist-types/commands/index.d.ts +4 -0
  222. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  223. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  224. package/dist-types/endpoint/ruleset.d.ts +1 -1
  225. package/dist-types/models/MgnServiceException.d.ts +1 -1
  226. package/dist-types/models/models_0.d.ts +254 -1
  227. package/dist-types/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
  228. package/dist-types/pagination/DescribeJobsPaginator.d.ts +1 -1
  229. package/dist-types/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +1 -1
  230. package/dist-types/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
  231. package/dist-types/pagination/DescribeSourceServersPaginator.d.ts +1 -1
  232. package/dist-types/pagination/DescribeVcenterClientsPaginator.d.ts +1 -1
  233. package/dist-types/pagination/Interfaces.d.ts +1 -1
  234. package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  235. package/dist-types/pagination/ListExportErrorsPaginator.d.ts +1 -1
  236. package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  237. package/dist-types/pagination/ListImportErrorsPaginator.d.ts +1 -1
  238. package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  239. package/dist-types/pagination/ListManagedAccountsPaginator.d.ts +7 -0
  240. package/dist-types/pagination/ListSourceServerActionsPaginator.d.ts +1 -1
  241. package/dist-types/pagination/ListTemplateActionsPaginator.d.ts +1 -1
  242. package/dist-types/pagination/ListWavesPaginator.d.ts +1 -1
  243. package/dist-types/pagination/index.d.ts +1 -0
  244. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  245. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  246. package/dist-types/runtimeConfig.d.ts +20 -20
  247. package/dist-types/runtimeConfig.native.d.ts +19 -19
  248. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  249. package/dist-types/ts3.4/Mgn.d.ts +69 -1
  250. package/dist-types/ts3.4/MgnClient.d.ts +43 -21
  251. package/dist-types/ts3.4/commands/ArchiveApplicationCommand.d.ts +3 -3
  252. package/dist-types/ts3.4/commands/ArchiveWaveCommand.d.ts +3 -3
  253. package/dist-types/ts3.4/commands/AssociateApplicationsCommand.d.ts +3 -3
  254. package/dist-types/ts3.4/commands/AssociateSourceServersCommand.d.ts +3 -3
  255. package/dist-types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +3 -3
  256. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +3 -3
  257. package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +3 -3
  258. package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +3 -3
  259. package/dist-types/ts3.4/commands/CreateWaveCommand.d.ts +3 -3
  260. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +3 -3
  261. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +3 -3
  262. package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +3 -3
  263. package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +3 -3
  264. package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +3 -3
  265. package/dist-types/ts3.4/commands/DeleteVcenterClientCommand.d.ts +3 -3
  266. package/dist-types/ts3.4/commands/DeleteWaveCommand.d.ts +3 -3
  267. package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +3 -3
  268. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +3 -3
  269. package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +3 -3
  270. package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +3 -3
  271. package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +3 -3
  272. package/dist-types/ts3.4/commands/DescribeVcenterClientsCommand.d.ts +3 -3
  273. package/dist-types/ts3.4/commands/DisassociateApplicationsCommand.d.ts +3 -3
  274. package/dist-types/ts3.4/commands/DisassociateSourceServersCommand.d.ts +3 -3
  275. package/dist-types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +3 -3
  276. package/dist-types/ts3.4/commands/FinalizeCutoverCommand.d.ts +3 -3
  277. package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +3 -3
  278. package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +3 -3
  279. package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +3 -3
  280. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +3 -3
  281. package/dist-types/ts3.4/commands/ListExportErrorsCommand.d.ts +3 -3
  282. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +3 -3
  283. package/dist-types/ts3.4/commands/ListImportErrorsCommand.d.ts +3 -3
  284. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +3 -3
  285. package/dist-types/ts3.4/commands/ListManagedAccountsCommand.d.ts +39 -0
  286. package/dist-types/ts3.4/commands/ListSourceServerActionsCommand.d.ts +3 -3
  287. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  288. package/dist-types/ts3.4/commands/ListTemplateActionsCommand.d.ts +3 -3
  289. package/dist-types/ts3.4/commands/ListWavesCommand.d.ts +3 -3
  290. package/dist-types/ts3.4/commands/MarkAsArchivedCommand.d.ts +3 -3
  291. package/dist-types/ts3.4/commands/PauseReplicationCommand.d.ts +35 -0
  292. package/dist-types/ts3.4/commands/PutSourceServerActionCommand.d.ts +3 -3
  293. package/dist-types/ts3.4/commands/PutTemplateActionCommand.d.ts +3 -3
  294. package/dist-types/ts3.4/commands/RemoveSourceServerActionCommand.d.ts +3 -3
  295. package/dist-types/ts3.4/commands/RemoveTemplateActionCommand.d.ts +3 -3
  296. package/dist-types/ts3.4/commands/ResumeReplicationCommand.d.ts +36 -0
  297. package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +3 -3
  298. package/dist-types/ts3.4/commands/StartCutoverCommand.d.ts +3 -3
  299. package/dist-types/ts3.4/commands/StartExportCommand.d.ts +3 -3
  300. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +3 -3
  301. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +3 -3
  302. package/dist-types/ts3.4/commands/StartTestCommand.d.ts +3 -3
  303. package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +35 -0
  304. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  305. package/dist-types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +3 -3
  306. package/dist-types/ts3.4/commands/UnarchiveApplicationCommand.d.ts +3 -3
  307. package/dist-types/ts3.4/commands/UnarchiveWaveCommand.d.ts +3 -3
  308. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  309. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +3 -3
  310. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +3 -3
  311. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +3 -3
  312. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +3 -3
  313. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +3 -3
  314. package/dist-types/ts3.4/commands/UpdateSourceServerReplicationTypeCommand.d.ts +3 -3
  315. package/dist-types/ts3.4/commands/UpdateWaveCommand.d.ts +3 -3
  316. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  317. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  318. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  319. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  320. package/dist-types/ts3.4/models/MgnServiceException.d.ts +1 -1
  321. package/dist-types/ts3.4/models/models_0.d.ts +68 -1
  322. package/dist-types/ts3.4/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
  323. package/dist-types/ts3.4/pagination/DescribeJobsPaginator.d.ts +1 -1
  324. package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +1 -1
  325. package/dist-types/ts3.4/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
  326. package/dist-types/ts3.4/pagination/DescribeSourceServersPaginator.d.ts +1 -1
  327. package/dist-types/ts3.4/pagination/DescribeVcenterClientsPaginator.d.ts +1 -1
  328. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  329. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
  330. package/dist-types/ts3.4/pagination/ListExportErrorsPaginator.d.ts +1 -1
  331. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +1 -1
  332. package/dist-types/ts3.4/pagination/ListImportErrorsPaginator.d.ts +1 -1
  333. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +1 -1
  334. package/dist-types/ts3.4/pagination/ListManagedAccountsPaginator.d.ts +11 -0
  335. package/dist-types/ts3.4/pagination/ListSourceServerActionsPaginator.d.ts +1 -1
  336. package/dist-types/ts3.4/pagination/ListTemplateActionsPaginator.d.ts +1 -1
  337. package/dist-types/ts3.4/pagination/ListWavesPaginator.d.ts +1 -1
  338. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  339. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  340. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  341. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  342. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  343. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  344. package/package.json +31 -30
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_ListTemplateActionsCommand, se_ListTemplateActionsCommand } from "../protocols/Aws_restJson1";
5
5
  export { $Command };
6
6
  export class ListTemplateActionsCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { ListWavesResponseFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_ListWavesCommand, se_ListWavesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SourceServerFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_MarkAsArchivedCommand, se_MarkAsArchivedCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -0,0 +1,43 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SourceServerFilterSensitiveLog } from "../models/models_0";
5
+ import { de_PauseReplicationCommand, se_PauseReplicationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PauseReplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, PauseReplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "MgnClient";
26
+ const commandName = "PauseReplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: SourceServerFilterSensitiveLog,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_PauseReplicationCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_PauseReplicationCommand(output, context);
42
+ }
43
+ }
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutSourceServerActionCommand, se_PutSourceServerActionCommand } from "../protocols/Aws_restJson1";
5
5
  export { $Command };
6
6
  export class PutSourceServerActionCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_PutTemplateActionCommand, se_PutTemplateActionCommand } from "../protocols/Aws_restJson1";
5
5
  export { $Command };
6
6
  export class PutTemplateActionCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_RemoveSourceServerActionCommand, se_RemoveSourceServerActionCommand } from "../protocols/Aws_restJson1";
5
5
  export { $Command };
6
6
  export class RemoveSourceServerActionCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_RemoveTemplateActionCommand, se_RemoveTemplateActionCommand } from "../protocols/Aws_restJson1";
5
5
  export { $Command };
6
6
  export class RemoveTemplateActionCommand extends $Command {
@@ -0,0 +1,43 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SourceServerFilterSensitiveLog } from "../models/models_0";
5
+ import { de_ResumeReplicationCommand, se_ResumeReplicationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ResumeReplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ResumeReplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "MgnClient";
26
+ const commandName = "ResumeReplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: SourceServerFilterSensitiveLog,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_ResumeReplicationCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_ResumeReplicationCommand(output, context);
42
+ }
43
+ }
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SourceServerFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_RetryDataReplicationCommand, se_RetryDataReplicationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { StartCutoverRequestFilterSensitiveLog, StartCutoverResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_StartCutoverCommand, se_StartCutoverCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_StartExportCommand, se_StartExportCommand } from "../protocols/Aws_restJson1";
5
5
  export { $Command };
6
6
  export class StartExportCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_StartImportCommand, se_StartImportCommand } from "../protocols/Aws_restJson1";
5
5
  export { $Command };
6
6
  export class StartImportCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SourceServerFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_StartReplicationCommand, se_StartReplicationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { StartTestRequestFilterSensitiveLog, StartTestResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_StartTestCommand, se_StartTestCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -0,0 +1,43 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SourceServerFilterSensitiveLog } from "../models/models_0";
5
+ import { de_StopReplicationCommand, se_StopReplicationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StopReplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, StopReplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "MgnClient";
26
+ const commandName = "StopReplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: SourceServerFilterSensitiveLog,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_StopReplicationCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_StopReplicationCommand(output, context);
42
+ }
43
+ }
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { TerminateTargetInstancesRequestFilterSensitiveLog, TerminateTargetInstancesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_TerminateTargetInstancesCommand, se_TerminateTargetInstancesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { ApplicationFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_UnarchiveApplicationCommand, se_UnarchiveApplicationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { WaveFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_UnarchiveWaveCommand, se_UnarchiveWaveCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { ApplicationFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_UpdateLaunchConfigurationCommand, se_UpdateLaunchConfigurationCommand } from "../protocols/Aws_restJson1";
5
5
  export { $Command };
6
6
  export class UpdateLaunchConfigurationCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { LaunchConfigurationTemplateFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_UpdateLaunchConfigurationTemplateCommand, se_UpdateLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { ReplicationConfigurationFilterSensitiveLog, UpdateReplicationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_UpdateReplicationConfigurationCommand, se_UpdateReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { ReplicationConfigurationTemplateFilterSensitiveLog, UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_UpdateReplicationConfigurationTemplateCommand, se_UpdateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { SourceServerFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_UpdateSourceServerReplicationTypeCommand, se_UpdateSourceServerReplicationTypeCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { WaveFilterSensitiveLog } from "../models/models_0";
5
5
  import { de_UpdateWaveCommand, se_UpdateWaveCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
@@ -32,21 +32,25 @@ export * from "./ListExportErrorsCommand";
32
32
  export * from "./ListExportsCommand";
33
33
  export * from "./ListImportErrorsCommand";
34
34
  export * from "./ListImportsCommand";
35
+ export * from "./ListManagedAccountsCommand";
35
36
  export * from "./ListSourceServerActionsCommand";
36
37
  export * from "./ListTagsForResourceCommand";
37
38
  export * from "./ListTemplateActionsCommand";
38
39
  export * from "./ListWavesCommand";
39
40
  export * from "./MarkAsArchivedCommand";
41
+ export * from "./PauseReplicationCommand";
40
42
  export * from "./PutSourceServerActionCommand";
41
43
  export * from "./PutTemplateActionCommand";
42
44
  export * from "./RemoveSourceServerActionCommand";
43
45
  export * from "./RemoveTemplateActionCommand";
46
+ export * from "./ResumeReplicationCommand";
44
47
  export * from "./RetryDataReplicationCommand";
45
48
  export * from "./StartCutoverCommand";
46
49
  export * from "./StartExportCommand";
47
50
  export * from "./StartImportCommand";
48
51
  export * from "./StartReplicationCommand";
49
52
  export * from "./StartTestCommand";
53
+ export * from "./StopReplicationCommand";
50
54
  export * from "./TagResourceCommand";
51
55
  export * from "./TerminateTargetInstancesCommand";
52
56
  export * from "./UnarchiveApplicationCommand";
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
2
  export { __ServiceException };
3
3
  export class MgnServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,4 +1,4 @@
1
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { MgnServiceException as __BaseException } from "./MgnServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
4
  constructor(opts) {
@@ -0,0 +1,25 @@
1
+ import { ListManagedAccountsCommand, } from "../commands/ListManagedAccountsCommand";
2
+ import { MgnClient } from "../MgnClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListManagedAccountsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListManagedAccounts(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof MgnClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Mgn | MgnClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -10,6 +10,7 @@ export * from "./ListExportErrorsPaginator";
10
10
  export * from "./ListExportsPaginator";
11
11
  export * from "./ListImportErrorsPaginator";
12
12
  export * from "./ListImportsPaginator";
13
+ export * from "./ListManagedAccountsPaginator";
13
14
  export * from "./ListSourceServerActionsPaginator";
14
15
  export * from "./ListTemplateActionsPaginator";
15
16
  export * from "./ListWavesPaginator";