@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,5 +1,5 @@
1
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, resolvedPath as __resolvedPath, strictParseLong as __strictParseLong, take, withBaseException, } from "@aws-sdk/smithy-client";
2
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, resolvedPath as __resolvedPath, strictParseLong as __strictParseLong, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { MgnServiceException as __BaseException } from "../models/MgnServiceException";
5
5
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, ValidationException, } from "../models/models_0";
@@ -11,6 +11,7 @@ export const se_ArchiveApplicationCommand = async (input, context) => {
11
11
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ArchiveApplication";
12
12
  let body;
13
13
  body = JSON.stringify(take(input, {
14
+ accountID: [],
14
15
  applicationID: [],
15
16
  }));
16
17
  return new __HttpRequest({
@@ -31,6 +32,7 @@ export const se_ArchiveWaveCommand = async (input, context) => {
31
32
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ArchiveWave";
32
33
  let body;
33
34
  body = JSON.stringify(take(input, {
35
+ accountID: [],
34
36
  waveID: [],
35
37
  }));
36
38
  return new __HttpRequest({
@@ -51,6 +53,7 @@ export const se_AssociateApplicationsCommand = async (input, context) => {
51
53
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/AssociateApplications";
52
54
  let body;
53
55
  body = JSON.stringify(take(input, {
56
+ accountID: [],
54
57
  applicationIDs: (_) => _json(_),
55
58
  waveID: [],
56
59
  }));
@@ -72,6 +75,7 @@ export const se_AssociateSourceServersCommand = async (input, context) => {
72
75
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/AssociateSourceServers";
73
76
  let body;
74
77
  body = JSON.stringify(take(input, {
78
+ accountID: [],
75
79
  applicationID: [],
76
80
  sourceServerIDs: (_) => _json(_),
77
81
  }));
@@ -93,6 +97,7 @@ export const se_ChangeServerLifeCycleStateCommand = async (input, context) => {
93
97
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ChangeServerLifeCycleState";
94
98
  let body;
95
99
  body = JSON.stringify(take(input, {
100
+ accountID: [],
96
101
  lifeCycle: (_) => _json(_),
97
102
  sourceServerID: [],
98
103
  }));
@@ -114,6 +119,7 @@ export const se_CreateApplicationCommand = async (input, context) => {
114
119
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateApplication";
115
120
  let body;
116
121
  body = JSON.stringify(take(input, {
122
+ accountID: [],
117
123
  description: [],
118
124
  name: [],
119
125
  tags: (_) => _json(_),
@@ -182,6 +188,7 @@ export const se_CreateReplicationConfigurationTemplateCommand = async (input, co
182
188
  stagingAreaTags: (_) => _json(_),
183
189
  tags: (_) => _json(_),
184
190
  useDedicatedReplicationServer: [],
191
+ useFipsEndpoint: [],
185
192
  }));
186
193
  return new __HttpRequest({
187
194
  protocol,
@@ -201,6 +208,7 @@ export const se_CreateWaveCommand = async (input, context) => {
201
208
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateWave";
202
209
  let body;
203
210
  body = JSON.stringify(take(input, {
211
+ accountID: [],
204
212
  description: [],
205
213
  name: [],
206
214
  tags: (_) => _json(_),
@@ -223,6 +231,7 @@ export const se_DeleteApplicationCommand = async (input, context) => {
223
231
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteApplication";
224
232
  let body;
225
233
  body = JSON.stringify(take(input, {
234
+ accountID: [],
226
235
  applicationID: [],
227
236
  }));
228
237
  return new __HttpRequest({
@@ -243,6 +252,7 @@ export const se_DeleteJobCommand = async (input, context) => {
243
252
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteJob";
244
253
  let body;
245
254
  body = JSON.stringify(take(input, {
255
+ accountID: [],
246
256
  jobID: [],
247
257
  }));
248
258
  return new __HttpRequest({
@@ -303,6 +313,7 @@ export const se_DeleteSourceServerCommand = async (input, context) => {
303
313
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteSourceServer";
304
314
  let body;
305
315
  body = JSON.stringify(take(input, {
316
+ accountID: [],
306
317
  sourceServerID: [],
307
318
  }));
308
319
  return new __HttpRequest({
@@ -343,6 +354,7 @@ export const se_DeleteWaveCommand = async (input, context) => {
343
354
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteWave";
344
355
  let body;
345
356
  body = JSON.stringify(take(input, {
357
+ accountID: [],
346
358
  waveID: [],
347
359
  }));
348
360
  return new __HttpRequest({
@@ -363,6 +375,7 @@ export const se_DescribeJobLogItemsCommand = async (input, context) => {
363
375
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobLogItems";
364
376
  let body;
365
377
  body = JSON.stringify(take(input, {
378
+ accountID: [],
366
379
  jobID: [],
367
380
  maxResults: [],
368
381
  nextToken: [],
@@ -385,6 +398,7 @@ export const se_DescribeJobsCommand = async (input, context) => {
385
398
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobs";
386
399
  let body;
387
400
  body = JSON.stringify(take(input, {
401
+ accountID: [],
388
402
  filters: (_) => _json(_),
389
403
  maxResults: [],
390
404
  nextToken: [],
@@ -452,6 +466,7 @@ export const se_DescribeSourceServersCommand = async (input, context) => {
452
466
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSourceServers";
453
467
  let body;
454
468
  body = JSON.stringify(take(input, {
469
+ accountID: [],
455
470
  filters: (_) => _json(_),
456
471
  maxResults: [],
457
472
  nextToken: [],
@@ -494,6 +509,7 @@ export const se_DisassociateApplicationsCommand = async (input, context) => {
494
509
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DisassociateApplications";
495
510
  let body;
496
511
  body = JSON.stringify(take(input, {
512
+ accountID: [],
497
513
  applicationIDs: (_) => _json(_),
498
514
  waveID: [],
499
515
  }));
@@ -515,6 +531,7 @@ export const se_DisassociateSourceServersCommand = async (input, context) => {
515
531
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DisassociateSourceServers";
516
532
  let body;
517
533
  body = JSON.stringify(take(input, {
534
+ accountID: [],
518
535
  applicationID: [],
519
536
  sourceServerIDs: (_) => _json(_),
520
537
  }));
@@ -536,6 +553,7 @@ export const se_DisconnectFromServiceCommand = async (input, context) => {
536
553
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DisconnectFromService";
537
554
  let body;
538
555
  body = JSON.stringify(take(input, {
556
+ accountID: [],
539
557
  sourceServerID: [],
540
558
  }));
541
559
  return new __HttpRequest({
@@ -556,6 +574,7 @@ export const se_FinalizeCutoverCommand = async (input, context) => {
556
574
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FinalizeCutover";
557
575
  let body;
558
576
  body = JSON.stringify(take(input, {
577
+ accountID: [],
559
578
  sourceServerID: [],
560
579
  }));
561
580
  return new __HttpRequest({
@@ -576,6 +595,7 @@ export const se_GetLaunchConfigurationCommand = async (input, context) => {
576
595
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetLaunchConfiguration";
577
596
  let body;
578
597
  body = JSON.stringify(take(input, {
598
+ accountID: [],
579
599
  sourceServerID: [],
580
600
  }));
581
601
  return new __HttpRequest({
@@ -596,6 +616,7 @@ export const se_GetReplicationConfigurationCommand = async (input, context) => {
596
616
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetReplicationConfiguration";
597
617
  let body;
598
618
  body = JSON.stringify(take(input, {
619
+ accountID: [],
599
620
  sourceServerID: [],
600
621
  }));
601
622
  return new __HttpRequest({
@@ -634,6 +655,7 @@ export const se_ListApplicationsCommand = async (input, context) => {
634
655
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListApplications";
635
656
  let body;
636
657
  body = JSON.stringify(take(input, {
658
+ accountID: [],
637
659
  filters: (_) => _json(_),
638
660
  maxResults: [],
639
661
  nextToken: [],
@@ -736,6 +758,27 @@ export const se_ListImportsCommand = async (input, context) => {
736
758
  body,
737
759
  });
738
760
  };
761
+ export const se_ListManagedAccountsCommand = async (input, context) => {
762
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
763
+ const headers = {
764
+ "content-type": "application/json",
765
+ };
766
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListManagedAccounts";
767
+ let body;
768
+ body = JSON.stringify(take(input, {
769
+ maxResults: [],
770
+ nextToken: [],
771
+ }));
772
+ return new __HttpRequest({
773
+ protocol,
774
+ hostname,
775
+ port,
776
+ method: "POST",
777
+ headers,
778
+ path: resolvedPath,
779
+ body,
780
+ });
781
+ };
739
782
  export const se_ListSourceServerActionsCommand = async (input, context) => {
740
783
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
741
784
  const headers = {
@@ -744,6 +787,7 @@ export const se_ListSourceServerActionsCommand = async (input, context) => {
744
787
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListSourceServerActions";
745
788
  let body;
746
789
  body = JSON.stringify(take(input, {
790
+ accountID: [],
747
791
  filters: (_) => _json(_),
748
792
  maxResults: [],
749
793
  nextToken: [],
@@ -806,6 +850,7 @@ export const se_ListWavesCommand = async (input, context) => {
806
850
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListWaves";
807
851
  let body;
808
852
  body = JSON.stringify(take(input, {
853
+ accountID: [],
809
854
  filters: (_) => _json(_),
810
855
  maxResults: [],
811
856
  nextToken: [],
@@ -828,6 +873,28 @@ export const se_MarkAsArchivedCommand = async (input, context) => {
828
873
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/MarkAsArchived";
829
874
  let body;
830
875
  body = JSON.stringify(take(input, {
876
+ accountID: [],
877
+ sourceServerID: [],
878
+ }));
879
+ return new __HttpRequest({
880
+ protocol,
881
+ hostname,
882
+ port,
883
+ method: "POST",
884
+ headers,
885
+ path: resolvedPath,
886
+ body,
887
+ });
888
+ };
889
+ export const se_PauseReplicationCommand = async (input, context) => {
890
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
891
+ const headers = {
892
+ "content-type": "application/json",
893
+ };
894
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PauseReplication";
895
+ let body;
896
+ body = JSON.stringify(take(input, {
897
+ accountID: [],
831
898
  sourceServerID: [],
832
899
  }));
833
900
  return new __HttpRequest({
@@ -848,6 +915,7 @@ export const se_PutSourceServerActionCommand = async (input, context) => {
848
915
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PutSourceServerAction";
849
916
  let body;
850
917
  body = JSON.stringify(take(input, {
918
+ accountID: [],
851
919
  actionID: [],
852
920
  actionName: [],
853
921
  active: [],
@@ -913,6 +981,7 @@ export const se_RemoveSourceServerActionCommand = async (input, context) => {
913
981
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/RemoveSourceServerAction";
914
982
  let body;
915
983
  body = JSON.stringify(take(input, {
984
+ accountID: [],
916
985
  actionID: [],
917
986
  sourceServerID: [],
918
987
  }));
@@ -947,6 +1016,27 @@ export const se_RemoveTemplateActionCommand = async (input, context) => {
947
1016
  body,
948
1017
  });
949
1018
  };
1019
+ export const se_ResumeReplicationCommand = async (input, context) => {
1020
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1021
+ const headers = {
1022
+ "content-type": "application/json",
1023
+ };
1024
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ResumeReplication";
1025
+ let body;
1026
+ body = JSON.stringify(take(input, {
1027
+ accountID: [],
1028
+ sourceServerID: [],
1029
+ }));
1030
+ return new __HttpRequest({
1031
+ protocol,
1032
+ hostname,
1033
+ port,
1034
+ method: "POST",
1035
+ headers,
1036
+ path: resolvedPath,
1037
+ body,
1038
+ });
1039
+ };
950
1040
  export const se_RetryDataReplicationCommand = async (input, context) => {
951
1041
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
952
1042
  const headers = {
@@ -955,6 +1045,7 @@ export const se_RetryDataReplicationCommand = async (input, context) => {
955
1045
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/RetryDataReplication";
956
1046
  let body;
957
1047
  body = JSON.stringify(take(input, {
1048
+ accountID: [],
958
1049
  sourceServerID: [],
959
1050
  }));
960
1051
  return new __HttpRequest({
@@ -975,6 +1066,7 @@ export const se_StartCutoverCommand = async (input, context) => {
975
1066
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartCutover";
976
1067
  let body;
977
1068
  body = JSON.stringify(take(input, {
1069
+ accountID: [],
978
1070
  sourceServerIDs: (_) => _json(_),
979
1071
  tags: (_) => _json(_),
980
1072
  }));
@@ -1039,6 +1131,7 @@ export const se_StartReplicationCommand = async (input, context) => {
1039
1131
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartReplication";
1040
1132
  let body;
1041
1133
  body = JSON.stringify(take(input, {
1134
+ accountID: [],
1042
1135
  sourceServerID: [],
1043
1136
  }));
1044
1137
  return new __HttpRequest({
@@ -1059,6 +1152,7 @@ export const se_StartTestCommand = async (input, context) => {
1059
1152
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartTest";
1060
1153
  let body;
1061
1154
  body = JSON.stringify(take(input, {
1155
+ accountID: [],
1062
1156
  sourceServerIDs: (_) => _json(_),
1063
1157
  tags: (_) => _json(_),
1064
1158
  }));
@@ -1072,6 +1166,27 @@ export const se_StartTestCommand = async (input, context) => {
1072
1166
  body,
1073
1167
  });
1074
1168
  };
1169
+ export const se_StopReplicationCommand = async (input, context) => {
1170
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1171
+ const headers = {
1172
+ "content-type": "application/json",
1173
+ };
1174
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StopReplication";
1175
+ let body;
1176
+ body = JSON.stringify(take(input, {
1177
+ accountID: [],
1178
+ sourceServerID: [],
1179
+ }));
1180
+ return new __HttpRequest({
1181
+ protocol,
1182
+ hostname,
1183
+ port,
1184
+ method: "POST",
1185
+ headers,
1186
+ path: resolvedPath,
1187
+ body,
1188
+ });
1189
+ };
1075
1190
  export const se_TagResourceCommand = async (input, context) => {
1076
1191
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1077
1192
  const headers = {
@@ -1101,6 +1216,7 @@ export const se_TerminateTargetInstancesCommand = async (input, context) => {
1101
1216
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/TerminateTargetInstances";
1102
1217
  let body;
1103
1218
  body = JSON.stringify(take(input, {
1219
+ accountID: [],
1104
1220
  sourceServerIDs: (_) => _json(_),
1105
1221
  tags: (_) => _json(_),
1106
1222
  }));
@@ -1122,6 +1238,7 @@ export const se_UnarchiveApplicationCommand = async (input, context) => {
1122
1238
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UnarchiveApplication";
1123
1239
  let body;
1124
1240
  body = JSON.stringify(take(input, {
1241
+ accountID: [],
1125
1242
  applicationID: [],
1126
1243
  }));
1127
1244
  return new __HttpRequest({
@@ -1142,6 +1259,7 @@ export const se_UnarchiveWaveCommand = async (input, context) => {
1142
1259
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UnarchiveWave";
1143
1260
  let body;
1144
1261
  body = JSON.stringify(take(input, {
1262
+ accountID: [],
1145
1263
  waveID: [],
1146
1264
  }));
1147
1265
  return new __HttpRequest({
@@ -1185,6 +1303,7 @@ export const se_UpdateApplicationCommand = async (input, context) => {
1185
1303
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateApplication";
1186
1304
  let body;
1187
1305
  body = JSON.stringify(take(input, {
1306
+ accountID: [],
1188
1307
  applicationID: [],
1189
1308
  description: [],
1190
1309
  name: [],
@@ -1207,6 +1326,7 @@ export const se_UpdateLaunchConfigurationCommand = async (input, context) => {
1207
1326
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateLaunchConfiguration";
1208
1327
  let body;
1209
1328
  body = JSON.stringify(take(input, {
1329
+ accountID: [],
1210
1330
  bootMode: [],
1211
1331
  copyPrivateIp: [],
1212
1332
  copyTags: [],
@@ -1270,6 +1390,7 @@ export const se_UpdateReplicationConfigurationCommand = async (input, context) =
1270
1390
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateReplicationConfiguration";
1271
1391
  let body;
1272
1392
  body = JSON.stringify(take(input, {
1393
+ accountID: [],
1273
1394
  associateDefaultSecurityGroup: [],
1274
1395
  bandwidthThrottling: [],
1275
1396
  createPublicIP: [],
@@ -1285,6 +1406,7 @@ export const se_UpdateReplicationConfigurationCommand = async (input, context) =
1285
1406
  stagingAreaSubnetId: [],
1286
1407
  stagingAreaTags: (_) => _json(_),
1287
1408
  useDedicatedReplicationServer: [],
1409
+ useFipsEndpoint: [],
1288
1410
  }));
1289
1411
  return new __HttpRequest({
1290
1412
  protocol,
@@ -1318,6 +1440,7 @@ export const se_UpdateReplicationConfigurationTemplateCommand = async (input, co
1318
1440
  stagingAreaSubnetId: [],
1319
1441
  stagingAreaTags: (_) => _json(_),
1320
1442
  useDedicatedReplicationServer: [],
1443
+ useFipsEndpoint: [],
1321
1444
  }));
1322
1445
  return new __HttpRequest({
1323
1446
  protocol,
@@ -1337,6 +1460,7 @@ export const se_UpdateSourceServerReplicationTypeCommand = async (input, context
1337
1460
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateSourceServerReplicationType";
1338
1461
  let body;
1339
1462
  body = JSON.stringify(take(input, {
1463
+ accountID: [],
1340
1464
  replicationType: [],
1341
1465
  sourceServerID: [],
1342
1466
  }));
@@ -1358,6 +1482,7 @@ export const se_UpdateWaveCommand = async (input, context) => {
1358
1482
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateWave";
1359
1483
  let body;
1360
1484
  body = JSON.stringify(take(input, {
1485
+ accountID: [],
1361
1486
  description: [],
1362
1487
  name: [],
1363
1488
  waveID: [],
@@ -1730,6 +1855,7 @@ export const de_CreateReplicationConfigurationTemplateCommand = async (output, c
1730
1855
  stagingAreaTags: _json,
1731
1856
  tags: _json,
1732
1857
  useDedicatedReplicationServer: __expectBoolean,
1858
+ useFipsEndpoint: __expectBoolean,
1733
1859
  });
1734
1860
  Object.assign(contents, doc);
1735
1861
  return contents;
@@ -2528,6 +2654,7 @@ export const de_GetReplicationConfigurationCommand = async (output, context) =>
2528
2654
  stagingAreaSubnetId: __expectString,
2529
2655
  stagingAreaTags: _json,
2530
2656
  useDedicatedReplicationServer: __expectBoolean,
2657
+ useFipsEndpoint: __expectBoolean,
2531
2658
  });
2532
2659
  Object.assign(contents, doc);
2533
2660
  return contents;
@@ -2765,6 +2892,43 @@ const de_ListImportsCommandError = async (output, context) => {
2765
2892
  });
2766
2893
  }
2767
2894
  };
2895
+ export const de_ListManagedAccountsCommand = async (output, context) => {
2896
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2897
+ return de_ListManagedAccountsCommandError(output, context);
2898
+ }
2899
+ const contents = map({
2900
+ $metadata: deserializeMetadata(output),
2901
+ });
2902
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2903
+ const doc = take(data, {
2904
+ items: _json,
2905
+ nextToken: __expectString,
2906
+ });
2907
+ Object.assign(contents, doc);
2908
+ return contents;
2909
+ };
2910
+ const de_ListManagedAccountsCommandError = async (output, context) => {
2911
+ const parsedOutput = {
2912
+ ...output,
2913
+ body: await parseErrorBody(output.body, context),
2914
+ };
2915
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2916
+ switch (errorCode) {
2917
+ case "UninitializedAccountException":
2918
+ case "com.amazonaws.mgn#UninitializedAccountException":
2919
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
2920
+ case "ValidationException":
2921
+ case "com.amazonaws.mgn#ValidationException":
2922
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2923
+ default:
2924
+ const parsedBody = parsedOutput.body;
2925
+ return throwDefaultError({
2926
+ output,
2927
+ parsedBody,
2928
+ errorCode,
2929
+ });
2930
+ }
2931
+ };
2768
2932
  export const de_ListSourceServerActionsCommand = async (output, context) => {
2769
2933
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2770
2934
  return de_ListSourceServerActionsCommandError(output, context);
@@ -2969,6 +3133,63 @@ const de_MarkAsArchivedCommandError = async (output, context) => {
2969
3133
  });
2970
3134
  }
2971
3135
  };
3136
+ export const de_PauseReplicationCommand = async (output, context) => {
3137
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3138
+ return de_PauseReplicationCommandError(output, context);
3139
+ }
3140
+ const contents = map({
3141
+ $metadata: deserializeMetadata(output),
3142
+ });
3143
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3144
+ const doc = take(data, {
3145
+ applicationID: __expectString,
3146
+ arn: __expectString,
3147
+ dataReplicationInfo: _json,
3148
+ fqdnForActionFramework: __expectString,
3149
+ isArchived: __expectBoolean,
3150
+ launchedInstance: _json,
3151
+ lifeCycle: _json,
3152
+ replicationType: __expectString,
3153
+ sourceProperties: _json,
3154
+ sourceServerID: __expectString,
3155
+ tags: _json,
3156
+ userProvidedID: __expectString,
3157
+ vcenterClientID: __expectString,
3158
+ });
3159
+ Object.assign(contents, doc);
3160
+ return contents;
3161
+ };
3162
+ const de_PauseReplicationCommandError = async (output, context) => {
3163
+ const parsedOutput = {
3164
+ ...output,
3165
+ body: await parseErrorBody(output.body, context),
3166
+ };
3167
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3168
+ switch (errorCode) {
3169
+ case "ConflictException":
3170
+ case "com.amazonaws.mgn#ConflictException":
3171
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3172
+ case "ResourceNotFoundException":
3173
+ case "com.amazonaws.mgn#ResourceNotFoundException":
3174
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3175
+ case "ServiceQuotaExceededException":
3176
+ case "com.amazonaws.mgn#ServiceQuotaExceededException":
3177
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
3178
+ case "UninitializedAccountException":
3179
+ case "com.amazonaws.mgn#UninitializedAccountException":
3180
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
3181
+ case "ValidationException":
3182
+ case "com.amazonaws.mgn#ValidationException":
3183
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3184
+ default:
3185
+ const parsedBody = parsedOutput.body;
3186
+ return throwDefaultError({
3187
+ output,
3188
+ parsedBody,
3189
+ errorCode,
3190
+ });
3191
+ }
3192
+ };
2972
3193
  export const de_PutSourceServerActionCommand = async (output, context) => {
2973
3194
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2974
3195
  return de_PutSourceServerActionCommandError(output, context);
@@ -3146,6 +3367,63 @@ const de_RemoveTemplateActionCommandError = async (output, context) => {
3146
3367
  });
3147
3368
  }
3148
3369
  };
3370
+ export const de_ResumeReplicationCommand = async (output, context) => {
3371
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3372
+ return de_ResumeReplicationCommandError(output, context);
3373
+ }
3374
+ const contents = map({
3375
+ $metadata: deserializeMetadata(output),
3376
+ });
3377
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3378
+ const doc = take(data, {
3379
+ applicationID: __expectString,
3380
+ arn: __expectString,
3381
+ dataReplicationInfo: _json,
3382
+ fqdnForActionFramework: __expectString,
3383
+ isArchived: __expectBoolean,
3384
+ launchedInstance: _json,
3385
+ lifeCycle: _json,
3386
+ replicationType: __expectString,
3387
+ sourceProperties: _json,
3388
+ sourceServerID: __expectString,
3389
+ tags: _json,
3390
+ userProvidedID: __expectString,
3391
+ vcenterClientID: __expectString,
3392
+ });
3393
+ Object.assign(contents, doc);
3394
+ return contents;
3395
+ };
3396
+ const de_ResumeReplicationCommandError = async (output, context) => {
3397
+ const parsedOutput = {
3398
+ ...output,
3399
+ body: await parseErrorBody(output.body, context),
3400
+ };
3401
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3402
+ switch (errorCode) {
3403
+ case "ConflictException":
3404
+ case "com.amazonaws.mgn#ConflictException":
3405
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3406
+ case "ResourceNotFoundException":
3407
+ case "com.amazonaws.mgn#ResourceNotFoundException":
3408
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3409
+ case "ServiceQuotaExceededException":
3410
+ case "com.amazonaws.mgn#ServiceQuotaExceededException":
3411
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
3412
+ case "UninitializedAccountException":
3413
+ case "com.amazonaws.mgn#UninitializedAccountException":
3414
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
3415
+ case "ValidationException":
3416
+ case "com.amazonaws.mgn#ValidationException":
3417
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3418
+ default:
3419
+ const parsedBody = parsedOutput.body;
3420
+ return throwDefaultError({
3421
+ output,
3422
+ parsedBody,
3423
+ errorCode,
3424
+ });
3425
+ }
3426
+ };
3149
3427
  export const de_RetryDataReplicationCommand = async (output, context) => {
3150
3428
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3151
3429
  return de_RetryDataReplicationCommandError(output, context);
@@ -3416,6 +3694,63 @@ const de_StartTestCommandError = async (output, context) => {
3416
3694
  });
3417
3695
  }
3418
3696
  };
3697
+ export const de_StopReplicationCommand = async (output, context) => {
3698
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3699
+ return de_StopReplicationCommandError(output, context);
3700
+ }
3701
+ const contents = map({
3702
+ $metadata: deserializeMetadata(output),
3703
+ });
3704
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3705
+ const doc = take(data, {
3706
+ applicationID: __expectString,
3707
+ arn: __expectString,
3708
+ dataReplicationInfo: _json,
3709
+ fqdnForActionFramework: __expectString,
3710
+ isArchived: __expectBoolean,
3711
+ launchedInstance: _json,
3712
+ lifeCycle: _json,
3713
+ replicationType: __expectString,
3714
+ sourceProperties: _json,
3715
+ sourceServerID: __expectString,
3716
+ tags: _json,
3717
+ userProvidedID: __expectString,
3718
+ vcenterClientID: __expectString,
3719
+ });
3720
+ Object.assign(contents, doc);
3721
+ return contents;
3722
+ };
3723
+ const de_StopReplicationCommandError = async (output, context) => {
3724
+ const parsedOutput = {
3725
+ ...output,
3726
+ body: await parseErrorBody(output.body, context),
3727
+ };
3728
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3729
+ switch (errorCode) {
3730
+ case "ConflictException":
3731
+ case "com.amazonaws.mgn#ConflictException":
3732
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3733
+ case "ResourceNotFoundException":
3734
+ case "com.amazonaws.mgn#ResourceNotFoundException":
3735
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3736
+ case "ServiceQuotaExceededException":
3737
+ case "com.amazonaws.mgn#ServiceQuotaExceededException":
3738
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
3739
+ case "UninitializedAccountException":
3740
+ case "com.amazonaws.mgn#UninitializedAccountException":
3741
+ throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
3742
+ case "ValidationException":
3743
+ case "com.amazonaws.mgn#ValidationException":
3744
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3745
+ default:
3746
+ const parsedBody = parsedOutput.body;
3747
+ return throwDefaultError({
3748
+ output,
3749
+ parsedBody,
3750
+ errorCode,
3751
+ });
3752
+ }
3753
+ };
3419
3754
  export const de_TagResourceCommand = async (output, context) => {
3420
3755
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3421
3756
  return de_TagResourceCommandError(output, context);
@@ -3815,6 +4150,7 @@ export const de_UpdateReplicationConfigurationCommand = async (output, context)
3815
4150
  stagingAreaSubnetId: __expectString,
3816
4151
  stagingAreaTags: _json,
3817
4152
  useDedicatedReplicationServer: __expectBoolean,
4153
+ useFipsEndpoint: __expectBoolean,
3818
4154
  });
3819
4155
  Object.assign(contents, doc);
3820
4156
  return contents;
@@ -3874,6 +4210,7 @@ export const de_UpdateReplicationConfigurationTemplateCommand = async (output, c
3874
4210
  stagingAreaTags: _json,
3875
4211
  tags: _json,
3876
4212
  useDedicatedReplicationServer: __expectBoolean,
4213
+ useFipsEndpoint: __expectBoolean,
3877
4214
  });
3878
4215
  Object.assign(contents, doc);
3879
4216
  return contents;