@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.
- package/LICENSE +201 -0
- package/README.md +362 -0
- package/dist-cjs/index.js +1982 -0
- package/dist-es/EventBridgeV2.js +73 -0
- package/dist-es/EventBridgeV2Client.js +49 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +12 -0
- package/dist-es/commands/CreateEventBusCommand.js +4 -0
- package/dist-es/commands/CreateEventSourceCommand.js +4 -0
- package/dist-es/commands/CreateSubscriberCommand.js +4 -0
- package/dist-es/commands/DeleteEventBusCommand.js +4 -0
- package/dist-es/commands/DeleteEventSourceCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteSubscriberCommand.js +4 -0
- package/dist-es/commands/DescribeEventBusCommand.js +4 -0
- package/dist-es/commands/DescribeEventSourceCommand.js +4 -0
- package/dist-es/commands/DescribeSubscriberCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/ListEventBusesCommand.js +4 -0
- package/dist-es/commands/ListEventSourcesCommand.js +4 -0
- package/dist-es/commands/ListResourcePoliciesCommand.js +4 -0
- package/dist-es/commands/ListSubscribersCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/PutEventsCommand.js +4 -0
- package/dist-es/commands/PutRawEventsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/RevokeResourceCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateEventBusCommand.js +4 -0
- package/dist-es/commands/UpdateEventSourceCommand.js +4 -0
- package/dist-es/commands/UpdateSubscriberCommand.js +4 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +15 -0
- package/dist-es/endpoint/bdd.js +85 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/EventBridgeV2ServiceException.js +8 -0
- package/dist-es/models/enums.js +78 -0
- package/dist-es/models/errors.js +217 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEventBusesPaginator.js +4 -0
- package/dist-es/pagination/ListEventSourcesPaginator.js +4 -0
- package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListSubscribersPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +31 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +41 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +939 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForEventBusActive.js +58 -0
- package/dist-es/waiters/waitForEventBusDeleted.js +34 -0
- package/dist-types/EventBridgeV2.d.ts +242 -0
- package/dist-types/EventBridgeV2Client.d.ts +222 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +26 -0
- package/dist-types/commands/CreateEventBusCommand.d.ts +128 -0
- package/dist-types/commands/CreateEventSourceCommand.d.ts +135 -0
- package/dist-types/commands/CreateSubscriberCommand.d.ts +245 -0
- package/dist-types/commands/DeleteEventBusCommand.d.ts +100 -0
- package/dist-types/commands/DeleteEventSourceCommand.d.ts +94 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +106 -0
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +90 -0
- package/dist-types/commands/DescribeEventBusCommand.d.ts +102 -0
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +113 -0
- package/dist-types/commands/DescribeSubscriberCommand.d.ts +215 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +95 -0
- package/dist-types/commands/ListEventBusesCommand.d.ts +104 -0
- package/dist-types/commands/ListEventSourcesCommand.d.ts +107 -0
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +98 -0
- package/dist-types/commands/ListSubscribersCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/PutEventsCommand.d.ts +120 -0
- package/dist-types/commands/PutRawEventsCommand.d.ts +127 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +132 -0
- package/dist-types/commands/RevokeResourceCommand.d.ts +99 -0
- package/dist-types/commands/TagResourceCommand.d.ts +100 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +97 -0
- package/dist-types/commands/UpdateEventBusCommand.d.ts +117 -0
- package/dist-types/commands/UpdateEventSourceCommand.d.ts +118 -0
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +224 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +63 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/EventBridgeV2ServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +250 -0
- package/dist-types/models/errors.d.ts +227 -0
- package/dist-types/models/models_0.d.ts +2532 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEventBusesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSubscribersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +59 -0
- package/dist-types/runtimeConfig.d.ts +59 -0
- package/dist-types/runtimeConfig.native.d.ts +58 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +140 -0
- package/dist-types/ts3.4/EventBridgeV2.d.ts +484 -0
- package/dist-types/ts3.4/EventBridgeV2Client.d.ts +253 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeSubscriberCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutRawEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RevokeResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +64 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/EventBridgeV2ServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +95 -0
- package/dist-types/ts3.4/models/errors.d.ts +98 -0
- package/dist-types/ts3.4/models/models_0.d.ts +552 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListEventBusesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSubscribersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +103 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +140 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForEventBusActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForEventBusDeleted.d.ts +16 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForEventBusActive.d.ts +15 -0
- package/dist-types/waiters/waitForEventBusDeleted.d.ts +16 -0
- 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 {}
|