@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,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteConnectionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes a connection.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudWatchEventsClient, DeleteConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
14
- * // const { CloudWatchEventsClient, DeleteConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
15
- * const client = new CloudWatchEventsClient(config);
16
- * const command = new DeleteConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteConnectionCommandInput} for command's `input` shape.
21
- * @see {@link DeleteConnectionCommandOutput} for command's `response` shape.
22
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DeleteConnectionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteConnectionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteConnectionCommand = DeleteConnectionCommand;
61
- //# sourceMappingURL=DeleteConnectionCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteEventBusCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes the specified custom event bus or partner event bus. All rules associated with
10
- * this event bus need to be deleted. You can't delete your account's default event bus.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudWatchEventsClient, DeleteEventBusCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
15
- * // const { CloudWatchEventsClient, DeleteEventBusCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
16
- * const client = new CloudWatchEventsClient(config);
17
- * const command = new DeleteEventBusCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteEventBusCommandInput} for command's `input` shape.
22
- * @see {@link DeleteEventBusCommandOutput} for command's `response` shape.
23
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class DeleteEventBusCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class DeleteEventBusCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.DeleteEventBusCommand = DeleteEventBusCommand;
62
- //# sourceMappingURL=DeleteEventBusCommand.js.map
@@ -1,43 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeletePartnerEventSourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>This operation is used by SaaS partners to delete a partner event source. This operation
10
- * is not used by Amazon Web Services customers.</p>
11
- * <p>When you delete an event source, the status of the corresponding partner event bus in the
12
- * Amazon Web Services customer account becomes DELETED.</p>
13
- * <p></p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CloudWatchEventsClient, DeletePartnerEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
18
- * // const { CloudWatchEventsClient, DeletePartnerEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
19
- * const client = new CloudWatchEventsClient(config);
20
- * const command = new DeletePartnerEventSourceCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DeletePartnerEventSourceCommandInput} for command's `input` shape.
25
- * @see {@link DeletePartnerEventSourceCommandOutput} for command's `response` shape.
26
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
29
8
  class DeletePartnerEventSourceCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class DeletePartnerEventSourceCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.DeletePartnerEventSourceCommand = DeletePartnerEventSourceCommand;
65
- //# sourceMappingURL=DeletePartnerEventSourceCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteRuleCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DeleteRuleCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CloudWatchEventsClient";
18
+ const commandName = "DeleteRuleCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteRuleRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DeleteRuleCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DeleteRuleCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteRuleCommand = DeleteRuleCommand;
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeApiDestinationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves details about an API destination.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudWatchEventsClient, DescribeApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
14
- * // const { CloudWatchEventsClient, DescribeApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
15
- * const client = new CloudWatchEventsClient(config);
16
- * const command = new DescribeApiDestinationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeApiDestinationCommandInput} for command's `input` shape.
21
- * @see {@link DescribeApiDestinationCommandOutput} for command's `response` shape.
22
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeApiDestinationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeApiDestinationCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeApiDestinationCommand = DescribeApiDestinationCommand;
61
- //# sourceMappingURL=DescribeApiDestinationCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeArchiveCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves details about an archive.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudWatchEventsClient, DescribeArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
14
- * // const { CloudWatchEventsClient, DescribeArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
15
- * const client = new CloudWatchEventsClient(config);
16
- * const command = new DescribeArchiveCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeArchiveCommandInput} for command's `input` shape.
21
- * @see {@link DescribeArchiveCommandOutput} for command's `response` shape.
22
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeArchiveCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeArchiveCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeArchiveCommand = DescribeArchiveCommand;
61
- //# sourceMappingURL=DescribeArchiveCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeConnectionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves details about a connection.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CloudWatchEventsClient, DescribeConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
14
- * // const { CloudWatchEventsClient, DescribeConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
15
- * const client = new CloudWatchEventsClient(config);
16
- * const command = new DescribeConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeConnectionCommandInput} for command's `input` shape.
21
- * @see {@link DescribeConnectionCommandOutput} for command's `response` shape.
22
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeConnectionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeConnectionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeConnectionCommand = DescribeConnectionCommand;
61
- //# sourceMappingURL=DescribeConnectionCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeEventBusCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeEventBusCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CloudWatchEventsClient";
18
+ const commandName = "DescribeEventBusCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventBusRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventBusResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DescribeEventBusCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DescribeEventBusCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeEventBusCommand = DescribeEventBusCommand;
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeEventSourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>This operation lists details about a partner event source that is shared with your
10
- * account.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CloudWatchEventsClient, DescribeEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
15
- * // const { CloudWatchEventsClient, DescribeEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
16
- * const client = new CloudWatchEventsClient(config);
17
- * const command = new DescribeEventSourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeEventSourceCommandInput} for command's `input` shape.
22
- * @see {@link DescribeEventSourceCommandOutput} for command's `response` shape.
23
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class DescribeEventSourceCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class DescribeEventSourceCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.DescribeEventSourceCommand = DescribeEventSourceCommand;
62
- //# sourceMappingURL=DescribeEventSourceCommand.js.map
@@ -1,42 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribePartnerEventSourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>An SaaS partner can use this operation to list details about a partner event source that
10
- * they have created. Amazon Web Services customers do not use this operation. Instead, Amazon Web Services customers can use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeEventSource.html">DescribeEventSource</a>
11
- * to see details about a partner event source that is
12
- * shared with them.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudWatchEventsClient, DescribePartnerEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
17
- * // const { CloudWatchEventsClient, DescribePartnerEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
18
- * const client = new CloudWatchEventsClient(config);
19
- * const command = new DescribePartnerEventSourceCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribePartnerEventSourceCommandInput} for command's `input` shape.
24
- * @see {@link DescribePartnerEventSourceCommandOutput} for command's `response` shape.
25
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
28
8
  class DescribePartnerEventSourceCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class DescribePartnerEventSourceCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.DescribePartnerEventSourceCommand = DescribePartnerEventSourceCommand;
