@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
package/package.json CHANGED
@@ -1,79 +1,73 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-datasync",
3
3
  "description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
4
- "version": "3.31.0",
4
+ "version": "3.35.0",
5
5
  "scripts": {
6
- "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
- "build-documentation": "yarn remove-documentation && typedoc ./",
8
- "remove-definitions": "rimraf ./types",
9
- "remove-dist": "rimraf ./dist",
10
- "remove-documentation": "rimraf ./docs",
11
- "test": "exit 0",
6
+ "build": "yarn build:cjs && yarn build:es && yarn build:types",
12
7
  "build:cjs": "tsc -p tsconfig.json",
8
+ "build:docs": "yarn clean:docs && typedoc ./",
13
9
  "build:es": "tsc -p tsconfig.es.json",
14
- "build": "yarn build:cjs && yarn build:es",
15
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
16
- },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
20
- "browser": {
21
- "./runtimeConfig": "./runtimeConfig.browser"
22
- },
23
- "react-native": {
24
- "./runtimeConfig": "./runtimeConfig.native"
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "clean": "yarn clean:dist && yarn clean:docs",
12
+ "clean:dist": "rimraf ./dist",
13
+ "clean:docs": "rimraf ./docs",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
+ "test": "exit 0"
25
16
  },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
26
20
  "sideEffects": false,
27
21
  "dependencies": {
28
22
  "@aws-crypto/sha256-browser": "^1.0.0",
29
23
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.31.0",
31
- "@aws-sdk/config-resolver": "3.30.0",
32
- "@aws-sdk/credential-provider-node": "3.31.0",
33
- "@aws-sdk/fetch-http-handler": "3.29.0",
34
- "@aws-sdk/hash-node": "3.29.0",
35
- "@aws-sdk/invalid-dependency": "3.29.0",
36
- "@aws-sdk/middleware-content-length": "3.29.0",
37
- "@aws-sdk/middleware-host-header": "3.29.0",
38
- "@aws-sdk/middleware-logger": "3.29.0",
39
- "@aws-sdk/middleware-retry": "3.29.0",
40
- "@aws-sdk/middleware-serde": "3.29.0",
41
- "@aws-sdk/middleware-signing": "3.30.0",
42
- "@aws-sdk/middleware-stack": "3.29.0",
43
- "@aws-sdk/middleware-user-agent": "3.29.0",
44
- "@aws-sdk/node-config-provider": "3.29.0",
45
- "@aws-sdk/node-http-handler": "3.29.0",
46
- "@aws-sdk/protocol-http": "3.29.0",
47
- "@aws-sdk/smithy-client": "3.31.0",
48
- "@aws-sdk/types": "3.29.0",
49
- "@aws-sdk/url-parser": "3.29.0",
50
- "@aws-sdk/util-base64-browser": "3.29.0",
51
- "@aws-sdk/util-base64-node": "3.29.0",
52
- "@aws-sdk/util-body-length-browser": "3.29.0",
53
- "@aws-sdk/util-body-length-node": "3.29.0",
54
- "@aws-sdk/util-user-agent-browser": "3.29.0",
55
- "@aws-sdk/util-user-agent-node": "3.29.0",
56
- "@aws-sdk/util-utf8-browser": "3.29.0",
57
- "@aws-sdk/util-utf8-node": "3.29.0",
24
+ "@aws-sdk/client-sts": "3.35.0",
25
+ "@aws-sdk/config-resolver": "3.35.0",
26
+ "@aws-sdk/credential-provider-node": "3.35.0",
27
+ "@aws-sdk/fetch-http-handler": "3.35.0",
28
+ "@aws-sdk/hash-node": "3.35.0",
29
+ "@aws-sdk/invalid-dependency": "3.35.0",
30
+ "@aws-sdk/middleware-content-length": "3.35.0",
31
+ "@aws-sdk/middleware-host-header": "3.35.0",
32
+ "@aws-sdk/middleware-logger": "3.35.0",
33
+ "@aws-sdk/middleware-retry": "3.35.0",
34
+ "@aws-sdk/middleware-serde": "3.35.0",
35
+ "@aws-sdk/middleware-signing": "3.35.0",
36
+ "@aws-sdk/middleware-stack": "3.35.0",
37
+ "@aws-sdk/middleware-user-agent": "3.35.0",
38
+ "@aws-sdk/node-config-provider": "3.35.0",
39
+ "@aws-sdk/node-http-handler": "3.35.0",
40
+ "@aws-sdk/protocol-http": "3.35.0",
41
+ "@aws-sdk/smithy-client": "3.35.0",
42
+ "@aws-sdk/types": "3.35.0",
43
+ "@aws-sdk/url-parser": "3.35.0",
44
+ "@aws-sdk/util-base64-browser": "3.35.0",
45
+ "@aws-sdk/util-base64-node": "3.35.0",
46
+ "@aws-sdk/util-body-length-browser": "3.35.0",
47
+ "@aws-sdk/util-body-length-node": "3.35.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.35.0",
49
+ "@aws-sdk/util-user-agent-node": "3.35.0",
50
+ "@aws-sdk/util-utf8-browser": "3.35.0",
51
+ "@aws-sdk/util-utf8-node": "3.35.0",
58
52
  "tslib": "^2.3.0"
59
53
  },
60
54
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.29.0",
55
+ "@aws-sdk/client-documentation-generator": "3.35.0",
62
56
  "@types/node": "^12.7.5",
63
57
  "downlevel-dts": "0.7.0",
64
58
  "jest": "^26.1.0",
65
59
  "rimraf": "^3.0.0",
66
60
  "ts-jest": "^26.4.1",
67
61
  "typedoc": "^0.19.2",
68
- "typescript": "~4.4.2"
62
+ "typescript": "~4.3.5"
69
63
  },
70
64
  "engines": {
71
65
  "node": ">=10.0.0"
72
66
  },
73
67
  "typesVersions": {
74
68
  "<4.0": {
75
- "dist/types/*": [
76
- "dist/types/ts3.4/*"
69
+ "dist-types/*": [
70
+ "dist-types/ts3.4/*"
77
71
  ]
78
72
  }
79
73
  },
@@ -82,6 +76,12 @@
82
76
  "url": "https://aws.amazon.com/javascript/"
83
77
  },
84
78
  "license": "Apache-2.0",
79
+ "browser": {
80
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
81
+ },
82
+ "react-native": {
83
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
84
+ },
85
85
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-datasync",
86
86
  "repository": {
87
87
  "type": "git",
@@ -1,4 +1,5 @@
1
- import { DataSyncClient } from "./DataSyncClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
2
3
  import {
3
4
  CancelTaskExecutionCommand,
4
5
  CancelTaskExecutionCommandInput,
@@ -138,7 +139,7 @@ import {
138
139
  UpdateTaskExecutionCommandInput,
139
140
  UpdateTaskExecutionCommandOutput,
140
141
  } from "./commands/UpdateTaskExecutionCommand";
141
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
142
+ import { DataSyncClient } from "./DataSyncClient";
142
143
 
143
144
  /**
144
145
  * <fullname>DataSync</fullname>
@@ -1,3 +1,54 @@
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ resolveEndpointsConfig,
7
+ resolveRegionConfig,
8
+ } from "@aws-sdk/config-resolver";
9
+ import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
+ import {
11
+ getHostHeaderPlugin,
12
+ HostHeaderInputConfig,
13
+ HostHeaderResolvedConfig,
14
+ resolveHostHeaderConfig,
15
+ } from "@aws-sdk/middleware-host-header";
16
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
+ import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
+ import {
19
+ AwsAuthInputConfig,
20
+ AwsAuthResolvedConfig,
21
+ getAwsAuthPlugin,
22
+ resolveAwsAuthConfig,
23
+ } from "@aws-sdk/middleware-signing";
24
+ import {
25
+ getUserAgentPlugin,
26
+ resolveUserAgentConfig,
27
+ UserAgentInputConfig,
28
+ UserAgentResolvedConfig,
29
+ } from "@aws-sdk/middleware-user-agent";
30
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
+ import {
32
+ Client as __Client,
33
+ SmithyConfiguration as __SmithyConfiguration,
34
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
+ } from "@aws-sdk/smithy-client";
36
+ import {
37
+ Credentials as __Credentials,
38
+ Decoder as __Decoder,
39
+ Encoder as __Encoder,
40
+ Hash as __Hash,
41
+ HashConstructor as __HashConstructor,
42
+ HttpHandlerOptions as __HttpHandlerOptions,
43
+ Logger as __Logger,
44
+ Provider as __Provider,
45
+ Provider,
46
+ RegionInfoProvider,
47
+ StreamCollector as __StreamCollector,
48
+ UrlParser as __UrlParser,
49
+ UserAgent as __UserAgent,
50
+ } from "@aws-sdk/types";
51
+
1
52
  import {
2
53
  CancelTaskExecutionCommandInput,
3
54
  CancelTaskExecutionCommandOutput,
@@ -70,56 +121,6 @@ import {
70
121
  UpdateTaskExecutionCommandOutput,
71
122
  } from "./commands/UpdateTaskExecutionCommand";
72
123
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
73
- import {
74
- EndpointsInputConfig,
75
- EndpointsResolvedConfig,
76
- RegionInputConfig,
77
- RegionResolvedConfig,
78
- resolveEndpointsConfig,
79
- resolveRegionConfig,
80
- } from "@aws-sdk/config-resolver";
81
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
82
- import {
83
- HostHeaderInputConfig,
84
- HostHeaderResolvedConfig,
85
- getHostHeaderPlugin,
86
- resolveHostHeaderConfig,
87
- } from "@aws-sdk/middleware-host-header";
88
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
89
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
90
- import {
91
- AwsAuthInputConfig,
92
- AwsAuthResolvedConfig,
93
- getAwsAuthPlugin,
94
- resolveAwsAuthConfig,
95
- } from "@aws-sdk/middleware-signing";
96
- import {
97
- UserAgentInputConfig,
98
- UserAgentResolvedConfig,
99
- getUserAgentPlugin,
100
- resolveUserAgentConfig,
101
- } from "@aws-sdk/middleware-user-agent";
102
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
103
- import {
104
- Client as __Client,
105
- SmithyConfiguration as __SmithyConfiguration,
106
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
107
- } from "@aws-sdk/smithy-client";
108
- import {
109
- Provider,
110
- RegionInfoProvider,
111
- Credentials as __Credentials,
112
- Decoder as __Decoder,
113
- Encoder as __Encoder,
114
- Hash as __Hash,
115
- HashConstructor as __HashConstructor,
116
- HttpHandlerOptions as __HttpHandlerOptions,
117
- Logger as __Logger,
118
- Provider as __Provider,
119
- StreamCollector as __StreamCollector,
120
- UrlParser as __UrlParser,
121
- UserAgent as __UserAgent,
122
- } from "@aws-sdk/types";
123
124
 
124
125
  export type ServiceInputTypes =
125
126
  | CancelTaskExecutionCommandInput
@@ -354,13 +355,13 @@ export class DataSyncClient extends __Client<
354
355
  readonly config: DataSyncClientResolvedConfig;
355
356
 
356
357
  constructor(configuration: DataSyncClientConfig) {
357
- let _config_0 = __getRuntimeConfig(configuration);
358
- let _config_1 = resolveRegionConfig(_config_0);
359
- let _config_2 = resolveEndpointsConfig(_config_1);
360
- let _config_3 = resolveRetryConfig(_config_2);
361
- let _config_4 = resolveHostHeaderConfig(_config_3);
362
- let _config_5 = resolveAwsAuthConfig(_config_4);
363
- let _config_6 = resolveUserAgentConfig(_config_5);
358
+ const _config_0 = __getRuntimeConfig(configuration);
359
+ const _config_1 = resolveRegionConfig(_config_0);
360
+ const _config_2 = resolveEndpointsConfig(_config_1);
361
+ const _config_3 = resolveRetryConfig(_config_2);
362
+ const _config_4 = resolveHostHeaderConfig(_config_3);
363
+ const _config_5 = resolveAwsAuthConfig(_config_4);
364
+ const _config_6 = resolveUserAgentConfig(_config_5);
364
365
  super(_config_6);
365
366
  this.config = _config_6;
366
367
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CancelTaskExecutionRequest, CancelTaskExecutionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CancelTaskExecutionCommand,
5
- serializeAws_json1_1CancelTaskExecutionCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CancelTaskExecutionRequest, CancelTaskExecutionResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CancelTaskExecutionCommand,
18
+ serializeAws_json1_1CancelTaskExecutionCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CancelTaskExecutionCommandInput extends CancelTaskExecutionRequest {}
21
22
  export interface CancelTaskExecutionCommandOutput extends CancelTaskExecutionResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CreateAgentRequest, CreateAgentResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateAgentCommand,
5
- serializeAws_json1_1CreateAgentCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CreateAgentRequest, CreateAgentResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateAgentCommand,
18
+ serializeAws_json1_1CreateAgentCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CreateAgentCommandInput extends CreateAgentRequest {}
21
22
  export interface CreateAgentCommandOutput extends CreateAgentResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CreateLocationEfsRequest, CreateLocationEfsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLocationEfsCommand,
5
- serializeAws_json1_1CreateLocationEfsCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CreateLocationEfsRequest, CreateLocationEfsResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateLocationEfsCommand,
18
+ serializeAws_json1_1CreateLocationEfsCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CreateLocationEfsCommandInput extends CreateLocationEfsRequest {}
21
22
  export interface CreateLocationEfsCommandOutput extends CreateLocationEfsResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CreateLocationFsxWindowsRequest, CreateLocationFsxWindowsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLocationFsxWindowsCommand,
5
- serializeAws_json1_1CreateLocationFsxWindowsCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CreateLocationFsxWindowsRequest, CreateLocationFsxWindowsResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateLocationFsxWindowsCommand,
18
+ serializeAws_json1_1CreateLocationFsxWindowsCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CreateLocationFsxWindowsCommandInput extends CreateLocationFsxWindowsRequest {}
21
22
  export interface CreateLocationFsxWindowsCommandOutput extends CreateLocationFsxWindowsResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CreateLocationNfsRequest, CreateLocationNfsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLocationNfsCommand,
5
- serializeAws_json1_1CreateLocationNfsCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CreateLocationNfsRequest, CreateLocationNfsResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateLocationNfsCommand,
18
+ serializeAws_json1_1CreateLocationNfsCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CreateLocationNfsCommandInput extends CreateLocationNfsRequest {}
21
22
  export interface CreateLocationNfsCommandOutput extends CreateLocationNfsResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CreateLocationObjectStorageRequest, CreateLocationObjectStorageResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLocationObjectStorageCommand,
5
- serializeAws_json1_1CreateLocationObjectStorageCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CreateLocationObjectStorageRequest, CreateLocationObjectStorageResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateLocationObjectStorageCommand,
18
+ serializeAws_json1_1CreateLocationObjectStorageCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CreateLocationObjectStorageCommandInput extends CreateLocationObjectStorageRequest {}
21
22
  export interface CreateLocationObjectStorageCommandOutput
22
23
  extends CreateLocationObjectStorageResponse,
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CreateLocationS3Request, CreateLocationS3Response } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLocationS3Command,
5
- serializeAws_json1_1CreateLocationS3Command,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CreateLocationS3Request, CreateLocationS3Response } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateLocationS3Command,
18
+ serializeAws_json1_1CreateLocationS3Command,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CreateLocationS3CommandInput extends CreateLocationS3Request {}
21
22
  export interface CreateLocationS3CommandOutput extends CreateLocationS3Response, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CreateLocationSmbRequest, CreateLocationSmbResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateLocationSmbCommand,
5
- serializeAws_json1_1CreateLocationSmbCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CreateLocationSmbRequest, CreateLocationSmbResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateLocationSmbCommand,
18
+ serializeAws_json1_1CreateLocationSmbCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CreateLocationSmbCommandInput extends CreateLocationSmbRequest {}
21
22
  export interface CreateLocationSmbCommandOutput extends CreateLocationSmbResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { CreateTaskRequest, CreateTaskResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateTaskCommand,
5
- serializeAws_json1_1CreateTaskCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { CreateTaskRequest, CreateTaskResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1CreateTaskCommand,
18
+ serializeAws_json1_1CreateTaskCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface CreateTaskCommandInput extends CreateTaskRequest {}
21
22
  export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { DeleteAgentRequest, DeleteAgentResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteAgentCommand,
5
- serializeAws_json1_1DeleteAgentCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { DeleteAgentRequest, DeleteAgentResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1DeleteAgentCommand,
18
+ serializeAws_json1_1DeleteAgentCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface DeleteAgentCommandInput extends DeleteAgentRequest {}
21
22
  export interface DeleteAgentCommandOutput extends DeleteAgentResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { DeleteLocationRequest, DeleteLocationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteLocationCommand,
5
- serializeAws_json1_1DeleteLocationCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { DeleteLocationRequest, DeleteLocationResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1DeleteLocationCommand,
18
+ serializeAws_json1_1DeleteLocationCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface DeleteLocationCommandInput extends DeleteLocationRequest {}
21
22
  export interface DeleteLocationCommandOutput extends DeleteLocationResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
- import { DeleteTaskRequest, DeleteTaskResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteTaskCommand,
5
- serializeAws_json1_1DeleteTaskCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
15
+ import { DeleteTaskRequest, DeleteTaskResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_json1_1DeleteTaskCommand,
18
+ serializeAws_json1_1DeleteTaskCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface DeleteTaskCommandInput extends DeleteTaskRequest {}
21
22
  export interface DeleteTaskCommandOutput extends DeleteTaskResponse, __MetadataBearer {}
22
23