@aws-sdk/client-dataexchange 3.32.0 → 3.36.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 (298) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/DataExchange.js +76 -2
  3. package/{dist/cjs → dist-cjs}/DataExchangeClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CancelJobCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateDataSetCommand.js +2 -3
  6. package/dist-cjs/commands/CreateEventActionCommand.js +60 -0
  7. package/{dist/cjs → dist-cjs}/commands/CreateJobCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateRevisionCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteAssetCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteDataSetCommand.js +2 -3
  11. package/dist-cjs/commands/DeleteEventActionCommand.js +60 -0
  12. package/{dist/cjs → dist-cjs}/commands/DeleteRevisionCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/GetAssetCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/GetDataSetCommand.js +2 -3
  15. package/dist-cjs/commands/GetEventActionCommand.js +60 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetJobCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/GetRevisionCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/ListDataSetRevisionsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/ListDataSetsCommand.js +2 -3
  20. package/dist-cjs/commands/ListEventActionsCommand.js +60 -0
  21. package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ListRevisionAssetsCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/StartJobCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/UpdateAssetCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/UpdateDataSetCommand.js +2 -3
  29. package/dist-cjs/commands/UpdateEventActionCommand.js +60 -0
  30. package/{dist/cjs → dist-cjs}/commands/UpdateRevisionCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  32. package/{dist/cjs → dist-cjs}/index.js +6 -1
  33. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  34. package/{dist/cjs → dist-cjs}/models/models_0.js +156 -12
  35. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  36. package/{dist/cjs → dist-cjs}/pagination/ListDataSetRevisionsPaginator.js +1 -2
  37. package/{dist/cjs → dist-cjs}/pagination/ListDataSetsPaginator.js +1 -2
  38. package/dist-cjs/pagination/ListEventActionsPaginator.js +45 -0
  39. package/{dist/cjs → dist-cjs}/pagination/ListJobsPaginator.js +1 -2
  40. package/{dist/cjs → dist-cjs}/pagination/ListRevisionAssetsPaginator.js +1 -2
  41. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +700 -28
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  46. package/{dist/es → dist-es}/DataExchange.js +77 -6
  47. package/{dist/es → dist-es}/DataExchangeClient.js +2 -11
  48. package/{dist/es → dist-es}/commands/CancelJobCommand.js +4 -30
  49. package/{dist/es → dist-es}/commands/CreateDataSetCommand.js +4 -30
  50. package/dist-es/commands/CreateEventActionCommand.js +39 -0
  51. package/{dist/es → dist-es}/commands/CreateJobCommand.js +4 -30
  52. package/{dist/es → dist-es}/commands/CreateRevisionCommand.js +4 -30
  53. package/{dist/es → dist-es}/commands/DeleteAssetCommand.js +4 -30
  54. package/{dist/es → dist-es}/commands/DeleteDataSetCommand.js +4 -30
  55. package/dist-es/commands/DeleteEventActionCommand.js +39 -0
  56. package/{dist/es → dist-es}/commands/DeleteRevisionCommand.js +4 -30
  57. package/{dist/es → dist-es}/commands/GetAssetCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/GetDataSetCommand.js +4 -30
  59. package/dist-es/commands/GetEventActionCommand.js +39 -0
  60. package/{dist/es → dist-es}/commands/GetJobCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/GetRevisionCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/ListDataSetRevisionsCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/ListDataSetsCommand.js +4 -30
  64. package/dist-es/commands/ListEventActionsCommand.js +39 -0
  65. package/{dist/es → dist-es}/commands/ListJobsCommand.js +4 -30
  66. package/{dist/es → dist-es}/commands/ListRevisionAssetsCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/StartJobCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/UpdateAssetCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/UpdateDataSetCommand.js +4 -30
  73. package/dist-es/commands/UpdateEventActionCommand.js +39 -0
  74. package/{dist/es → dist-es}/commands/UpdateRevisionCommand.js +4 -30
  75. package/{dist/es → dist-es}/endpoints.js +1 -2
  76. package/{dist/es → dist-es}/index.js +6 -1
  77. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  78. package/{dist/es → dist-es}/models/models_0.js +79 -223
  79. package/dist-es/pagination/Interfaces.js +1 -0
  80. package/{dist/es → dist-es}/pagination/ListDataSetRevisionsPaginator.js +17 -30
  81. package/{dist/es → dist-es}/pagination/ListDataSetsPaginator.js +17 -30
  82. package/dist-es/pagination/ListEventActionsPaginator.js +74 -0
  83. package/{dist/es → dist-es}/pagination/ListJobsPaginator.js +17 -30
  84. package/{dist/es → dist-es}/pagination/ListRevisionAssetsPaginator.js +17 -30
  85. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1315 -577
  86. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  87. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  88. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  89. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  90. package/{dist/types → dist-types}/DataExchange.d.ts +37 -2
  91. package/{dist/types → dist-types}/DataExchangeClient.d.ts +15 -10
  92. package/{dist/types → dist-types}/commands/CancelJobCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/CreateDataSetCommand.d.ts +2 -2
  94. package/dist-types/commands/CreateEventActionCommand.d.ts +35 -0
  95. package/{dist/types → dist-types}/commands/CreateJobCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateRevisionCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DeleteAssetCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/DeleteDataSetCommand.d.ts +2 -2
  99. package/dist-types/commands/DeleteEventActionCommand.d.ts +35 -0
  100. package/{dist/types → dist-types}/commands/DeleteRevisionCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/GetAssetCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/GetDataSetCommand.d.ts +2 -2
  103. package/dist-types/commands/GetEventActionCommand.d.ts +35 -0
  104. package/{dist/types → dist-types}/commands/GetJobCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/GetRevisionCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/ListDataSetRevisionsCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/ListDataSetsCommand.d.ts +2 -2
  108. package/dist-types/commands/ListEventActionsCommand.d.ts +35 -0
  109. package/{dist/types → dist-types}/commands/ListJobsCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/ListRevisionAssetsCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/StartJobCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/UpdateAssetCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/UpdateDataSetCommand.d.ts +2 -2
  117. package/dist-types/commands/UpdateEventActionCommand.d.ts +35 -0
  118. package/{dist/types → dist-types}/commands/UpdateRevisionCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  120. package/{dist/types → dist-types}/index.d.ts +6 -0
  121. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  122. package/{dist/types → dist-types}/models/models_0.d.ts +324 -11
  123. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  124. package/{dist/types → dist-types}/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
  125. package/{dist/types → dist-types}/pagination/ListDataSetsPaginator.d.ts +1 -1
  126. package/dist-types/pagination/ListEventActionsPaginator.d.ts +4 -0
  127. package/{dist/types → dist-types}/pagination/ListJobsPaginator.d.ts +1 -1
  128. package/{dist/types → dist-types}/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
  129. package/{dist/types/ts3.4 → dist-types}/protocols/Aws_restJson1.d.ts +83 -68
  130. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  131. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  132. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  133. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  134. package/{dist/types → dist-types}/ts3.4/DataExchange.d.ts +37 -2
  135. package/{dist/types → dist-types}/ts3.4/DataExchangeClient.d.ts +15 -10
  136. package/{dist/types → dist-types}/ts3.4/commands/CancelJobCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSetCommand.d.ts +2 -2
  138. package/dist-types/ts3.4/commands/CreateEventActionCommand.d.ts +35 -0
  139. package/{dist/types → dist-types}/ts3.4/commands/CreateJobCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/ts3.4/commands/CreateRevisionCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/ts3.4/commands/DeleteAssetCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSetCommand.d.ts +2 -2
  143. package/dist-types/ts3.4/commands/DeleteEventActionCommand.d.ts +35 -0
  144. package/{dist/types → dist-types}/ts3.4/commands/DeleteRevisionCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/GetAssetCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/GetDataSetCommand.d.ts +2 -2
  147. package/dist-types/ts3.4/commands/GetEventActionCommand.d.ts +35 -0
  148. package/{dist/types → dist-types}/ts3.4/commands/GetJobCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/GetRevisionCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/ListDataSetRevisionsCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/ListDataSetsCommand.d.ts +2 -2
  152. package/dist-types/ts3.4/commands/ListEventActionsCommand.d.ts +35 -0
  153. package/{dist/types → dist-types}/ts3.4/commands/ListJobsCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/commands/ListRevisionAssetsCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/ts3.4/commands/StartJobCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/ts3.4/commands/UpdateAssetCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSetCommand.d.ts +2 -2
  161. package/dist-types/ts3.4/commands/UpdateEventActionCommand.d.ts +35 -0
  162. package/{dist/types → dist-types}/ts3.4/commands/UpdateRevisionCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  164. package/{dist/types → dist-types}/ts3.4/index.d.ts +6 -0
  165. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  166. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +324 -11
  167. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  168. package/{dist/types → dist-types}/ts3.4/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
  169. package/{dist/types → dist-types}/ts3.4/pagination/ListDataSetsPaginator.d.ts +1 -1
  170. package/dist-types/ts3.4/pagination/ListEventActionsPaginator.d.ts +4 -0
  171. package/{dist/types → dist-types}/ts3.4/pagination/ListJobsPaginator.d.ts +1 -1
  172. package/{dist/types → dist-types}/ts3.4/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
  173. package/{dist/types → dist-types/ts3.4}/protocols/Aws_restJson1.d.ts +83 -68
  174. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  175. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  176. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  177. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  178. package/package.json +52 -49
  179. package/DataExchange.ts +0 -708
  180. package/DataExchangeClient.ts +0 -307
  181. package/commands/CancelJobCommand.ts +0 -94
  182. package/commands/CreateDataSetCommand.ts +0 -94
  183. package/commands/CreateJobCommand.ts +0 -94
  184. package/commands/CreateRevisionCommand.ts +0 -94
  185. package/commands/DeleteAssetCommand.ts +0 -94
  186. package/commands/DeleteDataSetCommand.ts +0 -94
  187. package/commands/DeleteRevisionCommand.ts +0 -94
  188. package/commands/GetAssetCommand.ts +0 -94
  189. package/commands/GetDataSetCommand.ts +0 -94
  190. package/commands/GetJobCommand.ts +0 -87
  191. package/commands/GetRevisionCommand.ts +0 -94
  192. package/commands/ListDataSetRevisionsCommand.ts +0 -94
  193. package/commands/ListDataSetsCommand.ts +0 -94
  194. package/commands/ListJobsCommand.ts +0 -94
  195. package/commands/ListRevisionAssetsCommand.ts +0 -94
  196. package/commands/ListTagsForResourceCommand.ts +0 -94
  197. package/commands/StartJobCommand.ts +0 -94
  198. package/commands/TagResourceCommand.ts +0 -94
  199. package/commands/UntagResourceCommand.ts +0 -94
  200. package/commands/UpdateAssetCommand.ts +0 -94
  201. package/commands/UpdateDataSetCommand.ts +0 -94
  202. package/commands/UpdateRevisionCommand.ts +0 -94
  203. package/dist/cjs/DataExchange.js.map +0 -1
  204. package/dist/cjs/DataExchangeClient.js.map +0 -1
  205. package/dist/cjs/commands/CancelJobCommand.js.map +0 -1
  206. package/dist/cjs/commands/CreateDataSetCommand.js.map +0 -1
  207. package/dist/cjs/commands/CreateJobCommand.js.map +0 -1
  208. package/dist/cjs/commands/CreateRevisionCommand.js.map +0 -1
  209. package/dist/cjs/commands/DeleteAssetCommand.js.map +0 -1
  210. package/dist/cjs/commands/DeleteDataSetCommand.js.map +0 -1
  211. package/dist/cjs/commands/DeleteRevisionCommand.js.map +0 -1
  212. package/dist/cjs/commands/GetAssetCommand.js.map +0 -1
  213. package/dist/cjs/commands/GetDataSetCommand.js.map +0 -1
  214. package/dist/cjs/commands/GetJobCommand.js.map +0 -1
  215. package/dist/cjs/commands/GetRevisionCommand.js.map +0 -1
  216. package/dist/cjs/commands/ListDataSetRevisionsCommand.js.map +0 -1
  217. package/dist/cjs/commands/ListDataSetsCommand.js.map +0 -1
  218. package/dist/cjs/commands/ListJobsCommand.js.map +0 -1
  219. package/dist/cjs/commands/ListRevisionAssetsCommand.js.map +0 -1
  220. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  221. package/dist/cjs/commands/StartJobCommand.js.map +0 -1
  222. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  223. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  224. package/dist/cjs/commands/UpdateAssetCommand.js.map +0 -1
  225. package/dist/cjs/commands/UpdateDataSetCommand.js.map +0 -1
  226. package/dist/cjs/commands/UpdateRevisionCommand.js.map +0 -1
  227. package/dist/cjs/endpoints.js.map +0 -1
  228. package/dist/cjs/index.js.map +0 -1
  229. package/dist/cjs/models/index.js.map +0 -1
  230. package/dist/cjs/models/models_0.js.map +0 -1
  231. package/dist/cjs/package.json +0 -91
  232. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  233. package/dist/cjs/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
  234. package/dist/cjs/pagination/ListDataSetsPaginator.js.map +0 -1
  235. package/dist/cjs/pagination/ListJobsPaginator.js.map +0 -1
  236. package/dist/cjs/pagination/ListRevisionAssetsPaginator.js.map +0 -1
  237. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  238. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  239. package/dist/cjs/runtimeConfig.js.map +0 -1
  240. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  241. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  242. package/dist/es/DataExchange.js.map +0 -1
  243. package/dist/es/DataExchangeClient.js.map +0 -1
  244. package/dist/es/commands/CancelJobCommand.js.map +0 -1
  245. package/dist/es/commands/CreateDataSetCommand.js.map +0 -1
  246. package/dist/es/commands/CreateJobCommand.js.map +0 -1
  247. package/dist/es/commands/CreateRevisionCommand.js.map +0 -1
  248. package/dist/es/commands/DeleteAssetCommand.js.map +0 -1
  249. package/dist/es/commands/DeleteDataSetCommand.js.map +0 -1
  250. package/dist/es/commands/DeleteRevisionCommand.js.map +0 -1
  251. package/dist/es/commands/GetAssetCommand.js.map +0 -1
  252. package/dist/es/commands/GetDataSetCommand.js.map +0 -1
  253. package/dist/es/commands/GetJobCommand.js.map +0 -1
  254. package/dist/es/commands/GetRevisionCommand.js.map +0 -1
  255. package/dist/es/commands/ListDataSetRevisionsCommand.js.map +0 -1
  256. package/dist/es/commands/ListDataSetsCommand.js.map +0 -1
  257. package/dist/es/commands/ListJobsCommand.js.map +0 -1
  258. package/dist/es/commands/ListRevisionAssetsCommand.js.map +0 -1
  259. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  260. package/dist/es/commands/StartJobCommand.js.map +0 -1
  261. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  262. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  263. package/dist/es/commands/UpdateAssetCommand.js.map +0 -1
  264. package/dist/es/commands/UpdateDataSetCommand.js.map +0 -1
  265. package/dist/es/commands/UpdateRevisionCommand.js.map +0 -1
  266. package/dist/es/endpoints.js.map +0 -1
  267. package/dist/es/index.js.map +0 -1
  268. package/dist/es/models/index.js +0 -2
  269. package/dist/es/models/index.js.map +0 -1
  270. package/dist/es/models/models_0.js.map +0 -1
  271. package/dist/es/package.json +0 -91
  272. package/dist/es/pagination/Interfaces.js +0 -2
  273. package/dist/es/pagination/Interfaces.js.map +0 -1
  274. package/dist/es/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
  275. package/dist/es/pagination/ListDataSetsPaginator.js.map +0 -1
  276. package/dist/es/pagination/ListJobsPaginator.js.map +0 -1
  277. package/dist/es/pagination/ListRevisionAssetsPaginator.js.map +0 -1
  278. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  279. package/dist/es/runtimeConfig.browser.js.map +0 -1
  280. package/dist/es/runtimeConfig.js.map +0 -1
  281. package/dist/es/runtimeConfig.native.js.map +0 -1
  282. package/dist/es/runtimeConfig.shared.js.map +0 -1
  283. package/endpoints.ts +0 -57
  284. package/index.ts +0 -30
  285. package/jest.config.js +0 -4
  286. package/models/models_0.ts +0 -2351
  287. package/pagination/Interfaces.ts +0 -7
  288. package/pagination/ListDataSetRevisionsPaginator.ts +0 -58
  289. package/pagination/ListDataSetsPaginator.ts +0 -58
  290. package/pagination/ListJobsPaginator.ts +0 -54
  291. package/pagination/ListRevisionAssetsPaginator.ts +0 -58
  292. package/protocols/Aws_restJson1.ts +0 -3750
  293. package/runtimeConfig.browser.ts +0 -40
  294. package/runtimeConfig.native.ts +0 -16
  295. package/runtimeConfig.shared.ts +0 -16
  296. package/runtimeConfig.ts +0 -45
  297. package/tsconfig.es.json +0 -12
  298. package/tsconfig.json +0 -32