64
- //# sourceMappingURL=DescribePartnerEventSourceCommand.js.map
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeReplayCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeReplayCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CloudWatchEventsClient";
18
+ const commandName = "DescribeReplayCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeReplayRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeReplayResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DescribeReplayCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DescribeReplayCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeReplayCommand = DescribeReplayCommand;
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeRuleCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Describes the specified rule.</p>
10
- * <p>DescribeRule does not list the targets of a rule. To see the targets associated with a
11
- * rule, use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_ListTargetsByRule.html">ListTargetsByRule</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CloudWatchEventsClient, DescribeRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
16
- * // const { CloudWatchEventsClient, DescribeRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
17
- * const client = new CloudWatchEventsClient(config);
18
- * const command = new DescribeRuleCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeRuleCommandInput} for command's `input` shape.
23
- * @see {@link DescribeRuleCommandOutput} for command's `response` shape.
24
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
27
8
  class DescribeRuleCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DescribeRuleCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DescribeRuleCommand = DescribeRuleCommand;
63
- //# sourceMappingURL=DescribeRuleCommand.js.map
@@ -1,43 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DisableRuleCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Disables the specified rule. A disabled rule won't match any events, and won't
10
- * self-trigger if it has a schedule expression.</p>
11
- *
12
- * <p>When you disable a rule, incoming events might continue to match to the disabled rule.
13
- * Allow a short period of time for changes to take effect.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CloudWatchEventsClient, DisableRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
18
- * // const { CloudWatchEventsClient, DisableRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
19
- * const client = new CloudWatchEventsClient(config);
20
- * const command = new DisableRuleCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DisableRuleCommandInput} for command's `input` shape.
25
- * @see {@link DisableRuleCommandOutput} for command's `response` shape.
26
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
29
8
  class DisableRuleCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class DisableRuleCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.DisableRuleCommand = DisableRuleCommand;
65
- //# sourceMappingURL=DisableRuleCommand.js.map
@@ -1,42 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EnableRuleCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Enables the specified rule. If the rule does not exist, the operation fails.</p>
10
- *
11
- * <p>When you enable a rule, incoming events might not immediately start matching to a newly
12
- * enabled rule. Allow a short period of time for changes to take effect.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CloudWatchEventsClient, EnableRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
17
- * // const { CloudWatchEventsClient, EnableRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
18
- * const client = new CloudWatchEventsClient(config);
19
- * const command = new EnableRuleCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link EnableRuleCommandInput} for command's `input` shape.
24
- * @see {@link EnableRuleCommandOutput} for command's `response` shape.
25
- * @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
28
8
  class EnableRuleCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class EnableRuleCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.EnableRuleCommand = EnableRuleCommand;
64
- //# sourceMappingURL=EnableRuleCommand.js.map