@aws-sdk/client-eventbridgev2 3.1140.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 (169) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +362 -0
  3. package/dist-cjs/index.js +1982 -0
  4. package/dist-es/EventBridgeV2.js +73 -0
  5. package/dist-es/EventBridgeV2Client.js +49 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +12 -0
  9. package/dist-es/commands/CreateEventBusCommand.js +4 -0
  10. package/dist-es/commands/CreateEventSourceCommand.js +4 -0
  11. package/dist-es/commands/CreateSubscriberCommand.js +4 -0
  12. package/dist-es/commands/DeleteEventBusCommand.js +4 -0
  13. package/dist-es/commands/DeleteEventSourceCommand.js +4 -0
  14. package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  15. package/dist-es/commands/DeleteSubscriberCommand.js +4 -0
  16. package/dist-es/commands/DescribeEventBusCommand.js +4 -0
  17. package/dist-es/commands/DescribeEventSourceCommand.js +4 -0
  18. package/dist-es/commands/DescribeSubscriberCommand.js +4 -0
  19. package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  20. package/dist-es/commands/ListEventBusesCommand.js +4 -0
  21. package/dist-es/commands/ListEventSourcesCommand.js +4 -0
  22. package/dist-es/commands/ListResourcePoliciesCommand.js +4 -0
  23. package/dist-es/commands/ListSubscribersCommand.js +4 -0
  24. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  25. package/dist-es/commands/PutEventsCommand.js +4 -0
  26. package/dist-es/commands/PutRawEventsCommand.js +4 -0
  27. package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  28. package/dist-es/commands/RevokeResourceCommand.js +4 -0
  29. package/dist-es/commands/TagResourceCommand.js +4 -0
  30. package/dist-es/commands/UntagResourceCommand.js +4 -0
  31. package/dist-es/commands/UpdateEventBusCommand.js +4 -0
  32. package/dist-es/commands/UpdateEventSourceCommand.js +4 -0
  33. package/dist-es/commands/UpdateSubscriberCommand.js +4 -0
  34. package/dist-es/commands/index.js +25 -0
  35. package/dist-es/endpoint/EndpointParameters.js +15 -0
  36. package/dist-es/endpoint/bdd.js +85 -0
  37. package/dist-es/endpoint/endpointResolver.js +14 -0
  38. package/dist-es/extensionConfiguration.js +1 -0
  39. package/dist-es/index.js +11 -0
  40. package/dist-es/models/EventBridgeV2ServiceException.js +8 -0
  41. package/dist-es/models/enums.js +78 -0
  42. package/dist-es/models/errors.js +217 -0
  43. package/dist-es/models/models_0.js +1 -0
  44. package/dist-es/pagination/Interfaces.js +1 -0
  45. package/dist-es/pagination/ListEventBusesPaginator.js +4 -0
  46. package/dist-es/pagination/ListEventSourcesPaginator.js +4 -0
  47. package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
  48. package/dist-es/pagination/ListSubscribersPaginator.js +4 -0
  49. package/dist-es/pagination/index.js +5 -0
  50. package/dist-es/runtimeConfig.browser.js +31 -0
  51. package/dist-es/runtimeConfig.js +45 -0
  52. package/dist-es/runtimeConfig.native.js +9 -0
  53. package/dist-es/runtimeConfig.shared.js +41 -0
  54. package/dist-es/runtimeExtensions.js +9 -0
  55. package/dist-es/schemas/schemas_0.js +939 -0
  56. package/dist-es/waiters/index.js +2 -0
  57. package/dist-es/waiters/waitForEventBusActive.js +58 -0
  58. package/dist-es/waiters/waitForEventBusDeleted.js +34 -0
  59. package/dist-types/EventBridgeV2.d.ts +242 -0
  60. package/dist-types/EventBridgeV2Client.d.ts +222 -0
  61. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  62. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  63. package/dist-types/commandBuilder.d.ts +26 -0
  64. package/dist-types/commands/CreateEventBusCommand.d.ts +128 -0
  65. package/dist-types/commands/CreateEventSourceCommand.d.ts +135 -0
  66. package/dist-types/commands/CreateSubscriberCommand.d.ts +245 -0
  67. package/dist-types/commands/DeleteEventBusCommand.d.ts +100 -0
  68. package/dist-types/commands/DeleteEventSourceCommand.d.ts +94 -0
  69. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +106 -0
  70. package/dist-types/commands/DeleteSubscriberCommand.d.ts +90 -0
  71. package/dist-types/commands/DescribeEventBusCommand.d.ts +102 -0
  72. package/dist-types/commands/DescribeEventSourceCommand.d.ts +113 -0
  73. package/dist-types/commands/DescribeSubscriberCommand.d.ts +215 -0
  74. package/dist-types/commands/GetResourcePolicyCommand.d.ts +95 -0
  75. package/dist-types/commands/ListEventBusesCommand.d.ts +104 -0
  76. package/dist-types/commands/ListEventSourcesCommand.d.ts +107 -0
  77. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +98 -0
  78. package/dist-types/commands/ListSubscribersCommand.d.ts +108 -0
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  80. package/dist-types/commands/PutEventsCommand.d.ts +120 -0
  81. package/dist-types/commands/PutRawEventsCommand.d.ts +127 -0
  82. package/dist-types/commands/PutResourcePolicyCommand.d.ts +132 -0
  83. package/dist-types/commands/RevokeResourceCommand.d.ts +99 -0
  84. package/dist-types/commands/TagResourceCommand.d.ts +100 -0
  85. package/dist-types/commands/UntagResourceCommand.d.ts +97 -0
  86. package/dist-types/commands/UpdateEventBusCommand.d.ts +117 -0
  87. package/dist-types/commands/UpdateEventSourceCommand.d.ts +118 -0
  88. package/dist-types/commands/UpdateSubscriberCommand.d.ts +224 -0
  89. package/dist-types/commands/index.d.ts +25 -0
  90. package/dist-types/endpoint/EndpointParameters.d.ts +63 -0
  91. package/dist-types/endpoint/bdd.d.ts +2 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  93. package/dist-types/extensionConfiguration.d.ts +9 -0
  94. package/dist-types/index.d.ts +25 -0
  95. package/dist-types/models/EventBridgeV2ServiceException.d.ts +14 -0
  96. package/dist-types/models/enums.d.ts +250 -0
  97. package/dist-types/models/errors.d.ts +227 -0
  98. package/dist-types/models/models_0.d.ts +2532 -0
  99. package/dist-types/pagination/Interfaces.d.ts +8 -0
  100. package/dist-types/pagination/ListEventBusesPaginator.d.ts +7 -0
  101. package/dist-types/pagination/ListEventSourcesPaginator.d.ts +7 -0
  102. package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
  103. package/dist-types/pagination/ListSubscribersPaginator.d.ts +7 -0
  104. package/dist-types/pagination/index.d.ts +5 -0
  105. package/dist-types/runtimeConfig.browser.d.ts +59 -0
  106. package/dist-types/runtimeConfig.d.ts +59 -0
  107. package/dist-types/runtimeConfig.native.d.ts +58 -0
  108. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  109. package/dist-types/runtimeExtensions.d.ts +17 -0
  110. package/dist-types/schemas/schemas_0.d.ts +140 -0
  111. package/dist-types/ts3.4/EventBridgeV2.d.ts +484 -0
  112. package/dist-types/ts3.4/EventBridgeV2Client.d.ts +253 -0
  113. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  114. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  115. package/dist-types/ts3.4/commandBuilder.d.ts +42 -0
  116. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/CreateEventSourceCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +38 -0
  119. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +38 -0
  120. package/dist-types/ts3.4/commands/DeleteEventSourceCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -0
  122. package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +38 -0
  123. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +39 -0
  125. package/dist-types/ts3.4/commands/DescribeSubscriberCommand.d.ts +39 -0
  126. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  127. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +38 -0
  129. package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +38 -0
  131. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +38 -0
  133. package/dist-types/ts3.4/commands/PutRawEventsCommand.d.ts +38 -0
  134. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/RevokeResourceCommand.d.ts +38 -0
  136. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  138. package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +38 -0
  139. package/dist-types/ts3.4/commands/UpdateEventSourceCommand.d.ts +39 -0
  140. package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +38 -0
  141. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  142. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +64 -0
  143. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  144. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  145. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  146. package/dist-types/ts3.4/index.d.ts +14 -0
  147. package/dist-types/ts3.4/models/EventBridgeV2ServiceException.d.ts +9 -0
  148. package/dist-types/ts3.4/models/enums.d.ts +95 -0
  149. package/dist-types/ts3.4/models/errors.d.ts +98 -0
  150. package/dist-types/ts3.4/models/models_0.d.ts +552 -0
  151. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  152. package/dist-types/ts3.4/pagination/ListEventBusesPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/ListEventSourcesPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListSubscribersPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  157. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  158. package/dist-types/ts3.4/runtimeConfig.d.ts +103 -0
  159. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  160. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  161. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  162. package/dist-types/ts3.4/schemas/schemas_0.d.ts +140 -0
  163. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  164. package/dist-types/ts3.4/waiters/waitForEventBusActive.d.ts +15 -0
  165. package/dist-types/ts3.4/waiters/waitForEventBusDeleted.d.ts +16 -0
  166. package/dist-types/waiters/index.d.ts +2 -0
  167. package/dist-types/waiters/waitForEventBusActive.d.ts +15 -0
  168. package/dist-types/waiters/waitForEventBusDeleted.d.ts +16 -0
  169. package/package.json +69 -0
