@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,253 @@
1
+ import {
2
+ AccountIdEndpointMode,
3
+ AccountIdEndpointModeInputConfig,
4
+ AccountIdEndpointModeResolvedConfig,
5
+ } from "@aws-sdk/core/account-id-endpoint";
6
+ import {
7
+ HostHeaderInputConfig,
8
+ HostHeaderResolvedConfig,
9
+ UserAgentInputConfig,
10
+ UserAgentResolvedConfig,
11
+ } from "@aws-sdk/core/client";
12
+ import {
13
+ DefaultsMode as __DefaultsMode,
14
+ SmithyConfiguration as __SmithyConfiguration,
15
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
16
+ Client as __Client,
17
+ } from "@smithy/core/client";
18
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
19
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
20
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
21
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
22
+ import {
23
+ AwsCredentialIdentityProvider,
24
+ BodyLengthCalculator as __BodyLengthCalculator,
25
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
26
+ ChecksumConstructor as __ChecksumConstructor,
27
+ Decoder as __Decoder,
28
+ Encoder as __Encoder,
29
+ HashConstructor as __HashConstructor,
30
+ HttpHandlerOptions as __HttpHandlerOptions,
31
+ Logger as __Logger,
32
+ Provider as __Provider,
33
+ StreamCollector as __StreamCollector,
34
+ UrlParser as __UrlParser,
35
+ UserAgent as __UserAgent,
36
+ } from "@smithy/types";
37
+ import {
38
+ HttpAuthSchemeInputConfig,
39
+ HttpAuthSchemeResolvedConfig,
40
+ } from "./auth/httpAuthSchemeProvider";
41
+ import {
42
+ CreateEventBusCommandInput,
43
+ CreateEventBusCommandOutput,
44
+ } from "./commands/CreateEventBusCommand";
45
+ import {
46
+ CreateEventSourceCommandInput,
47
+ CreateEventSourceCommandOutput,
48
+ } from "./commands/CreateEventSourceCommand";
49
+ import {
50
+ CreateSubscriberCommandInput,
51
+ CreateSubscriberCommandOutput,
52
+ } from "./commands/CreateSubscriberCommand";
53
+ import {
54
+ DeleteEventBusCommandInput,
55
+ DeleteEventBusCommandOutput,
56
+ } from "./commands/DeleteEventBusCommand";
57
+ import {
58
+ DeleteEventSourceCommandInput,
59
+ DeleteEventSourceCommandOutput,
60
+ } from "./commands/DeleteEventSourceCommand";
61
+ import {
62
+ DeleteResourcePolicyCommandInput,
63
+ DeleteResourcePolicyCommandOutput,
64
+ } from "./commands/DeleteResourcePolicyCommand";
65
+ import {
66
+ DeleteSubscriberCommandInput,
67
+ DeleteSubscriberCommandOutput,
68
+ } from "./commands/DeleteSubscriberCommand";
69
+ import {
70
+ DescribeEventBusCommandInput,
71
+ DescribeEventBusCommandOutput,
72
+ } from "./commands/DescribeEventBusCommand";
73
+ import {
74
+ DescribeEventSourceCommandInput,
75
+ DescribeEventSourceCommandOutput,
76
+ } from "./commands/DescribeEventSourceCommand";
77
+ import {
78
+ DescribeSubscriberCommandInput,
79
+ DescribeSubscriberCommandOutput,
80
+ } from "./commands/DescribeSubscriberCommand";
81
+ import {
82
+ GetResourcePolicyCommandInput,
83
+ GetResourcePolicyCommandOutput,
84
+ } from "./commands/GetResourcePolicyCommand";
85
+ import {
86
+ ListEventBusesCommandInput,
87
+ ListEventBusesCommandOutput,
88
+ } from "./commands/ListEventBusesCommand";
89
+ import {
90
+ ListEventSourcesCommandInput,
91
+ ListEventSourcesCommandOutput,
92
+ } from "./commands/ListEventSourcesCommand";
93
+ import {
94
+ ListResourcePoliciesCommandInput,
95
+ ListResourcePoliciesCommandOutput,
96
+ } from "./commands/ListResourcePoliciesCommand";
97
+ import {
98
+ ListSubscribersCommandInput,
99
+ ListSubscribersCommandOutput,
100
+ } from "./commands/ListSubscribersCommand";
101
+ import {
102
+ ListTagsForResourceCommandInput,
103
+ ListTagsForResourceCommandOutput,
104
+ } from "./commands/ListTagsForResourceCommand";
105
+ import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEventsCommand";
106
+ import {
107
+ PutRawEventsCommandInput,
108
+ PutRawEventsCommandOutput,
109
+ } from "./commands/PutRawEventsCommand";
110
+ import {
111
+ PutResourcePolicyCommandInput,
112
+ PutResourcePolicyCommandOutput,
113
+ } from "./commands/PutResourcePolicyCommand";
114
+ import {
115
+ RevokeResourceCommandInput,
116
+ RevokeResourceCommandOutput,
117
+ } from "./commands/RevokeResourceCommand";
118
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
119
+ import {
120
+ UntagResourceCommandInput,
121
+ UntagResourceCommandOutput,
122
+ } from "./commands/UntagResourceCommand";
123
+ import {
124
+ UpdateEventBusCommandInput,
125
+ UpdateEventBusCommandOutput,
126
+ } from "./commands/UpdateEventBusCommand";
127
+ import {
128
+ UpdateEventSourceCommandInput,
129
+ UpdateEventSourceCommandOutput,
130
+ } from "./commands/UpdateEventSourceCommand";
131
+ import {
132
+ UpdateSubscriberCommandInput,
133
+ UpdateSubscriberCommandOutput,
134
+ } from "./commands/UpdateSubscriberCommand";
135
+ import {
136
+ ClientInputEndpointParameters,
137
+ ClientResolvedEndpointParameters,
138
+ EndpointParameters,
139
+ } from "./endpoint/EndpointParameters";
140
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
141
+ export { __Client };
142
+ export type ServiceInputTypes =
143
+ | CreateEventBusCommandInput
144
+ | CreateEventSourceCommandInput
145
+ | CreateSubscriberCommandInput
146
+ | DeleteEventBusCommandInput
147
+ | DeleteEventSourceCommandInput
148
+ | DeleteResourcePolicyCommandInput
149
+ | DeleteSubscriberCommandInput
150
+ | DescribeEventBusCommandInput
151
+ | DescribeEventSourceCommandInput
152
+ | DescribeSubscriberCommandInput
153
+ | GetResourcePolicyCommandInput
154
+ | ListEventBusesCommandInput
155
+ | ListEventSourcesCommandInput
156
+ | ListResourcePoliciesCommandInput
157
+ | ListSubscribersCommandInput
158
+ | ListTagsForResourceCommandInput
159
+ | PutEventsCommandInput
160
+ | PutRawEventsCommandInput
161
+ | PutResourcePolicyCommandInput
162
+ | RevokeResourceCommandInput
163
+ | TagResourceCommandInput
164
+ | UntagResourceCommandInput
165
+ | UpdateEventBusCommandInput
166
+ | UpdateEventSourceCommandInput
167
+ | UpdateSubscriberCommandInput;
168
+ export type ServiceOutputTypes =
169
+ | CreateEventBusCommandOutput
170
+ | CreateEventSourceCommandOutput
171
+ | CreateSubscriberCommandOutput
172
+ | DeleteEventBusCommandOutput
173
+ | DeleteEventSourceCommandOutput
174
+ | DeleteResourcePolicyCommandOutput
175
+ | DeleteSubscriberCommandOutput
176
+ | DescribeEventBusCommandOutput
177
+ | DescribeEventSourceCommandOutput
178
+ | DescribeSubscriberCommandOutput
179
+ | GetResourcePolicyCommandOutput
180
+ | ListEventBusesCommandOutput
181
+ | ListEventSourcesCommandOutput
182
+ | ListResourcePoliciesCommandOutput
183
+ | ListSubscribersCommandOutput
184
+ | ListTagsForResourceCommandOutput
185
+ | PutEventsCommandOutput
186
+ | PutRawEventsCommandOutput
187
+ | PutResourcePolicyCommandOutput
188
+ | RevokeResourceCommandOutput
189
+ | TagResourceCommandOutput
190
+ | UntagResourceCommandOutput
191
+ | UpdateEventBusCommandOutput
192
+ | UpdateEventSourceCommandOutput
193
+ | UpdateSubscriberCommandOutput;
194
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
195
+ requestHandler?: __HttpHandlerUserInput;
196
+ sha256?: __ChecksumConstructor | __HashConstructor;
197
+ urlParser?: __UrlParser;
198
+ bodyLengthChecker?: __BodyLengthCalculator;
199
+ streamCollector?: __StreamCollector;
200
+ base64Decoder?: __Decoder;
201
+ base64Encoder?: __Encoder;
202
+ utf8Decoder?: __Decoder;
203
+ utf8Encoder?: __Encoder;
204
+ runtime?: string;
205
+ disableHostPrefix?: boolean;
206
+ serviceId?: string;
207
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
208
+ useFipsEndpoint?: boolean | __Provider<boolean>;
209
+ region?: string | __Provider<string>;
210
+ profile?: string;
211
+ accountIdEndpointMode?: AccountIdEndpointMode | __Provider<AccountIdEndpointMode>;
212
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
213
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
214
+ maxAttempts?: number | __Provider<number>;
215
+ retryMode?: string | __Provider<string>;
216
+ logger?: __Logger;
217
+ extensions?: RuntimeExtension[];
218
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
219
+ }
220
+ export type EventBridgeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
221
+ ClientDefaults &
222
+ AccountIdEndpointModeInputConfig &
223
+ UserAgentInputConfig &
224
+ RetryInputConfig &
225
+ RegionInputConfig &
226
+ HostHeaderInputConfig &
227
+ EndpointInputConfig<EndpointParameters> &
228
+ HttpAuthSchemeInputConfig &
229
+ ClientInputEndpointParameters;
230
+ export interface EventBridgeV2ClientConfig extends EventBridgeV2ClientConfigType {}
231
+ export type EventBridgeV2ClientResolvedConfigType =
232
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
233
+ Required<ClientDefaults> &
234
+ RuntimeExtensionsConfig &
235
+ AccountIdEndpointModeResolvedConfig &
236
+ UserAgentResolvedConfig &
237
+ RetryResolvedConfig &
238
+ RegionResolvedConfig &
239
+ HostHeaderResolvedConfig &
240
+ EndpointResolvedConfig<EndpointParameters> &
241
+ HttpAuthSchemeResolvedConfig &
242
+ ClientResolvedEndpointParameters;
243
+ export interface EventBridgeV2ClientResolvedConfig extends EventBridgeV2ClientResolvedConfigType {}
244
+ export declare class EventBridgeV2Client extends __Client<
245
+ __HttpHandlerOptions,
246
+ ServiceInputTypes,
247
+ ServiceOutputTypes,
248
+ EventBridgeV2ClientResolvedConfig
249
+ > {
250
+ readonly config: EventBridgeV2ClientResolvedConfig;
251
+ constructor(...[configuration]: __CheckOptionalClientConfig<EventBridgeV2ClientConfig>);
252
+ destroy(): void;
253
+ }
@@ -0,0 +1,25 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { EventBridgeV2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: EventBridgeV2HttpAuthSchemeProvider): void;
11
+ httpAuthSchemeProvider(): EventBridgeV2HttpAuthSchemeProvider;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
14
+ }
15
+ export type HttpAuthRuntimeConfig = Partial<{
16
+ httpAuthSchemes: HttpAuthScheme[];
17
+ httpAuthSchemeProvider: EventBridgeV2HttpAuthSchemeProvider;
18
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
19
+ }>;
20
+ export declare const getHttpAuthExtensionConfiguration: (
21
+ runtimeConfig: HttpAuthRuntimeConfig,
22
+ ) => HttpAuthExtensionConfiguration;
23
+ export declare const resolveHttpAuthRuntimeConfig: (
24
+ config: HttpAuthExtensionConfiguration,
25
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,43 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core/httpAuthSchemes";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { EventBridgeV2ClientResolvedConfig } from "../EventBridgeV2Client";
15
+ export interface EventBridgeV2HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface EventBridgeV2HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ EventBridgeV2ClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ EventBridgeV2HttpAuthSchemeParameters,
22
+ object
23
+ > {}
24
+ export declare const defaultEventBridgeV2HttpAuthSchemeParametersProvider: (
25
+ config: EventBridgeV2ClientResolvedConfig,
26
+ context: HandlerExecutionContext,
27
+ input: object,
28
+ ) => Promise<EventBridgeV2HttpAuthSchemeParameters>;
29
+ export interface EventBridgeV2HttpAuthSchemeProvider extends HttpAuthSchemeProvider<EventBridgeV2HttpAuthSchemeParameters> {}
30
+ export declare const defaultEventBridgeV2HttpAuthSchemeProvider: EventBridgeV2HttpAuthSchemeProvider;
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ authSchemePreference?: string[] | Provider<string[]>;
33
+ httpAuthSchemes?: HttpAuthScheme[];
34
+ httpAuthSchemeProvider?: EventBridgeV2HttpAuthSchemeProvider;
35
+ }
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
37
+ readonly authSchemePreference: Provider<string[]>;
38
+ readonly httpAuthSchemes: HttpAuthScheme[];
39
+ readonly httpAuthSchemeProvider: EventBridgeV2HttpAuthSchemeProvider;
40
+ }
41
+ export declare const resolveHttpAuthSchemeConfig: <T>(
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
43
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ EventBridgeV2ClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./EventBridgeV2Client";
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
8
+ added: EndpointParameterInstructions,
9
+ plugins: (
10
+ CommandCtor: any,
11
+ clientStack: any,
12
+ config: any,
13
+ options: any,
14
+ ) => import("@smithy/types").Pluggable<any, any>[],
15
+ op: string,
16
+ $: import("@smithy/types").StaticOperationSchema,
17
+ smithyContext?: Record<string, unknown>,
18
+ ) => {
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ I,
23
+ O,
24
+ EventBridgeV2ClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: import("@smithy/types").OptionalParameter<I>
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ I,
32
+ O,
33
+ EventBridgeV2ClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ };
39
+ export declare const _ep0: EndpointParameterInstructions;
40
+ export declare const _ep1: EndpointParameterInstructions;
41
+ export declare const _ep2: EndpointParameterInstructions;
42
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateEventBusRequest, CreateEventBusResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateEventBusCommandInput extends CreateEventBusRequest {}
5
+ export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __MetadataBearer {}
6
+ declare const CreateEventBusCommand_base: {
7
+ new (
8
+ input: CreateEventBusCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ CreateEventBusCommandInput,
11
+ CreateEventBusCommandOutput,
12
+ import("..").EventBridgeV2ClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: CreateEventBusCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ CreateEventBusCommandInput,
20
+ CreateEventBusCommandOutput,
21
+ import("..").EventBridgeV2ClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class CreateEventBusCommand extends CreateEventBusCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: CreateEventBusRequest;
31
+ output: CreateEventBusResponse;
32
+ };
33
+ sdk: {
34
+ input: CreateEventBusCommandInput;
35
+ output: CreateEventBusCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateEventSourceRequest, CreateEventSourceResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateEventSourceCommandInput extends CreateEventSourceRequest {}
5
+ export interface CreateEventSourceCommandOutput
6
+ extends CreateEventSourceResponse, __MetadataBearer {}
7
+ declare const CreateEventSourceCommand_base: {
8
+ new (
9
+ input: CreateEventSourceCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ CreateEventSourceCommandInput,
12
+ CreateEventSourceCommandOutput,
13
+ import("..").EventBridgeV2ClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: CreateEventSourceCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ CreateEventSourceCommandInput,
21
+ CreateEventSourceCommandOutput,
22
+ import("..").EventBridgeV2ClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class CreateEventSourceCommand extends CreateEventSourceCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: CreateEventSourceRequest;
32
+ output: CreateEventSourceResponse;
33
+ };
34
+ sdk: {
35
+ input: CreateEventSourceCommandInput;
36
+ output: CreateEventSourceCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateSubscriberRequest, CreateSubscriberResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateSubscriberCommandInput extends CreateSubscriberRequest {}
5
+ export interface CreateSubscriberCommandOutput extends CreateSubscriberResponse, __MetadataBearer {}
6
+ declare const CreateSubscriberCommand_base: {
7
+ new (
8
+ input: CreateSubscriberCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ CreateSubscriberCommandInput,
11
+ CreateSubscriberCommandOutput,
12
+ import("..").EventBridgeV2ClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: CreateSubscriberCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ CreateSubscriberCommandInput,
20
+ CreateSubscriberCommandOutput,
21
+ import("..").EventBridgeV2ClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class CreateSubscriberCommand extends CreateSubscriberCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: CreateSubscriberRequest;
31
+ output: CreateSubscriberResponse;
32
+ };
33
+ sdk: {
34
+ input: CreateSubscriberCommandInput;
35
+ output: CreateSubscriberCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DeleteEventBusRequest, DeleteEventBusResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DeleteEventBusCommandInput extends DeleteEventBusRequest {}
5
+ export interface DeleteEventBusCommandOutput extends DeleteEventBusResponse, __MetadataBearer {}
6
+ declare const DeleteEventBusCommand_base: {
7
+ new (
8
+ input: DeleteEventBusCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ DeleteEventBusCommandInput,
11
+ DeleteEventBusCommandOutput,
12
+ import("..").EventBridgeV2ClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: DeleteEventBusCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ DeleteEventBusCommandInput,
20
+ DeleteEventBusCommandOutput,
21
+ import("..").EventBridgeV2ClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class DeleteEventBusCommand extends DeleteEventBusCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: DeleteEventBusRequest;
31
+ output: {};
32
+ };
33
+ sdk: {
34
+ input: DeleteEventBusCommandInput;
35
+ output: DeleteEventBusCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DeleteEventSourceRequest, DeleteEventSourceResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DeleteEventSourceCommandInput extends DeleteEventSourceRequest {}
5
+ export interface DeleteEventSourceCommandOutput
6
+ extends DeleteEventSourceResponse, __MetadataBearer {}
7
+ declare const DeleteEventSourceCommand_base: {
8
+ new (
9
+ input: DeleteEventSourceCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ DeleteEventSourceCommandInput,
12
+ DeleteEventSourceCommandOutput,
13
+ import("..").EventBridgeV2ClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: DeleteEventSourceCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ DeleteEventSourceCommandInput,
21
+ DeleteEventSourceCommandOutput,
22
+ import("..").EventBridgeV2ClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class DeleteEventSourceCommand extends DeleteEventSourceCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: DeleteEventSourceRequest;
32
+ output: {};
33
+ };
34
+ sdk: {
35
+ input: DeleteEventSourceCommandInput;
36
+ output: DeleteEventSourceCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {}
5
+ export interface DeleteResourcePolicyCommandOutput
6
+ extends DeleteResourcePolicyResponse, __MetadataBearer {}
7
+ declare const DeleteResourcePolicyCommand_base: {
8
+ new (
9
+ input: DeleteResourcePolicyCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ DeleteResourcePolicyCommandInput,
12
+ DeleteResourcePolicyCommandOutput,
13
+ import("..").EventBridgeV2ClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: DeleteResourcePolicyCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ DeleteResourcePolicyCommandInput,
21
+ DeleteResourcePolicyCommandOutput,
22
+ import("..").EventBridgeV2ClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: DeleteResourcePolicyRequest;
32
+ output: DeleteResourcePolicyResponse;
33
+ };
34
+ sdk: {
35
+ input: DeleteResourcePolicyCommandInput;
36
+ output: DeleteResourcePolicyCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DeleteSubscriberRequest, DeleteSubscriberResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DeleteSubscriberCommandInput extends DeleteSubscriberRequest {}
5
+ export interface DeleteSubscriberCommandOutput extends DeleteSubscriberResponse, __MetadataBearer {}
6
+ declare const DeleteSubscriberCommand_base: {
7
+ new (
8
+ input: DeleteSubscriberCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ DeleteSubscriberCommandInput,
11
+ DeleteSubscriberCommandOutput,
12
+ import("..").EventBridgeV2ClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: DeleteSubscriberCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ DeleteSubscriberCommandInput,
20
+ DeleteSubscriberCommandOutput,
21
+ import("..").EventBridgeV2ClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class DeleteSubscriberCommand extends DeleteSubscriberCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: DeleteSubscriberRequest;
31
+ output: {};
32
+ };
33
+ sdk: {
34
+ input: DeleteSubscriberCommandInput;
35
+ output: DeleteSubscriberCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DescribeEventBusRequest, DescribeEventBusResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DescribeEventBusCommandInput extends DescribeEventBusRequest {}
5
+ export interface DescribeEventBusCommandOutput extends DescribeEventBusResponse, __MetadataBearer {}
6
+ declare const DescribeEventBusCommand_base: {
7
+ new (
8
+ input: DescribeEventBusCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ DescribeEventBusCommandInput,
11
+ DescribeEventBusCommandOutput,
12
+ import("..").EventBridgeV2ClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: DescribeEventBusCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ DescribeEventBusCommandInput,
20
+ DescribeEventBusCommandOutput,
21
+ import("..").EventBridgeV2ClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class DescribeEventBusCommand extends DescribeEventBusCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: DescribeEventBusRequest;
31
+ output: DescribeEventBusResponse;
32
+ };
33
+ sdk: {
34
+ input: DescribeEventBusCommandInput;
35
+ output: DescribeEventBusCommandOutput;
36
+ };
37
+ };
38
+ }