@aws-sdk/client-datasync 3.34.0 → 3.37.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 (402) 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 +1 -2
  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 +1 -2
  55. package/{dist/es → dist-es}/DataSyncClient.js +1 -2
  56. package/{dist/es → dist-es}/commands/CancelTaskExecutionCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/CreateAgentCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/CreateLocationEfsCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/CreateLocationFsxWindowsCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/CreateLocationNfsCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/CreateLocationObjectStorageCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/CreateLocationS3Command.js +2 -3
  63. package/{dist/es → dist-es}/commands/CreateLocationSmbCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/CreateTaskCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/DeleteAgentCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/DeleteLocationCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/DeleteTaskCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/DescribeAgentCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/DescribeLocationEfsCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/DescribeLocationFsxWindowsCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/DescribeLocationNfsCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/DescribeLocationObjectStorageCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/DescribeLocationS3Command.js +2 -3
  74. package/{dist/es → dist-es}/commands/DescribeLocationSmbCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/DescribeTaskCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/DescribeTaskExecutionCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/ListAgentsCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/ListLocationsCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/ListTaskExecutionsCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/ListTasksCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/StartTaskExecutionCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/UpdateAgentCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/UpdateLocationNfsCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/UpdateLocationObjectStorageCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/UpdateLocationSmbCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/UpdateTaskCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/UpdateTaskExecutionCommand.js +2 -3
  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 -1
  95. package/dist-es/pagination/Interfaces.js +1 -0
  96. package/{dist/es → dist-es}/pagination/ListAgentsPaginator.js +1 -2
  97. package/{dist/es → dist-es}/pagination/ListLocationsPaginator.js +1 -2
  98. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +1 -2
  99. package/{dist/es → dist-es}/pagination/ListTaskExecutionsPaginator.js +1 -2
  100. package/{dist/es → dist-es}/pagination/ListTasksPaginator.js +1 -2
  101. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  102. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  103. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  104. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  105. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  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 +45 -42
  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.map +0 -1
  309. package/dist/es/commands/CreateLocationEfsCommand.js.map +0 -1
  310. package/dist/es/commands/CreateLocationFsxWindowsCommand.js.map +0 -1
  311. package/dist/es/commands/CreateLocationNfsCommand.js.map +0 -1
  312. package/dist/es/commands/CreateLocationObjectStorageCommand.js.map +0 -1
  313. package/dist/es/commands/CreateLocationS3Command.js.map +0 -1
  314. package/dist/es/commands/CreateLocationSmbCommand.js.map +0 -1
  315. package/dist/es/commands/CreateTaskCommand.js.map +0 -1
  316. package/dist/es/commands/DeleteAgentCommand.js.map +0 -1
  317. package/dist/es/commands/DeleteLocationCommand.js.map +0 -1
  318. package/dist/es/commands/DeleteTaskCommand.js.map +0 -1
  319. package/dist/es/commands/DescribeAgentCommand.js.map +0 -1
  320. package/dist/es/commands/DescribeLocationEfsCommand.js.map +0 -1
  321. package/dist/es/commands/DescribeLocationFsxWindowsCommand.js.map +0 -1
  322. package/dist/es/commands/DescribeLocationNfsCommand.js.map +0 -1
  323. package/dist/es/commands/DescribeLocationObjectStorageCommand.js.map +0 -1
  324. package/dist/es/commands/DescribeLocationS3Command.js.map +0 -1
  325. package/dist/es/commands/DescribeLocationSmbCommand.js.map +0 -1
  326. package/dist/es/commands/DescribeTaskCommand.js.map +0 -1
  327. package/dist/es/commands/DescribeTaskExecutionCommand.js.map +0 -1
  328. package/dist/es/commands/ListAgentsCommand.js.map +0 -1
  329. package/dist/es/commands/ListLocationsCommand.js.map +0 -1
  330. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  331. package/dist/es/commands/ListTaskExecutionsCommand.js.map +0 -1
  332. package/dist/es/commands/ListTasksCommand.js.map +0 -1
  333. package/dist/es/commands/StartTaskExecutionCommand.js.map +0 -1
  334. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  335. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  336. package/dist/es/commands/UpdateAgentCommand.js.map +0 -1
  337. package/dist/es/commands/UpdateLocationNfsCommand.js.map +0 -1
  338. package/dist/es/commands/UpdateLocationObjectStorageCommand.js.map +0 -1
  339. package/dist/es/commands/UpdateLocationSmbCommand.js.map +0 -1
  340. package/dist/es/commands/UpdateTaskCommand.js.map +0 -1
  341. package/dist/es/commands/UpdateTaskExecutionCommand.js.map +0 -1
  342. package/dist/es/endpoints.js.map +0 -1
  343. package/dist/es/index.js +0 -45
  344. package/dist/es/index.js.map +0 -1
  345. package/dist/es/models/index.js +0 -2
  346. package/dist/es/models/index.js.map +0 -1
  347. package/dist/es/models/models_0.js.map +0 -1
  348. package/dist/es/package.json +0 -91
  349. package/dist/es/pagination/Interfaces.js +0 -2
  350. package/dist/es/pagination/Interfaces.js.map +0 -1
  351. package/dist/es/pagination/ListAgentsPaginator.js.map +0 -1
  352. package/dist/es/pagination/ListLocationsPaginator.js.map +0 -1
  353. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  354. package/dist/es/pagination/ListTaskExecutionsPaginator.js.map +0 -1
  355. package/dist/es/pagination/ListTasksPaginator.js.map +0 -1
  356. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  357. package/dist/es/runtimeConfig.browser.js.map +0 -1
  358. package/dist/es/runtimeConfig.js.map +0 -1
  359. package/dist/es/runtimeConfig.native.js.map +0 -1
  360. package/dist/es/runtimeConfig.shared.js.map +0 -1
  361. package/dist/types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +0 -42
  362. package/dist/types/ts3.4/commands/CreateAgentCommand.d.ts +0 -49
  363. package/dist/types/ts3.4/commands/CreateLocationNfsCommand.d.ts +0 -36
  364. package/dist/types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +0 -36
  365. package/dist/types/ts3.4/commands/CreateLocationS3Command.d.ts +0 -41
  366. package/dist/types/ts3.4/commands/CreateLocationSmbCommand.d.ts +0 -36
  367. package/dist/types/ts3.4/commands/CreateTaskCommand.d.ts +0 -53
  368. package/dist/types/ts3.4/commands/DeleteAgentCommand.d.ts +0 -38
  369. package/dist/types/ts3.4/commands/DeleteLocationCommand.d.ts +0 -35
  370. package/dist/types/ts3.4/commands/DeleteTaskCommand.d.ts +0 -35
  371. package/dist/types/ts3.4/commands/DescribeAgentCommand.d.ts +0 -37
  372. package/dist/types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +0 -36
  373. package/dist/types/ts3.4/commands/ListAgentsCommand.d.ts +0 -42
  374. package/dist/types/ts3.4/commands/ListLocationsCommand.d.ts +0 -38
  375. package/dist/types/ts3.4/commands/ListTasksCommand.d.ts +0 -35
  376. package/dist/types/ts3.4/commands/StartTaskExecutionCommand.d.ts +0 -43
  377. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  378. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  379. package/dist/types/ts3.4/commands/UpdateAgentCommand.d.ts +0 -35
  380. package/dist/types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +0 -36
  381. package/dist/types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +0 -37
  382. package/dist/types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +0 -37
  383. package/dist/types/ts3.4/commands/UpdateTaskCommand.d.ts +0 -35
  384. package/dist/types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +0 -44
  385. package/dist/types/ts3.4/models/models_0.d.ts +0 -2774
  386. package/endpoints.ts +0 -91
  387. package/jest.config.js +0 -4
  388. package/models/models_0.ts +0 -3336
  389. package/pagination/Interfaces.ts +0 -7
  390. package/pagination/ListAgentsPaginator.ts +0 -54
  391. package/pagination/ListLocationsPaginator.ts +0 -58
  392. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  393. package/pagination/ListTaskExecutionsPaginator.ts +0 -58
  394. package/pagination/ListTasksPaginator.ts +0 -54
  395. package/protocols/Aws_json1_1.ts +0 -4257
  396. package/runtimeConfig.browser.ts +0 -40
  397. package/runtimeConfig.native.ts +0 -16
  398. package/runtimeConfig.shared.ts +0 -16
  399. package/runtimeConfig.ts +0 -45
  400. package/tsconfig.es.json +0 -10
  401. package/tsconfig.json +0 -31
  402. package/tsconfig.types.json +0 -8
@@ -1,4 +1,4 @@
1
- import { DataSyncClient } from "./DataSyncClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "./commands/CancelTaskExecutionCommand";
3
3
  import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
4
4
  import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
@@ -34,311 +34,146 @@ import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCom
34
34
  import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
35
35
  import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
36
36
  import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } from "./commands/UpdateTaskExecutionCommand";
37
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
38
- /**
39
- * <fullname>DataSync</fullname>
40
- *
41
- * <p>DataSync is a managed data transfer service that makes it simpler for you to
42
- * automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)
43
- * or Amazon Elastic File System (Amazon EFS). </p>
44
- * <p>This API interface reference for DataSync contains documentation for a
45
- * programming interface that you can use to manage DataSync.</p>
46
- */
37
+ import { DataSyncClient } from "./DataSyncClient";
38
+
47
39
  export declare class DataSync extends DataSyncClient {
48
- /**
49
- * <p>Cancels execution of a task. </p>
50
- * <p>When you cancel a task execution, the transfer of some files is abruptly interrupted.
51
- * The contents of files that are transferred to the destination might be incomplete or
52
- * inconsistent with the source files. However, if you start a new task execution on the same
53
- * task and you allow the task execution to complete, file content on the destination is complete
54
- * and consistent. This applies to other unexpected failures that interrupt a task execution. In
55
- * all of these cases, DataSync successfully complete the transfer when you start the next
56
- * task execution.</p>
57
- */
40
+
58
41
  cancelTaskExecution(args: CancelTaskExecutionCommandInput, options?: __HttpHandlerOptions): Promise<CancelTaskExecutionCommandOutput>;
59
42
  cancelTaskExecution(args: CancelTaskExecutionCommandInput, cb: (err: any, data?: CancelTaskExecutionCommandOutput) => void): void;
60
43
  cancelTaskExecution(args: CancelTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelTaskExecutionCommandOutput) => void): void;
61
- /**
62
- * <p>Activates an DataSync agent that you have deployed on your host. The activation
63
- * process associates your agent with your account. In the activation process, you specify
64
- * information such as the Amazon Web Services Region that you want to activate the agent in. You activate the
65
- * agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your
66
- * tasks are created in this Amazon Web Services Region.</p>
67
- * <p>You can activate the agent in a VPC (virtual private cloud) or provide the agent access to
68
- * a VPC endpoint so you can run tasks without going over the public internet.</p>
69
- * <p>You can use an agent for more than one location. If a task uses multiple agents, all of
70
- * them need to have status AVAILABLE for the task to run. If you use multiple agents for a
71
- * source location, the status of all the agents must be AVAILABLE for the task to run. </p>
72
- *
73
- *
74
- * <p>Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that
75
- * ensures minimal interruption to your tasks.</p>
76
- * <p></p>
77
- */
44
+
78
45
  createAgent(args: CreateAgentCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentCommandOutput>;
79
46
  createAgent(args: CreateAgentCommandInput, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
80
47
  createAgent(args: CreateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
81
- /**
82
- * <p>Creates an endpoint for an Amazon EFS file system.</p>
83
- */
48
+
84
49
  createLocationEfs(args: CreateLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationEfsCommandOutput>;
85
50
  createLocationEfs(args: CreateLocationEfsCommandInput, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
86
51
  createLocationEfs(args: CreateLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
87
- /**
88
- * <p>Creates an endpoint for an Amazon FSx for Windows File Server file system.</p>
89
- */
52
+
90
53
  createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationFsxWindowsCommandOutput>;
91
54
  createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, cb: (err: any, data?: CreateLocationFsxWindowsCommandOutput) => void): void;
92
55
  createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationFsxWindowsCommandOutput) => void): void;
93
- /**
94
- * <p>Defines a file system on a Network File System (NFS) server that can be read from or
95
- * written to.</p>
96
- */
56
+
97
57
  createLocationNfs(args: CreateLocationNfsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationNfsCommandOutput>;
98
58
  createLocationNfs(args: CreateLocationNfsCommandInput, cb: (err: any, data?: CreateLocationNfsCommandOutput) => void): void;
99
59
  createLocationNfs(args: CreateLocationNfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationNfsCommandOutput) => void): void;
100
- /**
101
- * <p>Creates an endpoint for a self-managed object storage bucket. For more information
102
- * 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>
103
- */
60
+
104
61
  createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationObjectStorageCommandOutput>;
105
62
  createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, cb: (err: any, data?: CreateLocationObjectStorageCommandOutput) => void): void;
106
63
  createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationObjectStorageCommandOutput) => void): void;
107
- /**
108
- * <p>Creates an endpoint for an Amazon S3 bucket.</p>
109
- *
110
- *
111
- * <p>For
112
- * more information, see
113
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>
114
- * in the <i>DataSync User Guide</i>.</p>
115
- */
64
+
116
65
  createLocationS3(args: CreateLocationS3CommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationS3CommandOutput>;
117
66
  createLocationS3(args: CreateLocationS3CommandInput, cb: (err: any, data?: CreateLocationS3CommandOutput) => void): void;
118
67
  createLocationS3(args: CreateLocationS3CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationS3CommandOutput) => void): void;
119
- /**
120
- * <p>Defines a file system on a Server Message Block (SMB) server that can be read from or
121
- * written to.</p>
122
- */
68
+
123
69
  createLocationSmb(args: CreateLocationSmbCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationSmbCommandOutput>;
124
70
  createLocationSmb(args: CreateLocationSmbCommandInput, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
125
71
  createLocationSmb(args: CreateLocationSmbCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
126
- /**
127
- * <p>Creates a task.</p>
128
- * <p>A task includes a source location and a destination location, and a configuration
129
- * that specifies how data is transferred. A task always transfers data from the source
130
- * location to the destination location. The configuration specifies options such as
131
- * task scheduling, bandwidth limits, etc. A task is the complete definition of a data
132
- * transfer.</p>
133
- * <p>When you create a task that transfers data between Amazon Web Services services in different Amazon Web Services Regions,
134
- * one of the two locations that you specify must reside in the Region where DataSync is being
135
- * used. The other location must be specified in a different Region.</p>
136
- * <p>You can transfer data between commercial Amazon Web Services Regions except for China, or between
137
- * Amazon Web Services GovCloud (US) Regions.</p>
138
- *
139
- * <important>
140
- * <p>When you use DataSync to copy files or objects between Amazon Web Services Regions,
141
- * you pay for data transfer between Regions. This is billed as data transfer OUT
142
- * from your source Region to your destination Region. For more information,
143
- * see <a href="http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer">Data Transfer pricing</a>.
144
- * </p>
145
- * </important>
146
- */
72
+
147
73
  createTask(args: CreateTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateTaskCommandOutput>;
148
74
  createTask(args: CreateTaskCommandInput, cb: (err: any, data?: CreateTaskCommandOutput) => void): void;
149
75
  createTask(args: CreateTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTaskCommandOutput) => void): void;
150
- /**
151
- * <p>Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN)
152
- * of the agent in your request. The operation disassociates the agent from your Amazon Web Services account.
153
- * However, it doesn't delete the agent virtual machine (VM) from your on-premises
154
- * environment.</p>
155
- */
76
+
156
77
  deleteAgent(args: DeleteAgentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentCommandOutput>;
157
78
  deleteAgent(args: DeleteAgentCommandInput, cb: (err: any, data?: DeleteAgentCommandOutput) => void): void;
158
79
  deleteAgent(args: DeleteAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentCommandOutput) => void): void;
159
- /**
160
- * <p>Deletes the configuration of a location used by DataSync. </p>
161
- */
80
+
162
81
  deleteLocation(args: DeleteLocationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLocationCommandOutput>;
163
82
  deleteLocation(args: DeleteLocationCommandInput, cb: (err: any, data?: DeleteLocationCommandOutput) => void): void;
164
83
  deleteLocation(args: DeleteLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLocationCommandOutput) => void): void;
165
- /**
166
- * <p>Deletes a task.</p>
167
- */
84
+
168
85
  deleteTask(args: DeleteTaskCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTaskCommandOutput>;
169
86
  deleteTask(args: DeleteTaskCommandInput, cb: (err: any, data?: DeleteTaskCommandOutput) => void): void;
170
87
  deleteTask(args: DeleteTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTaskCommandOutput) => void): void;
171
- /**
172
- * <p>Returns metadata such as the name, the network interfaces, and the status (that is,
173
- * whether the agent is running or not) for an agent. To specify which agent to describe, use the
174
- * Amazon Resource Name (ARN) of the agent in your request. </p>
175
- */
88
+
176
89
  describeAgent(args: DescribeAgentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAgentCommandOutput>;
177
90
  describeAgent(args: DescribeAgentCommandInput, cb: (err: any, data?: DescribeAgentCommandOutput) => void): void;
178
91
  describeAgent(args: DescribeAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAgentCommandOutput) => void): void;
179
- /**
180
- * <p>Returns metadata, such as the path information about an Amazon EFS location.</p>
181
- */
92
+
182
93
  describeLocationEfs(args: DescribeLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationEfsCommandOutput>;
183
94
  describeLocationEfs(args: DescribeLocationEfsCommandInput, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
184
95
  describeLocationEfs(args: DescribeLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
185
- /**
186
- * <p>Returns metadata, such as the path information about an Amazon FSx for Windows File Server
187
- * location.</p>
188
- */
96
+
189
97
  describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationFsxWindowsCommandOutput>;
190
98
  describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, cb: (err: any, data?: DescribeLocationFsxWindowsCommandOutput) => void): void;
191
99
  describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationFsxWindowsCommandOutput) => void): void;
192
- /**
193
- * <p>Returns metadata, such as the path information, about an NFS location.</p>
194
- */
100
+
195
101
  describeLocationNfs(args: DescribeLocationNfsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationNfsCommandOutput>;
196
102
  describeLocationNfs(args: DescribeLocationNfsCommandInput, cb: (err: any, data?: DescribeLocationNfsCommandOutput) => void): void;
197
103
  describeLocationNfs(args: DescribeLocationNfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationNfsCommandOutput) => void): void;
198
- /**
199
- * <p>Returns metadata about a self-managed object storage server location. For more information
200
- * 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>
201
- */
104
+
202
105
  describeLocationObjectStorage(args: DescribeLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationObjectStorageCommandOutput>;
203
106
  describeLocationObjectStorage(args: DescribeLocationObjectStorageCommandInput, cb: (err: any, data?: DescribeLocationObjectStorageCommandOutput) => void): void;
204
107
  describeLocationObjectStorage(args: DescribeLocationObjectStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationObjectStorageCommandOutput) => void): void;
205
- /**
206
- * <p>Returns metadata, such as bucket name, about an Amazon S3 bucket location.</p>
207
- */
108
+
208
109
  describeLocationS3(args: DescribeLocationS3CommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationS3CommandOutput>;
209
110
  describeLocationS3(args: DescribeLocationS3CommandInput, cb: (err: any, data?: DescribeLocationS3CommandOutput) => void): void;
210
111
  describeLocationS3(args: DescribeLocationS3CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationS3CommandOutput) => void): void;
211
- /**
212
- * <p>Returns metadata, such as the path and user information about an SMB location.</p>
213
- */
112
+
214
113
  describeLocationSmb(args: DescribeLocationSmbCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationSmbCommandOutput>;
215
114
  describeLocationSmb(args: DescribeLocationSmbCommandInput, cb: (err: any, data?: DescribeLocationSmbCommandOutput) => void): void;
216
115
  describeLocationSmb(args: DescribeLocationSmbCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationSmbCommandOutput) => void): void;
217
- /**
218
- * <p>Returns metadata about a task.</p>
219
- */
116
+
220
117
  describeTask(args: DescribeTaskCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTaskCommandOutput>;
221
118
  describeTask(args: DescribeTaskCommandInput, cb: (err: any, data?: DescribeTaskCommandOutput) => void): void;
222
119
  describeTask(args: DescribeTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTaskCommandOutput) => void): void;
223
- /**
224
- * <p>Returns detailed metadata about a task that is being executed.</p>
225
- */
120
+
226
121
  describeTaskExecution(args: DescribeTaskExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTaskExecutionCommandOutput>;
227
122
  describeTaskExecution(args: DescribeTaskExecutionCommandInput, cb: (err: any, data?: DescribeTaskExecutionCommandOutput) => void): void;
228
123
  describeTaskExecution(args: DescribeTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTaskExecutionCommandOutput) => void): void;
229
- /**
230
- * <p>Returns a list of agents owned by an Amazon Web Services account in the Amazon Web Services Region specified in the
231
- * request. The returned list is ordered by agent Amazon Resource Name (ARN).</p>
232
- * <p>By default, this operation returns a maximum of 100 agents. This operation supports
233
- * pagination that enables you to optionally reduce the number of agents returned in a
234
- * response.</p>
235
- * <p>If you have more agents than are returned in a response (that is, the response returns
236
- * only a truncated list of your agents), the response contains a marker that you can specify in
237
- * your next request to fetch the next page of agents.</p>
238
- */
124
+
239
125
  listAgents(args: ListAgentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentsCommandOutput>;
240
126
  listAgents(args: ListAgentsCommandInput, cb: (err: any, data?: ListAgentsCommandOutput) => void): void;
241
127
  listAgents(args: ListAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentsCommandOutput) => void): void;
242
- /**
243
- * <p>Returns a list of source and destination locations.</p>
244
- * <p>If you have more locations than are returned in a response (that is, the response
245
- * returns only a truncated list of your agents), the response contains a token that you can
246
- * specify in your next request to fetch the next page of locations.</p>
247
- */
128
+
248
129
  listLocations(args: ListLocationsCommandInput, options?: __HttpHandlerOptions): Promise<ListLocationsCommandOutput>;
249
130
  listLocations(args: ListLocationsCommandInput, cb: (err: any, data?: ListLocationsCommandOutput) => void): void;
250
131
  listLocations(args: ListLocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLocationsCommandOutput) => void): void;
251
- /**
252
- * <p>Returns all the tags associated with a specified resource. </p>
253
- */
132
+
254
133
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
255
134
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
256
135
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
257
- /**
258
- * <p>Returns a list of executed tasks.</p>
259
- */
136
+
260
137
  listTaskExecutions(args: ListTaskExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListTaskExecutionsCommandOutput>;
261
138
  listTaskExecutions(args: ListTaskExecutionsCommandInput, cb: (err: any, data?: ListTaskExecutionsCommandOutput) => void): void;
262
139
  listTaskExecutions(args: ListTaskExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTaskExecutionsCommandOutput) => void): void;
263
- /**
264
- * <p>Returns a list of all the tasks.</p>
265
- */
140
+
266
141
  listTasks(args: ListTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListTasksCommandOutput>;
267
142
  listTasks(args: ListTasksCommandInput, cb: (err: any, data?: ListTasksCommandOutput) => void): void;
268
143
  listTasks(args: ListTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTasksCommandOutput) => void): void;
269
- /**
270
- * <p>Starts a specific invocation of a task. A <code>TaskExecution</code> value represents
271
- * an individual run of a task. Each task can have at most one <code>TaskExecution</code> at a
272
- * time.</p>
273
- * <p>
274
- * <code>TaskExecution</code> has the following transition phases: INITIALIZING |
275
- * PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE. </p>
276
- *
277
- * <p>For detailed information, see the Task Execution section in the Components and
278
- * Terminology topic in the <i>DataSync User Guide</i>.</p>
279
- */
144
+
280
145
  startTaskExecution(args: StartTaskExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartTaskExecutionCommandOutput>;
281
146
  startTaskExecution(args: StartTaskExecutionCommandInput, cb: (err: any, data?: StartTaskExecutionCommandOutput) => void): void;
282
147
  startTaskExecution(args: StartTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTaskExecutionCommandOutput) => void): void;
283
- /**
284
- * <p>Applies a key-value pair to an Amazon Web Services resource.</p>
285
- */
148
+
286
149
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
287
150
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
288
151
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
289
- /**
290
- * <p>Removes a tag from an Amazon Web Services resource.</p>
291
- */
152
+
292
153
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
293
154
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
294
155
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
295
- /**
296
- * <p>Updates the name of an agent.</p>
297
- */
156
+
298
157
  updateAgent(args: UpdateAgentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentCommandOutput>;
299
158
  updateAgent(args: UpdateAgentCommandInput, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
300
159
  updateAgent(args: UpdateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
301
- /**
302
- * <p>Updates some of the parameters of a previously created location for Network File System (NFS) access.
303
- * For information about creating an NFS location, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html">Creating a location for NFS</a>.</p>
304
- */
160
+
305
161
  updateLocationNfs(args: UpdateLocationNfsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationNfsCommandOutput>;
306
162
  updateLocationNfs(args: UpdateLocationNfsCommandInput, cb: (err: any, data?: UpdateLocationNfsCommandOutput) => void): void;
307
163
  updateLocationNfs(args: UpdateLocationNfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationNfsCommandOutput) => void): void;
308
- /**
309
- * <p>Updates some of the parameters of a previously created location for self-managed object
310
- * storage server access. For information about creating a self-managed object storage location,
311
- * see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
312
- */
164
+
313
165
  updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationObjectStorageCommandOutput>;
314
166
  updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, cb: (err: any, data?: UpdateLocationObjectStorageCommandOutput) => void): void;
315
167
  updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationObjectStorageCommandOutput) => void): void;
316
- /**
317
- * <p>Updates some of the parameters of a previously created location for Server Message Block
318
- * (SMB) file system access. For information about creating an SMB location, see
319
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">Creating a location for SMB</a>.</p>
320
- */
168
+
321
169
  updateLocationSmb(args: UpdateLocationSmbCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationSmbCommandOutput>;
322
170
  updateLocationSmb(args: UpdateLocationSmbCommandInput, cb: (err: any, data?: UpdateLocationSmbCommandOutput) => void): void;
323
171
  updateLocationSmb(args: UpdateLocationSmbCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationSmbCommandOutput) => void): void;
324
- /**
325
- * <p>Updates the metadata associated with a task.</p>
326
- */
172
+
327
173
  updateTask(args: UpdateTaskCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTaskCommandOutput>;
328
174
  updateTask(args: UpdateTaskCommandInput, cb: (err: any, data?: UpdateTaskCommandOutput) => void): void;
329
175
  updateTask(args: UpdateTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTaskCommandOutput) => void): void;
330
- /**
331
- * <p>Updates execution of a task.</p>
332
- * <p>You can modify bandwidth throttling for a task execution that is running or queued.
333
- * For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#adjust-bandwidth-throttling">Adjusting Bandwidth Throttling for a Task Execution</a>.</p>
334
- *
335
- * <note>
336
- * <p>The only <code>Option</code> that can be modified by <code>UpdateTaskExecution</code>
337
- * is <code>
338
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-BytesPerSecond">BytesPerSecond</a>
339
- * </code>.</p>
340
- * </note>
341
- */
176
+
342
177
  updateTaskExecution(args: UpdateTaskExecutionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTaskExecutionCommandOutput>;
343
178
  updateTaskExecution(args: UpdateTaskExecutionCommandInput, cb: (err: any, data?: UpdateTaskExecutionCommandOutput) => void): void;
344
179
  updateTaskExecution(args: UpdateTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTaskExecutionCommandOutput) => void): void;
@@ -1,3 +1,11 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
1
9
  import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "./commands/CancelTaskExecutionCommand";
2
10
  import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
3
11
  import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
@@ -33,141 +41,62 @@ import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCom
33
41
  import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
34
42
  import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
35
43
  import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } from "./commands/UpdateTaskExecutionCommand";
36
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
37
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
38
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
39
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
40
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
41
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
42
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
43
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
44
44
  export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
45
45
  export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
46
46
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
47
- /**
48
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
49
- */
47
+
50
48
  requestHandler?: __HttpHandler;
51
- /**
52
- * A constructor for a class implementing the {@link __Hash} interface
53
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
54
- * @internal
55
- */
49
+
56
50
  sha256?: __HashConstructor;
57
- /**
58
- * The function that will be used to convert strings into HTTP endpoints.
59
- * @internal
60
- */
51
+
61
52
  urlParser?: __UrlParser;
62
- /**
63
- * A function that can calculate the length of a request body.
64
- * @internal
65
- */
53
+
66
54
  bodyLengthChecker?: (body: any) => number | undefined;
67
- /**
68
- * A function that converts a stream into an array of bytes.
69
- * @internal
70
- */
55
+
71
56
  streamCollector?: __StreamCollector;
72
- /**
73
- * The function that will be used to convert a base64-encoded string to a byte array.
74
- * @internal
75
- */
57
+
76
58
  base64Decoder?: __Decoder;
77
- /**
78
- * The function that will be used to convert binary data to a base64-encoded string.
79
- * @internal
80
- */
59
+
81
60
  base64Encoder?: __Encoder;
82
- /**
83
- * The function that will be used to convert a UTF8-encoded string to a byte array.
84
- * @internal
85
- */
61
+
86
62
  utf8Decoder?: __Decoder;
87
- /**
88
- * The function that will be used to convert binary data to a UTF-8 encoded string.
89
- * @internal
90
- */
63
+
91
64
  utf8Encoder?: __Encoder;
92
- /**
93
- * The runtime environment.
94
- * @internal
95
- */
65
+
96
66
  runtime?: string;
97
- /**
98
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
99
- * trait of an operation.
100
- */
67
+
101
68
  disableHostPrefix?: boolean;
102
- /**
103
- * Value for how many times a request will be made at most in case of retry.
104
- */
69
+
105
70
  maxAttempts?: number | __Provider<number>;
106
- /**
107
- * Specifies which retry algorithm to use.
108
- */
71
+
109
72
  retryMode?: string | __Provider<string>;
110
- /**
111
- * Optional logger for logging debug/info/warn/error.
112
- */
73
+
113
74
  logger?: __Logger;
114
- /**
115
- * Unique service identifier.
116
- * @internal
117
- */
75
+
118
76
  serviceId?: string;
119
- /**
120
- * The AWS region to which this client will send requests
121
- */
77
+
122
78
  region?: string | __Provider<string>;
123
- /**
124
- * Default credentials provider; Not available in browser runtime.
125
- * @internal
126
- */
79
+
127
80
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
128
- /**
129
- * Fetch related hostname, signing name or signing region with given region.
130
- * @internal
131
- */
81
+
132
82
  regionInfoProvider?: RegionInfoProvider;
133
- /**
134
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
135
- * @internal
136
- */
83
+
137
84
  defaultUserAgentProvider?: Provider<__UserAgent>;
138
85
  }
