@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,106 +0,0 @@
1
- import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
2
- import {
3
- DeleteReplicationConfigurationTemplateRequest,
4
- DeleteReplicationConfigurationTemplateResponse,
5
- } from "../models/models_0";
6
- import {
7
- deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand,
8
- serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand,
9
- } from "../protocols/Aws_restJson1";
10
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
11
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
12
- import { Command as $Command } from "@aws-sdk/smithy-client";
13
- import {
14
- FinalizeHandlerArguments,
15
- Handler,
16
- HandlerExecutionContext,
17
- MiddlewareStack,
18
- HttpHandlerOptions as __HttpHandlerOptions,
19
- MetadataBearer as __MetadataBearer,
20
- SerdeContext as __SerdeContext,
21
- } from "@aws-sdk/types";
22
-
23
- export interface DeleteReplicationConfigurationTemplateCommandInput
24
- extends DeleteReplicationConfigurationTemplateRequest {}
25
- export interface DeleteReplicationConfigurationTemplateCommandOutput
26
- extends DeleteReplicationConfigurationTemplateResponse,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Deletes a single Replication Configuration Template by ID</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { MgnClient, DeleteReplicationConfigurationTemplateCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
- * // const { MgnClient, DeleteReplicationConfigurationTemplateCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
36
- * const client = new MgnClient(config);
37
- * const command = new DeleteReplicationConfigurationTemplateCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DeleteReplicationConfigurationTemplateCommandInput} for command's `input` shape.
42
- * @see {@link DeleteReplicationConfigurationTemplateCommandOutput} for command's `response` shape.
43
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class DeleteReplicationConfigurationTemplateCommand extends $Command<
47
- DeleteReplicationConfigurationTemplateCommandInput,
48
- DeleteReplicationConfigurationTemplateCommandOutput,
49
- MgnClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: DeleteReplicationConfigurationTemplateCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: MgnClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "MgnClient";
74
- const commandName = "DeleteReplicationConfigurationTemplateCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: DeleteReplicationConfigurationTemplateRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: DeleteReplicationConfigurationTemplateResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(
91
- input: DeleteReplicationConfigurationTemplateCommandInput,
92
- context: __SerdeContext
93
- ): Promise<__HttpRequest> {
94
- return serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand(input, context);
95
- }
96
-
97
- private deserialize(
98
- output: __HttpResponse,
99
- context: __SerdeContext
100
- ): Promise<DeleteReplicationConfigurationTemplateCommandOutput> {
101
- return deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,94 +0,0 @@
1
- import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
2
- import { DeleteSourceServerRequest, DeleteSourceServerResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteSourceServerCommand,
5
- serializeAws_restJson1DeleteSourceServerCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteSourceServerCommandInput extends DeleteSourceServerRequest {}
21
- export interface DeleteSourceServerCommandOutput extends DeleteSourceServerResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a single source server by ID.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MgnClient, DeleteSourceServerCommand } from "@aws-sdk/client-mgn"; // ES Modules import
29
- * // const { MgnClient, DeleteSourceServerCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
30
- * const client = new MgnClient(config);
31
- * const command = new DeleteSourceServerCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteSourceServerCommandInput} for command's `input` shape.
36
- * @see {@link DeleteSourceServerCommandOutput} for command's `response` shape.
37
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteSourceServerCommand extends $Command<
41
- DeleteSourceServerCommandInput,
42
- DeleteSourceServerCommandOutput,
43
- MgnClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteSourceServerCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: MgnClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "MgnClient";
68
- const commandName = "DeleteSourceServerCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteSourceServerRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteSourceServerResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DeleteSourceServerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DeleteSourceServerCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSourceServerCommandOutput> {
89
- return deserializeAws_restJson1DeleteSourceServerCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
2
- import { DescribeJobLogItemsRequest, DescribeJobLogItemsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeJobLogItemsCommand,
5
- serializeAws_restJson1DescribeJobLogItemsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeJobLogItemsCommandInput extends DescribeJobLogItemsRequest {}
21
- export interface DescribeJobLogItemsCommandOutput extends DescribeJobLogItemsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves detailed Job log with paging.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MgnClient, DescribeJobLogItemsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
29
- * // const { MgnClient, DescribeJobLogItemsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
30
- * const client = new MgnClient(config);
31
- * const command = new DescribeJobLogItemsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeJobLogItemsCommandInput} for command's `input` shape.
36
- * @see {@link DescribeJobLogItemsCommandOutput} for command's `response` shape.
37
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeJobLogItemsCommand extends $Command<
41
- DescribeJobLogItemsCommandInput,
42
- DescribeJobLogItemsCommandOutput,
43
- MgnClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeJobLogItemsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: MgnClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "MgnClient";
68
- const commandName = "DescribeJobLogItemsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeJobLogItemsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeJobLogItemsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeJobLogItemsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DescribeJobLogItemsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeJobLogItemsCommandOutput> {
89
- return deserializeAws_restJson1DescribeJobLogItemsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
2
- import { DescribeJobsRequest, DescribeJobsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeJobsCommand,
5
- serializeAws_restJson1DescribeJobsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeJobsCommandInput extends DescribeJobsRequest {}
21
- export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normaly created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MgnClient, DescribeJobsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
29
- * // const { MgnClient, DescribeJobsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
30
- * const client = new MgnClient(config);
31
- * const command = new DescribeJobsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeJobsCommandInput} for command's `input` shape.
36
- * @see {@link DescribeJobsCommandOutput} for command's `response` shape.
37
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeJobsCommand extends $Command<
41
- DescribeJobsCommandInput,
42
- DescribeJobsCommandOutput,
43
- MgnClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeJobsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: MgnClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeJobsCommandInput, DescribeJobsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "MgnClient";
68
- const commandName = "DescribeJobsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeJobsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeJobsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DescribeJobsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeJobsCommandOutput> {
89
- return deserializeAws_restJson1DescribeJobsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,109 +0,0 @@
1
- import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
2
- import {
3
- DescribeReplicationConfigurationTemplatesRequest,
4
- DescribeReplicationConfigurationTemplatesResponse,
5
- } from "../models/models_0";
6
- import {
7
- deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand,
8
- serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand,
9
- } from "../protocols/Aws_restJson1";
10
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
11
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
12
- import { Command as $Command } from "@aws-sdk/smithy-client";
13
- import {
14
- FinalizeHandlerArguments,
15
- Handler,
16
- HandlerExecutionContext,
17
- MiddlewareStack,
18
- HttpHandlerOptions as __HttpHandlerOptions,
19
- MetadataBearer as __MetadataBearer,
20
- SerdeContext as __SerdeContext,
21
- } from "@aws-sdk/types";
22
-
23
- export interface DescribeReplicationConfigurationTemplatesCommandInput
24
- extends DescribeReplicationConfigurationTemplatesRequest {}
25
- export interface DescribeReplicationConfigurationTemplatesCommandOutput
26
- extends DescribeReplicationConfigurationTemplatesResponse,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { MgnClient, DescribeReplicationConfigurationTemplatesCommand } from "@aws-sdk/client-mgn"; // ES Modules import
35
- * // const { MgnClient, DescribeReplicationConfigurationTemplatesCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
36
- * const client = new MgnClient(config);
37
- * const command = new DescribeReplicationConfigurationTemplatesCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DescribeReplicationConfigurationTemplatesCommandInput} for command's `input` shape.
42
- * @see {@link DescribeReplicationConfigurationTemplatesCommandOutput} for command's `response` shape.
43
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class DescribeReplicationConfigurationTemplatesCommand extends $Command<
47
- DescribeReplicationConfigurationTemplatesCommandInput,
48
- DescribeReplicationConfigurationTemplatesCommandOutput,
49
- MgnClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: DescribeReplicationConfigurationTemplatesCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: MgnClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<
68
- DescribeReplicationConfigurationTemplatesCommandInput,
69
- DescribeReplicationConfigurationTemplatesCommandOutput
70
- > {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "MgnClient";
77
- const commandName = "DescribeReplicationConfigurationTemplatesCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: DescribeReplicationConfigurationTemplatesRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: DescribeReplicationConfigurationTemplatesResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(
94
- input: DescribeReplicationConfigurationTemplatesCommandInput,
95
- context: __SerdeContext
96
- ): Promise<__HttpRequest> {
97
- return serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand(input, context);
98
- }
99
-
100
- private deserialize(
101
- output: __HttpResponse,
102
- context: __SerdeContext
103
- ): Promise<DescribeReplicationConfigurationTemplatesCommandOutput> {
104
- return deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand(output, context);
105
- }
106
-
107
- // Start section: command_body_extra
108
- // End section: command_body_extra
109
- }
@@ -1,94 +0,0 @@
1
- import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
2
- import { DescribeSourceServersRequest, DescribeSourceServersResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeSourceServersCommand,
5
- serializeAws_restJson1DescribeSourceServersCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeSourceServersCommandInput extends DescribeSourceServersRequest {}
21
- export interface DescribeSourceServersCommandOutput extends DescribeSourceServersResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves all SourceServers or multiple SourceServers by ID.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MgnClient, DescribeSourceServersCommand } from "@aws-sdk/client-mgn"; // ES Modules import
29
- * // const { MgnClient, DescribeSourceServersCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
30
- * const client = new MgnClient(config);
31
- * const command = new DescribeSourceServersCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeSourceServersCommandInput} for command's `input` shape.
36
- * @see {@link DescribeSourceServersCommandOutput} for command's `response` shape.
37
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeSourceServersCommand extends $Command<
41
- DescribeSourceServersCommandInput,
42
- DescribeSourceServersCommandOutput,
43
- MgnClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeSourceServersCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: MgnClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "MgnClient";
68
- const commandName = "DescribeSourceServersCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeSourceServersRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeSourceServersResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeSourceServersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DescribeSourceServersCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSourceServersCommandOutput> {
89
- return deserializeAws_restJson1DescribeSourceServersCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }