@aws-sdk/client-datasync 3.477.0 → 3.481.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 (281) hide show
  1. package/dist-cjs/commands/AddStorageSystemCommand.js +18 -41
  2. package/dist-cjs/commands/CancelTaskExecutionCommand.js +18 -41
  3. package/dist-cjs/commands/CreateAgentCommand.js +18 -41
  4. package/dist-cjs/commands/CreateLocationAzureBlobCommand.js +18 -41
  5. package/dist-cjs/commands/CreateLocationEfsCommand.js +18 -41
  6. package/dist-cjs/commands/CreateLocationFsxLustreCommand.js +18 -41
  7. package/dist-cjs/commands/CreateLocationFsxOntapCommand.js +18 -41
  8. package/dist-cjs/commands/CreateLocationFsxOpenZfsCommand.js +18 -41
  9. package/dist-cjs/commands/CreateLocationFsxWindowsCommand.js +18 -41
  10. package/dist-cjs/commands/CreateLocationHdfsCommand.js +18 -41
  11. package/dist-cjs/commands/CreateLocationNfsCommand.js +18 -41
  12. package/dist-cjs/commands/CreateLocationObjectStorageCommand.js +18 -41
  13. package/dist-cjs/commands/CreateLocationS3Command.js +18 -41
  14. package/dist-cjs/commands/CreateLocationSmbCommand.js +18 -41
  15. package/dist-cjs/commands/CreateTaskCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteAgentCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteLocationCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteTaskCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeAgentCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeDiscoveryJobCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeLocationAzureBlobCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeLocationEfsCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeLocationFsxLustreCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeLocationFsxOntapCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeLocationFsxOpenZfsCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeLocationFsxWindowsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeLocationHdfsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeLocationNfsCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeLocationObjectStorageCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeLocationS3Command.js +18 -41
  31. package/dist-cjs/commands/DescribeLocationSmbCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeStorageSystemCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeStorageSystemResourceMetricsCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeStorageSystemResourcesCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeTaskCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeTaskExecutionCommand.js +18 -41
  37. package/dist-cjs/commands/GenerateRecommendationsCommand.js +18 -41
  38. package/dist-cjs/commands/ListAgentsCommand.js +18 -41
  39. package/dist-cjs/commands/ListDiscoveryJobsCommand.js +18 -41
  40. package/dist-cjs/commands/ListLocationsCommand.js +18 -41
  41. package/dist-cjs/commands/ListStorageSystemsCommand.js +18 -41
  42. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  43. package/dist-cjs/commands/ListTaskExecutionsCommand.js +18 -41
  44. package/dist-cjs/commands/ListTasksCommand.js +18 -41
  45. package/dist-cjs/commands/RemoveStorageSystemCommand.js +18 -41
  46. package/dist-cjs/commands/StartDiscoveryJobCommand.js +18 -41
  47. package/dist-cjs/commands/StartTaskExecutionCommand.js +18 -41
  48. package/dist-cjs/commands/StopDiscoveryJobCommand.js +18 -41
  49. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  50. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateAgentCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateDiscoveryJobCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateLocationAzureBlobCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateLocationHdfsCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateLocationNfsCommand.js +18 -41
  56. package/dist-cjs/commands/UpdateLocationObjectStorageCommand.js +18 -41
  57. package/dist-cjs/commands/UpdateLocationSmbCommand.js +18 -41
  58. package/dist-cjs/commands/UpdateStorageSystemCommand.js +18 -41
  59. package/dist-cjs/commands/UpdateTaskCommand.js +18 -41
  60. package/dist-cjs/commands/UpdateTaskExecutionCommand.js +18 -41
  61. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  62. package/dist-cjs/pagination/DescribeStorageSystemResourceMetricsPaginator.js +2 -24
  63. package/dist-cjs/pagination/DescribeStorageSystemResourcesPaginator.js +2 -24
  64. package/dist-cjs/pagination/ListAgentsPaginator.js +2 -24
  65. package/dist-cjs/pagination/ListDiscoveryJobsPaginator.js +2 -24
  66. package/dist-cjs/pagination/ListLocationsPaginator.js +2 -24
  67. package/dist-cjs/pagination/ListStorageSystemsPaginator.js +2 -24
  68. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
  69. package/dist-cjs/pagination/ListTaskExecutionsPaginator.js +2 -24
  70. package/dist-cjs/pagination/ListTasksPaginator.js +2 -24
  71. package/dist-es/commands/AddStorageSystemCommand.js +18 -41
  72. package/dist-es/commands/CancelTaskExecutionCommand.js +18 -41
  73. package/dist-es/commands/CreateAgentCommand.js +18 -41
  74. package/dist-es/commands/CreateLocationAzureBlobCommand.js +18 -41
  75. package/dist-es/commands/CreateLocationEfsCommand.js +18 -41
  76. package/dist-es/commands/CreateLocationFsxLustreCommand.js +18 -41
  77. package/dist-es/commands/CreateLocationFsxOntapCommand.js +18 -41
  78. package/dist-es/commands/CreateLocationFsxOpenZfsCommand.js +18 -41
  79. package/dist-es/commands/CreateLocationFsxWindowsCommand.js +18 -41
  80. package/dist-es/commands/CreateLocationHdfsCommand.js +18 -41
  81. package/dist-es/commands/CreateLocationNfsCommand.js +18 -41
  82. package/dist-es/commands/CreateLocationObjectStorageCommand.js +18 -41
  83. package/dist-es/commands/CreateLocationS3Command.js +18 -41
  84. package/dist-es/commands/CreateLocationSmbCommand.js +18 -41
  85. package/dist-es/commands/CreateTaskCommand.js +18 -41
  86. package/dist-es/commands/DeleteAgentCommand.js +18 -41
  87. package/dist-es/commands/DeleteLocationCommand.js +18 -41
  88. package/dist-es/commands/DeleteTaskCommand.js +18 -41
  89. package/dist-es/commands/DescribeAgentCommand.js +18 -41
  90. package/dist-es/commands/DescribeDiscoveryJobCommand.js +18 -41
  91. package/dist-es/commands/DescribeLocationAzureBlobCommand.js +18 -41
  92. package/dist-es/commands/DescribeLocationEfsCommand.js +18 -41
  93. package/dist-es/commands/DescribeLocationFsxLustreCommand.js +18 -41
  94. package/dist-es/commands/DescribeLocationFsxOntapCommand.js +18 -41
  95. package/dist-es/commands/DescribeLocationFsxOpenZfsCommand.js +18 -41
  96. package/dist-es/commands/DescribeLocationFsxWindowsCommand.js +18 -41
  97. package/dist-es/commands/DescribeLocationHdfsCommand.js +18 -41
  98. package/dist-es/commands/DescribeLocationNfsCommand.js +18 -41
  99. package/dist-es/commands/DescribeLocationObjectStorageCommand.js +18 -41
  100. package/dist-es/commands/DescribeLocationS3Command.js +18 -41
  101. package/dist-es/commands/DescribeLocationSmbCommand.js +18 -41
  102. package/dist-es/commands/DescribeStorageSystemCommand.js +18 -41
  103. package/dist-es/commands/DescribeStorageSystemResourceMetricsCommand.js +18 -41
  104. package/dist-es/commands/DescribeStorageSystemResourcesCommand.js +18 -41
  105. package/dist-es/commands/DescribeTaskCommand.js +18 -41
  106. package/dist-es/commands/DescribeTaskExecutionCommand.js +18 -41
  107. package/dist-es/commands/GenerateRecommendationsCommand.js +18 -41
  108. package/dist-es/commands/ListAgentsCommand.js +18 -41
  109. package/dist-es/commands/ListDiscoveryJobsCommand.js +18 -41
  110. package/dist-es/commands/ListLocationsCommand.js +18 -41
  111. package/dist-es/commands/ListStorageSystemsCommand.js +18 -41
  112. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  113. package/dist-es/commands/ListTaskExecutionsCommand.js +18 -41
  114. package/dist-es/commands/ListTasksCommand.js +18 -41
  115. package/dist-es/commands/RemoveStorageSystemCommand.js +18 -41
  116. package/dist-es/commands/StartDiscoveryJobCommand.js +18 -41
  117. package/dist-es/commands/StartTaskExecutionCommand.js +18 -41
  118. package/dist-es/commands/StopDiscoveryJobCommand.js +18 -41
  119. package/dist-es/commands/TagResourceCommand.js +18 -41
  120. package/dist-es/commands/UntagResourceCommand.js +18 -41
  121. package/dist-es/commands/UpdateAgentCommand.js +18 -41
  122. package/dist-es/commands/UpdateDiscoveryJobCommand.js +18 -41
  123. package/dist-es/commands/UpdateLocationAzureBlobCommand.js +18 -41
  124. package/dist-es/commands/UpdateLocationHdfsCommand.js +18 -41
  125. package/dist-es/commands/UpdateLocationNfsCommand.js +18 -41
  126. package/dist-es/commands/UpdateLocationObjectStorageCommand.js +18 -41
  127. package/dist-es/commands/UpdateLocationSmbCommand.js +18 -41
  128. package/dist-es/commands/UpdateStorageSystemCommand.js +18 -41
  129. package/dist-es/commands/UpdateTaskCommand.js +18 -41
  130. package/dist-es/commands/UpdateTaskExecutionCommand.js +18 -41
  131. package/dist-es/endpoint/EndpointParameters.js +6 -0
  132. package/dist-es/pagination/DescribeStorageSystemResourceMetricsPaginator.js +2 -23
  133. package/dist-es/pagination/DescribeStorageSystemResourcesPaginator.js +2 -23
  134. package/dist-es/pagination/ListAgentsPaginator.js +2 -23
  135. package/dist-es/pagination/ListDiscoveryJobsPaginator.js +2 -23
  136. package/dist-es/pagination/ListLocationsPaginator.js +2 -23
  137. package/dist-es/pagination/ListStorageSystemsPaginator.js +2 -23
  138. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
  139. package/dist-es/pagination/ListTaskExecutionsPaginator.js +2 -23
  140. package/dist-es/pagination/ListTasksPaginator.js +2 -23
  141. package/dist-types/commands/AddStorageSystemCommand.d.ts +6 -21
  142. package/dist-types/commands/CancelTaskExecutionCommand.d.ts +6 -21
  143. package/dist-types/commands/CreateAgentCommand.d.ts +6 -21
  144. package/dist-types/commands/CreateLocationAzureBlobCommand.d.ts +6 -21
  145. package/dist-types/commands/CreateLocationEfsCommand.d.ts +6 -21
  146. package/dist-types/commands/CreateLocationFsxLustreCommand.d.ts +6 -21
  147. package/dist-types/commands/CreateLocationFsxOntapCommand.d.ts +6 -21
  148. package/dist-types/commands/CreateLocationFsxOpenZfsCommand.d.ts +6 -21
  149. package/dist-types/commands/CreateLocationFsxWindowsCommand.d.ts +6 -21
  150. package/dist-types/commands/CreateLocationHdfsCommand.d.ts +6 -21
  151. package/dist-types/commands/CreateLocationNfsCommand.d.ts +6 -21
  152. package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +6 -21
  153. package/dist-types/commands/CreateLocationS3Command.d.ts +6 -21
  154. package/dist-types/commands/CreateLocationSmbCommand.d.ts +6 -21
  155. package/dist-types/commands/CreateTaskCommand.d.ts +6 -21
  156. package/dist-types/commands/DeleteAgentCommand.d.ts +6 -21
  157. package/dist-types/commands/DeleteLocationCommand.d.ts +6 -21
  158. package/dist-types/commands/DeleteTaskCommand.d.ts +6 -21
  159. package/dist-types/commands/DescribeAgentCommand.d.ts +6 -21
  160. package/dist-types/commands/DescribeDiscoveryJobCommand.d.ts +6 -21
  161. package/dist-types/commands/DescribeLocationAzureBlobCommand.d.ts +6 -21
  162. package/dist-types/commands/DescribeLocationEfsCommand.d.ts +6 -21
  163. package/dist-types/commands/DescribeLocationFsxLustreCommand.d.ts +6 -21
  164. package/dist-types/commands/DescribeLocationFsxOntapCommand.d.ts +6 -21
  165. package/dist-types/commands/DescribeLocationFsxOpenZfsCommand.d.ts +6 -21
  166. package/dist-types/commands/DescribeLocationFsxWindowsCommand.d.ts +6 -21
  167. package/dist-types/commands/DescribeLocationHdfsCommand.d.ts +6 -21
  168. package/dist-types/commands/DescribeLocationNfsCommand.d.ts +6 -21
  169. package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +6 -21
  170. package/dist-types/commands/DescribeLocationS3Command.d.ts +6 -21
  171. package/dist-types/commands/DescribeLocationSmbCommand.d.ts +6 -21
  172. package/dist-types/commands/DescribeStorageSystemCommand.d.ts +6 -21
  173. package/dist-types/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +6 -21
  174. package/dist-types/commands/DescribeStorageSystemResourcesCommand.d.ts +6 -21
  175. package/dist-types/commands/DescribeTaskCommand.d.ts +6 -21
  176. package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +6 -21
  177. package/dist-types/commands/GenerateRecommendationsCommand.d.ts +6 -21
  178. package/dist-types/commands/ListAgentsCommand.d.ts +6 -21
  179. package/dist-types/commands/ListDiscoveryJobsCommand.d.ts +6 -21
  180. package/dist-types/commands/ListLocationsCommand.d.ts +6 -21
  181. package/dist-types/commands/ListStorageSystemsCommand.d.ts +6 -21
  182. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  183. package/dist-types/commands/ListTaskExecutionsCommand.d.ts +6 -21
  184. package/dist-types/commands/ListTasksCommand.d.ts +6 -21
  185. package/dist-types/commands/RemoveStorageSystemCommand.d.ts +6 -21
  186. package/dist-types/commands/StartDiscoveryJobCommand.d.ts +6 -21
  187. package/dist-types/commands/StartTaskExecutionCommand.d.ts +6 -21
  188. package/dist-types/commands/StopDiscoveryJobCommand.d.ts +6 -21
  189. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  190. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  191. package/dist-types/commands/UpdateAgentCommand.d.ts +6 -21
  192. package/dist-types/commands/UpdateDiscoveryJobCommand.d.ts +6 -21
  193. package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +6 -21
  194. package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +6 -21
  195. package/dist-types/commands/UpdateLocationNfsCommand.d.ts +6 -21
  196. package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +6 -21
  197. package/dist-types/commands/UpdateLocationSmbCommand.d.ts +6 -21
  198. package/dist-types/commands/UpdateStorageSystemCommand.d.ts +6 -21
  199. package/dist-types/commands/UpdateTaskCommand.d.ts +6 -21
  200. package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +6 -21
  201. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  202. package/dist-types/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +1 -1
  203. package/dist-types/pagination/DescribeStorageSystemResourcesPaginator.d.ts +1 -1
  204. package/dist-types/pagination/ListAgentsPaginator.d.ts +1 -1
  205. package/dist-types/pagination/ListDiscoveryJobsPaginator.d.ts +1 -1
  206. package/dist-types/pagination/ListLocationsPaginator.d.ts +1 -1
  207. package/dist-types/pagination/ListStorageSystemsPaginator.d.ts +1 -1
  208. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  209. package/dist-types/pagination/ListTaskExecutionsPaginator.d.ts +1 -1
  210. package/dist-types/pagination/ListTasksPaginator.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/AddStorageSystemCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/CreateLocationAzureBlobCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/CreateLocationEfsCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/CreateLocationFsxLustreCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/CreateLocationFsxOntapCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/commands/CreateLocationFsxOpenZfsCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/CreateLocationFsxWindowsCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/CreateLocationHdfsCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/CreateLocationNfsCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/CreateLocationS3Command.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/CreateLocationSmbCommand.d.ts +14 -23
  225. package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/DeleteTaskCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/DescribeAgentCommand.d.ts +14 -23
  230. package/dist-types/ts3.4/commands/DescribeDiscoveryJobCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/DescribeLocationAzureBlobCommand.d.ts +12 -24
  232. package/dist-types/ts3.4/commands/DescribeLocationEfsCommand.d.ts +14 -23
  233. package/dist-types/ts3.4/commands/DescribeLocationFsxLustreCommand.d.ts +12 -24
  234. package/dist-types/ts3.4/commands/DescribeLocationFsxOntapCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/DescribeLocationFsxOpenZfsCommand.d.ts +12 -24
  236. package/dist-types/ts3.4/commands/DescribeLocationFsxWindowsCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/commands/DescribeLocationHdfsCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/DescribeLocationNfsCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +12 -24
  240. package/dist-types/ts3.4/commands/DescribeLocationS3Command.d.ts +14 -23
  241. package/dist-types/ts3.4/commands/DescribeLocationSmbCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/DescribeStorageSystemCommand.d.ts +12 -24
  243. package/dist-types/ts3.4/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +12 -24
  244. package/dist-types/ts3.4/commands/DescribeStorageSystemResourcesCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/DescribeTaskCommand.d.ts +14 -23
  246. package/dist-types/ts3.4/commands/DescribeTaskExecutionCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/GenerateRecommendationsCommand.d.ts +12 -24
  248. package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/ListDiscoveryJobsCommand.d.ts +14 -23
  250. package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +14 -23
  251. package/dist-types/ts3.4/commands/ListStorageSystemsCommand.d.ts +14 -23
  252. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  253. package/dist-types/ts3.4/commands/ListTaskExecutionsCommand.d.ts +14 -23
  254. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/commands/RemoveStorageSystemCommand.d.ts +14 -23
  256. package/dist-types/ts3.4/commands/StartDiscoveryJobCommand.d.ts +14 -23
  257. package/dist-types/ts3.4/commands/StartTaskExecutionCommand.d.ts +14 -23
  258. package/dist-types/ts3.4/commands/StopDiscoveryJobCommand.d.ts +14 -23
  259. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  261. package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +14 -23
  262. package/dist-types/ts3.4/commands/UpdateDiscoveryJobCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/commands/UpdateLocationAzureBlobCommand.d.ts +12 -24
  264. package/dist-types/ts3.4/commands/UpdateLocationHdfsCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +14 -23
  266. package/dist-types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +14 -23
  268. package/dist-types/ts3.4/commands/UpdateStorageSystemCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +14 -23
  271. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  272. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +3 -3
  273. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourcesPaginator.d.ts +3 -3
  274. package/dist-types/ts3.4/pagination/ListAgentsPaginator.d.ts +3 -3
  275. package/dist-types/ts3.4/pagination/ListDiscoveryJobsPaginator.d.ts +3 -3
  276. package/dist-types/ts3.4/pagination/ListLocationsPaginator.d.ts +3 -3
  277. package/dist-types/ts3.4/pagination/ListStorageSystemsPaginator.d.ts +3 -3
  278. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  279. package/dist-types/ts3.4/pagination/ListTaskExecutionsPaginator.d.ts +3 -3
  280. package/dist-types/ts3.4/pagination/ListTasksPaginator.d.ts +3 -3
  281. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateLocationNfsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateLocationNfsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataSyncClient";