139
86
  declare type DataSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
140
- /**
141
- * The configuration interface of DataSyncClient class constructor that set the region, credentials and other options.
142
- */
87
+
143
88
  export interface DataSyncClientConfig extends DataSyncClientConfigType {
144
89
  }
145
90
  declare type DataSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
146
- /**
147
- * The resolved configuration interface of DataSyncClient class. This is resolved and normalized from the {@link DataSyncClientConfig | constructor configuration interface}.
148
- */
91
+
149
92
  export interface DataSyncClientResolvedConfig extends DataSyncClientResolvedConfigType {
150
93
  }
151
- /**
152
- * <fullname>DataSync</fullname>
153
- *
154
- * <p>DataSync is a managed data transfer service that makes it simpler for you to
155
- * automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)
156
- * or Amazon Elastic File System (Amazon EFS). </p>
157
- * <p>This API interface reference for DataSync contains documentation for a
158
- * programming interface that you can use to manage DataSync.</p>
159
- */
94
+
160
95
  export declare class DataSyncClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DataSyncClientResolvedConfig> {
161
- /**
162
- * The resolved configuration of DataSyncClient class. This is resolved and normalized from the {@link DataSyncClientConfig | constructor configuration interface}.
163
- */
96
+
164
97
  readonly config: DataSyncClientResolvedConfig;
165
98
  constructor(configuration: DataSyncClientConfig);
166
- /**
167
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
168
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
169
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
170
- */
99
+
171
100
  destroy(): void;
172
101
  }
