@aws-sdk/client-cloudwatch-events 3.34.0 → 3.37.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 (497) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CloudWatchEvents.js +0 -24
  3. package/dist-cjs/CloudWatchEventsClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/ActivateEventSourceCommand.js +2 -28
  5. package/{dist/cjs → dist-cjs}/commands/CancelReplayCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateApiDestinationCommand.js +2 -28
  7. package/{dist/cjs → dist-cjs}/commands/CreateArchiveCommand.js +2 -31
  8. package/{dist/cjs → dist-cjs}/commands/CreateConnectionCommand.js +2 -28
  9. package/{dist/cjs → dist-cjs}/commands/CreateEventBusCommand.js +2 -29
  10. package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +36 -0
  11. package/{dist/cjs → dist-cjs}/commands/DeactivateEventSourceCommand.js +2 -31
  12. package/{dist/cjs → dist-cjs}/commands/DeauthorizeConnectionCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/DeleteApiDestinationCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/DeleteArchiveCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DeleteConnectionCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/DeleteEventBusCommand.js +2 -28
  17. package/{dist/cjs → dist-cjs}/commands/DeletePartnerEventSourceCommand.js +2 -31
  18. package/dist-cjs/commands/DeleteRuleCommand.js +36 -0
  19. package/{dist/cjs → dist-cjs}/commands/DescribeApiDestinationCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DescribeArchiveCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/DescribeConnectionCommand.js +2 -27
  22. package/dist-cjs/commands/DescribeEventBusCommand.js +36 -0
  23. package/{dist/cjs → dist-cjs}/commands/DescribeEventSourceCommand.js +2 -28
  24. package/{dist/cjs → dist-cjs}/commands/DescribePartnerEventSourceCommand.js +2 -30
  25. package/dist-cjs/commands/DescribeReplayCommand.js +36 -0
  26. package/{dist/cjs → dist-cjs}/commands/DescribeRuleCommand.js +2 -29
  27. package/{dist/cjs → dist-cjs}/commands/DisableRuleCommand.js +2 -31
  28. package/{dist/cjs → dist-cjs}/commands/EnableRuleCommand.js +2 -30
  29. package/{dist/cjs → dist-cjs}/commands/ListApiDestinationsCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/ListArchivesCommand.js +2 -28
  31. package/{dist/cjs → dist-cjs}/commands/ListConnectionsCommand.js +2 -27
  32. package/{dist/cjs → dist-cjs}/commands/ListEventBusesCommand.js +2 -28
  33. package/{dist/cjs → dist-cjs}/commands/ListEventSourcesCommand.js +2 -28
  34. package/{dist/cjs → dist-cjs}/commands/ListPartnerEventSourceAccountsCommand.js +2 -29
  35. package/{dist/cjs → dist-cjs}/commands/ListPartnerEventSourcesCommand.js +2 -28
  36. package/{dist/cjs → dist-cjs}/commands/ListReplaysCommand.js +2 -28
  37. package/{dist/cjs → dist-cjs}/commands/ListRuleNamesByTargetCommand.js +2 -28
  38. package/{dist/cjs → dist-cjs}/commands/ListRulesCommand.js +2 -31
  39. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  40. package/{dist/cjs → dist-cjs}/commands/ListTargetsByRuleCommand.js +2 -27
  41. package/{dist/cjs → dist-cjs}/commands/PutEventsCommand.js +2 -27
  42. package/{dist/cjs → dist-cjs}/commands/PutPartnerEventsCommand.js +2 -28
  43. package/dist-cjs/commands/PutPermissionCommand.js +36 -0
  44. package/dist-cjs/commands/PutRuleCommand.js +36 -0
  45. package/dist-cjs/commands/PutTargetsCommand.js +36 -0
  46. package/{dist/cjs → dist-cjs}/commands/RemovePermissionCommand.js +2 -30
  47. package/{dist/cjs → dist-cjs}/commands/RemoveTargetsCommand.js +2 -35
  48. package/dist-cjs/commands/StartReplayCommand.js +36 -0
  49. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  50. package/{dist/cjs → dist-cjs}/commands/TestEventPatternCommand.js +2 -31
  51. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
  52. package/{dist/cjs → dist-cjs}/commands/UpdateApiDestinationCommand.js +2 -27
  53. package/{dist/cjs → dist-cjs}/commands/UpdateArchiveCommand.js +2 -27
  54. package/{dist/cjs → dist-cjs}/commands/UpdateConnectionCommand.js +2 -27
  55. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  56. package/{dist/cjs → dist-cjs}/index.js +0 -1
  57. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  58. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -487
  59. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  60. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  61. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  62. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  63. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  64. package/{dist/es → dist-es}/CloudWatchEvents.js +0 -1
  65. package/{dist/es → dist-es}/CloudWatchEventsClient.js +1 -2
  66. package/{dist/es → dist-es}/commands/ActivateEventSourceCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/CancelReplayCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/CreateApiDestinationCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/CreateArchiveCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/CreateConnectionCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/CreateEventBusCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/CreatePartnerEventSourceCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/DeactivateEventSourceCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/DeauthorizeConnectionCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/DeleteApiDestinationCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/DeleteArchiveCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/DeleteConnectionCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/DeleteEventBusCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/DeletePartnerEventSourceCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/DeleteRuleCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/DescribeApiDestinationCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/DescribeArchiveCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/DescribeConnectionCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/DescribeEventBusCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/DescribeEventSourceCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/DescribePartnerEventSourceCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/DescribeReplayCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/DescribeRuleCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/DisableRuleCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/EnableRuleCommand.js +2 -3
  91. package/{dist/es → dist-es}/commands/ListApiDestinationsCommand.js +2 -3
  92. package/{dist/es → dist-es}/commands/ListArchivesCommand.js +2 -3
  93. package/{dist/es → dist-es}/commands/ListConnectionsCommand.js +2 -3
  94. package/{dist/es → dist-es}/commands/ListEventBusesCommand.js +2 -3
  95. package/{dist/es → dist-es}/commands/ListEventSourcesCommand.js +2 -3
  96. package/{dist/es → dist-es}/commands/ListPartnerEventSourceAccountsCommand.js +2 -3
  97. package/{dist/es → dist-es}/commands/ListPartnerEventSourcesCommand.js +2 -3
  98. package/{dist/es → dist-es}/commands/ListReplaysCommand.js +2 -3
  99. package/{dist/es → dist-es}/commands/ListRuleNamesByTargetCommand.js +2 -3
  100. package/{dist/es → dist-es}/commands/ListRulesCommand.js +2 -3
  101. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  102. package/{dist/es → dist-es}/commands/ListTargetsByRuleCommand.js +2 -3
  103. package/{dist/es → dist-es}/commands/PutEventsCommand.js +2 -3
  104. package/{dist/es → dist-es}/commands/PutPartnerEventsCommand.js +2 -3
  105. package/{dist/es → dist-es}/commands/PutPermissionCommand.js +2 -3
  106. package/{dist/es → dist-es}/commands/PutRuleCommand.js +2 -3
  107. package/{dist/es → dist-es}/commands/PutTargetsCommand.js +2 -3
  108. package/{dist/es → dist-es}/commands/RemovePermissionCommand.js +2 -3
  109. package/{dist/es → dist-es}/commands/RemoveTargetsCommand.js +2 -3
  110. package/{dist/es → dist-es}/commands/StartReplayCommand.js +2 -3
  111. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  112. package/{dist/es → dist-es}/commands/TestEventPatternCommand.js +2 -3
  113. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  114. package/{dist/es → dist-es}/commands/UpdateApiDestinationCommand.js +2 -3
  115. package/{dist/es → dist-es}/commands/UpdateArchiveCommand.js +2 -3
  116. package/{dist/es → dist-es}/commands/UpdateConnectionCommand.js +2 -3
  117. package/{dist/es → dist-es}/endpoints.js +1 -2
  118. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  119. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  120. package/{dist/es → dist-es}/models/models_0.js +0 -1
  121. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  122. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  123. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  124. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  125. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  126. package/{dist/types → dist-types}/CloudWatchEvents.d.ts +1 -1
  127. package/{dist/types → dist-types}/CloudWatchEventsClient.d.ts +8 -8
  128. package/{dist/types → dist-types}/commands/ActivateEventSourceCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/CancelReplayCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/CreateApiDestinationCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/CreateArchiveCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/CreateConnectionCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/CreateEventBusCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/CreatePartnerEventSourceCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/DeactivateEventSourceCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/DeauthorizeConnectionCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/DeleteApiDestinationCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/DeleteArchiveCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/DeleteConnectionCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/DeleteEventBusCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/DeletePartnerEventSourceCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/DeleteRuleCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/DescribeApiDestinationCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/DescribeArchiveCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/DescribeConnectionCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/DescribeEventBusCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/DescribeEventSourceCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/DescribePartnerEventSourceCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/DescribeReplayCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/DescribeRuleCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/DisableRuleCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/EnableRuleCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/ListApiDestinationsCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/ListArchivesCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/ListConnectionsCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/ListEventBusesCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/ListEventSourcesCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/commands/ListPartnerEventSourcesCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/commands/ListReplaysCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/ListRuleNamesByTargetCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/ListRulesCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/ListTargetsByRuleCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/PutEventsCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/PutPartnerEventsCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/PutPermissionCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/PutRuleCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/PutTargetsCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/RemovePermissionCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/RemoveTargetsCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/StartReplayCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/TestEventPatternCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/commands/UpdateApiDestinationCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/commands/UpdateArchiveCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/UpdateConnectionCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  180. package/{index.ts → dist-types/index.d.ts} +0 -0
  181. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  182. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  183. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  184. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  185. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
  186. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  187. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  188. package/dist-types/ts3.4/CloudWatchEvents.d.ts +260 -0
  189. package/{dist/types → dist-types}/ts3.4/CloudWatchEventsClient.d.ts +32 -117
  190. package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +17 -0
  197. package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +17 -0
  199. package/{dist/types → dist-types}/ts3.4/commands/DeleteApiDestinationCommand.d.ts +4 -22
  200. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +17 -0
  201. package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectionCommand.d.ts +4 -22
  202. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +17 -0
  205. package/{dist/types → dist-types}/ts3.4/commands/DescribeApiDestinationCommand.d.ts +4 -22
  206. package/{dist/types → dist-types}/ts3.4/commands/DescribeArchiveCommand.d.ts +4 -22
  207. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectionCommand.d.ts +4 -22
  208. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +17 -0
  209. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +17 -0
  210. package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +17 -0
  211. package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +17 -0
  212. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +17 -0
  213. package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +17 -0
  214. package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +17 -0
  215. package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +17 -0
  216. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +17 -0
  217. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +17 -0
  218. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +17 -0
  219. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +17 -0
  220. package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +17 -0
  221. package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +17 -0
  222. package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +17 -0
  223. package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +17 -0
  224. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +17 -0
  225. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  226. package/{dist/types → dist-types}/ts3.4/commands/ListTargetsByRuleCommand.d.ts +4 -22
  227. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +17 -0
  228. package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +17 -0
  229. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +17 -0
  230. package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +17 -0
  231. package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +17 -0
  232. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +17 -0
  233. package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +17 -0
  234. package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +17 -0
  235. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  236. package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +17 -0
  237. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  238. package/{dist/types → dist-types}/ts3.4/commands/UpdateApiDestinationCommand.d.ts +4 -22
  239. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +17 -0
  240. package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectionCommand.d.ts +4 -22
  241. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  242. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  243. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  244. package/dist-types/ts3.4/models/models_0.d.ts +2143 -0
  245. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  246. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  247. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
  248. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  249. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  250. package/package.json +45 -42
  251. package/CloudWatchEvents.ts +0 -2165
  252. package/CloudWatchEventsClient.ts +0 -456
  253. package/commands/ActivateEventSourceCommand.ts +0 -95
  254. package/commands/CancelReplayCommand.ts +0 -94
  255. package/commands/CreateApiDestinationCommand.ts +0 -95
  256. package/commands/CreateArchiveCommand.ts +0 -98
  257. package/commands/CreateConnectionCommand.ts +0 -95
  258. package/commands/CreateEventBusCommand.ts +0 -96
  259. package/commands/CreatePartnerEventSourceCommand.ts +0 -117
  260. package/commands/DeactivateEventSourceCommand.ts +0 -98
  261. package/commands/DeauthorizeConnectionCommand.ts +0 -95
  262. package/commands/DeleteApiDestinationCommand.ts +0 -94
  263. package/commands/DeleteArchiveCommand.ts +0 -94
  264. package/commands/DeleteConnectionCommand.ts +0 -94
  265. package/commands/DeleteEventBusCommand.ts +0 -95
  266. package/commands/DeletePartnerEventSourceCommand.ts +0 -98
  267. package/commands/DeleteRuleCommand.ts +0 -107
  268. package/commands/DescribeApiDestinationCommand.ts +0 -94
  269. package/commands/DescribeArchiveCommand.ts +0 -94
  270. package/commands/DescribeConnectionCommand.ts +0 -94
  271. package/commands/DescribeEventBusCommand.ts +0 -100
  272. package/commands/DescribeEventSourceCommand.ts +0 -95
  273. package/commands/DescribePartnerEventSourceCommand.ts +0 -100
  274. package/commands/DescribeReplayCommand.ts +0 -102
  275. package/commands/DescribeRuleCommand.ts +0 -96
  276. package/commands/DisableRuleCommand.ts +0 -98
  277. package/commands/EnableRuleCommand.ts +0 -97
  278. package/commands/ListApiDestinationsCommand.ts +0 -94
  279. package/commands/ListArchivesCommand.ts +0 -95
  280. package/commands/ListConnectionsCommand.ts +0 -94
  281. package/commands/ListEventBusesCommand.ts +0 -95
  282. package/commands/ListEventSourcesCommand.ts +0 -95
  283. package/commands/ListPartnerEventSourceAccountsCommand.ts +0 -104
  284. package/commands/ListPartnerEventSourcesCommand.ts +0 -95
  285. package/commands/ListReplaysCommand.ts +0 -95
  286. package/commands/ListRuleNamesByTargetCommand.ts +0 -95
  287. package/commands/ListRulesCommand.ts +0 -95
  288. package/commands/ListTagsForResourceCommand.ts +0 -95
  289. package/commands/ListTargetsByRuleCommand.ts +0 -94
  290. package/commands/PutEventsCommand.ts +0 -91
  291. package/commands/PutPartnerEventsCommand.ts +0 -95
  292. package/commands/PutPermissionCommand.ts +0 -113
  293. package/commands/PutRuleCommand.ts +0 -137
  294. package/commands/PutTargetsCommand.ts +0 -259
  295. package/commands/RemovePermissionCommand.ts +0 -97
  296. package/commands/RemoveTargetsCommand.ts +0 -102
  297. package/commands/StartReplayCommand.ts +0 -102
  298. package/commands/TagResourceCommand.ts +0 -104
  299. package/commands/TestEventPatternCommand.ts +0 -98
  300. package/commands/UntagResourceCommand.ts +0 -95
  301. package/commands/UpdateApiDestinationCommand.ts +0 -94
  302. package/commands/UpdateArchiveCommand.ts +0 -94
  303. package/commands/UpdateConnectionCommand.ts +0 -94
  304. package/dist/cjs/CloudWatchEvents.js.map +0 -1
  305. package/dist/cjs/CloudWatchEventsClient.js +0 -64
  306. package/dist/cjs/CloudWatchEventsClient.js.map +0 -1
  307. package/dist/cjs/commands/ActivateEventSourceCommand.js.map +0 -1
  308. package/dist/cjs/commands/CancelReplayCommand.js.map +0 -1
  309. package/dist/cjs/commands/CreateApiDestinationCommand.js.map +0 -1
  310. package/dist/cjs/commands/CreateArchiveCommand.js.map +0 -1
  311. package/dist/cjs/commands/CreateConnectionCommand.js.map +0 -1
  312. package/dist/cjs/commands/CreateEventBusCommand.js.map +0 -1
  313. package/dist/cjs/commands/CreatePartnerEventSourceCommand.js +0 -84
  314. package/dist/cjs/commands/CreatePartnerEventSourceCommand.js.map +0 -1
  315. package/dist/cjs/commands/DeactivateEventSourceCommand.js.map +0 -1
  316. package/dist/cjs/commands/DeauthorizeConnectionCommand.js.map +0 -1
  317. package/dist/cjs/commands/DeleteApiDestinationCommand.js.map +0 -1
  318. package/dist/cjs/commands/DeleteArchiveCommand.js.map +0 -1
  319. package/dist/cjs/commands/DeleteConnectionCommand.js.map +0 -1
  320. package/dist/cjs/commands/DeleteEventBusCommand.js.map +0 -1
  321. package/dist/cjs/commands/DeletePartnerEventSourceCommand.js.map +0 -1
  322. package/dist/cjs/commands/DeleteRuleCommand.js +0 -74
  323. package/dist/cjs/commands/DeleteRuleCommand.js.map +0 -1
  324. package/dist/cjs/commands/DescribeApiDestinationCommand.js.map +0 -1
  325. package/dist/cjs/commands/DescribeArchiveCommand.js.map +0 -1
  326. package/dist/cjs/commands/DescribeConnectionCommand.js.map +0 -1
  327. package/dist/cjs/commands/DescribeEventBusCommand.js +0 -67
  328. package/dist/cjs/commands/DescribeEventBusCommand.js.map +0 -1
  329. package/dist/cjs/commands/DescribeEventSourceCommand.js.map +0 -1
  330. package/dist/cjs/commands/DescribePartnerEventSourceCommand.js.map +0 -1
  331. package/dist/cjs/commands/DescribeReplayCommand.js +0 -69
  332. package/dist/cjs/commands/DescribeReplayCommand.js.map +0 -1
  333. package/dist/cjs/commands/DescribeRuleCommand.js.map +0 -1
  334. package/dist/cjs/commands/DisableRuleCommand.js.map +0 -1
  335. package/dist/cjs/commands/EnableRuleCommand.js.map +0 -1
  336. package/dist/cjs/commands/ListApiDestinationsCommand.js.map +0 -1
  337. package/dist/cjs/commands/ListArchivesCommand.js.map +0 -1
  338. package/dist/cjs/commands/ListConnectionsCommand.js.map +0 -1
  339. package/dist/cjs/commands/ListEventBusesCommand.js.map +0 -1
  340. package/dist/cjs/commands/ListEventSourcesCommand.js.map +0 -1
  341. package/dist/cjs/commands/ListPartnerEventSourceAccountsCommand.js.map +0 -1
  342. package/dist/cjs/commands/ListPartnerEventSourcesCommand.js.map +0 -1
  343. package/dist/cjs/commands/ListReplaysCommand.js.map +0 -1
  344. package/dist/cjs/commands/ListRuleNamesByTargetCommand.js.map +0 -1
  345. package/dist/cjs/commands/ListRulesCommand.js.map +0 -1
  346. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  347. package/dist/cjs/commands/ListTargetsByRuleCommand.js.map +0 -1
  348. package/dist/cjs/commands/PutEventsCommand.js.map +0 -1
  349. package/dist/cjs/commands/PutPartnerEventsCommand.js.map +0 -1
  350. package/dist/cjs/commands/PutPermissionCommand.js +0 -80
  351. package/dist/cjs/commands/PutPermissionCommand.js.map +0 -1
  352. package/dist/cjs/commands/PutRuleCommand.js +0 -107
  353. package/dist/cjs/commands/PutRuleCommand.js.map +0 -1
  354. package/dist/cjs/commands/PutTargetsCommand.js +0 -226
  355. package/dist/cjs/commands/PutTargetsCommand.js.map +0 -1
  356. package/dist/cjs/commands/RemovePermissionCommand.js.map +0 -1
  357. package/dist/cjs/commands/RemoveTargetsCommand.js.map +0 -1
  358. package/dist/cjs/commands/StartReplayCommand.js +0 -69
  359. package/dist/cjs/commands/StartReplayCommand.js.map +0 -1
  360. package/dist/cjs/commands/TagResourceCommand.js +0 -71
  361. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  362. package/dist/cjs/commands/TestEventPatternCommand.js.map +0 -1
  363. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  364. package/dist/cjs/commands/UpdateApiDestinationCommand.js.map +0 -1
  365. package/dist/cjs/commands/UpdateArchiveCommand.js.map +0 -1
  366. package/dist/cjs/commands/UpdateConnectionCommand.js.map +0 -1
  367. package/dist/cjs/endpoints.js.map +0 -1
  368. package/dist/cjs/index.js.map +0 -1
  369. package/dist/cjs/models/index.js.map +0 -1
  370. package/dist/cjs/models/models_0.js.map +0 -1
  371. package/dist/cjs/package.json +0 -91
  372. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  373. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  374. package/dist/cjs/runtimeConfig.js.map +0 -1
  375. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  376. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  377. package/dist/es/CloudWatchEvents.js.map +0 -1
  378. package/dist/es/CloudWatchEventsClient.js.map +0 -1
  379. package/dist/es/commands/ActivateEventSourceCommand.js.map +0 -1
  380. package/dist/es/commands/CancelReplayCommand.js.map +0 -1
  381. package/dist/es/commands/CreateApiDestinationCommand.js.map +0 -1
  382. package/dist/es/commands/CreateArchiveCommand.js.map +0 -1
  383. package/dist/es/commands/CreateConnectionCommand.js.map +0 -1
  384. package/dist/es/commands/CreateEventBusCommand.js.map +0 -1
  385. package/dist/es/commands/CreatePartnerEventSourceCommand.js.map +0 -1
  386. package/dist/es/commands/DeactivateEventSourceCommand.js.map +0 -1
  387. package/dist/es/commands/DeauthorizeConnectionCommand.js.map +0 -1
  388. package/dist/es/commands/DeleteApiDestinationCommand.js.map +0 -1
  389. package/dist/es/commands/DeleteArchiveCommand.js.map +0 -1
  390. package/dist/es/commands/DeleteConnectionCommand.js.map +0 -1
  391. package/dist/es/commands/DeleteEventBusCommand.js.map +0 -1
  392. package/dist/es/commands/DeletePartnerEventSourceCommand.js.map +0 -1
  393. package/dist/es/commands/DeleteRuleCommand.js.map +0 -1
  394. package/dist/es/commands/DescribeApiDestinationCommand.js.map +0 -1
  395. package/dist/es/commands/DescribeArchiveCommand.js.map +0 -1
  396. package/dist/es/commands/DescribeConnectionCommand.js.map +0 -1
  397. package/dist/es/commands/DescribeEventBusCommand.js.map +0 -1
  398. package/dist/es/commands/DescribeEventSourceCommand.js.map +0 -1
  399. package/dist/es/commands/DescribePartnerEventSourceCommand.js.map +0 -1
  400. package/dist/es/commands/DescribeReplayCommand.js.map +0 -1
  401. package/dist/es/commands/DescribeRuleCommand.js.map +0 -1
  402. package/dist/es/commands/DisableRuleCommand.js.map +0 -1
  403. package/dist/es/commands/EnableRuleCommand.js.map +0 -1
  404. package/dist/es/commands/ListApiDestinationsCommand.js.map +0 -1
  405. package/dist/es/commands/ListArchivesCommand.js.map +0 -1
  406. package/dist/es/commands/ListConnectionsCommand.js.map +0 -1
  407. package/dist/es/commands/ListEventBusesCommand.js.map +0 -1
  408. package/dist/es/commands/ListEventSourcesCommand.js.map +0 -1
  409. package/dist/es/commands/ListPartnerEventSourceAccountsCommand.js.map +0 -1
  410. package/dist/es/commands/ListPartnerEventSourcesCommand.js.map +0 -1
  411. package/dist/es/commands/ListReplaysCommand.js.map +0 -1
  412. package/dist/es/commands/ListRuleNamesByTargetCommand.js.map +0 -1
  413. package/dist/es/commands/ListRulesCommand.js.map +0 -1
  414. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  415. package/dist/es/commands/ListTargetsByRuleCommand.js.map +0 -1
  416. package/dist/es/commands/PutEventsCommand.js.map +0 -1
  417. package/dist/es/commands/PutPartnerEventsCommand.js.map +0 -1
  418. package/dist/es/commands/PutPermissionCommand.js.map +0 -1
  419. package/dist/es/commands/PutRuleCommand.js.map +0 -1
  420. package/dist/es/commands/PutTargetsCommand.js.map +0 -1
  421. package/dist/es/commands/RemovePermissionCommand.js.map +0 -1
  422. package/dist/es/commands/RemoveTargetsCommand.js.map +0 -1
  423. package/dist/es/commands/StartReplayCommand.js.map +0 -1
  424. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  425. package/dist/es/commands/TestEventPatternCommand.js.map +0 -1
  426. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  427. package/dist/es/commands/UpdateApiDestinationCommand.js.map +0 -1
  428. package/dist/es/commands/UpdateArchiveCommand.js.map +0 -1
  429. package/dist/es/commands/UpdateConnectionCommand.js.map +0 -1
  430. package/dist/es/endpoints.js.map +0 -1
  431. package/dist/es/index.js +0 -55
  432. package/dist/es/index.js.map +0 -1
  433. package/dist/es/models/index.js +0 -2
  434. package/dist/es/models/index.js.map +0 -1
  435. package/dist/es/models/models_0.js.map +0 -1
  436. package/dist/es/package.json +0 -91
  437. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  438. package/dist/es/runtimeConfig.browser.js.map +0 -1
  439. package/dist/es/runtimeConfig.js.map +0 -1
  440. package/dist/es/runtimeConfig.native.js.map +0 -1
  441. package/dist/es/runtimeConfig.shared.js.map +0 -1
  442. package/dist/types/ts3.4/CloudWatchEvents.d.ts +0 -744
  443. package/dist/types/ts3.4/commands/ActivateEventSourceCommand.d.ts +0 -36
  444. package/dist/types/ts3.4/commands/CancelReplayCommand.d.ts +0 -35
  445. package/dist/types/ts3.4/commands/CreateApiDestinationCommand.d.ts +0 -36
  446. package/dist/types/ts3.4/commands/CreateArchiveCommand.d.ts +0 -39
  447. package/dist/types/ts3.4/commands/CreateConnectionCommand.d.ts +0 -36
  448. package/dist/types/ts3.4/commands/CreateEventBusCommand.d.ts +0 -37
  449. package/dist/types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +0 -58
  450. package/dist/types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +0 -39
  451. package/dist/types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +0 -36
  452. package/dist/types/ts3.4/commands/DeleteArchiveCommand.d.ts +0 -35
  453. package/dist/types/ts3.4/commands/DeleteEventBusCommand.d.ts +0 -36
  454. package/dist/types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +0 -39
  455. package/dist/types/ts3.4/commands/DeleteRuleCommand.d.ts +0 -48
  456. package/dist/types/ts3.4/commands/DescribeEventBusCommand.d.ts +0 -41
  457. package/dist/types/ts3.4/commands/DescribeEventSourceCommand.d.ts +0 -36
  458. package/dist/types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +0 -38
  459. package/dist/types/ts3.4/commands/DescribeReplayCommand.d.ts +0 -43
  460. package/dist/types/ts3.4/commands/DescribeRuleCommand.d.ts +0 -37
  461. package/dist/types/ts3.4/commands/DisableRuleCommand.d.ts +0 -39
  462. package/dist/types/ts3.4/commands/EnableRuleCommand.d.ts +0 -38
  463. package/dist/types/ts3.4/commands/ListApiDestinationsCommand.d.ts +0 -35
  464. package/dist/types/ts3.4/commands/ListArchivesCommand.d.ts +0 -36
  465. package/dist/types/ts3.4/commands/ListConnectionsCommand.d.ts +0 -35
  466. package/dist/types/ts3.4/commands/ListEventBusesCommand.d.ts +0 -36
  467. package/dist/types/ts3.4/commands/ListEventSourcesCommand.d.ts +0 -36
  468. package/dist/types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +0 -37
  469. package/dist/types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +0 -36
  470. package/dist/types/ts3.4/commands/ListReplaysCommand.d.ts +0 -36
  471. package/dist/types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +0 -36
  472. package/dist/types/ts3.4/commands/ListRulesCommand.d.ts +0 -39
  473. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  474. package/dist/types/ts3.4/commands/PutEventsCommand.d.ts +0 -35
  475. package/dist/types/ts3.4/commands/PutPartnerEventsCommand.d.ts +0 -36
  476. package/dist/types/ts3.4/commands/PutPermissionCommand.d.ts +0 -54
  477. package/dist/types/ts3.4/commands/PutRuleCommand.d.ts +0 -81
  478. package/dist/types/ts3.4/commands/PutTargetsCommand.d.ts +0 -200
  479. package/dist/types/ts3.4/commands/RemovePermissionCommand.d.ts +0 -38
  480. package/dist/types/ts3.4/commands/RemoveTargetsCommand.d.ts +0 -43
  481. package/dist/types/ts3.4/commands/StartReplayCommand.d.ts +0 -43
  482. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -45
  483. package/dist/types/ts3.4/commands/TestEventPatternCommand.d.ts +0 -39
  484. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
  485. package/dist/types/ts3.4/commands/UpdateArchiveCommand.d.ts +0 -35
  486. package/dist/types/ts3.4/models/models_0.d.ts +0 -4039
  487. package/endpoints.ts +0 -86
  488. package/jest.config.js +0 -4
  489. package/models/models_0.ts +0 -5036
  490. package/protocols/Aws_json1_1.ts +0 -7735
  491. package/runtimeConfig.browser.ts +0 -40
  492. package/runtimeConfig.native.ts +0 -16
  493. package/runtimeConfig.shared.ts +0 -16
  494. package/runtimeConfig.ts +0 -45
  495. package/tsconfig.es.json +0 -10
  496. package/tsconfig.json +0 -31
  497. package/tsconfig.types.json +0 -8
@@ -1,5036 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- export interface ActivateEventSourceRequest {
4
- /**
5
- * <p>The name of the partner event source to activate.</p>
6
- */
7
- Name: string | undefined;
8
- }
9
-
10
- export namespace ActivateEventSourceRequest {
11
- /**
12
- * @internal
13
- */
14
- export const filterSensitiveLog = (obj: ActivateEventSourceRequest): any => ({
15
- ...obj,
16
- });
17
- }
18
-
19
- /**
20
- * <p>There is concurrent modification on a rule, target, archive, or replay.</p>
21
- */
22
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
23
- name: "ConcurrentModificationException";
24
- $fault: "client";
25
- message?: string;
26
- }
27
-
28
- export namespace ConcurrentModificationException {
29
- /**
30
- * @internal
31
- */
32
- export const filterSensitiveLog = (obj: ConcurrentModificationException): any => ({
33
- ...obj,
34
- });
35
- }
36
-
37
- /**
38
- * <p>This exception occurs due to unexpected causes.</p>
39
- */
40
- export interface InternalException extends __SmithyException, $MetadataBearer {
41
- name: "InternalException";
42
- $fault: "server";
43
- message?: string;
44
- }
45
-
46
- export namespace InternalException {
47
- /**
48
- * @internal
49
- */
50
- export const filterSensitiveLog = (obj: InternalException): any => ({
51
- ...obj,
52
- });
53
- }
54
-
55
- /**
56
- * <p>The specified state is not a valid state for an event source.</p>
57
- */
58
- export interface InvalidStateException extends __SmithyException, $MetadataBearer {
59
- name: "InvalidStateException";
60
- $fault: "client";
61
- message?: string;
62
- }
63
-
64
- export namespace InvalidStateException {
65
- /**
66
- * @internal
67
- */
68
- export const filterSensitiveLog = (obj: InvalidStateException): any => ({
69
- ...obj,
70
- });
71
- }
72
-
73
- /**
74
- * <p>The operation you are attempting is not available in this region.</p>
75
- */
76
- export interface OperationDisabledException extends __SmithyException, $MetadataBearer {
77
- name: "OperationDisabledException";
78
- $fault: "client";
79
- message?: string;
80
- }
81
-
82
- export namespace OperationDisabledException {
83
- /**
84
- * @internal
85
- */
86
- export const filterSensitiveLog = (obj: OperationDisabledException): any => ({
87
- ...obj,
88
- });
89
- }
90
-
91
- /**
92
- * <p>An entity that you specified does not exist.</p>
93
- */
94
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
95
- name: "ResourceNotFoundException";
96
- $fault: "client";
97
- message?: string;
98
- }
99
-
100
- export namespace ResourceNotFoundException {
101
- /**
102
- * @internal
103
- */
104
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
105
- ...obj,
106
- });
107
- }
108
-
109
- export enum ApiDestinationState {
110
- ACTIVE = "ACTIVE",
111
- INACTIVE = "INACTIVE",
112
- }
113
-
114
- export enum ApiDestinationHttpMethod {
115
- DELETE = "DELETE",
116
- GET = "GET",
117
- HEAD = "HEAD",
118
- OPTIONS = "OPTIONS",
119
- PATCH = "PATCH",
120
- POST = "POST",
121
- PUT = "PUT",
122
- }
123
-
124
- /**
125
- * <p>Contains details about an API destination.</p>
126
- */
127
- export interface ApiDestination {
128
- /**
129
- * <p>The ARN of the API destination.</p>
130
- */
131
- ApiDestinationArn?: string;
132
-
133
- /**
134
- * <p>The name of the API destination.</p>
135
- */
136
- Name?: string;
137
-
138
- /**
139
- * <p>The state of the API destination.</p>
140
- */
141
- ApiDestinationState?: ApiDestinationState | string;
142
-
143
- /**
144
- * <p>The ARN of the connection specified for the API destination.</p>
145
- */
146
- ConnectionArn?: string;
147
-
148
- /**
149
- * <p>The URL to the endpoint for the API destination.</p>
150
- */
151
- InvocationEndpoint?: string;
152
-
153
- /**
154
- * <p>The method to use to connect to the HTTP endpoint.</p>
155
- */
156
- HttpMethod?: ApiDestinationHttpMethod | string;
157
-
158
- /**
159
- * <p>The maximum number of invocations per second to send to the HTTP endpoint.</p>
160
- */
161
- InvocationRateLimitPerSecond?: number;
162
-
163
- /**
164
- * <p>A time stamp for the time that the API destination was created.</p>
165
- */
166
- CreationTime?: Date;
167
-
168
- /**
169
- * <p>A time stamp for the time that the API destination was last modified.</p>
170
- */
171
- LastModifiedTime?: Date;
172
- }
173
-
174
- export namespace ApiDestination {
175
- /**
176
- * @internal
177
- */
178
- export const filterSensitiveLog = (obj: ApiDestination): any => ({
179
- ...obj,
180
- });
181
- }
182
-
183
- export enum ArchiveState {
184
- CREATE_FAILED = "CREATE_FAILED",
185
- CREATING = "CREATING",
186
- DISABLED = "DISABLED",
187
- ENABLED = "ENABLED",
188
- UPDATE_FAILED = "UPDATE_FAILED",
189
- UPDATING = "UPDATING",
190
- }
191
-
192
- /**
193
- * <p>An <code>Archive</code> object that contains details about an archive.</p>
194
- */
195
- export interface Archive {
196
- /**
197
- * <p>The name of the archive.</p>
198
- */
199
- ArchiveName?: string;
200
-
201
- /**
202
- * <p>The ARN of the event bus associated with the archive. Only events from this event bus are
203
- * sent to the archive.</p>
204
- */
205
- EventSourceArn?: string;
206
-
207
- /**
208
- * <p>The current state of the archive.</p>
209
- */
210
- State?: ArchiveState | string;
211
-
212
- /**
213
- * <p>A description for the reason that the archive is in the current state.</p>
214
- */
215
- StateReason?: string;
216
-
217
- /**
218
- * <p>The number of days to retain events in the archive before they are deleted.</p>
219
- */
220
- RetentionDays?: number;
221
-
222
- /**
223
- * <p>The size of the archive, in bytes.</p>
224
- */
225
- SizeBytes?: number;
226
-
227
- /**
228
- * <p>The number of events in the archive.</p>
229
- */
230
- EventCount?: number;
231
-
232
- /**
233
- * <p>The time stamp for the time that the archive was created.</p>
234
- */
235
- CreationTime?: Date;
236
- }
237
-
238
- export namespace Archive {
239
- /**
240
- * @internal
241
- */
242
- export const filterSensitiveLog = (obj: Archive): any => ({
243
- ...obj,
244
- });
245
- }
246
-
247
- export enum AssignPublicIp {
248
- DISABLED = "DISABLED",
249
- ENABLED = "ENABLED",
250
- }
251
-
252
- export interface CancelReplayRequest {
253
- /**
254
- * <p>The name of the replay to cancel.</p>
255
- */
256
- ReplayName: string | undefined;
257
- }
258
-
259
- export namespace CancelReplayRequest {
260
- /**
261
- * @internal
262
- */
263
- export const filterSensitiveLog = (obj: CancelReplayRequest): any => ({
264
- ...obj,
265
- });
266
- }
267
-
268
- export enum ReplayState {
269
- CANCELLED = "CANCELLED",
270
- CANCELLING = "CANCELLING",
271
- COMPLETED = "COMPLETED",
272
- FAILED = "FAILED",
273
- RUNNING = "RUNNING",
274
- STARTING = "STARTING",
275
- }
276
-
277
- export interface CancelReplayResponse {
278
- /**
279
- * <p>The ARN of the replay to cancel.</p>
280
- */
281
- ReplayArn?: string;
282
-
283
- /**
284
- * <p>The current state of the replay.</p>
285
- */
286
- State?: ReplayState | string;
287
-
288
- /**
289
- * <p>The reason that the replay is in the current state.</p>
290
- */
291
- StateReason?: string;
292
- }
293
-
294
- export namespace CancelReplayResponse {
295
- /**
296
- * @internal
297
- */
298
- export const filterSensitiveLog = (obj: CancelReplayResponse): any => ({
299
- ...obj,
300
- });
301
- }
302
-
303
- /**
304
- * <p>An error occurred because a replay can be canceled only when the state is Running or
305
- * Starting.</p>
306
- */
307
- export interface IllegalStatusException extends __SmithyException, $MetadataBearer {
308
- name: "IllegalStatusException";
309
- $fault: "client";
310
- message?: string;
311
- }
312
-
313
- export namespace IllegalStatusException {
314
- /**
315
- * @internal
316
- */
317
- export const filterSensitiveLog = (obj: IllegalStatusException): any => ({
318
- ...obj,
319
- });
320
- }
321
-
322
- export interface CreateApiDestinationRequest {
323
- /**
324
- * <p>The name for the API destination to create.</p>
325
- */
326
- Name: string | undefined;
327
-
328
- /**
329
- * <p>A description for the API destination to create.</p>
330
- */
331
- Description?: string;
332
-
333
- /**
334
- * <p>The ARN of the connection to use for the API destination. The destination endpoint must
335
- * support the authorization type specified for the connection.</p>
336
- */
337
- ConnectionArn: string | undefined;
338
-
339
- /**
340
- * <p>The URL to the HTTP invocation endpoint for the API destination.</p>
341
- */
342
- InvocationEndpoint: string | undefined;
343
-
344
- /**
345
- * <p>The method to use for the request to the HTTP invocation endpoint.</p>
346
- */
347
- HttpMethod: ApiDestinationHttpMethod | string | undefined;
348
-
349
- /**
350
- * <p>The maximum number of requests per second to send to the HTTP invocation endpoint.</p>
351
- */
352
- InvocationRateLimitPerSecond?: number;
353
- }
354
-
355
- export namespace CreateApiDestinationRequest {
356
- /**
357
- * @internal
358
- */
359
- export const filterSensitiveLog = (obj: CreateApiDestinationRequest): any => ({
360
- ...obj,
361
- });
362
- }
363
-
364
- export interface CreateApiDestinationResponse {
365
- /**
366
- * <p>The ARN of the API destination that was created by the request.</p>
367
- */
368
- ApiDestinationArn?: string;
369
-
370
- /**
371
- * <p>The state of the API destination that was created by the request.</p>
372
- */
373
- ApiDestinationState?: ApiDestinationState | string;
374
-
375
- /**
376
- * <p>A time stamp indicating the time that the API destination was created.</p>
377
- */
378
- CreationTime?: Date;
379
-
380
- /**
381
- * <p>A time stamp indicating the time that the API destination was last modified.</p>
382
- */
383
- LastModifiedTime?: Date;
384
- }
385
-
386
- export namespace CreateApiDestinationResponse {
387
- /**
388
- * @internal
389
- */
390
- export const filterSensitiveLog = (obj: CreateApiDestinationResponse): any => ({
391
- ...obj,
392
- });
393
- }
394
-
395
- /**
396
- * <p>The request failed because it attempted to create resource beyond the allowed service
397
- * quota.</p>
398
- */
399
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
400
- name: "LimitExceededException";
401
- $fault: "client";
402
- message?: string;
403
- }
404
-
405
- export namespace LimitExceededException {
406
- /**
407
- * @internal
408
- */
409
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
410
- ...obj,
411
- });
412
- }
413
-
414
- /**
415
- * <p>The resource you are trying to create already exists.</p>
416
- */
417
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
418
- name: "ResourceAlreadyExistsException";
419
- $fault: "client";
420
- message?: string;
421
- }
422
-
423
- export namespace ResourceAlreadyExistsException {
424
- /**
425
- * @internal
426
- */
427
- export const filterSensitiveLog = (obj: ResourceAlreadyExistsException): any => ({
428
- ...obj,
429
- });
430
- }
431
-
432
- export interface CreateArchiveRequest {
433
- /**
434
- * <p>The name for the archive to create.</p>
435
- */
436
- ArchiveName: string | undefined;
437
-
438
- /**
439
- * <p>The ARN of the event bus that sends events to the archive.</p>
440
- */
441
- EventSourceArn: string | undefined;
442
-
443
- /**
444
- * <p>A description for the archive.</p>
445
- */
446
- Description?: string;
447
-
448
- /**
449
- * <p>An event pattern to use to filter events sent to the archive.</p>
450
- */
451
- EventPattern?: string;
452
-
453
- /**
454
- * <p>The number of days to retain events for. Default value is 0. If set to 0, events are
455
- * retained indefinitely</p>
456
- */
457
- RetentionDays?: number;
458
- }
459
-
460
- export namespace CreateArchiveRequest {
461
- /**
462
- * @internal
463
- */
464
- export const filterSensitiveLog = (obj: CreateArchiveRequest): any => ({
465
- ...obj,
466
- });
467
- }
468
-
469
- export interface CreateArchiveResponse {
470
- /**
471
- * <p>The ARN of the archive that was created.</p>
472
- */
473
- ArchiveArn?: string;
474
-
475
- /**
476
- * <p>The state of the archive that was created.</p>
477
- */
478
- State?: ArchiveState | string;
479
-
480
- /**
481
- * <p>The reason that the archive is in the state.</p>
482
- */
483
- StateReason?: string;
484
-
485
- /**
486
- * <p>The time at which the archive was created.</p>
487
- */
488
- CreationTime?: Date;
489
- }
490
-
491
- export namespace CreateArchiveResponse {
492
- /**
493
- * @internal
494
- */
495
- export const filterSensitiveLog = (obj: CreateArchiveResponse): any => ({
496
- ...obj,
497
- });
498
- }
499
-
500
- /**
501
- * <p>The event pattern is not valid.</p>
502
- */
503
- export interface InvalidEventPatternException extends __SmithyException, $MetadataBearer {
504
- name: "InvalidEventPatternException";
505
- $fault: "client";
506
- message?: string;
507
- }
508
-
509
- export namespace InvalidEventPatternException {
510
- /**
511
- * @internal
512
- */
513
- export const filterSensitiveLog = (obj: InvalidEventPatternException): any => ({
514
- ...obj,
515
- });
516
- }
517
-
518
- export enum ConnectionAuthorizationType {
519
- API_KEY = "API_KEY",
520
- BASIC = "BASIC",
521
- OAUTH_CLIENT_CREDENTIALS = "OAUTH_CLIENT_CREDENTIALS",
522
- }
523
-
524
- /**
525
- * <p>Contains the API key authorization parameters for the connection.</p>
526
- */
527
- export interface CreateConnectionApiKeyAuthRequestParameters {
528
- /**
529
- * <p>The name of the API key to use for authorization.</p>
530
- */
531
- ApiKeyName: string | undefined;
532
-
533
- /**
534
- * <p>The value for the API key to use for authorization.</p>
535
- */
536
- ApiKeyValue: string | undefined;
537
- }
538
-
539
- export namespace CreateConnectionApiKeyAuthRequestParameters {
540
- /**
541
- * @internal
542
- */
543
- export const filterSensitiveLog = (obj: CreateConnectionApiKeyAuthRequestParameters): any => ({
544
- ...obj,
545
- });
546
- }
547
-
548
- /**
549
- * <p>Contains the Basic authorization parameters to use for the connection.</p>
550
- */
551
- export interface CreateConnectionBasicAuthRequestParameters {
552
- /**
553
- * <p>The user name to use for Basic authorization.</p>
554
- */
555
- Username: string | undefined;
556
-
557
- /**
558
- * <p>The password associated with the user name to use for Basic authorization.</p>
559
- */
560
- Password: string | undefined;
561
- }
562
-
563
- export namespace CreateConnectionBasicAuthRequestParameters {
564
- /**
565
- * @internal
566
- */
567
- export const filterSensitiveLog = (obj: CreateConnectionBasicAuthRequestParameters): any => ({
568
- ...obj,
569
- });
570
- }
571
-
572
- /**
573
- * <p>Additional parameter included in the body. You can include up to 100 additional body
574
- * parameters per request. An event payload cannot exceed 64 KB.</p>
575
- */
576
- export interface ConnectionBodyParameter {
577
- /**
578
- * <p>The key for the parameter.</p>
579
- */
580
- Key?: string;
581
-
582
- /**
583
- * <p>The value associated with the key.</p>
584
- */
585
- Value?: string;
586
-
587
- /**
588
- * <p>Specified whether the value is secret.</p>
589
- */
590
- IsValueSecret?: boolean;
591
- }
592
-
593
- export namespace ConnectionBodyParameter {
594
- /**
595
- * @internal
596
- */
597
- export const filterSensitiveLog = (obj: ConnectionBodyParameter): any => ({
598
- ...obj,
599
- });
600
- }
601
-
602
- /**
603
- * <p>Additional parameter included in the header. You can include up to 100 additional header
604
- * parameters per request. An event payload cannot exceed 64 KB.</p>
605
- */
606
- export interface ConnectionHeaderParameter {
607
- /**
608
- * <p>The key for the parameter.</p>
609
- */
610
- Key?: string;
611
-
612
- /**
613
- * <p>The value associated with the key.</p>
614
- */
615
- Value?: string;
616
-
617
- /**
618
- * <p>Specified whether the value is a secret.</p>
619
- */
620
- IsValueSecret?: boolean;
621
- }
622
-
623
- export namespace ConnectionHeaderParameter {
624
- /**
625
- * @internal
626
- */
627
- export const filterSensitiveLog = (obj: ConnectionHeaderParameter): any => ({
628
- ...obj,
629
- });
630
- }
631
-
632
- /**
633
- * <p>Additional query string parameter for the connection. You can include up to 100 additional
634
- * query string parameters per request. Each additional parameter counts towards the event
635
- * payload size, which cannot exceed 64 KB.</p>
636
- */
637
- export interface ConnectionQueryStringParameter {
638
- /**
639
- * <p>The key for a query string parameter.</p>
640
- */
641
- Key?: string;
642
-
643
- /**
644
- * <p>The value associated with the key for the query string parameter.</p>
645
- */
646
- Value?: string;
647
-
648
- /**
649
- * <p>Specifies whether the value is secret.</p>
650
- */
651
- IsValueSecret?: boolean;
652
- }
653
-
654
- export namespace ConnectionQueryStringParameter {
655
- /**
656
- * @internal
657
- */
658
- export const filterSensitiveLog = (obj: ConnectionQueryStringParameter): any => ({
659
- ...obj,
660
- });
661
- }
662
-
663
- /**
664
- * <p>Contains additional parameters for the connection.</p>
665
- */
666
- export interface ConnectionHttpParameters {
667
- /**
668
- * <p>Contains additional header parameters for the connection.</p>
669
- */
670
- HeaderParameters?: ConnectionHeaderParameter[];
671
-
672
- /**
673
- * <p>Contains additional query string parameters for the connection.</p>
674
- */
675
- QueryStringParameters?: ConnectionQueryStringParameter[];
676
-
677
- /**
678
- * <p>Contains additional body string parameters for the connection.</p>
679
- */
680
- BodyParameters?: ConnectionBodyParameter[];
681
- }
682
-
683
- export namespace ConnectionHttpParameters {
684
- /**
685
- * @internal
686
- */
687
- export const filterSensitiveLog = (obj: ConnectionHttpParameters): any => ({
688
- ...obj,
689
- });
690
- }
691
-
692
- /**
693
- * <p>Contains the Basic authorization parameters to use for the connection.</p>
694
- */
695
- export interface CreateConnectionOAuthClientRequestParameters {
696
- /**
697
- * <p>The client ID to use for OAuth authorization for the connection.</p>
698
- */
699
- ClientID: string | undefined;
700
-
701
- /**
702
- * <p>The client secret associated with the client ID to use for OAuth authorization for the
703
- * connection.</p>
704
- */
705
- ClientSecret: string | undefined;
706
- }
707
-
708
- export namespace CreateConnectionOAuthClientRequestParameters {
709
- /**
710
- * @internal
711
- */
712
- export const filterSensitiveLog = (obj: CreateConnectionOAuthClientRequestParameters): any => ({
713
- ...obj,
714
- });
715
- }
716
-
717
- export enum ConnectionOAuthHttpMethod {
718
- GET = "GET",
719
- POST = "POST",
720
- PUT = "PUT",
721
- }
722
-
723
- /**
724
- * <p>Contains the OAuth authorization parameters to use for the connection.</p>
725
- */
726
- export interface CreateConnectionOAuthRequestParameters {
727
- /**
728
- * <p>A <code>CreateConnectionOAuthClientRequestParameters</code> object that contains the
729
- * client parameters for OAuth authorization.</p>
730
- */
731
- ClientParameters: CreateConnectionOAuthClientRequestParameters | undefined;
732
-
733
- /**
734
- * <p>The URL to the authorization endpoint when OAuth is specified as the authorization
735
- * type.</p>
736
- */
737
- AuthorizationEndpoint: string | undefined;
738
-
739
- /**
740
- * <p>The method to use for the authorization request.</p>
741
- */
742
- HttpMethod: ConnectionOAuthHttpMethod | string | undefined;
743
-
744
- /**
745
- * <p>A <code>ConnectionHttpParameters</code> object that contains details about the additional
746
- * parameters to use for the connection.</p>
747
- */
748
- OAuthHttpParameters?: ConnectionHttpParameters;
749
- }
750
-
751
- export namespace CreateConnectionOAuthRequestParameters {
752
- /**
753
- * @internal
754
- */
755
- export const filterSensitiveLog = (obj: CreateConnectionOAuthRequestParameters): any => ({
756
- ...obj,
757
- });
758
- }
759
-
760
- /**
761
- * <p>Contains the authorization parameters for the connection.</p>
762
- */
763
- export interface CreateConnectionAuthRequestParameters {
764
- /**
765
- * <p>A <code>CreateConnectionBasicAuthRequestParameters</code> object that contains the Basic
766
- * authorization parameters to use for the connection.</p>
767
- */
768
- BasicAuthParameters?: CreateConnectionBasicAuthRequestParameters;
769
-
770
- /**
771
- * <p>A <code>CreateConnectionOAuthRequestParameters</code> object that contains the OAuth
772
- * authorization parameters to use for the connection.</p>
773
- */
774
- OAuthParameters?: CreateConnectionOAuthRequestParameters;
775
-
776
- /**
777
- * <p>A <code>CreateConnectionApiKeyAuthRequestParameters</code> object that contains the API
778
- * key authorization parameters to use for the connection.</p>
779
- */
780
- ApiKeyAuthParameters?: CreateConnectionApiKeyAuthRequestParameters;
781
-
782
- /**
783
- * <p>A <code>ConnectionHttpParameters</code> object that contains the API key authorization
784
- * parameters to use for the connection. Note that if you include additional parameters for the
785
- * target of a rule via <code>HttpParameters</code>, including query strings, the parameters
786
- * added for the connection take precedence.</p>
787
- */
788
- InvocationHttpParameters?: ConnectionHttpParameters;
789
- }
790
-
791
- export namespace CreateConnectionAuthRequestParameters {
792
- /**
793
- * @internal
794
- */
795
- export const filterSensitiveLog = (obj: CreateConnectionAuthRequestParameters): any => ({
796
- ...obj,
797
- });
798
- }
799
-
800
- export interface CreateConnectionRequest {
801
- /**
802
- * <p>The name for the connection to create.</p>
803
- */
804
- Name: string | undefined;
805
-
806
- /**
807
- * <p>A description for the connection to create.</p>
808
- */
809
- Description?: string;
810
-
811
- /**
812
- * <p>The type of authorization to use for the connection.</p>
813
- */
814
- AuthorizationType: ConnectionAuthorizationType | string | undefined;
815
-
816
- /**
817
- * <p>A <code>CreateConnectionAuthRequestParameters</code> object that contains the
818
- * authorization parameters to use to authorize with the endpoint. </p>
819
- */
820
- AuthParameters: CreateConnectionAuthRequestParameters | undefined;
821
- }
822
-
823
- export namespace CreateConnectionRequest {
824
- /**
825
- * @internal
826
- */
827
- export const filterSensitiveLog = (obj: CreateConnectionRequest): any => ({
828
- ...obj,
829
- });
830
- }
831
-
832
- export enum ConnectionState {
833
- AUTHORIZED = "AUTHORIZED",
834
- AUTHORIZING = "AUTHORIZING",
835
- CREATING = "CREATING",
836
- DEAUTHORIZED = "DEAUTHORIZED",
837
- DEAUTHORIZING = "DEAUTHORIZING",
838
- DELETING = "DELETING",
839
- UPDATING = "UPDATING",
840
- }
841
-
842
- export interface CreateConnectionResponse {
843
- /**
844
- * <p>The ARN of the connection that was created by the request.</p>
845
- */
846
- ConnectionArn?: string;
847
-
848
- /**
849
- * <p>The state of the connection that was created by the request.</p>
850
- */
851
- ConnectionState?: ConnectionState | string;
852
-
853
- /**
854
- * <p>A time stamp for the time that the connection was created.</p>
855
- */
856
- CreationTime?: Date;
857
-
858
- /**
859
- * <p>A time stamp for the time that the connection was last updated.</p>
860
- */
861
- LastModifiedTime?: Date;
862
- }
863
-
864
- export namespace CreateConnectionResponse {
865
- /**
866
- * @internal
867
- */
868
- export const filterSensitiveLog = (obj: CreateConnectionResponse): any => ({
869
- ...obj,
870
- });
871
- }
872
-
873
- /**
874
- * <p>A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses
875
- * support tagging.</p>
876
- */
877
- export interface Tag {
878
- /**
879
- * <p>A string you can use to assign a value. The combination of tag keys and values can help
880
- * you organize and categorize your resources.</p>
881
- */
882
- Key: string | undefined;
883
-
884
- /**
885
- * <p>The value for the specified tag key.</p>
886
- */
887
- Value: string | undefined;
888
- }
889
-
890
- export namespace Tag {
891
- /**
892
- * @internal
893
- */
894
- export const filterSensitiveLog = (obj: Tag): any => ({
895
- ...obj,
896
- });
897
- }
898
-
899
- export interface CreateEventBusRequest {
900
- /**
901
- * <p>The name of the new event bus. </p>
902
- * <p>Event bus names cannot contain the / character. You can't use the name
903
- * <code>default</code> for a custom event bus, as this name is already used for your account's
904
- * default event bus.</p>
905
- * <p>If this is a partner event bus, the name must exactly match the name of the partner event
906
- * source that this event bus is matched to.</p>
907
- */
908
- Name: string | undefined;
909
-
910
- /**
911
- * <p>If you are creating a partner event bus, this specifies the partner event source that the
912
- * new event bus will be matched with.</p>
913
- */
914
- EventSourceName?: string;
915
-
916
- /**
917
- * <p>Tags to associate with the event bus.</p>
918
- */
919
- Tags?: Tag[];
920
- }
921
-
922
- export namespace CreateEventBusRequest {
923
- /**
924
- * @internal
925
- */
926
- export const filterSensitiveLog = (obj: CreateEventBusRequest): any => ({
927
- ...obj,
928
- });
929
- }
930
-
931
- export interface CreateEventBusResponse {
932
- /**
933
- * <p>The ARN of the new event bus.</p>
934
- */
935
- EventBusArn?: string;
936
- }
937
-
938
- export namespace CreateEventBusResponse {
939
- /**
940
- * @internal
941
- */
942
- export const filterSensitiveLog = (obj: CreateEventBusResponse): any => ({
943
- ...obj,
944
- });
945
- }
946
-
947
- export interface CreatePartnerEventSourceRequest {
948
- /**
949
- * <p>The name of the partner event source. This name must be unique and must be in the format
950
- * <code>
951
- * <i>partner_name</i>/<i>event_namespace</i>/<i>event_name</i>
952
- * </code>.
953
- * The Amazon Web Services account that wants to use this partner event source must create a partner event bus
954
- * with a name that matches the name of the partner event source.</p>
955
- */
956
- Name: string | undefined;
957
-
958
- /**
959
- * <p>The Amazon Web Services account ID that is permitted to create a matching partner event bus for this
960
- * partner event source.</p>
961
- */
962
- Account: string | undefined;
963
- }
964
-
965
- export namespace CreatePartnerEventSourceRequest {
966
- /**
967
- * @internal
968
- */
969
- export const filterSensitiveLog = (obj: CreatePartnerEventSourceRequest): any => ({
970
- ...obj,
971
- });
972
- }
973
-
974
- export interface CreatePartnerEventSourceResponse {
975
- /**
976
- * <p>The ARN of the partner event source.</p>
977
- */
978
- EventSourceArn?: string;
979
- }
980
-
981
- export namespace CreatePartnerEventSourceResponse {
982
- /**
983
- * @internal
984
- */
985
- export const filterSensitiveLog = (obj: CreatePartnerEventSourceResponse): any => ({
986
- ...obj,
987
- });
988
- }
989
-
990
- export interface DeactivateEventSourceRequest {
991
- /**
992
- * <p>The name of the partner event source to deactivate.</p>
993
- */
994
- Name: string | undefined;
995
- }
996
-
997
- export namespace DeactivateEventSourceRequest {
998
- /**
999
- * @internal
1000
- */
1001
- export const filterSensitiveLog = (obj: DeactivateEventSourceRequest): any => ({
1002
- ...obj,
1003
- });
1004
- }
1005
-
1006
- export interface DeauthorizeConnectionRequest {
1007
- /**
1008
- * <p>The name of the connection to remove authorization from.</p>
1009
- */
1010
- Name: string | undefined;
1011
- }
1012
-
1013
- export namespace DeauthorizeConnectionRequest {
1014
- /**
1015
- * @internal
1016
- */
1017
- export const filterSensitiveLog = (obj: DeauthorizeConnectionRequest): any => ({
1018
- ...obj,
1019
- });
1020
- }
1021
-
1022
- export interface DeauthorizeConnectionResponse {
1023
- /**
1024
- * <p>The ARN of the connection that authorization was removed from.</p>
1025
- */
1026
- ConnectionArn?: string;
1027
-
1028
- /**
1029
- * <p>The state of the connection.</p>
1030
- */
1031
- ConnectionState?: ConnectionState | string;
1032
-
1033
- /**
1034
- * <p>A time stamp for the time that the connection was created.</p>
1035
- */
1036
- CreationTime?: Date;
1037
-
1038
- /**
1039
- * <p>A time stamp for the time that the connection was last updated.</p>
1040
- */
1041
- LastModifiedTime?: Date;
1042
-
1043
- /**
1044
- * <p>A time stamp for the time that the connection was last authorized.</p>
1045
- */
1046
- LastAuthorizedTime?: Date;
1047
- }
1048
-
1049
- export namespace DeauthorizeConnectionResponse {
1050
- /**
1051
- * @internal
1052
- */
1053
- export const filterSensitiveLog = (obj: DeauthorizeConnectionResponse): any => ({
1054
- ...obj,
1055
- });
1056
- }
1057
-
1058
- export interface DeleteApiDestinationRequest {
1059
- /**
1060
- * <p>The name of the destination to delete.</p>
1061
- */
1062
- Name: string | undefined;
1063
- }
1064
-
1065
- export namespace DeleteApiDestinationRequest {
1066
- /**
1067
- * @internal
1068
- */
1069
- export const filterSensitiveLog = (obj: DeleteApiDestinationRequest): any => ({
1070
- ...obj,
1071
- });
1072
- }
1073
-
1074
- export interface DeleteApiDestinationResponse {}
1075
-
1076
- export namespace DeleteApiDestinationResponse {
1077
- /**
1078
- * @internal
1079
- */
1080
- export const filterSensitiveLog = (obj: DeleteApiDestinationResponse): any => ({
1081
- ...obj,
1082
- });
1083
- }
1084
-
1085
- export interface DeleteArchiveRequest {
1086
- /**
1087
- * <p>The name of the archive to delete.</p>
1088
- */
1089
- ArchiveName: string | undefined;
1090
- }
1091
-
1092
- export namespace DeleteArchiveRequest {
1093
- /**
1094
- * @internal
1095
- */
1096
- export const filterSensitiveLog = (obj: DeleteArchiveRequest): any => ({
1097
- ...obj,
1098
- });
1099
- }
1100
-
1101
- export interface DeleteArchiveResponse {}
1102
-
1103
- export namespace DeleteArchiveResponse {
1104
- /**
1105
- * @internal
1106
- */
1107
- export const filterSensitiveLog = (obj: DeleteArchiveResponse): any => ({
1108
- ...obj,
1109
- });
1110
- }
1111
-
1112
- export interface DeleteConnectionRequest {
1113
- /**
1114
- * <p>The name of the connection to delete.</p>
1115
- */
1116
- Name: string | undefined;
1117
- }
1118
-
1119
- export namespace DeleteConnectionRequest {
1120
- /**
1121
- * @internal
1122
- */
1123
- export const filterSensitiveLog = (obj: DeleteConnectionRequest): any => ({
1124
- ...obj,
1125
- });
1126
- }
1127
-
1128
- export interface DeleteConnectionResponse {
1129
- /**
1130
- * <p>The ARN of the connection that was deleted.</p>
1131
- */
1132
- ConnectionArn?: string;
1133
-
1134
- /**
1135
- * <p>The state of the connection before it was deleted.</p>
1136
- */
1137
- ConnectionState?: ConnectionState | string;
1138
-
1139
- /**
1140
- * <p>A time stamp for the time that the connection was created.</p>
1141
- */
1142
- CreationTime?: Date;
1143
-
1144
- /**
1145
- * <p>A time stamp for the time that the connection was last modified before it was
1146
- * deleted.</p>
1147
- */
1148
- LastModifiedTime?: Date;
1149
-
1150
- /**
1151
- * <p>A time stamp for the time that the connection was last authorized before it wa
1152
- * deleted.</p>
1153
- */
1154
- LastAuthorizedTime?: Date;
1155
- }
1156
-
1157
- export namespace DeleteConnectionResponse {
1158
- /**
1159
- * @internal
1160
- */
1161
- export const filterSensitiveLog = (obj: DeleteConnectionResponse): any => ({
1162
- ...obj,
1163
- });
1164
- }
1165
-
1166
- export interface DeleteEventBusRequest {
1167
- /**
1168
- * <p>The name of the event bus to delete.</p>
1169
- */
1170
- Name: string | undefined;
1171
- }
1172
-
1173
- export namespace DeleteEventBusRequest {
1174
- /**
1175
- * @internal
1176
- */
1177
- export const filterSensitiveLog = (obj: DeleteEventBusRequest): any => ({
1178
- ...obj,
1179
- });
1180
- }
1181
-
1182
- export interface DeletePartnerEventSourceRequest {
1183
- /**
1184
- * <p>The name of the event source to delete.</p>
1185
- */
1186
- Name: string | undefined;
1187
-
1188
- /**
1189
- * <p>The Amazon Web Services account ID of the Amazon Web Services customer that the event source was created for.</p>
1190
- */
1191
- Account: string | undefined;
1192
- }
1193
-
1194
- export namespace DeletePartnerEventSourceRequest {
1195
- /**
1196
- * @internal
1197
- */
1198
- export const filterSensitiveLog = (obj: DeletePartnerEventSourceRequest): any => ({
1199
- ...obj,
1200
- });
1201
- }
1202
-
1203
- export interface DeleteRuleRequest {
1204
- /**
1205
- * <p>The name of the rule.</p>
1206
- */
1207
- Name: string | undefined;
1208
-
1209
- /**
1210
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
1211
- * event bus is used.</p>
1212
- */
1213
- EventBusName?: string;
1214
-
1215
- /**
1216
- * <p>If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
1217
- * <code>Force</code> as <code>True</code> to delete the rule. This parameter is ignored for
1218
- * rules that are not managed rules. You can check whether a rule is a managed rule by using
1219
- * <code>DescribeRule</code> or <code>ListRules</code> and checking the <code>ManagedBy</code>
1220
- * field of the response.</p>
1221
- */
1222
- Force?: boolean;
1223
- }
1224
-
1225
- export namespace DeleteRuleRequest {
1226
- /**
1227
- * @internal
1228
- */
1229
- export const filterSensitiveLog = (obj: DeleteRuleRequest): any => ({
1230
- ...obj,
1231
- });
1232
- }
1233
-
1234
- /**
1235
- * <p>This rule was created by an Amazon Web Services service on behalf of your account. It is managed by that
1236
- * service. If you see this error in response to <code>DeleteRule</code> or
1237
- * <code>RemoveTargets</code>, you can use the <code>Force</code> parameter in those calls to
1238
- * delete the rule or remove targets from the rule. You cannot modify these managed rules by
1239
- * using <code>DisableRule</code>, <code>EnableRule</code>, <code>PutTargets</code>,
1240
- * <code>PutRule</code>, <code>TagResource</code>, or <code>UntagResource</code>. </p>
1241
- */
1242
- export interface ManagedRuleException extends __SmithyException, $MetadataBearer {
1243
- name: "ManagedRuleException";
1244
- $fault: "client";
1245
- message?: string;
1246
- }
1247
-
1248
- export namespace ManagedRuleException {
1249
- /**
1250
- * @internal
1251
- */
1252
- export const filterSensitiveLog = (obj: ManagedRuleException): any => ({
1253
- ...obj,
1254
- });
1255
- }
1256
-
1257
- export interface DescribeApiDestinationRequest {
1258
- /**
1259
- * <p>The name of the API destination to retrieve.</p>
1260
- */
1261
- Name: string | undefined;
1262
- }
1263
-
1264
- export namespace DescribeApiDestinationRequest {
1265
- /**
1266
- * @internal
1267
- */
1268
- export const filterSensitiveLog = (obj: DescribeApiDestinationRequest): any => ({
1269
- ...obj,
1270
- });
1271
- }
1272
-
1273
- export interface DescribeApiDestinationResponse {
1274
- /**
1275
- * <p>The ARN of the API destination retrieved.</p>
1276
- */
1277
- ApiDestinationArn?: string;
1278
-
1279
- /**
1280
- * <p>The name of the API destination retrieved.</p>
1281
- */
1282
- Name?: string;
1283
-
1284
- /**
1285
- * <p>The description for the API destination retrieved.</p>
1286
- */
1287
- Description?: string;
1288
-
1289
- /**
1290
- * <p>The state of the API destination retrieved.</p>
1291
- */
1292
- ApiDestinationState?: ApiDestinationState | string;
1293
-
1294
- /**
1295
- * <p>The ARN of the connection specified for the API destination retrieved.</p>
1296
- */
1297
- ConnectionArn?: string;
1298
-
1299
- /**
1300
- * <p>The URL to use to connect to the HTTP endpoint.</p>
1301
- */
1302
- InvocationEndpoint?: string;
1303
-
1304
- /**
1305
- * <p>The method to use to connect to the HTTP endpoint.</p>
1306
- */
1307
- HttpMethod?: ApiDestinationHttpMethod | string;
1308
-
1309
- /**
1310
- * <p>The maximum number of invocations per second to specified for the API destination. Note
1311
- * that if you set the invocation rate maximum to a value lower the rate necessary to send all
1312
- * events received on to the destination HTTP endpoint, some events may not be delivered within
1313
- * the 24-hour retry window. If you plan to set the rate lower than the rate necessary to deliver
1314
- * all events, consider using a dead-letter queue to catch events that are not delivered within
1315
- * 24 hours.</p>
1316
- */
1317
- InvocationRateLimitPerSecond?: number;
1318
-
1319
- /**
1320
- * <p>A time stamp for the time that the API destination was created.</p>
1321
- */
1322
- CreationTime?: Date;
1323
-
1324
- /**
1325
- * <p>A time stamp for the time that the API destination was last modified.</p>
1326
- */
1327
- LastModifiedTime?: Date;
1328
- }
1329
-
1330
- export namespace DescribeApiDestinationResponse {
1331
- /**
1332
- * @internal
1333
- */
1334
- export const filterSensitiveLog = (obj: DescribeApiDestinationResponse): any => ({
1335
- ...obj,
1336
- });
1337
- }
1338
-
1339
- export interface DescribeArchiveRequest {
1340
- /**
1341
- * <p>The name of the archive to retrieve.</p>
1342
- */
1343
- ArchiveName: string | undefined;
1344
- }
1345
-
1346
- export namespace DescribeArchiveRequest {
1347
- /**
1348
- * @internal
1349
- */
1350
- export const filterSensitiveLog = (obj: DescribeArchiveRequest): any => ({
1351
- ...obj,
1352
- });
1353
- }
1354
-
1355
- export interface DescribeArchiveResponse {
1356
- /**
1357
- * <p>The ARN of the archive.</p>
1358
- */
1359
- ArchiveArn?: string;
1360
-
1361
- /**
1362
- * <p>The name of the archive.</p>
1363
- */
1364
- ArchiveName?: string;
1365
-
1366
- /**
1367
- * <p>The ARN of the event source associated with the archive.</p>
1368
- */
1369
- EventSourceArn?: string;
1370
-
1371
- /**
1372
- * <p>The description of the archive.</p>
1373
- */
1374
- Description?: string;
1375
-
1376
- /**
1377
- * <p>The event pattern used to filter events sent to the archive.</p>
1378
- */
1379
- EventPattern?: string;
1380
-
1381
- /**
1382
- * <p>The state of the archive.</p>
1383
- */
1384
- State?: ArchiveState | string;
1385
-
1386
- /**
1387
- * <p>The reason that the archive is in the state.</p>
1388
- */
1389
- StateReason?: string;
1390
-
1391
- /**
1392
- * <p>The number of days to retain events for in the archive.</p>
1393
- */
1394
- RetentionDays?: number;
1395
-
1396
- /**
1397
- * <p>The size of the archive in bytes.</p>
1398
- */
1399
- SizeBytes?: number;
1400
-
1401
- /**
1402
- * <p>The number of events in the archive.</p>
1403
- */
1404
- EventCount?: number;
1405
-
1406
- /**
1407
- * <p>The time at which the archive was created.</p>
1408
- */
1409
- CreationTime?: Date;
1410
- }
1411
-
1412
- export namespace DescribeArchiveResponse {
1413
- /**
1414
- * @internal
1415
- */
1416
- export const filterSensitiveLog = (obj: DescribeArchiveResponse): any => ({
1417
- ...obj,
1418
- });
1419
- }
1420
-
1421
- export interface DescribeConnectionRequest {
1422
- /**
1423
- * <p>The name of the connection to retrieve.</p>
1424
- */
1425
- Name: string | undefined;
1426
- }
1427
-
1428
- export namespace DescribeConnectionRequest {
1429
- /**
1430
- * @internal
1431
- */
1432
- export const filterSensitiveLog = (obj: DescribeConnectionRequest): any => ({
1433
- ...obj,
1434
- });
1435
- }
1436
-
1437
- /**
1438
- * <p>Contains the authorization parameters for the connection if API Key is specified as the
1439
- * authorization type.</p>
1440
- */
1441
- export interface ConnectionApiKeyAuthResponseParameters {
1442
- /**
1443
- * <p>The name of the header to use for the <code>APIKeyValue</code> used for
1444
- * authorization.</p>
1445
- */
1446
- ApiKeyName?: string;
1447
- }
1448
-
1449
- export namespace ConnectionApiKeyAuthResponseParameters {
1450
- /**
1451
- * @internal
1452
- */
1453
- export const filterSensitiveLog = (obj: ConnectionApiKeyAuthResponseParameters): any => ({
1454
- ...obj,
1455
- });
1456
- }
1457
-
1458
- /**
1459
- * <p>Contains the authorization parameters for the connection if Basic is specified as the
1460
- * authorization type.</p>
1461
- */
1462
- export interface ConnectionBasicAuthResponseParameters {
1463
- /**
1464
- * <p>The user name to use for Basic authorization.</p>
1465
- */
1466
- Username?: string;
1467
- }
1468
-
1469
- export namespace ConnectionBasicAuthResponseParameters {
1470
- /**
1471
- * @internal
1472
- */
1473
- export const filterSensitiveLog = (obj: ConnectionBasicAuthResponseParameters): any => ({
1474
- ...obj,
1475
- });
1476
- }
1477
-
1478
- /**
1479
- * <p>Contains the client response parameters for the connection when OAuth is specified as the
1480
- * authorization type.</p>
1481
- */
1482
- export interface ConnectionOAuthClientResponseParameters {
1483
- /**
1484
- * <p>The client ID associated with the response to the connection request.</p>
1485
- */
1486
- ClientID?: string;
1487
- }
1488
-
1489
- export namespace ConnectionOAuthClientResponseParameters {
1490
- /**
1491
- * @internal
1492
- */
1493
- export const filterSensitiveLog = (obj: ConnectionOAuthClientResponseParameters): any => ({
1494
- ...obj,
1495
- });
1496
- }
1497
-
1498
- /**
1499
- * <p>Contains the response parameters when OAuth is specified as the authorization type.</p>
1500
- */
1501
- export interface ConnectionOAuthResponseParameters {
1502
- /**
1503
- * <p>A <code>ConnectionOAuthClientResponseParameters</code> object that contains details about
1504
- * the client parameters returned when OAuth is specified as the authorization type.</p>
1505
- */
1506
- ClientParameters?: ConnectionOAuthClientResponseParameters;
1507
-
1508
- /**
1509
- * <p>The URL to the HTTP endpoint that authorized the request.</p>
1510
- */
1511
- AuthorizationEndpoint?: string;
1512
-
1513
- /**
1514
- * <p>The method used to connect to the HTTP endpoint.</p>
1515
- */
1516
- HttpMethod?: ConnectionOAuthHttpMethod | string;
1517
-
1518
- /**
1519
- * <p>The additional HTTP parameters used for the OAuth authorization request.</p>
1520
- */
1521
- OAuthHttpParameters?: ConnectionHttpParameters;
1522
- }
1523
-
1524
- export namespace ConnectionOAuthResponseParameters {
1525
- /**
1526
- * @internal
1527
- */
1528
- export const filterSensitiveLog = (obj: ConnectionOAuthResponseParameters): any => ({
1529
- ...obj,
1530
- });
1531
- }
1532
-
1533
- /**
1534
- * <p>Contains the authorization parameters to use for the connection.</p>
1535
- */
1536
- export interface ConnectionAuthResponseParameters {
1537
- /**
1538
- * <p>The authorization parameters for Basic authorization.</p>
1539
- */
1540
- BasicAuthParameters?: ConnectionBasicAuthResponseParameters;
1541
-
1542
- /**
1543
- * <p>The OAuth parameters to use for authorization.</p>
1544
- */
1545
- OAuthParameters?: ConnectionOAuthResponseParameters;
1546
-
1547
- /**
1548
- * <p>The API Key parameters to use for authorization.</p>
1549
- */
1550
- ApiKeyAuthParameters?: ConnectionApiKeyAuthResponseParameters;
1551
-
1552
- /**
1553
- * <p>Additional parameters for the connection that are passed through with every invocation to
1554
- * the HTTP endpoint.</p>
1555
- */
1556
- InvocationHttpParameters?: ConnectionHttpParameters;
1557
- }
1558
-
1559
- export namespace ConnectionAuthResponseParameters {
1560
- /**
1561
- * @internal
1562
- */
1563
- export const filterSensitiveLog = (obj: ConnectionAuthResponseParameters): any => ({
1564
- ...obj,
1565
- });
1566
- }
1567
-
1568
- export interface DescribeConnectionResponse {
1569
- /**
1570
- * <p>The ARN of the connection retrieved.</p>
1571
- */
1572
- ConnectionArn?: string;
1573
-
1574
- /**
1575
- * <p>The name of the connection retrieved.</p>
1576
- */
1577
- Name?: string;
1578
-
1579
- /**
1580
- * <p>The description for the connection retrieved.</p>
1581
- */
1582
- Description?: string;
1583
-
1584
- /**
1585
- * <p>The state of the connection retrieved.</p>
1586
- */
1587
- ConnectionState?: ConnectionState | string;
1588
-
1589
- /**
1590
- * <p>The reason that the connection is in the current connection state.</p>
1591
- */
1592
- StateReason?: string;
1593
-
1594
- /**
1595
- * <p>The type of authorization specified for the connection.</p>
1596
- */
1597
- AuthorizationType?: ConnectionAuthorizationType | string;
1598
-
1599
- /**
1600
- * <p>The ARN of the secret created from the authorization parameters specified for the
1601
- * connection.</p>
1602
- */
1603
- SecretArn?: string;
1604
-
1605
- /**
1606
- * <p>The parameters to use for authorization for the connection.</p>
1607
- */
1608
- AuthParameters?: ConnectionAuthResponseParameters;
1609
-
1610
- /**
1611
- * <p>A time stamp for the time that the connection was created.</p>
1612
- */
1613
- CreationTime?: Date;
1614
-
1615
- /**
1616
- * <p>A time stamp for the time that the connection was last modified.</p>
1617
- */
1618
- LastModifiedTime?: Date;
1619
-
1620
- /**
1621
- * <p>A time stamp for the time that the connection was last authorized.</p>
1622
- */
1623
- LastAuthorizedTime?: Date;
1624
- }
1625
-
1626
- export namespace DescribeConnectionResponse {
1627
- /**
1628
- * @internal
1629
- */
1630
- export const filterSensitiveLog = (obj: DescribeConnectionResponse): any => ({
1631
- ...obj,
1632
- });
1633
- }
1634
-
1635
- export interface DescribeEventBusRequest {
1636
- /**
1637
- * <p>The name or ARN of the event bus to show details for. If you omit this, the default event
1638
- * bus is displayed.</p>
1639
- */
1640
- Name?: string;
1641
- }
1642
-
1643
- export namespace DescribeEventBusRequest {
1644
- /**
1645
- * @internal
1646
- */
1647
- export const filterSensitiveLog = (obj: DescribeEventBusRequest): any => ({
1648
- ...obj,
1649
- });
1650
- }
1651
-
1652
- export interface DescribeEventBusResponse {
1653
- /**
1654
- * <p>The name of the event bus. Currently, this is always <code>default</code>.</p>
1655
- */
1656
- Name?: string;
1657
-
1658
- /**
1659
- * <p>The Amazon Resource Name (ARN) of the account permitted to write events to the current
1660
- * account.</p>
1661
- */
1662
- Arn?: string;
1663
-
1664
- /**
1665
- * <p>The policy that enables the external account to send events to your account.</p>
1666
- */
1667
- Policy?: string;
1668
- }
1669
-
1670
- export namespace DescribeEventBusResponse {
1671
- /**
1672
- * @internal
1673
- */
1674
- export const filterSensitiveLog = (obj: DescribeEventBusResponse): any => ({
1675
- ...obj,
1676
- });
1677
- }
1678
-
1679
- export interface DescribeEventSourceRequest {
1680
- /**
1681
- * <p>The name of the partner event source to display the details of.</p>
1682
- */
1683
- Name: string | undefined;
1684
- }
1685
-
1686
- export namespace DescribeEventSourceRequest {
1687
- /**
1688
- * @internal
1689
- */
1690
- export const filterSensitiveLog = (obj: DescribeEventSourceRequest): any => ({
1691
- ...obj,
1692
- });
1693
- }
1694
-
1695
- export enum EventSourceState {
1696
- ACTIVE = "ACTIVE",
1697
- DELETED = "DELETED",
1698
- PENDING = "PENDING",
1699
- }
1700
-
1701
- export interface DescribeEventSourceResponse {
1702
- /**
1703
- * <p>The ARN of the partner event source.</p>
1704
- */
1705
- Arn?: string;
1706
-
1707
- /**
1708
- * <p>The name of the SaaS partner that created the event source.</p>
1709
- */
1710
- CreatedBy?: string;
1711
-
1712
- /**
1713
- * <p>The date and time that the event source was created.</p>
1714
- */
1715
- CreationTime?: Date;
1716
-
1717
- /**
1718
- * <p>The date and time that the event source will expire if you do not create a matching event
1719
- * bus.</p>
1720
- */
1721
- ExpirationTime?: Date;
1722
-
1723
- /**
1724
- * <p>The name of the partner event source.</p>
1725
- */
1726
- Name?: string;
1727
-
1728
- /**
1729
- * <p>The state of the event source. If it is ACTIVE, you have already created a matching event
1730
- * bus for this event source, and that event bus is active. If it is PENDING, either you haven't
1731
- * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
1732
- * created a matching event bus, but the event source has since been deleted.</p>
1733
- */
1734
- State?: EventSourceState | string;
1735
- }
1736
-
1737
- export namespace DescribeEventSourceResponse {
1738
- /**
1739
- * @internal
1740
- */
1741
- export const filterSensitiveLog = (obj: DescribeEventSourceResponse): any => ({
1742
- ...obj,
1743
- });
1744
- }
1745
-
1746
- export interface DescribePartnerEventSourceRequest {
1747
- /**
1748
- * <p>The name of the event source to display.</p>
1749
- */
1750
- Name: string | undefined;
1751
- }
1752
-
1753
- export namespace DescribePartnerEventSourceRequest {
1754
- /**
1755
- * @internal
1756
- */
1757
- export const filterSensitiveLog = (obj: DescribePartnerEventSourceRequest): any => ({
1758
- ...obj,
1759
- });
1760
- }
1761
-
1762
- export interface DescribePartnerEventSourceResponse {
1763
- /**
1764
- * <p>The ARN of the event source.</p>
1765
- */
1766
- Arn?: string;
1767
-
1768
- /**
1769
- * <p>The name of the event source.</p>
1770
- */
1771
- Name?: string;
1772
- }
1773
-
1774
- export namespace DescribePartnerEventSourceResponse {
1775
- /**
1776
- * @internal
1777
- */
1778
- export const filterSensitiveLog = (obj: DescribePartnerEventSourceResponse): any => ({
1779
- ...obj,
1780
- });
1781
- }
1782
-
1783
- export interface DescribeReplayRequest {
1784
- /**
1785
- * <p>The name of the replay to retrieve.</p>
1786
- */
1787
- ReplayName: string | undefined;
1788
- }
1789
-
1790
- export namespace DescribeReplayRequest {
1791
- /**
1792
- * @internal
1793
- */
1794
- export const filterSensitiveLog = (obj: DescribeReplayRequest): any => ({
1795
- ...obj,
1796
- });
1797
- }
1798
-
1799
- /**
1800
- * <p>A <code>ReplayDestination</code> object that contains details about a replay.</p>
1801
- */
1802
- export interface ReplayDestination {
1803
- /**
1804
- * <p>The ARN of the event bus to replay event to. You can replay events only to the event bus
1805
- * specified to create the archive.</p>
1806
- */
1807
- Arn: string | undefined;
1808
-
1809
- /**
1810
- * <p>A list of ARNs for rules to replay events to.</p>
1811
- */
1812
- FilterArns?: string[];
1813
- }
1814
-
1815
- export namespace ReplayDestination {
1816
- /**
1817
- * @internal
1818
- */
1819
- export const filterSensitiveLog = (obj: ReplayDestination): any => ({
1820
- ...obj,
1821
- });
1822
- }
1823
-
1824
- export interface DescribeReplayResponse {
1825
- /**
1826
- * <p>The name of the replay.</p>
1827
- */
1828
- ReplayName?: string;
1829
-
1830
- /**
1831
- * <p>The ARN of the replay.</p>
1832
- */
1833
- ReplayArn?: string;
1834
-
1835
- /**
1836
- * <p>The description of the replay.</p>
1837
- */
1838
- Description?: string;
1839
-
1840
- /**
1841
- * <p>The current state of the replay.</p>
1842
- */
1843
- State?: ReplayState | string;
1844
-
1845
- /**
1846
- * <p>The reason that the replay is in the current state.</p>
1847
- */
1848
- StateReason?: string;
1849
-
1850
- /**
1851
- * <p>The ARN of the archive events were replayed from.</p>
1852
- */
1853
- EventSourceArn?: string;
1854
-
1855
- /**
1856
- * <p>A <code>ReplayDestination</code> object that contains details about the replay.</p>
1857
- */
1858
- Destination?: ReplayDestination;
1859
-
1860
- /**
1861
- * <p>The time stamp of the first event that was last replayed from the archive.</p>
1862
- */
1863
- EventStartTime?: Date;
1864
-
1865
- /**
1866
- * <p>The time stamp for the last event that was replayed from the archive.</p>
1867
- */
1868
- EventEndTime?: Date;
1869
-
1870
- /**
1871
- * <p>The time that the event was last replayed.</p>
1872
- */
1873
- EventLastReplayedTime?: Date;
1874
-
1875
- /**
1876
- * <p>A time stamp for the time that the replay started.</p>
1877
- */
1878
- ReplayStartTime?: Date;
1879
-
1880
- /**
1881
- * <p>A time stamp for the time that the replay stopped.</p>
1882
- */
1883
- ReplayEndTime?: Date;
1884
- }
1885
-
1886
- export namespace DescribeReplayResponse {
1887
- /**
1888
- * @internal
1889
- */
1890
- export const filterSensitiveLog = (obj: DescribeReplayResponse): any => ({
1891
- ...obj,
1892
- });
1893
- }
1894
-
1895
- export interface DescribeRuleRequest {
1896
- /**
1897
- * <p>The name of the rule.</p>
1898
- */
1899
- Name: string | undefined;
1900
-
1901
- /**
1902
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
1903
- * event bus is used.</p>
1904
- */
1905
- EventBusName?: string;
1906
- }
1907
-
1908
- export namespace DescribeRuleRequest {
1909
- /**
1910
- * @internal
1911
- */
1912
- export const filterSensitiveLog = (obj: DescribeRuleRequest): any => ({
1913
- ...obj,
1914
- });
1915
- }
1916
-
1917
- export enum RuleState {
1918
- DISABLED = "DISABLED",
1919
- ENABLED = "ENABLED",
1920
- }
1921
-
1922
- export interface DescribeRuleResponse {
1923
- /**
1924
- * <p>The name of the rule.</p>
1925
- */
1926
- Name?: string;
1927
-
1928
- /**
1929
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
1930
- */
1931
- Arn?: string;
1932
-
1933
- /**
1934
- * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
1935
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
1936
- */
1937
- EventPattern?: string;
1938
-
1939
- /**
1940
- * <p>The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".</p>
1941
- */
1942
- ScheduleExpression?: string;
1943
-
1944
- /**
1945
- * <p>Specifies whether the rule is enabled or disabled.</p>
1946
- */
1947
- State?: RuleState | string;
1948
-
1949
- /**
1950
- * <p>The description of the rule.</p>
1951
- */
1952
- Description?: string;
1953
-
1954
- /**
1955
- * <p>The Amazon Resource Name (ARN) of the IAM role associated with the rule.</p>
1956
- */
1957
- RoleArn?: string;
1958
-
1959
- /**
1960
- * <p>If this is a managed rule, created by an Amazon Web Services service on your behalf, this field displays
1961
- * the principal name of the Amazon Web Services service that created the rule.</p>
1962
- */
1963
- ManagedBy?: string;
1964
-
1965
- /**
1966
- * <p>The name of the event bus associated with the rule.</p>
1967
- */
1968
- EventBusName?: string;
1969
-
1970
- /**
1971
- * <p>The account ID of the user that created the rule. If you use <code>PutRule</code> to put a
1972
- * rule on an event bus in another account, the other account is the owner of the rule, and the
1973
- * rule ARN includes the account ID for that account. However, the value for
1974
- * <code>CreatedBy</code> is the account ID as the account that created the rule in the other
1975
- * account.</p>
1976
- */
1977
- CreatedBy?: string;
1978
- }
1979
-
1980
- export namespace DescribeRuleResponse {
1981
- /**
1982
- * @internal
1983
- */
1984
- export const filterSensitiveLog = (obj: DescribeRuleResponse): any => ({
1985
- ...obj,
1986
- });
1987
- }
1988
-
1989
- export interface DisableRuleRequest {
1990
- /**
1991
- * <p>The name of the rule.</p>
1992
- */
1993
- Name: string | undefined;
1994
-
1995
- /**
1996
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
1997
- * event bus is used.</p>
1998
- */
1999
- EventBusName?: string;
2000
- }
2001
-
2002
- export namespace DisableRuleRequest {
2003
- /**
2004
- * @internal
2005
- */
2006
- export const filterSensitiveLog = (obj: DisableRuleRequest): any => ({
2007
- ...obj,
2008
- });
2009
- }
2010
-
2011
- export interface EnableRuleRequest {
2012
- /**
2013
- * <p>The name of the rule.</p>
2014
- */
2015
- Name: string | undefined;
2016
-
2017
- /**
2018
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
2019
- * event bus is used.</p>
2020
- */
2021
- EventBusName?: string;
2022
- }
2023
-
2024
- export namespace EnableRuleRequest {
2025
- /**
2026
- * @internal
2027
- */
2028
- export const filterSensitiveLog = (obj: EnableRuleRequest): any => ({
2029
- ...obj,
2030
- });
2031
- }
2032
-
2033
- export interface ListApiDestinationsRequest {
2034
- /**
2035
- * <p>A name prefix to filter results returned. Only API destinations with a name that starts
2036
- * with the prefix are returned.</p>
2037
- */
2038
- NamePrefix?: string;
2039
-
2040
- /**
2041
- * <p>The ARN of the connection specified for the API destination.</p>
2042
- */
2043
- ConnectionArn?: string;
2044
-
2045
- /**
2046
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2047
- */
2048
- NextToken?: string;
2049
-
2050
- /**
2051
- * <p>The maximum number of API destinations to include in the response.</p>
2052
- */
2053
- Limit?: number;
2054
- }
2055
-
2056
- export namespace ListApiDestinationsRequest {
2057
- /**
2058
- * @internal
2059
- */
2060
- export const filterSensitiveLog = (obj: ListApiDestinationsRequest): any => ({
2061
- ...obj,
2062
- });
2063
- }
2064
-
2065
- export interface ListApiDestinationsResponse {
2066
- /**
2067
- * <p>An array of <code>ApiDestination</code> objects that include information about an API
2068
- * destination.</p>
2069
- */
2070
- ApiDestinations?: ApiDestination[];
2071
-
2072
- /**
2073
- * <p>A token you can use in a subsequent request to retrieve the next set of results.</p>
2074
- */
2075
- NextToken?: string;
2076
- }
2077
-
2078
- export namespace ListApiDestinationsResponse {
2079
- /**
2080
- * @internal
2081
- */
2082
- export const filterSensitiveLog = (obj: ListApiDestinationsResponse): any => ({
2083
- ...obj,
2084
- });
2085
- }
2086
-
2087
- export interface ListArchivesRequest {
2088
- /**
2089
- * <p>A name prefix to filter the archives returned. Only archives with name that match the
2090
- * prefix are returned.</p>
2091
- */
2092
- NamePrefix?: string;
2093
-
2094
- /**
2095
- * <p>The ARN of the event source associated with the archive.</p>
2096
- */
2097
- EventSourceArn?: string;
2098
-
2099
- /**
2100
- * <p>The state of the archive.</p>
2101
- */
2102
- State?: ArchiveState | string;
2103
-
2104
- /**
2105
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2106
- */
2107
- NextToken?: string;
2108
-
2109
- /**
2110
- * <p>The maximum number of results to return.</p>
2111
- */
2112
- Limit?: number;
2113
- }
2114
-
2115
- export namespace ListArchivesRequest {
2116
- /**
2117
- * @internal
2118
- */
2119
- export const filterSensitiveLog = (obj: ListArchivesRequest): any => ({
2120
- ...obj,
2121
- });
2122
- }
2123
-
2124
- export interface ListArchivesResponse {
2125
- /**
2126
- * <p>An array of <code>Archive</code> objects that include details about an archive.</p>
2127
- */
2128
- Archives?: Archive[];
2129
-
2130
- /**
2131
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2132
- */
2133
- NextToken?: string;
2134
- }
2135
-
2136
- export namespace ListArchivesResponse {
2137
- /**
2138
- * @internal
2139
- */
2140
- export const filterSensitiveLog = (obj: ListArchivesResponse): any => ({
2141
- ...obj,
2142
- });
2143
- }
2144
-
2145
- export interface ListConnectionsRequest {
2146
- /**
2147
- * <p>A name prefix to filter results returned. Only connections with a name that starts with
2148
- * the prefix are returned.</p>
2149
- */
2150
- NamePrefix?: string;
2151
-
2152
- /**
2153
- * <p>The state of the connection.</p>
2154
- */
2155
- ConnectionState?: ConnectionState | string;
2156
-
2157
- /**
2158
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2159
- */
2160
- NextToken?: string;
2161
-
2162
- /**
2163
- * <p>The maximum number of connections to return.</p>
2164
- */
2165
- Limit?: number;
2166
- }
2167
-
2168
- export namespace ListConnectionsRequest {
2169
- /**
2170
- * @internal
2171
- */
2172
- export const filterSensitiveLog = (obj: ListConnectionsRequest): any => ({
2173
- ...obj,
2174
- });
2175
- }
2176
-
2177
- /**
2178
- * <p>Contains information about a connection.</p>
2179
- */
2180
- export interface Connection {
2181
- /**
2182
- * <p>The ARN of the connection.</p>
2183
- */
2184
- ConnectionArn?: string;
2185
-
2186
- /**
2187
- * <p>The name of the connection.</p>
2188
- */
2189
- Name?: string;
2190
-
2191
- /**
2192
- * <p>The state of the connection.</p>
2193
- */
2194
- ConnectionState?: ConnectionState | string;
2195
-
2196
- /**
2197
- * <p>The reason that the connection is in the connection state.</p>
2198
- */
2199
- StateReason?: string;
2200
-
2201
- /**
2202
- * <p>The authorization type specified for the connection.</p>
2203
- */
2204
- AuthorizationType?: ConnectionAuthorizationType | string;
2205
-
2206
- /**
2207
- * <p>A time stamp for the time that the connection was created.</p>
2208
- */
2209
- CreationTime?: Date;
2210
-
2211
- /**
2212
- * <p>A time stamp for the time that the connection was last modified.</p>
2213
- */
2214
- LastModifiedTime?: Date;
2215
-
2216
- /**
2217
- * <p>A time stamp for the time that the connection was last authorized.</p>
2218
- */
2219
- LastAuthorizedTime?: Date;
2220
- }
2221
-
2222
- export namespace Connection {
2223
- /**
2224
- * @internal
2225
- */
2226
- export const filterSensitiveLog = (obj: Connection): any => ({
2227
- ...obj,
2228
- });
2229
- }
2230
-
2231
- export interface ListConnectionsResponse {
2232
- /**
2233
- * <p>An array of connections objects that include details about the connections.</p>
2234
- */
2235
- Connections?: Connection[];
2236
-
2237
- /**
2238
- * <p>A token you can use in a subsequent request to retrieve the next set of results.</p>
2239
- */
2240
- NextToken?: string;
2241
- }
2242
-
2243
- export namespace ListConnectionsResponse {
2244
- /**
2245
- * @internal
2246
- */
2247
- export const filterSensitiveLog = (obj: ListConnectionsResponse): any => ({
2248
- ...obj,
2249
- });
2250
- }
2251
-
2252
- export interface ListEventBusesRequest {
2253
- /**
2254
- * <p>Specifying this limits the results to only those event buses with names that start with
2255
- * the specified prefix.</p>
2256
- */
2257
- NamePrefix?: string;
2258
-
2259
- /**
2260
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2261
- */
2262
- NextToken?: string;
2263
-
2264
- /**
2265
- * <p>Specifying this limits the number of results returned by this operation. The operation
2266
- * also returns a NextToken which you can use in a subsequent operation to retrieve the next set
2267
- * of results.</p>
2268
- */
2269
- Limit?: number;
2270
- }
2271
-
2272
- export namespace ListEventBusesRequest {
2273
- /**
2274
- * @internal
2275
- */
2276
- export const filterSensitiveLog = (obj: ListEventBusesRequest): any => ({
2277
- ...obj,
2278
- });
2279
- }
2280
-
2281
- /**
2282
- * <p>An event bus receives events from a source and routes them to rules associated with that
2283
- * event bus. Your account's default event bus receives events from Amazon Web Services services. A custom event
2284
- * bus can receive events from your custom applications and services. A partner event bus
2285
- * receives events from an event source created by an SaaS partner. These events come from the
2286
- * partners services or applications.</p>
2287
- */
2288
- export interface EventBus {
2289
- /**
2290
- * <p>The name of the event bus.</p>
2291
- */
2292
- Name?: string;
2293
-
2294
- /**
2295
- * <p>The ARN of the event bus.</p>
2296
- */
2297
- Arn?: string;
2298
-
2299
- /**
2300
- * <p>The permissions policy of the event bus, describing which other Amazon Web Services accounts can write
2301
- * events to this event bus.</p>
2302
- */
2303
- Policy?: string;
2304
- }
2305
-
2306
- export namespace EventBus {
2307
- /**
2308
- * @internal
2309
- */
2310
- export const filterSensitiveLog = (obj: EventBus): any => ({
2311
- ...obj,
2312
- });
2313
- }
2314
-
2315
- export interface ListEventBusesResponse {
2316
- /**
2317
- * <p>This list of event buses.</p>
2318
- */
2319
- EventBuses?: EventBus[];
2320
-
2321
- /**
2322
- * <p>A token you can use in a subsequent operation to retrieve the next set of results.</p>
2323
- */
2324
- NextToken?: string;
2325
- }
2326
-
2327
- export namespace ListEventBusesResponse {
2328
- /**
2329
- * @internal
2330
- */
2331
- export const filterSensitiveLog = (obj: ListEventBusesResponse): any => ({
2332
- ...obj,
2333
- });
2334
- }
2335
-
2336
- export interface ListEventSourcesRequest {
2337
- /**
2338
- * <p>Specifying this limits the results to only those partner event sources with names that
2339
- * start with the specified prefix.</p>
2340
- */
2341
- NamePrefix?: string;
2342
-
2343
- /**
2344
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2345
- */
2346
- NextToken?: string;
2347
-
2348
- /**
2349
- * <p>Specifying this limits the number of results returned by this operation. The operation
2350
- * also returns a NextToken which you can use in a subsequent operation to retrieve the next set
2351
- * of results.</p>
2352
- */
2353
- Limit?: number;
2354
- }
2355
-
2356
- export namespace ListEventSourcesRequest {
2357
- /**
2358
- * @internal
2359
- */
2360
- export const filterSensitiveLog = (obj: ListEventSourcesRequest): any => ({
2361
- ...obj,
2362
- });
2363
- }
2364
-
2365
- /**
2366
- * <p>A partner event source is created by an SaaS partner. If a customer creates a partner
2367
- * event bus that matches this event source, that Amazon Web Services account can receive events from the
2368
- * partner's applications or services.</p>
2369
- */
2370
- export interface EventSource {
2371
- /**
2372
- * <p>The ARN of the event source.</p>
2373
- */
2374
- Arn?: string;
2375
-
2376
- /**
2377
- * <p>The name of the partner that created the event source.</p>
2378
- */
2379
- CreatedBy?: string;
2380
-
2381
- /**
2382
- * <p>The date and time the event source was created.</p>
2383
- */
2384
- CreationTime?: Date;
2385
-
2386
- /**
2387
- * <p>The date and time that the event source will expire, if the Amazon Web Services account doesn't create a
2388
- * matching event bus for it.</p>
2389
- */
2390
- ExpirationTime?: Date;
2391
-
2392
- /**
2393
- * <p>The name of the event source.</p>
2394
- */
2395
- Name?: string;
2396
-
2397
- /**
2398
- * <p>The state of the event source. If it is ACTIVE, you have already created a matching event
2399
- * bus for this event source, and that event bus is active. If it is PENDING, either you haven't
2400
- * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
2401
- * created a matching event bus, but the event source has since been deleted.</p>
2402
- */
2403
- State?: EventSourceState | string;
2404
- }
2405
-
2406
- export namespace EventSource {
2407
- /**
2408
- * @internal
2409
- */
2410
- export const filterSensitiveLog = (obj: EventSource): any => ({
2411
- ...obj,
2412
- });
2413
- }
2414
-
2415
- export interface ListEventSourcesResponse {
2416
- /**
2417
- * <p>The list of event sources.</p>
2418
- */
2419
- EventSources?: EventSource[];
2420
-
2421
- /**
2422
- * <p>A token you can use in a subsequent operation to retrieve the next set of results.</p>
2423
- */
2424
- NextToken?: string;
2425
- }
2426
-
2427
- export namespace ListEventSourcesResponse {
2428
- /**
2429
- * @internal
2430
- */
2431
- export const filterSensitiveLog = (obj: ListEventSourcesResponse): any => ({
2432
- ...obj,
2433
- });
2434
- }
2435
-
2436
- export interface ListPartnerEventSourceAccountsRequest {
2437
- /**
2438
- * <p>The name of the partner event source to display account information about.</p>
2439
- */
2440
- EventSourceName: string | undefined;
2441
-
2442
- /**
2443
- * <p>The token returned by a previous call to this operation. Specifying this retrieves the
2444
- * next set of results.</p>
2445
- */
2446
- NextToken?: string;
2447
-
2448
- /**
2449
- * <p>Specifying this limits the number of results returned by this operation. The operation
2450
- * also returns a NextToken which you can use in a subsequent operation to retrieve the next set
2451
- * of results.</p>
2452
- */
2453
- Limit?: number;
2454
- }
2455
-
2456
- export namespace ListPartnerEventSourceAccountsRequest {
2457
- /**
2458
- * @internal
2459
- */
2460
- export const filterSensitiveLog = (obj: ListPartnerEventSourceAccountsRequest): any => ({
2461
- ...obj,
2462
- });
2463
- }
2464
-
2465
- /**
2466
- * <p>The Amazon Web Services account that a partner event source has been offered to.</p>
2467
- */
2468
- export interface PartnerEventSourceAccount {
2469
- /**
2470
- * <p>The Amazon Web Services account ID that the partner event source was offered to.</p>
2471
- */
2472
- Account?: string;
2473
-
2474
- /**
2475
- * <p>The date and time the event source was created.</p>
2476
- */
2477
- CreationTime?: Date;
2478
-
2479
- /**
2480
- * <p>The date and time that the event source will expire, if the Amazon Web Services account doesn't create a
2481
- * matching event bus for it.</p>
2482
- */
2483
- ExpirationTime?: Date;
2484
-
2485
- /**
2486
- * <p>The state of the event source. If it is ACTIVE, you have already created a matching event
2487
- * bus for this event source, and that event bus is active. If it is PENDING, either you haven't
2488
- * yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have
2489
- * created a matching event bus, but the event source has since been deleted.</p>
2490
- */
2491
- State?: EventSourceState | string;
2492
- }
2493
-
2494
- export namespace PartnerEventSourceAccount {
2495
- /**
2496
- * @internal
2497
- */
2498
- export const filterSensitiveLog = (obj: PartnerEventSourceAccount): any => ({
2499
- ...obj,
2500
- });
2501
- }
2502
-
2503
- export interface ListPartnerEventSourceAccountsResponse {
2504
- /**
2505
- * <p>The list of partner event sources returned by the operation.</p>
2506
- */
2507
- PartnerEventSourceAccounts?: PartnerEventSourceAccount[];
2508
-
2509
- /**
2510
- * <p>A token you can use in a subsequent operation to retrieve the next set of results.</p>
2511
- */
2512
- NextToken?: string;
2513
- }
2514
-
2515
- export namespace ListPartnerEventSourceAccountsResponse {
2516
- /**
2517
- * @internal
2518
- */
2519
- export const filterSensitiveLog = (obj: ListPartnerEventSourceAccountsResponse): any => ({
2520
- ...obj,
2521
- });
2522
- }
2523
-
2524
- export interface ListPartnerEventSourcesRequest {
2525
- /**
2526
- * <p>If you specify this, the results are limited to only those partner event sources that
2527
- * start with the string you specify.</p>
2528
- */
2529
- NamePrefix: string | undefined;
2530
-
2531
- /**
2532
- * <p>The token returned by a previous call to this operation. Specifying this retrieves the
2533
- * next set of results.</p>
2534
- */
2535
- NextToken?: string;
2536
-
2537
- /**
2538
- * <p>pecifying this limits the number of results returned by this operation. The operation also
2539
- * returns a NextToken which you can use in a subsequent operation to retrieve the next set of
2540
- * results.</p>
2541
- */
2542
- Limit?: number;
2543
- }
2544
-
2545
- export namespace ListPartnerEventSourcesRequest {
2546
- /**
2547
- * @internal
2548
- */
2549
- export const filterSensitiveLog = (obj: ListPartnerEventSourcesRequest): any => ({
2550
- ...obj,
2551
- });
2552
- }
2553
-
2554
- /**
2555
- * <p>A partner event source is created by an SaaS partner. If a customer creates a partner
2556
- * event bus that matches this event source, that Amazon Web Services account can receive events from the
2557
- * partner's applications or services.</p>
2558
- */
2559
- export interface PartnerEventSource {
2560
- /**
2561
- * <p>The ARN of the partner event source.</p>
2562
- */
2563
- Arn?: string;
2564
-
2565
- /**
2566
- * <p>The name of the partner event source.</p>
2567
- */
2568
- Name?: string;
2569
- }
2570
-
2571
- export namespace PartnerEventSource {
2572
- /**
2573
- * @internal
2574
- */
2575
- export const filterSensitiveLog = (obj: PartnerEventSource): any => ({
2576
- ...obj,
2577
- });
2578
- }
2579
-
2580
- export interface ListPartnerEventSourcesResponse {
2581
- /**
2582
- * <p>The list of partner event sources returned by the operation.</p>
2583
- */
2584
- PartnerEventSources?: PartnerEventSource[];
2585
-
2586
- /**
2587
- * <p>A token you can use in a subsequent operation to retrieve the next set of results.</p>
2588
- */
2589
- NextToken?: string;
2590
- }
2591
-
2592
- export namespace ListPartnerEventSourcesResponse {
2593
- /**
2594
- * @internal
2595
- */
2596
- export const filterSensitiveLog = (obj: ListPartnerEventSourcesResponse): any => ({
2597
- ...obj,
2598
- });
2599
- }
2600
-
2601
- export interface ListReplaysRequest {
2602
- /**
2603
- * <p>A name prefix to filter the replays returned. Only replays with name that match the prefix
2604
- * are returned.</p>
2605
- */
2606
- NamePrefix?: string;
2607
-
2608
- /**
2609
- * <p>The state of the replay.</p>
2610
- */
2611
- State?: ReplayState | string;
2612
-
2613
- /**
2614
- * <p>The ARN of the archive from which the events are replayed.</p>
2615
- */
2616
- EventSourceArn?: string;
2617
-
2618
- /**
2619
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2620
- */
2621
- NextToken?: string;
2622
-
2623
- /**
2624
- * <p>The maximum number of replays to retrieve.</p>
2625
- */
2626
- Limit?: number;
2627
- }
2628
-
2629
- export namespace ListReplaysRequest {
2630
- /**
2631
- * @internal
2632
- */
2633
- export const filterSensitiveLog = (obj: ListReplaysRequest): any => ({
2634
- ...obj,
2635
- });
2636
- }
2637
-
2638
- /**
2639
- * <p>A <code>Replay</code> object that contains details about a replay.</p>
2640
- */
2641
- export interface Replay {
2642
- /**
2643
- * <p>The name of the replay.</p>
2644
- */
2645
- ReplayName?: string;
2646
-
2647
- /**
2648
- * <p>The ARN of the archive to replay event from.</p>
2649
- */
2650
- EventSourceArn?: string;
2651
-
2652
- /**
2653
- * <p>The current state of the replay.</p>
2654
- */
2655
- State?: ReplayState | string;
2656
-
2657
- /**
2658
- * <p>A description of why the replay is in the current state.</p>
2659
- */
2660
- StateReason?: string;
2661
-
2662
- /**
2663
- * <p>A time stamp for the time to start replaying events. This is determined by the time in the
2664
- * event as described in <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEventsRequestEntry.html#eventbridge-Type-PutEventsRequestEntry-Time">Time</a>.</p>
2665
- */
2666
- EventStartTime?: Date;
2667
-
2668
- /**
2669
- * <p>A time stamp for the time to start replaying events. Any event with a creation time prior
2670
- * to the <code>EventEndTime</code> specified is replayed.</p>
2671
- */
2672
- EventEndTime?: Date;
2673
-
2674
- /**
2675
- * <p>A time stamp for the time that the last event was replayed.</p>
2676
- */
2677
- EventLastReplayedTime?: Date;
2678
-
2679
- /**
2680
- * <p>A time stamp for the time that the replay started.</p>
2681
- */
2682
- ReplayStartTime?: Date;
2683
-
2684
- /**
2685
- * <p>A time stamp for the time that the replay completed.</p>
2686
- */
2687
- ReplayEndTime?: Date;
2688
- }
2689
-
2690
- export namespace Replay {
2691
- /**
2692
- * @internal
2693
- */
2694
- export const filterSensitiveLog = (obj: Replay): any => ({
2695
- ...obj,
2696
- });
2697
- }
2698
-
2699
- export interface ListReplaysResponse {
2700
- /**
2701
- * <p>An array of <code>Replay</code> objects that contain information about the replay.</p>
2702
- */
2703
- Replays?: Replay[];
2704
-
2705
- /**
2706
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2707
- */
2708
- NextToken?: string;
2709
- }
2710
-
2711
- export namespace ListReplaysResponse {
2712
- /**
2713
- * @internal
2714
- */
2715
- export const filterSensitiveLog = (obj: ListReplaysResponse): any => ({
2716
- ...obj,
2717
- });
2718
- }
2719
-
2720
- export interface ListRuleNamesByTargetRequest {
2721
- /**
2722
- * <p>The Amazon Resource Name (ARN) of the target resource.</p>
2723
- */
2724
- TargetArn: string | undefined;
2725
-
2726
- /**
2727
- * <p>The name or ARN of the event bus to list rules for. If you omit this, the default event
2728
- * bus is used.</p>
2729
- */
2730
- EventBusName?: string;
2731
-
2732
- /**
2733
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2734
- */
2735
- NextToken?: string;
2736
-
2737
- /**
2738
- * <p>The maximum number of results to return.</p>
2739
- */
2740
- Limit?: number;
2741
- }
2742
-
2743
- export namespace ListRuleNamesByTargetRequest {
2744
- /**
2745
- * @internal
2746
- */
2747
- export const filterSensitiveLog = (obj: ListRuleNamesByTargetRequest): any => ({
2748
- ...obj,
2749
- });
2750
- }
2751
-
2752
- export interface ListRuleNamesByTargetResponse {
2753
- /**
2754
- * <p>The names of the rules that can invoke the given target.</p>
2755
- */
2756
- RuleNames?: string[];
2757
-
2758
- /**
2759
- * <p>Indicates whether there are additional results to retrieve. If there are no more results,
2760
- * the value is null.</p>
2761
- */
2762
- NextToken?: string;
2763
- }
2764
-
2765
- export namespace ListRuleNamesByTargetResponse {
2766
- /**
2767
- * @internal
2768
- */
2769
- export const filterSensitiveLog = (obj: ListRuleNamesByTargetResponse): any => ({
2770
- ...obj,
2771
- });
2772
- }
2773
-
2774
- export interface ListRulesRequest {
2775
- /**
2776
- * <p>The prefix matching the rule name.</p>
2777
- */
2778
- NamePrefix?: string;
2779
-
2780
- /**
2781
- * <p>The name or ARN of the event bus to list the rules for. If you omit this, the default
2782
- * event bus is used.</p>
2783
- */
2784
- EventBusName?: string;
2785
-
2786
- /**
2787
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2788
- */
2789
- NextToken?: string;
2790
-
2791
- /**
2792
- * <p>The maximum number of results to return.</p>
2793
- */
2794
- Limit?: number;
2795
- }
2796
-
2797
- export namespace ListRulesRequest {
2798
- /**
2799
- * @internal
2800
- */
2801
- export const filterSensitiveLog = (obj: ListRulesRequest): any => ({
2802
- ...obj,
2803
- });
2804
- }
2805
-
2806
- /**
2807
- * <p>Contains information about a rule in Amazon EventBridge.</p>
2808
- */
2809
- export interface Rule {
2810
- /**
2811
- * <p>The name of the rule.</p>
2812
- */
2813
- Name?: string;
2814
-
2815
- /**
2816
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
2817
- */
2818
- Arn?: string;
2819
-
2820
- /**
2821
- * <p>The event pattern of the rule. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
2822
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
2823
- */
2824
- EventPattern?: string;
2825
-
2826
- /**
2827
- * <p>The state of the rule.</p>
2828
- */
2829
- State?: RuleState | string;
2830
-
2831
- /**
2832
- * <p>The description of the rule.</p>
2833
- */
2834
- Description?: string;
2835
-
2836
- /**
2837
- * <p>The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html">Creating an Amazon EventBridge rule that runs on a schedule</a>.</p>
2838
- */
2839
- ScheduleExpression?: string;
2840
-
2841
- /**
2842
- * <p>The Amazon Resource Name (ARN) of the role that is used for target invocation.</p>
2843
- * <p>If you're setting an event bus in another account as the target and that account granted
2844
- * permission to your account through an organization instead of directly by the account ID, you
2845
- * must specify a <code>RoleArn</code> with proper permissions in the <code>Target</code>
2846
- * structure, instead of here in this parameter.</p>
2847
- */
2848
- RoleArn?: string;
2849
-
2850
- /**
2851
- * <p>If the rule was created on behalf of your account by an Amazon Web Services service, this field displays
2852
- * the principal name of the service that created the rule.</p>
2853
- */
2854
- ManagedBy?: string;
2855
-
2856
- /**
2857
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
2858
- * event bus is used.</p>
2859
- */
2860
- EventBusName?: string;
2861
- }
2862
-
2863
- export namespace Rule {
2864
- /**
2865
- * @internal
2866
- */
2867
- export const filterSensitiveLog = (obj: Rule): any => ({
2868
- ...obj,
2869
- });
2870
- }
2871
-
2872
- export interface ListRulesResponse {
2873
- /**
2874
- * <p>The rules that match the specified criteria.</p>
2875
- */
2876
- Rules?: Rule[];
2877
-
2878
- /**
2879
- * <p>Indicates whether there are additional results to retrieve. If there are no more results,
2880
- * the value is null.</p>
2881
- */
2882
- NextToken?: string;
2883
- }
2884
-
2885
- export namespace ListRulesResponse {
2886
- /**
2887
- * @internal
2888
- */
2889
- export const filterSensitiveLog = (obj: ListRulesResponse): any => ({
2890
- ...obj,
2891
- });
2892
- }
2893
-
2894
- export interface ListTagsForResourceRequest {
2895
- /**
2896
- * <p>The ARN of the EventBridge resource for which you want to view tags.</p>
2897
- */
2898
- ResourceARN: string | undefined;
2899
- }
2900
-
2901
- export namespace ListTagsForResourceRequest {
2902
- /**
2903
- * @internal
2904
- */
2905
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
2906
- ...obj,
2907
- });
2908
- }
2909
-
2910
- export interface ListTagsForResourceResponse {
2911
- /**
2912
- * <p>The list of tag keys and values associated with the resource you specified</p>
2913
- */
2914
- Tags?: Tag[];
2915
- }
2916
-
2917
- export namespace ListTagsForResourceResponse {
2918
- /**
2919
- * @internal
2920
- */
2921
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
2922
- ...obj,
2923
- });
2924
- }
2925
-
2926
- export interface ListTargetsByRuleRequest {
2927
- /**
2928
- * <p>The name of the rule.</p>
2929
- */
2930
- Rule: string | undefined;
2931
-
2932
- /**
2933
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
2934
- * event bus is used.</p>
2935
- */
2936
- EventBusName?: string;
2937
-
2938
- /**
2939
- * <p>The token returned by a previous call to retrieve the next set of results.</p>
2940
- */
2941
- NextToken?: string;
2942
-
2943
- /**
2944
- * <p>The maximum number of results to return.</p>
2945
- */
2946
- Limit?: number;
2947
- }
2948
-
2949
- export namespace ListTargetsByRuleRequest {
2950
- /**
2951
- * @internal
2952
- */
2953
- export const filterSensitiveLog = (obj: ListTargetsByRuleRequest): any => ({
2954
- ...obj,
2955
- });
2956
- }
2957
-
2958
- /**
2959
- * <p>The array properties for the submitted job, such as the size of the array. The array size
2960
- * can be between 2 and 10,000. If you specify array properties for a job, it becomes an array
2961
- * job. This parameter is used only if the target is an Batch job.</p>
2962
- */
2963
- export interface BatchArrayProperties {
2964
- /**
2965
- * <p>The size of the array, if this is an array batch job. Valid values are integers between 2
2966
- * and 10,000.</p>
2967
- */
2968
- Size?: number;
2969
- }
2970
-
2971
- export namespace BatchArrayProperties {
2972
- /**
2973
- * @internal
2974
- */
2975
- export const filterSensitiveLog = (obj: BatchArrayProperties): any => ({
2976
- ...obj,
2977
- });
2978
- }
2979
-
2980
- /**
2981
- * <p>The retry strategy to use for failed jobs, if the target is an Batch job. If you
2982
- * specify a retry strategy here, it overrides the retry strategy defined in the job
2983
- * definition.</p>
2984
- */
2985
- export interface BatchRetryStrategy {
2986
- /**
2987
- * <p>The number of times to attempt to retry, if the job fails. Valid values are 1–10.</p>
2988
- */
2989
- Attempts?: number;
2990
- }
2991
-
2992
- export namespace BatchRetryStrategy {
2993
- /**
2994
- * @internal
2995
- */
2996
- export const filterSensitiveLog = (obj: BatchRetryStrategy): any => ({
2997
- ...obj,
2998
- });
2999
- }
3000
-
3001
- /**
3002
- * <p>The custom parameters to be used when the target is an Batch job.</p>
3003
- */
3004
- export interface BatchParameters {
3005
- /**
3006
- * <p>The ARN or name of the job definition to use if the event target is an Batch job. This
3007
- * job definition must already exist.</p>
3008
- */
3009
- JobDefinition: string | undefined;
3010
-
3011
- /**
3012
- * <p>The name to use for this execution of the job, if the target is an Batch job.</p>
3013
- */
3014
- JobName: string | undefined;
3015
-
3016
- /**
3017
- * <p>The array properties for the submitted job, such as the size of the array. The array size
3018
- * can be between 2 and 10,000. If you specify array properties for a job, it becomes an array
3019
- * job. This parameter is used only if the target is an Batch job.</p>
3020
- */
3021
- ArrayProperties?: BatchArrayProperties;
3022
-
3023
- /**
3024
- * <p>The retry strategy to use for failed jobs, if the target is an Batch job. The retry
3025
- * strategy is the number of times to retry the failed job execution. Valid values are 1–10. When
3026
- * you specify a retry strategy here, it overrides the retry strategy defined in the job
3027
- * definition.</p>
3028
- */
3029
- RetryStrategy?: BatchRetryStrategy;
3030
- }
3031
-
3032
- export namespace BatchParameters {
3033
- /**
3034
- * @internal
3035
- */
3036
- export const filterSensitiveLog = (obj: BatchParameters): any => ({
3037
- ...obj,
3038
- });
3039
- }
3040
-
3041
- /**
3042
- * <p>A <code>DeadLetterConfig</code> object that contains information about a dead-letter queue
3043
- * configuration.</p>
3044
- */
3045
- export interface DeadLetterConfig {
3046
- /**
3047
- * <p>The ARN of the SQS queue specified as the target for the dead-letter queue.</p>
3048
- */
3049
- Arn?: string;
3050
- }
3051
-
3052
- export namespace DeadLetterConfig {
3053
- /**
3054
- * @internal
3055
- */
3056
- export const filterSensitiveLog = (obj: DeadLetterConfig): any => ({
3057
- ...obj,
3058
- });
3059
- }
3060
-
3061
- /**
3062
- * <p>The details of a capacity provider strategy. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CapacityProviderStrategyItem.html">CapacityProviderStrategyItem</a> in the Amazon ECS API Reference.</p>
3063
- */
3064
- export interface CapacityProviderStrategyItem {
3065
- /**
3066
- * <p>The short name of the capacity provider.</p>
3067
- */
3068
- capacityProvider: string | undefined;
3069
-
3070
- /**
3071
- * <p>The weight value designates the relative percentage of the total number of tasks launched
3072
- * that should use the specified capacity provider. The weight value is taken into consideration
3073
- * after the base value, if defined, is satisfied.</p>
3074
- */
3075
- weight?: number;
3076
-
3077
- /**
3078
- * <p>The base value designates how many tasks, at a minimum, to run on the specified capacity
3079
- * provider. Only one capacity provider in a capacity provider strategy can have a base defined.
3080
- * If no value is specified, the default value of 0 is used. </p>
3081
- */
3082
- base?: number;
3083
- }
3084
-
3085
- export namespace CapacityProviderStrategyItem {
3086
- /**
3087
- * @internal
3088
- */
3089
- export const filterSensitiveLog = (obj: CapacityProviderStrategyItem): any => ({
3090
- ...obj,
3091
- });
3092
- }
3093
-
3094
- export enum LaunchType {
3095
- EC2 = "EC2",
3096
- EXTERNAL = "EXTERNAL",
3097
- FARGATE = "FARGATE",
3098
- }
3099
-
3100
- /**
3101
- * <p>This structure specifies the VPC subnets and security groups for the task, and whether a
3102
- * public IP address is to be used. This structure is relevant only for ECS tasks that use the
3103
- * <code>awsvpc</code> network mode.</p>
3104
- */
3105
- export interface AwsVpcConfiguration {
3106
- /**
3107
- * <p>Specifies the subnets associated with the task. These subnets must all be in the same VPC.
3108
- * You can specify as many as 16 subnets.</p>
3109
- */
3110
- Subnets: string[] | undefined;
3111
-
3112
- /**
3113
- * <p>Specifies the security groups associated with the task. These security groups must all be
3114
- * in the same VPC. You can specify as many as five security groups. If you do not specify a
3115
- * security group, the default security group for the VPC is used.</p>
3116
- */
3117
- SecurityGroups?: string[];
3118
-
3119
- /**
3120
- * <p>Specifies whether the task's elastic network interface receives a public IP address. You
3121
- * can specify <code>ENABLED</code> only when <code>LaunchType</code> in
3122
- * <code>EcsParameters</code> is set to <code>FARGATE</code>.</p>
3123
- */
3124
- AssignPublicIp?: AssignPublicIp | string;
3125
- }
3126
-
3127
- export namespace AwsVpcConfiguration {
3128
- /**
3129
- * @internal
3130
- */
3131
- export const filterSensitiveLog = (obj: AwsVpcConfiguration): any => ({
3132
- ...obj,
3133
- });
3134
- }
3135
-
3136
- /**
3137
- * <p>This structure specifies the network configuration for an ECS task.</p>
3138
- */
3139
- export interface NetworkConfiguration {
3140
- /**
3141
- * <p>Use this structure to specify the VPC subnets and security groups for the task, and
3142
- * whether a public IP address is to be used. This structure is relevant only for ECS tasks that
3143
- * use the <code>awsvpc</code> network mode.</p>
3144
- */
3145
- awsvpcConfiguration?: AwsVpcConfiguration;
3146
- }
3147
-
3148
- export namespace NetworkConfiguration {
3149
- /**
3150
- * @internal
3151
- */
3152
- export const filterSensitiveLog = (obj: NetworkConfiguration): any => ({
3153
- ...obj,
3154
- });
3155
- }
3156
-
3157
- export enum PlacementConstraintType {
3158
- DISTINCT_INSTANCE = "distinctInstance",
3159
- MEMBER_OF = "memberOf",
3160
- }
3161
-
3162
- /**
3163
- * <p>An object representing a constraint on task placement. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html">Task Placement Constraints</a> in the Amazon Elastic Container Service Developer
3164
- * Guide.</p>
3165
- */
3166
- export interface PlacementConstraint {
3167
- /**
3168
- * <p>The type of constraint. Use distinctInstance to ensure that each task in a particular
3169
- * group is running on a different container instance. Use memberOf to restrict the selection to
3170
- * a group of valid candidates. </p>
3171
- */
3172
- type?: PlacementConstraintType | string;
3173
-
3174
- /**
3175
- * <p>A cluster query language expression to apply to the constraint. You cannot specify an
3176
- * expression if the constraint type is <code>distinctInstance</code>. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html">Cluster Query Language</a> in the Amazon Elastic Container Service Developer Guide.
3177
- * </p>
3178
- */
3179
- expression?: string;
3180
- }
3181
-
3182
- export namespace PlacementConstraint {
3183
- /**
3184
- * @internal
3185
- */
3186
- export const filterSensitiveLog = (obj: PlacementConstraint): any => ({
3187
- ...obj,
3188
- });
3189
- }
3190
-
3191
- export enum PlacementStrategyType {
3192
- BINPACK = "binpack",
3193
- RANDOM = "random",
3194
- SPREAD = "spread",
3195
- }
3196
-
3197
- /**
3198
- * <p>The task placement strategy for a task or service. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html">Task Placement Strategies</a> in the Amazon Elastic Container Service Service Developer
3199
- * Guide.</p>
3200
- */
3201
- export interface PlacementStrategy {
3202
- /**
3203
- * <p>The type of placement strategy. The random placement strategy randomly places tasks on
3204
- * available candidates. The spread placement strategy spreads placement across available
3205
- * candidates evenly based on the field parameter. The binpack strategy places tasks on available
3206
- * candidates that have the least available amount of the resource that is specified with the
3207
- * field parameter. For example, if you binpack on memory, a task is placed on the instance with
3208
- * the least amount of remaining memory (but still enough to run the task). </p>
3209
- */
3210
- type?: PlacementStrategyType | string;
3211
-
3212
- /**
3213
- * <p>The field to apply the placement strategy against. For the spread placement strategy,
3214
- * valid values are instanceId (or host, which has the same effect), or any platform or custom
3215
- * attribute that is applied to a container instance, such as attribute:ecs.availability-zone.
3216
- * For the binpack placement strategy, valid values are cpu and memory. For the random placement
3217
- * strategy, this field is not used. </p>
3218
- */
3219
- field?: string;
3220
- }
3221
-
3222
- export namespace PlacementStrategy {
3223
- /**
3224
- * @internal
3225
- */
3226
- export const filterSensitiveLog = (obj: PlacementStrategy): any => ({
3227
- ...obj,
3228
- });
3229
- }
3230
-
3231
- export enum PropagateTags {
3232
- TASK_DEFINITION = "TASK_DEFINITION",
3233
- }
3234
-
3235
- /**
3236
- * <p>The custom parameters to be used when the target is an Amazon ECS task.</p>
3237
- */
3238
- export interface EcsParameters {
3239
- /**
3240
- * <p>The ARN of the task definition to use if the event target is an Amazon ECS task. </p>
3241
- */
3242
- TaskDefinitionArn: string | undefined;
3243
-
3244
- /**
3245
- * <p>The number of tasks to create based on <code>TaskDefinition</code>. The default is
3246
- * 1.</p>
3247
- */
3248
- TaskCount?: number;
3249
-
3250
- /**
3251
- * <p>Specifies the launch type on which your task is running. The launch type that you specify
3252
- * here must match one of the launch type (compatibilities) of the target task. The
3253
- * <code>FARGATE</code> value is supported only in the Regions where Fargate witt Amazon ECS
3254
- * is supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html">Fargate on Amazon ECS</a> in
3255
- * the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3256
- */
3257
- LaunchType?: LaunchType | string;
3258
-
3259
- /**
3260
- * <p>Use this structure if the Amazon ECS task uses the <code>awsvpc</code> network mode. This
3261
- * structure specifies the VPC subnets and security groups associated with the task, and whether
3262
- * a public IP address is to be used. This structure is required if <code>LaunchType</code> is
3263
- * <code>FARGATE</code> because the <code>awsvpc</code> mode is required for Fargate
3264
- * tasks.</p>
3265
- * <p>If you specify <code>NetworkConfiguration</code> when the target ECS task does not use the
3266
- * <code>awsvpc</code> network mode, the task fails.</p>
3267
- */
3268
- NetworkConfiguration?: NetworkConfiguration;
3269
-
3270
- /**
3271
- * <p>Specifies the platform version for the task. Specify only the numeric portion of the
3272
- * platform version, such as <code>1.1.0</code>.</p>
3273
- * <p>This structure is used only if <code>LaunchType</code> is <code>FARGATE</code>. For more
3274
- * information about valid platform versions, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html">Fargate Platform
3275
- * Versions</a> in the <i>Amazon Elastic Container Service Developer
3276
- * Guide</i>.</p>
3277
- */
3278
- PlatformVersion?: string;
3279
-
3280
- /**
3281
- * <p>Specifies an ECS task group for the task. The maximum length is 255 characters.</p>
3282
- */
3283
- Group?: string;
3284
-
3285
- /**
3286
- * <p>The capacity provider strategy to use for the task.</p>
3287
- * <p>If a <code>capacityProviderStrategy</code> is specified, the <code>launchType</code>
3288
- * parameter must be omitted. If no <code>capacityProviderStrategy</code> or launchType is
3289
- * specified, the <code>defaultCapacityProviderStrategy</code> for the cluster is used. </p>
3290
- */
3291
- CapacityProviderStrategy?: CapacityProviderStrategyItem[];
3292
-
3293
- /**
3294
- * <p>Specifies whether to enable Amazon ECS managed tags for the task. For more information,
3295
- * see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS Resources</a> in the Amazon Elastic Container Service Developer
3296
- * Guide. </p>
3297
- */
3298
- EnableECSManagedTags?: boolean;
3299
-
3300
- /**
3301
- * <p>Whether or not to enable the execute command functionality for the containers in this
3302
- * task. If true, this enables execute command functionality on all containers in the
3303
- * task.</p>
3304
- */
3305
- EnableExecuteCommand?: boolean;
3306
-
3307
- /**
3308
- * <p>An array of placement constraint objects to use for the task. You can specify up to 10
3309
- * constraints per task (including constraints in the task definition and those specified at
3310
- * runtime).</p>
3311
- */
3312
- PlacementConstraints?: PlacementConstraint[];
3313
-
3314
- /**
3315
- * <p>The placement strategy objects to use for the task. You can specify a maximum of five
3316
- * strategy rules per task. </p>
3317
- */
3318
- PlacementStrategy?: PlacementStrategy[];
3319
-
3320
- /**
3321
- * <p>Specifies whether to propagate the tags from the task definition to the task. If no value
3322
- * is specified, the tags are not propagated. Tags can only be propagated to the task during task
3323
- * creation. To add tags to a task after task creation, use the TagResource API action. </p>
3324
- */
3325
- PropagateTags?: PropagateTags | string;
3326
-
3327
- /**
3328
- * <p>The reference ID to use for the task.</p>
3329
- */
3330
- ReferenceId?: string;
3331
-
3332
- /**
3333
- * <p>The metadata that you apply to the task to help you categorize and organize them. Each tag
3334
- * consists of a key and an optional value, both of which you define. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags">RunTask</a> in the Amazon ECS API Reference.</p>
3335
- */
3336
- Tags?: Tag[];
3337
- }
3338
-
3339
- export namespace EcsParameters {
3340
- /**
3341
- * @internal
3342
- */
3343
- export const filterSensitiveLog = (obj: EcsParameters): any => ({
3344
- ...obj,
3345
- });
3346
- }
3347
-
3348
- /**
3349
- * <p>These are custom parameter to be used when the target is an API Gateway REST APIs or
3350
- * EventBridge ApiDestinations. In the latter case, these are merged with any
3351
- * InvocationParameters specified on the Connection, with any values from the Connection taking
3352
- * precedence.</p>
3353
- */
3354
- export interface HttpParameters {
3355
- /**
3356
- * <p>The path parameter values to be used to populate API Gateway REST API or EventBridge
3357
- * ApiDestination path wildcards ("*").</p>
3358
- */
3359
- PathParameterValues?: string[];
3360
-
3361
- /**
3362
- * <p>The headers that need to be sent as part of request invoking the API Gateway REST API or
3363
- * EventBridge ApiDestination.</p>
3364
- */
3365
- HeaderParameters?: { [key: string]: string };
3366
-
3367
- /**
3368
- * <p>The query string keys/values that need to be sent as part of request invoking the API Gateway
3369
- * REST API or EventBridge ApiDestination.</p>
3370
- */
3371
- QueryStringParameters?: { [key: string]: string };
3372
- }
3373
-
3374
- export namespace HttpParameters {
3375
- /**
3376
- * @internal
3377
- */
3378
- export const filterSensitiveLog = (obj: HttpParameters): any => ({
3379
- ...obj,
3380
- });
3381
- }
3382
-
3383
- /**
3384
- * <p>Contains the parameters needed for you to provide custom input to a target based on one or
3385
- * more pieces of data extracted from the event.</p>
3386
- */
3387
- export interface InputTransformer {
3388
- /**
3389
- * <p>Map of JSON paths to be extracted from the event. You can then insert these in the
3390
- * template in <code>InputTemplate</code> to produce the output you want to be sent to the
3391
- * target.</p>
3392
- * <p>
3393
- * <code>InputPathsMap</code> is an array key-value pairs, where each value is a valid JSON
3394
- * path. You can have as many as 100 key-value pairs. You must use JSON dot notation, not bracket
3395
- * notation.</p>
3396
- * <p>The keys cannot start with "Amazon Web Services." </p>
3397
- */
3398
- InputPathsMap?: { [key: string]: string };
3399
-
3400
- /**
3401
- * <p>Input template where you specify placeholders that will be filled with the values of the
3402
- * keys from <code>InputPathsMap</code> to customize the data sent to the target. Enclose each
3403
- * <code>InputPathsMaps</code> value in brackets: <<i>value</i>> The
3404
- * InputTemplate must be valid JSON.</p>
3405
- *
3406
- * <p>If <code>InputTemplate</code> is a JSON object (surrounded by curly braces), the following
3407
- * restrictions apply:</p>
3408
- * <ul>
3409
- * <li>
3410
- * <p>The placeholder cannot be used as an object key.</p>
3411
- * </li>
3412
- * </ul>
3413
- * <p>The following example shows the syntax for using <code>InputPathsMap</code> and
3414
- * <code>InputTemplate</code>.</p>
3415
- * <p>
3416
- * <code> "InputTransformer":</code>
3417
- * </p>
3418
- * <p>
3419
- * <code>{</code>
3420
- * </p>
3421
- * <p>
3422
- * <code>"InputPathsMap": {"instance": "$.detail.instance","status":
3423
- * "$.detail.status"},</code>
3424
- * </p>
3425
- * <p>
3426
- * <code>"InputTemplate": "<instance> is in state <status>"</code>
3427
- * </p>
3428
- * <p>
3429
- * <code>}</code>
3430
- * </p>
3431
- * <p>To have the <code>InputTemplate</code> include quote marks within a JSON string, escape
3432
- * each quote marks with a slash, as in the following example:</p>
3433
- * <p>
3434
- * <code> "InputTransformer":</code>
3435
- * </p>
3436
- * <p>
3437
- * <code>{</code>
3438
- * </p>
3439
- * <p>
3440
- * <code>"InputPathsMap": {"instance": "$.detail.instance","status":
3441
- * "$.detail.status"},</code>
3442
- * </p>
3443
- * <p>
3444
- * <code>"InputTemplate": "<instance> is in state \"<status>\""</code>
3445
- * </p>
3446
- * <p>
3447
- * <code>}</code>
3448
- * </p>
3449
- * <p>The <code>InputTemplate</code> can also be valid JSON with varibles in quotes or out, as
3450
- * in the following example:</p>
3451
- * <p>
3452
- * <code> "InputTransformer":</code>
3453
- * </p>
3454
- * <p>
3455
- * <code>{</code>
3456
- * </p>
3457
- * <p>
3458
- * <code>"InputPathsMap": {"instance": "$.detail.instance","status":
3459
- * "$.detail.status"},</code>
3460
- * </p>
3461
- * <p>
3462
- * <code>"InputTemplate": '{"myInstance": <instance>,"myStatus": "<instance> is
3463
- * in state \"<status>\""}'</code>
3464
- * </p>
3465
- * <p>
3466
- * <code>}</code>
3467
- * </p>
3468
- */
3469
- InputTemplate: string | undefined;
3470
- }
3471
-
3472
- export namespace InputTransformer {
3473
- /**
3474
- * @internal
3475
- */
3476
- export const filterSensitiveLog = (obj: InputTransformer): any => ({
3477
- ...obj,
3478
- });
3479
- }
3480
-
3481
- /**
3482
- * <p>This object enables you to specify a JSON path to extract from the event and use as the
3483
- * partition key for the Amazon Kinesis data stream, so that you can control the shard to which
3484
- * the event goes. If you do not include this parameter, the default is to use the
3485
- * <code>eventId</code> as the partition key.</p>
3486
- */
3487
- export interface KinesisParameters {
3488
- /**
3489
- * <p>The JSON path to be extracted from the event and used as the partition key. For more
3490
- * information, see <a href="https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key">Amazon Kinesis Streams Key
3491
- * Concepts</a> in the <i>Amazon Kinesis Streams Developer Guide</i>.</p>
3492
- */
3493
- PartitionKeyPath: string | undefined;
3494
- }
3495
-
3496
- export namespace KinesisParameters {
3497
- /**
3498
- * @internal
3499
- */
3500
- export const filterSensitiveLog = (obj: KinesisParameters): any => ({
3501
- ...obj,
3502
- });
3503
- }
3504
-
3505
- /**
3506
- * <p>These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the
3507
- * Amazon Redshift Data API ExecuteStatement based on EventBridge events.</p>
3508
- */
3509
- export interface RedshiftDataParameters {
3510
- /**
3511
- * <p>The name or ARN of the secret that enables access to the database. Required when
3512
- * authenticating using Amazon Web Services Secrets Manager.</p>
3513
- */
3514
- SecretManagerArn?: string;
3515
-
3516
- /**
3517
- * <p>The name of the database. Required when authenticating using temporary credentials.</p>
3518
- */
3519
- Database: string | undefined;
3520
-
3521
- /**
3522
- * <p>The database user name. Required when authenticating using temporary credentials.</p>
3523
- */
3524
- DbUser?: string;
3525
-
3526
- /**
3527
- * <p>The SQL statement text to run.</p>
3528
- */
3529
- Sql: string | undefined;
3530
-
3531
- /**
3532
- * <p>The name of the SQL statement. You can name the SQL statement when you create it to
3533
- * identify the query.</p>
3534
- */
3535
- StatementName?: string;
3536
-
3537
- /**
3538
- * <p>Indicates whether to send an event back to EventBridge after the SQL statement
3539
- * runs.</p>
3540
- */
3541
- WithEvent?: boolean;
3542
- }
3543
-
3544
- export namespace RedshiftDataParameters {
3545
- /**
3546
- * @internal
3547
- */
3548
- export const filterSensitiveLog = (obj: RedshiftDataParameters): any => ({
3549
- ...obj,
3550
- });
3551
- }
3552
-
3553
- /**
3554
- * <p>A <code>RetryPolicy</code> object that includes information about the retry policy
3555
- * settings.</p>
3556
- */
3557
- export interface RetryPolicy {
3558
- /**
3559
- * <p>The maximum number of retry attempts to make before the request fails. Retry attempts
3560
- * continue until either the maximum number of attempts is made or until the duration of the
3561
- * <code>MaximumEventAgeInSeconds</code> is met.</p>
3562
- */
3563
- MaximumRetryAttempts?: number;
3564
-
3565
- /**
3566
- * <p>The maximum amount of time, in seconds, to continue to make retry attempts.</p>
3567
- */
3568
- MaximumEventAgeInSeconds?: number;
3569
- }
3570
-
3571
- export namespace RetryPolicy {
3572
- /**
3573
- * @internal
3574
- */
3575
- export const filterSensitiveLog = (obj: RetryPolicy): any => ({
3576
- ...obj,
3577
- });
3578
- }
3579
-
3580
- /**
3581
- * <p>Information about the EC2 instances that are to be sent the command, specified as
3582
- * key-value pairs. Each <code>RunCommandTarget</code> block can include only one key, but this
3583
- * key may specify multiple values.</p>
3584
- */
3585
- export interface RunCommandTarget {
3586
- /**
3587
- * <p>Can be either <code>tag:</code>
3588
- * <i>tag-key</i> or
3589
- * <code>InstanceIds</code>.</p>
3590
- */
3591
- Key: string | undefined;
3592
-
3593
- /**
3594
- * <p>If <code>Key</code> is <code>tag:</code>
3595
- * <i>tag-key</i>, <code>Values</code>
3596
- * is a list of tag values. If <code>Key</code> is <code>InstanceIds</code>, <code>Values</code>
3597
- * is a list of Amazon EC2 instance IDs.</p>
3598
- */
3599
- Values: string[] | undefined;
3600
- }
3601
-
3602
- export namespace RunCommandTarget {
3603
- /**
3604
- * @internal
3605
- */
3606
- export const filterSensitiveLog = (obj: RunCommandTarget): any => ({
3607
- ...obj,
3608
- });
3609
- }
3610
-
3611
- /**
3612
- * <p>This parameter contains the criteria (either InstanceIds or a tag) used to specify which
3613
- * EC2 instances are to be sent the command. </p>
3614
- */
3615
- export interface RunCommandParameters {
3616
- /**
3617
- * <p>Currently, we support including only one RunCommandTarget block, which specifies either an
3618
- * array of InstanceIds or a tag.</p>
3619
- */
3620
- RunCommandTargets: RunCommandTarget[] | undefined;
3621
- }
3622
-
3623
- export namespace RunCommandParameters {
3624
- /**
3625
- * @internal
3626
- */
3627
- export const filterSensitiveLog = (obj: RunCommandParameters): any => ({
3628
- ...obj,
3629
- });
3630
- }
3631
-
3632
- /**
3633
- * <p>Name/Value pair of a parameter to start execution of a SageMaker Model Building
3634
- * Pipeline.</p>
3635
- */
3636
- export interface SageMakerPipelineParameter {
3637
- /**
3638
- * <p>Name of parameter to start execution of a SageMaker Model Building Pipeline.</p>
3639
- */
3640
- Name: string | undefined;
3641
-
3642
- /**
3643
- * <p>Value of parameter to start execution of a SageMaker Model Building Pipeline.</p>
3644
- */
3645
- Value: string | undefined;
3646
- }
3647
-
3648
- export namespace SageMakerPipelineParameter {
3649
- /**
3650
- * @internal
3651
- */
3652
- export const filterSensitiveLog = (obj: SageMakerPipelineParameter): any => ({
3653
- ...obj,
3654
- });
3655
- }
3656
-
3657
- /**
3658
- * <p>These are custom parameters to use when the target is a SageMaker Model Building Pipeline
3659
- * that starts based on EventBridge events.</p>
3660
- */
3661
- export interface SageMakerPipelineParameters {
3662
- /**
3663
- * <p>List of Parameter names and values for SageMaker Model Building Pipeline execution.</p>
3664
- */
3665
- PipelineParameterList?: SageMakerPipelineParameter[];
3666
- }
3667
-
3668
- export namespace SageMakerPipelineParameters {
3669
- /**
3670
- * @internal
3671
- */
3672
- export const filterSensitiveLog = (obj: SageMakerPipelineParameters): any => ({
3673
- ...obj,
3674
- });
3675
- }
3676
-
3677
- /**
3678
- * <p>This structure includes the custom parameter to be used when the target is an SQS FIFO
3679
- * queue.</p>
3680
- */
3681
- export interface SqsParameters {
3682
- /**
3683
- * <p>The FIFO message group ID to use as the target.</p>
3684
- */
3685
- MessageGroupId?: string;
3686
- }
3687
-
3688
- export namespace SqsParameters {
3689
- /**
3690
- * @internal
3691
- */
3692
- export const filterSensitiveLog = (obj: SqsParameters): any => ({
3693
- ...obj,
3694
- });
3695
- }
3696
-
3697
- /**
3698
- * <p>Targets are the resources to be invoked when a rule is triggered. For a complete list of
3699
- * services and resources that can be set as a target, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutTargets.html">PutTargets</a>.</p>
3700
- *
3701
- * <p>If you are setting the event bus of another account as the target, and that account
3702
- * granted permission to your account through an organization instead of directly by the account
3703
- * ID, then you must specify a <code>RoleArn</code> with proper permissions in the
3704
- * <code>Target</code> structure. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html">Sending and
3705
- * Receiving Events Between Amazon Web Services Accounts</a> in the <i>Amazon EventBridge User
3706
- * Guide</i>.</p>
3707
- */
3708
- export interface Target {
3709
- /**
3710
- * <p>The ID of the target. We recommend using a memorable and unique string.</p>
3711
- */
3712
- Id: string | undefined;
3713
-
3714
- /**
3715
- * <p>The Amazon Resource Name (ARN) of the target.</p>
3716
- */
3717
- Arn: string | undefined;
3718
-
3719
- /**
3720
- * <p>The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is
3721
- * triggered. If one rule triggers multiple targets, you can use a different IAM role for each
3722
- * target.</p>
3723
- */
3724
- RoleArn?: string;
3725
-
3726
- /**
3727
- * <p>Valid JSON text passed to the target. In this case, nothing from the event itself is
3728
- * passed to the target. For more information, see <a href="http://www.rfc-editor.org/rfc/rfc7159.txt">The JavaScript Object Notation (JSON) Data
3729
- * Interchange Format</a>.</p>
3730
- */
3731
- Input?: string;
3732
-
3733
- /**
3734
- * <p>The value of the JSONPath that is used for extracting part of the matched event when
3735
- * passing it to the target. You must use JSON dot notation, not bracket notation. For more
3736
- * information about JSON paths, see <a href="http://goessner.net/articles/JsonPath/">JSONPath</a>.</p>
3737
- */
3738
- InputPath?: string;
3739
-
3740
- /**
3741
- * <p>Settings to enable you to provide custom input to a target based on certain event data.
3742
- * You can extract one or more key-value pairs from the event and then use that data to send
3743
- * customized input to the target.</p>
3744
- */
3745
- InputTransformer?: InputTransformer;
3746
-
3747
- /**
3748
- * <p>The custom parameter you can use to control the shard assignment, when the target is a
3749
- * Kinesis data stream. If you do not include this parameter, the default is to use the
3750
- * <code>eventId</code> as the partition key.</p>
3751
- */
3752
- KinesisParameters?: KinesisParameters;
3753
-
3754
- /**
3755
- * <p>Parameters used when you are using the rule to invoke Amazon EC2 Run Command.</p>
3756
- */
3757
- RunCommandParameters?: RunCommandParameters;
3758
-
3759
- /**
3760
- * <p>Contains the Amazon ECS task definition and task count to be used, if the event target is
3761
- * an Amazon ECS task. For more information about Amazon ECS tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Task
3762
- * Definitions </a> in the <i>Amazon EC2 Container Service Developer
3763
- * Guide</i>.</p>
3764
- */
3765
- EcsParameters?: EcsParameters;
3766
-
3767
- /**
3768
- * <p>If the event target is an Batch job, this contains the job definition, job name, and
3769
- * other parameters. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/jobs.html">Jobs</a> in the <i>Batch User
3770
- * Guide</i>.</p>
3771
- */
3772
- BatchParameters?: BatchParameters;
3773
-
3774
- /**
3775
- * <p>Contains the message group ID to use when the target is a FIFO queue.</p>
3776
- * <p>If you specify an SQS FIFO queue as a target, the queue must have content-based
3777
- * deduplication enabled.</p>
3778
- */
3779
- SqsParameters?: SqsParameters;
3780
-
3781
- /**
3782
- * <p>Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or
3783
- * EventBridge ApiDestination.</p>
3784
- * <p>If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can
3785
- * use this parameter to specify headers, path parameters, and query string keys/values as part
3786
- * of your target invoking request. If you're using ApiDestinations, the corresponding Connection
3787
- * can also have these values configured. In case of any conflicting keys, values from the
3788
- * Connection take precedence.</p>
3789
- */
3790
- HttpParameters?: HttpParameters;
3791
-
3792
- /**
3793
- * <p>Contains the Amazon Redshift Data API parameters to use when the target is a Amazon Redshift
3794
- * cluster.</p>
3795
- * <p>If you specify a Amazon Redshift Cluster as a Target, you can use this to specify parameters to
3796
- * invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.</p>
3797
- */
3798
- RedshiftDataParameters?: RedshiftDataParameters;
3799
-
3800
- /**
3801
- * <p>Contains the SageMaker Model Building Pipeline parameters to start execution of a
3802
- * SageMaker Model Building Pipeline.</p>
3803
- * <p>If you specify a SageMaker Model Building Pipeline as a target, you can use this to
3804
- * specify parameters to start a pipeline execution based on EventBridge events.</p>
3805
- */
3806
- SageMakerPipelineParameters?: SageMakerPipelineParameters;
3807
-
3808
- /**
3809
- * <p>The <code>DeadLetterConfig</code> that defines the target queue to send dead-letter queue
3810
- * events to.</p>
3811
- */
3812
- DeadLetterConfig?: DeadLetterConfig;
3813
-
3814
- /**
3815
- * <p>The <code>RetryPolicy</code> object that contains the retry policy configuration to use
3816
- * for the dead-letter queue.</p>
3817
- */
3818
- RetryPolicy?: RetryPolicy;
3819
- }
3820
-
3821
- export namespace Target {
3822
- /**
3823
- * @internal
3824
- */
3825
- export const filterSensitiveLog = (obj: Target): any => ({
3826
- ...obj,
3827
- });
3828
- }
3829
-
3830
- export interface ListTargetsByRuleResponse {
3831
- /**
3832
- * <p>The targets assigned to the rule.</p>
3833
- */
3834
- Targets?: Target[];
3835
-
3836
- /**
3837
- * <p>Indicates whether there are additional results to retrieve. If there are no more results,
3838
- * the value is null.</p>
3839
- */
3840
- NextToken?: string;
3841
- }
3842
-
3843
- export namespace ListTargetsByRuleResponse {
3844
- /**
3845
- * @internal
3846
- */
3847
- export const filterSensitiveLog = (obj: ListTargetsByRuleResponse): any => ({
3848
- ...obj,
3849
- });
3850
- }
3851
-
3852
- /**
3853
- * <p>Represents an event to be submitted.</p>
3854
- */
3855
- export interface PutEventsRequestEntry {
3856
- /**
3857
- * <p>The time stamp of the event, per <a href="https://www.rfc-editor.org/rfc/rfc3339.txt">RFC3339</a>. If no time stamp is provided, the time stamp of the <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html">PutEvents</a> call is used.</p>
3858
- */
3859
- Time?: Date;
3860
-
3861
- /**
3862
- * <p>The source of the event.</p>
3863
- */
3864
- Source?: string;
3865
-
3866
- /**
3867
- * <p>Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
3868
- * concerns. Any number, including zero, may be present.</p>
3869
- */
3870
- Resources?: string[];
3871
-
3872
- /**
3873
- * <p>Free-form string used to decide what fields to expect in the event detail.</p>
3874
- */
3875
- DetailType?: string;
3876
-
3877
- /**
3878
- * <p>A valid JSON string. There is no other schema imposed. The JSON string may contain fields
3879
- * and nested subobjects.</p>
3880
- */
3881
- Detail?: string;
3882
-
3883
- /**
3884
- * <p>The name or ARN of the event bus to receive the event. Only the rules that are associated
3885
- * with this event bus are used to match the event. If you omit this, the default event bus is
3886
- * used.</p>
3887
- */
3888
- EventBusName?: string;
3889
-
3890
- /**
3891
- * <p>An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains the
3892
- * trace-id associated with the event.</p>
3893
- * <p>To learn more about X-Ray trace headers, see <a href="https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader">Tracing header</a> in the X-Ray Developer Guide.</p>
3894
- */
3895
- TraceHeader?: string;
3896
- }
3897
-
3898
- export namespace PutEventsRequestEntry {
3899
- /**
3900
- * @internal
3901
- */
3902
- export const filterSensitiveLog = (obj: PutEventsRequestEntry): any => ({
3903
- ...obj,
3904
- });
3905
- }
3906
-
3907
- export interface PutEventsRequest {
3908
- /**
3909
- * <p>The entry that defines an event in your system. You can specify several parameters for the
3910
- * entry such as the source and type of the event, resources associated with the event, and so
3911
- * on.</p>
3912
- */
3913
- Entries: PutEventsRequestEntry[] | undefined;
3914
- }
3915
-
3916
- export namespace PutEventsRequest {
3917
- /**
3918
- * @internal
3919
- */
3920
- export const filterSensitiveLog = (obj: PutEventsRequest): any => ({
3921
- ...obj,
3922
- });
3923
- }
3924
-
3925
- /**
3926
- * <p>Represents an event that failed to be submitted.</p>
3927
- */
3928
- export interface PutEventsResultEntry {
3929
- /**
3930
- * <p>The ID of the event.</p>
3931
- */
3932
- EventId?: string;
3933
-
3934
- /**
3935
- * <p>The error code that indicates why the event submission failed.</p>
3936
- */
3937
- ErrorCode?: string;
3938
-
3939
- /**
3940
- * <p>The error message that explains why the event submission failed.</p>
3941
- */
3942
- ErrorMessage?: string;
3943
- }
3944
-
3945
- export namespace PutEventsResultEntry {
3946
- /**
3947
- * @internal
3948
- */
3949
- export const filterSensitiveLog = (obj: PutEventsResultEntry): any => ({
3950
- ...obj,
3951
- });
3952
- }
3953
-
3954
- export interface PutEventsResponse {
3955
- /**
3956
- * <p>The number of failed entries.</p>
3957
- */
3958
- FailedEntryCount?: number;
3959
-
3960
- /**
3961
- * <p>The successfully and unsuccessfully ingested events results. If the ingestion was
3962
- * successful, the entry has the event ID in it. Otherwise, you can use the error code and error
3963
- * message to identify the problem with the entry.</p>
3964
- */
3965
- Entries?: PutEventsResultEntry[];
3966
- }
3967
-
3968
- export namespace PutEventsResponse {
3969
- /**
3970
- * @internal
3971
- */
3972
- export const filterSensitiveLog = (obj: PutEventsResponse): any => ({
3973
- ...obj,
3974
- });
3975
- }
3976
-
3977
- /**
3978
- * <p>The details about an event generated by an SaaS partner.</p>
3979
- */
3980
- export interface PutPartnerEventsRequestEntry {
3981
- /**
3982
- * <p>The date and time of the event.</p>
3983
- */
3984
- Time?: Date;
3985
-
3986
- /**
3987
- * <p>The event source that is generating the entry.</p>
3988
- */
3989
- Source?: string;
3990
-
3991
- /**
3992
- * <p>Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily
3993
- * concerns. Any number, including zero, may be present.</p>
3994
- */
3995
- Resources?: string[];
3996
-
3997
- /**
3998
- * <p>A free-form string used to decide what fields to expect in the event detail.</p>
3999
- */
4000
- DetailType?: string;
4001
-
4002
- /**
4003
- * <p>A valid JSON string. There is no other schema imposed. The JSON string may contain fields
4004
- * and nested subobjects.</p>
4005
- */
4006
- Detail?: string;
4007
- }
4008
-
4009
- export namespace PutPartnerEventsRequestEntry {
4010
- /**
4011
- * @internal
4012
- */
4013
- export const filterSensitiveLog = (obj: PutPartnerEventsRequestEntry): any => ({
4014
- ...obj,
4015
- });
4016
- }
4017
-
4018
- export interface PutPartnerEventsRequest {
4019
- /**
4020
- * <p>The list of events to write to the event bus.</p>
4021
- */
4022
- Entries: PutPartnerEventsRequestEntry[] | undefined;
4023
- }
4024
-
4025
- export namespace PutPartnerEventsRequest {
4026
- /**
4027
- * @internal
4028
- */
4029
- export const filterSensitiveLog = (obj: PutPartnerEventsRequest): any => ({
4030
- ...obj,
4031
- });
4032
- }
4033
-
4034
- /**
4035
- * <p>Represents an event that a partner tried to generate, but failed.</p>
4036
- */
4037
- export interface PutPartnerEventsResultEntry {
4038
- /**
4039
- * <p>The ID of the event.</p>
4040
- */
4041
- EventId?: string;
4042
-
4043
- /**
4044
- * <p>The error code that indicates why the event submission failed.</p>
4045
- */
4046
- ErrorCode?: string;
4047
-
4048
- /**
4049
- * <p>The error message that explains why the event submission failed.</p>
4050
- */
4051
- ErrorMessage?: string;
4052
- }
4053
-
4054
- export namespace PutPartnerEventsResultEntry {
4055
- /**
4056
- * @internal
4057
- */
4058
- export const filterSensitiveLog = (obj: PutPartnerEventsResultEntry): any => ({
4059
- ...obj,
4060
- });
4061
- }
4062
-
4063
- export interface PutPartnerEventsResponse {
4064
- /**
4065
- * <p>The number of events from this operation that could not be written to the partner event
4066
- * bus.</p>
4067
- */
4068
- FailedEntryCount?: number;
4069
-
4070
- /**
4071
- * <p>The list of events from this operation that were successfully written to the partner event
4072
- * bus.</p>
4073
- */
4074
- Entries?: PutPartnerEventsResultEntry[];
4075
- }
4076
-
4077
- export namespace PutPartnerEventsResponse {
4078
- /**
4079
- * @internal
4080
- */
4081
- export const filterSensitiveLog = (obj: PutPartnerEventsResponse): any => ({
4082
- ...obj,
4083
- });
4084
- }
4085
-
4086
- /**
4087
- * <p>The event bus policy is too long. For more information, see the limits.</p>
4088
- */
4089
- export interface PolicyLengthExceededException extends __SmithyException, $MetadataBearer {
4090
- name: "PolicyLengthExceededException";
4091
- $fault: "client";
4092
- message?: string;
4093
- }
4094
-
4095
- export namespace PolicyLengthExceededException {
4096
- /**
4097
- * @internal
4098
- */
4099
- export const filterSensitiveLog = (obj: PolicyLengthExceededException): any => ({
4100
- ...obj,
4101
- });
4102
- }
4103
-
4104
- /**
4105
- * <p>A JSON string which you can use to limit the event bus permissions you are granting to
4106
- * only accounts that fulfill the condition. Currently, the only supported condition is
4107
- * membership in a certain Amazon Web Services organization. The string must contain <code>Type</code>,
4108
- * <code>Key</code>, and <code>Value</code> fields. The <code>Value</code> field specifies the
4109
- * ID of the Amazon Web Services organization. Following is an example value for <code>Condition</code>:</p>
4110
- * <p>
4111
- * <code>'{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value":
4112
- * "o-1234567890"}'</code>
4113
- * </p>
4114
- */
4115
- export interface Condition {
4116
- /**
4117
- * <p>Specifies the type of condition. Currently the only supported value is
4118
- * <code>StringEquals</code>.</p>
4119
- */
4120
- Type: string | undefined;
4121
-
4122
- /**
4123
- * <p>Specifies the key for the condition. Currently the only supported key is
4124
- * <code>aws:PrincipalOrgID</code>.</p>
4125
- */
4126
- Key: string | undefined;
4127
-
4128
- /**
4129
- * <p>Specifies the value for the key. Currently, this must be the ID of the
4130
- * organization.</p>
4131
- */
4132
- Value: string | undefined;
4133
- }
4134
-
4135
- export namespace Condition {
4136
- /**
4137
- * @internal
4138
- */
4139
- export const filterSensitiveLog = (obj: Condition): any => ({
4140
- ...obj,
4141
- });
4142
- }
4143
-
4144
- export interface PutPermissionRequest {
4145
- /**
4146
- * <p>The name of the event bus associated with the rule. If you omit this, the default event
4147
- * bus is used.</p>
4148
- */
4149
- EventBusName?: string;
4150
-
4151
- /**
4152
- * <p>The action that you are enabling the other account to perform.</p>
4153
- */
4154
- Action?: string;
4155
-
4156
- /**
4157
- * <p>The 12-digit Amazon Web Services account ID that you are permitting to put events to your default event
4158
- * bus. Specify "*" to permit any account to put events to your default event bus.</p>
4159
- *
4160
- * <p>If you specify "*" without specifying <code>Condition</code>, avoid creating rules that
4161
- * may match undesirable events. To create more secure rules, make sure that the event pattern
4162
- * for each rule contains an <code>account</code> field with a specific account ID from which to
4163
- * receive events. Rules with an account field do not match any events sent from other
4164
- * accounts.</p>
4165
- */
4166
- Principal?: string;
4167
-
4168
- /**
4169
- * <p>An identifier string for the external account that you are granting permissions to. If you
4170
- * later want to revoke the permission for this external account, specify this
4171
- * <code>StatementId</code> when you run <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html">RemovePermission</a>.</p>
4172
- */
4173
- StatementId?: string;
4174
-
4175
- /**
4176
- * <p>This parameter enables you to limit the permission to accounts that fulfill a certain
4177
- * condition, such as being a member of a certain Amazon Web Services organization. For more information about
4178
- * Amazon Web Services Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html">What Is Amazon Web Services
4179
- * Organizations</a> in the <i>Amazon Web Services Organizations User Guide</i>.</p>
4180
- * <p>If you specify <code>Condition</code> with an Amazon Web Services organization ID, and specify "*" as the
4181
- * value for <code>Principal</code>, you grant permission to all the accounts in the named
4182
- * organization.</p>
4183
- *
4184
- * <p>The <code>Condition</code> is a JSON string which must contain <code>Type</code>,
4185
- * <code>Key</code>, and <code>Value</code> fields.</p>
4186
- */
4187
- Condition?: Condition;
4188
-
4189
- /**
4190
- * <p>A JSON string that describes the permission policy statement. You can include a
4191
- * <code>Policy</code> parameter in the request instead of using the <code>StatementId</code>,
4192
- * <code>Action</code>, <code>Principal</code>, or <code>Condition</code> parameters.</p>
4193
- */
4194
- Policy?: string;
4195
- }
4196
-
4197
- export namespace PutPermissionRequest {
4198
- /**
4199
- * @internal
4200
- */
4201
- export const filterSensitiveLog = (obj: PutPermissionRequest): any => ({
4202
- ...obj,
4203
- });
4204
- }
4205
-
4206
- export interface PutRuleRequest {
4207
- /**
4208
- * <p>The name of the rule that you are creating or updating.</p>
4209
- */
4210
- Name: string | undefined;
4211
-
4212
- /**
4213
- * <p>The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".</p>
4214
- */
4215
- ScheduleExpression?: string;
4216
-
4217
- /**
4218
- * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
4219
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
4220
- */
4221
- EventPattern?: string;
4222
-
4223
- /**
4224
- * <p>Indicates whether the rule is enabled or disabled.</p>
4225
- */
4226
- State?: RuleState | string;
4227
-
4228
- /**
4229
- * <p>A description of the rule.</p>
4230
- */
4231
- Description?: string;
4232
-
4233
- /**
4234
- * <p>The Amazon Resource Name (ARN) of the IAM role associated with the rule.</p>
4235
- * <p>If you're setting an event bus in another account as the target and that account granted
4236
- * permission to your account through an organization instead of directly by the account ID, you
4237
- * must specify a <code>RoleArn</code> with proper permissions in the <code>Target</code>
4238
- * structure, instead of here in this parameter.</p>
4239
- */
4240
- RoleArn?: string;
4241
-
4242
- /**
4243
- * <p>The list of key-value pairs to associate with the rule.</p>
4244
- */
4245
- Tags?: Tag[];
4246
-
4247
- /**
4248
- * <p>The name or ARN of the event bus to associate with this rule. If you omit this, the
4249
- * default event bus is used.</p>
4250
- */
4251
- EventBusName?: string;
4252
- }
4253
-
4254
- export namespace PutRuleRequest {
4255
- /**
4256
- * @internal
4257
- */
4258
- export const filterSensitiveLog = (obj: PutRuleRequest): any => ({
4259
- ...obj,
4260
- });
4261
- }
4262
-
4263
- export interface PutRuleResponse {
4264
- /**
4265
- * <p>The Amazon Resource Name (ARN) of the rule.</p>
4266
- */
4267
- RuleArn?: string;
4268
- }
4269
-
4270
- export namespace PutRuleResponse {
4271
- /**
4272
- * @internal
4273
- */
4274
- export const filterSensitiveLog = (obj: PutRuleResponse): any => ({
4275
- ...obj,
4276
- });
4277
- }
4278
-
4279
- export interface PutTargetsRequest {
4280
- /**
4281
- * <p>The name of the rule.</p>
4282
- */
4283
- Rule: string | undefined;
4284
-
4285
- /**
4286
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
4287
- * event bus is used.</p>
4288
- */
4289
- EventBusName?: string;
4290
-
4291
- /**
4292
- * <p>The targets to update or add to the rule.</p>
4293
- */
4294
- Targets: Target[] | undefined;
4295
- }
4296
-
4297
- export namespace PutTargetsRequest {
4298
- /**
4299
- * @internal
4300
- */
4301
- export const filterSensitiveLog = (obj: PutTargetsRequest): any => ({
4302
- ...obj,
4303
- });
4304
- }
4305
-
4306
- /**
4307
- * <p>Represents a target that failed to be added to a rule.</p>
4308
- */
4309
- export interface PutTargetsResultEntry {
4310
- /**
4311
- * <p>The ID of the target.</p>
4312
- */
4313
- TargetId?: string;
4314
-
4315
- /**
4316
- * <p>The error code that indicates why the target addition failed. If the value is
4317
- * <code>ConcurrentModificationException</code>, too many requests were made at the same
4318
- * time.</p>
4319
- */
4320
- ErrorCode?: string;
4321
-
4322
- /**
4323
- * <p>The error message that explains why the target addition failed.</p>
4324
- */
4325
- ErrorMessage?: string;
4326
- }
4327
-
4328
- export namespace PutTargetsResultEntry {
4329
- /**
4330
- * @internal
4331
- */
4332
- export const filterSensitiveLog = (obj: PutTargetsResultEntry): any => ({
4333
- ...obj,
4334
- });
4335
- }
4336
-
4337
- export interface PutTargetsResponse {
4338
- /**
4339
- * <p>The number of failed entries.</p>
4340
- */
4341
- FailedEntryCount?: number;
4342
-
4343
- /**
4344
- * <p>The failed target entries.</p>
4345
- */
4346
- FailedEntries?: PutTargetsResultEntry[];
4347
- }
4348
-
4349
- export namespace PutTargetsResponse {
4350
- /**
4351
- * @internal
4352
- */
4353
- export const filterSensitiveLog = (obj: PutTargetsResponse): any => ({
4354
- ...obj,
4355
- });
4356
- }
4357
-
4358
- export interface RemovePermissionRequest {
4359
- /**
4360
- * <p>The statement ID corresponding to the account that is no longer allowed to put events to
4361
- * the default event bus.</p>
4362
- */
4363
- StatementId?: string;
4364
-
4365
- /**
4366
- * <p>Specifies whether to remove all permissions.</p>
4367
- */
4368
- RemoveAllPermissions?: boolean;
4369
-
4370
- /**
4371
- * <p>The name of the event bus to revoke permissions for. If you omit this, the default event
4372
- * bus is used.</p>
4373
- */
4374
- EventBusName?: string;
4375
- }
4376
-
4377
- export namespace RemovePermissionRequest {
4378
- /**
4379
- * @internal
4380
- */
4381
- export const filterSensitiveLog = (obj: RemovePermissionRequest): any => ({
4382
- ...obj,
4383
- });
4384
- }
4385
-
4386
- export interface RemoveTargetsRequest {
4387
- /**
4388
- * <p>The name of the rule.</p>
4389
- */
4390
- Rule: string | undefined;
4391
-
4392
- /**
4393
- * <p>The name or ARN of the event bus associated with the rule. If you omit this, the default
4394
- * event bus is used.</p>
4395
- */
4396
- EventBusName?: string;
4397
-
4398
- /**
4399
- * <p>The IDs of the targets to remove from the rule.</p>
4400
- */
4401
- Ids: string[] | undefined;
4402
-
4403
- /**
4404
- * <p>If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
4405
- * <code>Force</code> as <code>True</code> to remove targets. This parameter is ignored for
4406
- * rules that are not managed rules. You can check whether a rule is a managed rule by using
4407
- * <code>DescribeRule</code> or <code>ListRules</code> and checking the <code>ManagedBy</code>
4408
- * field of the response.</p>
4409
- */
4410
- Force?: boolean;
4411
- }
4412
-
4413
- export namespace RemoveTargetsRequest {
4414
- /**
4415
- * @internal
4416
- */
4417
- export const filterSensitiveLog = (obj: RemoveTargetsRequest): any => ({
4418
- ...obj,
4419
- });
4420
- }
4421
-
4422
- /**
4423
- * <p>Represents a target that failed to be removed from a rule.</p>
4424
- */
4425
- export interface RemoveTargetsResultEntry {
4426
- /**
4427
- * <p>The ID of the target.</p>
4428
- */
4429
- TargetId?: string;
4430
-
4431
- /**
4432
- * <p>The error code that indicates why the target removal failed. If the value is
4433
- * <code>ConcurrentModificationException</code>, too many requests were made at the same
4434
- * time.</p>
4435
- */
4436
- ErrorCode?: string;
4437
-
4438
- /**
4439
- * <p>The error message that explains why the target removal failed.</p>
4440
- */
4441
- ErrorMessage?: string;
4442
- }
4443
-
4444
- export namespace RemoveTargetsResultEntry {
4445
- /**
4446
- * @internal
4447
- */
4448
- export const filterSensitiveLog = (obj: RemoveTargetsResultEntry): any => ({
4449
- ...obj,
4450
- });
4451
- }
4452
-
4453
- export interface RemoveTargetsResponse {
4454
- /**
4455
- * <p>The number of failed entries.</p>
4456
- */
4457
- FailedEntryCount?: number;
4458
-
4459
- /**
4460
- * <p>The failed target entries.</p>
4461
- */
4462
- FailedEntries?: RemoveTargetsResultEntry[];
4463
- }
4464
-
4465
- export namespace RemoveTargetsResponse {
4466
- /**
4467
- * @internal
4468
- */
4469
- export const filterSensitiveLog = (obj: RemoveTargetsResponse): any => ({
4470
- ...obj,
4471
- });
4472
- }
4473
-
4474
- export interface StartReplayRequest {
4475
- /**
4476
- * <p>The name of the replay to start.</p>
4477
- */
4478
- ReplayName: string | undefined;
4479
-
4480
- /**
4481
- * <p>A description for the replay to start.</p>
4482
- */
4483
- Description?: string;
4484
-
4485
- /**
4486
- * <p>The ARN of the archive to replay events from.</p>
4487
- */
4488
- EventSourceArn: string | undefined;
4489
-
4490
- /**
4491
- * <p>A time stamp for the time to start replaying events. Only events that occurred between the
4492
- * <code>EventStartTime</code> and <code>EventEndTime</code> are replayed.</p>
4493
- */
4494
- EventStartTime: Date | undefined;
4495
-
4496
- /**
4497
- * <p>A time stamp for the time to stop replaying events. Only events that occurred between the
4498
- * <code>EventStartTime</code> and <code>EventEndTime</code> are replayed.</p>
4499
- */
4500
- EventEndTime: Date | undefined;
4501
-
4502
- /**
4503
- * <p>A <code>ReplayDestination</code> object that includes details about the destination for
4504
- * the replay.</p>
4505
- */
4506
- Destination: ReplayDestination | undefined;
4507
- }
4508
-
4509
- export namespace StartReplayRequest {
4510
- /**
4511
- * @internal
4512
- */
4513
- export const filterSensitiveLog = (obj: StartReplayRequest): any => ({
4514
- ...obj,
4515
- });
4516
- }
4517
-
4518
- export interface StartReplayResponse {
4519
- /**
4520
- * <p>The ARN of the replay.</p>
4521
- */
4522
- ReplayArn?: string;
4523
-
4524
- /**
4525
- * <p>The state of the replay.</p>
4526
- */
4527
- State?: ReplayState | string;
4528
-
4529
- /**
4530
- * <p>The reason that the replay is in the state.</p>
4531
- */
4532
- StateReason?: string;
4533
-
4534
- /**
4535
- * <p>The time at which the replay started.</p>
4536
- */
4537
- ReplayStartTime?: Date;
4538
- }
4539
-
4540
- export namespace StartReplayResponse {
4541
- /**
4542
- * @internal
4543
- */
4544
- export const filterSensitiveLog = (obj: StartReplayResponse): any => ({
4545
- ...obj,
4546
- });
4547
- }
4548
-
4549
- export interface TagResourceRequest {
4550
- /**
4551
- * <p>The ARN of the EventBridge resource that you're adding tags to.</p>
4552
- */
4553
- ResourceARN: string | undefined;
4554
-
4555
- /**
4556
- * <p>The list of key-value pairs to associate with the resource.</p>
4557
- */
4558
- Tags: Tag[] | undefined;
4559
- }
4560
-
4561
- export namespace TagResourceRequest {
4562
- /**
4563
- * @internal
4564
- */
4565
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
4566
- ...obj,
4567
- });
4568
- }
4569
-
4570
- export interface TagResourceResponse {}
4571
-
4572
- export namespace TagResourceResponse {
4573
- /**
4574
- * @internal
4575
- */
4576
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
4577
- ...obj,
4578
- });
4579
- }
4580
-
4581
- export interface TestEventPatternRequest {
4582
- /**
4583
- * <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and Event
4584
- * Patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
4585
- */
4586
- EventPattern: string | undefined;
4587
-
4588
- /**
4589
- * <p>The event, in JSON format, to test against the event pattern. The JSON must follow the
4590
- * format specified in <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html">Amazon Web Services Events</a>, and the following
4591
- * fields are mandatory:</p>
4592
- * <ul>
4593
- * <li>
4594
- * <p>
4595
- * <code>id</code>
4596
- * </p>
4597
- * </li>
4598
- * <li>
4599
- * <p>
4600
- * <code>account</code>
4601
- * </p>
4602
- * </li>
4603
- * <li>
4604
- * <p>
4605
- * <code>source</code>
4606
- * </p>
4607
- * </li>
4608
- * <li>
4609
- * <p>
4610
- * <code>time</code>
4611
- * </p>
4612
- * </li>
4613
- * <li>
4614
- * <p>
4615
- * <code>region</code>
4616
- * </p>
4617
- * </li>
4618
- * <li>
4619
- * <p>
4620
- * <code>resources</code>
4621
- * </p>
4622
- * </li>
4623
- * <li>
4624
- * <p>
4625
- * <code>detail-type</code>
4626
- * </p>
4627
- * </li>
4628
- * </ul>
4629
- */
4630
- Event: string | undefined;
4631
- }
4632
-
4633
- export namespace TestEventPatternRequest {
4634
- /**
4635
- * @internal
4636
- */
4637
- export const filterSensitiveLog = (obj: TestEventPatternRequest): any => ({
4638
- ...obj,
4639
- });
4640
- }
4641
-
4642
- export interface TestEventPatternResponse {
4643
- /**
4644
- * <p>Indicates whether the event matches the event pattern.</p>
4645
- */
4646
- Result?: boolean;
4647
- }
4648
-
4649
- export namespace TestEventPatternResponse {
4650
- /**
4651
- * @internal
4652
- */
4653
- export const filterSensitiveLog = (obj: TestEventPatternResponse): any => ({
4654
- ...obj,
4655
- });
4656
- }
4657
-
4658
- export interface UntagResourceRequest {
4659
- /**
4660
- * <p>The ARN of the EventBridge resource from which you are removing tags.</p>
4661
- */
4662
- ResourceARN: string | undefined;
4663
-
4664
- /**
4665
- * <p>The list of tag keys to remove from the resource.</p>
4666
- */
4667
- TagKeys: string[] | undefined;
4668
- }
4669
-
4670
- export namespace UntagResourceRequest {
4671
- /**
4672
- * @internal
4673
- */
4674
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
4675
- ...obj,
4676
- });
4677
- }
4678
-
4679
- export interface UntagResourceResponse {}
4680
-
4681
- export namespace UntagResourceResponse {
4682
- /**
4683
- * @internal
4684
- */
4685
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
4686
- ...obj,
4687
- });
4688
- }
4689
-
4690
- export interface UpdateApiDestinationRequest {
4691
- /**
4692
- * <p>The name of the API destination to update.</p>
4693
- */
4694
- Name: string | undefined;
4695
-
4696
- /**
4697
- * <p>The name of the API destination to update.</p>
4698
- */
4699
- Description?: string;
4700
-
4701
- /**
4702
- * <p>The ARN of the connection to use for the API destination.</p>
4703
- */
4704
- ConnectionArn?: string;
4705
-
4706
- /**
4707
- * <p>The URL to the endpoint to use for the API destination.</p>
4708
- */
4709
- InvocationEndpoint?: string;
4710
-
4711
- /**
4712
- * <p>The method to use for the API destination.</p>
4713
- */
4714
- HttpMethod?: ApiDestinationHttpMethod | string;
4715
-
4716
- /**
4717
- * <p>The maximum number of invocations per second to send to the API destination.</p>
4718
- */
4719
- InvocationRateLimitPerSecond?: number;
4720
- }
4721
-
4722
- export namespace UpdateApiDestinationRequest {
4723
- /**
4724
- * @internal
4725
- */
4726
- export const filterSensitiveLog = (obj: UpdateApiDestinationRequest): any => ({
4727
- ...obj,
4728
- });
4729
- }
4730
-
4731
- export interface UpdateApiDestinationResponse {
4732
- /**
4733
- * <p>The ARN of the API destination that was updated.</p>
4734
- */
4735
- ApiDestinationArn?: string;
4736
-
4737
- /**
4738
- * <p>The state of the API destination that was updated.</p>
4739
- */
4740
- ApiDestinationState?: ApiDestinationState | string;
4741
-
4742
- /**
4743
- * <p>A time stamp for the time that the API destination was created.</p>
4744
- */
4745
- CreationTime?: Date;
4746
-
4747
- /**
4748
- * <p>A time stamp for the time that the API destination was last modified.</p>
4749
- */
4750
- LastModifiedTime?: Date;
4751
- }
4752
-
4753
- export namespace UpdateApiDestinationResponse {
4754
- /**
4755
- * @internal
4756
- */
4757
- export const filterSensitiveLog = (obj: UpdateApiDestinationResponse): any => ({
4758
- ...obj,
4759
- });
4760
- }
4761
-
4762
- export interface UpdateArchiveRequest {
4763
- /**
4764
- * <p>The name of the archive to update.</p>
4765
- */
4766
- ArchiveName: string | undefined;
4767
-
4768
- /**
4769
- * <p>The description for the archive.</p>
4770
- */
4771
- Description?: string;
4772
-
4773
- /**
4774
- * <p>The event pattern to use to filter events sent to the archive.</p>
4775
- */
4776
- EventPattern?: string;
4777
-
4778
- /**
4779
- * <p>The number of days to retain events in the archive.</p>
4780
- */
4781
- RetentionDays?: number;
4782
- }
4783
-
4784
- export namespace UpdateArchiveRequest {
4785
- /**
4786
- * @internal
4787
- */
4788
- export const filterSensitiveLog = (obj: UpdateArchiveRequest): any => ({
4789
- ...obj,
4790
- });
4791
- }
4792
-
4793
- export interface UpdateArchiveResponse {
4794
- /**
4795
- * <p>The ARN of the archive.</p>
4796
- */
4797
- ArchiveArn?: string;
4798
-
4799
- /**
4800
- * <p>The state of the archive.</p>
4801
- */
4802
- State?: ArchiveState | string;
4803
-
4804
- /**
4805
- * <p>The reason that the archive is in the current state.</p>
4806
- */
4807
- StateReason?: string;
4808
-
4809
- /**
4810
- * <p>The time at which the archive was updated.</p>
4811
- */
4812
- CreationTime?: Date;
4813
- }
4814
-
4815
- export namespace UpdateArchiveResponse {
4816
- /**
4817
- * @internal
4818
- */
4819
- export const filterSensitiveLog = (obj: UpdateArchiveResponse): any => ({
4820
- ...obj,
4821
- });
4822
- }
4823
-
4824
- /**
4825
- * <p>Contains the API key authorization parameters to use to update the connection.</p>
4826
- */
4827
- export interface UpdateConnectionApiKeyAuthRequestParameters {
4828
- /**
4829
- * <p>The name of the API key to use for authorization.</p>
4830
- */
4831
- ApiKeyName?: string;
4832
-
4833
- /**
4834
- * <p>The value associated with teh API key to use for authorization.</p>
4835
- */
4836
- ApiKeyValue?: string;
4837
- }
4838
-
4839
- export namespace UpdateConnectionApiKeyAuthRequestParameters {
4840
- /**
4841
- * @internal
4842
- */
4843
- export const filterSensitiveLog = (obj: UpdateConnectionApiKeyAuthRequestParameters): any => ({
4844
- ...obj,
4845
- });
4846
- }
4847
-
4848
- /**
4849
- * <p>Contains the Basic authorization parameters for the connection.</p>
4850
- */
4851
- export interface UpdateConnectionBasicAuthRequestParameters {
4852
- /**
4853
- * <p>The user name to use for Basic authorization.</p>
4854
- */
4855
- Username?: string;
4856
-
4857
- /**
4858
- * <p>The password associated with the user name to use for Basic authorization.</p>
4859
- */
4860
- Password?: string;
4861
- }
4862
-
4863
- export namespace UpdateConnectionBasicAuthRequestParameters {
4864
- /**
4865
- * @internal
4866
- */
4867
- export const filterSensitiveLog = (obj: UpdateConnectionBasicAuthRequestParameters): any => ({
4868
- ...obj,
4869
- });
4870
- }
4871
-
4872
- /**
4873
- * <p>Contains the OAuth authorization parameters to use for the connection.</p>
4874
- */
4875
- export interface UpdateConnectionOAuthClientRequestParameters {
4876
- /**
4877
- * <p>The client ID to use for OAuth authorization.</p>
4878
- */
4879
- ClientID?: string;
4880
-
4881
- /**
4882
- * <p>The client secret assciated with the client ID to use for OAuth authorization.</p>
4883
- */
4884
- ClientSecret?: string;
4885
- }
4886
-
4887
- export namespace UpdateConnectionOAuthClientRequestParameters {
4888
- /**
4889
- * @internal
4890
- */
4891
- export const filterSensitiveLog = (obj: UpdateConnectionOAuthClientRequestParameters): any => ({
4892
- ...obj,
4893
- });
4894
- }
4895
-
4896
- /**
4897
- * <p>Contains the OAuth request parameters to use for the connection.</p>
4898
- */
4899
- export interface UpdateConnectionOAuthRequestParameters {
4900
- /**
4901
- * <p>A <code>UpdateConnectionOAuthClientRequestParameters</code> object that contains the
4902
- * client parameters to use for the connection when OAuth is specified as the authorization
4903
- * type.</p>
4904
- */
4905
- ClientParameters?: UpdateConnectionOAuthClientRequestParameters;
4906
-
4907
- /**
4908
- * <p>The URL to the authorization endpoint when OAuth is specified as the authorization
4909
- * type.</p>
4910
- */
4911
- AuthorizationEndpoint?: string;
4912
-
4913
- /**
4914
- * <p>The method used to connect to the HTTP endpoint.</p>
4915
- */
4916
- HttpMethod?: ConnectionOAuthHttpMethod | string;
4917
-
4918
- /**
4919
- * <p>The additional HTTP parameters used for the OAuth authorization request.</p>
4920
- */
4921
- OAuthHttpParameters?: ConnectionHttpParameters;
4922
- }
4923
-
4924
- export namespace UpdateConnectionOAuthRequestParameters {
4925
- /**
4926
- * @internal
4927
- */
4928
- export const filterSensitiveLog = (obj: UpdateConnectionOAuthRequestParameters): any => ({
4929
- ...obj,
4930
- });
4931
- }
4932
-
4933
- /**
4934
- * <p>Contains the additional parameters to use for the connection.</p>
4935
- */
4936
- export interface UpdateConnectionAuthRequestParameters {
4937
- /**
4938
- * <p>A <code>UpdateConnectionBasicAuthRequestParameters</code> object that contains the
4939
- * authorization parameters for Basic authorization.</p>
4940
- */
4941
- BasicAuthParameters?: UpdateConnectionBasicAuthRequestParameters;
4942
-
4943
- /**
4944
- * <p>A <code>UpdateConnectionOAuthRequestParameters</code> object that contains the
4945
- * authorization parameters for OAuth authorization.</p>
4946
- */
4947
- OAuthParameters?: UpdateConnectionOAuthRequestParameters;
4948
-
4949
- /**
4950
- * <p>A <code>UpdateConnectionApiKeyAuthRequestParameters</code> object that contains the
4951
- * authorization parameters for API key authorization.</p>
4952
- */
4953
- ApiKeyAuthParameters?: UpdateConnectionApiKeyAuthRequestParameters;
4954
-
4955
- /**
4956
- * <p>A <code>ConnectionHttpParameters</code> object that contains the additional parameters to
4957
- * use for the connection.</p>
4958
- */
4959
- InvocationHttpParameters?: ConnectionHttpParameters;
4960
- }
4961
-
4962
- export namespace UpdateConnectionAuthRequestParameters {
4963
- /**
4964
- * @internal
4965
- */
4966
- export const filterSensitiveLog = (obj: UpdateConnectionAuthRequestParameters): any => ({
4967
- ...obj,
4968
- });
4969
- }
4970
-
4971
- export interface UpdateConnectionRequest {
4972
- /**
4973
- * <p>The name of the connection to update.</p>
4974
- */
4975
- Name: string | undefined;
4976
-
4977
- /**
4978
- * <p>A description for the connection.</p>
4979
- */
4980
- Description?: string;
4981
-
4982
- /**
4983
- * <p>The type of authorization to use for the connection.</p>
4984
- */
4985
- AuthorizationType?: ConnectionAuthorizationType | string;
4986
-
4987
- /**
4988
- * <p>The authorization parameters to use for the connection.</p>
4989
- */
4990
- AuthParameters?: UpdateConnectionAuthRequestParameters;
4991
- }
4992
-
4993
- export namespace UpdateConnectionRequest {
4994
- /**
4995
- * @internal
4996
- */
4997
- export const filterSensitiveLog = (obj: UpdateConnectionRequest): any => ({
4998
- ...obj,
4999
- });
5000
- }
5001
-
5002
- export interface UpdateConnectionResponse {
5003
- /**
5004
- * <p>The ARN of the connection that was updated.</p>
5005
- */
5006
- ConnectionArn?: string;
5007
-
5008
- /**
5009
- * <p>The state of the connection that was updated.</p>
5010
- */
5011
- ConnectionState?: ConnectionState | string;
5012
-
5013
- /**
5014
- * <p>A time stamp for the time that the connection was created.</p>
5015
- */
5016
- CreationTime?: Date;
5017
-
5018
- /**
5019
- * <p>A time stamp for the time that the connection was last modified.</p>
5020
- */
5021
- LastModifiedTime?: Date;
5022
-
5023
- /**
5024
- * <p>A time stamp for the time that the connection was last authorized.</p>
5025
- */
5026
- LastAuthorizedTime?: Date;
5027
- }
5028
-
5029
- export namespace UpdateConnectionResponse {
5030
- /**
5031
- * @internal
5032
- */
5033
- export const filterSensitiveLog = (obj: UpdateConnectionResponse): any => ({
5034
- ...obj,
5035
- });
5036
- }