@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
@@ -21,6 +21,99 @@ export namespace AccessDeniedException {
21
21
  });
22
22
  }
23
23
 
24
+ export enum ServerSideEncryptionTypes {
25
+ AES256 = "AES256",
26
+ aws_kms = "aws:kms",
27
+ }
28
+
29
+ /**
30
+ * <p>Encryption configuration of the export job. Includes the encryption type in addition to the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption. type.</p>
31
+ */
32
+ export interface ExportServerSideEncryption {
33
+ /**
34
+ * <p>The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.</p>
35
+ */
36
+ KmsKeyArn?: string;
37
+
38
+ /**
39
+ * <p>The type of server side encryption used for encrypting the objects in Amazon S3.</p>
40
+ */
41
+ Type: ServerSideEncryptionTypes | string | undefined;
42
+ }
43
+
44
+ export namespace ExportServerSideEncryption {
45
+ /**
46
+ * @internal
47
+ */
48
+ export const filterSensitiveLog = (obj: ExportServerSideEncryption): any => ({
49
+ ...obj,
50
+ });
51
+ }
52
+
53
+ /**
54
+ * <p>A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.</p>
55
+ */
56
+ export interface AutoExportRevisionDestinationEntry {
57
+ /**
58
+ * <p>The S3 bucket that is the destination for the event action.</p>
59
+ */
60
+ Bucket: string | undefined;
61
+
62
+ /**
63
+ * <p>A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see <a href="https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns">Key patterns when exporting revisions</a>.</p>
64
+ */
65
+ KeyPattern?: string;
66
+ }
67
+
68
+ export namespace AutoExportRevisionDestinationEntry {
69
+ /**
70
+ * @internal
71
+ */
72
+ export const filterSensitiveLog = (obj: AutoExportRevisionDestinationEntry): any => ({
73
+ ...obj,
74
+ });
75
+ }
76
+
77
+ /**
78
+ * <p>Details of the operation to be performed by the job.</p>
79
+ */
80
+ export interface AutoExportRevisionToS3RequestDetails {
81
+ /**
82
+ * <p>Encryption configuration of the export job. Includes the encryption type in addition to the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption. type.</p>
83
+ */
84
+ Encryption?: ExportServerSideEncryption;
85
+
86
+ /**
87
+ * <p>A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.</p>
88
+ */
89
+ RevisionDestination: AutoExportRevisionDestinationEntry | undefined;
90
+ }
91
+
92
+ export namespace AutoExportRevisionToS3RequestDetails {
93
+ /**
94
+ * @internal
95
+ */
96
+ export const filterSensitiveLog = (obj: AutoExportRevisionToS3RequestDetails): any => ({
97
+ ...obj,
98
+ });
99
+ }
100
+
101
+ export interface Action {
102
+ /**
103
+ * <p>Details of the operation to be performed by the job.</p>
104
+ */
105
+ ExportRevisionToS3?: AutoExportRevisionToS3RequestDetails;
106
+ }
107
+
108
+ export namespace Action {
109
+ /**
110
+ * @internal
111
+ */
112
+ export const filterSensitiveLog = (obj: Action): any => ({
113
+ ...obj,
114
+ });
115
+ }
116
+
24
117
  /**
25
118
  * <p>The destination for the asset.</p>
26
119
  */
@@ -196,6 +289,7 @@ export namespace CancelJobRequest {
196
289
  export enum ResourceType {
197
290
  ASSET = "ASSET",
198
291
  DATA_SET = "DATA_SET",
292
+ EVENT_ACTION = "EVENT_ACTION",
199
293
  JOB = "JOB",
200
294
  REVISION = "REVISION",
201
295
  }
@@ -304,6 +398,11 @@ export namespace ThrottlingException {
304
398
  });
305
399
  }
306
400
 
401
+ export enum ExceptionCause {
402
+ InsufficientS3BucketPolicy = "InsufficientS3BucketPolicy",
403
+ S3AccessDenied = "S3AccessDenied",
404
+ }
405
+
307
406
  /**
308
407
  * <p>The request was invalid.</p>
309
408
  */
@@ -314,6 +413,11 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
314
413
  * <p>The message that informs you about what was invalid about the request.</p>
315
414
  */
316
415
  Message: string | undefined;
416
+
417
+ /**
418
+ * <p>The message that informs you about what the exception was.</p>
419
+ */
420
+ ExceptionCause?: ExceptionCause | string;
317
421
  }
318
422
 
319
423
  export namespace ValidationException {
@@ -458,12 +562,15 @@ export enum LimitName {
458
562
  Asset_size_in_GB = "Asset size in GB",
459
563
  Assets_per_import_job_from_Amazon_S3 = "Assets per import job from Amazon S3",
460
564
  Assets_per_revision = "Assets per revision",
565
+ Auto_export_event_actions_per_data_set = "Auto export event actions per data set",
461
566
  Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3 = "Concurrent in progress jobs to export assets to Amazon S3",
462
567
  Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL = "Concurrent in progress jobs to export assets to a signed URL",
568
+ Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3 = "Concurrent in progress jobs to export revisions to Amazon S3",
463
569
  Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3 = "Concurrent in progress jobs to import assets from Amazon S3",
464
570
  Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL = "Concurrent in progress jobs to import assets from a signed URL",
465
571
  Data_sets_per_account = "Data sets per account",
466
572
  Data_sets_per_product = "Data sets per product",
573
+ Event_actions_per_account = "Event actions per account",
467
574
  Products_per_account = "Products per account",
468
575
  Revisions_per_data_set = "Revisions per data set",
469
576
  }
@@ -499,31 +606,96 @@ export namespace ServiceLimitExceededException {
499
606
  });
500
607
  }
501
608
 
502
- export enum ServerSideEncryptionTypes {
503
- AES256 = "AES256",
504
- aws_kms = "aws:kms",
609
+ export interface RevisionPublished {
610
+ /**
611
+ * <p>A unique identifier.</p>
612
+ */
613
+ DataSetId: string | undefined;
614
+ }
615
+
616
+ export namespace RevisionPublished {
617
+ /**
618
+ * @internal
619
+ */
620
+ export const filterSensitiveLog = (obj: RevisionPublished): any => ({
621
+ ...obj,
622
+ });
623
+ }
624
+
625
+ export interface Event {
626
+ RevisionPublished?: RevisionPublished;
627
+ }
628
+
629
+ export namespace Event {
630
+ /**
631
+ * @internal
632
+ */
633
+ export const filterSensitiveLog = (obj: Event): any => ({
634
+ ...obj,
635
+ });
505
636
  }
506
637
 
507
638
  /**
508
- * <p>Encryption configuration of the export job. Includes the encryption type as well as the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption type.</p>
639
+ * <p>The request body for CreateEventAction.</p>
509
640
  */
510
- export interface ExportServerSideEncryption {
641
+ export interface CreateEventActionRequest {
511
642
  /**
512
- * <p>The Amazon Resource Name (ARN) of the the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.</p>
643
+ * <p>What occurs after a certain event.</p>
513
644
  */
514
- KmsKeyArn?: string;
645
+ Action: Action | undefined;
515
646
 
516
647
  /**
517
- * <p>The type of server side encryption used for encrypting the objects in Amazon S3.</p>
648
+ * <p>What occurs to start an action.</p>
518
649
  */
519
- Type: ServerSideEncryptionTypes | string | undefined;
650
+ Event: Event | undefined;
520
651
  }
521
652
 
522
- export namespace ExportServerSideEncryption {
653
+ export namespace CreateEventActionRequest {
523
654
  /**
524
655
  * @internal
525
656
  */
526
- export const filterSensitiveLog = (obj: ExportServerSideEncryption): any => ({
657
+ export const filterSensitiveLog = (obj: CreateEventActionRequest): any => ({
658
+ ...obj,
659
+ });
660
+ }
661
+
662
+ export interface CreateEventActionResponse {
663
+ /**
664
+ * <p>What occurs after a certain event.</p>
665
+ */
666
+ Action?: Action;
667
+
668
+ /**
669
+ * <p>The ARN for the event action.</p>
670
+ */
671
+ Arn?: string;
672
+
673
+ /**
674
+ * <p>The date and time that the event action was created, in ISO 8601 format.</p>
675
+ */
676
+ CreatedAt?: Date;
677
+
678
+ /**
679
+ * <p>What occurs to start an action.</p>
680
+ */
681
+ Event?: Event;
682
+
683
+ /**
684
+ * <p>The unique identifier for the event action.</p>
685
+ */
686
+ Id?: string;
687
+
688
+ /**
689
+ * <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
690
+ */
691
+ UpdatedAt?: Date;
692
+ }
693
+
694
+ export namespace CreateEventActionResponse {
695
+ /**
696
+ * @internal
697
+ */
698
+ export const filterSensitiveLog = (obj: CreateEventActionResponse): any => ({
527
699
  ...obj,
528
700
  });
529
701
  }
@@ -1037,6 +1209,7 @@ export enum JobErrorLimitName {
1037
1209
 
1038
1210
  export enum JobErrorResourceTypes {
1039
1211
  ASSET = "ASSET",
1212
+ DATA_SET = "DATA_SET",
1040
1213
  REVISION = "REVISION",
1041
1214
  }
1042
1215
 
@@ -1272,6 +1445,22 @@ export namespace DeleteDataSetRequest {
1272
1445
  });
1273
1446
  }
1274
1447
 
1448
+ export interface DeleteEventActionRequest {
1449
+ /**
1450
+ * <p>The unique identifier for the event action.</p>
1451
+ */
1452
+ EventActionId: string | undefined;
1453
+ }
1454
+
1455
+ export namespace DeleteEventActionRequest {
1456
+ /**
1457
+ * @internal
1458
+ */
1459
+ export const filterSensitiveLog = (obj: DeleteEventActionRequest): any => ({
1460
+ ...obj,
1461
+ });
1462
+ }
1463
+
1275
1464
  export interface DeleteRevisionRequest {
1276
1465
  /**
1277
1466
  * <p>The unique identifier for a data set.</p>
@@ -1462,6 +1651,63 @@ export namespace GetDataSetResponse {
1462
1651
  });
1463
1652
  }
1464
1653
 
1654
+ export interface GetEventActionRequest {
1655
+ /**
1656
+ * <p>The unique identifier for the event action.</p>
1657
+ */
1658
+ EventActionId: string | undefined;
1659
+ }
1660
+
1661
+ export namespace GetEventActionRequest {
1662
+ /**
1663
+ * @internal
1664
+ */
1665
+ export const filterSensitiveLog = (obj: GetEventActionRequest): any => ({
1666
+ ...obj,
1667
+ });
1668
+ }
1669
+
1670
+ export interface GetEventActionResponse {
1671
+ /**
1672
+ * <p>What occurs after a certain event.</p>
1673
+ */
1674
+ Action?: Action;
1675
+
1676
+ /**
1677
+ * <p>The ARN for the event action.</p>
1678
+ */
1679
+ Arn?: string;
1680
+
1681
+ /**
1682
+ * <p>The date and time that the event action was created, in ISO 8601 format.</p>
1683
+ */
1684
+ CreatedAt?: Date;
1685
+
1686
+ /**
1687
+ * <p>What occurs to start an action.</p>
1688
+ */
1689
+ Event?: Event;
1690
+
1691
+ /**
1692
+ * <p>The unique identifier for the event action.</p>
1693
+ */
1694
+ Id?: string;
1695
+
1696
+ /**
1697
+ * <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
1698
+ */
1699
+ UpdatedAt?: Date;
1700
+ }
1701
+
1702
+ export namespace GetEventActionResponse {
1703
+ /**
1704
+ * @internal
1705
+ */
1706
+ export const filterSensitiveLog = (obj: GetEventActionResponse): any => ({
1707
+ ...obj,
1708
+ });
1709
+ }
1710
+
1465
1711
  export interface GetJobRequest {
1466
1712
  /**
1467
1713
  * <p>The unique identifier for a job.</p>
@@ -1818,6 +2064,97 @@ export namespace ListDataSetsResponse {
1818
2064
  });
1819
2065
  }
1820
2066
 
2067
+ export interface ListEventActionsRequest {
2068
+ /**
2069
+ * <p>The unique identifier for the event source.</p>
2070
+ */
2071
+ EventSourceId?: string;
2072
+
2073
+ /**
2074
+ * <p>The maximum number of results returned by a single call.</p>
2075
+ */
2076
+ MaxResults?: number;
2077
+
2078
+ /**
2079
+ * <p>The token value retrieved from a previous call to access the next page of results.</p>
2080
+ */
2081
+ NextToken?: string;
2082
+ }
2083
+
2084
+ export namespace ListEventActionsRequest {
2085
+ /**
2086
+ * @internal
2087
+ */
2088
+ export const filterSensitiveLog = (obj: ListEventActionsRequest): any => ({
2089
+ ...obj,
2090
+ });
2091
+ }
2092
+
2093
+ /**
2094
+ * <p>An event action is an object that defines the relationship between a specific event and an automated action that will be taken on behalf of the customer.</p>
2095
+ */
2096
+ export interface EventActionEntry {
2097
+ /**
2098
+ * <p>What occurs after a certain event.</p>
2099
+ */
2100
+ Action: Action | undefined;
2101
+
2102
+ /**
2103
+ * <p>The ARN for the event action.</p>
2104
+ */
2105
+ Arn: string | undefined;
2106
+
2107
+ /**
2108
+ * <p>The date and time that the event action was created, in ISO 8601 format.</p>
2109
+ */
2110
+ CreatedAt: Date | undefined;
2111
+
2112
+ /**
2113
+ * <p>What occurs to start an action.</p>
2114
+ */
2115
+ Event: Event | undefined;
2116
+
2117
+ /**
2118
+ * <p>The unique identifier for the event action.</p>
2119
+ */
2120
+ Id: string | undefined;
2121
+
2122
+ /**
2123
+ * <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
2124
+ */
2125
+ UpdatedAt: Date | undefined;
2126
+ }
2127
+
2128
+ export namespace EventActionEntry {
2129
+ /**
2130
+ * @internal
2131
+ */
2132
+ export const filterSensitiveLog = (obj: EventActionEntry): any => ({
2133
+ ...obj,
2134
+ });
2135
+ }
2136
+
2137
+ export interface ListEventActionsResponse {
2138
+ /**
2139
+ * <p>The event action objects listed by the request.</p>
2140
+ */
2141
+ EventActions?: EventActionEntry[];
2142
+
2143
+ /**
2144
+ * <p>The token value retrieved from a previous call to access the next page of results.</p>
2145
+ */
2146
+ NextToken?: string;
2147
+ }
2148
+
2149
+ export namespace ListEventActionsResponse {
2150
+ /**
2151
+ * @internal
2152
+ */
2153
+ export const filterSensitiveLog = (obj: ListEventActionsResponse): any => ({
2154
+ ...obj,
2155
+ });
2156
+ }
2157
+
1821
2158
  export interface ListJobsRequest {
1822
2159
  /**
1823
2160
  * <p>The unique identifier for a data set.</p>
@@ -2265,6 +2602,71 @@ export namespace UpdateDataSetResponse {
2265
2602
  });
2266
2603
  }
2267
2604
 
2605
+ /**
2606
+ * <p>The request body for UpdateEventAction.</p>
2607
+ */
2608
+ export interface UpdateEventActionRequest {
2609
+ /**
2610
+ * <p>What occurs after a certain event.</p>
2611
+ */
2612
+ Action?: Action;
2613
+
2614
+ /**
2615
+ * <p>The unique identifier for the event action.</p>
2616
+ */
2617
+ EventActionId: string | undefined;
2618
+ }
2619
+
2620
+ export namespace UpdateEventActionRequest {
2621
+ /**
2622
+ * @internal
2623
+ */
2624
+ export const filterSensitiveLog = (obj: UpdateEventActionRequest): any => ({
2625
+ ...obj,
2626
+ });
2627
+ }
2628
+
2629
+ export interface UpdateEventActionResponse {
2630
+ /**
2631
+ * <p>What occurs after a certain event.</p>
2632
+ */
2633
+ Action?: Action;
2634
+
2635
+ /**
2636
+ * <p>The ARN for the event action.</p>
2637
+ */
2638
+ Arn?: string;
2639
+
2640
+ /**
2641
+ * <p>The date and time that the event action was created, in ISO 8601 format.</p>
2642
+ */
2643
+ CreatedAt?: Date;
2644
+
2645
+ /**
2646
+ * <p>What occurs to start an action.</p>
2647
+ */
2648
+ Event?: Event;
2649
+
2650
+ /**
2651
+ * <p>The unique identifier for the event action.</p>
2652
+ */
2653
+ Id?: string;
2654
+
2655
+ /**
2656
+ * <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
2657
+ */
2658
+ UpdatedAt?: Date;
2659
+ }
2660
+
2661
+ export namespace UpdateEventActionResponse {
2662
+ /**
2663
+ * @internal
2664
+ */
2665
+ export const filterSensitiveLog = (obj: UpdateEventActionResponse): any => ({
2666
+ ...obj,
2667
+ });
2668
+ }
2669
+
2268
2670
  /**
2269
2671
  * <p>The request body for UpdateRevision.</p>
2270
2672
  */
@@ -1,6 +1,7 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+
1
3
  import { DataExchange } from "../DataExchange";
2
4
  import { DataExchangeClient } from "../DataExchangeClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
5
 
5
6
  export interface DataExchangePaginationConfiguration extends PaginationConfiguration {
6
7
  client: DataExchange | DataExchangeClient;
@@ -1,12 +1,13 @@
1
- import { DataExchange } from "../DataExchange";
2
- import { DataExchangeClient } from "../DataExchangeClient";
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
3
  import {
4
4
  ListDataSetRevisionsCommand,
5
5
  ListDataSetRevisionsCommandInput,
6
6
  ListDataSetRevisionsCommandOutput,
7
7
  } from "../commands/ListDataSetRevisionsCommand";
8
+ import { DataExchange } from "../DataExchange";
9
+ import { DataExchangeClient } from "../DataExchangeClient";
8
10
  import { DataExchangePaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -1,12 +1,13 @@
1
- import { DataExchange } from "../DataExchange";
2
- import { DataExchangeClient } from "../DataExchangeClient";
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
3
  import {
4
4
  ListDataSetsCommand,
5
5
  ListDataSetsCommandInput,
6
6
  ListDataSetsCommandOutput,
7
7
  } from "../commands/ListDataSetsCommand";
8
+ import { DataExchange } from "../DataExchange";
9
+ import { DataExchangeClient } from "../DataExchangeClient";
8
10
  import { DataExchangePaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private
@@ -0,0 +1,59 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
+ import {
4
+ ListEventActionsCommand,
5
+ ListEventActionsCommandInput,
6
+ ListEventActionsCommandOutput,
7
+ } from "../commands/ListEventActionsCommand";
8
+ import { DataExchange } from "../DataExchange";
9
+ import { DataExchangeClient } from "../DataExchangeClient";
10
+ import { DataExchangePaginationConfiguration } from "./Interfaces";
11
+
12
+ /**
13
+ * @private
14
+ */
15
+ const makePagedClientRequest = async (
16
+ client: DataExchangeClient,
17
+ input: ListEventActionsCommandInput,
18
+ ...args: any
19
+ ): Promise<ListEventActionsCommandOutput> => {
20
+ // @ts-ignore
21
+ return await client.send(new ListEventActionsCommand(input), ...args);
22
+ };
23
+ /**
24
+ * @private
25
+ */
26
+ const makePagedRequest = async (
27
+ client: DataExchange,
28
+ input: ListEventActionsCommandInput,
29
+ ...args: any
30
+ ): Promise<ListEventActionsCommandOutput> => {
31
+ // @ts-ignore
32
+ return await client.listEventActions(input, ...args);
33
+ };
34
+ export async function* paginateListEventActions(
35
+ config: DataExchangePaginationConfiguration,
36
+ input: ListEventActionsCommandInput,
37
+ ...additionalArguments: any
38
+ ): Paginator<ListEventActionsCommandOutput> {
39
+ // ToDo: replace with actual type instead of typeof input.NextToken
40
+ let token: typeof input.NextToken | undefined = config.startingToken || undefined;
41
+ let hasNext = true;
42
+ let page: ListEventActionsCommandOutput;
43
+ while (hasNext) {
44
+ input.NextToken = token;
45
+ input["MaxResults"] = config.pageSize;
46
+ if (config.client instanceof DataExchange) {
47
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
48
+ } else if (config.client instanceof DataExchangeClient) {
49
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
+ } else {
51
+ throw new Error("Invalid client, expected DataExchange | DataExchangeClient");
52
+ }
53
+ yield page;
54
+ token = page.NextToken;
55
+ hasNext = !!token;
56
+ }
57
+ // @ts-ignore
58
+ return undefined;
59
+ }
@@ -1,8 +1,9 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
+ import { ListJobsCommand, ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
1
4
  import { DataExchange } from "../DataExchange";
2
5
  import { DataExchangeClient } from "../DataExchangeClient";
3
- import { ListJobsCommand, ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
4
6
  import { DataExchangePaginationConfiguration } from "./Interfaces";
5
- import { Paginator } from "@aws-sdk/types";
6
7
 
7
8
  /**
8
9
  * @private
@@ -1,12 +1,13 @@
1
- import { DataExchange } from "../DataExchange";
2
- import { DataExchangeClient } from "../DataExchangeClient";
1
+ import { Paginator } from "@aws-sdk/types";
2
+
3
3
  import {
4
4
  ListRevisionAssetsCommand,
5
5
  ListRevisionAssetsCommandInput,
6
6
  ListRevisionAssetsCommandOutput,
7
7
  } from "../commands/ListRevisionAssetsCommand";
8
+ import { DataExchange } from "../DataExchange";
9
+ import { DataExchangeClient } from "../DataExchangeClient";
8
10
  import { DataExchangePaginationConfiguration } from "./Interfaces";
9
- import { Paginator } from "@aws-sdk/types";
10
11
 
11
12
  /**
12
13
  * @private