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