@@ -1,94 +0,0 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { DeleteAssetRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteAssetCommand,
5
- serializeAws_restJson1DeleteAssetCommand,
6
- } from "../protocols/Aws_restJson1";
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 DeleteAssetCommandInput extends DeleteAssetRequest {}
21
- export interface DeleteAssetCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation deletes an asset.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataExchangeClient, DeleteAssetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
29
- * // const { DataExchangeClient, DeleteAssetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
30
- * const client = new DataExchangeClient(config);
31
- * const command = new DeleteAssetCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteAssetCommandInput} for command's `input` shape.
36
- * @see {@link DeleteAssetCommandOutput} for command's `response` shape.
37
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteAssetCommand extends $Command<
41
- DeleteAssetCommandInput,
42
- DeleteAssetCommandOutput,
43
- DataExchangeClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteAssetCommandInput) {
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: DataExchangeClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteAssetCommandInput, DeleteAssetCommandOutput> {
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 = "DataExchangeClient";
68
- const commandName = "DeleteAssetCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteAssetRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: (output: any) => output,
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: DeleteAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DeleteAssetCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAssetCommandOutput> {
89
- return deserializeAws_restJson1DeleteAssetCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { DeleteDataSetRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteDataSetCommand,
5
- serializeAws_restJson1DeleteDataSetCommand,
6
- } from "../protocols/Aws_restJson1";
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 DeleteDataSetCommandInput extends DeleteDataSetRequest {}
21
- export interface DeleteDataSetCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation deletes a data set.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataExchangeClient, DeleteDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
29
- * // const { DataExchangeClient, DeleteDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
30
- * const client = new DataExchangeClient(config);
31
- * const command = new DeleteDataSetCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteDataSetCommandInput} for command's `input` shape.
36
- * @see {@link DeleteDataSetCommandOutput} for command's `response` shape.
37
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteDataSetCommand extends $Command<
41
- DeleteDataSetCommandInput,
42
- DeleteDataSetCommandOutput,
43
- DataExchangeClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteDataSetCommandInput) {
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: DataExchangeClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteDataSetCommandInput, DeleteDataSetCommandOutput> {
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 = "DataExchangeClient";
68
- const commandName = "DeleteDataSetCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteDataSetRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: (output: any) => output,
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: DeleteDataSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DeleteDataSetCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDataSetCommandOutput> {
89
- return deserializeAws_restJson1DeleteDataSetCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { DeleteRevisionRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteRevisionCommand,
5
- serializeAws_restJson1DeleteRevisionCommand,
6
- } from "../protocols/Aws_restJson1";
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 DeleteRevisionCommandInput extends DeleteRevisionRequest {}
21
- export interface DeleteRevisionCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation deletes a revision.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataExchangeClient, DeleteRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
29
- * // const { DataExchangeClient, DeleteRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
30
- * const client = new DataExchangeClient(config);
31
- * const command = new DeleteRevisionCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteRevisionCommandInput} for command's `input` shape.
36
- * @see {@link DeleteRevisionCommandOutput} for command's `response` shape.
37
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteRevisionCommand extends $Command<
41
- DeleteRevisionCommandInput,
42
- DeleteRevisionCommandOutput,
43
- DataExchangeClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteRevisionCommandInput) {
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: DataExchangeClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteRevisionCommandInput, DeleteRevisionCommandOutput> {
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 = "DataExchangeClient";
68
- const commandName = "DeleteRevisionCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteRevisionRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: (output: any) => output,
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: DeleteRevisionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DeleteRevisionCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRevisionCommandOutput> {
89
- return deserializeAws_restJson1DeleteRevisionCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { GetAssetRequest, GetAssetResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetAssetCommand,
5
- serializeAws_restJson1GetAssetCommand,
6
- } from "../protocols/Aws_restJson1";
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 GetAssetCommandInput extends GetAssetRequest {}
21
- export interface GetAssetCommandOutput extends GetAssetResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation returns information about an asset.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataExchangeClient, GetAssetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
29
- * // const { DataExchangeClient, GetAssetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
30
- * const client = new DataExchangeClient(config);
31
- * const command = new GetAssetCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetAssetCommandInput} for command's `input` shape.
36
- * @see {@link GetAssetCommandOutput} for command's `response` shape.
37
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetAssetCommand extends $Command<
41
- GetAssetCommandInput,
42
- GetAssetCommandOutput,
43
- DataExchangeClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetAssetCommandInput) {
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: DataExchangeClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetAssetCommandInput, GetAssetCommandOutput> {
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 = "DataExchangeClient";
68
- const commandName = "GetAssetCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetAssetRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetAssetResponse.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: GetAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetAssetCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetAssetCommandOutput> {
89
- return deserializeAws_restJson1GetAssetCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { GetDataSetRequest, GetDataSetResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetDataSetCommand,
5
- serializeAws_restJson1GetDataSetCommand,
6
- } from "../protocols/Aws_restJson1";
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 GetDataSetCommandInput extends GetDataSetRequest {}
21
- export interface GetDataSetCommandOutput extends GetDataSetResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation returns information about a data set.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataExchangeClient, GetDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
29
- * // const { DataExchangeClient, GetDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
30
- * const client = new DataExchangeClient(config);
31
- * const command = new GetDataSetCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetDataSetCommandInput} for command's `input` shape.
36
- * @see {@link GetDataSetCommandOutput} for command's `response` shape.
37
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetDataSetCommand extends $Command<
41
- GetDataSetCommandInput,
42
- GetDataSetCommandOutput,
43
- DataExchangeClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetDataSetCommandInput) {
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: DataExchangeClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetDataSetCommandInput, GetDataSetCommandOutput> {
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 = "DataExchangeClient";
68
- const commandName = "GetDataSetCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetDataSetRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetDataSetResponse.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: GetDataSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetDataSetCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDataSetCommandOutput> {
89
- return deserializeAws_restJson1GetDataSetCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,87 +0,0 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { GetJobRequest, GetJobResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1GetJobCommand, serializeAws_restJson1GetJobCommand } from "../protocols/Aws_restJson1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface GetJobCommandInput extends GetJobRequest {}
18
- export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
19
-
20
- /**
21
- * <p>This operation returns information about a job.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { DataExchangeClient, GetJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
26
- * // const { DataExchangeClient, GetJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
27
- * const client = new DataExchangeClient(config);
28
- * const command = new GetJobCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link GetJobCommandInput} for command's `input` shape.
33
- * @see {@link GetJobCommandOutput} for command's `response` shape.
34
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- export class GetJobCommand extends $Command<GetJobCommandInput, GetJobCommandOutput, DataExchangeClientResolvedConfig> {
38
- // Start section: command_properties
39
- // End section: command_properties
40
-
41
- constructor(readonly input: GetJobCommandInput) {
42
- // Start section: command_constructor
43
- super();
44
- // End section: command_constructor
45
- }
46
-
47
- /**
48
- * @internal
49
- */
50
- resolveMiddleware(
51
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
52
- configuration: DataExchangeClientResolvedConfig,
53
- options?: __HttpHandlerOptions
54
- ): Handler<GetJobCommandInput, GetJobCommandOutput> {
55
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
56
-
57
- const stack = clientStack.concat(this.middlewareStack);
58
-
59
- const { logger } = configuration;
60
- const clientName = "DataExchangeClient";
61
- const commandName = "GetJobCommand";
62
- const handlerExecutionContext: HandlerExecutionContext = {
63
- logger,
64
- clientName,
65
- commandName,
66
- inputFilterSensitiveLog: GetJobRequest.filterSensitiveLog,
67
- outputFilterSensitiveLog: GetJobResponse.filterSensitiveLog,
68
- };
69
- const { requestHandler } = configuration;
70
- return stack.resolve(
71
- (request: FinalizeHandlerArguments<any>) =>
72
- requestHandler.handle(request.request as __HttpRequest, options || {}),
73
- handlerExecutionContext
74
- );
75
- }
76
-
77
- private serialize(input: GetJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
78
- return serializeAws_restJson1GetJobCommand(input, context);
79
- }
80
-
81
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetJobCommandOutput> {
82
- return deserializeAws_restJson1GetJobCommand(output, context);
83
- }
84
-
85
- // Start section: command_body_extra
86
- // End section: command_body_extra
87
- }
@@ -1,94 +0,0 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { GetRevisionRequest, GetRevisionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetRevisionCommand,
5
- serializeAws_restJson1GetRevisionCommand,
6
- } from "../protocols/Aws_restJson1";
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 GetRevisionCommandInput extends GetRevisionRequest {}
21
- export interface GetRevisionCommandOutput extends GetRevisionResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This operation returns information about a revision.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataExchangeClient, GetRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
29
- * // const { DataExchangeClient, GetRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
30
- * const client = new DataExchangeClient(config);
31
- * const command = new GetRevisionCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetRevisionCommandInput} for command's `input` shape.
36
- * @see {@link GetRevisionCommandOutput} for command's `response` shape.
37
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetRevisionCommand extends $Command<
41
- GetRevisionCommandInput,
42
- GetRevisionCommandOutput,
43
- DataExchangeClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetRevisionCommandInput) {
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: DataExchangeClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetRevisionCommandInput, GetRevisionCommandOutput> {
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 = "DataExchangeClient";
68
- const commandName = "GetRevisionCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetRevisionRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetRevisionResponse.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: GetRevisionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetRevisionCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetRevisionCommandOutput> {
89
- return deserializeAws_restJson1GetRevisionCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }