@aws-sdk/client-dataexchange 3.32.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/DataExchange.js +76 -2
  3. package/{dist/cjs → dist-cjs}/DataExchangeClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CancelJobCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateDataSetCommand.js +2 -3
  6. package/dist-cjs/commands/CreateEventActionCommand.js +60 -0
  7. package/{dist/cjs → dist-cjs}/commands/CreateJobCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateRevisionCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteAssetCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteDataSetCommand.js +2 -3
  11. package/dist-cjs/commands/DeleteEventActionCommand.js +60 -0
  12. package/{dist/cjs → dist-cjs}/commands/DeleteRevisionCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/GetAssetCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/GetDataSetCommand.js +2 -3
  15. package/dist-cjs/commands/GetEventActionCommand.js +60 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetJobCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/GetRevisionCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/ListDataSetRevisionsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/ListDataSetsCommand.js +2 -3
  20. package/dist-cjs/commands/ListEventActionsCommand.js +60 -0
  21. package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ListRevisionAssetsCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/StartJobCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/UpdateAssetCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/UpdateDataSetCommand.js +2 -3
  29. package/dist-cjs/commands/UpdateEventActionCommand.js +60 -0
  30. package/{dist/cjs → dist-cjs}/commands/UpdateRevisionCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  32. package/{dist/cjs → dist-cjs}/index.js +6 -1
  33. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  34. package/{dist/cjs → dist-cjs}/models/models_0.js +156 -12
  35. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  36. package/{dist/cjs → dist-cjs}/pagination/ListDataSetRevisionsPaginator.js +1 -2
  37. package/{dist/cjs → dist-cjs}/pagination/ListDataSetsPaginator.js +1 -2
  38. package/dist-cjs/pagination/ListEventActionsPaginator.js +45 -0
  39. package/{dist/cjs → dist-cjs}/pagination/ListJobsPaginator.js +1 -2
  40. package/{dist/cjs → dist-cjs}/pagination/ListRevisionAssetsPaginator.js +1 -2
  41. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +700 -28
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  46. package/{dist/es → dist-es}/DataExchange.js +77 -6
  47. package/{dist/es → dist-es}/DataExchangeClient.js +2 -11
  48. package/{dist/es → dist-es}/commands/CancelJobCommand.js +4 -30
  49. package/{dist/es → dist-es}/commands/CreateDataSetCommand.js +4 -30
  50. package/dist-es/commands/CreateEventActionCommand.js +39 -0
  51. package/{dist/es → dist-es}/commands/CreateJobCommand.js +4 -30
  52. package/{dist/es → dist-es}/commands/CreateRevisionCommand.js +4 -30
  53. package/{dist/es → dist-es}/commands/DeleteAssetCommand.js +4 -30
  54. package/{dist/es → dist-es}/commands/DeleteDataSetCommand.js +4 -30
  55. package/dist-es/commands/DeleteEventActionCommand.js +39 -0
  56. package/{dist/es → dist-es}/commands/DeleteRevisionCommand.js +4 -30
  57. package/{dist/es → dist-es}/commands/GetAssetCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/GetDataSetCommand.js +4 -30
  59. package/dist-es/commands/GetEventActionCommand.js +39 -0
  60. package/{dist/es → dist-es}/commands/GetJobCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/GetRevisionCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/ListDataSetRevisionsCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/ListDataSetsCommand.js +4 -30
  64. package/dist-es/commands/ListEventActionsCommand.js +39 -0
  65. package/{dist/es → dist-es}/commands/ListJobsCommand.js +4 -30
  66. package/{dist/es → dist-es}/commands/ListRevisionAssetsCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/StartJobCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/UpdateAssetCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/UpdateDataSetCommand.js +4 -30
  73. package/dist-es/commands/UpdateEventActionCommand.js +39 -0
  74. package/{dist/es → dist-es}/commands/UpdateRevisionCommand.js +4 -30
  75. package/{dist/es → dist-es}/endpoints.js +1 -2
  76. package/{dist/es → dist-es}/index.js +6 -1
  77. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  78. package/{dist/es → dist-es}/models/models_0.js +79 -223
  79. package/dist-es/pagination/Interfaces.js +1 -0
  80. package/{dist/es → dist-es}/pagination/ListDataSetRevisionsPaginator.js +17 -30
  81. package/{dist/es → dist-es}/pagination/ListDataSetsPaginator.js +17 -30
  82. package/dist-es/pagination/ListEventActionsPaginator.js +74 -0
  83. package/{dist/es → dist-es}/pagination/ListJobsPaginator.js +17 -30
  84. package/{dist/es → dist-es}/pagination/ListRevisionAssetsPaginator.js +17 -30
  85. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1315 -577
  86. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  87. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  88. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  89. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  90. package/{dist/types → dist-types}/DataExchange.d.ts +37 -2
  91. package/{dist/types → dist-types}/DataExchangeClient.d.ts +15 -10
  92. package/{dist/types → dist-types}/commands/CancelJobCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/CreateDataSetCommand.d.ts +2 -2
  94. package/dist-types/commands/CreateEventActionCommand.d.ts +35 -0
  95. package/{dist/types → dist-types}/commands/CreateJobCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateRevisionCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DeleteAssetCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/DeleteDataSetCommand.d.ts +2 -2
  99. package/dist-types/commands/DeleteEventActionCommand.d.ts +35 -0
  100. package/{dist/types → dist-types}/commands/DeleteRevisionCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/GetAssetCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/GetDataSetCommand.d.ts +2 -2
  103. package/dist-types/commands/GetEventActionCommand.d.ts +35 -0
  104. package/{dist/types → dist-types}/commands/GetJobCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/GetRevisionCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/ListDataSetRevisionsCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/ListDataSetsCommand.d.ts +2 -2
  108. package/dist-types/commands/ListEventActionsCommand.d.ts +35 -0
  109. package/{dist/types → dist-types}/commands/ListJobsCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/ListRevisionAssetsCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/StartJobCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/UpdateAssetCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/UpdateDataSetCommand.d.ts +2 -2
  117. package/dist-types/commands/UpdateEventActionCommand.d.ts +35 -0
  118. package/{dist/types → dist-types}/commands/UpdateRevisionCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  120. package/{dist/types → dist-types}/index.d.ts +6 -0
  121. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  122. package/{dist/types → dist-types}/models/models_0.d.ts +324 -11
  123. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  124. package/{dist/types → dist-types}/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
  125. package/{dist/types → dist-types}/pagination/ListDataSetsPaginator.d.ts +1 -1
  126. package/dist-types/pagination/ListEventActionsPaginator.d.ts +4 -0
  127. package/{dist/types → dist-types}/pagination/ListJobsPaginator.d.ts +1 -1
  128. package/{dist/types → dist-types}/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
  129. package/{dist/types/ts3.4 → dist-types}/protocols/Aws_restJson1.d.ts +83 -68
  130. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  131. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  132. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  133. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  134. package/{dist/types → dist-types}/ts3.4/DataExchange.d.ts +37 -2
  135. package/{dist/types → dist-types}/ts3.4/DataExchangeClient.d.ts +15 -10
  136. package/{dist/types → dist-types}/ts3.4/commands/CancelJobCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/ts3.4/commands/CreateDataSetCommand.d.ts +2 -2
  138. package/dist-types/ts3.4/commands/CreateEventActionCommand.d.ts +35 -0
  139. package/{dist/types → dist-types}/ts3.4/commands/CreateJobCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/ts3.4/commands/CreateRevisionCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/ts3.4/commands/DeleteAssetCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSetCommand.d.ts +2 -2
  143. package/dist-types/ts3.4/commands/DeleteEventActionCommand.d.ts +35 -0
  144. package/{dist/types → dist-types}/ts3.4/commands/DeleteRevisionCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/GetAssetCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/GetDataSetCommand.d.ts +2 -2
  147. package/dist-types/ts3.4/commands/GetEventActionCommand.d.ts +35 -0
  148. package/{dist/types → dist-types}/ts3.4/commands/GetJobCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/GetRevisionCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/ListDataSetRevisionsCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/ListDataSetsCommand.d.ts +2 -2
  152. package/dist-types/ts3.4/commands/ListEventActionsCommand.d.ts +35 -0
  153. package/{dist/types → dist-types}/ts3.4/commands/ListJobsCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/commands/ListRevisionAssetsCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/ts3.4/commands/StartJobCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/ts3.4/commands/UpdateAssetCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSetCommand.d.ts +2 -2
  161. package/dist-types/ts3.4/commands/UpdateEventActionCommand.d.ts +35 -0
  162. package/{dist/types → dist-types}/ts3.4/commands/UpdateRevisionCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  164. package/{dist/types → dist-types}/ts3.4/index.d.ts +6 -0
  165. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  166. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +324 -11
  167. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  168. package/{dist/types → dist-types}/ts3.4/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
  169. package/{dist/types → dist-types}/ts3.4/pagination/ListDataSetsPaginator.d.ts +1 -1
  170. package/dist-types/ts3.4/pagination/ListEventActionsPaginator.d.ts +4 -0
  171. package/{dist/types → dist-types}/ts3.4/pagination/ListJobsPaginator.d.ts +1 -1
  172. package/{dist/types → dist-types}/ts3.4/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
  173. package/{dist/types → dist-types/ts3.4}/protocols/Aws_restJson1.d.ts +83 -68
  174. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  175. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  176. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  177. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  178. package/package.json +52 -49
  179. package/DataExchange.ts +0 -708
  180. package/DataExchangeClient.ts +0 -307
  181. package/commands/CancelJobCommand.ts +0 -94
  182. package/commands/CreateDataSetCommand.ts +0 -94
  183. package/commands/CreateJobCommand.ts +0 -94
  184. package/commands/CreateRevisionCommand.ts +0 -94
  185. package/commands/DeleteAssetCommand.ts +0 -94
  186. package/commands/DeleteDataSetCommand.ts +0 -94
  187. package/commands/DeleteRevisionCommand.ts +0 -94
  188. package/commands/GetAssetCommand.ts +0 -94
  189. package/commands/GetDataSetCommand.ts +0 -94
  190. package/commands/GetJobCommand.ts +0 -87
  191. package/commands/GetRevisionCommand.ts +0 -94
  192. package/commands/ListDataSetRevisionsCommand.ts +0 -94
  193. package/commands/ListDataSetsCommand.ts +0 -94
  194. package/commands/ListJobsCommand.ts +0 -94
  195. package/commands/ListRevisionAssetsCommand.ts +0 -94
  196. package/commands/ListTagsForResourceCommand.ts +0 -94
  197. package/commands/StartJobCommand.ts +0 -94
  198. package/commands/TagResourceCommand.ts +0 -94
  199. package/commands/UntagResourceCommand.ts +0 -94
  200. package/commands/UpdateAssetCommand.ts +0 -94
  201. package/commands/UpdateDataSetCommand.ts +0 -94
  202. package/commands/UpdateRevisionCommand.ts +0 -94
  203. package/dist/cjs/DataExchange.js.map +0 -1
  204. package/dist/cjs/DataExchangeClient.js.map +0 -1
  205. package/dist/cjs/commands/CancelJobCommand.js.map +0 -1
  206. package/dist/cjs/commands/CreateDataSetCommand.js.map +0 -1
  207. package/dist/cjs/commands/CreateJobCommand.js.map +0 -1
  208. package/dist/cjs/commands/CreateRevisionCommand.js.map +0 -1
  209. package/dist/cjs/commands/DeleteAssetCommand.js.map +0 -1
  210. package/dist/cjs/commands/DeleteDataSetCommand.js.map +0 -1
  211. package/dist/cjs/commands/DeleteRevisionCommand.js.map +0 -1
  212. package/dist/cjs/commands/GetAssetCommand.js.map +0 -1
  213. package/dist/cjs/commands/GetDataSetCommand.js.map +0 -1
  214. package/dist/cjs/commands/GetJobCommand.js.map +0 -1
  215. package/dist/cjs/commands/GetRevisionCommand.js.map +0 -1
  216. package/dist/cjs/commands/ListDataSetRevisionsCommand.js.map +0 -1
  217. package/dist/cjs/commands/ListDataSetsCommand.js.map +0 -1
  218. package/dist/cjs/commands/ListJobsCommand.js.map +0 -1
  219. package/dist/cjs/commands/ListRevisionAssetsCommand.js.map +0 -1
  220. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  221. package/dist/cjs/commands/StartJobCommand.js.map +0 -1
  222. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  223. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  224. package/dist/cjs/commands/UpdateAssetCommand.js.map +0 -1
  225. package/dist/cjs/commands/UpdateDataSetCommand.js.map +0 -1
  226. package/dist/cjs/commands/UpdateRevisionCommand.js.map +0 -1
  227. package/dist/cjs/endpoints.js.map +0 -1
  228. package/dist/cjs/index.js.map +0 -1
  229. package/dist/cjs/models/index.js.map +0 -1
  230. package/dist/cjs/models/models_0.js.map +0 -1
  231. package/dist/cjs/package.json +0 -91
  232. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  233. package/dist/cjs/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
  234. package/dist/cjs/pagination/ListDataSetsPaginator.js.map +0 -1
  235. package/dist/cjs/pagination/ListJobsPaginator.js.map +0 -1
  236. package/dist/cjs/pagination/ListRevisionAssetsPaginator.js.map +0 -1
  237. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  238. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  239. package/dist/cjs/runtimeConfig.js.map +0 -1
  240. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  241. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  242. package/dist/es/DataExchange.js.map +0 -1
  243. package/dist/es/DataExchangeClient.js.map +0 -1
  244. package/dist/es/commands/CancelJobCommand.js.map +0 -1
  245. package/dist/es/commands/CreateDataSetCommand.js.map +0 -1
  246. package/dist/es/commands/CreateJobCommand.js.map +0 -1
  247. package/dist/es/commands/CreateRevisionCommand.js.map +0 -1
  248. package/dist/es/commands/DeleteAssetCommand.js.map +0 -1
  249. package/dist/es/commands/DeleteDataSetCommand.js.map +0 -1
  250. package/dist/es/commands/DeleteRevisionCommand.js.map +0 -1
  251. package/dist/es/commands/GetAssetCommand.js.map +0 -1
  252. package/dist/es/commands/GetDataSetCommand.js.map +0 -1
  253. package/dist/es/commands/GetJobCommand.js.map +0 -1
  254. package/dist/es/commands/GetRevisionCommand.js.map +0 -1
  255. package/dist/es/commands/ListDataSetRevisionsCommand.js.map +0 -1
  256. package/dist/es/commands/ListDataSetsCommand.js.map +0 -1
  257. package/dist/es/commands/ListJobsCommand.js.map +0 -1
  258. package/dist/es/commands/ListRevisionAssetsCommand.js.map +0 -1
  259. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  260. package/dist/es/commands/StartJobCommand.js.map +0 -1
  261. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  262. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  263. package/dist/es/commands/UpdateAssetCommand.js.map +0 -1
  264. package/dist/es/commands/UpdateDataSetCommand.js.map +0 -1
  265. package/dist/es/commands/UpdateRevisionCommand.js.map +0 -1
  266. package/dist/es/endpoints.js.map +0 -1
  267. package/dist/es/index.js.map +0 -1
  268. package/dist/es/models/index.js +0 -2
  269. package/dist/es/models/index.js.map +0 -1
  270. package/dist/es/models/models_0.js.map +0 -1
  271. package/dist/es/package.json +0 -91
  272. package/dist/es/pagination/Interfaces.js +0 -2
  273. package/dist/es/pagination/Interfaces.js.map +0 -1
  274. package/dist/es/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
  275. package/dist/es/pagination/ListDataSetsPaginator.js.map +0 -1
  276. package/dist/es/pagination/ListJobsPaginator.js.map +0 -1
  277. package/dist/es/pagination/ListRevisionAssetsPaginator.js.map +0 -1
  278. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  279. package/dist/es/runtimeConfig.browser.js.map +0 -1
  280. package/dist/es/runtimeConfig.js.map +0 -1
  281. package/dist/es/runtimeConfig.native.js.map +0 -1
  282. package/dist/es/runtimeConfig.shared.js.map +0 -1
  283. package/endpoints.ts +0 -57
  284. package/index.ts +0 -30
  285. package/jest.config.js +0 -4
  286. package/models/models_0.ts +0 -2351
  287. package/pagination/Interfaces.ts +0 -7
  288. package/pagination/ListDataSetRevisionsPaginator.ts +0 -58
  289. package/pagination/ListDataSetsPaginator.ts +0 -58
  290. package/pagination/ListJobsPaginator.ts +0 -54
  291. package/pagination/ListRevisionAssetsPaginator.ts +0 -58
  292. package/protocols/Aws_restJson1.ts +0 -3750
  293. package/runtimeConfig.browser.ts +0 -40
  294. package/runtimeConfig.native.ts +0 -16
  295. package/runtimeConfig.shared.ts +0 -16
  296. package/runtimeConfig.ts +0 -45
  297. package/tsconfig.es.json +0 -12
  298. package/tsconfig.json +0 -32
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,18 +1,21 @@
1
1
  import { __extends } from "tslib";
2
- import { DataExchangeClient } from "./DataExchangeClient";
3
2
  import { CancelJobCommand } from "./commands/CancelJobCommand";
4
3
  import { CreateDataSetCommand, } from "./commands/CreateDataSetCommand";
4
+ import { CreateEventActionCommand, } from "./commands/CreateEventActionCommand";
5
5
  import { CreateJobCommand } from "./commands/CreateJobCommand";
6
6
  import { CreateRevisionCommand, } from "./commands/CreateRevisionCommand";
7
7
  import { DeleteAssetCommand } from "./commands/DeleteAssetCommand";
8
8
  import { DeleteDataSetCommand, } from "./commands/DeleteDataSetCommand";
9
+ import { DeleteEventActionCommand, } from "./commands/DeleteEventActionCommand";
9
10
  import { DeleteRevisionCommand, } from "./commands/DeleteRevisionCommand";
10
11
  import { GetAssetCommand } from "./commands/GetAssetCommand";
11
12
  import { GetDataSetCommand } from "./commands/GetDataSetCommand";
13
+ import { GetEventActionCommand, } from "./commands/GetEventActionCommand";
12
14
  import { GetJobCommand } from "./commands/GetJobCommand";
13
15
  import { GetRevisionCommand } from "./commands/GetRevisionCommand";
