@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
package/DataSyncClient.ts DELETED
@@ -1,382 +0,0 @@
1
- import {
2
- CancelTaskExecutionCommandInput,
3
- CancelTaskExecutionCommandOutput,
4
- } from "./commands/CancelTaskExecutionCommand";
5
- import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
6
- import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
7
- import {
8
- CreateLocationFsxWindowsCommandInput,
9
- CreateLocationFsxWindowsCommandOutput,
10
- } from "./commands/CreateLocationFsxWindowsCommand";
11
- import { CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput } from "./commands/CreateLocationNfsCommand";
12
- import {
13
- CreateLocationObjectStorageCommandInput,
14
- CreateLocationObjectStorageCommandOutput,
15
- } from "./commands/CreateLocationObjectStorageCommand";
16
- import { CreateLocationS3CommandInput, CreateLocationS3CommandOutput } from "./commands/CreateLocationS3Command";
17
- import { CreateLocationSmbCommandInput, CreateLocationSmbCommandOutput } from "./commands/CreateLocationSmbCommand";
18
- import { CreateTaskCommandInput, CreateTaskCommandOutput } from "./commands/CreateTaskCommand";
19
- import { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
20
- import { DeleteLocationCommandInput, DeleteLocationCommandOutput } from "./commands/DeleteLocationCommand";
21
- import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "./commands/DeleteTaskCommand";
22
- import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "./commands/DescribeAgentCommand";
23
- import {
24
- DescribeLocationEfsCommandInput,
25
- DescribeLocationEfsCommandOutput,
26
- } from "./commands/DescribeLocationEfsCommand";
27
- import {
28
- DescribeLocationFsxWindowsCommandInput,
29
- DescribeLocationFsxWindowsCommandOutput,
30
- } from "./commands/DescribeLocationFsxWindowsCommand";
31
- import {
32
- DescribeLocationNfsCommandInput,
33
- DescribeLocationNfsCommandOutput,
34
- } from "./commands/DescribeLocationNfsCommand";
35
- import {
36
- DescribeLocationObjectStorageCommandInput,
37
- DescribeLocationObjectStorageCommandOutput,
38
- } from "./commands/DescribeLocationObjectStorageCommand";
39
- import { DescribeLocationS3CommandInput, DescribeLocationS3CommandOutput } from "./commands/DescribeLocationS3Command";
40
- import {
41
- DescribeLocationSmbCommandInput,
42
- DescribeLocationSmbCommandOutput,
43
- } from "./commands/DescribeLocationSmbCommand";
44
- import { DescribeTaskCommandInput, DescribeTaskCommandOutput } from "./commands/DescribeTaskCommand";
45
- import {
46
- DescribeTaskExecutionCommandInput,
47
- DescribeTaskExecutionCommandOutput,
48
- } from "./commands/DescribeTaskExecutionCommand";
49
- import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
50
- import { ListLocationsCommandInput, ListLocationsCommandOutput } from "./commands/ListLocationsCommand";
51
- import {
52
- ListTagsForResourceCommandInput,
53
- ListTagsForResourceCommandOutput,
54
- } from "./commands/ListTagsForResourceCommand";
55
- import { ListTaskExecutionsCommandInput, ListTaskExecutionsCommandOutput } from "./commands/ListTaskExecutionsCommand";
56
- import { ListTasksCommandInput, ListTasksCommandOutput } from "./commands/ListTasksCommand";
57
- import { StartTaskExecutionCommandInput, StartTaskExecutionCommandOutput } from "./commands/StartTaskExecutionCommand";
58
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
59
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
60
- import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
61
- import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "./commands/UpdateLocationNfsCommand";
62
- import {
63
- UpdateLocationObjectStorageCommandInput,
64
- UpdateLocationObjectStorageCommandOutput,
65
- } from "./commands/UpdateLocationObjectStorageCommand";
66
- import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
67
- import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
68
- import {
69
- UpdateTaskExecutionCommandInput,
70
- UpdateTaskExecutionCommandOutput,
71
- } from "./commands/UpdateTaskExecutionCommand";
72
- 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
- export type ServiceInputTypes =
125
- | CancelTaskExecutionCommandInput
126
- | CreateAgentCommandInput
127
- | CreateLocationEfsCommandInput
128
- | CreateLocationFsxWindowsCommandInput
129
- | CreateLocationNfsCommandInput
130
- | CreateLocationObjectStorageCommandInput
131
- | CreateLocationS3CommandInput
132
- | CreateLocationSmbCommandInput
133
- | CreateTaskCommandInput
134
- | DeleteAgentCommandInput
135
- | DeleteLocationCommandInput
136
- | DeleteTaskCommandInput
137
- | DescribeAgentCommandInput
138
- | DescribeLocationEfsCommandInput
139
- | DescribeLocationFsxWindowsCommandInput
140
- | DescribeLocationNfsCommandInput
141
- | DescribeLocationObjectStorageCommandInput
142
- | DescribeLocationS3CommandInput
143
- | DescribeLocationSmbCommandInput
144
- | DescribeTaskCommandInput
145
- | DescribeTaskExecutionCommandInput
146
- | ListAgentsCommandInput
147
- | ListLocationsCommandInput
148
- | ListTagsForResourceCommandInput
149
- | ListTaskExecutionsCommandInput
150
- | ListTasksCommandInput
151
- | StartTaskExecutionCommandInput
152
- | TagResourceCommandInput
153
- | UntagResourceCommandInput
154
- | UpdateAgentCommandInput
155
- | UpdateLocationNfsCommandInput
156
- | UpdateLocationObjectStorageCommandInput
157
- | UpdateLocationSmbCommandInput
158
- | UpdateTaskCommandInput
159
- | UpdateTaskExecutionCommandInput;
160
-
161
- export type ServiceOutputTypes =
162
- | CancelTaskExecutionCommandOutput
163
- | CreateAgentCommandOutput
164
- | CreateLocationEfsCommandOutput
165
- | CreateLocationFsxWindowsCommandOutput
166
- | CreateLocationNfsCommandOutput
167
- | CreateLocationObjectStorageCommandOutput
168
- | CreateLocationS3CommandOutput
169
- | CreateLocationSmbCommandOutput
170
- | CreateTaskCommandOutput
171
- | DeleteAgentCommandOutput
172
- | DeleteLocationCommandOutput
173
- | DeleteTaskCommandOutput
174
- | DescribeAgentCommandOutput
175
- | DescribeLocationEfsCommandOutput
176
- | DescribeLocationFsxWindowsCommandOutput
177
- | DescribeLocationNfsCommandOutput
178
- | DescribeLocationObjectStorageCommandOutput
179
- | DescribeLocationS3CommandOutput
180
- | DescribeLocationSmbCommandOutput
181
- | DescribeTaskCommandOutput
182
- | DescribeTaskExecutionCommandOutput
183
- | ListAgentsCommandOutput
184
- | ListLocationsCommandOutput
185
- | ListTagsForResourceCommandOutput
186
- | ListTaskExecutionsCommandOutput
187
- | ListTasksCommandOutput
188
- | StartTaskExecutionCommandOutput
189
- | TagResourceCommandOutput
190
- | UntagResourceCommandOutput
191
- | UpdateAgentCommandOutput
192
- | UpdateLocationNfsCommandOutput
193
- | UpdateLocationObjectStorageCommandOutput
194
- | UpdateLocationSmbCommandOutput
195
- | UpdateTaskCommandOutput
196
- | UpdateTaskExecutionCommandOutput;
197
-
198
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
199
- /**
200
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
201
- */
202
- requestHandler?: __HttpHandler;
203
-
204
- /**
205
- * A constructor for a class implementing the {@link __Hash} interface
206
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
207
- * @internal
208
- */
209
- sha256?: __HashConstructor;
210
-
211
- /**
212
- * The function that will be used to convert strings into HTTP endpoints.
213
- * @internal
214
- */
215
- urlParser?: __UrlParser;
216
-
217
- /**
218
- * A function that can calculate the length of a request body.
219
- * @internal
220
- */
221
- bodyLengthChecker?: (body: any) => number | undefined;
222
-
223
- /**
224
- * A function that converts a stream into an array of bytes.
225
- * @internal
226
- */
227
- streamCollector?: __StreamCollector;
228
-
229
- /**
230
- * The function that will be used to convert a base64-encoded string to a byte array.
231
- * @internal
232
- */
233
- base64Decoder?: __Decoder;
234
-
235
- /**
236
- * The function that will be used to convert binary data to a base64-encoded string.
237
- * @internal
238
- */
239
- base64Encoder?: __Encoder;
240
-
241
- /**
242
- * The function that will be used to convert a UTF8-encoded string to a byte array.
243
- * @internal
244
- */
245
- utf8Decoder?: __Decoder;
246
-
247
- /**
248
- * The function that will be used to convert binary data to a UTF-8 encoded string.
249
- * @internal
250
- */
251
- utf8Encoder?: __Encoder;
252
-
253
- /**
254
- * The runtime environment.
255
- * @internal
256
- */
257
- runtime?: string;
258
-
259
- /**
260
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
261
- * trait of an operation.
262
- */
263
- disableHostPrefix?: boolean;
264
-
265
- /**
266
- * Value for how many times a request will be made at most in case of retry.
267
- */
268
- maxAttempts?: number | __Provider<number>;
269
-
270
- /**
271
- * Specifies which retry algorithm to use.
272
- */
273
- retryMode?: string | __Provider<string>;
274
-
275
- /**
276
- * Optional logger for logging debug/info/warn/error.
277
- */
278
- logger?: __Logger;
279
-
280
- /**
281
- * Unique service identifier.
282
- * @internal
283
- */
284
- serviceId?: string;
285
-
286
- /**
287
- * The AWS region to which this client will send requests
288
- */
289
- region?: string | __Provider<string>;
290
-
291
- /**
292
- * Default credentials provider; Not available in browser runtime.
293
- * @internal
294
- */
295
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
296
-
297
- /**
298
- * Fetch related hostname, signing name or signing region with given region.
299
- * @internal
300
- */
301
- regionInfoProvider?: RegionInfoProvider;
302
-
303
- /**
304
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
305
- * @internal
306
- */
307
- defaultUserAgentProvider?: Provider<__UserAgent>;
308
- }
309
-
310
- type DataSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
311
- ClientDefaults &
312
- RegionInputConfig &
313
- EndpointsInputConfig &
314
- RetryInputConfig &
315
- HostHeaderInputConfig &
316
- AwsAuthInputConfig &
317
- UserAgentInputConfig;
318
- /**
319
- * The configuration interface of DataSyncClient class constructor that set the region, credentials and other options.
320
- */
321
- export interface DataSyncClientConfig extends DataSyncClientConfigType {}
322
-
323
- type DataSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
324
- Required<ClientDefaults> &
325
- RegionResolvedConfig &
326
- EndpointsResolvedConfig &
327
- RetryResolvedConfig &
328
- HostHeaderResolvedConfig &
329
- AwsAuthResolvedConfig &
330
- UserAgentResolvedConfig;
331
- /**
332
- * The resolved configuration interface of DataSyncClient class. This is resolved and normalized from the {@link DataSyncClientConfig | constructor configuration interface}.
333
- */
334
- export interface DataSyncClientResolvedConfig extends DataSyncClientResolvedConfigType {}
335
-
336
- /**
337
- * <fullname>DataSync</fullname>
338
- *
339
- * <p>DataSync is a managed data transfer service that makes it simpler for you to
340
- * automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)
341
- * or Amazon Elastic File System (Amazon EFS). </p>
342
- * <p>This API interface reference for DataSync contains documentation for a
343
- * programming interface that you can use to manage DataSync.</p>
344
- */
345
- export class DataSyncClient extends __Client<
346
- __HttpHandlerOptions,
347
- ServiceInputTypes,
348
- ServiceOutputTypes,
349
- DataSyncClientResolvedConfig
350
- > {
351
- /**
352
- * The resolved configuration of DataSyncClient class. This is resolved and normalized from the {@link DataSyncClientConfig | constructor configuration interface}.
353
- */
354
- readonly config: DataSyncClientResolvedConfig;
355
-
356
- 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);
364
- super(_config_6);
365
- this.config = _config_6;
366
- this.middlewareStack.use(getRetryPlugin(this.config));
367
- this.middlewareStack.use(getContentLengthPlugin(this.config));
368
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
369
- this.middlewareStack.use(getLoggerPlugin(this.config));
370
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
371
- this.middlewareStack.use(getUserAgentPlugin(this.config));
372
- }
373
-
374
- /**
375
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
376
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
377
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
378
- */
379
- destroy(): void {
380
- super.destroy();
381
- }
382
- }
@@ -1,101 +0,0 @@
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
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CancelTaskExecutionCommandInput extends CancelTaskExecutionRequest {}
21
- export interface CancelTaskExecutionCommandOutput extends CancelTaskExecutionResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Cancels execution of a task. </p>
25
- * <p>When you cancel a task execution, the transfer of some files is abruptly interrupted.
26
- * The contents of files that are transferred to the destination might be incomplete or
27
- * inconsistent with the source files. However, if you start a new task execution on the same
28
- * task and you allow the task execution to complete, file content on the destination is complete
29
- * and consistent. This applies to other unexpected failures that interrupt a task execution. In
30
- * all of these cases, DataSync successfully complete the transfer when you start the next
31
- * task execution.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DataSyncClient, CancelTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
- * // const { DataSyncClient, CancelTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
- * const client = new DataSyncClient(config);
38
- * const command = new CancelTaskExecutionCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link CancelTaskExecutionCommandInput} for command's `input` shape.
43
- * @see {@link CancelTaskExecutionCommandOutput} for command's `response` shape.
44
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class CancelTaskExecutionCommand extends $Command<
48
- CancelTaskExecutionCommandInput,
49
- CancelTaskExecutionCommandOutput,
50
- DataSyncClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: CancelTaskExecutionCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: DataSyncClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "DataSyncClient";
75
- const commandName = "CancelTaskExecutionCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: CancelTaskExecutionRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: CancelTaskExecutionResponse.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: CancelTaskExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_json1_1CancelTaskExecutionCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelTaskExecutionCommandOutput> {
96
- return deserializeAws_json1_1CancelTaskExecutionCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,108 +0,0 @@
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
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateAgentCommandInput extends CreateAgentRequest {}
21
- export interface CreateAgentCommandOutput extends CreateAgentResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Activates an DataSync agent that you have deployed on your host. The activation
25
- * process associates your agent with your account. In the activation process, you specify
26
- * information such as the Amazon Web Services Region that you want to activate the agent in. You activate the
27
- * agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your
28
- * tasks are created in this Amazon Web Services Region.</p>
29
- * <p>You can activate the agent in a VPC (virtual private cloud) or provide the agent access to
30
- * a VPC endpoint so you can run tasks without going over the public internet.</p>
31
- * <p>You can use an agent for more than one location. If a task uses multiple agents, all of
32
- * them need to have status AVAILABLE for the task to run. If you use multiple agents for a
33
- * source location, the status of all the agents must be AVAILABLE for the task to run. </p>
34
- *
35
- *
36
- * <p>Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that
37
- * ensures minimal interruption to your tasks.</p>
38
- * <p></p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { DataSyncClient, CreateAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
43
- * // const { DataSyncClient, CreateAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
44
- * const client = new DataSyncClient(config);
45
- * const command = new CreateAgentCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link CreateAgentCommandInput} for command's `input` shape.
50
- * @see {@link CreateAgentCommandOutput} for command's `response` shape.
51
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class CreateAgentCommand extends $Command<
55
- CreateAgentCommandInput,
56
- CreateAgentCommandOutput,
57
- DataSyncClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: CreateAgentCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: DataSyncClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<CreateAgentCommandInput, CreateAgentCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "DataSyncClient";
82
- const commandName = "CreateAgentCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: CreateAgentRequest.filterSensitiveLog,
88
- outputFilterSensitiveLog: CreateAgentResponse.filterSensitiveLog,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(input: CreateAgentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
99
- return serializeAws_json1_1CreateAgentCommand(input, context);
100
- }
101
-
102
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAgentCommandOutput> {
103
- return deserializeAws_json1_1CreateAgentCommand(output, context);
104
- }
105
-
106
- // Start section: command_body_extra
107
- // End section: command_body_extra
108
- }
@@ -1,94 +0,0 @@
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
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateLocationEfsCommandInput extends CreateLocationEfsRequest {}
21
- export interface CreateLocationEfsCommandOutput extends CreateLocationEfsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates an endpoint for an Amazon EFS file system.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataSyncClient, CreateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
29
- * // const { DataSyncClient, CreateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
30
- * const client = new DataSyncClient(config);
31
- * const command = new CreateLocationEfsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateLocationEfsCommandInput} for command's `input` shape.
36
- * @see {@link CreateLocationEfsCommandOutput} for command's `response` shape.
37
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateLocationEfsCommand extends $Command<
41
- CreateLocationEfsCommandInput,
42
- CreateLocationEfsCommandOutput,
43
- DataSyncClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateLocationEfsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: DataSyncClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "DataSyncClient";
68
- const commandName = "CreateLocationEfsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateLocationEfsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateLocationEfsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CreateLocationEfsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1CreateLocationEfsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLocationEfsCommandOutput> {
89
- return deserializeAws_json1_1CreateLocationEfsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }