@aws-sdk/client-datasync 3.31.0 → 3.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (475) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/DataSync.js +1 -1
  3. package/dist-cjs/DataSync.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/DataSyncClient.js +14 -14
  5. package/dist-cjs/DataSyncClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/CancelTaskExecutionCommand.js +5 -5
  7. package/dist-cjs/commands/CancelTaskExecutionCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/CreateAgentCommand.js +5 -5
  9. package/dist-cjs/commands/CreateAgentCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/CreateLocationEfsCommand.js +5 -5
  11. package/dist-cjs/commands/CreateLocationEfsCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/CreateLocationFsxWindowsCommand.js +5 -5
  13. package/dist-cjs/commands/CreateLocationFsxWindowsCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/CreateLocationNfsCommand.js +5 -5
  15. package/dist-cjs/commands/CreateLocationNfsCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/CreateLocationObjectStorageCommand.js +5 -5
  17. package/dist-cjs/commands/CreateLocationObjectStorageCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/CreateLocationS3Command.js +5 -5
  19. package/dist-cjs/commands/CreateLocationS3Command.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/CreateLocationSmbCommand.js +5 -5
  21. package/dist-cjs/commands/CreateLocationSmbCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/CreateTaskCommand.js +5 -5
  23. package/dist-cjs/commands/CreateTaskCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/DeleteAgentCommand.js +5 -5
  25. package/dist-cjs/commands/DeleteAgentCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/DeleteLocationCommand.js +5 -5
  27. package/dist-cjs/commands/DeleteLocationCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/DeleteTaskCommand.js +5 -5
  29. package/dist-cjs/commands/DeleteTaskCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/DescribeAgentCommand.js +5 -5
  31. package/dist-cjs/commands/DescribeAgentCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/DescribeLocationEfsCommand.js +5 -5
  33. package/dist-cjs/commands/DescribeLocationEfsCommand.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/commands/DescribeLocationFsxWindowsCommand.js +5 -5
  35. package/dist-cjs/commands/DescribeLocationFsxWindowsCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/DescribeLocationNfsCommand.js +5 -5
  37. package/dist-cjs/commands/DescribeLocationNfsCommand.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/commands/DescribeLocationObjectStorageCommand.js +5 -5
  39. package/dist-cjs/commands/DescribeLocationObjectStorageCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/DescribeLocationS3Command.js +5 -5
  41. package/dist-cjs/commands/DescribeLocationS3Command.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/commands/DescribeLocationSmbCommand.js +5 -5
  43. package/dist-cjs/commands/DescribeLocationSmbCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/DescribeTaskCommand.js +5 -5
  45. package/dist-cjs/commands/DescribeTaskCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/DescribeTaskExecutionCommand.js +5 -5
  47. package/dist-cjs/commands/DescribeTaskExecutionCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/commands/ListAgentsCommand.js +5 -5
  49. package/dist-cjs/commands/ListAgentsCommand.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/commands/ListLocationsCommand.js +5 -5
  51. package/dist-cjs/commands/ListLocationsCommand.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
  53. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  54. package/{dist/cjs → dist-cjs}/commands/ListTaskExecutionsCommand.js +5 -5
  55. package/dist-cjs/commands/ListTaskExecutionsCommand.js.map +1 -0
  56. package/{dist/cjs → dist-cjs}/commands/ListTasksCommand.js +5 -5
  57. package/dist-cjs/commands/ListTasksCommand.js.map +1 -0
  58. package/{dist/cjs → dist-cjs}/commands/StartTaskExecutionCommand.js +5 -5
  59. package/dist-cjs/commands/StartTaskExecutionCommand.js.map +1 -0
  60. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  61. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  62. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  63. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  64. package/{dist/cjs → dist-cjs}/commands/UpdateAgentCommand.js +5 -5
  65. package/dist-cjs/commands/UpdateAgentCommand.js.map +1 -0
  66. package/{dist/cjs → dist-cjs}/commands/UpdateLocationNfsCommand.js +5 -5
  67. package/dist-cjs/commands/UpdateLocationNfsCommand.js.map +1 -0
  68. package/{dist/cjs → dist-cjs}/commands/UpdateLocationObjectStorageCommand.js +5 -5
  69. package/dist-cjs/commands/UpdateLocationObjectStorageCommand.js.map +1 -0
  70. package/{dist/cjs → dist-cjs}/commands/UpdateLocationSmbCommand.js +5 -5
  71. package/dist-cjs/commands/UpdateLocationSmbCommand.js.map +1 -0
  72. package/{dist/cjs → dist-cjs}/commands/UpdateTaskCommand.js +5 -5
  73. package/dist-cjs/commands/UpdateTaskCommand.js.map +1 -0
  74. package/{dist/cjs → dist-cjs}/commands/UpdateTaskExecutionCommand.js +5 -5
  75. package/dist-cjs/commands/UpdateTaskExecutionCommand.js.map +1 -0
  76. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  77. package/dist-cjs/endpoints.js.map +1 -0
  78. package/dist-cjs/index.js +48 -0
  79. package/dist-cjs/index.js.map +1 -0
  80. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  81. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  82. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  83. package/dist-cjs/models/models_0.js.map +1 -0
  84. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  85. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  86. package/{dist/cjs → dist-cjs}/pagination/ListAgentsPaginator.js +1 -1
  87. package/dist-cjs/pagination/ListAgentsPaginator.js.map +1 -0
  88. package/{dist/cjs → dist-cjs}/pagination/ListLocationsPaginator.js +1 -1
  89. package/dist-cjs/pagination/ListLocationsPaginator.js.map +1 -0
  90. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -1
  91. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +1 -0
  92. package/{dist/cjs → dist-cjs}/pagination/ListTaskExecutionsPaginator.js +1 -1
  93. package/dist-cjs/pagination/ListTaskExecutionsPaginator.js.map +1 -0
  94. package/{dist/cjs → dist-cjs}/pagination/ListTasksPaginator.js +1 -1
  95. package/dist-cjs/pagination/ListTasksPaginator.js.map +1 -0
  96. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +118 -118
  97. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  98. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  99. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  100. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  101. package/dist-cjs/runtimeConfig.js.map +1 -0
  102. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  103. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  104. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  105. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  106. package/{dist/es → dist-es}/DataSync.js +2 -11
  107. package/dist-es/DataSync.js.map +1 -0
  108. package/{dist/es → dist-es}/DataSyncClient.js +2 -16
  109. package/dist-es/DataSyncClient.js.map +1 -0
  110. package/{dist/es → dist-es}/commands/CancelTaskExecutionCommand.js +4 -36
  111. package/dist-es/commands/CancelTaskExecutionCommand.js.map +1 -0
  112. package/dist-es/commands/CreateAgentCommand.js +40 -0
  113. package/dist-es/commands/CreateAgentCommand.js.map +1 -0
  114. package/{dist/es → dist-es}/commands/CreateLocationEfsCommand.js +4 -29
  115. package/dist-es/commands/CreateLocationEfsCommand.js.map +1 -0
  116. package/{dist/es → dist-es}/commands/CreateLocationFsxWindowsCommand.js +4 -29
  117. package/dist-es/commands/CreateLocationFsxWindowsCommand.js.map +1 -0
  118. package/{dist/es → dist-es}/commands/CreateLocationNfsCommand.js +4 -30
  119. package/dist-es/commands/CreateLocationNfsCommand.js.map +1 -0
  120. package/{dist/es → dist-es}/commands/CreateLocationObjectStorageCommand.js +4 -30
  121. package/dist-es/commands/CreateLocationObjectStorageCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/commands/CreateLocationS3Command.js +4 -35
  123. package/dist-es/commands/CreateLocationS3Command.js.map +1 -0
  124. package/{dist/es → dist-es}/commands/CreateLocationSmbCommand.js +4 -30
  125. package/dist-es/commands/CreateLocationSmbCommand.js.map +1 -0
  126. package/dist-es/commands/CreateTaskCommand.js +40 -0
  127. package/dist-es/commands/CreateTaskCommand.js.map +1 -0
  128. package/{dist/es → dist-es}/commands/DeleteAgentCommand.js +4 -32
  129. package/dist-es/commands/DeleteAgentCommand.js.map +1 -0
  130. package/{dist/es → dist-es}/commands/DeleteLocationCommand.js +4 -29
  131. package/dist-es/commands/DeleteLocationCommand.js.map +1 -0
  132. package/{dist/es → dist-es}/commands/DeleteTaskCommand.js +4 -29
  133. package/dist-es/commands/DeleteTaskCommand.js.map +1 -0
  134. package/{dist/es → dist-es}/commands/DescribeAgentCommand.js +4 -31
  135. package/dist-es/commands/DescribeAgentCommand.js.map +1 -0
  136. package/{dist/es → dist-es}/commands/DescribeLocationEfsCommand.js +4 -29
  137. package/dist-es/commands/DescribeLocationEfsCommand.js.map +1 -0
  138. package/{dist/es → dist-es}/commands/DescribeLocationFsxWindowsCommand.js +4 -30
  139. package/dist-es/commands/DescribeLocationFsxWindowsCommand.js.map +1 -0
  140. package/{dist/es → dist-es}/commands/DescribeLocationNfsCommand.js +4 -29
  141. package/dist-es/commands/DescribeLocationNfsCommand.js.map +1 -0
  142. package/{dist/es → dist-es}/commands/DescribeLocationObjectStorageCommand.js +4 -30
  143. package/dist-es/commands/DescribeLocationObjectStorageCommand.js.map +1 -0
  144. package/{dist/es → dist-es}/commands/DescribeLocationS3Command.js +4 -29
  145. package/dist-es/commands/DescribeLocationS3Command.js.map +1 -0
  146. package/{dist/es → dist-es}/commands/DescribeLocationSmbCommand.js +4 -29
  147. package/dist-es/commands/DescribeLocationSmbCommand.js.map +1 -0
  148. package/{dist/es → dist-es}/commands/DescribeTaskCommand.js +4 -29
  149. package/dist-es/commands/DescribeTaskCommand.js.map +1 -0
  150. package/{dist/es → dist-es}/commands/DescribeTaskExecutionCommand.js +4 -29
  151. package/dist-es/commands/DescribeTaskExecutionCommand.js.map +1 -0
  152. package/{dist/es → dist-es}/commands/ListAgentsCommand.js +4 -36
  153. package/dist-es/commands/ListAgentsCommand.js.map +1 -0
  154. package/{dist/es → dist-es}/commands/ListLocationsCommand.js +4 -32
  155. package/dist-es/commands/ListLocationsCommand.js.map +1 -0
  156. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -29
  157. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  158. package/{dist/es → dist-es}/commands/ListTaskExecutionsCommand.js +4 -29
  159. package/dist-es/commands/ListTaskExecutionsCommand.js.map +1 -0
  160. package/{dist/es → dist-es}/commands/ListTasksCommand.js +4 -29
  161. package/dist-es/commands/ListTasksCommand.js.map +1 -0
  162. package/{dist/es → dist-es}/commands/StartTaskExecutionCommand.js +4 -37
  163. package/dist-es/commands/StartTaskExecutionCommand.js.map +1 -0
  164. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -29
  165. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  166. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
  167. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  168. package/{dist/es → dist-es}/commands/UpdateAgentCommand.js +4 -29
  169. package/dist-es/commands/UpdateAgentCommand.js.map +1 -0
  170. package/{dist/es → dist-es}/commands/UpdateLocationNfsCommand.js +4 -30
  171. package/dist-es/commands/UpdateLocationNfsCommand.js.map +1 -0
  172. package/{dist/es → dist-es}/commands/UpdateLocationObjectStorageCommand.js +4 -31
  173. package/dist-es/commands/UpdateLocationObjectStorageCommand.js.map +1 -0
  174. package/{dist/es → dist-es}/commands/UpdateLocationSmbCommand.js +4 -31
  175. package/dist-es/commands/UpdateLocationSmbCommand.js.map +1 -0
  176. package/{dist/es → dist-es}/commands/UpdateTaskCommand.js +4 -29
  177. package/dist-es/commands/UpdateTaskCommand.js.map +1 -0
  178. package/{dist/es → dist-es}/commands/UpdateTaskExecutionCommand.js +4 -38
  179. package/dist-es/commands/UpdateTaskExecutionCommand.js.map +1 -0
  180. package/{dist/es → dist-es}/endpoints.js +1 -1
  181. package/dist-es/endpoints.js.map +1 -0
  182. package/{dist/es → dist-es}/index.js +0 -0
  183. package/dist-es/index.js.map +1 -0
  184. package/{dist/es → dist-es}/models/index.js +0 -0
  185. package/dist-es/models/index.js.map +1 -0
  186. package/{dist/es → dist-es}/models/models_0.js +0 -267
  187. package/dist-es/models/models_0.js.map +1 -0
  188. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  189. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  190. package/{dist/es → dist-es}/pagination/ListAgentsPaginator.js +17 -29
  191. package/dist-es/pagination/ListAgentsPaginator.js.map +1 -0
  192. package/{dist/es → dist-es}/pagination/ListLocationsPaginator.js +17 -29
  193. package/dist-es/pagination/ListLocationsPaginator.js.map +1 -0
  194. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -29
  195. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +1 -0
  196. package/{dist/es → dist-es}/pagination/ListTaskExecutionsPaginator.js +17 -29
  197. package/dist-es/pagination/ListTaskExecutionsPaginator.js.map +1 -0
  198. package/{dist/es → dist-es}/pagination/ListTasksPaginator.js +17 -29
  199. package/dist-es/pagination/ListTasksPaginator.js.map +1 -0
  200. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +529 -534
  201. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  202. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  203. package/dist-es/runtimeConfig.browser.js.map +1 -0
  204. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  205. package/dist-es/runtimeConfig.js.map +1 -0
  206. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  207. package/dist-es/runtimeConfig.native.js.map +1 -0
  208. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  209. package/dist-es/runtimeConfig.shared.js.map +1 -0
  210. package/{dist/types → dist-types}/DataSync.d.ts +2 -2
  211. package/{dist/types → dist-types}/DataSyncClient.d.ts +8 -8
  212. package/{dist/types → dist-types}/commands/CancelTaskExecutionCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/commands/CreateAgentCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/commands/CreateLocationEfsCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/commands/CreateLocationFsxWindowsCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/commands/CreateLocationNfsCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/commands/CreateLocationObjectStorageCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/commands/CreateLocationS3Command.d.ts +2 -2
  219. package/{dist/types → dist-types}/commands/CreateLocationSmbCommand.d.ts +2 -2
  220. package/{dist/types → dist-types}/commands/CreateTaskCommand.d.ts +2 -2
  221. package/{dist/types → dist-types}/commands/DeleteAgentCommand.d.ts +2 -2
  222. package/{dist/types → dist-types}/commands/DeleteLocationCommand.d.ts +2 -2
  223. package/{dist/types → dist-types}/commands/DeleteTaskCommand.d.ts +2 -2
  224. package/{dist/types → dist-types}/commands/DescribeAgentCommand.d.ts +2 -2
  225. package/{dist/types → dist-types}/commands/DescribeLocationEfsCommand.d.ts +2 -2
  226. package/{dist/types → dist-types}/commands/DescribeLocationFsxWindowsCommand.d.ts +2 -2
  227. package/{dist/types → dist-types}/commands/DescribeLocationNfsCommand.d.ts +2 -2
  228. package/{dist/types → dist-types}/commands/DescribeLocationObjectStorageCommand.d.ts +2 -2
  229. package/{dist/types → dist-types}/commands/DescribeLocationS3Command.d.ts +2 -2
  230. package/{dist/types → dist-types}/commands/DescribeLocationSmbCommand.d.ts +2 -2
  231. package/{dist/types → dist-types}/commands/DescribeTaskCommand.d.ts +2 -2
  232. package/{dist/types → dist-types}/commands/DescribeTaskExecutionCommand.d.ts +2 -2
  233. package/{dist/types → dist-types}/commands/ListAgentsCommand.d.ts +2 -2
  234. package/{dist/types → dist-types}/commands/ListLocationsCommand.d.ts +2 -2
  235. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  236. package/{dist/types → dist-types}/commands/ListTaskExecutionsCommand.d.ts +2 -2
  237. package/{dist/types → dist-types}/commands/ListTasksCommand.d.ts +2 -2
  238. package/{dist/types → dist-types}/commands/StartTaskExecutionCommand.d.ts +2 -2
  239. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  240. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  241. package/{dist/types → dist-types}/commands/UpdateAgentCommand.d.ts +2 -2
  242. package/{dist/types → dist-types}/commands/UpdateLocationNfsCommand.d.ts +2 -2
  243. package/{dist/types → dist-types}/commands/UpdateLocationObjectStorageCommand.d.ts +2 -2
  244. package/{dist/types → dist-types}/commands/UpdateLocationSmbCommand.d.ts +2 -2
  245. package/{dist/types → dist-types}/commands/UpdateTaskCommand.d.ts +2 -2
  246. package/{dist/types → dist-types}/commands/UpdateTaskExecutionCommand.d.ts +2 -2
  247. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  248. package/{dist/types → dist-types}/index.d.ts +0 -0
  249. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  250. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  251. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  252. package/{dist/types → dist-types}/pagination/ListAgentsPaginator.d.ts +1 -1
  253. package/{dist/types → dist-types}/pagination/ListLocationsPaginator.d.ts +1 -1
  254. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  255. package/{dist/types → dist-types}/pagination/ListTaskExecutionsPaginator.d.ts +1 -1
  256. package/{dist/types → dist-types}/pagination/ListTasksPaginator.d.ts +1 -1
  257. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  258. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  259. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  260. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  261. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  262. package/{dist/types → dist-types}/ts3.4/DataSync.d.ts +2 -2
  263. package/{dist/types → dist-types}/ts3.4/DataSyncClient.d.ts +8 -8
  264. package/{dist/types → dist-types}/ts3.4/commands/CancelTaskExecutionCommand.d.ts +2 -2
  265. package/{dist/types → dist-types}/ts3.4/commands/CreateAgentCommand.d.ts +2 -2
  266. package/{dist/types → dist-types}/ts3.4/commands/CreateLocationEfsCommand.d.ts +2 -2
  267. package/{dist/types → dist-types}/ts3.4/commands/CreateLocationFsxWindowsCommand.d.ts +2 -2
  268. package/{dist/types → dist-types}/ts3.4/commands/CreateLocationNfsCommand.d.ts +2 -2
  269. package/{dist/types → dist-types}/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +2 -2
  270. package/{dist/types → dist-types}/ts3.4/commands/CreateLocationS3Command.d.ts +2 -2
  271. package/{dist/types → dist-types}/ts3.4/commands/CreateLocationSmbCommand.d.ts +2 -2
  272. package/{dist/types → dist-types}/ts3.4/commands/CreateTaskCommand.d.ts +2 -2
  273. package/{dist/types → dist-types}/ts3.4/commands/DeleteAgentCommand.d.ts +2 -2
  274. package/{dist/types → dist-types}/ts3.4/commands/DeleteLocationCommand.d.ts +2 -2
  275. package/{dist/types → dist-types}/ts3.4/commands/DeleteTaskCommand.d.ts +2 -2
  276. package/{dist/types → dist-types}/ts3.4/commands/DescribeAgentCommand.d.ts +2 -2
  277. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationEfsCommand.d.ts +2 -2
  278. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationFsxWindowsCommand.d.ts +2 -2
  279. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationNfsCommand.d.ts +2 -2
  280. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +2 -2
  281. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationS3Command.d.ts +2 -2
  282. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationSmbCommand.d.ts +2 -2
  283. package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskCommand.d.ts +2 -2
  284. package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskExecutionCommand.d.ts +2 -2
  285. package/{dist/types → dist-types}/ts3.4/commands/ListAgentsCommand.d.ts +2 -2
  286. package/{dist/types → dist-types}/ts3.4/commands/ListLocationsCommand.d.ts +2 -2
  287. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  288. package/{dist/types → dist-types}/ts3.4/commands/ListTaskExecutionsCommand.d.ts +2 -2
  289. package/{dist/types → dist-types}/ts3.4/commands/ListTasksCommand.d.ts +2 -2
  290. package/{dist/types → dist-types}/ts3.4/commands/StartTaskExecutionCommand.d.ts +2 -2
  291. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  292. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  293. package/{dist/types → dist-types}/ts3.4/commands/UpdateAgentCommand.d.ts +2 -2
  294. package/{dist/types → dist-types}/ts3.4/commands/UpdateLocationNfsCommand.d.ts +2 -2
  295. package/{dist/types → dist-types}/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +2 -2
  296. package/{dist/types → dist-types}/ts3.4/commands/UpdateLocationSmbCommand.d.ts +2 -2
  297. package/{dist/types → dist-types}/ts3.4/commands/UpdateTaskCommand.d.ts +2 -2
  298. package/{dist/types → dist-types}/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +2 -2
  299. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  300. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  301. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  302. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  303. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  304. package/{dist/types → dist-types}/ts3.4/pagination/ListAgentsPaginator.d.ts +1 -1
  305. package/{dist/types → dist-types}/ts3.4/pagination/ListLocationsPaginator.d.ts +1 -1
  306. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  307. package/{dist/types → dist-types}/ts3.4/pagination/ListTaskExecutionsPaginator.d.ts +1 -1
  308. package/{dist/types → dist-types}/ts3.4/pagination/ListTasksPaginator.d.ts +1 -1
  309. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  310. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  311. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  312. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  313. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  314. package/package.json +50 -50
  315. package/{DataSync.ts → src/DataSync.ts} +3 -2
  316. package/{DataSyncClient.ts → src/DataSyncClient.ts} +58 -57
  317. package/{commands → src/commands}/CancelTaskExecutionCommand.ts +8 -7
  318. package/{commands → src/commands}/CreateAgentCommand.ts +8 -7
  319. package/{commands → src/commands}/CreateLocationEfsCommand.ts +8 -7
  320. package/{commands → src/commands}/CreateLocationFsxWindowsCommand.ts +8 -7
  321. package/{commands → src/commands}/CreateLocationNfsCommand.ts +8 -7
  322. package/{commands → src/commands}/CreateLocationObjectStorageCommand.ts +8 -7
  323. package/{commands → src/commands}/CreateLocationS3Command.ts +8 -7
  324. package/{commands → src/commands}/CreateLocationSmbCommand.ts +8 -7
  325. package/{commands → src/commands}/CreateTaskCommand.ts +8 -7
  326. package/{commands → src/commands}/DeleteAgentCommand.ts +8 -7
  327. package/{commands → src/commands}/DeleteLocationCommand.ts +8 -7
  328. package/{commands → src/commands}/DeleteTaskCommand.ts +8 -7
  329. package/{commands → src/commands}/DescribeAgentCommand.ts +8 -7
  330. package/{commands → src/commands}/DescribeLocationEfsCommand.ts +8 -7
  331. package/{commands → src/commands}/DescribeLocationFsxWindowsCommand.ts +8 -7
  332. package/{commands → src/commands}/DescribeLocationNfsCommand.ts +8 -7
  333. package/{commands → src/commands}/DescribeLocationObjectStorageCommand.ts +8 -7
  334. package/{commands → src/commands}/DescribeLocationS3Command.ts +8 -7
  335. package/{commands → src/commands}/DescribeLocationSmbCommand.ts +8 -7
  336. package/{commands → src/commands}/DescribeTaskCommand.ts +8 -7
  337. package/{commands → src/commands}/DescribeTaskExecutionCommand.ts +8 -7
  338. package/{commands → src/commands}/ListAgentsCommand.ts +8 -7
  339. package/{commands → src/commands}/ListLocationsCommand.ts +8 -7
  340. package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
  341. package/{commands → src/commands}/ListTaskExecutionsCommand.ts +8 -7
  342. package/{commands → src/commands}/ListTasksCommand.ts +5 -4
  343. package/{commands → src/commands}/StartTaskExecutionCommand.ts +8 -7
  344. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  345. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  346. package/{commands → src/commands}/UpdateAgentCommand.ts +8 -7
  347. package/{commands → src/commands}/UpdateLocationNfsCommand.ts +8 -7
  348. package/{commands → src/commands}/UpdateLocationObjectStorageCommand.ts +8 -7
  349. package/{commands → src/commands}/UpdateLocationSmbCommand.ts +8 -7
  350. package/{commands → src/commands}/UpdateTaskCommand.ts +8 -7
  351. package/{commands → src/commands}/UpdateTaskExecutionCommand.ts +8 -7
  352. package/{endpoints.ts → src/endpoints.ts} +1 -1
  353. package/{index.ts → src/index.ts} +0 -0
  354. package/{models → src/models}/index.ts +0 -0
  355. package/{models → src/models}/models_0.ts +0 -0
  356. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  357. package/{pagination → src/pagination}/ListAgentsPaginator.ts +3 -2
  358. package/{pagination → src/pagination}/ListLocationsPaginator.ts +4 -3
  359. package/{pagination → src/pagination}/ListTagsForResourcePaginator.ts +4 -3
  360. package/{pagination → src/pagination}/ListTaskExecutionsPaginator.ts +4 -3
  361. package/{pagination → src/pagination}/ListTasksPaginator.ts +3 -2
  362. package/{protocols → src/protocols}/Aws_json1_1.ts +53 -52
  363. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  364. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  365. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  366. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  367. package/tsconfig.es.json +1 -3
  368. package/tsconfig.json +7 -7
  369. package/tsconfig.types.json +9 -0
  370. package/dist/cjs/DataSync.js.map +0 -1
  371. package/dist/cjs/DataSyncClient.js.map +0 -1
  372. package/dist/cjs/commands/CancelTaskExecutionCommand.js.map +0 -1
  373. package/dist/cjs/commands/CreateAgentCommand.js.map +0 -1
  374. package/dist/cjs/commands/CreateLocationEfsCommand.js.map +0 -1
  375. package/dist/cjs/commands/CreateLocationFsxWindowsCommand.js.map +0 -1
  376. package/dist/cjs/commands/CreateLocationNfsCommand.js.map +0 -1
  377. package/dist/cjs/commands/CreateLocationObjectStorageCommand.js.map +0 -1
  378. package/dist/cjs/commands/CreateLocationS3Command.js.map +0 -1
  379. package/dist/cjs/commands/CreateLocationSmbCommand.js.map +0 -1
  380. package/dist/cjs/commands/CreateTaskCommand.js.map +0 -1
  381. package/dist/cjs/commands/DeleteAgentCommand.js.map +0 -1
  382. package/dist/cjs/commands/DeleteLocationCommand.js.map +0 -1
  383. package/dist/cjs/commands/DeleteTaskCommand.js.map +0 -1
  384. package/dist/cjs/commands/DescribeAgentCommand.js.map +0 -1
  385. package/dist/cjs/commands/DescribeLocationEfsCommand.js.map +0 -1
  386. package/dist/cjs/commands/DescribeLocationFsxWindowsCommand.js.map +0 -1
  387. package/dist/cjs/commands/DescribeLocationNfsCommand.js.map +0 -1
  388. package/dist/cjs/commands/DescribeLocationObjectStorageCommand.js.map +0 -1
  389. package/dist/cjs/commands/DescribeLocationS3Command.js.map +0 -1
  390. package/dist/cjs/commands/DescribeLocationSmbCommand.js.map +0 -1
  391. package/dist/cjs/commands/DescribeTaskCommand.js.map +0 -1
  392. package/dist/cjs/commands/DescribeTaskExecutionCommand.js.map +0 -1
  393. package/dist/cjs/commands/ListAgentsCommand.js.map +0 -1
  394. package/dist/cjs/commands/ListLocationsCommand.js.map +0 -1
  395. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  396. package/dist/cjs/commands/ListTaskExecutionsCommand.js.map +0 -1
  397. package/dist/cjs/commands/ListTasksCommand.js.map +0 -1
  398. package/dist/cjs/commands/StartTaskExecutionCommand.js.map +0 -1
  399. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  400. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  401. package/dist/cjs/commands/UpdateAgentCommand.js.map +0 -1
  402. package/dist/cjs/commands/UpdateLocationNfsCommand.js.map +0 -1
  403. package/dist/cjs/commands/UpdateLocationObjectStorageCommand.js.map +0 -1
  404. package/dist/cjs/commands/UpdateLocationSmbCommand.js.map +0 -1
  405. package/dist/cjs/commands/UpdateTaskCommand.js.map +0 -1
  406. package/dist/cjs/commands/UpdateTaskExecutionCommand.js.map +0 -1
  407. package/dist/cjs/endpoints.js.map +0 -1
  408. package/dist/cjs/index.js +0 -48
  409. package/dist/cjs/index.js.map +0 -1
  410. package/dist/cjs/models/models_0.js.map +0 -1
  411. package/dist/cjs/package.json +0 -91
  412. package/dist/cjs/pagination/ListAgentsPaginator.js.map +0 -1
  413. package/dist/cjs/pagination/ListLocationsPaginator.js.map +0 -1
  414. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  415. package/dist/cjs/pagination/ListTaskExecutionsPaginator.js.map +0 -1
  416. package/dist/cjs/pagination/ListTasksPaginator.js.map +0 -1
  417. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  418. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  419. package/dist/cjs/runtimeConfig.js.map +0 -1
  420. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  421. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  422. package/dist/es/DataSync.js.map +0 -1
  423. package/dist/es/DataSyncClient.js.map +0 -1
  424. package/dist/es/commands/CancelTaskExecutionCommand.js.map +0 -1
  425. package/dist/es/commands/CreateAgentCommand.js +0 -79
  426. package/dist/es/commands/CreateAgentCommand.js.map +0 -1
  427. package/dist/es/commands/CreateLocationEfsCommand.js.map +0 -1
  428. package/dist/es/commands/CreateLocationFsxWindowsCommand.js.map +0 -1
  429. package/dist/es/commands/CreateLocationNfsCommand.js.map +0 -1
  430. package/dist/es/commands/CreateLocationObjectStorageCommand.js.map +0 -1
  431. package/dist/es/commands/CreateLocationS3Command.js.map +0 -1
  432. package/dist/es/commands/CreateLocationSmbCommand.js.map +0 -1
  433. package/dist/es/commands/CreateTaskCommand.js +0 -83
  434. package/dist/es/commands/CreateTaskCommand.js.map +0 -1
  435. package/dist/es/commands/DeleteAgentCommand.js.map +0 -1
  436. package/dist/es/commands/DeleteLocationCommand.js.map +0 -1
  437. package/dist/es/commands/DeleteTaskCommand.js.map +0 -1
  438. package/dist/es/commands/DescribeAgentCommand.js.map +0 -1
  439. package/dist/es/commands/DescribeLocationEfsCommand.js.map +0 -1
  440. package/dist/es/commands/DescribeLocationFsxWindowsCommand.js.map +0 -1
  441. package/dist/es/commands/DescribeLocationNfsCommand.js.map +0 -1
  442. package/dist/es/commands/DescribeLocationObjectStorageCommand.js.map +0 -1
  443. package/dist/es/commands/DescribeLocationS3Command.js.map +0 -1
  444. package/dist/es/commands/DescribeLocationSmbCommand.js.map +0 -1
  445. package/dist/es/commands/DescribeTaskCommand.js.map +0 -1
  446. package/dist/es/commands/DescribeTaskExecutionCommand.js.map +0 -1
  447. package/dist/es/commands/ListAgentsCommand.js.map +0 -1
  448. package/dist/es/commands/ListLocationsCommand.js.map +0 -1
  449. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  450. package/dist/es/commands/ListTaskExecutionsCommand.js.map +0 -1
  451. package/dist/es/commands/ListTasksCommand.js.map +0 -1
  452. package/dist/es/commands/StartTaskExecutionCommand.js.map +0 -1
  453. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  454. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  455. package/dist/es/commands/UpdateAgentCommand.js.map +0 -1
  456. package/dist/es/commands/UpdateLocationNfsCommand.js.map +0 -1
  457. package/dist/es/commands/UpdateLocationObjectStorageCommand.js.map +0 -1
  458. package/dist/es/commands/UpdateLocationSmbCommand.js.map +0 -1
  459. package/dist/es/commands/UpdateTaskCommand.js.map +0 -1
  460. package/dist/es/commands/UpdateTaskExecutionCommand.js.map +0 -1
  461. package/dist/es/endpoints.js.map +0 -1
  462. package/dist/es/index.js.map +0 -1
  463. package/dist/es/models/index.js.map +0 -1
  464. package/dist/es/models/models_0.js.map +0 -1
  465. package/dist/es/package.json +0 -91
  466. package/dist/es/pagination/ListAgentsPaginator.js.map +0 -1
  467. package/dist/es/pagination/ListLocationsPaginator.js.map +0 -1
  468. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  469. package/dist/es/pagination/ListTaskExecutionsPaginator.js.map +0 -1
  470. package/dist/es/pagination/ListTasksPaginator.js.map +0 -1
  471. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  472. package/dist/es/runtimeConfig.browser.js.map +0 -1
  473. package/dist/es/runtimeConfig.js.map +0 -1
  474. package/dist/es/runtimeConfig.native.js.map +0 -1
  475. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -0,0 +1,40 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateAgentRequest, CreateAgentResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateAgentCommand, serializeAws_json1_1CreateAgentCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateAgentCommand = (function (_super) {
7
+ __extends(CreateAgentCommand, _super);
8
+ function CreateAgentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateAgentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "CreateAgentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateAgentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateAgentResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateAgentCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateAgentCommand(input, context);
33
+ };
34
+ CreateAgentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateAgentCommand(output, context);
36
+ };
37
+ return CreateAgentCommand;
38
+ }($Command));
39
+ export { CreateAgentCommand };
40
+ //# sourceMappingURL=CreateAgentCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAgentCommand.js","sourceRoot":"","sources":["../../src/commands/CreateAgentCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAoClC;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,mBAAmB,CAAC,kBAAkB;SACjE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateLocationEfsRequest, CreateLocationEfsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateLocationEfsCommand, serializeAws_json1_1CreateLocationEfsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates an endpoint for an Amazon EFS file system.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataSyncClient, CreateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
12
- * // const { DataSyncClient, CreateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
13
- * const client = new DataSyncClient(config);
14
- * const command = new CreateLocationEfsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateLocationEfsCommandInput} for command's `input` shape.
19
- * @see {@link CreateLocationEfsCommandOutput} for command's `response` shape.
20
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateLocationEfsCommand = /** @class */ (function (_super) {
4
+ import { CreateLocationEfsRequest, CreateLocationEfsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateLocationEfsCommand, serializeAws_json1_1CreateLocationEfsCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateLocationEfsCommand = (function (_super) {
24
7
  __extends(CreateLocationEfsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateLocationEfsCommand(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
  CreateLocationEfsCommand.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);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLocationEfsCommand.js","sourceRoot":"","sources":["../../src/commands/CreateLocationEfsCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAsBlC;IAA8C,4CAI7C;IAIC,kCAAqB,KAAoC;QAAzD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;IAIzD,CAAC;IAKD,oDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,yBAAyB,CAAC,kBAAkB;SACvE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateLocationFsxWindowsRequest, CreateLocationFsxWindowsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateLocationFsxWindowsCommand, serializeAws_json1_1CreateLocationFsxWindowsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates an endpoint for an Amazon FSx for Windows File Server file system.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataSyncClient, CreateLocationFsxWindowsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
12
- * // const { DataSyncClient, CreateLocationFsxWindowsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
13
- * const client = new DataSyncClient(config);
14
- * const command = new CreateLocationFsxWindowsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateLocationFsxWindowsCommandInput} for command's `input` shape.
19
- * @see {@link CreateLocationFsxWindowsCommandOutput} for command's `response` shape.
20
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateLocationFsxWindowsCommand = /** @class */ (function (_super) {
4
+ import { CreateLocationFsxWindowsRequest, CreateLocationFsxWindowsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateLocationFsxWindowsCommand, serializeAws_json1_1CreateLocationFsxWindowsCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateLocationFsxWindowsCommand = (function (_super) {
24
7
  __extends(CreateLocationFsxWindowsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateLocationFsxWindowsCommand(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
  CreateLocationFsxWindowsCommand.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);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLocationFsxWindowsCommand.js","sourceRoot":"","sources":["../../src/commands/CreateLocationFsxWindowsCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,0BAA0B,CAAC;AAsBlC;IAAqD,mDAIpD;IAIC,yCAAqB,KAA2C;QAAhE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsC;;IAIhE,CAAC;IAKD,2DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,iCAAiC,CAAC;QACtD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,+BAA+B,CAAC,kBAAkB;YAC3E,wBAAwB,EAAE,gCAAgC,CAAC,kBAAkB;SAC9E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,mDAAS,GAAjB,UAAkB,KAA2C,EAAE,OAAuB;QACpF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,qDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,sCAAC;AAAD,CAAC,AAtDD,CAAqD,QAAQ,GAsD5D"}
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateLocationNfsRequest, CreateLocationNfsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateLocationNfsCommand, serializeAws_json1_1CreateLocationNfsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Defines a file system on a Network File System (NFS) server that can be read from or
8
- * written to.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { DataSyncClient, CreateLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
13
- * // const { DataSyncClient, CreateLocationNfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
14
- * const client = new DataSyncClient(config);
15
- * const command = new CreateLocationNfsCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link CreateLocationNfsCommandInput} for command's `input` shape.
20
- * @see {@link CreateLocationNfsCommandOutput} for command's `response` shape.
21
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var CreateLocationNfsCommand = /** @class */ (function (_super) {
4
+ import { CreateLocationNfsRequest, CreateLocationNfsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateLocationNfsCommand, serializeAws_json1_1CreateLocationNfsCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateLocationNfsCommand = (function (_super) {
25
7
  __extends(CreateLocationNfsCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function CreateLocationNfsCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  CreateLocationNfsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLocationNfsCommand.js","sourceRoot":"","sources":["../../src/commands/CreateLocationNfsCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAuBlC;IAA8C,4CAI7C;IAIC,kCAAqB,KAAoC;QAAzD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;IAIzD,CAAC;IAKD,oDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,yBAAyB,CAAC,kBAAkB;SACvE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateLocationObjectStorageRequest, CreateLocationObjectStorageResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateLocationObjectStorageCommand, serializeAws_json1_1CreateLocationObjectStorageCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates an endpoint for a self-managed object storage bucket. For more information
8
- * about self-managed object storage locations, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { DataSyncClient, CreateLocationObjectStorageCommand } from "@aws-sdk/client-datasync"; // ES Modules import
13
- * // const { DataSyncClient, CreateLocationObjectStorageCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
14
- * const client = new DataSyncClient(config);
15
- * const command = new CreateLocationObjectStorageCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link CreateLocationObjectStorageCommandInput} for command's `input` shape.
20
- * @see {@link CreateLocationObjectStorageCommandOutput} for command's `response` shape.
21
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var CreateLocationObjectStorageCommand = /** @class */ (function (_super) {
4
+ import { CreateLocationObjectStorageRequest, CreateLocationObjectStorageResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateLocationObjectStorageCommand, serializeAws_json1_1CreateLocationObjectStorageCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateLocationObjectStorageCommand = (function (_super) {
25
7
  __extends(CreateLocationObjectStorageCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function CreateLocationObjectStorageCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  CreateLocationObjectStorageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLocationObjectStorageCommand.js","sourceRoot":"","sources":["../../src/commands/CreateLocationObjectStorageCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAyBlC;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;IAInE,CAAC;IAKD,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kCAAkC,CAAC,kBAAkB;YAC9E,wBAAwB,EAAE,mCAAmC,CAAC,kBAAkB;SACjF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
@@ -1,46 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateLocationS3Request, CreateLocationS3Response } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateLocationS3Command, serializeAws_json1_1CreateLocationS3Command, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates an endpoint for an Amazon S3 bucket.</p>
8
- *
9
- *
10
- * <p>For
11
- * more information, see
12
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>
13
- * in the <i>DataSync User Guide</i>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { DataSyncClient, CreateLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import
18
- * // const { DataSyncClient, CreateLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import
19
- * const client = new DataSyncClient(config);
20
- * const command = new CreateLocationS3Command(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link CreateLocationS3CommandInput} for command's `input` shape.
25
- * @see {@link CreateLocationS3CommandOutput} for command's `response` shape.
26
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- var CreateLocationS3Command = /** @class */ (function (_super) {
4
+ import { CreateLocationS3Request, CreateLocationS3Response } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateLocationS3Command, serializeAws_json1_1CreateLocationS3Command, } from "../protocols/Aws_json1_1";
6
+ var CreateLocationS3Command = (function (_super) {
30
7
  __extends(CreateLocationS3Command, _super);
31
- // Start section: command_properties
32
- // End section: command_properties
33
8
  function CreateLocationS3Command(input) {
34
- var _this =
35
- // Start section: command_constructor
36
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
37
10
  _this.input = input;
38
11
  return _this;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  CreateLocationS3Command.prototype.resolveMiddleware = function (clientStack, configuration, options) {
45
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLocationS3Command.js","sourceRoot":"","sources":["../../src/commands/CreateLocationS3Command.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AA4BlC;IAA6C,2CAI5C;IAIC,iCAAqB,KAAmC;QAAxD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;IAIxD,CAAC;IAKD,mDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateLocationSmbRequest, CreateLocationSmbResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateLocationSmbCommand, serializeAws_json1_1CreateLocationSmbCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Defines a file system on a Server Message Block (SMB) server that can be read from or
8
- * written to.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { DataSyncClient, CreateLocationSmbCommand } from "@aws-sdk/client-datasync"; // ES Modules import
13
- * // const { DataSyncClient, CreateLocationSmbCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
14
- * const client = new DataSyncClient(config);
15
- * const command = new CreateLocationSmbCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link CreateLocationSmbCommandInput} for command's `input` shape.
20
- * @see {@link CreateLocationSmbCommandOutput} for command's `response` shape.
21
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var CreateLocationSmbCommand = /** @class */ (function (_super) {
4
+ import { CreateLocationSmbRequest, CreateLocationSmbResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateLocationSmbCommand, serializeAws_json1_1CreateLocationSmbCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateLocationSmbCommand = (function (_super) {
25
7
  __extends(CreateLocationSmbCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function CreateLocationSmbCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  CreateLocationSmbCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLocationSmbCommand.js","sourceRoot":"","sources":["../../src/commands/CreateLocationSmbCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAuBlC;IAA8C,4CAI7C;IAIC,kCAAqB,KAAoC;QAAzD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;IAIzD,CAAC;IAKD,oDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,yBAAyB,CAAC,kBAAkB;SACvE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
@@ -0,0 +1,40 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateTaskRequest, CreateTaskResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateTaskCommand, serializeAws_json1_1CreateTaskCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateTaskCommand = (function (_super) {
7
+ __extends(CreateTaskCommand, _super);
8
+ function CreateTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "CreateTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateTaskRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateTaskResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateTaskCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateTaskCommand(input, context);
33
+ };
34
+ CreateTaskCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateTaskCommand(output, context);
36
+ };
37
+ return CreateTaskCommand;
38
+ }($Command));
39
+ export { CreateTaskCommand };
40
+ //# sourceMappingURL=CreateTaskCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateTaskCommand.js","sourceRoot":"","sources":["../../src/commands/CreateTaskCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAwClC;IAAuC,qCAItC;IAIC,2BAAqB,KAA6B;QAAlD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;IAIlD,CAAC;IAKD,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iBAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,kBAAkB,CAAC,kBAAkB;SAChE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qCAAS,GAAjB,UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,qCAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteAgentRequest, DeleteAgentResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DeleteAgentCommand, serializeAws_json1_1DeleteAgentCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN)
8
- * of the agent in your request. The operation disassociates the agent from your Amazon Web Services account.
9
- * However, it doesn't delete the agent virtual machine (VM) from your on-premises
10
- * environment.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DataSyncClient, DeleteAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
- * // const { DataSyncClient, DeleteAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
- * const client = new DataSyncClient(config);
17
- * const command = new DeleteAgentCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteAgentCommandInput} for command's `input` shape.
22
- * @see {@link DeleteAgentCommandOutput} for command's `response` shape.
23
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var DeleteAgentCommand = /** @class */ (function (_super) {
4
+ import { DeleteAgentRequest, DeleteAgentResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteAgentCommand, serializeAws_json1_1DeleteAgentCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteAgentCommand = (function (_super) {
27
7
  __extends(DeleteAgentCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function DeleteAgentCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  DeleteAgentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteAgentCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteAgentCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAyBlC;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,mBAAmB,CAAC,kBAAkB;SACjE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteLocationRequest, DeleteLocationResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DeleteLocationCommand, serializeAws_json1_1DeleteLocationCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes the configuration of a location used by DataSync. </p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataSyncClient, DeleteLocationCommand } from "@aws-sdk/client-datasync"; // ES Modules import
12
- * // const { DataSyncClient, DeleteLocationCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
13
- * const client = new DataSyncClient(config);
14
- * const command = new DeleteLocationCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteLocationCommandInput} for command's `input` shape.
19
- * @see {@link DeleteLocationCommandOutput} for command's `response` shape.
20
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteLocationCommand = /** @class */ (function (_super) {
4
+ import { DeleteLocationRequest, DeleteLocationResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteLocationCommand, serializeAws_json1_1DeleteLocationCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteLocationCommand = (function (_super) {
24
7
  __extends(DeleteLocationCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteLocationCommand(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
  DeleteLocationCommand.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);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteLocationCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteLocationCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,0BAA0B,CAAC;AAsBlC;IAA2C,yCAI1C;IAIC,+BAAqB,KAAiC;QAAtD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA4B;;IAItD,CAAC;IAKD,iDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,uBAAuB,CAAC;QAC5C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,qBAAqB,CAAC,kBAAkB;YACjE,wBAAwB,EAAE,sBAAsB,CAAC,kBAAkB;SACpE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,yCAAS,GAAjB,UAAkB,KAAiC,EAAE,OAAuB;QAC1E,OAAO,yCAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,2CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,4BAAC;AAAD,CAAC,AAtDD,CAA2C,QAAQ,GAsDlD"}
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteTaskRequest, DeleteTaskResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DeleteTaskCommand, serializeAws_json1_1DeleteTaskCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes a task.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataSyncClient, DeleteTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
12
- * // const { DataSyncClient, DeleteTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
13
- * const client = new DataSyncClient(config);
14
- * const command = new DeleteTaskCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteTaskCommandInput} for command's `input` shape.
19
- * @see {@link DeleteTaskCommandOutput} for command's `response` shape.
20
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteTaskCommand = /** @class */ (function (_super) {
4
+ import { DeleteTaskRequest, DeleteTaskResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteTaskCommand, serializeAws_json1_1DeleteTaskCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteTaskCommand = (function (_super) {
24
7
  __extends(DeleteTaskCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteTaskCommand(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
  DeleteTaskCommand.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);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteTaskCommand.js","sourceRoot":"","sources":["../../src/commands/DeleteTaskCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAsBlC;IAAuC,qCAItC;IAIC,2BAAqB,KAA6B;QAAlD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;IAIlD,CAAC;IAKD,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iBAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,kBAAkB,CAAC,kBAAkB;SAChE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qCAAS,GAAjB,UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,qCAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
@@ -1,42 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeAgentRequest, DescribeAgentResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeAgentCommand, serializeAws_json1_1DescribeAgentCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns metadata such as the name, the network interfaces, and the status (that is,
8
- * whether the agent is running or not) for an agent. To specify which agent to describe, use the
9
- * Amazon Resource Name (ARN) of the agent in your request. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, DescribeAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, DescribeAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new DescribeAgentCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeAgentCommandInput} for command's `input` shape.
21
- * @see {@link DescribeAgentCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var DescribeAgentCommand = /** @class */ (function (_super) {
4
+ import { DescribeAgentRequest, DescribeAgentResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeAgentCommand, serializeAws_json1_1DescribeAgentCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeAgentCommand = (function (_super) {
26
7
  __extends(DescribeAgentCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function DescribeAgentCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  DescribeAgentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAgentCommand.js","sourceRoot":"","sources":["../../src/commands/DescribeAgentCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAwBlC;IAA0C,wCAIzC;IAIC,8BAAqB,KAAgC;QAArD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;IAIrD,CAAC;IAKD,gDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oBAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,qBAAqB,CAAC,kBAAkB;SACnE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}