14
16
  import { ListDataSetRevisionsCommand, } from "./commands/ListDataSetRevisionsCommand";
15
17
  import { ListDataSetsCommand, } from "./commands/ListDataSetsCommand";
18
+ import { ListEventActionsCommand, } from "./commands/ListEventActionsCommand";
16
19
  import { ListJobsCommand } from "./commands/ListJobsCommand";
17
20
  import { ListRevisionAssetsCommand, } from "./commands/ListRevisionAssetsCommand";
18
21
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
@@ -21,11 +24,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
21
24
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
22
25
  import { UpdateAssetCommand } from "./commands/UpdateAssetCommand";
23
26
  import { UpdateDataSetCommand, } from "./commands/UpdateDataSetCommand";
27
+ import { UpdateEventActionCommand, } from "./commands/UpdateEventActionCommand";
24
28
  import { UpdateRevisionCommand, } from "./commands/UpdateRevisionCommand";
25
- /**
26
- * <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.</p><p>As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.</p><p>As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.</p><p>A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.</p>
27
- */
28
- var DataExchange = /** @class */ (function (_super) {
29
+ import { DataExchangeClient } from "./DataExchangeClient";
30
+ var DataExchange = (function (_super) {
29
31
  __extends(DataExchange, _super);
30
32
  function DataExchange() {
31
33
  return _super !== null && _super.apply(this, arguments) || this;
@@ -58,6 +60,20 @@ var DataExchange = /** @class */ (function (_super) {
58
60
  return this.send(command, optionsOrCb);
59
61
  }
60
62
  };
63
+ DataExchange.prototype.createEventAction = function (args, optionsOrCb, cb) {
64
+ var command = new CreateEventActionCommand(args);
65
+ if (typeof optionsOrCb === "function") {
66
+ this.send(command, optionsOrCb);
67
+ }
68
+ else if (typeof cb === "function") {
69
+ if (typeof optionsOrCb !== "object")
70
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
71
+ this.send(command, optionsOrCb || {}, cb);
72
+ }
73
+ else {
74
+ return this.send(command, optionsOrCb);
75
+ }
76
+ };
61
77
  DataExchange.prototype.createJob = function (args, optionsOrCb, cb) {
62
78
  var command = new CreateJobCommand(args);
63
79
  if (typeof optionsOrCb === "function") {
@@ -114,6 +130,20 @@ var DataExchange = /** @class */ (function (_super) {
114
130
  return this.send(command, optionsOrCb);
115
131
  }
116
132
  };
133
+ DataExchange.prototype.deleteEventAction = function (args, optionsOrCb, cb) {
134
+ var command = new DeleteEventActionCommand(args);
135
+ if (typeof optionsOrCb === "function") {
136
+ this.send(command, optionsOrCb);
137
+ }
138
+ else if (typeof cb === "function") {
139
+ if (typeof optionsOrCb !== "object")
140
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
141
+ this.send(command, optionsOrCb || {}, cb);
142
+ }
143
+ else {
144
+ return this.send(command, optionsOrCb);
145
+ }
146
+ };
117
147
  DataExchange.prototype.deleteRevision = function (args, optionsOrCb, cb) {
118
148
  var command = new DeleteRevisionCommand(args);
119
149
  if (typeof optionsOrCb === "function") {
@@ -156,6 +186,20 @@ var DataExchange = /** @class */ (function (_super) {
156
186
  return this.send(command, optionsOrCb);
157
187
  }
158
188
  };
189
+ DataExchange.prototype.getEventAction = function (args, optionsOrCb, cb) {
190
+ var command = new GetEventActionCommand(args);
191
+ if (typeof optionsOrCb === "function") {
192
+ this.send(command, optionsOrCb);
193
+ }
194
+ else if (typeof cb === "function") {
195
+ if (typeof optionsOrCb !== "object")
196
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
197
+ this.send(command, optionsOrCb || {}, cb);
198
+ }
199
+ else {
200
+ return this.send(command, optionsOrCb);
201
+ }
202
+ };
159
203
  DataExchange.prototype.getJob = function (args, optionsOrCb, cb) {
160
204
  var command = new GetJobCommand(args);
161
205
  if (typeof optionsOrCb === "function") {
@@ -212,6 +256,20 @@ var DataExchange = /** @class */ (function (_super) {
212
256
  return this.send(command, optionsOrCb);
213
257
  }
214
258
  };
259
+ DataExchange.prototype.listEventActions = function (args, optionsOrCb, cb) {
260
+ var command = new ListEventActionsCommand(args);
261
+ if (typeof optionsOrCb === "function") {
262
+ this.send(command, optionsOrCb);
263
+ }
264
+ else if (typeof cb === "function") {
265
+ if (typeof optionsOrCb !== "object")
266
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
267
+ this.send(command, optionsOrCb || {}, cb);
268
+ }
269
+ else {
270
+ return this.send(command, optionsOrCb);
271
+ }
272
+ };
215
273
  DataExchange.prototype.listJobs = function (args, optionsOrCb, cb) {
216
274
  var command = new ListJobsCommand(args);
217
275
  if (typeof optionsOrCb === "function") {
@@ -324,6 +382,20 @@ var DataExchange = /** @class */ (function (_super) {
324
382
  return this.send(command, optionsOrCb);
325
383
  }
326
384
  };
385
+ DataExchange.prototype.updateEventAction = function (args, optionsOrCb, cb) {
386
+ var command = new UpdateEventActionCommand(args);
387
+ if (typeof optionsOrCb === "function") {
388
+ this.send(command, optionsOrCb);
389
+ }
390
+ else if (typeof cb === "function") {
391
+ if (typeof optionsOrCb !== "object")
392
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
393
+ this.send(command, optionsOrCb || {}, cb);
394
+ }
395
+ else {
396
+ return this.send(command, optionsOrCb);
397
+ }
398
+ };
327
399
  DataExchange.prototype.updateRevision = function (args, optionsOrCb, cb) {
328
400
  var command = new UpdateRevisionCommand(args);
329
401
  if (typeof optionsOrCb === "function") {
@@ -341,4 +413,3 @@ var DataExchange = /** @class */ (function (_super) {
341
413
  return DataExchange;
342
414
  }(DataExchangeClient));
343
415
  export { DataExchange };
344
- //# sourceMappingURL=DataExchange.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,10 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.</p><p>As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.</p><p>As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.</p><p>A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.</p>
13
- */
14
- var DataExchangeClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var DataExchangeClient = (function (_super) {
15
12
  __extends(DataExchangeClient, _super);
16
13
  function DataExchangeClient(configuration) {
17
14
  var _this = this;
@@ -32,15 +29,9 @@ var DataExchangeClient = /** @class */ (function (_super) {
32
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
33
30
  return _this;
34
31
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
32
  DataExchangeClient.prototype.destroy = function () {
41
33
  _super.prototype.destroy.call(this);
42
34
  };
43
35
  return DataExchangeClient;
44
36
  }(__Client));
45
37
  export { DataExchangeClient };
46
- //# sourceMappingURL=DataExchangeClient.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CancelJobRequest } from "../models/models_0";
3
- import { deserializeAws_restJson1CancelJobCommand, serializeAws_restJson1CancelJobCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataExchangeClient, CancelJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
12
- * // const { DataExchangeClient, CancelJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
13
- * const client = new DataExchangeClient(config);
14
- * const command = new CancelJobCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CancelJobCommandInput} for command's `input` shape.
19
- * @see {@link CancelJobCommandOutput} for command's `response` shape.
20
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CancelJobCommand = /** @class */ (function (_super) {
4
+ import { CancelJobRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1CancelJobCommand, serializeAws_restJson1CancelJobCommand, } from "../protocols/Aws_restJson1";
6
+ var CancelJobCommand = (function (_super) {
24
7
  __extends(CancelJobCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CancelJobCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CancelJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CancelJobCommand = /** @class */ (function (_super) {
62
37
  return CancelJobCommand;
63
38
  }($Command));
64
39
  export { CancelJobCommand };
65
- //# sourceMappingURL=CancelJobCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateDataSetRequest, CreateDataSetResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateDataSetCommand, serializeAws_restJson1CreateDataSetCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>This operation creates a data set.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataExchangeClient, CreateDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
12
- * // const { DataExchangeClient, CreateDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
13
- * const client = new DataExchangeClient(config);
14
- * const command = new CreateDataSetCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateDataSetCommandInput} for command's `input` shape.
19
- * @see {@link CreateDataSetCommandOutput} for command's `response` shape.
20
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateDataSetCommand = /** @class */ (function (_super) {
4
+ import { CreateDataSetRequest, CreateDataSetResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateDataSetCommand, serializeAws_restJson1CreateDataSetCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateDataSetCommand = (function (_super) {
24
7
  __extends(CreateDataSetCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateDataSetCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateDataSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateDataSetCommand = /** @class */ (function (_super) {
62
37
  return CreateDataSetCommand;
63
38
  }($Command));
64
39
  export { CreateDataSetCommand };
65
- //# sourceMappingURL=CreateDataSetCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateEventActionRequest, CreateEventActionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateEventActionCommand, serializeAws_restJson1CreateEventActionCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateEventActionCommand = (function (_super) {
7
+ __extends(CreateEventActionCommand, _super);
8
+ function CreateEventActionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateEventActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "CreateEventActionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateEventActionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateEventActionResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateEventActionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateEventActionCommand(input, context);
33
+ };
34
+ CreateEventActionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateEventActionCommand(output, context);
36
+ };
37
+ return CreateEventActionCommand;
38
+ }($Command));
39
+ export { CreateEventActionCommand };
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateJobRequest, CreateJobResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateJobCommand, serializeAws_restJson1CreateJobCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>This operation creates a job.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataExchangeClient, CreateJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
12
- * // const { DataExchangeClient, CreateJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
13
- * const client = new DataExchangeClient(config);
14
- * const command = new CreateJobCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateJobCommandInput} for command's `input` shape.
19
- * @see {@link CreateJobCommandOutput} for command's `response` shape.
20
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateJobCommand = /** @class */ (function (_super) {
4
+ import { CreateJobRequest, CreateJobResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateJobCommand, serializeAws_restJson1CreateJobCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateJobCommand = (function (_super) {
24
7
  __extends(CreateJobCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateJobCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateJobCommand = /** @class */ (function (_super) {
62
37
  return CreateJobCommand;
63
38
  }($Command));
64
39
  export { CreateJobCommand };
65
- //# sourceMappingURL=CreateJobCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateRevisionRequest, CreateRevisionResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateRevisionCommand, serializeAws_restJson1CreateRevisionCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>This operation creates a revision for a data set.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataExchangeClient, CreateRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
12
- * // const { DataExchangeClient, CreateRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
13
- * const client = new DataExchangeClient(config);
14
- * const command = new CreateRevisionCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateRevisionCommandInput} for command's `input` shape.
19
- * @see {@link CreateRevisionCommandOutput} for command's `response` shape.
20
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateRevisionCommand = /** @class */ (function (_super) {
4
+ import { CreateRevisionRequest, CreateRevisionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateRevisionCommand, serializeAws_restJson1CreateRevisionCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateRevisionCommand = (function (_super) {
24
7
  __extends(CreateRevisionCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateRevisionCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateRevisionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateRevisionCommand = /** @class */ (function (_super) {
62
37
  return CreateRevisionCommand;
63
38
  }($Command));
64
39
  export { CreateRevisionCommand };
65
- //# sourceMappingURL=CreateRevisionCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteAssetRequest } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteAssetCommand, serializeAws_restJson1DeleteAssetCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>This operation deletes an asset.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataExchangeClient, DeleteAssetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
12
- * // const { DataExchangeClient, DeleteAssetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
13
- * const client = new DataExchangeClient(config);
14
- * const command = new DeleteAssetCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteAssetCommandInput} for command's `input` shape.
19
- * @see {@link DeleteAssetCommandOutput} for command's `response` shape.
20
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteAssetCommand = /** @class */ (function (_super) {
4
+ import { DeleteAssetRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteAssetCommand, serializeAws_restJson1DeleteAssetCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteAssetCommand = (function (_super) {
24
7
  __extends(DeleteAssetCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteAssetCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteAssetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteAssetCommand = /** @class */ (function (_super) {
62
37
  return DeleteAssetCommand;
63
38
  }($Command));
64
39
  export { DeleteAssetCommand };
65
- //# sourceMappingURL=DeleteAssetCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteDataSetRequest } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteDataSetCommand, serializeAws_restJson1DeleteDataSetCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>This operation deletes a data set.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DataExchangeClient, DeleteDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
12
- * // const { DataExchangeClient, DeleteDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
13
- * const client = new DataExchangeClient(config);
14
- * const command = new DeleteDataSetCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteDataSetCommandInput} for command's `input` shape.
19
- * @see {@link DeleteDataSetCommandOutput} for command's `response` shape.
20
- * @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteDataSetCommand = /** @class */ (function (_super) {
4
+ import { DeleteDataSetRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteDataSetCommand, serializeAws_restJson1DeleteDataSetCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteDataSetCommand = (function (_super) {
24
7
  __extends(DeleteDataSetCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteDataSetCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteDataSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteDataSetCommand = /** @class */ (function (_super) {
62
37
  return DeleteDataSetCommand;
63
38
  }($Command));
64
39
  export { DeleteDataSetCommand };
65
- //# sourceMappingURL=DeleteDataSetCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteEventActionRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteEventActionCommand, serializeAws_restJson1DeleteEventActionCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteEventActionCommand = (function (_super) {
7
+ __extends(DeleteEventActionCommand, _super);
8
+ function DeleteEventActionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteEventActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "DeleteEventActionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteEventActionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteEventActionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteEventActionCommand(input, context);
33
+ };
34
+ DeleteEventActionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteEventActionCommand(output, context);
36
+ };
37
+ return DeleteEventActionCommand;
38
+ }($Command));
39
+ export { DeleteEventActionCommand };