@aws-sdk/client-mgn 3.33.0 → 3.36.1

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 (310) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/Mgn.js +1 -5
  3. package/{dist/cjs → dist-cjs}/MgnClient.js +8 -17
  4. package/{dist/cjs → dist-cjs}/commands/ChangeServerLifeCycleStateCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/CreateReplicationConfigurationTemplateCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/DeleteJobCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteReplicationConfigurationTemplateCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteSourceServerCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DescribeJobLogItemsCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DescribeJobsCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DescribeReplicationConfigurationTemplatesCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/DescribeSourceServersCommand.js +2 -27
  13. package/dist-cjs/commands/DisconnectFromServiceCommand.js +36 -0
  14. package/dist-cjs/commands/FinalizeCutoverCommand.js +36 -0
  15. package/{dist/cjs → dist-cjs}/commands/GetLaunchConfigurationCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/GetReplicationConfigurationCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/InitializeServiceCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/MarkAsArchivedCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/RetryDataReplicationCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/StartCutoverCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/StartTestCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/TerminateTargetInstancesCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/UpdateLaunchConfigurationCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/UpdateReplicationConfigurationCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/UpdateReplicationConfigurationTemplateCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  30. package/{dist/cjs → dist-cjs}/index.js +0 -1
  31. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  32. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -238
  33. package/{dist/cjs → dist-cjs}/pagination/DescribeJobLogItemsPaginator.js +1 -12
  34. package/{dist/cjs → dist-cjs}/pagination/DescribeJobsPaginator.js +1 -12
  35. package/{dist/cjs → dist-cjs}/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +1 -12
  36. package/{dist/cjs → dist-cjs}/pagination/DescribeSourceServersPaginator.js +1 -12
  37. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  38. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +22 -28
  39. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  40. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  43. package/{dist/es → dist-es}/Mgn.js +2 -6
  44. package/{dist/es → dist-es}/MgnClient.js +2 -11
  45. package/{dist/es → dist-es}/commands/ChangeServerLifeCycleStateCommand.js +4 -30
  46. package/{dist/es → dist-es}/commands/CreateReplicationConfigurationTemplateCommand.js +4 -30
  47. package/{dist/es → dist-es}/commands/DeleteJobCommand.js +4 -30
  48. package/{dist/es → dist-es}/commands/DeleteReplicationConfigurationTemplateCommand.js +4 -30
  49. package/{dist/es → dist-es}/commands/DeleteSourceServerCommand.js +4 -30
  50. package/{dist/es → dist-es}/commands/DescribeJobLogItemsCommand.js +4 -30
  51. package/{dist/es → dist-es}/commands/DescribeJobsCommand.js +4 -30
  52. package/{dist/es → dist-es}/commands/DescribeReplicationConfigurationTemplatesCommand.js +4 -30
  53. package/{dist/es → dist-es}/commands/DescribeSourceServersCommand.js +4 -30
  54. package/dist-es/commands/DisconnectFromServiceCommand.js +39 -0
  55. package/{dist/es → dist-es}/commands/FinalizeCutoverCommand.js +4 -30
  56. package/{dist/es → dist-es}/commands/GetLaunchConfigurationCommand.js +4 -30
  57. package/{dist/es → dist-es}/commands/GetReplicationConfigurationCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/InitializeServiceCommand.js +4 -30
  59. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/MarkAsArchivedCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/RetryDataReplicationCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/StartCutoverCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/StartTestCommand.js +4 -30
  64. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/TerminateTargetInstancesCommand.js +4 -30
  66. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/UpdateLaunchConfigurationCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/UpdateReplicationConfigurationCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/UpdateReplicationConfigurationTemplateCommand.js +4 -30
  70. package/{dist/es → dist-es}/endpoints.js +1 -2
  71. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  72. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  73. package/{dist/es → dist-es}/models/models_0.js +0 -238
  74. package/{dist/es → dist-es}/pagination/DescribeJobLogItemsPaginator.js +17 -30
  75. package/{dist/es → dist-es}/pagination/DescribeJobsPaginator.js +17 -30
  76. package/{dist/es → dist-es}/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +17 -30
  77. package/{dist/es → dist-es}/pagination/DescribeSourceServersPaginator.js +17 -30
  78. package/dist-es/pagination/Interfaces.js +1 -0
  79. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +550 -556
  80. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  81. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  82. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  83. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  84. package/{dist/types → dist-types}/Mgn.d.ts +2 -2
  85. package/{dist/types → dist-types}/MgnClient.d.ts +8 -8
  86. package/{dist/types → dist-types}/commands/ChangeServerLifeCycleStateCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/CreateReplicationConfigurationTemplateCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/DeleteJobCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/DeleteSourceServerCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/DescribeJobLogItemsCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/DescribeJobsCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/DescribeSourceServersCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/DisconnectFromServiceCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/FinalizeCutoverCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/GetLaunchConfigurationCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/GetReplicationConfigurationCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/InitializeServiceCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/MarkAsArchivedCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/RetryDataReplicationCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/StartCutoverCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/StartTestCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/TerminateTargetInstancesCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/UpdateLaunchConfigurationCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/UpdateReplicationConfigurationCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  112. package/{index.ts → dist-types/index.d.ts} +0 -0
  113. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  114. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  115. package/{dist/types → dist-types}/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
  116. package/{dist/types → dist-types}/pagination/DescribeJobsPaginator.d.ts +1 -1
  117. package/{dist/types → dist-types}/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
  118. package/{dist/types → dist-types}/pagination/DescribeSourceServersPaginator.d.ts +1 -1
  119. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  120. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  121. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  122. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  123. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  124. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  125. package/{dist/types → dist-types}/ts3.4/Mgn.d.ts +28 -80
  126. package/{dist/types → dist-types}/ts3.4/MgnClient.d.ts +32 -97
  127. package/dist-types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +17 -0
  128. package/{dist/types → dist-types}/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +4 -22
  129. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +17 -0
  130. package/{dist/types → dist-types}/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +4 -22
  131. package/{dist/types → dist-types}/ts3.4/commands/DeleteSourceServerCommand.d.ts +4 -22
  132. package/{dist/types → dist-types}/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +4 -22
  133. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +17 -0
  134. package/{dist/types → dist-types}/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +4 -22
  135. package/{dist/types → dist-types}/ts3.4/commands/DescribeSourceServersCommand.d.ts +4 -22
  136. package/dist-types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/FinalizeCutoverCommand.d.ts +17 -0
  138. package/{dist/types → dist-types}/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +4 -22
  139. package/{dist/types → dist-types}/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +4 -22
  140. package/{dist/types → dist-types}/ts3.4/commands/InitializeServiceCommand.d.ts +4 -22
  141. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  142. package/dist-types/ts3.4/commands/MarkAsArchivedCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/StartCutoverCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/StartTestCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  149. package/{dist/types → dist-types}/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +4 -22
  150. package/{dist/types → dist-types}/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +4 -22
  151. package/{dist/types → dist-types}/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +4 -22
  152. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  153. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  154. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  155. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +361 -1083
  156. package/{dist/types → dist-types}/ts3.4/pagination/DescribeJobLogItemsPaginator.d.ts +1 -1
  157. package/{dist/types → dist-types}/ts3.4/pagination/DescribeJobsPaginator.d.ts +1 -1
  158. package/{dist/types → dist-types}/ts3.4/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +1 -1
  159. package/{dist/types → dist-types}/ts3.4/pagination/DescribeSourceServersPaginator.d.ts +1 -1
  160. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  161. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  162. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  163. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  164. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  165. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  166. package/package.json +52 -49
  167. package/Mgn.ts +0 -904
  168. package/MgnClient.ts +0 -355
  169. package/commands/ChangeServerLifeCycleStateCommand.ts +0 -97
  170. package/commands/CreateReplicationConfigurationTemplateCommand.ts +0 -103
  171. package/commands/DeleteJobCommand.ts +0 -90
  172. package/commands/DeleteReplicationConfigurationTemplateCommand.ts +0 -106
  173. package/commands/DeleteSourceServerCommand.ts +0 -94
  174. package/commands/DescribeJobLogItemsCommand.ts +0 -94
  175. package/commands/DescribeJobsCommand.ts +0 -94
  176. package/commands/DescribeReplicationConfigurationTemplatesCommand.ts +0 -109
  177. package/commands/DescribeSourceServersCommand.ts +0 -94
  178. package/commands/DisconnectFromServiceCommand.ts +0 -94
  179. package/commands/FinalizeCutoverCommand.ts +0 -94
  180. package/commands/GetLaunchConfigurationCommand.ts +0 -94
  181. package/commands/GetReplicationConfigurationCommand.ts +0 -97
  182. package/commands/InitializeServiceCommand.ts +0 -94
  183. package/commands/ListTagsForResourceCommand.ts +0 -94
  184. package/commands/MarkAsArchivedCommand.ts +0 -94
  185. package/commands/RetryDataReplicationCommand.ts +0 -94
  186. package/commands/StartCutoverCommand.ts +0 -94
  187. package/commands/StartTestCommand.ts +0 -90
  188. package/commands/TagResourceCommand.ts +0 -94
  189. package/commands/TerminateTargetInstancesCommand.ts +0 -94
  190. package/commands/UntagResourceCommand.ts +0 -94
  191. package/commands/UpdateLaunchConfigurationCommand.ts +0 -97
  192. package/commands/UpdateReplicationConfigurationCommand.ts +0 -100
  193. package/commands/UpdateReplicationConfigurationTemplateCommand.ts +0 -103
  194. package/dist/cjs/Mgn.js.map +0 -1
  195. package/dist/cjs/MgnClient.js.map +0 -1
  196. package/dist/cjs/commands/ChangeServerLifeCycleStateCommand.js.map +0 -1
  197. package/dist/cjs/commands/CreateReplicationConfigurationTemplateCommand.js.map +0 -1
  198. package/dist/cjs/commands/DeleteJobCommand.js.map +0 -1
  199. package/dist/cjs/commands/DeleteReplicationConfigurationTemplateCommand.js.map +0 -1
  200. package/dist/cjs/commands/DeleteSourceServerCommand.js.map +0 -1
  201. package/dist/cjs/commands/DescribeJobLogItemsCommand.js.map +0 -1
  202. package/dist/cjs/commands/DescribeJobsCommand.js.map +0 -1
  203. package/dist/cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js.map +0 -1
  204. package/dist/cjs/commands/DescribeSourceServersCommand.js.map +0 -1
  205. package/dist/cjs/commands/DisconnectFromServiceCommand.js +0 -61
  206. package/dist/cjs/commands/DisconnectFromServiceCommand.js.map +0 -1
  207. package/dist/cjs/commands/FinalizeCutoverCommand.js +0 -61
  208. package/dist/cjs/commands/FinalizeCutoverCommand.js.map +0 -1
  209. package/dist/cjs/commands/GetLaunchConfigurationCommand.js.map +0 -1
  210. package/dist/cjs/commands/GetReplicationConfigurationCommand.js.map +0 -1
  211. package/dist/cjs/commands/InitializeServiceCommand.js.map +0 -1
  212. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  213. package/dist/cjs/commands/MarkAsArchivedCommand.js.map +0 -1
  214. package/dist/cjs/commands/RetryDataReplicationCommand.js.map +0 -1
  215. package/dist/cjs/commands/StartCutoverCommand.js.map +0 -1
  216. package/dist/cjs/commands/StartTestCommand.js.map +0 -1
  217. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  218. package/dist/cjs/commands/TerminateTargetInstancesCommand.js.map +0 -1
  219. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  220. package/dist/cjs/commands/UpdateLaunchConfigurationCommand.js.map +0 -1
  221. package/dist/cjs/commands/UpdateReplicationConfigurationCommand.js.map +0 -1
  222. package/dist/cjs/commands/UpdateReplicationConfigurationTemplateCommand.js.map +0 -1
  223. package/dist/cjs/endpoints.js.map +0 -1
  224. package/dist/cjs/index.js.map +0 -1
  225. package/dist/cjs/models/index.js.map +0 -1
  226. package/dist/cjs/models/models_0.js.map +0 -1
  227. package/dist/cjs/package.json +0 -91
  228. package/dist/cjs/pagination/DescribeJobLogItemsPaginator.js.map +0 -1
  229. package/dist/cjs/pagination/DescribeJobsPaginator.js.map +0 -1
  230. package/dist/cjs/pagination/DescribeReplicationConfigurationTemplatesPaginator.js.map +0 -1
  231. package/dist/cjs/pagination/DescribeSourceServersPaginator.js.map +0 -1
  232. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  233. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  234. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  235. package/dist/cjs/runtimeConfig.js.map +0 -1
  236. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  237. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  238. package/dist/es/Mgn.js.map +0 -1
  239. package/dist/es/MgnClient.js.map +0 -1
  240. package/dist/es/commands/ChangeServerLifeCycleStateCommand.js.map +0 -1
  241. package/dist/es/commands/CreateReplicationConfigurationTemplateCommand.js.map +0 -1
  242. package/dist/es/commands/DeleteJobCommand.js.map +0 -1
  243. package/dist/es/commands/DeleteReplicationConfigurationTemplateCommand.js.map +0 -1
  244. package/dist/es/commands/DeleteSourceServerCommand.js.map +0 -1
  245. package/dist/es/commands/DescribeJobLogItemsCommand.js.map +0 -1
  246. package/dist/es/commands/DescribeJobsCommand.js.map +0 -1
  247. package/dist/es/commands/DescribeReplicationConfigurationTemplatesCommand.js.map +0 -1
  248. package/dist/es/commands/DescribeSourceServersCommand.js.map +0 -1
  249. package/dist/es/commands/DisconnectFromServiceCommand.js +0 -65
  250. package/dist/es/commands/DisconnectFromServiceCommand.js.map +0 -1
  251. package/dist/es/commands/FinalizeCutoverCommand.js.map +0 -1
  252. package/dist/es/commands/GetLaunchConfigurationCommand.js.map +0 -1
  253. package/dist/es/commands/GetReplicationConfigurationCommand.js.map +0 -1
  254. package/dist/es/commands/InitializeServiceCommand.js.map +0 -1
  255. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  256. package/dist/es/commands/MarkAsArchivedCommand.js.map +0 -1
  257. package/dist/es/commands/RetryDataReplicationCommand.js.map +0 -1
  258. package/dist/es/commands/StartCutoverCommand.js.map +0 -1
  259. package/dist/es/commands/StartTestCommand.js.map +0 -1
  260. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  261. package/dist/es/commands/TerminateTargetInstancesCommand.js.map +0 -1
  262. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  263. package/dist/es/commands/UpdateLaunchConfigurationCommand.js.map +0 -1
  264. package/dist/es/commands/UpdateReplicationConfigurationCommand.js.map +0 -1
  265. package/dist/es/commands/UpdateReplicationConfigurationTemplateCommand.js.map +0 -1
  266. package/dist/es/endpoints.js.map +0 -1
  267. package/dist/es/index.js +0 -34
  268. package/dist/es/index.js.map +0 -1
  269. package/dist/es/models/index.js +0 -2
  270. package/dist/es/models/index.js.map +0 -1
  271. package/dist/es/models/models_0.js.map +0 -1
  272. package/dist/es/package.json +0 -91
  273. package/dist/es/pagination/DescribeJobLogItemsPaginator.js.map +0 -1
  274. package/dist/es/pagination/DescribeJobsPaginator.js.map +0 -1
  275. package/dist/es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js.map +0 -1
  276. package/dist/es/pagination/DescribeSourceServersPaginator.js.map +0 -1
  277. package/dist/es/pagination/Interfaces.js +0 -2
  278. package/dist/es/pagination/Interfaces.js.map +0 -1
  279. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  280. package/dist/es/runtimeConfig.browser.js.map +0 -1
  281. package/dist/es/runtimeConfig.js.map +0 -1
  282. package/dist/es/runtimeConfig.native.js.map +0 -1
  283. package/dist/es/runtimeConfig.shared.js.map +0 -1
  284. package/dist/types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +0 -35
  285. package/dist/types/ts3.4/commands/DeleteJobCommand.d.ts +0 -35
  286. package/dist/types/ts3.4/commands/DescribeJobsCommand.d.ts +0 -35
  287. package/dist/types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +0 -35
  288. package/dist/types/ts3.4/commands/FinalizeCutoverCommand.d.ts +0 -35
  289. package/dist/types/ts3.4/commands/MarkAsArchivedCommand.d.ts +0 -35
  290. package/dist/types/ts3.4/commands/RetryDataReplicationCommand.d.ts +0 -35
  291. package/dist/types/ts3.4/commands/StartCutoverCommand.d.ts +0 -35
  292. package/dist/types/ts3.4/commands/StartTestCommand.d.ts +0 -35
  293. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  294. package/dist/types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +0 -35
  295. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  296. package/endpoints.ts +0 -57
  297. package/jest.config.js +0 -4
  298. package/models/models_0.ts +0 -2416
  299. package/pagination/DescribeJobLogItemsPaginator.ts +0 -58
  300. package/pagination/DescribeJobsPaginator.ts +0 -58
  301. package/pagination/DescribeReplicationConfigurationTemplatesPaginator.ts +0 -58
  302. package/pagination/DescribeSourceServersPaginator.ts +0 -58
  303. package/pagination/Interfaces.ts +0 -7
  304. package/protocols/Aws_restJson1.ts +0 -4171
  305. package/runtimeConfig.browser.ts +0 -40
  306. package/runtimeConfig.native.ts +0 -16
  307. package/runtimeConfig.shared.ts +0 -16
  308. package/runtimeConfig.ts +0 -45
  309. package/tsconfig.es.json +0 -12
  310. package/tsconfig.json +0 -32
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeJobLogItems = void 0;
4
+ const DescribeJobLogItemsCommand_1 = require("../commands/DescribeJobLogItemsCommand");
4
5
  const Mgn_1 = require("../Mgn");
