@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,1982 @@
1
+ const { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, resolveAccountIdEndpointModeConfig } = require("@aws-sdk/core/account-id-endpoint");
2
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
5
+ const { Command: $Command } = require("@smithy/core/client");
6
+ exports.$Command = $Command;
7
+ exports.__Client = Client;
8
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
9
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
10
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
11
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
12
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
13
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
14
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
15
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
16
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
17
+ const { AwsSmithyRpcV2CborProtocol } = require("@aws-sdk/core/protocols");
18
+ const { Sha256 } = require("@smithy/core/checksum");
19
+
20
+ const defaultEventBridgeV2HttpAuthSchemeParametersProvider = async (config, context, input) => {
21
+ return {
22
+ operation: getSmithyContext(context).operation,
23
+ region: await normalizeProvider(config.region)() || (() => {
24
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
25
+ })(),
26
+ };
27
+ };
28
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
29
+ return {
30
+ schemeId: "aws.auth#sigv4",
31
+ signingProperties: {
32
+ name: "events",
33
+ region: authParameters.region,
34
+ },
35
+ propertiesExtractor: (config, context) => ({
36
+ signingProperties: {
37
+ config,
38
+ context,
39
+ },
40
+ }),
41
+ };
42
+ }
43
+ const defaultEventBridgeV2HttpAuthSchemeProvider = (authParameters) => {
44
+ const options = [];
45
+ switch (authParameters.operation) {
46
+ default: {
47
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
48
+ }
49
+ }
50
+ return options;
51
+ };
52
+ const resolveHttpAuthSchemeConfig = (config) => {
53
+ const config_0 = resolveAwsSdkSigV4Config(config);
54
+ return Object.assign(config_0, {
55
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
56
+ });
57
+ };
58
+
59
+ const resolveClientEndpointParameters = (options) => {
60
+ return Object.assign(options, {
61
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
62
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
63
+ defaultSigningName: "events",
64
+ });
65
+ };
66
+ const commonParams = {
67
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
68
+ AccountId: { type: "builtInParams", name: "accountId" },
69
+ Endpoint: { type: "builtInParams", name: "endpoint" },
70
+ Region: { type: "builtInParams", name: "region" },
71
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
72
+ AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
73
+ };
74
+
75
+ var version = "3.0.0";
76
+ var packageInfo = {
77
+ version: version};
78
+
79
+ const t = "ref";
80
+ const a = -1, b = false, c = true, d = "isSet", e = "PartitionResult", f = "stringEquals", g = "ParsedBusArn", h = "getAttr", i = "isValidHostLabel", j = "booleanEquals", k = { [t]: "Endpoint" }, l = { [t]: "AccountIdEndpointMode" }, m = { [t]: g }, n = { [t]: "AccountId" }, o = { [t]: e }, p = {}, q = { "metricValues": ["O"] }, s = [{ [t]: "EventBusArn" }];
81
+ const _data = {
82
+ conditions: [
83
+ [d, [k]],
84
+ ["aws.partition", [{ [t]: "Region" }], e],
85
+ [d, [l]],
86
+ [f, [l, "disabled"]],
87
+ [d, s],
88
+ ["aws.parseArn", s, g],
89
+ [f, [{ fn: h, argv: [m, "service"] }, "events"]],
90
+ [i, [{ fn: h, argv: [m, "accountId"] }, b]],
91
+ [d, [n]],
92
+ [f, [l, "required"]],
93
+ [i, [n, b]],
94
+ [j, [{ [t]: "UseFIPS" }, c]],
95
+ [j, [{ [t]: "UseDualStack" }, c]],
96
+ [j, [{ fn: h, argv: [o, "supportsDualStack"] }, c]],
97
+ [j, [{ fn: h, argv: [o, "supportsFIPS"] }, c]]
98
+ ],
99
+ results: [
100
+ [a],
101
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
102
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
103
+ [k, p],
104
+ ["https://{ParsedBusArn#accountId}.eventsv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", q],
105
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
106
+ ["https://{ParsedBusArn#accountId}.eventsv2-fips.{Region}.{PartitionResult#dnsSuffix}", q],
107
+ [a, "FIPS is enabled but this partition does not support FIPS"],
108
+ ["https://{ParsedBusArn#accountId}.eventsv2.{Region}.{PartitionResult#dualStackDnsSuffix}", q],
109
+ [a, "DualStack is enabled but this partition does not support DualStack"],
110
+ ["https://{ParsedBusArn#accountId}.eventsv2.{Region}.{PartitionResult#dnsSuffix}", q],
111
+ ["https://{AccountId}.eventsv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", q],
112
+ ["https://{AccountId}.eventsv2-fips.{Region}.{PartitionResult#dnsSuffix}", q],
113
+ ["https://{AccountId}.eventsv2.{Region}.{PartitionResult#dualStackDnsSuffix}", q],
114
+ ["https://{AccountId}.eventsv2.{Region}.{PartitionResult#dnsSuffix}", q],
115
+ [a, "Credentials-sourced account ID parameter is invalid"],
116
+ [a, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"],
117
+ ["https://eventsv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", p],
118
+ ["https://eventsv2-fips.{Region}.{PartitionResult#dnsSuffix}", p],
119
+ ["https://eventsv2.{Region}.{PartitionResult#dualStackDnsSuffix}", p],
120
+ ["https://eventsv2.{Region}.{PartitionResult#dnsSuffix}", p]
121
+ ]
122
+ };
123
+ const root = 2;
124
+ const r = 100_000_000;
125
+ const nodes = new Int32Array([
126
+ -1, 1, -1,
127
+ 0, 34, 3,
128
+ 1, 4, r + 0,
129
+ 2, 5, 27,
130
+ 3, 26, 6,
131
+ 4, 7, 10,
132
+ 5, 8, 10,
133
+ 6, 9, 10,
134
+ 7, 19, 10,
135
+ 8, 11, 26,
136
+ 10, 12, r + 15,
137
+ 11, 15, 13,
138
+ 12, 14, r + 14,
139
+ 13, r + 13, r + 9,
140
+ 12, 17, 16,
141
+ 14, r + 12, r + 7,
142
+ 13, 18, r + 5,
143
+ 14, r + 11, r + 5,
144
+ 11, 22, 20,
145
+ 12, 21, r + 10,
146
+ 13, r + 8, r + 9,
147
+ 12, 24, 23,
148
+ 14, r + 6, r + 7,
149
+ 13, 25, r + 5,
150
+ 14, r + 4, r + 5,
151
+ 9, r + 16, 27,
152
+ 11, 30, 28,
153
+ 12, 29, r + 20,
154
+ 13, r + 19, r + 9,
155
+ 12, 32, 31,
156
+ 14, r + 18, r + 7,
157
+ 13, 33, r + 5,
158
+ 14, r + 17, r + 5,
159
+ 11, r + 1, 35,
160
+ 12, r + 2, r + 3,
161
+ ]);
162
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
163
+
164
+ const cache = new EndpointCache({
165
+ size: 50,
166
+ params: ["AccountId", "AccountIdEndpointMode", "Endpoint", "EventBusArn", "Region", "UseDualStack", "UseFIPS"],
167
+ });
168
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
169
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
170
+ endpointParams: endpointParams,
171
+ logger: context.logger,
172
+ }));
173
+ };
174
+ customEndpointFunctions.aws = awsEndpointFunctions;
175
+
176
+ class EventBridgeV2ServiceException extends ServiceException {
177
+ constructor(options) {
178
+ super(options);
179
+ Object.setPrototypeOf(this, EventBridgeV2ServiceException.prototype);
180
+ }
181
+ }
182
+
183
+ class AccessDeniedException extends EventBridgeV2ServiceException {
184
+ name = "AccessDeniedException";
185
+ $fault = "client";
186
+ Message;
187
+ constructor(opts) {
188
+ super({
189
+ name: "AccessDeniedException",
190
+ $fault: "client",
191
+ ...opts,
192
+ });
193
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
194
+ this.Message = opts.Message;
195
+ }
196
+ }
197
+ class ConcurrentModificationException extends EventBridgeV2ServiceException {
198
+ name = "ConcurrentModificationException";
199
+ $fault = "client";
200
+ $retryable = {};
201
+ Message;
202
+ constructor(opts) {
203
+ super({
204
+ name: "ConcurrentModificationException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
209
+ this.Message = opts.Message;
210
+ }
211
+ }
212
+ class IdempotentParameterMismatchException extends EventBridgeV2ServiceException {
213
+ name = "IdempotentParameterMismatchException";
214
+ $fault = "client";
215
+ Message;
216
+ constructor(opts) {
217
+ super({
218
+ name: "IdempotentParameterMismatchException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
223
+ this.Message = opts.Message;
224
+ }
225
+ }
226
+ class InternalException extends EventBridgeV2ServiceException {
227
+ name = "InternalException";
228
+ $fault = "server";
229
+ $retryable = {};
230
+ Message;
231
+ constructor(opts) {
232
+ super({
233
+ name: "InternalException",
234
+ $fault: "server",
235
+ ...opts,
236
+ });
237
+ Object.setPrototypeOf(this, InternalException.prototype);
238
+ this.Message = opts.Message;
239
+ }
240
+ }
241
+ class InvalidInputException extends EventBridgeV2ServiceException {
242
+ name = "InvalidInputException";
243
+ $fault = "client";
244
+ Message;
245
+ constructor(opts) {
246
+ super({
247
+ name: "InvalidInputException",
248
+ $fault: "client",
249
+ ...opts,
250
+ });
251
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
252
+ this.Message = opts.Message;
253
+ }
254
+ }
255
+ class InvalidStateException extends EventBridgeV2ServiceException {
256
+ name = "InvalidStateException";
257
+ $fault = "client";
258
+ Message;
259
+ constructor(opts) {
260
+ super({
261
+ name: "InvalidStateException",
262
+ $fault: "client",
263
+ ...opts,
264
+ });
265
+ Object.setPrototypeOf(this, InvalidStateException.prototype);
266
+ this.Message = opts.Message;
267
+ }
268
+ }
269
+ class LimitExceededException extends EventBridgeV2ServiceException {
270
+ name = "LimitExceededException";
271
+ $fault = "client";
272
+ Message;
273
+ constructor(opts) {
274
+ super({
275
+ name: "LimitExceededException",
276
+ $fault: "client",
277
+ ...opts,
278
+ });
279
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
280
+ this.Message = opts.Message;
281
+ }
282
+ }
283
+ class ResourceAlreadyExistsException extends EventBridgeV2ServiceException {
284
+ name = "ResourceAlreadyExistsException";
285
+ $fault = "client";
286
+ Message;
287
+ constructor(opts) {
288
+ super({
289
+ name: "ResourceAlreadyExistsException",
290
+ $fault: "client",
291
+ ...opts,
292
+ });
293
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
294
+ this.Message = opts.Message;
295
+ }
296
+ }
297
+ class ThrottlingException extends EventBridgeV2ServiceException {
298
+ name = "ThrottlingException";
299
+ $fault = "client";
300
+ $retryable = {
301
+ throttling: true,
302
+ };
303
+ Message;
304
+ constructor(opts) {
305
+ super({
306
+ name: "ThrottlingException",
307
+ $fault: "client",
308
+ ...opts,
309
+ });
310
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
311
+ this.Message = opts.Message;
312
+ }
313
+ }
314
+ class ResourceNotFoundException extends EventBridgeV2ServiceException {
315
+ name = "ResourceNotFoundException";
316
+ $fault = "client";
317
+ Message;
318
+ constructor(opts) {
319
+ super({
320
+ name: "ResourceNotFoundException",
321
+ $fault: "client",
322
+ ...opts,
323
+ });
324
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
325
+ this.Message = opts.Message;
326
+ }
327
+ }
328
+ class ResourceInUseException extends EventBridgeV2ServiceException {
329
+ name = "ResourceInUseException";
330
+ $fault = "client";
331
+ Message;
332
+ constructor(opts) {
333
+ super({
334
+ name: "ResourceInUseException",
335
+ $fault: "client",
336
+ ...opts,
337
+ });
338
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
339
+ this.Message = opts.Message;
340
+ }
341
+ }
342
+ class ConflictException extends EventBridgeV2ServiceException {
343
+ name = "ConflictException";
344
+ $fault = "client";
345
+ Message;
346
+ constructor(opts) {
347
+ super({
348
+ name: "ConflictException",
349
+ $fault: "client",
350
+ ...opts,
351
+ });
352
+ Object.setPrototypeOf(this, ConflictException.prototype);
353
+ this.Message = opts.Message;
354
+ }
355
+ }
356
+ class SchemaRegistryUnavailableException extends EventBridgeV2ServiceException {
357
+ name = "SchemaRegistryUnavailableException";
358
+ $fault = "client";
359
+ $retryable = {};
360
+ Message;
361
+ constructor(opts) {
362
+ super({
363
+ name: "SchemaRegistryUnavailableException",
364
+ $fault: "client",
365
+ ...opts,
366
+ });
367
+ Object.setPrototypeOf(this, SchemaRegistryUnavailableException.prototype);
368
+ this.Message = opts.Message;
369
+ }
370
+ }
371
+ class PolicyLengthExceededException extends EventBridgeV2ServiceException {
372
+ name = "PolicyLengthExceededException";
373
+ $fault = "client";
374
+ Message;
375
+ constructor(opts) {
376
+ super({
377
+ name: "PolicyLengthExceededException",
378
+ $fault: "client",
379
+ ...opts,
380
+ });
381
+ Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
382
+ this.Message = opts.Message;
383
+ }
384
+ }
385
+ class PublicPolicyException extends EventBridgeV2ServiceException {
386
+ name = "PublicPolicyException";
387
+ $fault = "client";
388
+ Message;
389
+ constructor(opts) {
390
+ super({
391
+ name: "PublicPolicyException",
392
+ $fault: "client",
393
+ ...opts,
394
+ });
395
+ Object.setPrototypeOf(this, PublicPolicyException.prototype);
396
+ this.Message = opts.Message;
397
+ }
398
+ }
399
+
400
+ const _A = "Arn";
401
+ const _ADE = "AccessDeniedException";
402
+ const _AS = "AwsService";
403
+ const _ASEC = "AwsServiceEventsConfiguration";
404
+ const _ASESC = "AwsServiceEventsSourceConfiguration";
405
+ const _BC = "BatchConfiguration";
406
+ const _BV = "BinaryValue";
407
+ const _C = "Configuration";
408
+ const _CA = "ConnectionArn";
409
+ const _CE = "ConflictException";
410
+ const _CEB = "CreateEventBus";
411
+ const _CEBR = "CreateEventBusRequest";
412
+ const _CEBRr = "CreateEventBusResponse";
413
+ const _CES = "CreateEventSource";
414
+ const _CESR = "CreateEventSourceRequest";
415
+ const _CESRr = "CreateEventSourceResponse";
416
+ const _CME = "ConcurrentModificationException";
417
+ const _CPRC = "ConfluentPublicRegistryConfiguration";
418
+ const _CS = "CreateSubscriber";
419
+ const _CSR = "CreateSubscriberRequest";
420
+ const _CSRr = "CreateSubscriberResponse";
421
+ const _CT = "ClientToken";
422
+ const _CTo = "ContentType";
423
+ const _CTr = "CreationTime";
424
+ const _D = "Description";
425
+ const _DC = "DeduplicationConfiguration";
426
+ const _DEB = "DeleteEventBus";
427
+ const _DEBR = "DeleteEventBusRequest";
428
+ const _DEBRe = "DeleteEventBusResponse";
429
+ const _DEBRes = "DescribeEventBusRequest";
430
+ const _DEBResc = "DescribeEventBusResponse";
431
+ const _DEBe = "DescribeEventBus";
432
+ const _DEN = "DurableExecutionName";
433
+ const _DES = "DeleteEventSource";
434
+ const _DESR = "DeleteEventSourceRequest";
435
+ const _DESRe = "DeleteEventSourceResponse";
436
+ const _DESRes = "DescribeEventSourceRequest";
437
+ const _DESResc = "DescribeEventSourceResponse";
438
+ const _DESe = "DescribeEventSource";
439
+ const _DI = "DeduplicationId";
440
+ const _DRP = "DeleteResourcePolicy";
441
+ const _DRPR = "DeleteResourcePolicyRequest";
442
+ const _DRPRe = "DeleteResourcePolicyResponse";
443
+ const _DS = "DelaySeconds";
444
+ const _DSR = "DeleteSubscriberRequest";
445
+ const _DSRe = "DeleteSubscriberResponse";
446
+ const _DSRes = "DescribeSubscriberRequest";
447
+ const _DSResc = "DescribeSubscriberResponse";
448
+ const _DSe = "DeleteSubscriber";
449
+ const _DSes = "DescribeSubscriber";
450
+ const _DT = "DeduplicationType";
451
+ const _DTa = "DataType";
452
+ const _DTe = "DetailType";
453
+ const _Da = "Data";
454
+ const _De = "Detail";
455
+ const _E = "Expression";
456
+ const _EB = "EventBuses";
457
+ const _EBA = "EventBusArn";
458
+ const _EBAI = "EventBusAccountId";
459
+ const _EBS = "EventBusSummary";
460
+ const _EBSL = "EventBusSummaryList";
461
+ const _EBVP = "EventBusV2Parameters";
462
+ const _EBVSM = "EventBusV2SystemMetadata";
463
+ const _EC = "EncryptionConfiguration";
464
+ const _ECr = "ErrorCode";
465
+ const _ED = "EventData";
466
+ const _EDv = "EventDetail";
467
+ const _EGI = "EventGroupId";
468
+ const _EHK = "ExplicitHashKey";
469
+ const _EI = "EventId";
470
+ const _EM = "ErrorMessage";
471
+ const _EMM = "EventMetadataMap";
472
+ const _EMV = "EventMetadataValue";
473
+ const _EP = "EventPattern";
474
+ const _EPn = "EndPoint";
475
+ const _ERI = "ExpectedRevisionId";
476
+ const _ES = "EventSources";
477
+ const _ESA = "EventSourceArn";
478
+ const _ESAI = "EventSourceAccountId";
479
+ const _ESC = "EventSourceConfiguration";
480
+ const _ESS = "EventSourceSummary";
481
+ const _ESSL = "EventSourceSummaryList";
482
+ const _En = "Entries";
483
+ const _F = "Filter";
484
+ const _FC = "FilterConfiguration";
485
+ const _FEC = "FailedEntryCount";
486
+ const _FL = "FilterList";
487
+ const _Fi = "Filters";
488
+ const _GRP = "GetResourcePolicy";
489
+ const _GRPR = "GetResourcePolicyRequest";
490
+ const _GRPRe = "GetResourcePolicyResponse";
491
+ const _HP = "HttpParameters";
492
+ const _HPe = "HeaderParameters";
493
+ const _I = "Input";
494
+ const _IC = "InvokeConfiguration";
495
+ const _IE = "InternalException";
496
+ const _IIE = "InvalidInputException";
497
+ const _IP = "IncludePayload";
498
+ const _IPME = "IdempotentParameterMismatchException";
499
+ const _ISE = "InvalidStateException";
500
+ const _IT = "InvocationType";
501
+ const _ITS = "InvocationTimeoutSeconds";
502
+ const _JC = "JsonataConfiguration";
503
+ const _KKI = "KmsKeyIdentifier";
504
+ const _KP = "KinesisParameters";
505
+ const _L = "Language";
506
+ const _LC = "LogConfiguration";
507
+ const _LEB = "ListEventBuses";
508
+ const _LEBR = "ListEventBusesRequest";
509
+ const _LEBRi = "ListEventBusesResponse";
510
+ const _LEE = "LimitExceededException";
511
+ const _LES = "ListEventSources";
512
+ const _LESR = "ListEventSourcesRequest";
513
+ const _LESRi = "ListEventSourcesResponse";
514
+ const _LMT = "LastModifiedTime";
515
+ const _LP = "LambdaParameters";
516
+ const _LRP = "ListResourcePolicies";
517
+ const _LRPR = "ListResourcePoliciesRequest";
518
+ const _LRPRi = "ListResourcePoliciesResponse";
519
+ const _LS = "ListSubscribers";
520
+ const _LSR = "ListSubscribersRequest";
521
+ const _LSRi = "ListSubscribersResponse";
522
+ const _LTFR = "ListTagsForResource";
523
+ const _LTFRR = "ListTagsForResourceRequest";
524
+ const _LTFRRi = "ListTagsForResourceResponse";
525
+ const _Le = "Level";
526
+ const _M = "Message";
527
+ const _MA = "MessageAttributes";
528
+ const _MBS = "MaxBatchSize";
529
+ const _MBWIS = "MaxBatchWindowInSeconds";
530
+ const _MDI = "MessageDeduplicationId";
531
+ const _MEAIS = "MaxEventAgeInSeconds";
532
+ const _MGI = "MessageGroupId";
533
+ const _MR = "MaxResults";
534
+ const _MRA = "MaxRetryAttempts";
535
+ const _MS = "MessageStructure";
536
+ const _MSA = "MessageSystemAttributes";
537
+ const _Me = "Metadata";
538
+ const _N = "Name";
539
+ const _NP = "NamePrefix";
540
+ const _NT = "NextToken";
541
+ const _OFC = "OnFailureConfiguration";
542
+ const _P = "Pattern";
543
+ const _PBKKI = "PartnerBusKmsKeyIdentifier";
544
+ const _PD = "PolicyDocument";
545
+ const _PE = "PutEvents";
546
+ const _PEC = "PartnerEventsConfiguration";
547
+ const _PER = "PutEventsRequest";
548
+ const _PERE = "PutEventsRequestEntry";
549
+ const _PEREL = "PutEventsRequestEntryList";
550
+ const _PERELu = "PutEventsResultEntryList";
551
+ const _PEREu = "PutEventsResultEntry";
552
+ const _PERu = "PutEventsResponse";
553
+ const _PESA = "PartnerEventSourceArn";
554
+ const _PESC = "PartnerEventsSourceConfiguration";
555
+ const _PESM = "PutEventsSystemMetadata";
556
+ const _PITC = "PointInTimeConfiguration";
557
+ const _PK = "PartitionKey";
558
+ const _PLEE = "PolicyLengthExceededException";
559
+ const _PN = "PolicyName";
560
+ const _PPE = "PublicPolicyException";
561
+ const _PPV = "PathParameterValues";
562
+ const _PRE = "PutRawEvents";
563
+ const _PRER = "PutRawEventsRequest";
564
+ const _PRERE = "PutRawEventsRequestEntry";
565
+ const _PREREL = "PutRawEventsRequestEntryList";
566
+ const _PRERELu = "PutRawEventsResultEntryList";
567
+ const _PREREu = "PutRawEventsResultEntry";
568
+ const _PRERu = "PutRawEventsResponse";
569
+ const _PRESM = "PutRawEventsSystemMetadata";
570
+ const _PRP = "PutResourcePolicy";
571
+ const _PRPR = "PutResourcePolicyRequest";
572
+ const _PRPRu = "PutResourcePolicyResponse";
573
+ const _PS = "PolicySummaries";
574
+ const _PT = "PointType";
575
+ const _Q = "Qualifier";
576
+ const _QSP = "QueryStringParameters";
577
+ const _R = "Revoked";
578
+ const _RA = "ResourceArn";
579
+ const _RAEE = "ResourceAlreadyExistsException";
580
+ const _RAo = "RoleArn";
581
+ const _RI = "RevisionId";
582
+ const _RIUE = "ResourceInUseException";
583
+ const _RNFE = "ResourceNotFoundException";
584
+ const _RP = "RetryPolicy";
585
+ const _RPID = "RetentionPeriodInDays";
586
+ const _RPS = "ResourcePolicySummary";
587
+ const _RPSL = "ResourcePolicySummaryList";
588
+ const _RPe = "ResumePosition";
589
+ const _RR = "RevokeResource";
590
+ const _RRR = "RevokeResourceRequest";
591
+ const _RRRe = "RevokeResourceResponse";
592
+ const _RS = "RetryStrategy";
593
+ const _RU = "RegistryUri";
594
+ const _RWST = "RetentionWindowStartTime";
595
+ const _Re = "Resources";
596
+ const _S = "State";
597
+ const _SA = "SubscriberArn";
598
+ const _SAI = "SubscriberAccountId";
599
+ const _SC = "StorageConfiguration";
600
+ const _SCO = "StorageConfigurationOutput";
601
+ const _SCu = "SuccessCode";
602
+ const _SFP = "StepFunctionsParameters";
603
+ const _SM = "SystemMetadata";
604
+ const _SMAM = "SnsMessageAttributeMap";
605
+ const _SMAMq = "SqsMessageAttributeMap";
606
+ const _SMAV = "SnsMessageAttributeValue";
607
+ const _SMAVq = "SqsMessageAttributeValue";
608
+ const _SN = "SequenceNumber";
609
+ const _SP = "StartingPosition";
610
+ const _SPn = "SnsParameters";
611
+ const _SPq = "SqsParameters";
612
+ const _SPt = "StartingPoint";
613
+ const _SR = "StateReason";
614
+ const _SRC = "SchemaRegistryConfiguration";
615
+ const _SRUE = "SchemaRegistryUnavailableException";
616
+ const _SS = "SubscriberSummary";
617
+ const _SSL = "SubscriberSummaryList";
618
+ const _SV = "StringValue";
619
+ const _Sc = "Scope";
620
+ const _So = "Source";
621
+ const _Su = "Subscribers";
622
+ const _Sub = "Subject";
623
+ const _T = "Tags";
624
+ const _TA = "TargetArn";
625
+ const _TE = "ThrottlingException";
626
+ const _TH = "TraceHeader";
627
+ const _TI = "TenantId";
628
+ const _TK = "TagKeys";
629
+ const _TR = "TagResource";
630
+ const _TRR = "TagResourceRequest";
631
+ const _TRRa = "TagResourceResponse";
632
+ const _Ti = "Time";
633
+ const _Tr = "Transformer";
634
+ const _Ty = "Type";
635
+ const _UEB = "UpdateEventBus";
636
+ const _UEBR = "UpdateEventBusRequest";
637
+ const _UEBRp = "UpdateEventBusResponse";
638
+ const _UES = "UpdateEventSource";
639
+ const _UESR = "UpdateEventSourceRequest";
640
+ const _UESRp = "UpdateEventSourceResponse";
641
+ const _UIC = "UpdateInvokeConfiguration";
642
+ const _UR = "UntagResource";
643
+ const _URR = "UntagResourceRequest";
644
+ const _URRn = "UntagResourceResponse";
645
+ const _US = "UpdateSubscriber";
646
+ const _USR = "UpdateSubscriberRequest";
647
+ const _USRp = "UpdateSubscriberResponse";
648
+ const _UTP = "UniversalTargetParameters";
649
+ const _c = "client";
650
+ const _e = "error";
651
+ const _hE = "httpError";
652
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.eventbridgev2";
653
+ const _se = "server";
654
+ const n0 = "com.amazonaws.eventbridgev2";
655
+ const _s_registry = new TypeRegistry(_s);
656
+ var EventBridgeV2ServiceException$ = [-3, _s, "EventBridgeV2ServiceException", 0, [], []];
657
+ _s_registry.registerError(EventBridgeV2ServiceException$, EventBridgeV2ServiceException);
658
+ const n0_registry = new TypeRegistry(n0);
659
+ var AccessDeniedException$ = [-3, n0, _ADE,
660
+ { [_e]: _c, [_hE]: 403 },
661
+ [_M],
662
+ [0]
663
+ ];
664
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
665
+ var ConcurrentModificationException$ = [-3, n0, _CME,
666
+ { [_e]: _c, [_hE]: 409 },
667
+ [_M],
668
+ [0]
669
+ ];
670
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
671
+ var ConflictException$ = [-3, n0, _CE,
672
+ { [_e]: _c, [_hE]: 409 },
673
+ [_M],
674
+ [0]
675
+ ];
676
+ n0_registry.registerError(ConflictException$, ConflictException);
677
+ var IdempotentParameterMismatchException$ = [-3, n0, _IPME,
678
+ { [_e]: _c, [_hE]: 409 },
679
+ [_M],
680
+ [0]
681
+ ];
682
+ n0_registry.registerError(IdempotentParameterMismatchException$, IdempotentParameterMismatchException);
683
+ var InternalException$ = [-3, n0, _IE,
684
+ { [_e]: _se, [_hE]: 500 },
685
+ [_M],
686
+ [0]
687
+ ];
688
+ n0_registry.registerError(InternalException$, InternalException);
689
+ var InvalidInputException$ = [-3, n0, _IIE,
690
+ { [_e]: _c, [_hE]: 400 },
691
+ [_M],
692
+ [0]
693
+ ];
694
+ n0_registry.registerError(InvalidInputException$, InvalidInputException);
695
+ var InvalidStateException$ = [-3, n0, _ISE,
696
+ { [_e]: _c, [_hE]: 409 },
697
+ [_M],
698
+ [0]
699
+ ];
700
+ n0_registry.registerError(InvalidStateException$, InvalidStateException);
701
+ var LimitExceededException$ = [-3, n0, _LEE,
702
+ { [_e]: _c, [_hE]: 400 },
703
+ [_M],
704
+ [0]
705
+ ];
706
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
707
+ var PolicyLengthExceededException$ = [-3, n0, _PLEE,
708
+ { [_e]: _c, [_hE]: 400 },
709
+ [_M],
710
+ [0]
711
+ ];
712
+ n0_registry.registerError(PolicyLengthExceededException$, PolicyLengthExceededException);
713
+ var PublicPolicyException$ = [-3, n0, _PPE,
714
+ { [_e]: _c, [_hE]: 400 },
715
+ [_M],
716
+ [0]
717
+ ];
718
+ n0_registry.registerError(PublicPolicyException$, PublicPolicyException);
719
+ var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
720
+ { [_e]: _c, [_hE]: 409 },
721
+ [_M],
722
+ [0]
723
+ ];
724
+ n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
725
+ var ResourceInUseException$ = [-3, n0, _RIUE,
726
+ { [_e]: _c, [_hE]: 409 },
727
+ [_M],
728
+ [0]
729
+ ];
730
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
731
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
732
+ { [_e]: _c, [_hE]: 404 },
733
+ [_M],
734
+ [0]
735
+ ];
736
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
737
+ var SchemaRegistryUnavailableException$ = [-3, n0, _SRUE,
738
+ { [_e]: _c, [_hE]: 400 },
739
+ [_M],
740
+ [0]
741
+ ];
742
+ n0_registry.registerError(SchemaRegistryUnavailableException$, SchemaRegistryUnavailableException);
743
+ var ThrottlingException$ = [-3, n0, _TE,
744
+ { [_e]: _c, [_hE]: 429 },
745
+ [_M],
746
+ [0]
747
+ ];
748
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
749
+ const errorTypeRegistries = [
750
+ _s_registry,
751
+ n0_registry,
752
+ ];
753
+ var EventData = [0, n0, _ED, 8, 21];
754
+ var EventDetail = [0, n0, _EDv, 8, 0];
755
+ var EventMetadataValue = [0, n0, _EMV, 8, 0];
756
+ var EventPattern = [0, n0, _EP, 8, 0];
757
+ var AwsServiceEventsSourceConfiguration$ = [3, n0, _ASESC,
758
+ 0,
759
+ [_AS, _P, _OFC],
760
+ [0, [() => EventPattern, 0], () => OnFailureConfiguration$], 1
761
+ ];
762
+ var BatchConfiguration$ = [3, n0, _BC,
763
+ 0,
764
+ [_MBS, _MBWIS],
765
+ [1, 1]
766
+ ];
767
+ var ConfluentPublicRegistryConfiguration$ = [3, n0, _CPRC,
768
+ 0,
769
+ [_CA],
770
+ [0], 1
771
+ ];
772
+ var CreateEventBusRequest$ = [3, n0, _CEBR,
773
+ 0,
774
+ [_N, _D, _EC, _SC, _T, _CT],
775
+ [0, 0, () => EncryptionConfiguration$, () => StorageConfiguration$, 128 | 0, [0, 4]], 1
776
+ ];
777
+ var CreateEventBusResponse$ = [3, n0, _CEBRr,
778
+ 0,
779
+ [_EBA, _N, _D, _EC, _SC, _S, _SR, _CTr],
780
+ [0, 0, 0, () => EncryptionConfiguration$, () => StorageConfigurationOutput$, 0, 0, 4]
781
+ ];
782
+ var CreateEventSourceRequest$ = [3, n0, _CESR,
783
+ 0,
784
+ [_N, _EBA, _C, _D, _T, _CT],
785
+ [0, 0, [() => EventSourceConfiguration$, 0], 0, 128 | 0, [0, 4]], 3
786
+ ];
787
+ var CreateEventSourceResponse$ = [3, n0, _CESRr,
788
+ 0,
789
+ [_ESA, _N, _EBA, _S, _CTr],
790
+ [0, 0, 0, 0, 4]
791
+ ];
792
+ var CreateSubscriberRequest$ = [3, n0, _CSR,
793
+ 0,
794
+ [_N, _EBA, _IC, _D, _FC, _Ty, _SP, _PITC, _BC, _Tr, _RP, _OFC, _LC, _S, _T, _CT],
795
+ [0, 0, [() => InvokeConfiguration$, 0], 0, [() => FilterConfiguration$, 0], 0, 0, () => PointInTimeConfiguration$, () => BatchConfiguration$, [() => Transformer$, 0], () => RetryPolicy$, () => OnFailureConfiguration$, () => LogConfiguration$, 0, 128 | 0, [0, 4]], 3
796
+ ];
797
+ var CreateSubscriberResponse$ = [3, n0, _CSRr,
798
+ 0,
799
+ [_SA, _N, _EBA, _Ty, _SP, _PITC, _S, _CTr],
800
+ [0, 0, 0, 0, 0, () => PointInTimeConfiguration$, 0, 4]
801
+ ];
802
+ var DeduplicationConfiguration$ = [3, n0, _DC,
803
+ 0,
804
+ [_DT],
805
+ [0], 1
806
+ ];
807
+ var DeleteEventBusRequest$ = [3, n0, _DEBR,
808
+ 0,
809
+ [_EBA],
810
+ [0], 1
811
+ ];
812
+ var DeleteEventBusResponse$ = [3, n0, _DEBRe,
813
+ 0,
814
+ [],
815
+ []
816
+ ];
817
+ var DeleteEventSourceRequest$ = [3, n0, _DESR,
818
+ 0,
819
+ [_ESA],
820
+ [0], 1
821
+ ];
822
+ var DeleteEventSourceResponse$ = [3, n0, _DESRe,
823
+ 0,
824
+ [],
825
+ []
826
+ ];
827
+ var DeleteResourcePolicyRequest$ = [3, n0, _DRPR,
828
+ 0,
829
+ [_RA, _PN, _ERI],
830
+ [0, 0, 0], 1
831
+ ];
832
+ var DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
833
+ 0,
834
+ [_RI],
835
+ [0]
836
+ ];
837
+ var DeleteSubscriberRequest$ = [3, n0, _DSR,
838
+ 0,
839
+ [_SA],
840
+ [0], 1
841
+ ];
842
+ var DeleteSubscriberResponse$ = [3, n0, _DSRe,
843
+ 0,
844
+ [],
845
+ []
846
+ ];
847
+ var DescribeEventBusRequest$ = [3, n0, _DEBRes,
848
+ 0,
849
+ [_EBA],
850
+ [0], 1
851
+ ];
852
+ var DescribeEventBusResponse$ = [3, n0, _DEBResc,
853
+ 0,
854
+ [_EBA, _N, _D, _EC, _SC, _CTr, _LMT, _S, _SR],
855
+ [0, 0, 0, () => EncryptionConfiguration$, () => StorageConfigurationOutput$, 4, 4, 0, 0]
856
+ ];
857
+ var DescribeEventSourceRequest$ = [3, n0, _DESRes,
858
+ 0,
859
+ [_ESA],
860
+ [0], 1
861
+ ];
862
+ var DescribeEventSourceResponse$ = [3, n0, _DESResc,
863
+ 0,
864
+ [_ESA, _N, _EBA, _C, _D, _S, _R, _CTr, _LMT],
865
+ [0, 0, 0, [() => EventSourceConfiguration$, 0], 0, 0, 2, 4, 4]
866
+ ];
867
+ var DescribeSubscriberRequest$ = [3, n0, _DSRes,
868
+ 0,
869
+ [_SA],
870
+ [0], 1
871
+ ];
872
+ var DescribeSubscriberResponse$ = [3, n0, _DSResc,
873
+ 0,
874
+ [_SA, _N, _EBA, _IC, _D, _FC, _Ty, _SP, _PITC, _BC, _Tr, _RP, _OFC, _LC, _S, _R, _CTr, _LMT],
875
+ [0, 0, 0, [() => InvokeConfiguration$, 0], 0, [() => FilterConfiguration$, 0], 0, 0, () => PointInTimeConfiguration$, () => BatchConfiguration$, [() => Transformer$, 0], () => RetryPolicy$, () => OnFailureConfiguration$, () => LogConfiguration$, 0, 2, 4, 4]
876
+ ];
877
+ var EncryptionConfiguration$ = [3, n0, _EC,
878
+ 0,
879
+ [_KKI],
880
+ [0]
881
+ ];
882
+ var EventBusSummary$ = [3, n0, _EBS,
883
+ 0,
884
+ [_N, _EBA, _D, _CTr, _LMT, _S, _SR, _EBAI],
885
+ [0, 0, 0, 4, 4, 0, 0, 0]
886
+ ];
887
+ var EventBusV2Parameters$ = [3, n0, _EBVP,
888
+ 8,
889
+ [_Me, _SM, _DC],
890
+ [128 | 0, () => EventBusV2SystemMetadata$, () => DeduplicationConfiguration$]
891
+ ];
892
+ var EventBusV2SystemMetadata$ = [3, n0, _EBVSM,
893
+ 0,
894
+ [_EGI, _DI],
895
+ [0, 0]
896
+ ];
897
+ var EventSourceSummary$ = [3, n0, _ESS,
898
+ 0,
899
+ [_ESA, _N, _EBA, _Ty, _S, _R, _CTr, _LMT, _ESAI],
900
+ [0, 0, 0, 0, 0, 2, 4, 4, 0]
901
+ ];
902
+ var Filter$ = [3, n0, _F,
903
+ 0,
904
+ [_P, _Sc],
905
+ [[() => EventPattern, 0], 0], 2
906
+ ];
907
+ var FilterConfiguration$ = [3, n0, _FC,
908
+ 0,
909
+ [_L, _Fi],
910
+ [0, [() => FilterList, 0]]
911
+ ];
912
+ var GetResourcePolicyRequest$ = [3, n0, _GRPR,
913
+ 0,
914
+ [_RA, _PN],
915
+ [0, 0], 1
916
+ ];
917
+ var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
918
+ 0,
919
+ [_RA, _PD, _PN, _RI],
920
+ [0, 0, 0, 0], 4
921
+ ];
922
+ var HttpParameters$ = [3, n0, _HP,
923
+ 8,
924
+ [_PPV, _HPe, _QSP, _ITS],
925
+ [64 | 0, 128 | 0, 128 | 0, 0]
926
+ ];
927
+ var InvokeConfiguration$ = [3, n0, _IC,
928
+ 0,
929
+ [_RAo, _TA, _LP, _SPq, _SPn, _KP, _SFP, _HP, _UTP, _EBVP],
930
+ [0, 0, [() => LambdaParameters$, 0], [() => SqsParameters$, 0], [() => SnsParameters$, 0], [() => KinesisParameters$, 0], [() => StepFunctionsParameters$, 0], [() => HttpParameters$, 0], [() => UniversalTargetParameters$, 0], [() => EventBusV2Parameters$, 0]], 2
931
+ ];
932
+ var JsonataConfiguration$ = [3, n0, _JC,
933
+ 8,
934
+ [_E],
935
+ [0], 1
936
+ ];
937
+ var KinesisParameters$ = [3, n0, _KP,
938
+ 8,
939
+ [_PK, _EHK],
940
+ [0, 0]
941
+ ];
942
+ var LambdaParameters$ = [3, n0, _LP,
943
+ 8,
944
+ [_IT, _Q, _DEN, _TI, _ITS],
945
+ [0, 0, 0, 0, 0]
946
+ ];
947
+ var ListEventBusesRequest$ = [3, n0, _LEBR,
948
+ 0,
949
+ [_NP, _EBAI, _NT, _MR],
950
+ [0, 0, 0, 1]
951
+ ];
952
+ var ListEventBusesResponse$ = [3, n0, _LEBRi,
953
+ 0,
954
+ [_EB, _NT],
955
+ [() => EventBusSummaryList, 0]
956
+ ];
957
+ var ListEventSourcesRequest$ = [3, n0, _LESR,
958
+ 0,
959
+ [_EBA, _NP, _NT, _MR],
960
+ [0, 0, 0, 1]
961
+ ];
962
+ var ListEventSourcesResponse$ = [3, n0, _LESRi,
963
+ 0,
964
+ [_ES, _NT],
965
+ [() => EventSourceSummaryList, 0]
966
+ ];
967
+ var ListResourcePoliciesRequest$ = [3, n0, _LRPR,
968
+ 0,
969
+ [_RA, _NT, _MR],
970
+ [0, 0, 1], 1
971
+ ];
972
+ var ListResourcePoliciesResponse$ = [3, n0, _LRPRi,
973
+ 0,
974
+ [_PS, _NT],
975
+ [() => ResourcePolicySummaryList, 0]
976
+ ];
977
+ var ListSubscribersRequest$ = [3, n0, _LSR,
978
+ 0,
979
+ [_EBA, _NP, _NT, _MR],
980
+ [0, 0, 0, 1]
981
+ ];
982
+ var ListSubscribersResponse$ = [3, n0, _LSRi,
983
+ 0,
984
+ [_Su, _NT],
985
+ [() => SubscriberSummaryList, 0]
986
+ ];
987
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
988
+ 0,
989
+ [_RA],
990
+ [0], 1
991
+ ];
992
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
993
+ 0,
994
+ [_T],
995
+ [128 | 0]
996
+ ];
997
+ var LogConfiguration$ = [3, n0, _LC,
998
+ 0,
999
+ [_Le, _IP],
1000
+ [0, 0]
1001
+ ];
1002
+ var OnFailureConfiguration$ = [3, n0, _OFC,
1003
+ 0,
1004
+ [_A],
1005
+ [0]
1006
+ ];
1007
+ var PartnerEventsSourceConfiguration$ = [3, n0, _PESC,
1008
+ 0,
1009
+ [_PESA, _P, _PBKKI, _OFC],
1010
+ [0, [() => EventPattern, 0], 0, () => OnFailureConfiguration$], 1
1011
+ ];
1012
+ var PointInTimeConfiguration$ = [3, n0, _PITC,
1013
+ 0,
1014
+ [_PT, _SPt, _EPn],
1015
+ [0, 4, 4], 1
1016
+ ];
1017
+ var PutEventsRequest$ = [3, n0, _PER,
1018
+ 0,
1019
+ [_EBA, _En, _DC],
1020
+ [0, [() => PutEventsRequestEntryList, 0], () => DeduplicationConfiguration$], 2
1021
+ ];
1022
+ var PutEventsRequestEntry$ = [3, n0, _PERE,
1023
+ 0,
1024
+ [_So, _DTe, _De, _Re, _Ti, _SM],
1025
+ [0, 0, [() => EventDetail, 0], 64 | 0, 4, () => PutEventsSystemMetadata$], 2
1026
+ ];
1027
+ var PutEventsResponse$ = [3, n0, _PERu,
1028
+ 0,
1029
+ [_FEC, _En],
1030
+ [1, () => PutEventsResultEntryList]
1031
+ ];
1032
+ var PutEventsResultEntry$ = [3, n0, _PEREu,
1033
+ 0,
1034
+ [_EI, _SN, _SCu, _ECr, _EM],
1035
+ [0, 0, 0, 0, 0]
1036
+ ];
1037
+ var PutEventsSystemMetadata$ = [3, n0, _PESM,
1038
+ 0,
1039
+ [_EGI, _DI],
1040
+ [0, 0]
1041
+ ];
1042
+ var PutRawEventsRequest$ = [3, n0, _PRER,
1043
+ 0,
1044
+ [_EBA, _En, _SRC, _DC],
1045
+ [0, [() => PutRawEventsRequestEntryList, 0], () => SchemaRegistryConfiguration$, () => DeduplicationConfiguration$], 2
1046
+ ];
1047
+ var PutRawEventsRequestEntry$ = [3, n0, _PRERE,
1048
+ 0,
1049
+ [_Da, _SM, _Me],
1050
+ [[() => EventData, 0], () => PutRawEventsSystemMetadata$, [() => EventMetadataMap, 0]], 2
1051
+ ];
1052
+ var PutRawEventsResponse$ = [3, n0, _PRERu,
1053
+ 0,
1054
+ [_FEC, _En],
1055
+ [1, () => PutRawEventsResultEntryList]
1056
+ ];
1057
+ var PutRawEventsResultEntry$ = [3, n0, _PREREu,
1058
+ 0,
1059
+ [_EI, _SN, _SCu, _ECr, _EM],
1060
+ [0, 0, 0, 0, 0]
1061
+ ];
1062
+ var PutRawEventsSystemMetadata$ = [3, n0, _PRESM,
1063
+ 0,
1064
+ [_CTo, _DI, _EGI],
1065
+ [0, 0, 0], 1
1066
+ ];
1067
+ var PutResourcePolicyRequest$ = [3, n0, _PRPR,
1068
+ 0,
1069
+ [_RA, _PD, _PN, _ERI],
1070
+ [0, 0, 0, 0], 2
1071
+ ];
1072
+ var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
1073
+ 0,
1074
+ [_RA, _PN, _RI],
1075
+ [0, 0, 0], 2
1076
+ ];
1077
+ var ResourcePolicySummary$ = [3, n0, _RPS,
1078
+ 0,
1079
+ [_PN, _RI],
1080
+ [0, 0], 2
1081
+ ];
1082
+ var RetryPolicy$ = [3, n0, _RP,
1083
+ 0,
1084
+ [_MRA, _MEAIS, _RS],
1085
+ [1, 1, 0]
1086
+ ];
1087
+ var RevokeResourceRequest$ = [3, n0, _RRR,
1088
+ 0,
1089
+ [_A],
1090
+ [0], 1
1091
+ ];
1092
+ var RevokeResourceResponse$ = [3, n0, _RRRe,
1093
+ 0,
1094
+ [_A],
1095
+ [0]
1096
+ ];
1097
+ var SchemaRegistryConfiguration$ = [3, n0, _SRC,
1098
+ 0,
1099
+ [_RU, _CPRC],
1100
+ [0, () => ConfluentPublicRegistryConfiguration$], 1
1101
+ ];
1102
+ var SnsMessageAttributeValue$ = [3, n0, _SMAV,
1103
+ 0,
1104
+ [_DTa, _SV, _BV],
1105
+ [0, 0, 0]
1106
+ ];
1107
+ var SnsParameters$ = [3, n0, _SPn,
1108
+ 8,
1109
+ [_MGI, _MDI, _Sub, _MS, _MA],
1110
+ [0, 0, 0, 0, () => SnsMessageAttributeMap]
1111
+ ];
1112
+ var SqsMessageAttributeValue$ = [3, n0, _SMAVq,
1113
+ 0,
1114
+ [_DTa, _SV, _BV],
1115
+ [0, 0, 0]
1116
+ ];
1117
+ var SqsParameters$ = [3, n0, _SPq,
1118
+ 8,
1119
+ [_MGI, _MDI, _DS, _MA, _MSA],
1120
+ [0, 0, 0, () => SqsMessageAttributeMap, () => SqsMessageAttributeMap]
1121
+ ];
1122
+ var StepFunctionsParameters$ = [3, n0, _SFP,
1123
+ 8,
1124
+ [_IT, _N, _TH, _ITS],
1125
+ [0, 0, 0, 0]
1126
+ ];
1127
+ var StorageConfiguration$ = [3, n0, _SC,
1128
+ 0,
1129
+ [_RPID],
1130
+ [1]
1131
+ ];
1132
+ var StorageConfigurationOutput$ = [3, n0, _SCO,
1133
+ 0,
1134
+ [_RPID, _RWST],
1135
+ [1, 4]
1136
+ ];
1137
+ var SubscriberSummary$ = [3, n0, _SS,
1138
+ 0,
1139
+ [_SA, _N, _EBA, _TA, _Ty, _R, _S, _CTr, _LMT, _SAI],
1140
+ [0, 0, 0, 0, 0, 2, 0, 4, 4, 0]
1141
+ ];
1142
+ var TagResourceRequest$ = [3, n0, _TRR,
1143
+ 0,
1144
+ [_RA, _T],
1145
+ [0, 128 | 0], 2
1146
+ ];
1147
+ var TagResourceResponse$ = [3, n0, _TRRa,
1148
+ 0,
1149
+ [],
1150
+ []
1151
+ ];
1152
+ var Transformer$ = [3, n0, _Tr,
1153
+ 0,
1154
+ [_Ty, _JC],
1155
+ [0, [() => JsonataConfiguration$, 0]]
1156
+ ];
1157
+ var UniversalTargetParameters$ = [3, n0, _UTP,
1158
+ 8,
1159
+ [_I, _ITS],
1160
+ [0, 0], 1
1161
+ ];
1162
+ var UntagResourceRequest$ = [3, n0, _URR,
1163
+ 0,
1164
+ [_RA, _TK],
1165
+ [0, 64 | 0], 2
1166
+ ];
1167
+ var UntagResourceResponse$ = [3, n0, _URRn,
1168
+ 0,
1169
+ [],
1170
+ []
1171
+ ];
1172
+ var UpdateEventBusRequest$ = [3, n0, _UEBR,
1173
+ 0,
1174
+ [_EBA, _D, _EC, _SC],
1175
+ [0, 0, () => EncryptionConfiguration$, () => StorageConfiguration$], 1
1176
+ ];
1177
+ var UpdateEventBusResponse$ = [3, n0, _UEBRp,
1178
+ 0,
1179
+ [_EBA, _N, _D, _EC, _SC, _S, _SR, _LMT],
1180
+ [0, 0, 0, () => EncryptionConfiguration$, () => StorageConfigurationOutput$, 0, 0, 4]
1181
+ ];
1182
+ var UpdateEventSourceRequest$ = [3, n0, _UESR,
1183
+ 0,
1184
+ [_ESA, _C, _D],
1185
+ [0, [() => EventSourceConfiguration$, 0], 0], 1
1186
+ ];
1187
+ var UpdateEventSourceResponse$ = [3, n0, _UESRp,
1188
+ 0,
1189
+ [_ESA, _N, _EBA, _S, _LMT],
1190
+ [0, 0, 0, 0, 4]
1191
+ ];
1192
+ var UpdateInvokeConfiguration$ = [3, n0, _UIC,
1193
+ 0,
1194
+ [_RAo, _LP, _SPq, _SPn, _KP, _SFP, _HP, _UTP, _EBVP],
1195
+ [0, [() => LambdaParameters$, 0], [() => SqsParameters$, 0], [() => SnsParameters$, 0], [() => KinesisParameters$, 0], [() => StepFunctionsParameters$, 0], [() => HttpParameters$, 0], [() => UniversalTargetParameters$, 0], [() => EventBusV2Parameters$, 0]], 1
1196
+ ];
1197
+ var UpdateSubscriberRequest$ = [3, n0, _USR,
1198
+ 0,
1199
+ [_SA, _D, _S, _RPe, _IC, _FC, _BC, _Tr, _RP, _OFC, _LC],
1200
+ [0, 0, 0, 0, [() => UpdateInvokeConfiguration$, 0], [() => FilterConfiguration$, 0], () => BatchConfiguration$, [() => Transformer$, 0], () => RetryPolicy$, () => OnFailureConfiguration$, () => LogConfiguration$], 1
1201
+ ];
1202
+ var UpdateSubscriberResponse$ = [3, n0, _USRp,
1203
+ 0,
1204
+ [_SA, _N, _EBA, _Ty, _SP, _PITC, _S, _LMT],
1205
+ [0, 0, 0, 0, 0, () => PointInTimeConfiguration$, 0, 4]
1206
+ ];
1207
+ var EventBusSummaryList = [1, n0, _EBSL,
1208
+ 0, () => EventBusSummary$
1209
+ ];
1210
+ var EventSourceSummaryList = [1, n0, _ESSL,
1211
+ 0, () => EventSourceSummary$
1212
+ ];
1213
+ var FilterList = [1, n0, _FL,
1214
+ 0, [() => Filter$,
1215
+ 0]
1216
+ ];
1217
+ var PutEventsRequestEntryList = [1, n0, _PEREL,
1218
+ 0, [() => PutEventsRequestEntry$,
1219
+ 0]
1220
+ ];
1221
+ var PutEventsResultEntryList = [1, n0, _PERELu,
1222
+ 0, () => PutEventsResultEntry$
1223
+ ];
1224
+ var PutRawEventsRequestEntryList = [1, n0, _PREREL,
1225
+ 0, [() => PutRawEventsRequestEntry$,
1226
+ 0]
1227
+ ];
1228
+ var PutRawEventsResultEntryList = [1, n0, _PRERELu,
1229
+ 0, () => PutRawEventsResultEntry$
1230
+ ];
1231
+ var ResourcePolicySummaryList = [1, n0, _RPSL,
1232
+ 0, () => ResourcePolicySummary$
1233
+ ];
1234
+ var SubscriberSummaryList = [1, n0, _SSL,
1235
+ 0, () => SubscriberSummary$
1236
+ ];
1237
+ var EventMetadataMap = [2, n0, _EMM,
1238
+ 0, [0,
1239
+ 0],
1240
+ [() => EventMetadataValue,
1241
+ 0]
1242
+ ];
1243
+ var SnsMessageAttributeMap = [2, n0, _SMAM,
1244
+ 0, 0, () => SnsMessageAttributeValue$
1245
+ ];
1246
+ var SqsMessageAttributeMap = [2, n0, _SMAMq,
1247
+ 0, 0, () => SqsMessageAttributeValue$
1248
+ ];
1249
+ var EventSourceConfiguration$ = [4, n0, _ESC,
1250
+ 0,
1251
+ [_ASEC, _PEC],
1252
+ [[() => AwsServiceEventsSourceConfiguration$, 0], [() => PartnerEventsSourceConfiguration$, 0]]
1253
+ ];
1254
+ var CreateEventBus$ = [9, n0, _CEB,
1255
+ 0, () => CreateEventBusRequest$, () => CreateEventBusResponse$
1256
+ ];
1257
+ var CreateEventSource$ = [9, n0, _CES,
1258
+ 0, () => CreateEventSourceRequest$, () => CreateEventSourceResponse$
1259
+ ];
1260
+ var CreateSubscriber$ = [9, n0, _CS,
1261
+ 0, () => CreateSubscriberRequest$, () => CreateSubscriberResponse$
1262
+ ];
1263
+ var DeleteEventBus$ = [9, n0, _DEB,
1264
+ 2, () => DeleteEventBusRequest$, () => DeleteEventBusResponse$
1265
+ ];
1266
+ var DeleteEventSource$ = [9, n0, _DES,
1267
+ 2, () => DeleteEventSourceRequest$, () => DeleteEventSourceResponse$
1268
+ ];
1269
+ var DeleteResourcePolicy$ = [9, n0, _DRP,
1270
+ 2, () => DeleteResourcePolicyRequest$, () => DeleteResourcePolicyResponse$
1271
+ ];
1272
+ var DeleteSubscriber$ = [9, n0, _DSe,
1273
+ 2, () => DeleteSubscriberRequest$, () => DeleteSubscriberResponse$
1274
+ ];
1275
+ var DescribeEventBus$ = [9, n0, _DEBe,
1276
+ 0, () => DescribeEventBusRequest$, () => DescribeEventBusResponse$
1277
+ ];
1278
+ var DescribeEventSource$ = [9, n0, _DESe,
1279
+ 0, () => DescribeEventSourceRequest$, () => DescribeEventSourceResponse$
1280
+ ];
1281
+ var DescribeSubscriber$ = [9, n0, _DSes,
1282
+ 0, () => DescribeSubscriberRequest$, () => DescribeSubscriberResponse$
1283
+ ];
1284
+ var GetResourcePolicy$ = [9, n0, _GRP,
1285
+ 0, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
1286
+ ];
1287
+ var ListEventBuses$ = [9, n0, _LEB,
1288
+ 0, () => ListEventBusesRequest$, () => ListEventBusesResponse$
1289
+ ];
1290
+ var ListEventSources$ = [9, n0, _LES,
1291
+ 0, () => ListEventSourcesRequest$, () => ListEventSourcesResponse$
1292
+ ];
1293
+ var ListResourcePolicies$ = [9, n0, _LRP,
1294
+ 0, () => ListResourcePoliciesRequest$, () => ListResourcePoliciesResponse$
1295
+ ];
1296
+ var ListSubscribers$ = [9, n0, _LS,
1297
+ 0, () => ListSubscribersRequest$, () => ListSubscribersResponse$
1298
+ ];
1299
+ var ListTagsForResource$ = [9, n0, _LTFR,
1300
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1301
+ ];
1302
+ var PutEvents$ = [9, n0, _PE,
1303
+ 0, () => PutEventsRequest$, () => PutEventsResponse$
1304
+ ];
1305
+ var PutRawEvents$ = [9, n0, _PRE,
1306
+ 0, () => PutRawEventsRequest$, () => PutRawEventsResponse$
1307
+ ];
1308
+ var PutResourcePolicy$ = [9, n0, _PRP,
1309
+ 2, () => PutResourcePolicyRequest$, () => PutResourcePolicyResponse$
1310
+ ];
1311
+ var RevokeResource$ = [9, n0, _RR,
1312
+ 2, () => RevokeResourceRequest$, () => RevokeResourceResponse$
1313
+ ];
1314
+ var TagResource$ = [9, n0, _TR,
1315
+ 2, () => TagResourceRequest$, () => TagResourceResponse$
1316
+ ];
1317
+ var UntagResource$ = [9, n0, _UR,
1318
+ 2, () => UntagResourceRequest$, () => UntagResourceResponse$
1319
+ ];
1320
+ var UpdateEventBus$ = [9, n0, _UEB,
1321
+ 2, () => UpdateEventBusRequest$, () => UpdateEventBusResponse$
1322
+ ];
1323
+ var UpdateEventSource$ = [9, n0, _UES,
1324
+ 2, () => UpdateEventSourceRequest$, () => UpdateEventSourceResponse$
1325
+ ];
1326
+ var UpdateSubscriber$ = [9, n0, _US,
1327
+ 2, () => UpdateSubscriberRequest$, () => UpdateSubscriberResponse$
1328
+ ];
1329
+
1330
+ const getRuntimeConfig$1 = (config) => {
1331
+ return {
1332
+ apiVersion: "2025-05-15",
1333
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1334
+ base64Encoder: config?.base64Encoder ?? toBase64,
1335
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1336
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1337
+ extensions: config?.extensions ?? [],
1338
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultEventBridgeV2HttpAuthSchemeProvider,
1339
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1340
+ {
1341
+ schemeId: "aws.auth#sigv4",
1342
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1343
+ signer: new AwsSdkSigV4Signer(),
1344
+ },
1345
+ ],
1346
+ logger: config?.logger ?? new NoOpLogger(),
1347
+ protocol: config?.protocol ?? AwsSmithyRpcV2CborProtocol,
1348
+ protocolSettings: config?.protocolSettings ?? {
1349
+ defaultNamespace: "com.amazonaws.eventbridgev2",
1350
+ errorTypeRegistries,
1351
+ xmlNamespace: "http://eventsv2.amazonaws.com/doc/2025-05-15",
1352
+ version: "2025-05-15",
1353
+ serviceTarget: "AWSEventsV2",
1354
+ },
1355
+ serviceId: config?.serviceId ?? "EventBridgeV2",
1356
+ sha256: config?.sha256 ?? Sha256,
1357
+ urlParser: config?.urlParser ?? parseUrl,
1358
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1359
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1360
+ };
1361
+ };
1362
+
1363
+ const getRuntimeConfig = (config) => {
1364
+ emitWarningIfUnsupportedVersion(process.version);
1365
+ const defaultsMode = resolveDefaultsModeConfig(config);
1366
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1367
+ const clientSharedValues = getRuntimeConfig$1(config);
1368
+ emitWarningIfUnsupportedVersion$1(process.version);
1369
+ const loaderConfig = {
1370
+ profile: config?.profile,
1371
+ logger: clientSharedValues.logger,
1372
+ };
1373
+ return {
1374
+ ...clientSharedValues,
1375
+ ...config,
1376
+ runtime: "node",
1377
+ defaultsMode,
1378
+ accountIdEndpointMode: config?.accountIdEndpointMode ?? loadConfig(NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, loaderConfig),
1379
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1380
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1381
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1382
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1383
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1384
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1385
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1386
+ retryMode: config?.retryMode ??
1387
+ loadConfig({
1388
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1389
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1390
+ }, config),
1391
+ streamCollector: config?.streamCollector ?? streamCollector,
1392
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1393
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1394
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1395
+ };
1396
+ };
1397
+
1398
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
1399
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
1400
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
1401
+ let _credentials = runtimeConfig.credentials;
1402
+ return {
1403
+ setHttpAuthScheme(httpAuthScheme) {
1404
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
1405
+ if (index === -1) {
1406
+ _httpAuthSchemes.push(httpAuthScheme);
1407
+ }
1408
+ else {
1409
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
1410
+ }
1411
+ },
1412
+ httpAuthSchemes() {
1413
+ return _httpAuthSchemes;
1414
+ },
1415
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
1416
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
1417
+ },
1418
+ httpAuthSchemeProvider() {
1419
+ return _httpAuthSchemeProvider;
1420
+ },
1421
+ setCredentials(credentials) {
1422
+ _credentials = credentials;
1423
+ },
1424
+ credentials() {
1425
+ return _credentials;
1426
+ },
1427
+ };
1428
+ };
1429
+ const resolveHttpAuthRuntimeConfig = (config) => {
1430
+ return {
1431
+ httpAuthSchemes: config.httpAuthSchemes(),
1432
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
1433
+ credentials: config.credentials(),
1434
+ };
1435
+ };
1436
+
1437
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
1438
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
1439
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
1440
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
1441
+ };
1442
+
1443
+ class EventBridgeV2Client extends Client {
1444
+ config;
1445
+ constructor(...[configuration]) {
1446
+ const _config_0 = getRuntimeConfig(configuration || {});
1447
+ super(_config_0);
1448
+ this.initConfig = _config_0;
1449
+ const _config_1 = resolveClientEndpointParameters(_config_0);
1450
+ const _config_2 = resolveAccountIdEndpointModeConfig(_config_1);
1451
+ const _config_3 = resolveUserAgentConfig(_config_2);
1452
+ const _config_4 = resolveRetryConfig(_config_3);
1453
+ const _config_5 = resolveRegionConfig(_config_4);
1454
+ const _config_6 = resolveHostHeaderConfig(_config_5);
1455
+ const _config_7 = resolveEndpointConfig(_config_6);
1456
+ const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
1457
+ const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
1458
+ this.config = _config_9;
1459
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
1460
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
1461
+ this.middlewareStack.use(getRetryPlugin(this.config));
1462
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
1463
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
1464
+ this.middlewareStack.use(getLoggerPlugin(this.config));
1465
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
1466
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
1467
+ httpAuthSchemeParametersProvider: defaultEventBridgeV2HttpAuthSchemeParametersProvider,
1468
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
1469
+ "aws.auth#sigv4": config.credentials,
1470
+ }),
1471
+ }));
1472
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
1473
+ }
1474
+ destroy() {
1475
+ super.destroy();
1476
+ }
1477
+ }
1478
+
1479
+ const command = makeBuilder(commonParams, "AWSEventsV2", "EventBridgeV2Client", getEndpointPlugin);
1480
+ const _ep0 = {};
1481
+ const _ep1 = {
1482
+ EventBusArn: { type: "contextParams", name: "EventBusArn" },
1483
+ };
1484
+ const _ep2 = {
1485
+ EventBusArn: { type: "contextParams", name: "ResourceArn" },
1486
+ };
1487
+ const _mw0 = (Command, cs, config, o) => [];
1488
+
1489
+ class CreateEventBusCommand extends command(_ep0, _mw0, "CreateEventBus", CreateEventBus$) {
1490
+ }
1491
+
1492
+ class CreateEventSourceCommand extends command(_ep1, _mw0, "CreateEventSource", CreateEventSource$) {
1493
+ }
1494
+
1495
+ class CreateSubscriberCommand extends command(_ep1, _mw0, "CreateSubscriber", CreateSubscriber$) {
1496
+ }
1497
+
1498
+ class DeleteEventBusCommand extends command(_ep1, _mw0, "DeleteEventBus", DeleteEventBus$) {
1499
+ }
1500
+
1501
+ class DeleteEventSourceCommand extends command(_ep0, _mw0, "DeleteEventSource", DeleteEventSource$) {
1502
+ }
1503
+
1504
+ class DeleteResourcePolicyCommand extends command(_ep2, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1505
+ }
1506
+
1507
+ class DeleteSubscriberCommand extends command(_ep0, _mw0, "DeleteSubscriber", DeleteSubscriber$) {
1508
+ }
1509
+
1510
+ class DescribeEventBusCommand extends command(_ep1, _mw0, "DescribeEventBus", DescribeEventBus$) {
1511
+ }
1512
+
1513
+ class DescribeEventSourceCommand extends command(_ep0, _mw0, "DescribeEventSource", DescribeEventSource$) {
1514
+ }
1515
+
1516
+ class DescribeSubscriberCommand extends command(_ep0, _mw0, "DescribeSubscriber", DescribeSubscriber$) {
1517
+ }
1518
+
1519
+ class GetResourcePolicyCommand extends command(_ep2, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1520
+ }
1521
+
1522
+ class ListEventBusesCommand extends command(_ep0, _mw0, "ListEventBuses", ListEventBuses$) {
1523
+ }
1524
+
1525
+ class ListEventSourcesCommand extends command(_ep1, _mw0, "ListEventSources", ListEventSources$) {
1526
+ }
1527
+
1528
+ class ListResourcePoliciesCommand extends command(_ep2, _mw0, "ListResourcePolicies", ListResourcePolicies$) {
1529
+ }
1530
+
1531
+ class ListSubscribersCommand extends command(_ep1, _mw0, "ListSubscribers", ListSubscribers$) {
1532
+ }
1533
+
1534
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1535
+ }
1536
+
1537
+ class PutEventsCommand extends command(_ep1, _mw0, "PutEvents", PutEvents$) {
1538
+ }
1539
+
1540
+ class PutRawEventsCommand extends command(_ep1, _mw0, "PutRawEvents", PutRawEvents$) {
1541
+ }
1542
+
1543
+ class PutResourcePolicyCommand extends command(_ep2, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1544
+ }
1545
+
1546
+ class RevokeResourceCommand extends command(_ep0, _mw0, "RevokeResource", RevokeResource$) {
1547
+ }
1548
+
1549
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1550
+ }
1551
+
1552
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1553
+ }
1554
+
1555
+ class UpdateEventBusCommand extends command(_ep1, _mw0, "UpdateEventBus", UpdateEventBus$) {
1556
+ }
1557
+
1558
+ class UpdateEventSourceCommand extends command(_ep0, _mw0, "UpdateEventSource", UpdateEventSource$) {
1559
+ }
1560
+
1561
+ class UpdateSubscriberCommand extends command(_ep0, _mw0, "UpdateSubscriber", UpdateSubscriber$) {
1562
+ }
1563
+
1564
+ const paginateListEventBuses = createPaginator(EventBridgeV2Client, ListEventBusesCommand, "NextToken", "NextToken", "MaxResults");
1565
+
1566
+ const paginateListEventSources = createPaginator(EventBridgeV2Client, ListEventSourcesCommand, "NextToken", "NextToken", "MaxResults");
1567
+
1568
+ const paginateListResourcePolicies = createPaginator(EventBridgeV2Client, ListResourcePoliciesCommand, "NextToken", "NextToken", "MaxResults");
1569
+
1570
+ const paginateListSubscribers = createPaginator(EventBridgeV2Client, ListSubscribersCommand, "NextToken", "NextToken", "MaxResults");
1571
+
1572
+ const checkState$1 = async (client, input) => {
1573
+ let reason;
1574
+ try {
1575
+ let result = await client.send(new DescribeEventBusCommand(input));
1576
+ reason = result;
1577
+ try {
1578
+ const returnComparator = () => {
1579
+ return result.State;
1580
+ };
1581
+ if (returnComparator() === "CREATE_FAILED") {
1582
+ return { state: WaiterState.FAILURE, reason };
1583
+ }
1584
+ }
1585
+ catch (e) { }
1586
+ try {
1587
+ const returnComparator = () => {
1588
+ return result.State;
1589
+ };
1590
+ if (returnComparator() === "UPDATE_FAILED") {
1591
+ return { state: WaiterState.FAILURE, reason };
1592
+ }
1593
+ }
1594
+ catch (e) { }
1595
+ try {
1596
+ const returnComparator = () => {
1597
+ return result.State;
1598
+ };
1599
+ if (returnComparator() === "DELETE_FAILED") {
1600
+ return { state: WaiterState.FAILURE, reason };
1601
+ }
1602
+ }
1603
+ catch (e) { }
1604
+ try {
1605
+ const returnComparator = () => {
1606
+ return result.State;
1607
+ };
1608
+ if (returnComparator() === "ACTIVE") {
1609
+ return { state: WaiterState.SUCCESS, reason };
1610
+ }
1611
+ }
1612
+ catch (e) { }
1613
+ }
1614
+ catch (exception) {
1615
+ reason = exception;
1616
+ }
1617
+ return { state: WaiterState.RETRY, reason };
1618
+ };
1619
+ const waitForEventBusActive = async (params, input) => {
1620
+ const serviceDefaults = { minDelay: 2, maxDelay: 120 };
1621
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1622
+ };
1623
+ const waitUntilEventBusActive = async (params, input) => {
1624
+ const serviceDefaults = { minDelay: 2, maxDelay: 120 };
1625
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1626
+ return checkExceptions(result);
1627
+ };
1628
+
1629
+ const checkState = async (client, input) => {
1630
+ let reason;
1631
+ try {
1632
+ let result = await client.send(new DescribeEventBusCommand(input));
1633
+ reason = result;
1634
+ try {
1635
+ const returnComparator = () => {
1636
+ return result.State;
1637
+ };
1638
+ if (returnComparator() === "DELETE_FAILED") {
1639
+ return { state: WaiterState.FAILURE, reason };
1640
+ }
1641
+ }
1642
+ catch (e) { }
1643
+ }
1644
+ catch (exception) {
1645
+ reason = exception;
1646
+ if (exception.name === "ResourceNotFoundException") {
1647
+ return { state: WaiterState.SUCCESS, reason };
1648
+ }
1649
+ }
1650
+ return { state: WaiterState.RETRY, reason };
1651
+ };
1652
+ const waitForEventBusDeleted = async (params, input) => {
1653
+ const serviceDefaults = { minDelay: 2, maxDelay: 120 };
1654
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1655
+ };
1656
+ const waitUntilEventBusDeleted = async (params, input) => {
1657
+ const serviceDefaults = { minDelay: 2, maxDelay: 120 };
1658
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1659
+ return checkExceptions(result);
1660
+ };
1661
+
1662
+ const commands = {
1663
+ CreateEventBusCommand,
1664
+ CreateEventSourceCommand,
1665
+ CreateSubscriberCommand,
1666
+ DeleteEventBusCommand,
1667
+ DeleteEventSourceCommand,
1668
+ DeleteResourcePolicyCommand,
1669
+ DeleteSubscriberCommand,
1670
+ DescribeEventBusCommand,
1671
+ DescribeEventSourceCommand,
1672
+ DescribeSubscriberCommand,
1673
+ GetResourcePolicyCommand,
1674
+ ListEventBusesCommand,
1675
+ ListEventSourcesCommand,
1676
+ ListResourcePoliciesCommand,
1677
+ ListSubscribersCommand,
1678
+ ListTagsForResourceCommand,
1679
+ PutEventsCommand,
1680
+ PutRawEventsCommand,
1681
+ PutResourcePolicyCommand,
1682
+ RevokeResourceCommand,
1683
+ TagResourceCommand,
1684
+ UntagResourceCommand,
1685
+ UpdateEventBusCommand,
1686
+ UpdateEventSourceCommand,
1687
+ UpdateSubscriberCommand,
1688
+ };
1689
+ const paginators = {
1690
+ paginateListEventBuses,
1691
+ paginateListEventSources,
1692
+ paginateListResourcePolicies,
1693
+ paginateListSubscribers,
1694
+ };
1695
+ const waiters = {
1696
+ waitUntilEventBusActive,
1697
+ waitUntilEventBusDeleted,
1698
+ };
1699
+ class EventBridgeV2 extends EventBridgeV2Client {
1700
+ }
1701
+ createAggregatedClient(commands, EventBridgeV2, { paginators, waiters });
1702
+
1703
+ const BusState = {
1704
+ ACTIVE: "ACTIVE",
1705
+ CREATE_FAILED: "CREATE_FAILED",
1706
+ CREATING: "CREATING",
1707
+ DELETE_FAILED: "DELETE_FAILED",
1708
+ DELETING: "DELETING",
1709
+ UPDATE_FAILED: "UPDATE_FAILED",
1710
+ UPDATING: "UPDATING",
1711
+ };
1712
+ const EventSourceState = {
1713
+ ACTIVE: "ACTIVE",
1714
+ CREATE_FAILED: "CREATE_FAILED",
1715
+ CREATING: "CREATING",
1716
+ DELETE_FAILED: "DELETE_FAILED",
1717
+ DELETING: "DELETING",
1718
+ UPDATE_FAILED: "UPDATE_FAILED",
1719
+ UPDATING: "UPDATING",
1720
+ };
1721
+ const FilterScope = {
1722
+ DATA: "DATA",
1723
+ METADATA: "METADATA",
1724
+ SYSTEM_METADATA: "SYSTEM_METADATA",
1725
+ };
1726
+ const FilterLanguage = {
1727
+ EVENT_BRIDGE_PATTERN: "EVENT_BRIDGE_PATTERN",
1728
+ };
1729
+ const DeduplicationType = {
1730
+ CONTENT_BASED: "CONTENT_BASED",
1731
+ };
1732
+ const InvocationType = {
1733
+ EVENT: "EVENT",
1734
+ REQUEST_RESPONSE: "REQUEST_RESPONSE",
1735
+ };
1736
+ const IncludePayload = {
1737
+ FULL: "FULL",
1738
+ ON_ERROR_ONLY: "ON_ERROR_ONLY",
1739
+ };
1740
+ const LogLevel = {
1741
+ ERROR: "ERROR",
1742
+ INFO: "INFO",
1743
+ OFF: "OFF",
1744
+ };
1745
+ const PointType = {
1746
+ HORIZON: "HORIZON",
1747
+ TIMESTAMP: "TIMESTAMP",
1748
+ };
1749
+ const RetryStrategy = {
1750
+ ALL: "ALL",
1751
+ };
1752
+ const StartingPosition = {
1753
+ LATEST: "LATEST",
1754
+ POINT_IN_TIME: "POINT_IN_TIME",
1755
+ };
1756
+ const SubscriberState = {
1757
+ RUNNING: "RUNNING",
1758
+ STOPPED: "STOPPED",
1759
+ };
1760
+ const TransformerType = {
1761
+ JSONATA: "JSONATA",
1762
+ RAW: "RAW",
1763
+ WITH_METADATA: "WITH_METADATA",
1764
+ };
1765
+ const OrderingType = {
1766
+ FIFO: "FIFO",
1767
+ UNORDERED: "UNORDERED",
1768
+ };
1769
+ const EventSourceType = {
1770
+ AWS_SERVICE_EVENTS: "AWS_SERVICE_EVENTS",
1771
+ PARTNER_EVENTS: "PARTNER_EVENTS",
1772
+ };
1773
+ const SuccessCode = {
1774
+ DEDUPLICATED: "DEDUPLICATED",
1775
+ PUBLISHED: "PUBLISHED",
1776
+ };
1777
+ const ResumePosition = {
1778
+ LAST_PROCESSED: "LAST_PROCESSED",
1779
+ LATEST: "LATEST",
1780
+ };
1781
+
1782
+ exports.AccessDeniedException = AccessDeniedException;
1783
+ exports.AccessDeniedException$ = AccessDeniedException$;
1784
+ exports.AwsServiceEventsSourceConfiguration$ = AwsServiceEventsSourceConfiguration$;
1785
+ exports.BatchConfiguration$ = BatchConfiguration$;
1786
+ exports.BusState = BusState;
1787
+ exports.ConcurrentModificationException = ConcurrentModificationException;
1788
+ exports.ConcurrentModificationException$ = ConcurrentModificationException$;
1789
+ exports.ConflictException = ConflictException;
1790
+ exports.ConflictException$ = ConflictException$;
1791
+ exports.ConfluentPublicRegistryConfiguration$ = ConfluentPublicRegistryConfiguration$;
1792
+ exports.CreateEventBus$ = CreateEventBus$;
1793
+ exports.CreateEventBusCommand = CreateEventBusCommand;
1794
+ exports.CreateEventBusRequest$ = CreateEventBusRequest$;
1795
+ exports.CreateEventBusResponse$ = CreateEventBusResponse$;
1796
+ exports.CreateEventSource$ = CreateEventSource$;
1797
+ exports.CreateEventSourceCommand = CreateEventSourceCommand;
1798
+ exports.CreateEventSourceRequest$ = CreateEventSourceRequest$;
1799
+ exports.CreateEventSourceResponse$ = CreateEventSourceResponse$;
1800
+ exports.CreateSubscriber$ = CreateSubscriber$;
1801
+ exports.CreateSubscriberCommand = CreateSubscriberCommand;
1802
+ exports.CreateSubscriberRequest$ = CreateSubscriberRequest$;
1803
+ exports.CreateSubscriberResponse$ = CreateSubscriberResponse$;
1804
+ exports.DeduplicationConfiguration$ = DeduplicationConfiguration$;
1805
+ exports.DeduplicationType = DeduplicationType;
1806
+ exports.DeleteEventBus$ = DeleteEventBus$;
1807
+ exports.DeleteEventBusCommand = DeleteEventBusCommand;
1808
+ exports.DeleteEventBusRequest$ = DeleteEventBusRequest$;
1809
+ exports.DeleteEventBusResponse$ = DeleteEventBusResponse$;
1810
+ exports.DeleteEventSource$ = DeleteEventSource$;
1811
+ exports.DeleteEventSourceCommand = DeleteEventSourceCommand;
1812
+ exports.DeleteEventSourceRequest$ = DeleteEventSourceRequest$;
1813
+ exports.DeleteEventSourceResponse$ = DeleteEventSourceResponse$;
1814
+ exports.DeleteResourcePolicy$ = DeleteResourcePolicy$;
1815
+ exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1816
+ exports.DeleteResourcePolicyRequest$ = DeleteResourcePolicyRequest$;
1817
+ exports.DeleteResourcePolicyResponse$ = DeleteResourcePolicyResponse$;
1818
+ exports.DeleteSubscriber$ = DeleteSubscriber$;
1819
+ exports.DeleteSubscriberCommand = DeleteSubscriberCommand;
1820
+ exports.DeleteSubscriberRequest$ = DeleteSubscriberRequest$;
1821
+ exports.DeleteSubscriberResponse$ = DeleteSubscriberResponse$;
1822
+ exports.DescribeEventBus$ = DescribeEventBus$;
1823
+ exports.DescribeEventBusCommand = DescribeEventBusCommand;
1824
+ exports.DescribeEventBusRequest$ = DescribeEventBusRequest$;
1825
+ exports.DescribeEventBusResponse$ = DescribeEventBusResponse$;
1826
+ exports.DescribeEventSource$ = DescribeEventSource$;
1827
+ exports.DescribeEventSourceCommand = DescribeEventSourceCommand;
1828
+ exports.DescribeEventSourceRequest$ = DescribeEventSourceRequest$;
1829
+ exports.DescribeEventSourceResponse$ = DescribeEventSourceResponse$;
1830
+ exports.DescribeSubscriber$ = DescribeSubscriber$;
1831
+ exports.DescribeSubscriberCommand = DescribeSubscriberCommand;
1832
+ exports.DescribeSubscriberRequest$ = DescribeSubscriberRequest$;
1833
+ exports.DescribeSubscriberResponse$ = DescribeSubscriberResponse$;
1834
+ exports.EncryptionConfiguration$ = EncryptionConfiguration$;
1835
+ exports.EventBridgeV2 = EventBridgeV2;
1836
+ exports.EventBridgeV2Client = EventBridgeV2Client;
1837
+ exports.EventBridgeV2ServiceException = EventBridgeV2ServiceException;
1838
+ exports.EventBridgeV2ServiceException$ = EventBridgeV2ServiceException$;
1839
+ exports.EventBusSummary$ = EventBusSummary$;
1840
+ exports.EventBusV2Parameters$ = EventBusV2Parameters$;
1841
+ exports.EventBusV2SystemMetadata$ = EventBusV2SystemMetadata$;
1842
+ exports.EventSourceConfiguration$ = EventSourceConfiguration$;
1843
+ exports.EventSourceState = EventSourceState;
1844
+ exports.EventSourceSummary$ = EventSourceSummary$;
1845
+ exports.EventSourceType = EventSourceType;
1846
+ exports.Filter$ = Filter$;
1847
+ exports.FilterConfiguration$ = FilterConfiguration$;
1848
+ exports.FilterLanguage = FilterLanguage;
1849
+ exports.FilterScope = FilterScope;
1850
+ exports.GetResourcePolicy$ = GetResourcePolicy$;
1851
+ exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1852
+ exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
1853
+ exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
1854
+ exports.HttpParameters$ = HttpParameters$;
1855
+ exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
1856
+ exports.IdempotentParameterMismatchException$ = IdempotentParameterMismatchException$;
1857
+ exports.IncludePayload = IncludePayload;
1858
+ exports.InternalException = InternalException;
1859
+ exports.InternalException$ = InternalException$;
1860
+ exports.InvalidInputException = InvalidInputException;
1861
+ exports.InvalidInputException$ = InvalidInputException$;
1862
+ exports.InvalidStateException = InvalidStateException;
1863
+ exports.InvalidStateException$ = InvalidStateException$;
1864
+ exports.InvocationType = InvocationType;
1865
+ exports.InvokeConfiguration$ = InvokeConfiguration$;
1866
+ exports.JsonataConfiguration$ = JsonataConfiguration$;
1867
+ exports.KinesisParameters$ = KinesisParameters$;
1868
+ exports.LambdaParameters$ = LambdaParameters$;
1869
+ exports.LimitExceededException = LimitExceededException;
1870
+ exports.LimitExceededException$ = LimitExceededException$;
1871
+ exports.ListEventBuses$ = ListEventBuses$;
1872
+ exports.ListEventBusesCommand = ListEventBusesCommand;
1873
+ exports.ListEventBusesRequest$ = ListEventBusesRequest$;
1874
+ exports.ListEventBusesResponse$ = ListEventBusesResponse$;
1875
+ exports.ListEventSources$ = ListEventSources$;
1876
+ exports.ListEventSourcesCommand = ListEventSourcesCommand;
1877
+ exports.ListEventSourcesRequest$ = ListEventSourcesRequest$;
1878
+ exports.ListEventSourcesResponse$ = ListEventSourcesResponse$;
1879
+ exports.ListResourcePolicies$ = ListResourcePolicies$;
1880
+ exports.ListResourcePoliciesCommand = ListResourcePoliciesCommand;
1881
+ exports.ListResourcePoliciesRequest$ = ListResourcePoliciesRequest$;
1882
+ exports.ListResourcePoliciesResponse$ = ListResourcePoliciesResponse$;
1883
+ exports.ListSubscribers$ = ListSubscribers$;
1884
+ exports.ListSubscribersCommand = ListSubscribersCommand;
1885
+ exports.ListSubscribersRequest$ = ListSubscribersRequest$;
1886
+ exports.ListSubscribersResponse$ = ListSubscribersResponse$;
1887
+ exports.ListTagsForResource$ = ListTagsForResource$;
1888
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1889
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1890
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1891
+ exports.LogConfiguration$ = LogConfiguration$;
1892
+ exports.LogLevel = LogLevel;
1893
+ exports.OnFailureConfiguration$ = OnFailureConfiguration$;
1894
+ exports.OrderingType = OrderingType;
1895
+ exports.PartnerEventsSourceConfiguration$ = PartnerEventsSourceConfiguration$;
1896
+ exports.PointInTimeConfiguration$ = PointInTimeConfiguration$;
1897
+ exports.PointType = PointType;
1898
+ exports.PolicyLengthExceededException = PolicyLengthExceededException;
1899
+ exports.PolicyLengthExceededException$ = PolicyLengthExceededException$;
1900
+ exports.PublicPolicyException = PublicPolicyException;
1901
+ exports.PublicPolicyException$ = PublicPolicyException$;
1902
+ exports.PutEvents$ = PutEvents$;
1903
+ exports.PutEventsCommand = PutEventsCommand;
1904
+ exports.PutEventsRequest$ = PutEventsRequest$;
1905
+ exports.PutEventsRequestEntry$ = PutEventsRequestEntry$;
1906
+ exports.PutEventsResponse$ = PutEventsResponse$;
1907
+ exports.PutEventsResultEntry$ = PutEventsResultEntry$;
1908
+ exports.PutEventsSystemMetadata$ = PutEventsSystemMetadata$;
1909
+ exports.PutRawEvents$ = PutRawEvents$;
1910
+ exports.PutRawEventsCommand = PutRawEventsCommand;
1911
+ exports.PutRawEventsRequest$ = PutRawEventsRequest$;
1912
+ exports.PutRawEventsRequestEntry$ = PutRawEventsRequestEntry$;
1913
+ exports.PutRawEventsResponse$ = PutRawEventsResponse$;
1914
+ exports.PutRawEventsResultEntry$ = PutRawEventsResultEntry$;
1915
+ exports.PutRawEventsSystemMetadata$ = PutRawEventsSystemMetadata$;
1916
+ exports.PutResourcePolicy$ = PutResourcePolicy$;
1917
+ exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
1918
+ exports.PutResourcePolicyRequest$ = PutResourcePolicyRequest$;
1919
+ exports.PutResourcePolicyResponse$ = PutResourcePolicyResponse$;
1920
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
1921
+ exports.ResourceAlreadyExistsException$ = ResourceAlreadyExistsException$;
1922
+ exports.ResourceInUseException = ResourceInUseException;
1923
+ exports.ResourceInUseException$ = ResourceInUseException$;
1924
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1925
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1926
+ exports.ResourcePolicySummary$ = ResourcePolicySummary$;
1927
+ exports.ResumePosition = ResumePosition;
1928
+ exports.RetryPolicy$ = RetryPolicy$;
1929
+ exports.RetryStrategy = RetryStrategy;
1930
+ exports.RevokeResource$ = RevokeResource$;
1931
+ exports.RevokeResourceCommand = RevokeResourceCommand;
1932
+ exports.RevokeResourceRequest$ = RevokeResourceRequest$;
1933
+ exports.RevokeResourceResponse$ = RevokeResourceResponse$;
1934
+ exports.SchemaRegistryConfiguration$ = SchemaRegistryConfiguration$;
1935
+ exports.SchemaRegistryUnavailableException = SchemaRegistryUnavailableException;
1936
+ exports.SchemaRegistryUnavailableException$ = SchemaRegistryUnavailableException$;
1937
+ exports.SnsMessageAttributeValue$ = SnsMessageAttributeValue$;
1938
+ exports.SnsParameters$ = SnsParameters$;
1939
+ exports.SqsMessageAttributeValue$ = SqsMessageAttributeValue$;
1940
+ exports.SqsParameters$ = SqsParameters$;
1941
+ exports.StartingPosition = StartingPosition;
1942
+ exports.StepFunctionsParameters$ = StepFunctionsParameters$;
1943
+ exports.StorageConfiguration$ = StorageConfiguration$;
1944
+ exports.StorageConfigurationOutput$ = StorageConfigurationOutput$;
1945
+ exports.SubscriberState = SubscriberState;
1946
+ exports.SubscriberSummary$ = SubscriberSummary$;
1947
+ exports.SuccessCode = SuccessCode;
1948
+ exports.TagResource$ = TagResource$;
1949
+ exports.TagResourceCommand = TagResourceCommand;
1950
+ exports.TagResourceRequest$ = TagResourceRequest$;
1951
+ exports.TagResourceResponse$ = TagResourceResponse$;
1952
+ exports.ThrottlingException = ThrottlingException;
1953
+ exports.ThrottlingException$ = ThrottlingException$;
1954
+ exports.Transformer$ = Transformer$;
1955
+ exports.TransformerType = TransformerType;
1956
+ exports.UniversalTargetParameters$ = UniversalTargetParameters$;
1957
+ exports.UntagResource$ = UntagResource$;
1958
+ exports.UntagResourceCommand = UntagResourceCommand;
1959
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1960
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1961
+ exports.UpdateEventBus$ = UpdateEventBus$;
1962
+ exports.UpdateEventBusCommand = UpdateEventBusCommand;
1963
+ exports.UpdateEventBusRequest$ = UpdateEventBusRequest$;
1964
+ exports.UpdateEventBusResponse$ = UpdateEventBusResponse$;
1965
+ exports.UpdateEventSource$ = UpdateEventSource$;
1966
+ exports.UpdateEventSourceCommand = UpdateEventSourceCommand;
1967
+ exports.UpdateEventSourceRequest$ = UpdateEventSourceRequest$;
1968
+ exports.UpdateEventSourceResponse$ = UpdateEventSourceResponse$;
1969
+ exports.UpdateInvokeConfiguration$ = UpdateInvokeConfiguration$;
1970
+ exports.UpdateSubscriber$ = UpdateSubscriber$;
1971
+ exports.UpdateSubscriberCommand = UpdateSubscriberCommand;
1972
+ exports.UpdateSubscriberRequest$ = UpdateSubscriberRequest$;
1973
+ exports.UpdateSubscriberResponse$ = UpdateSubscriberResponse$;
1974
+ exports.errorTypeRegistries = errorTypeRegistries;
1975
+ exports.paginateListEventBuses = paginateListEventBuses;
1976
+ exports.paginateListEventSources = paginateListEventSources;
1977
+ exports.paginateListResourcePolicies = paginateListResourcePolicies;
1978
+ exports.paginateListSubscribers = paginateListSubscribers;
1979
+ exports.waitForEventBusActive = waitForEventBusActive;
1980
+ exports.waitForEventBusDeleted = waitForEventBusDeleted;
1981
+ exports.waitUntilEventBusActive = waitUntilEventBusActive;
1982
+ exports.waitUntilEventBusDeleted = waitUntilEventBusDeleted;