@aws-sdk/client-dataexchange 3.31.0 → 3.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/DataExchange.js +76 -1
  3. package/dist-cjs/DataExchange.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/DataExchangeClient.js +14 -14
  5. package/dist-cjs/DataExchangeClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/CancelJobCommand.js +5 -5
  7. package/dist-cjs/commands/CancelJobCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/CreateDataSetCommand.js +5 -5
  9. package/dist-cjs/commands/CreateDataSetCommand.js.map +1 -0
  10. package/dist-cjs/commands/CreateEventActionCommand.js +61 -0
  11. package/dist-cjs/commands/CreateEventActionCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/CreateJobCommand.js +5 -5
  13. package/dist-cjs/commands/CreateJobCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/CreateRevisionCommand.js +5 -5
  15. package/dist-cjs/commands/CreateRevisionCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/DeleteAssetCommand.js +5 -5
  17. package/dist-cjs/commands/DeleteAssetCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/DeleteDataSetCommand.js +5 -5
  19. package/dist-cjs/commands/DeleteDataSetCommand.js.map +1 -0
  20. package/dist-cjs/commands/DeleteEventActionCommand.js +61 -0
  21. package/dist-cjs/commands/DeleteEventActionCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/DeleteRevisionCommand.js +5 -5
  23. package/dist-cjs/commands/DeleteRevisionCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/GetAssetCommand.js +5 -5
  25. package/dist-cjs/commands/GetAssetCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/GetDataSetCommand.js +5 -5
  27. package/dist-cjs/commands/GetDataSetCommand.js.map +1 -0
  28. package/dist-cjs/commands/GetEventActionCommand.js +61 -0
  29. package/dist-cjs/commands/GetEventActionCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/GetJobCommand.js +5 -5
  31. package/dist-cjs/commands/GetJobCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/GetRevisionCommand.js +5 -5
  33. package/dist-cjs/commands/GetRevisionCommand.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/commands/ListDataSetRevisionsCommand.js +5 -5
  35. package/dist-cjs/commands/ListDataSetRevisionsCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/ListDataSetsCommand.js +5 -5
  37. package/dist-cjs/commands/ListDataSetsCommand.js.map +1 -0
  38. package/dist-cjs/commands/ListEventActionsCommand.js +61 -0
  39. package/dist-cjs/commands/ListEventActionsCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +5 -5
  41. package/dist-cjs/commands/ListJobsCommand.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/commands/ListRevisionAssetsCommand.js +5 -5
  43. package/dist-cjs/commands/ListRevisionAssetsCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
  45. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/StartJobCommand.js +5 -5
  47. package/dist-cjs/commands/StartJobCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  49. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  51. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/commands/UpdateAssetCommand.js +5 -5
  53. package/dist-cjs/commands/UpdateAssetCommand.js.map +1 -0
  54. package/{dist/cjs → dist-cjs}/commands/UpdateDataSetCommand.js +5 -5
  55. package/dist-cjs/commands/UpdateDataSetCommand.js.map +1 -0
  56. package/dist-cjs/commands/UpdateEventActionCommand.js +61 -0
  57. package/dist-cjs/commands/UpdateEventActionCommand.js.map +1 -0
  58. package/{dist/cjs → dist-cjs}/commands/UpdateRevisionCommand.js +5 -5
  59. package/dist-cjs/commands/UpdateRevisionCommand.js.map +1 -0
  60. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  61. package/dist-cjs/endpoints.js.map +1 -0
  62. package/dist-cjs/index.js +40 -0
  63. package/dist-cjs/index.js.map +1 -0
  64. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  65. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  66. package/{dist/cjs → dist-cjs}/models/models_0.js +156 -11
  67. package/dist-cjs/models/models_0.js.map +1 -0
  68. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  69. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  70. package/{dist/cjs → dist-cjs}/pagination/ListDataSetRevisionsPaginator.js +1 -1
  71. package/dist-cjs/pagination/ListDataSetRevisionsPaginator.js.map +1 -0
  72. package/{dist/cjs → dist-cjs}/pagination/ListDataSetsPaginator.js +1 -1
  73. package/dist-cjs/pagination/ListDataSetsPaginator.js.map +1 -0
  74. package/dist-cjs/pagination/ListEventActionsPaginator.js +46 -0
  75. package/dist-cjs/pagination/ListEventActionsPaginator.js.map +1 -0
  76. package/{dist/cjs → dist-cjs}/pagination/ListJobsPaginator.js +1 -1
  77. package/dist-cjs/pagination/ListJobsPaginator.js.map +1 -0
  78. package/{dist/cjs → dist-cjs}/pagination/ListRevisionAssetsPaginator.js +1 -1
  79. package/dist-cjs/pagination/ListRevisionAssetsPaginator.js.map +1 -0
  80. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +916 -243
  81. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  82. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  83. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  84. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  85. package/dist-cjs/runtimeConfig.js.map +1 -0
  86. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  87. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  88. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  89. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  90. package/{dist/es → dist-es}/DataExchange.js +77 -5
  91. package/dist-es/DataExchange.js.map +1 -0
  92. package/{dist/es → dist-es}/DataExchangeClient.js +2 -10
  93. package/dist-es/DataExchangeClient.js.map +1 -0
  94. package/{dist/es → dist-es}/commands/CancelJobCommand.js +4 -29
  95. package/dist-es/commands/CancelJobCommand.js.map +1 -0
  96. package/{dist/es → dist-es}/commands/CreateDataSetCommand.js +4 -29
  97. package/dist-es/commands/CreateDataSetCommand.js.map +1 -0
  98. package/dist-es/commands/CreateEventActionCommand.js +40 -0
  99. package/dist-es/commands/CreateEventActionCommand.js.map +1 -0
  100. package/{dist/es → dist-es}/commands/CreateJobCommand.js +4 -29
  101. package/dist-es/commands/CreateJobCommand.js.map +1 -0
  102. package/{dist/es → dist-es}/commands/CreateRevisionCommand.js +4 -29
  103. package/dist-es/commands/CreateRevisionCommand.js.map +1 -0
  104. package/{dist/es → dist-es}/commands/DeleteAssetCommand.js +4 -29
  105. package/dist-es/commands/DeleteAssetCommand.js.map +1 -0
  106. package/{dist/es → dist-es}/commands/DeleteDataSetCommand.js +4 -29
  107. package/dist-es/commands/DeleteDataSetCommand.js.map +1 -0
  108. package/dist-es/commands/DeleteEventActionCommand.js +40 -0
  109. package/dist-es/commands/DeleteEventActionCommand.js.map +1 -0
  110. package/{dist/es → dist-es}/commands/DeleteRevisionCommand.js +4 -29
  111. package/dist-es/commands/DeleteRevisionCommand.js.map +1 -0
  112. package/{dist/es → dist-es}/commands/GetAssetCommand.js +4 -29
  113. package/dist-es/commands/GetAssetCommand.js.map +1 -0
  114. package/{dist/es → dist-es}/commands/GetDataSetCommand.js +4 -29
  115. package/dist-es/commands/GetDataSetCommand.js.map +1 -0
  116. package/dist-es/commands/GetEventActionCommand.js +40 -0
  117. package/dist-es/commands/GetEventActionCommand.js.map +1 -0
  118. package/{dist/es → dist-es}/commands/GetJobCommand.js +4 -29
  119. package/dist-es/commands/GetJobCommand.js.map +1 -0
  120. package/{dist/es → dist-es}/commands/GetRevisionCommand.js +4 -29
  121. package/dist-es/commands/GetRevisionCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/commands/ListDataSetRevisionsCommand.js +4 -29
  123. package/dist-es/commands/ListDataSetRevisionsCommand.js.map +1 -0
  124. package/{dist/es → dist-es}/commands/ListDataSetsCommand.js +4 -29
  125. package/dist-es/commands/ListDataSetsCommand.js.map +1 -0
  126. package/dist-es/commands/ListEventActionsCommand.js +40 -0
  127. package/dist-es/commands/ListEventActionsCommand.js.map +1 -0
  128. package/{dist/es → dist-es}/commands/ListJobsCommand.js +4 -29
  129. package/dist-es/commands/ListJobsCommand.js.map +1 -0
  130. package/{dist/es → dist-es}/commands/ListRevisionAssetsCommand.js +4 -29
  131. package/dist-es/commands/ListRevisionAssetsCommand.js.map +1 -0
  132. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -29
  133. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  134. package/{dist/es → dist-es}/commands/StartJobCommand.js +4 -29
  135. package/dist-es/commands/StartJobCommand.js.map +1 -0
  136. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -29
  137. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  138. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
  139. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  140. package/{dist/es → dist-es}/commands/UpdateAssetCommand.js +4 -29
  141. package/dist-es/commands/UpdateAssetCommand.js.map +1 -0
  142. package/{dist/es → dist-es}/commands/UpdateDataSetCommand.js +4 -29
  143. package/dist-es/commands/UpdateDataSetCommand.js.map +1 -0
  144. package/dist-es/commands/UpdateEventActionCommand.js +40 -0
  145. package/dist-es/commands/UpdateEventActionCommand.js.map +1 -0
  146. package/{dist/es → dist-es}/commands/UpdateRevisionCommand.js +4 -29
  147. package/dist-es/commands/UpdateRevisionCommand.js.map +1 -0
  148. package/{dist/es → dist-es}/endpoints.js +1 -1
  149. package/dist-es/endpoints.js.map +1 -0
  150. package/{dist/es → dist-es}/index.js +6 -0
  151. package/dist-es/index.js.map +1 -0
  152. package/{dist/es → dist-es}/models/index.js +0 -0
  153. package/dist-es/models/index.js.map +1 -0
  154. package/{dist/es → dist-es}/models/models_0.js +79 -222
  155. package/dist-es/models/models_0.js.map +1 -0
  156. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  157. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  158. package/{dist/es → dist-es}/pagination/ListDataSetRevisionsPaginator.js +17 -29
  159. package/dist-es/pagination/ListDataSetRevisionsPaginator.js.map +1 -0
  160. package/{dist/es → dist-es}/pagination/ListDataSetsPaginator.js +17 -29
  161. package/dist-es/pagination/ListDataSetsPaginator.js.map +1 -0
  162. package/dist-es/pagination/ListEventActionsPaginator.js +75 -0
  163. package/dist-es/pagination/ListEventActionsPaginator.js.map +1 -0
  164. package/{dist/es → dist-es}/pagination/ListJobsPaginator.js +17 -29
  165. package/dist-es/pagination/ListJobsPaginator.js.map +1 -0
  166. package/{dist/es → dist-es}/pagination/ListRevisionAssetsPaginator.js +17 -29
  167. package/dist-es/pagination/ListRevisionAssetsPaginator.js.map +1 -0
  168. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1315 -576
  169. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  170. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  171. package/dist-es/runtimeConfig.browser.js.map +1 -0
  172. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  173. package/dist-es/runtimeConfig.js.map +1 -0
  174. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  175. package/dist-es/runtimeConfig.native.js.map +1 -0
  176. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  177. package/dist-es/runtimeConfig.shared.js.map +1 -0
  178. package/{dist/types → dist-types}/DataExchange.d.ts +37 -2
  179. package/{dist/types → dist-types}/DataExchangeClient.d.ts +15 -10
  180. package/{dist/types → dist-types}/commands/CancelJobCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/commands/CreateDataSetCommand.d.ts +2 -2
  182. package/dist-types/commands/CreateEventActionCommand.d.ts +35 -0
  183. package/{dist/types → dist-types}/commands/CreateJobCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/commands/CreateRevisionCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/commands/DeleteAssetCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/commands/DeleteDataSetCommand.d.ts +2 -2
  187. package/dist-types/commands/DeleteEventActionCommand.d.ts +35 -0
  188. package/{dist/types → dist-types}/commands/DeleteRevisionCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/commands/GetAssetCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/commands/GetDataSetCommand.d.ts +2 -2
  191. package/dist-types/commands/GetEventActionCommand.d.ts +35 -0
  192. package/{dist/types → dist-types}/commands/GetJobCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/commands/GetRevisionCommand.d.ts +2 -2
  194. package/{dist/types → dist-types}/commands/ListDataSetRevisionsCommand.d.ts +2 -2
  195. package/{dist/types → dist-types}/commands/ListDataSetsCommand.d.ts +2 -2
  196. package/dist-types/commands/ListEventActionsCommand.d.ts +35 -0
  197. package/{dist/types → dist-types}/commands/ListJobsCommand.d.ts +2 -2
  198. package/{dist/types → dist-types}/commands/ListRevisionAssetsCommand.d.ts +2 -2
  199. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/commands/StartJobCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/commands/UpdateAssetCommand.d.ts +2 -2
  204. package/{dist/types → dist-types}/commands/UpdateDataSetCommand.d.ts +2 -2
  205. package/dist-types/commands/UpdateEventActionCommand.d.ts +35 -0
  206. package/{dist/types → dist-types}/commands/UpdateRevisionCommand.d.ts +2 -2
  207. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  208. package/{dist/types → dist-types}/index.d.ts +6 -0
  209. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  210. package/{dist/types → dist-types}/models/models_0.d.ts +324 -11
  211. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  212. package/{dist/types → dist-types}/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
  213. package/{dist/types → dist-types}/pagination/ListDataSetsPaginator.d.ts +1 -1
  214. package/dist-types/pagination/ListEventActionsPaginator.d.ts +4 -0
  215. package/{dist/types → dist-types}/pagination/ListJobsPaginator.d.ts +1 -1
  216. package/{dist/types → dist-types}/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
  217. package/{dist/types/ts3.4 → dist-types}/protocols/Aws_restJson1.d.ts +83 -68
  218. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  219. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  220. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  221. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  222. package/{dist/types → dist-types}/ts3.4/DataExchange.d.ts +37 -2
  223. package/{dist/types → dist-types}/ts3.4/DataExchangeClient.d.ts +15 -10
  224. package/{dist/types → dist-types}/ts3.4/commands/CancelJobCommand.d.ts +2 -2
  225. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSetCommand.d.ts +2 -2
  226. package/dist-types/ts3.4/commands/CreateEventActionCommand.d.ts +35 -0
  227. package/{dist/types → dist-types}/ts3.4/commands/CreateJobCommand.d.ts +2 -2
  228. package/{dist/types → dist-types}/ts3.4/commands/CreateRevisionCommand.d.ts +2 -2
  229. package/{dist/types → dist-types}/ts3.4/commands/DeleteAssetCommand.d.ts +2 -2
  230. package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSetCommand.d.ts +2 -2
  231. package/dist-types/ts3.4/commands/DeleteEventActionCommand.d.ts +35 -0
  232. package/{dist/types → dist-types}/ts3.4/commands/DeleteRevisionCommand.d.ts +2 -2
  233. package/{dist/types → dist-types}/ts3.4/commands/GetAssetCommand.d.ts +2 -2
  234. package/{dist/types → dist-types}/ts3.4/commands/GetDataSetCommand.d.ts +2 -2
  235. package/dist-types/ts3.4/commands/GetEventActionCommand.d.ts +35 -0
  236. package/{dist/types → dist-types}/ts3.4/commands/GetJobCommand.d.ts +2 -2
  237. package/{dist/types → dist-types}/ts3.4/commands/GetRevisionCommand.d.ts +2 -2
  238. package/{dist/types → dist-types}/ts3.4/commands/ListDataSetRevisionsCommand.d.ts +2 -2
  239. package/{dist/types → dist-types}/ts3.4/commands/ListDataSetsCommand.d.ts +2 -2
  240. package/dist-types/ts3.4/commands/ListEventActionsCommand.d.ts +35 -0
  241. package/{dist/types → dist-types}/ts3.4/commands/ListJobsCommand.d.ts +2 -2
  242. package/{dist/types → dist-types}/ts3.4/commands/ListRevisionAssetsCommand.d.ts +2 -2
  243. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  244. package/{dist/types → dist-types}/ts3.4/commands/StartJobCommand.d.ts +2 -2
  245. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  246. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  247. package/{dist/types → dist-types}/ts3.4/commands/UpdateAssetCommand.d.ts +2 -2
  248. package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSetCommand.d.ts +2 -2
  249. package/dist-types/ts3.4/commands/UpdateEventActionCommand.d.ts +35 -0
  250. package/{dist/types → dist-types}/ts3.4/commands/UpdateRevisionCommand.d.ts +2 -2
  251. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  252. package/{dist/types → dist-types}/ts3.4/index.d.ts +6 -0
  253. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  254. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +324 -11
  255. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  256. package/{dist/types → dist-types}/ts3.4/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
  257. package/{dist/types → dist-types}/ts3.4/pagination/ListDataSetsPaginator.d.ts +1 -1
  258. package/dist-types/ts3.4/pagination/ListEventActionsPaginator.d.ts +4 -0
  259. package/{dist/types → dist-types}/ts3.4/pagination/ListJobsPaginator.d.ts +1 -1
  260. package/{dist/types → dist-types}/ts3.4/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
  261. package/{dist/types → dist-types/ts3.4}/protocols/Aws_restJson1.d.ts +83 -68
  262. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  263. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  264. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  265. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  266. package/package.json +50 -50
  267. package/{DataExchange.ts → src/DataExchange.ts} +188 -2
  268. package/{DataExchangeClient.ts → src/DataExchangeClient.ts} +58 -42
  269. package/{commands → src/commands}/CancelJobCommand.ts +8 -7
  270. package/{commands → src/commands}/CreateDataSetCommand.ts +8 -7
  271. package/src/commands/CreateEventActionCommand.ts +95 -0
  272. package/{commands → src/commands}/CreateJobCommand.ts +8 -7
  273. package/{commands → src/commands}/CreateRevisionCommand.ts +8 -7
  274. package/{commands → src/commands}/DeleteAssetCommand.ts +8 -7
  275. package/{commands → src/commands}/DeleteDataSetCommand.ts +8 -7
  276. package/src/commands/DeleteEventActionCommand.ts +95 -0
  277. package/{commands → src/commands}/DeleteRevisionCommand.ts +8 -7
  278. package/{commands → src/commands}/GetAssetCommand.ts +8 -7
  279. package/{commands → src/commands}/GetDataSetCommand.ts +8 -7
  280. package/src/commands/GetEventActionCommand.ts +95 -0
  281. package/{commands → src/commands}/GetJobCommand.ts +5 -4
  282. package/{commands → src/commands}/GetRevisionCommand.ts +8 -7
  283. package/{commands → src/commands}/ListDataSetRevisionsCommand.ts +8 -7
  284. package/{commands → src/commands}/ListDataSetsCommand.ts +8 -7
  285. package/src/commands/ListEventActionsCommand.ts +95 -0
  286. package/{commands → src/commands}/ListJobsCommand.ts +8 -7
  287. package/{commands → src/commands}/ListRevisionAssetsCommand.ts +8 -7
  288. package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
  289. package/{commands → src/commands}/StartJobCommand.ts +8 -7
  290. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  291. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  292. package/{commands → src/commands}/UpdateAssetCommand.ts +8 -7
  293. package/{commands → src/commands}/UpdateDataSetCommand.ts +8 -7
  294. package/src/commands/UpdateEventActionCommand.ts +95 -0
  295. package/{commands → src/commands}/UpdateRevisionCommand.ts +8 -7
  296. package/{endpoints.ts → src/endpoints.ts} +1 -1
  297. package/{index.ts → src/index.ts} +6 -0
  298. package/{models → src/models}/index.ts +0 -0
  299. package/{models → src/models}/models_0.ts +413 -11
  300. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  301. package/{pagination → src/pagination}/ListDataSetRevisionsPaginator.ts +4 -3
  302. package/{pagination → src/pagination}/ListDataSetsPaginator.ts +4 -3
  303. package/src/pagination/ListEventActionsPaginator.ts +59 -0
  304. package/{pagination → src/pagination}/ListJobsPaginator.ts +3 -2
  305. package/{pagination → src/pagination}/ListRevisionAssetsPaginator.ts +4 -3
  306. package/{protocols → src/protocols}/Aws_restJson1.ts +844 -72
  307. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  308. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  309. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  310. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  311. package/tsconfig.es.json +1 -3
  312. package/tsconfig.json +7 -7
  313. package/tsconfig.types.json +9 -0
  314. package/dist/cjs/DataExchange.js.map +0 -1
  315. package/dist/cjs/DataExchangeClient.js.map +0 -1
  316. package/dist/cjs/commands/CancelJobCommand.js.map +0 -1
  317. package/dist/cjs/commands/CreateDataSetCommand.js.map +0 -1
  318. package/dist/cjs/commands/CreateJobCommand.js.map +0 -1
  319. package/dist/cjs/commands/CreateRevisionCommand.js.map +0 -1
  320. package/dist/cjs/commands/DeleteAssetCommand.js.map +0 -1
  321. package/dist/cjs/commands/DeleteDataSetCommand.js.map +0 -1
  322. package/dist/cjs/commands/DeleteRevisionCommand.js.map +0 -1
  323. package/dist/cjs/commands/GetAssetCommand.js.map +0 -1
  324. package/dist/cjs/commands/GetDataSetCommand.js.map +0 -1
  325. package/dist/cjs/commands/GetJobCommand.js.map +0 -1
  326. package/dist/cjs/commands/GetRevisionCommand.js.map +0 -1
  327. package/dist/cjs/commands/ListDataSetRevisionsCommand.js.map +0 -1
  328. package/dist/cjs/commands/ListDataSetsCommand.js.map +0 -1
  329. package/dist/cjs/commands/ListJobsCommand.js.map +0 -1
  330. package/dist/cjs/commands/ListRevisionAssetsCommand.js.map +0 -1
  331. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  332. package/dist/cjs/commands/StartJobCommand.js.map +0 -1
  333. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  334. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  335. package/dist/cjs/commands/UpdateAssetCommand.js.map +0 -1
  336. package/dist/cjs/commands/UpdateDataSetCommand.js.map +0 -1
  337. package/dist/cjs/commands/UpdateRevisionCommand.js.map +0 -1
  338. package/dist/cjs/endpoints.js.map +0 -1
  339. package/dist/cjs/index.js +0 -34
  340. package/dist/cjs/index.js.map +0 -1
  341. package/dist/cjs/models/models_0.js.map +0 -1
  342. package/dist/cjs/package.json +0 -91
  343. package/dist/cjs/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
  344. package/dist/cjs/pagination/ListDataSetsPaginator.js.map +0 -1
  345. package/dist/cjs/pagination/ListJobsPaginator.js.map +0 -1
  346. package/dist/cjs/pagination/ListRevisionAssetsPaginator.js.map +0 -1
  347. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  348. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  349. package/dist/cjs/runtimeConfig.js.map +0 -1
  350. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  351. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  352. package/dist/es/DataExchange.js.map +0 -1
  353. package/dist/es/DataExchangeClient.js.map +0 -1
  354. package/dist/es/commands/CancelJobCommand.js.map +0 -1
  355. package/dist/es/commands/CreateDataSetCommand.js.map +0 -1
  356. package/dist/es/commands/CreateJobCommand.js.map +0 -1
  357. package/dist/es/commands/CreateRevisionCommand.js.map +0 -1
  358. package/dist/es/commands/DeleteAssetCommand.js.map +0 -1
  359. package/dist/es/commands/DeleteDataSetCommand.js.map +0 -1
  360. package/dist/es/commands/DeleteRevisionCommand.js.map +0 -1
  361. package/dist/es/commands/GetAssetCommand.js.map +0 -1
  362. package/dist/es/commands/GetDataSetCommand.js.map +0 -1
  363. package/dist/es/commands/GetJobCommand.js.map +0 -1
  364. package/dist/es/commands/GetRevisionCommand.js.map +0 -1
  365. package/dist/es/commands/ListDataSetRevisionsCommand.js.map +0 -1
  366. package/dist/es/commands/ListDataSetsCommand.js.map +0 -1
  367. package/dist/es/commands/ListJobsCommand.js.map +0 -1
  368. package/dist/es/commands/ListRevisionAssetsCommand.js.map +0 -1
  369. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  370. package/dist/es/commands/StartJobCommand.js.map +0 -1
  371. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  372. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  373. package/dist/es/commands/UpdateAssetCommand.js.map +0 -1
  374. package/dist/es/commands/UpdateDataSetCommand.js.map +0 -1
  375. package/dist/es/commands/UpdateRevisionCommand.js.map +0 -1
  376. package/dist/es/endpoints.js.map +0 -1
  377. package/dist/es/index.js.map +0 -1
  378. package/dist/es/models/index.js.map +0 -1
  379. package/dist/es/models/models_0.js.map +0 -1
  380. package/dist/es/package.json +0 -91
  381. package/dist/es/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
  382. package/dist/es/pagination/ListDataSetsPaginator.js.map +0 -1
  383. package/dist/es/pagination/ListJobsPaginator.js.map +0 -1
  384. package/dist/es/pagination/ListRevisionAssetsPaginator.js.map +0 -1
  385. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  386. package/dist/es/runtimeConfig.browser.js.map +0 -1
  387. package/dist/es/runtimeConfig.js.map +0 -1
  388. package/dist/es/runtimeConfig.native.js.map +0 -1
  389. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -1,9 +1,3 @@
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
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { DeleteAssetRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteAssetCommand,
18
+ serializeAws_restJson1DeleteAssetCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeleteAssetCommandInput extends DeleteAssetRequest {}
21
22
  export interface DeleteAssetCommandOutput extends __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
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
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { DeleteDataSetRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteDataSetCommand,
18
+ serializeAws_restJson1DeleteDataSetCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeleteDataSetCommandInput extends DeleteDataSetRequest {}
21
22
  export interface DeleteDataSetCommandOutput extends __MetadataBearer {}
22
23
 
@@ -0,0 +1,95 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { DeleteEventActionRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteEventActionCommand,
18
+ serializeAws_restJson1DeleteEventActionCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
21
+ export interface DeleteEventActionCommandInput extends DeleteEventActionRequest {}
22
+ export interface DeleteEventActionCommandOutput extends __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>This operation deletes the event action.</p>
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { DataExchangeClient, DeleteEventActionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
+ * // const { DataExchangeClient, DeleteEventActionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
+ * const client = new DataExchangeClient(config);
32
+ * const command = new DeleteEventActionCommand(input);
33
+ * const response = await client.send(command);
34
+ * ```
35
+ *
36
+ * @see {@link DeleteEventActionCommandInput} for command's `input` shape.
37
+ * @see {@link DeleteEventActionCommandOutput} for command's `response` shape.
38
+ * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
+ *
40
+ */
41
+ export class DeleteEventActionCommand extends $Command<
42
+ DeleteEventActionCommandInput,
43
+ DeleteEventActionCommandOutput,
44
+ DataExchangeClientResolvedConfig
45
+ > {
46
+ // Start section: command_properties
47
+ // End section: command_properties
48
+
49
+ constructor(readonly input: DeleteEventActionCommandInput) {
50
+ // Start section: command_constructor
51
+ super();
52
+ // End section: command_constructor
53
+ }
54
+
55
+ /**
56
+ * @internal
57
+ */
58
+ resolveMiddleware(
59
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
+ configuration: DataExchangeClientResolvedConfig,
61
+ options?: __HttpHandlerOptions
62
+ ): Handler<DeleteEventActionCommandInput, DeleteEventActionCommandOutput> {
63
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
+
65
+ const stack = clientStack.concat(this.middlewareStack);
66
+
67
+ const { logger } = configuration;
68
+ const clientName = "DataExchangeClient";
69
+ const commandName = "DeleteEventActionCommand";
70
+ const handlerExecutionContext: HandlerExecutionContext = {
71
+ logger,
72
+ clientName,
73
+ commandName,
74
+ inputFilterSensitiveLog: DeleteEventActionRequest.filterSensitiveLog,
75
+ outputFilterSensitiveLog: (output: any) => output,
76
+ };
77
+ const { requestHandler } = configuration;
78
+ return stack.resolve(
79
+ (request: FinalizeHandlerArguments<any>) =>
80
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
81
+ handlerExecutionContext
82
+ );
83
+ }
84
+
85
+ private serialize(input: DeleteEventActionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
+ return serializeAws_restJson1DeleteEventActionCommand(input, context);
87
+ }
88
+
89
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteEventActionCommandOutput> {
90
+ return deserializeAws_restJson1DeleteEventActionCommand(output, context);
91
+ }
92
+
93
+ // Start section: command_body_extra
94
+ // End section: command_body_extra
95
+ }
@@ -1,9 +1,3 @@
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
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { DeleteRevisionRequest } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteRevisionCommand,
18
+ serializeAws_restJson1DeleteRevisionCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeleteRevisionCommandInput extends DeleteRevisionRequest {}
21
22
  export interface DeleteRevisionCommandOutput extends __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
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
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { GetAssetRequest, GetAssetResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1GetAssetCommand,
18
+ serializeAws_restJson1GetAssetCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface GetAssetCommandInput extends GetAssetRequest {}
21
22
  export interface GetAssetCommandOutput extends GetAssetResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
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
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { GetDataSetRequest, GetDataSetResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1GetDataSetCommand,
18
+ serializeAws_restJson1GetDataSetCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface GetDataSetCommandInput extends GetDataSetRequest {}
21
22
  export interface GetDataSetCommandOutput extends GetDataSetResponse, __MetadataBearer {}
22
23
 
@@ -0,0 +1,95 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { GetEventActionRequest, GetEventActionResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1GetEventActionCommand,
18
+ serializeAws_restJson1GetEventActionCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
21
+ export interface GetEventActionCommandInput extends GetEventActionRequest {}
22
+ export interface GetEventActionCommandOutput extends GetEventActionResponse, __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>This operation retrieves information about an event action.</p>
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { DataExchangeClient, GetEventActionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
+ * // const { DataExchangeClient, GetEventActionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
+ * const client = new DataExchangeClient(config);
32
+ * const command = new GetEventActionCommand(input);
33
+ * const response = await client.send(command);
34
+ * ```
35
+ *
36
+ * @see {@link GetEventActionCommandInput} for command's `input` shape.
37
+ * @see {@link GetEventActionCommandOutput} for command's `response` shape.
38
+ * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
+ *
40
+ */
41
+ export class GetEventActionCommand extends $Command<
42
+ GetEventActionCommandInput,
43
+ GetEventActionCommandOutput,
44
+ DataExchangeClientResolvedConfig
45
+ > {
46
+ // Start section: command_properties
47
+ // End section: command_properties
48
+
49
+ constructor(readonly input: GetEventActionCommandInput) {
50
+ // Start section: command_constructor
51
+ super();
52
+ // End section: command_constructor
53
+ }
54
+
55
+ /**
56
+ * @internal
57
+ */
58
+ resolveMiddleware(
59
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
+ configuration: DataExchangeClientResolvedConfig,
61
+ options?: __HttpHandlerOptions
62
+ ): Handler<GetEventActionCommandInput, GetEventActionCommandOutput> {
63
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
+
65
+ const stack = clientStack.concat(this.middlewareStack);
66
+
67
+ const { logger } = configuration;
68
+ const clientName = "DataExchangeClient";
69
+ const commandName = "GetEventActionCommand";
70
+ const handlerExecutionContext: HandlerExecutionContext = {
71
+ logger,
72
+ clientName,
73
+ commandName,
74
+ inputFilterSensitiveLog: GetEventActionRequest.filterSensitiveLog,
75
+ outputFilterSensitiveLog: GetEventActionResponse.filterSensitiveLog,
76
+ };
77
+ const { requestHandler } = configuration;
78
+ return stack.resolve(
79
+ (request: FinalizeHandlerArguments<any>) =>
80
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
81
+ handlerExecutionContext
82
+ );
83
+ }
84
+
85
+ private serialize(input: GetEventActionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
+ return serializeAws_restJson1GetEventActionCommand(input, context);
87
+ }
88
+
89
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetEventActionCommandOutput> {
90
+ return deserializeAws_restJson1GetEventActionCommand(output, context);
91
+ }
92
+
93
+ // Start section: command_body_extra
94
+ // End section: command_body_extra
95
+ }
@@ -1,6 +1,3 @@
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
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -8,12 +5,16 @@ import {
8
5
  FinalizeHandlerArguments,
9
6
  Handler,
10
7
  HandlerExecutionContext,
11
- MiddlewareStack,
12
8
  HttpHandlerOptions as __HttpHandlerOptions,
13
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
14
11
  SerdeContext as __SerdeContext,
15
12
  } from "@aws-sdk/types";
16
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { GetJobRequest, GetJobResponse } from "../models/models_0";
16
+ import { deserializeAws_restJson1GetJobCommand, serializeAws_restJson1GetJobCommand } from "../protocols/Aws_restJson1";
17
+
17
18
  export interface GetJobCommandInput extends GetJobRequest {}
18
19
  export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
19
20
 
@@ -1,9 +1,3 @@
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
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { GetRevisionRequest, GetRevisionResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1GetRevisionCommand,
18
+ serializeAws_restJson1GetRevisionCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface GetRevisionCommandInput extends GetRevisionRequest {}
21
22
  export interface GetRevisionCommandOutput extends GetRevisionResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { ListDataSetRevisionsRequest, ListDataSetRevisionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListDataSetRevisionsCommand,
5
- serializeAws_restJson1ListDataSetRevisionsCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { ListDataSetRevisionsRequest, ListDataSetRevisionsResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1ListDataSetRevisionsCommand,
18
+ serializeAws_restJson1ListDataSetRevisionsCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface ListDataSetRevisionsCommandInput extends ListDataSetRevisionsRequest {}
21
22
  export interface ListDataSetRevisionsCommandOutput extends ListDataSetRevisionsResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { ListDataSetsRequest, ListDataSetsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListDataSetsCommand,
5
- serializeAws_restJson1ListDataSetsCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { ListDataSetsRequest, ListDataSetsResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1ListDataSetsCommand,
18
+ serializeAws_restJson1ListDataSetsCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface ListDataSetsCommandInput extends ListDataSetsRequest {}
21
22
  export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __MetadataBearer {}
22
23
 
@@ -0,0 +1,95 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { ListEventActionsRequest, ListEventActionsResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1ListEventActionsCommand,
18
+ serializeAws_restJson1ListEventActionsCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
21
+ export interface ListEventActionsCommandInput extends ListEventActionsRequest {}
22
+ export interface ListEventActionsCommandOutput extends ListEventActionsResponse, __MetadataBearer {}
23
+
24
+ /**
25
+ * <p>This operation lists your event actions.</p>
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { DataExchangeClient, ListEventActionsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
30
+ * // const { DataExchangeClient, ListEventActionsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
31
+ * const client = new DataExchangeClient(config);
32
+ * const command = new ListEventActionsCommand(input);
33
+ * const response = await client.send(command);
34
+ * ```
35
+ *
36
+ * @see {@link ListEventActionsCommandInput} for command's `input` shape.
37
+ * @see {@link ListEventActionsCommandOutput} for command's `response` shape.
38
+ * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
39
+ *
40
+ */
41
+ export class ListEventActionsCommand extends $Command<
42
+ ListEventActionsCommandInput,
43
+ ListEventActionsCommandOutput,
44
+ DataExchangeClientResolvedConfig
45
+ > {
46
+ // Start section: command_properties
47
+ // End section: command_properties
48
+
49
+ constructor(readonly input: ListEventActionsCommandInput) {
50
+ // Start section: command_constructor
51
+ super();
52
+ // End section: command_constructor
53
+ }
54
+
55
+ /**
56
+ * @internal
57
+ */
58
+ resolveMiddleware(
59
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
+ configuration: DataExchangeClientResolvedConfig,
61
+ options?: __HttpHandlerOptions
62
+ ): Handler<ListEventActionsCommandInput, ListEventActionsCommandOutput> {
63
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
+
65
+ const stack = clientStack.concat(this.middlewareStack);
66
+
67
+ const { logger } = configuration;
68
+ const clientName = "DataExchangeClient";
69
+ const commandName = "ListEventActionsCommand";
70
+ const handlerExecutionContext: HandlerExecutionContext = {
71
+ logger,
72
+ clientName,
73
+ commandName,
74
+ inputFilterSensitiveLog: ListEventActionsRequest.filterSensitiveLog,
75
+ outputFilterSensitiveLog: ListEventActionsResponse.filterSensitiveLog,
76
+ };
77
+ const { requestHandler } = configuration;
78
+ return stack.resolve(
79
+ (request: FinalizeHandlerArguments<any>) =>
80
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
81
+ handlerExecutionContext
82
+ );
83
+ }
84
+
85
+ private serialize(input: ListEventActionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
+ return serializeAws_restJson1ListEventActionsCommand(input, context);
87
+ }
88
+
89
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListEventActionsCommandOutput> {
90
+ return deserializeAws_restJson1ListEventActionsCommand(output, context);
91
+ }
92
+
93
+ // Start section: command_body_extra
94
+ // End section: command_body_extra
95
+ }
@@ -1,9 +1,3 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { ListJobsRequest, ListJobsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListJobsCommand,
5
- serializeAws_restJson1ListJobsCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { ListJobsRequest, ListJobsResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1ListJobsCommand,
18
+ serializeAws_restJson1ListJobsCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface ListJobsCommandInput extends ListJobsRequest {}
21
22
  export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { ListRevisionAssetsRequest, ListRevisionAssetsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListRevisionAssetsCommand,
5
- serializeAws_restJson1ListRevisionAssetsCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { ListRevisionAssetsRequest, ListRevisionAssetsResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1ListRevisionAssetsCommand,
18
+ serializeAws_restJson1ListRevisionAssetsCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface ListRevisionAssetsCommandInput extends ListRevisionAssetsRequest {}
21
22
  export interface ListRevisionAssetsCommandOutput extends ListRevisionAssetsResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
2
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListTagsForResourceCommand,
5
- serializeAws_restJson1ListTagsForResourceCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
15
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1ListTagsForResourceCommand,
18
+ serializeAws_restJson1ListTagsForResourceCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
21
22
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
22
23