5
6
  const MgnClient_1 = require("../MgnClient");
6
- const DescribeJobLogItemsCommand_1 = require("../commands/DescribeJobLogItemsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeJobLogItemsCommand_1.DescribeJobLogItemsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeJobLogItems(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeJobLogItems(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeJobLogItems(config, input, ...additionalArgument
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeJobLogItems = paginateDescribeJobLogItems;
46
- //# sourceMappingURL=DescribeJobLogItemsPaginator.js.map
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeJobs = void 0;
4
+ const DescribeJobsCommand_1 = require("../commands/DescribeJobsCommand");
4
5
  const Mgn_1 = require("../Mgn");
5
6
  const MgnClient_1 = require("../MgnClient");
6
- const DescribeJobsCommand_1 = require("../commands/DescribeJobsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeJobsCommand_1.DescribeJobsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeJobs(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeJobs(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeJobs(config, input, ...additionalArguments) {
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeJobs = paginateDescribeJobs;
46
- //# sourceMappingURL=DescribeJobsPaginator.js.map
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeReplicationConfigurationTemplates = void 0;
4
+ const DescribeReplicationConfigurationTemplatesCommand_1 = require("../commands/DescribeReplicationConfigurationTemplatesCommand");
4
5
  const Mgn_1 = require("../Mgn");
5
6
  const MgnClient_1 = require("../MgnClient");
6
- const DescribeReplicationConfigurationTemplatesCommand_1 = require("../commands/DescribeReplicationConfigurationTemplatesCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeReplicationConfigurationTemplatesCommand_1.DescribeReplicationConfigurationTemplatesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeReplicationConfigurationTemplates(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeReplicationConfigurationTemplates(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeReplicationConfigurationTemplates(config, input,
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeReplicationConfigurationTemplates = paginateDescribeReplicationConfigurationTemplates;
46
- //# sourceMappingURL=DescribeReplicationConfigurationTemplatesPaginator.js.map
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeSourceServers = void 0;
4
+ const DescribeSourceServersCommand_1 = require("../commands/DescribeSourceServersCommand");
4
5
  const Mgn_1 = require("../Mgn");
5
6
  const MgnClient_1 = require("../MgnClient");
6
- const DescribeSourceServersCommand_1 = require("../commands/DescribeSourceServersCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeSourceServersCommand_1.DescribeSourceServersCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeSourceServers(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeSourceServers(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeSourceServers(config, input, ...additionalArgume
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeSourceServers = paginateDescribeSourceServers;
46
- //# sourceMappingURL=DescribeSourceServersPaginator.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -8,7 +8,7 @@ const serializeAws_restJson1ChangeServerLifeCycleStateCommand = async (input, co
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/ChangeServerLifeCycleState";
11
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/ChangeServerLifeCycleState";
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.lifeCycle !== undefined &&
@@ -34,7 +34,7 @@ const serializeAws_restJson1CreateReplicationConfigurationTemplateCommand = asyn
34
34
  const headers = {
35
35
  "content-type": "application/json",
36
36
  };
37
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/CreateReplicationConfigurationTemplate";
37
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/CreateReplicationConfigurationTemplate";
38
38
  let body;
39
39
  body = JSON.stringify({
40
40
  ...(input.associateDefaultSecurityGroup !== undefined &&
@@ -89,7 +89,7 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
89
89
  const headers = {
90
90
  "content-type": "application/json",
91
91
  };
92
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteJob";
92
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteJob";
93
93
  let body;
94
94
  body = JSON.stringify({
95
95
  ...(input.jobID !== undefined && input.jobID !== null && { jobID: input.jobID }),
@@ -110,7 +110,7 @@ const serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand = asyn
110
110
  const headers = {
111
111
  "content-type": "application/json",
112
112
  };
113
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteReplicationConfigurationTemplate";
113
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteReplicationConfigurationTemplate";
114
114
  let body;
115
115
  body = JSON.stringify({
116
116
  ...(input.replicationConfigurationTemplateID !== undefined &&
@@ -134,7 +134,7 @@ const serializeAws_restJson1DeleteSourceServerCommand = async (input, context) =
134
134
  const headers = {
135
135
  "content-type": "application/json",
136
136
  };
137
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteSourceServer";
137
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteSourceServer";
138
138
  let body;
139
139
  body = JSON.stringify({
140
140
  ...(input.sourceServerID !== undefined &&
@@ -156,7 +156,7 @@ const serializeAws_restJson1DescribeJobLogItemsCommand = async (input, context)
156
156
  const headers = {
157
157
  "content-type": "application/json",
158
158
  };
159
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobLogItems";
159
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobLogItems";
160
160
  let body;
161
161
  body = JSON.stringify({
162
162
  ...(input.jobID !== undefined && input.jobID !== null && { jobID: input.jobID }),
@@ -179,7 +179,7 @@ const serializeAws_restJson1DescribeJobsCommand = async (input, context) => {
179
179
  const headers = {
180
180
  "content-type": "application/json",
181
181
  };
182
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobs";
182
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobs";
183
183
  let body;
184
184
  body = JSON.stringify({
185
185
  ...(input.filters !== undefined &&
@@ -203,7 +203,7 @@ const serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand = a
203
203
  const headers = {
204
204
  "content-type": "application/json",
205
205
  };
206
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
206
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
207
207
  "/DescribeReplicationConfigurationTemplates";
208
208
  let body;
209
209
  body = JSON.stringify({
@@ -230,7 +230,7 @@ const serializeAws_restJson1DescribeSourceServersCommand = async (input, context
230
230
  const headers = {
231
231
  "content-type": "application/json",
232
232
  };
233
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSourceServers";
233
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSourceServers";
234
234
  let body;
235
235
  body = JSON.stringify({
236
236
  ...(input.filters !== undefined &&
@@ -256,7 +256,7 @@ const serializeAws_restJson1DisconnectFromServiceCommand = async (input, context
256
256
  const headers = {
257
257
  "content-type": "application/json",
258
258
  };
259
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DisconnectFromService";
259
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DisconnectFromService";
260
260
  let body;
261
261
  body = JSON.stringify({
262
262
  ...(input.sourceServerID !== undefined &&
@@ -278,7 +278,7 @@ const serializeAws_restJson1FinalizeCutoverCommand = async (input, context) => {
278
278
  const headers = {
279
279
  "content-type": "application/json",
280
280
  };
281
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/FinalizeCutover";
281
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/FinalizeCutover";
282
282
  let body;
283
283
  body = JSON.stringify({
284
284
  ...(input.sourceServerID !== undefined &&
@@ -300,7 +300,7 @@ const serializeAws_restJson1GetLaunchConfigurationCommand = async (input, contex
300
300
  const headers = {
301
301
  "content-type": "application/json",
302
302
  };
303
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/GetLaunchConfiguration";
303
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/GetLaunchConfiguration";
304
304
  let body;
305
305
  body = JSON.stringify({
306
306
  ...(input.sourceServerID !== undefined &&
@@ -322,7 +322,7 @@ const serializeAws_restJson1GetReplicationConfigurationCommand = async (input, c
322
322
  const headers = {
323
323
  "content-type": "application/json",
324
324
  };
325
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/GetReplicationConfiguration";
325
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/GetReplicationConfiguration";
326
326
  let body;
327
327
  body = JSON.stringify({
328
328
  ...(input.sourceServerID !== undefined &&
@@ -344,7 +344,7 @@ const serializeAws_restJson1InitializeServiceCommand = async (input, context) =>
344
344
  const headers = {
345
345
  "content-type": "application/json",
346
346
  };
347
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/InitializeService";
347
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/InitializeService";
348
348
  let body;
349
349
  body = "";
350
350
  return new protocol_http_1.HttpRequest({
@@ -389,7 +389,7 @@ const serializeAws_restJson1MarkAsArchivedCommand = async (input, context) => {
389
389
  const headers = {
390
390
  "content-type": "application/json",
391
391
  };
392
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/MarkAsArchived";
392
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/MarkAsArchived";
393
393
  let body;
394
394
  body = JSON.stringify({
395
395
  ...(input.sourceServerID !== undefined &&
@@ -411,7 +411,7 @@ const serializeAws_restJson1RetryDataReplicationCommand = async (input, context)
411
411
  const headers = {
412
412
  "content-type": "application/json",
413
413
  };
414
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/RetryDataReplication";
414
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/RetryDataReplication";
415
415
  let body;
416
416
  body = JSON.stringify({
417
417
  ...(input.sourceServerID !== undefined &&
@@ -433,7 +433,7 @@ const serializeAws_restJson1StartCutoverCommand = async (input, context) => {
433
433
  const headers = {
434
434
  "content-type": "application/json",
435
435
  };
436
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/StartCutover";
436
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/StartCutover";
437
437
  let body;
438
438
  body = JSON.stringify({
439
439
  ...(input.sourceServerIDs !== undefined &&
@@ -459,7 +459,7 @@ const serializeAws_restJson1StartTestCommand = async (input, context) => {
459
459
  const headers = {
460
460
  "content-type": "application/json",
461
461
  };
462
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/StartTest";
462
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/StartTest";
463
463
  let body;
464
464
  body = JSON.stringify({
465
465
  ...(input.sourceServerIDs !== undefined &&
@@ -517,7 +517,7 @@ const serializeAws_restJson1TerminateTargetInstancesCommand = async (input, cont
517
517
  const headers = {
518
518
  "content-type": "application/json",
519
519
  };
520
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/TerminateTargetInstances";
520
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/TerminateTargetInstances";
521
521
  let body;
522
522
  body = JSON.stringify({
523
523
  ...(input.sourceServerIDs !== undefined &&
@@ -573,7 +573,7 @@ const serializeAws_restJson1UpdateLaunchConfigurationCommand = async (input, con
573
573
  const headers = {
574
574
  "content-type": "application/json",
575
575
  };
576
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateLaunchConfiguration";
576
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateLaunchConfiguration";
577
577
  let body;
578
578
  body = JSON.stringify({
579
579
  ...(input.copyPrivateIp !== undefined && input.copyPrivateIp !== null && { copyPrivateIp: input.copyPrivateIp }),
@@ -606,7 +606,7 @@ const serializeAws_restJson1UpdateReplicationConfigurationCommand = async (input
606
606
  const headers = {
607
607
  "content-type": "application/json",
608
608
  };
609
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateReplicationConfiguration";
609
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateReplicationConfiguration";
610
610
  let body;
611
611
  body = JSON.stringify({
612
612
  ...(input.associateDefaultSecurityGroup !== undefined &&
@@ -666,7 +666,7 @@ const serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand = asyn
666
666
  const headers = {
667
667
  "content-type": "application/json",
668
668
  };
669
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateReplicationConfigurationTemplate";
669
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateReplicationConfigurationTemplate";
670
670
  let body;
671
671
  body = JSON.stringify({
672
672
  ...(input.arn !== undefined && input.arn !== null && { arn: input.arn }),
@@ -3505,14 +3505,12 @@ const deserializeMetadata = (output) => {
3505
3505
  cfId: output.headers["x-amz-cf-id"],
3506
3506
  });
3507
3507
  };
3508
- // Collect low-level response body stream to Uint8Array.
3509
3508
  const collectBody = (streamBody = new Uint8Array(), context) => {
3510
3509
  if (streamBody instanceof Uint8Array) {
3511
3510
  return Promise.resolve(streamBody);
3512
3511
  }
3513
3512
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
3514
3513
  };
3515
- // Encode Uint8Array data into string with utf-8.
3516
3514
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
3517
3515
  const isSerializableHeaderValue = (value) => value !== undefined &&
3518
3516
  value !== null &&
@@ -3525,9 +3523,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
3525
3523
  }
3526
3524
  return {};
3527
3525
  });
3528
- /**
3529
- * Load an error code for the aws.rest-json-1.1 protocol.
3530
- */
3531
3526
  const loadRestJsonErrorCode = (output, data) => {
3532
3527
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
3533
3528
  const sanitizeErrorCode = (rawValue) => {
@@ -3552,4 +3547,3 @@ const loadRestJsonErrorCode = (output, data) => {
3552
3547
  }
3553
3548
  return "";
3554
3549
  };
3555
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { MgnClient } from "./MgnClient";
3
2
  import { ChangeServerLifeCycleStateCommand, } from "./commands/ChangeServerLifeCycleStateCommand";
4
3
  import { CreateReplicationConfigurationTemplateCommand, } from "./commands/CreateReplicationConfigurationTemplateCommand";
5
4
  import { DeleteJobCommand } from "./commands/DeleteJobCommand";
@@ -25,10 +24,8 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
24
  import { UpdateLaunchConfigurationCommand, } from "./commands/UpdateLaunchConfigurationCommand";
26
25
  import { UpdateReplicationConfigurationCommand, } from "./commands/UpdateReplicationConfigurationCommand";
27
26
  import { UpdateReplicationConfigurationTemplateCommand, } from "./commands/UpdateReplicationConfigurationTemplateCommand";
28
- /**
29
- * <p>The Application Migration Service service.</p>
30
- */
31
- var Mgn = /** @class */ (function (_super) {
27
+ import { MgnClient } from "./MgnClient";
28
+ var Mgn = (function (_super) {
32
29
  __extends(Mgn, _super);
33
30
  function Mgn() {
34
31
  return _super !== null && _super.apply(this, arguments) || this;
@@ -386,4 +383,3 @@ var Mgn = /** @class */ (function (_super) {
386
383
  return Mgn;
387
384
  }(MgnClient));
388
385
  export { Mgn };
389
- //# sourceMappingURL=Mgn.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,10 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>The Application Migration Service service.</p>
13
- */
14
- var MgnClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var MgnClient = (function (_super) {
15
12
  __extends(MgnClient, _super);
16
13
  function MgnClient(configuration) {
17
14
  var _this = this;
@@ -32,15 +29,9 @@ var MgnClient = /** @class */ (function (_super) {
32
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
33
30
  return _this;
34
31
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
32
  MgnClient.prototype.destroy = function () {
41
33
  _super.prototype.destroy.call(this);
42
34
  };
43
35
  return MgnClient;
44
36
  }(__Client));
45
37
  export { MgnClient };
46
- //# sourceMappingURL=MgnClient.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ChangeServerLifeCycleStateRequest, SourceServer } from "../models/models_0";
3
- import { deserializeAws_restJson1ChangeServerLifeCycleStateCommand, serializeAws_restJson1ChangeServerLifeCycleStateCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MgnClient, ChangeServerLifeCycleStateCommand } from "@aws-sdk/client-mgn"; // ES Modules import
12
- * // const { MgnClient, ChangeServerLifeCycleStateCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
13
- * const client = new MgnClient(config);
14
- * const command = new ChangeServerLifeCycleStateCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ChangeServerLifeCycleStateCommandInput} for command's `input` shape.
19
- * @see {@link ChangeServerLifeCycleStateCommandOutput} for command's `response` shape.
20
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ChangeServerLifeCycleStateCommand = /** @class */ (function (_super) {
4
+ import { ChangeServerLifeCycleStateRequest, SourceServer } from "../models/models_0";
5
+ import { deserializeAws_restJson1ChangeServerLifeCycleStateCommand, serializeAws_restJson1ChangeServerLifeCycleStateCommand, } from "../protocols/Aws_restJson1";
6
+ var ChangeServerLifeCycleStateCommand = (function (_super) {
24
7
  __extends(ChangeServerLifeCycleStateCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ChangeServerLifeCycleStateCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ChangeServerLifeCycleStateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var ChangeServerLifeCycleStateCommand = /** @class */ (function (_super) {
62
37
  return ChangeServerLifeCycleStateCommand;
63
38
  }($Command));
64
39
  export { ChangeServerLifeCycleStateCommand };
65
- //# sourceMappingURL=ChangeServerLifeCycleStateCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateReplicationConfigurationTemplateRequest, ReplicationConfigurationTemplate } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand, serializeAws_restJson1CreateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a new ReplicationConfigurationTemplate.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MgnClient, CreateReplicationConfigurationTemplateCommand } from "@aws-sdk/client-mgn"; // ES Modules import
12
- * // const { MgnClient, CreateReplicationConfigurationTemplateCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
13
- * const client = new MgnClient(config);
14
- * const command = new CreateReplicationConfigurationTemplateCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateReplicationConfigurationTemplateCommandInput} for command's `input` shape.
19
- * @see {@link CreateReplicationConfigurationTemplateCommandOutput} for command's `response` shape.
20
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateReplicationConfigurationTemplateCommand = /** @class */ (function (_super) {
4
+ import { CreateReplicationConfigurationTemplateRequest, ReplicationConfigurationTemplate } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand, serializeAws_restJson1CreateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateReplicationConfigurationTemplateCommand = (function (_super) {
24
7
  __extends(CreateReplicationConfigurationTemplateCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateReplicationConfigurationTemplateCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateReplicationConfigurationTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateReplicationConfigurationTemplateCommand = /** @class */ (function (_su
62
37
  return CreateReplicationConfigurationTemplateCommand;
63
38
  }($Command));
64
39
  export { CreateReplicationConfigurationTemplateCommand };
65
- //# sourceMappingURL=CreateReplicationConfigurationTemplateCommand.js.map