29
- const commandName = "UpdateLocationNfsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "FmrsService",
38
- operation: "UpdateLocationNfs",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateLocationNfsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateLocationNfsCommand)(output, context);
49
- }
10
+ class UpdateLocationNfsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("FmrsService", "UpdateLocationNfs", {})
22
+ .n("DataSyncClient", "UpdateLocationNfsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateLocationNfsCommand)
25
+ .de(Aws_json1_1_1.de_UpdateLocationNfsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateLocationNfsCommand = UpdateLocationNfsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class UpdateLocationObjectStorageCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateLocationObjectStorageCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "DataSyncClient";
30
- const commandName = "UpdateLocationObjectStorageCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateLocationObjectStorageRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "FmrsService",
39
- operation: "UpdateLocationObjectStorage",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_UpdateLocationObjectStorageCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_UpdateLocationObjectStorageCommand)(output, context);
50
- }
11
+ class UpdateLocationObjectStorageCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("FmrsService", "UpdateLocationObjectStorage", {})
23
+ .n("DataSyncClient", "UpdateLocationObjectStorageCommand")
24
+ .f(models_0_1.UpdateLocationObjectStorageRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_json1_1_1.se_UpdateLocationObjectStorageCommand)
26
+ .de(Aws_json1_1_1.de_UpdateLocationObjectStorageCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateLocationObjectStorageCommand = UpdateLocationObjectStorageCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class UpdateLocationSmbCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateLocationSmbCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "DataSyncClient";
30
- const commandName = "UpdateLocationSmbCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateLocationSmbRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "FmrsService",
39
- operation: "UpdateLocationSmb",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_UpdateLocationSmbCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_UpdateLocationSmbCommand)(output, context);
50
- }
11
+ class UpdateLocationSmbCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("FmrsService", "UpdateLocationSmb", {})
23
+ .n("DataSyncClient", "UpdateLocationSmbCommand")
24
+ .f(models_0_1.UpdateLocationSmbRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_json1_1_1.se_UpdateLocationSmbCommand)
26
+ .de(Aws_json1_1_1.de_UpdateLocationSmbCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateLocationSmbCommand = UpdateLocationSmbCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class UpdateStorageSystemCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateStorageSystemCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "DataSyncClient";
30
- const commandName = "UpdateStorageSystemCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateStorageSystemRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "FmrsService",
39
- operation: "UpdateStorageSystem",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_UpdateStorageSystemCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_UpdateStorageSystemCommand)(output, context);
50
- }
11
+ class UpdateStorageSystemCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("FmrsService", "UpdateStorageSystem", {})
23
+ .n("DataSyncClient", "UpdateStorageSystemCommand")
24
+ .f(models_0_1.UpdateStorageSystemRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_json1_1_1.se_UpdateStorageSystemCommand)
26
+ .de(Aws_json1_1_1.de_UpdateStorageSystemCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateStorageSystemCommand = UpdateStorageSystemCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateTaskCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateTaskCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataSyncClient";
29
- const commandName = "UpdateTaskCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "FmrsService",
38
- operation: "UpdateTask",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateTaskCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateTaskCommand)(output, context);
49
- }
10
+ class UpdateTaskCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("FmrsService", "UpdateTask", {})
22
+ .n("DataSyncClient", "UpdateTaskCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateTaskCommand)
25
+ .de(Aws_json1_1_1.de_UpdateTaskCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateTaskCommand = UpdateTaskCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateTaskExecutionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateTaskExecutionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DataSyncClient";
29
- const commandName = "UpdateTaskExecutionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "FmrsService",
38
- operation: "UpdateTaskExecution",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateTaskExecutionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateTaskExecutionCommand)(output, context);
49
- }
10
+ class UpdateTaskExecutionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("FmrsService", "UpdateTaskExecution", {})
22
+ .n("DataSyncClient", "UpdateTaskExecutionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateTaskExecutionCommand)
25
+ .de(Aws_json1_1_1.de_UpdateTaskExecutionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateTaskExecutionCommand = UpdateTaskExecutionCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeStorageSystemResourceMetrics = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeStorageSystemResourceMetricsCommand_1 = require("../commands/DescribeStorageSystemResourceMetricsCommand");
5
6
  const DataSyncClient_1 = require("../DataSyncClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeStorageSystemResourceMetricsCommand_1.DescribeStorageSystemResourceMetricsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeStorageSystemResourceMetrics(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof DataSyncClient_1.DataSyncClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DataSync | DataSyncClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeStorageSystemResourceMetrics = paginateDescribeStorageSystemResourceMetrics;
7
+ exports.paginateDescribeStorageSystemResourceMetrics = (0, core_1.createPaginator)(DataSyncClient_1.DataSyncClient, DescribeStorageSystemResourceMetricsCommand_1.DescribeStorageSystemResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeStorageSystemResources = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeStorageSystemResourcesCommand_1 = require("../commands/DescribeStorageSystemResourcesCommand");
5
6
  const DataSyncClient_1 = require("../DataSyncClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeStorageSystemResourcesCommand_1.DescribeStorageSystemResourcesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeStorageSystemResources(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof DataSyncClient_1.DataSyncClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DataSync | DataSyncClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeStorageSystemResources = paginateDescribeStorageSystemResources;
7
+ exports.paginateDescribeStorageSystemResources = (0, core_1.createPaginator)(DataSyncClient_1.DataSyncClient, DescribeStorageSystemResourcesCommand_1.DescribeStorageSystemResourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAgents = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAgentsCommand_1 = require("../commands/ListAgentsCommand");
5
6
  const DataSyncClient_1 = require("../DataSyncClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAgentsCommand_1.ListAgentsCommand(input), ...args);
8
- };
9
- async function* paginateListAgents(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof DataSyncClient_1.DataSyncClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DataSync | DataSyncClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAgents = paginateListAgents;
7
+ exports.paginateListAgents = (0, core_1.createPaginator)(DataSyncClient_1.DataSyncClient, ListAgentsCommand_1.ListAgentsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDiscoveryJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListDiscoveryJobsCommand_1 = require("../commands/ListDiscoveryJobsCommand");
5
6
  const DataSyncClient_1 = require("../DataSyncClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListDiscoveryJobsCommand_1.ListDiscoveryJobsCommand(input), ...args);
8
- };
9
- async function* paginateListDiscoveryJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof DataSyncClient_1.DataSyncClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DataSync | DataSyncClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListDiscoveryJobs = paginateListDiscoveryJobs;
7
+ exports.paginateListDiscoveryJobs = (0, core_1.createPaginator)(DataSyncClient_1.DataSyncClient, ListDiscoveryJobsCommand_1.ListDiscoveryJobsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListLocations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListLocationsCommand_1 = require("../commands/ListLocationsCommand");
5
6
  const DataSyncClient_1 = require("../DataSyncClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListLocationsCommand_1.ListLocationsCommand(input), ...args);
8
- };
9
- async function* paginateListLocations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof DataSyncClient_1.DataSyncClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DataSync | DataSyncClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListLocations = paginateListLocations;
7
+ exports.paginateListLocations = (0, core_1.createPaginator)(DataSyncClient_1.DataSyncClient, ListLocationsCommand_1.ListLocationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListStorageSystems = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListStorageSystemsCommand_1 = require("../commands/ListStorageSystemsCommand");
5
6
  const DataSyncClient_1 = require("../DataSyncClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListStorageSystemsCommand_1.ListStorageSystemsCommand(input), ...args);
8
- };
9
- async function* paginateListStorageSystems(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof DataSyncClient_1.DataSyncClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DataSync | DataSyncClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListStorageSystems = paginateListStorageSystems;
7
+ exports.paginateListStorageSystems = (0, core_1.createPaginator)(DataSyncClient_1.DataSyncClient, ListStorageSystemsCommand_1.ListStorageSystemsCommand, "NextToken", "NextToken", "MaxResults");