@aws-sdk/client-datasync 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 (403) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/DataSync.js +1 -11
  3. package/{dist/cjs → dist-cjs}/DataSyncClient.js +8 -23
  4. package/{dist/cjs → dist-cjs}/commands/CancelTaskExecutionCommand.js +2 -34
  5. package/dist-cjs/commands/CreateAgentCommand.js +36 -0
  6. package/{dist/cjs → dist-cjs}/commands/CreateLocationEfsCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CreateLocationFsxWindowsCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/CreateLocationNfsCommand.js +2 -28
  9. package/{dist/cjs → dist-cjs}/commands/CreateLocationObjectStorageCommand.js +2 -28
  10. package/{dist/cjs → dist-cjs}/commands/CreateLocationS3Command.js +2 -33
  11. package/{dist/cjs → dist-cjs}/commands/CreateLocationSmbCommand.js +2 -28
  12. package/dist-cjs/commands/CreateTaskCommand.js +36 -0
  13. package/{dist/cjs → dist-cjs}/commands/DeleteAgentCommand.js +2 -30
  14. package/{dist/cjs → dist-cjs}/commands/DeleteLocationCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DeleteTaskCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/DescribeAgentCommand.js +2 -29
  17. package/{dist/cjs → dist-cjs}/commands/DescribeLocationEfsCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/DescribeLocationFsxWindowsCommand.js +2 -28
  19. package/{dist/cjs → dist-cjs}/commands/DescribeLocationNfsCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DescribeLocationObjectStorageCommand.js +2 -28
  21. package/{dist/cjs → dist-cjs}/commands/DescribeLocationS3Command.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/DescribeLocationSmbCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/DescribeTaskCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/DescribeTaskExecutionCommand.js +2 -27
  25. package/dist-cjs/commands/ListAgentsCommand.js +36 -0
  26. package/{dist/cjs → dist-cjs}/commands/ListLocationsCommand.js +2 -30
  27. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/ListTaskExecutionsCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/ListTasksCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/StartTaskExecutionCommand.js +2 -35
  31. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  32. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/UpdateAgentCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/UpdateLocationNfsCommand.js +2 -28
  35. package/{dist/cjs → dist-cjs}/commands/UpdateLocationObjectStorageCommand.js +2 -29
  36. package/{dist/cjs → dist-cjs}/commands/UpdateLocationSmbCommand.js +2 -29
  37. package/{dist/cjs → dist-cjs}/commands/UpdateTaskCommand.js +2 -27
  38. package/dist-cjs/commands/UpdateTaskExecutionCommand.js +36 -0
  39. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  40. package/{dist/cjs → dist-cjs}/index.js +0 -1
  41. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  42. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -268
  43. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  44. package/{dist/cjs → dist-cjs}/pagination/ListAgentsPaginator.js +1 -12
  45. package/{dist/cjs → dist-cjs}/pagination/ListLocationsPaginator.js +1 -12
  46. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -12
  47. package/{dist/cjs → dist-cjs}/pagination/ListTaskExecutionsPaginator.js +1 -12
  48. package/{dist/cjs → dist-cjs}/pagination/ListTasksPaginator.js +1 -12
  49. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  50. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  51. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  52. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  53. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  54. package/{dist/es → dist-es}/DataSync.js +2 -12
  55. package/{dist/es → dist-es}/DataSyncClient.js +2 -17
  56. package/{dist/es → dist-es}/commands/CancelTaskExecutionCommand.js +4 -37
  57. package/dist-es/commands/CreateAgentCommand.js +39 -0
  58. package/{dist/es → dist-es}/commands/CreateLocationEfsCommand.js +4 -30
  59. package/{dist/es → dist-es}/commands/CreateLocationFsxWindowsCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/CreateLocationNfsCommand.js +4 -31
  61. package/{dist/es → dist-es}/commands/CreateLocationObjectStorageCommand.js +4 -31
  62. package/{dist/es → dist-es}/commands/CreateLocationS3Command.js +4 -36
  63. package/{dist/es → dist-es}/commands/CreateLocationSmbCommand.js +4 -31
  64. package/dist-es/commands/CreateTaskCommand.js +39 -0
  65. package/{dist/es → dist-es}/commands/DeleteAgentCommand.js +4 -33
  66. package/{dist/es → dist-es}/commands/DeleteLocationCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/DeleteTaskCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/DescribeAgentCommand.js +4 -32
  69. package/{dist/es → dist-es}/commands/DescribeLocationEfsCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/DescribeLocationFsxWindowsCommand.js +4 -31
  71. package/{dist/es → dist-es}/commands/DescribeLocationNfsCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/DescribeLocationObjectStorageCommand.js +4 -31
  73. package/{dist/es → dist-es}/commands/DescribeLocationS3Command.js +4 -30
  74. package/{dist/es → dist-es}/commands/DescribeLocationSmbCommand.js +4 -30
  75. package/{dist/es → dist-es}/commands/DescribeTaskCommand.js +4 -30
  76. package/{dist/es → dist-es}/commands/DescribeTaskExecutionCommand.js +4 -30
  77. package/{dist/es → dist-es}/commands/ListAgentsCommand.js +4 -37
  78. package/{dist/es → dist-es}/commands/ListLocationsCommand.js +4 -33
  79. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  80. package/{dist/es → dist-es}/commands/ListTaskExecutionsCommand.js +4 -30
  81. package/{dist/es → dist-es}/commands/ListTasksCommand.js +4 -30
  82. package/{dist/es → dist-es}/commands/StartTaskExecutionCommand.js +4 -38
  83. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  84. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  85. package/{dist/es → dist-es}/commands/UpdateAgentCommand.js +4 -30
  86. package/{dist/es → dist-es}/commands/UpdateLocationNfsCommand.js +4 -31
  87. package/{dist/es → dist-es}/commands/UpdateLocationObjectStorageCommand.js +4 -32
  88. package/{dist/es → dist-es}/commands/UpdateLocationSmbCommand.js +4 -32
  89. package/{dist/es → dist-es}/commands/UpdateTaskCommand.js +4 -30
  90. package/{dist/es → dist-es}/commands/UpdateTaskExecutionCommand.js +4 -39
  91. package/{dist/es → dist-es}/endpoints.js +1 -2
  92. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  93. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  94. package/{dist/es → dist-es}/models/models_0.js +0 -268
  95. package/dist-es/pagination/Interfaces.js +1 -0
  96. package/{dist/es → dist-es}/pagination/ListAgentsPaginator.js +17 -30
  97. package/{dist/es → dist-es}/pagination/ListLocationsPaginator.js +17 -30
  98. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
  99. package/{dist/es → dist-es}/pagination/ListTaskExecutionsPaginator.js +17 -30
  100. package/{dist/es → dist-es}/pagination/ListTasksPaginator.js +17 -30
  101. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +529 -535
  102. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  103. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  104. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  105. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  106. package/{dist/types → dist-types}/DataSync.d.ts +2 -2
  107. package/{dist/types → dist-types}/DataSyncClient.d.ts +8 -8
  108. package/{dist/types → dist-types}/commands/CancelTaskExecutionCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/CreateAgentCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/CreateLocationEfsCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/CreateLocationFsxWindowsCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/CreateLocationNfsCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/CreateLocationObjectStorageCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/CreateLocationS3Command.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/CreateLocationSmbCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/CreateTaskCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/DeleteAgentCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/DeleteLocationCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/DeleteTaskCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/DescribeAgentCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/DescribeLocationEfsCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/DescribeLocationFsxWindowsCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/DescribeLocationNfsCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/DescribeLocationObjectStorageCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/DescribeLocationS3Command.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/DescribeLocationSmbCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/DescribeTaskCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/DescribeTaskExecutionCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/ListAgentsCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/ListLocationsCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/ListTaskExecutionsCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/ListTasksCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/StartTaskExecutionCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/UpdateAgentCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/UpdateLocationNfsCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/UpdateLocationObjectStorageCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/UpdateLocationSmbCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/UpdateTaskCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/UpdateTaskExecutionCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  144. package/{index.ts → dist-types/index.d.ts} +0 -0
  145. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  146. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  147. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  148. package/{dist/types → dist-types}/pagination/ListAgentsPaginator.d.ts +1 -1
  149. package/{dist/types → dist-types}/pagination/ListLocationsPaginator.d.ts +1 -1
  150. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  151. package/{dist/types → dist-types}/pagination/ListTaskExecutionsPaginator.d.ts +1 -1
  152. package/{dist/types → dist-types}/pagination/ListTasksPaginator.d.ts +1 -1
  153. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  154. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  155. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  156. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  157. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  158. package/{dist/types → dist-types}/ts3.4/DataSync.d.ts +38 -203
  159. package/{dist/types → dist-types}/ts3.4/DataSyncClient.d.ts +32 -103
  160. package/dist-types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +17 -0
  162. package/{dist/types → dist-types}/ts3.4/commands/CreateLocationEfsCommand.d.ts +4 -22
  163. package/{dist/types → dist-types}/ts3.4/commands/CreateLocationFsxWindowsCommand.d.ts +4 -22
  164. package/dist-types/ts3.4/commands/CreateLocationNfsCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/CreateLocationS3Command.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/CreateLocationSmbCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/DeleteTaskCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/DescribeAgentCommand.d.ts +17 -0
  173. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationEfsCommand.d.ts +4 -22
  174. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationFsxWindowsCommand.d.ts +4 -23
  175. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationNfsCommand.d.ts +4 -22
  176. package/dist-types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +17 -0
  177. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationS3Command.d.ts +4 -22
  178. package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationSmbCommand.d.ts +4 -22
  179. package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskCommand.d.ts +4 -22
  180. package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskExecutionCommand.d.ts +4 -22
  181. package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +17 -0
  183. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  184. package/{dist/types → dist-types}/ts3.4/commands/ListTaskExecutionsCommand.d.ts +4 -22
  185. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/StartTaskExecutionCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +17 -0
  195. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  196. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  197. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  198. package/dist-types/ts3.4/models/models_0.d.ts +1271 -0
  199. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  200. package/{dist/types → dist-types}/ts3.4/pagination/ListAgentsPaginator.d.ts +1 -1
  201. package/{dist/types → dist-types}/ts3.4/pagination/ListLocationsPaginator.d.ts +1 -1
  202. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  203. package/{dist/types → dist-types}/ts3.4/pagination/ListTaskExecutionsPaginator.d.ts +1 -1
  204. package/{dist/types → dist-types}/ts3.4/pagination/ListTasksPaginator.d.ts +1 -1
  205. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  206. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  207. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  208. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  209. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  210. package/package.json +52 -49
  211. package/DataSync.ts +0 -1302
  212. package/DataSyncClient.ts +0 -382
  213. package/commands/CancelTaskExecutionCommand.ts +0 -101
  214. package/commands/CreateAgentCommand.ts +0 -108
  215. package/commands/CreateLocationEfsCommand.ts +0 -94
  216. package/commands/CreateLocationFsxWindowsCommand.ts +0 -94
  217. package/commands/CreateLocationNfsCommand.ts +0 -95
  218. package/commands/CreateLocationObjectStorageCommand.ts +0 -100
  219. package/commands/CreateLocationS3Command.ts +0 -100
  220. package/commands/CreateLocationSmbCommand.ts +0 -95
  221. package/commands/CreateTaskCommand.ts +0 -112
  222. package/commands/DeleteAgentCommand.ts +0 -97
  223. package/commands/DeleteLocationCommand.ts +0 -94
  224. package/commands/DeleteTaskCommand.ts +0 -94
  225. package/commands/DescribeAgentCommand.ts +0 -96
  226. package/commands/DescribeLocationEfsCommand.ts +0 -94
  227. package/commands/DescribeLocationFsxWindowsCommand.ts +0 -98
  228. package/commands/DescribeLocationNfsCommand.ts +0 -94
  229. package/commands/DescribeLocationObjectStorageCommand.ts +0 -100
  230. package/commands/DescribeLocationS3Command.ts +0 -94
  231. package/commands/DescribeLocationSmbCommand.ts +0 -94
  232. package/commands/DescribeTaskCommand.ts +0 -94
  233. package/commands/DescribeTaskExecutionCommand.ts +0 -94
  234. package/commands/ListAgentsCommand.ts +0 -101
  235. package/commands/ListLocationsCommand.ts +0 -97
  236. package/commands/ListTagsForResourceCommand.ts +0 -94
  237. package/commands/ListTaskExecutionsCommand.ts +0 -94
  238. package/commands/ListTasksCommand.ts +0 -91
  239. package/commands/StartTaskExecutionCommand.ts +0 -102
  240. package/commands/TagResourceCommand.ts +0 -94
  241. package/commands/UntagResourceCommand.ts +0 -94
  242. package/commands/UpdateAgentCommand.ts +0 -94
  243. package/commands/UpdateLocationNfsCommand.ts +0 -95
  244. package/commands/UpdateLocationObjectStorageCommand.ts +0 -101
  245. package/commands/UpdateLocationSmbCommand.ts +0 -96
  246. package/commands/UpdateTaskCommand.ts +0 -94
  247. package/commands/UpdateTaskExecutionCommand.ts +0 -103
  248. package/dist/cjs/DataSync.js.map +0 -1
  249. package/dist/cjs/DataSyncClient.js.map +0 -1
  250. package/dist/cjs/commands/CancelTaskExecutionCommand.js.map +0 -1
  251. package/dist/cjs/commands/CreateAgentCommand.js +0 -75
  252. package/dist/cjs/commands/CreateAgentCommand.js.map +0 -1
  253. package/dist/cjs/commands/CreateLocationEfsCommand.js.map +0 -1
  254. package/dist/cjs/commands/CreateLocationFsxWindowsCommand.js.map +0 -1
  255. package/dist/cjs/commands/CreateLocationNfsCommand.js.map +0 -1
  256. package/dist/cjs/commands/CreateLocationObjectStorageCommand.js.map +0 -1
  257. package/dist/cjs/commands/CreateLocationS3Command.js.map +0 -1
  258. package/dist/cjs/commands/CreateLocationSmbCommand.js.map +0 -1
  259. package/dist/cjs/commands/CreateTaskCommand.js +0 -79
  260. package/dist/cjs/commands/CreateTaskCommand.js.map +0 -1
  261. package/dist/cjs/commands/DeleteAgentCommand.js.map +0 -1
  262. package/dist/cjs/commands/DeleteLocationCommand.js.map +0 -1
  263. package/dist/cjs/commands/DeleteTaskCommand.js.map +0 -1
  264. package/dist/cjs/commands/DescribeAgentCommand.js.map +0 -1
  265. package/dist/cjs/commands/DescribeLocationEfsCommand.js.map +0 -1
  266. package/dist/cjs/commands/DescribeLocationFsxWindowsCommand.js.map +0 -1
  267. package/dist/cjs/commands/DescribeLocationNfsCommand.js.map +0 -1
  268. package/dist/cjs/commands/DescribeLocationObjectStorageCommand.js.map +0 -1
  269. package/dist/cjs/commands/DescribeLocationS3Command.js.map +0 -1
  270. package/dist/cjs/commands/DescribeLocationSmbCommand.js.map +0 -1
  271. package/dist/cjs/commands/DescribeTaskCommand.js.map +0 -1
  272. package/dist/cjs/commands/DescribeTaskExecutionCommand.js.map +0 -1
  273. package/dist/cjs/commands/ListAgentsCommand.js +0 -68
  274. package/dist/cjs/commands/ListAgentsCommand.js.map +0 -1
  275. package/dist/cjs/commands/ListLocationsCommand.js.map +0 -1
  276. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  277. package/dist/cjs/commands/ListTaskExecutionsCommand.js.map +0 -1
  278. package/dist/cjs/commands/ListTasksCommand.js.map +0 -1
  279. package/dist/cjs/commands/StartTaskExecutionCommand.js.map +0 -1
  280. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  281. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  282. package/dist/cjs/commands/UpdateAgentCommand.js.map +0 -1
  283. package/dist/cjs/commands/UpdateLocationNfsCommand.js.map +0 -1
  284. package/dist/cjs/commands/UpdateLocationObjectStorageCommand.js.map +0 -1
  285. package/dist/cjs/commands/UpdateLocationSmbCommand.js.map +0 -1
  286. package/dist/cjs/commands/UpdateTaskCommand.js.map +0 -1
  287. package/dist/cjs/commands/UpdateTaskExecutionCommand.js +0 -70
  288. package/dist/cjs/commands/UpdateTaskExecutionCommand.js.map +0 -1
  289. package/dist/cjs/endpoints.js.map +0 -1
  290. package/dist/cjs/index.js.map +0 -1
  291. package/dist/cjs/models/index.js.map +0 -1
  292. package/dist/cjs/models/models_0.js.map +0 -1
  293. package/dist/cjs/package.json +0 -91
  294. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  295. package/dist/cjs/pagination/ListAgentsPaginator.js.map +0 -1
  296. package/dist/cjs/pagination/ListLocationsPaginator.js.map +0 -1
  297. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  298. package/dist/cjs/pagination/ListTaskExecutionsPaginator.js.map +0 -1
  299. package/dist/cjs/pagination/ListTasksPaginator.js.map +0 -1
  300. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  301. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  302. package/dist/cjs/runtimeConfig.js.map +0 -1
  303. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  304. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  305. package/dist/es/DataSync.js.map +0 -1
  306. package/dist/es/DataSyncClient.js.map +0 -1
  307. package/dist/es/commands/CancelTaskExecutionCommand.js.map +0 -1
  308. package/dist/es/commands/CreateAgentCommand.js +0 -79
  309. package/dist/es/commands/CreateAgentCommand.js.map +0 -1
  310. package/dist/es/commands/CreateLocationEfsCommand.js.map +0 -1
  311. package/dist/es/commands/CreateLocationFsxWindowsCommand.js.map +0 -1
  312. package/dist/es/commands/CreateLocationNfsCommand.js.map +0 -1
  313. package/dist/es/commands/CreateLocationObjectStorageCommand.js.map +0 -1
  314. package/dist/es/commands/CreateLocationS3Command.js.map +0 -1
  315. package/dist/es/commands/CreateLocationSmbCommand.js.map +0 -1
  316. package/dist/es/commands/CreateTaskCommand.js +0 -83
  317. package/dist/es/commands/CreateTaskCommand.js.map +0 -1
  318. package/dist/es/commands/DeleteAgentCommand.js.map +0 -1
  319. package/dist/es/commands/DeleteLocationCommand.js.map +0 -1
  320. package/dist/es/commands/DeleteTaskCommand.js.map +0 -1
  321. package/dist/es/commands/DescribeAgentCommand.js.map +0 -1
  322. package/dist/es/commands/DescribeLocationEfsCommand.js.map +0 -1
  323. package/dist/es/commands/DescribeLocationFsxWindowsCommand.js.map +0 -1
  324. package/dist/es/commands/DescribeLocationNfsCommand.js.map +0 -1
  325. package/dist/es/commands/DescribeLocationObjectStorageCommand.js.map +0 -1
  326. package/dist/es/commands/DescribeLocationS3Command.js.map +0 -1
  327. package/dist/es/commands/DescribeLocationSmbCommand.js.map +0 -1
  328. package/dist/es/commands/DescribeTaskCommand.js.map +0 -1
  329. package/dist/es/commands/DescribeTaskExecutionCommand.js.map +0 -1
  330. package/dist/es/commands/ListAgentsCommand.js.map +0 -1
  331. package/dist/es/commands/ListLocationsCommand.js.map +0 -1
  332. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  333. package/dist/es/commands/ListTaskExecutionsCommand.js.map +0 -1
  334. package/dist/es/commands/ListTasksCommand.js.map +0 -1
  335. package/dist/es/commands/StartTaskExecutionCommand.js.map +0 -1
  336. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  337. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  338. package/dist/es/commands/UpdateAgentCommand.js.map +0 -1
  339. package/dist/es/commands/UpdateLocationNfsCommand.js.map +0 -1
  340. package/dist/es/commands/UpdateLocationObjectStorageCommand.js.map +0 -1
  341. package/dist/es/commands/UpdateLocationSmbCommand.js.map +0 -1
  342. package/dist/es/commands/UpdateTaskCommand.js.map +0 -1
  343. package/dist/es/commands/UpdateTaskExecutionCommand.js.map +0 -1
  344. package/dist/es/endpoints.js.map +0 -1
  345. package/dist/es/index.js +0 -45
  346. package/dist/es/index.js.map +0 -1
  347. package/dist/es/models/index.js +0 -2
  348. package/dist/es/models/index.js.map +0 -1
  349. package/dist/es/models/models_0.js.map +0 -1
  350. package/dist/es/package.json +0 -91
  351. package/dist/es/pagination/Interfaces.js +0 -2
  352. package/dist/es/pagination/Interfaces.js.map +0 -1
  353. package/dist/es/pagination/ListAgentsPaginator.js.map +0 -1
  354. package/dist/es/pagination/ListLocationsPaginator.js.map +0 -1
  355. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  356. package/dist/es/pagination/ListTaskExecutionsPaginator.js.map +0 -1
  357. package/dist/es/pagination/ListTasksPaginator.js.map +0 -1
  358. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  359. package/dist/es/runtimeConfig.browser.js.map +0 -1
  360. package/dist/es/runtimeConfig.js.map +0 -1
  361. package/dist/es/runtimeConfig.native.js.map +0 -1
  362. package/dist/es/runtimeConfig.shared.js.map +0 -1
  363. package/dist/types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +0 -42
  364. package/dist/types/ts3.4/commands/CreateAgentCommand.d.ts +0 -49
  365. package/dist/types/ts3.4/commands/CreateLocationNfsCommand.d.ts +0 -36
  366. package/dist/types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +0 -36
  367. package/dist/types/ts3.4/commands/CreateLocationS3Command.d.ts +0 -41
  368. package/dist/types/ts3.4/commands/CreateLocationSmbCommand.d.ts +0 -36
  369. package/dist/types/ts3.4/commands/CreateTaskCommand.d.ts +0 -53
  370. package/dist/types/ts3.4/commands/DeleteAgentCommand.d.ts +0 -38
  371. package/dist/types/ts3.4/commands/DeleteLocationCommand.d.ts +0 -35
  372. package/dist/types/ts3.4/commands/DeleteTaskCommand.d.ts +0 -35
  373. package/dist/types/ts3.4/commands/DescribeAgentCommand.d.ts +0 -37
  374. package/dist/types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +0 -36
  375. package/dist/types/ts3.4/commands/ListAgentsCommand.d.ts +0 -42
  376. package/dist/types/ts3.4/commands/ListLocationsCommand.d.ts +0 -38
  377. package/dist/types/ts3.4/commands/ListTasksCommand.d.ts +0 -35
  378. package/dist/types/ts3.4/commands/StartTaskExecutionCommand.d.ts +0 -43
  379. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  380. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  381. package/dist/types/ts3.4/commands/UpdateAgentCommand.d.ts +0 -35
  382. package/dist/types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +0 -36
  383. package/dist/types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +0 -37
  384. package/dist/types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +0 -37
  385. package/dist/types/ts3.4/commands/UpdateTaskCommand.d.ts +0 -35
  386. package/dist/types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +0 -44
  387. package/dist/types/ts3.4/models/models_0.d.ts +0 -2774
  388. package/endpoints.ts +0 -91
  389. package/jest.config.js +0 -4
  390. package/models/models_0.ts +0 -3336
  391. package/pagination/Interfaces.ts +0 -7
  392. package/pagination/ListAgentsPaginator.ts +0 -54
  393. package/pagination/ListLocationsPaginator.ts +0 -58
  394. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  395. package/pagination/ListTaskExecutionsPaginator.ts +0 -58
  396. package/pagination/ListTasksPaginator.ts +0 -54
  397. package/protocols/Aws_json1_1.ts +0 -4257
  398. package/runtimeConfig.browser.ts +0 -40
  399. package/runtimeConfig.native.ts +0 -16
  400. package/runtimeConfig.shared.ts +0 -16
  401. package/runtimeConfig.ts +0 -45
  402. package/tsconfig.es.json +0 -12
  403. package/tsconfig.json +0 -32
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteTaskCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes a task.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, DeleteTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, DeleteTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new DeleteTaskCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteTaskCommandInput} for command's `input` shape.
21
- * @see {@link DeleteTaskCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DeleteTaskCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteTaskCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteTaskCommand = DeleteTaskCommand;
61
- //# sourceMappingURL=DeleteTaskCommand.js.map
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeAgentCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns metadata such as the name, the network interfaces, and the status (that is,
10
- * whether the agent is running or not) for an agent. To specify which agent to describe, use the
11
- * Amazon Resource Name (ARN) of the agent in your request. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { DataSyncClient, DescribeAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
16
- * // const { DataSyncClient, DescribeAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
17
- * const client = new DataSyncClient(config);
18
- * const command = new DescribeAgentCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeAgentCommandInput} for command's `input` shape.
23
- * @see {@link DescribeAgentCommandOutput} for command's `response` shape.
24
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
27
8
  class DescribeAgentCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DescribeAgentCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DescribeAgentCommand = DescribeAgentCommand;
63
- //# sourceMappingURL=DescribeAgentCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeLocationEfsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns metadata, such as the path information about an Amazon EFS location.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, DescribeLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, DescribeLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new DescribeLocationEfsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeLocationEfsCommandInput} for command's `input` shape.
21
- * @see {@link DescribeLocationEfsCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeLocationEfsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeLocationEfsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeLocationEfsCommand = DescribeLocationEfsCommand;
61
- //# sourceMappingURL=DescribeLocationEfsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeLocationFsxWindowsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns metadata, such as the path information about an Amazon FSx for Windows File Server
10
- * location.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DataSyncClient, DescribeLocationFsxWindowsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
- * // const { DataSyncClient, DescribeLocationFsxWindowsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
- * const client = new DataSyncClient(config);
17
- * const command = new DescribeLocationFsxWindowsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeLocationFsxWindowsCommandInput} for command's `input` shape.
22
- * @see {@link DescribeLocationFsxWindowsCommandOutput} for command's `response` shape.
23
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class DescribeLocationFsxWindowsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class DescribeLocationFsxWindowsCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.DescribeLocationFsxWindowsCommand = DescribeLocationFsxWindowsCommand;
62
- //# sourceMappingURL=DescribeLocationFsxWindowsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeLocationNfsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns metadata, such as the path information, about an NFS location.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, DescribeLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, DescribeLocationNfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new DescribeLocationNfsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeLocationNfsCommandInput} for command's `input` shape.
21
- * @see {@link DescribeLocationNfsCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeLocationNfsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeLocationNfsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeLocationNfsCommand = DescribeLocationNfsCommand;
61
- //# sourceMappingURL=DescribeLocationNfsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeLocationObjectStorageCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns metadata about a self-managed object storage server location. For more information
10
- * 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>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DataSyncClient, DescribeLocationObjectStorageCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
- * // const { DataSyncClient, DescribeLocationObjectStorageCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
- * const client = new DataSyncClient(config);
17
- * const command = new DescribeLocationObjectStorageCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeLocationObjectStorageCommandInput} for command's `input` shape.
22
- * @see {@link DescribeLocationObjectStorageCommandOutput} for command's `response` shape.
23
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class DescribeLocationObjectStorageCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class DescribeLocationObjectStorageCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.DescribeLocationObjectStorageCommand = DescribeLocationObjectStorageCommand;
62
- //# sourceMappingURL=DescribeLocationObjectStorageCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeLocationS3Command = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns metadata, such as bucket name, about an Amazon S3 bucket location.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, DescribeLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, DescribeLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new DescribeLocationS3Command(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeLocationS3CommandInput} for command's `input` shape.
21
- * @see {@link DescribeLocationS3CommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeLocationS3Command extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeLocationS3Command extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeLocationS3Command = DescribeLocationS3Command;
61
- //# sourceMappingURL=DescribeLocationS3Command.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeLocationSmbCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns metadata, such as the path and user information about an SMB location.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, DescribeLocationSmbCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, DescribeLocationSmbCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new DescribeLocationSmbCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeLocationSmbCommandInput} for command's `input` shape.
21
- * @see {@link DescribeLocationSmbCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeLocationSmbCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeLocationSmbCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeLocationSmbCommand = DescribeLocationSmbCommand;
61
- //# sourceMappingURL=DescribeLocationSmbCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTaskCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns metadata about a task.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, DescribeTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, DescribeTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new DescribeTaskCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeTaskCommandInput} for command's `input` shape.
21
- * @see {@link DescribeTaskCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeTaskCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeTaskCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeTaskCommand = DescribeTaskCommand;
61
- //# sourceMappingURL=DescribeTaskCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTaskExecutionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns detailed metadata about a task that is being executed.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, DescribeTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, DescribeTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new DescribeTaskExecutionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeTaskExecutionCommandInput} for command's `input` shape.
21
- * @see {@link DescribeTaskExecutionCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeTaskExecutionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeTaskExecutionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeTaskExecutionCommand = DescribeTaskExecutionCommand;
61
- //# sourceMappingURL=DescribeTaskExecutionCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAgentsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListAgentsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DataSyncClient";
18
+ const commandName = "ListAgentsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListAgentsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListAgentsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1ListAgentsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1ListAgentsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListAgentsCommand = ListAgentsCommand;
@@ -1,42 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListLocationsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns a list of source and destination locations.</p>
10
- * <p>If you have more locations than are returned in a response (that is, the response
11
- * returns only a truncated list of your agents), the response contains a token that you can
12
- * specify in your next request to fetch the next page of locations.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { DataSyncClient, ListLocationsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
17
- * // const { DataSyncClient, ListLocationsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
18
- * const client = new DataSyncClient(config);
19
- * const command = new ListLocationsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListLocationsCommandInput} for command's `input` shape.
24
- * @see {@link ListLocationsCommandOutput} for command's `response` shape.
25
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
28
8
  class ListLocationsCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class ListLocationsCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.ListLocationsCommand = ListLocationsCommand;
64
- //# sourceMappingURL=ListLocationsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsForResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns all the tags associated with a specified resource. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, ListTagsForResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, ListTagsForResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new ListTagsForResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
21
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
61
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTaskExecutionsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns a list of executed tasks.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DataSyncClient, ListTaskExecutionsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
14
- * // const { DataSyncClient, ListTaskExecutionsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
15
- * const client = new DataSyncClient(config);
16
- * const command = new ListTaskExecutionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTaskExecutionsCommandInput} for command's `input` shape.
21
- * @see {@link ListTaskExecutionsCommandOutput} for command's `response` shape.
22
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class ListTaskExecutionsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListTaskExecutionsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListTaskExecutionsCommand = ListTaskExecutionsCommand;
61
- //# sourceMappingURL=ListTaskExecutionsCommand.js.map