173
102
  export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { CancelTaskExecutionRequest, CancelTaskExecutionResponse } from "../models/models_0";
5
+ export interface CancelTaskExecutionCommandInput extends CancelTaskExecutionRequest {
6
+ }
7
+ export interface CancelTaskExecutionCommandOutput extends CancelTaskExecutionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CancelTaskExecutionCommand extends $Command<CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput, DataSyncClientResolvedConfig> {
11
+ readonly input: CancelTaskExecutionCommandInput;
12
+ constructor(input: CancelTaskExecutionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { CreateAgentRequest, CreateAgentResponse } from "../models/models_0";
5
+ export interface CreateAgentCommandInput extends CreateAgentRequest {
6
+ }
7
+ export interface CreateAgentCommandOutput extends CreateAgentResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateAgentCommand extends $Command<CreateAgentCommandInput, CreateAgentCommandOutput, DataSyncClientResolvedConfig> {
11
+ readonly input: CreateAgentCommandInput;
12
+ constructor(input: CreateAgentCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAgentCommandInput, CreateAgentCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -1,34 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
2
4
  import { CreateLocationEfsRequest, CreateLocationEfsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateLocationEfsCommandInput extends CreateLocationEfsRequest {
6
6
  }
7
7
  export interface CreateLocationEfsCommandOutput extends CreateLocationEfsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates an endpoint for an Amazon EFS file system.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DataSyncClient, CreateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
- * // const { DataSyncClient, CreateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
- * const client = new DataSyncClient(config);
17
- * const command = new CreateLocationEfsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateLocationEfsCommandInput} for command's `input` shape.
22
- * @see {@link CreateLocationEfsCommandOutput} for command's `response` shape.
23
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateLocationEfsCommand extends $Command<CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput, DataSyncClientResolvedConfig> {
27
11
  readonly input: CreateLocationEfsCommandInput;
28
12
  constructor(input: CreateLocationEfsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;