@@ -0,0 +1,484 @@
1
+ import { WaiterResult } from "@smithy/core/client";
2
+ import {
3
+ HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
5
+ PaginationConfiguration,
6
+ Paginator,
7
+ WaiterConfiguration,
8
+ } from "@smithy/types";
9
+ import {
10
+ CreateEventBusCommandInput,
11
+ CreateEventBusCommandOutput,
12
+ } from "./commands/CreateEventBusCommand";
13
+ import {
14
+ CreateEventSourceCommandInput,
15
+ CreateEventSourceCommandOutput,
16
+ } from "./commands/CreateEventSourceCommand";
17
+ import {
18
+ CreateSubscriberCommandInput,
19
+ CreateSubscriberCommandOutput,
20
+ } from "./commands/CreateSubscriberCommand";
21
+ import {
22
+ DeleteEventBusCommandInput,
23
+ DeleteEventBusCommandOutput,
24
+ } from "./commands/DeleteEventBusCommand";
25
+ import {
26
+ DeleteEventSourceCommandInput,
27
+ DeleteEventSourceCommandOutput,
28
+ } from "./commands/DeleteEventSourceCommand";
29
+ import {
30
+ DeleteResourcePolicyCommandInput,
31
+ DeleteResourcePolicyCommandOutput,
32
+ } from "./commands/DeleteResourcePolicyCommand";
33
+ import {
34
+ DeleteSubscriberCommandInput,
35
+ DeleteSubscriberCommandOutput,
36
+ } from "./commands/DeleteSubscriberCommand";
37
+ import {
38
+ DescribeEventBusCommandInput,
39
+ DescribeEventBusCommandOutput,
40
+ } from "./commands/DescribeEventBusCommand";
41
+ import {
42
+ DescribeEventSourceCommandInput,
43
+ DescribeEventSourceCommandOutput,
44
+ } from "./commands/DescribeEventSourceCommand";
45
+ import {
46
+ DescribeSubscriberCommandInput,
47
+ DescribeSubscriberCommandOutput,
48
+ } from "./commands/DescribeSubscriberCommand";
49
+ import {
50
+ GetResourcePolicyCommandInput,
51
+ GetResourcePolicyCommandOutput,
52
+ } from "./commands/GetResourcePolicyCommand";
53
+ import {
54
+ ListEventBusesCommandInput,
55
+ ListEventBusesCommandOutput,
56
+ } from "./commands/ListEventBusesCommand";
57
+ import {
58
+ ListEventSourcesCommandInput,
59
+ ListEventSourcesCommandOutput,
60
+ } from "./commands/ListEventSourcesCommand";
61
+ import {
62
+ ListResourcePoliciesCommandInput,
63
+ ListResourcePoliciesCommandOutput,
64
+ } from "./commands/ListResourcePoliciesCommand";
65
+ import {
66
+ ListSubscribersCommandInput,
67
+ ListSubscribersCommandOutput,
68
+ } from "./commands/ListSubscribersCommand";
69
+ import {
70
+ ListTagsForResourceCommandInput,
71
+ ListTagsForResourceCommandOutput,
72
+ } from "./commands/ListTagsForResourceCommand";
73
+ import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEventsCommand";
74
+ import {
75
+ PutRawEventsCommandInput,
76
+ PutRawEventsCommandOutput,
77
+ } from "./commands/PutRawEventsCommand";
78
+ import {
79
+ PutResourcePolicyCommandInput,
80
+ PutResourcePolicyCommandOutput,
81
+ } from "./commands/PutResourcePolicyCommand";
82
+ import {
83
+ RevokeResourceCommandInput,
84
+ RevokeResourceCommandOutput,
85
+ } from "./commands/RevokeResourceCommand";
86
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
87
+ import {
88
+ UntagResourceCommandInput,
89
+ UntagResourceCommandOutput,
90
+ } from "./commands/UntagResourceCommand";
91
+ import {
92
+ UpdateEventBusCommandInput,
93
+ UpdateEventBusCommandOutput,
94
+ } from "./commands/UpdateEventBusCommand";
95
+ import {
96
+ UpdateEventSourceCommandInput,
97
+ UpdateEventSourceCommandOutput,
98
+ } from "./commands/UpdateEventSourceCommand";
99
+ import {
100
+ UpdateSubscriberCommandInput,
101
+ UpdateSubscriberCommandOutput,
102
+ } from "./commands/UpdateSubscriberCommand";
103
+ import { EventBridgeV2Client } from "./EventBridgeV2Client";
104
+ import { ResourceNotFoundException } from "./models/errors";
105
+ export interface EventBridgeV2RequestOptions extends __HttpHandlerOptions {
106
+ metricsRecorder?: __MetricsRecorder<unknown>;
107
+ }
108
+ export interface EventBridgeV2 {
109
+ createEventBus(
110
+ args: CreateEventBusCommandInput,
111
+ options?: EventBridgeV2RequestOptions,
112
+ ): Promise<CreateEventBusCommandOutput>;
113
+ createEventBus(
114
+ args: CreateEventBusCommandInput,
115
+ cb: (err: any, data?: CreateEventBusCommandOutput) => void,
116
+ ): void;
117
+ createEventBus(
118
+ args: CreateEventBusCommandInput,
119
+ options: EventBridgeV2RequestOptions,
120
+ cb: (err: any, data?: CreateEventBusCommandOutput) => void,
121
+ ): void;
122
+ createEventSource(
123
+ args: CreateEventSourceCommandInput,
124
+ options?: EventBridgeV2RequestOptions,
125
+ ): Promise<CreateEventSourceCommandOutput>;
126
+ createEventSource(
127
+ args: CreateEventSourceCommandInput,
128
+ cb: (err: any, data?: CreateEventSourceCommandOutput) => void,
129
+ ): void;
130
+ createEventSource(
131
+ args: CreateEventSourceCommandInput,
132
+ options: EventBridgeV2RequestOptions,
133
+ cb: (err: any, data?: CreateEventSourceCommandOutput) => void,
134
+ ): void;
135
+ createSubscriber(
136
+ args: CreateSubscriberCommandInput,
137
+ options?: EventBridgeV2RequestOptions,
138
+ ): Promise<CreateSubscriberCommandOutput>;
139
+ createSubscriber(
140
+ args: CreateSubscriberCommandInput,
141
+ cb: (err: any, data?: CreateSubscriberCommandOutput) => void,
142
+ ): void;
143
+ createSubscriber(
144
+ args: CreateSubscriberCommandInput,
145
+ options: EventBridgeV2RequestOptions,
146
+ cb: (err: any, data?: CreateSubscriberCommandOutput) => void,
147
+ ): void;
148
+ deleteEventBus(
149
+ args: DeleteEventBusCommandInput,
150
+ options?: EventBridgeV2RequestOptions,
151
+ ): Promise<DeleteEventBusCommandOutput>;
152
+ deleteEventBus(
153
+ args: DeleteEventBusCommandInput,
154
+ cb: (err: any, data?: DeleteEventBusCommandOutput) => void,
155
+ ): void;
156
+ deleteEventBus(
157
+ args: DeleteEventBusCommandInput,
158
+ options: EventBridgeV2RequestOptions,
159
+ cb: (err: any, data?: DeleteEventBusCommandOutput) => void,
160
+ ): void;
161
+ deleteEventSource(
162
+ args: DeleteEventSourceCommandInput,
163
+ options?: EventBridgeV2RequestOptions,
164
+ ): Promise<DeleteEventSourceCommandOutput>;
165
+ deleteEventSource(
166
+ args: DeleteEventSourceCommandInput,
167
+ cb: (err: any, data?: DeleteEventSourceCommandOutput) => void,
168
+ ): void;
169
+ deleteEventSource(
170
+ args: DeleteEventSourceCommandInput,
171
+ options: EventBridgeV2RequestOptions,
172
+ cb: (err: any, data?: DeleteEventSourceCommandOutput) => void,
173
+ ): void;
174
+ deleteResourcePolicy(
175
+ args: DeleteResourcePolicyCommandInput,
176
+ options?: EventBridgeV2RequestOptions,
177
+ ): Promise<DeleteResourcePolicyCommandOutput>;
178
+ deleteResourcePolicy(
179
+ args: DeleteResourcePolicyCommandInput,
180
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
181
+ ): void;
182
+ deleteResourcePolicy(
183
+ args: DeleteResourcePolicyCommandInput,
184
+ options: EventBridgeV2RequestOptions,
185
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
186
+ ): void;
187
+ deleteSubscriber(
188
+ args: DeleteSubscriberCommandInput,
189
+ options?: EventBridgeV2RequestOptions,
190
+ ): Promise<DeleteSubscriberCommandOutput>;
191
+ deleteSubscriber(
192
+ args: DeleteSubscriberCommandInput,
193
+ cb: (err: any, data?: DeleteSubscriberCommandOutput) => void,
194
+ ): void;
195
+ deleteSubscriber(
196
+ args: DeleteSubscriberCommandInput,
197
+ options: EventBridgeV2RequestOptions,
198
+ cb: (err: any, data?: DeleteSubscriberCommandOutput) => void,
199
+ ): void;
200
+ describeEventBus(
201
+ args: DescribeEventBusCommandInput,
202
+ options?: EventBridgeV2RequestOptions,
203
+ ): Promise<DescribeEventBusCommandOutput>;
204
+ describeEventBus(
205
+ args: DescribeEventBusCommandInput,
206
+ cb: (err: any, data?: DescribeEventBusCommandOutput) => void,
207
+ ): void;
208
+ describeEventBus(
209
+ args: DescribeEventBusCommandInput,
210
+ options: EventBridgeV2RequestOptions,
211
+ cb: (err: any, data?: DescribeEventBusCommandOutput) => void,
212
+ ): void;
213
+ describeEventSource(
214
+ args: DescribeEventSourceCommandInput,
215
+ options?: EventBridgeV2RequestOptions,
216
+ ): Promise<DescribeEventSourceCommandOutput>;
217
+ describeEventSource(
218
+ args: DescribeEventSourceCommandInput,
219
+ cb: (err: any, data?: DescribeEventSourceCommandOutput) => void,
220
+ ): void;
221
+ describeEventSource(
222
+ args: DescribeEventSourceCommandInput,
223
+ options: EventBridgeV2RequestOptions,
224
+ cb: (err: any, data?: DescribeEventSourceCommandOutput) => void,
225
+ ): void;
226
+ describeSubscriber(
227
+ args: DescribeSubscriberCommandInput,
228
+ options?: EventBridgeV2RequestOptions,
229
+ ): Promise<DescribeSubscriberCommandOutput>;
230
+ describeSubscriber(
231
+ args: DescribeSubscriberCommandInput,
232
+ cb: (err: any, data?: DescribeSubscriberCommandOutput) => void,
233
+ ): void;
234
+ describeSubscriber(
235
+ args: DescribeSubscriberCommandInput,
236
+ options: EventBridgeV2RequestOptions,
237
+ cb: (err: any, data?: DescribeSubscriberCommandOutput) => void,
238
+ ): void;
239
+ getResourcePolicy(
240
+ args: GetResourcePolicyCommandInput,
241
+ options?: EventBridgeV2RequestOptions,
242
+ ): Promise<GetResourcePolicyCommandOutput>;
243
+ getResourcePolicy(
244
+ args: GetResourcePolicyCommandInput,
245
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
246
+ ): void;
247
+ getResourcePolicy(
248
+ args: GetResourcePolicyCommandInput,
249
+ options: EventBridgeV2RequestOptions,
250
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
251
+ ): void;
252
+ listEventBuses(): Promise<ListEventBusesCommandOutput>;
253
+ listEventBuses(
254
+ args: ListEventBusesCommandInput,
255
+ options?: EventBridgeV2RequestOptions,
256
+ ): Promise<ListEventBusesCommandOutput>;
257
+ listEventBuses(
258
+ args: ListEventBusesCommandInput,
259
+ cb: (err: any, data?: ListEventBusesCommandOutput) => void,
260
+ ): void;
261
+ listEventBuses(
262
+ args: ListEventBusesCommandInput,
263
+ options: EventBridgeV2RequestOptions,
264
+ cb: (err: any, data?: ListEventBusesCommandOutput) => void,
265
+ ): void;
266
+ listEventSources(): Promise<ListEventSourcesCommandOutput>;
267
+ listEventSources(
268
+ args: ListEventSourcesCommandInput,
269
+ options?: EventBridgeV2RequestOptions,
270
+ ): Promise<ListEventSourcesCommandOutput>;
271
+ listEventSources(
272
+ args: ListEventSourcesCommandInput,
273
+ cb: (err: any, data?: ListEventSourcesCommandOutput) => void,
274
+ ): void;
275
+ listEventSources(
276
+ args: ListEventSourcesCommandInput,
277
+ options: EventBridgeV2RequestOptions,
278
+ cb: (err: any, data?: ListEventSourcesCommandOutput) => void,
279
+ ): void;
280
+ listResourcePolicies(
281
+ args: ListResourcePoliciesCommandInput,
282
+ options?: EventBridgeV2RequestOptions,
283
+ ): Promise<ListResourcePoliciesCommandOutput>;
284
+ listResourcePolicies(
285
+ args: ListResourcePoliciesCommandInput,
286
+ cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void,
287
+ ): void;
288
+ listResourcePolicies(
289
+ args: ListResourcePoliciesCommandInput,
290
+ options: EventBridgeV2RequestOptions,
291
+ cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void,
292
+ ): void;
293
+ listSubscribers(): Promise<ListSubscribersCommandOutput>;
294
+ listSubscribers(
295
+ args: ListSubscribersCommandInput,
296
+ options?: EventBridgeV2RequestOptions,
297
+ ): Promise<ListSubscribersCommandOutput>;
298
+ listSubscribers(
299
+ args: ListSubscribersCommandInput,
300
+ cb: (err: any, data?: ListSubscribersCommandOutput) => void,
301
+ ): void;
302
+ listSubscribers(
303
+ args: ListSubscribersCommandInput,
304
+ options: EventBridgeV2RequestOptions,
305
+ cb: (err: any, data?: ListSubscribersCommandOutput) => void,
306
+ ): void;
307
+ listTagsForResource(
308
+ args: ListTagsForResourceCommandInput,
309
+ options?: EventBridgeV2RequestOptions,
310
+ ): Promise<ListTagsForResourceCommandOutput>;
311
+ listTagsForResource(
312
+ args: ListTagsForResourceCommandInput,
313
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
314
+ ): void;
315
+ listTagsForResource(
316
+ args: ListTagsForResourceCommandInput,
317
+ options: EventBridgeV2RequestOptions,
318
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
319
+ ): void;
320
+ putEvents(
321
+ args: PutEventsCommandInput,
322
+ options?: EventBridgeV2RequestOptions,
323
+ ): Promise<PutEventsCommandOutput>;
324
+ putEvents(
325
+ args: PutEventsCommandInput,
326
+ cb: (err: any, data?: PutEventsCommandOutput) => void,
327
+ ): void;
328
+ putEvents(
329
+ args: PutEventsCommandInput,
330
+ options: EventBridgeV2RequestOptions,
331
+ cb: (err: any, data?: PutEventsCommandOutput) => void,
332
+ ): void;
333
+ putRawEvents(
334
+ args: PutRawEventsCommandInput,
335
+ options?: EventBridgeV2RequestOptions,
336
+ ): Promise<PutRawEventsCommandOutput>;
337
+ putRawEvents(
338
+ args: PutRawEventsCommandInput,
339
+ cb: (err: any, data?: PutRawEventsCommandOutput) => void,
340
+ ): void;
341
+ putRawEvents(
342
+ args: PutRawEventsCommandInput,
343
+ options: EventBridgeV2RequestOptions,
344
+ cb: (err: any, data?: PutRawEventsCommandOutput) => void,
345
+ ): void;
346
+ putResourcePolicy(
347
+ args: PutResourcePolicyCommandInput,
348
+ options?: EventBridgeV2RequestOptions,
349
+ ): Promise<PutResourcePolicyCommandOutput>;
350
+ putResourcePolicy(
351
+ args: PutResourcePolicyCommandInput,
352
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
353
+ ): void;
354
+ putResourcePolicy(
355
+ args: PutResourcePolicyCommandInput,
356
+ options: EventBridgeV2RequestOptions,
357
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
358
+ ): void;
359
+ revokeResource(
360
+ args: RevokeResourceCommandInput,
361
+ options?: EventBridgeV2RequestOptions,
362
+ ): Promise<RevokeResourceCommandOutput>;
363
+ revokeResource(
364
+ args: RevokeResourceCommandInput,
365
+ cb: (err: any, data?: RevokeResourceCommandOutput) => void,
366
+ ): void;
367
+ revokeResource(
368
+ args: RevokeResourceCommandInput,
369
+ options: EventBridgeV2RequestOptions,
370
+ cb: (err: any, data?: RevokeResourceCommandOutput) => void,
371
+ ): void;
372
+ tagResource(
373
+ args: TagResourceCommandInput,
374
+ options?: EventBridgeV2RequestOptions,
375
+ ): Promise<TagResourceCommandOutput>;
376
+ tagResource(
377
+ args: TagResourceCommandInput,
378
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
379
+ ): void;
380
+ tagResource(
381
+ args: TagResourceCommandInput,
382
+ options: EventBridgeV2RequestOptions,
383
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
384
+ ): void;
385
+ untagResource(
386
+ args: UntagResourceCommandInput,
387
+ options?: EventBridgeV2RequestOptions,
388
+ ): Promise<UntagResourceCommandOutput>;
389
+ untagResource(
390
+ args: UntagResourceCommandInput,
391
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
392
+ ): void;
393
+ untagResource(
394
+ args: UntagResourceCommandInput,
395
+ options: EventBridgeV2RequestOptions,
396
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
397
+ ): void;
398
+ updateEventBus(
399
+ args: UpdateEventBusCommandInput,
400
+ options?: EventBridgeV2RequestOptions,
401
+ ): Promise<UpdateEventBusCommandOutput>;
402
+ updateEventBus(
403
+ args: UpdateEventBusCommandInput,
404
+ cb: (err: any, data?: UpdateEventBusCommandOutput) => void,
405
+ ): void;
406
+ updateEventBus(
407
+ args: UpdateEventBusCommandInput,
408
+ options: EventBridgeV2RequestOptions,
409
+ cb: (err: any, data?: UpdateEventBusCommandOutput) => void,
410
+ ): void;
411
+ updateEventSource(
412
+ args: UpdateEventSourceCommandInput,
413
+ options?: EventBridgeV2RequestOptions,
414
+ ): Promise<UpdateEventSourceCommandOutput>;
415
+ updateEventSource(
416
+ args: UpdateEventSourceCommandInput,
417
+ cb: (err: any, data?: UpdateEventSourceCommandOutput) => void,
418
+ ): void;
419
+ updateEventSource(
420
+ args: UpdateEventSourceCommandInput,
421
+ options: EventBridgeV2RequestOptions,
422
+ cb: (err: any, data?: UpdateEventSourceCommandOutput) => void,
423
+ ): void;
424
+ updateSubscriber(
425
+ args: UpdateSubscriberCommandInput,
426
+ options?: EventBridgeV2RequestOptions,
427
+ ): Promise<UpdateSubscriberCommandOutput>;
428
+ updateSubscriber(
429
+ args: UpdateSubscriberCommandInput,
430
+ cb: (err: any, data?: UpdateSubscriberCommandOutput) => void,
431
+ ): void;
432
+ updateSubscriber(
433
+ args: UpdateSubscriberCommandInput,
434
+ options: EventBridgeV2RequestOptions,
435
+ cb: (err: any, data?: UpdateSubscriberCommandOutput) => void,
436
+ ): void;
437
+ paginateListEventBuses(
438
+ args?: ListEventBusesCommandInput,
439
+ paginationConfig?: Pick<
440
+ PaginationConfiguration,
441
+ Exclude<keyof PaginationConfiguration, "client">
442
+ >,
443
+ ): Paginator<ListEventBusesCommandOutput>;
444
+ paginateListEventSources(
445
+ args?: ListEventSourcesCommandInput,
446
+ paginationConfig?: Pick<
447
+ PaginationConfiguration,
448
+ Exclude<keyof PaginationConfiguration, "client">
449
+ >,
450
+ ): Paginator<ListEventSourcesCommandOutput>;
451
+ paginateListResourcePolicies(
452
+ args: ListResourcePoliciesCommandInput,
453
+ paginationConfig?: Pick<
454
+ PaginationConfiguration,
455
+ Exclude<keyof PaginationConfiguration, "client">
456
+ >,
457
+ ): Paginator<ListResourcePoliciesCommandOutput>;
458
+ paginateListSubscribers(
459
+ args?: ListSubscribersCommandInput,
460
+ paginationConfig?: Pick<
461
+ PaginationConfiguration,
462
+ Exclude<keyof PaginationConfiguration, "client">
463
+ >,
464
+ ): Paginator<ListSubscribersCommandOutput>;
465
+ waitUntilEventBusActive(
466
+ args: DescribeEventBusCommandInput,
467
+ waiterConfig:
468
+ | number
469
+ | Pick<
470
+ WaiterConfiguration<EventBridgeV2>,
471
+ Exclude<keyof WaiterConfiguration<EventBridgeV2>, "client">
472
+ >,
473
+ ): Promise<WaiterResult<DescribeEventBusCommandOutput>>;
474
+ waitUntilEventBusDeleted(
475
+ args: DescribeEventBusCommandInput,
476
+ waiterConfig:
477
+ | number
478
+ | Pick<
479
+ WaiterConfiguration<EventBridgeV2>,
480
+ Exclude<keyof WaiterConfiguration<EventBridgeV2>, "client">
481
+ >,
482
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
483
+ }
484
+ export declare class EventBridgeV2 extends EventBridgeV2Client implements EventBridgeV2 {}