@aws-sdk/client-eventbridgev2 3.1172.0 → 3.1173.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 (55) hide show
  1. package/README.md +8 -7
  2. package/dist-cjs/index.js +286 -35
  3. package/dist-es/EventBridgeV2.js +4 -0
  4. package/dist-es/commands/RotateWebhookCredentialsCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +48 -7
  7. package/dist-es/schemas/schemas_0.js +161 -22
  8. package/dist-es/waiters/index.js +1 -0
  9. package/dist-es/waiters/waitForMskSubscriberActive.js +40 -0
  10. package/dist-types/EventBridgeV2.d.ts +14 -7
  11. package/dist-types/EventBridgeV2Client.d.ts +4 -9
  12. package/dist-types/commands/CreateEventBusCommand.d.ts +10 -17
  13. package/dist-types/commands/CreateEventSourceCommand.d.ts +55 -18
  14. package/dist-types/commands/CreateSubscriberCommand.d.ts +32 -18
  15. package/dist-types/commands/DeleteEventBusCommand.d.ts +9 -16
  16. package/dist-types/commands/DeleteEventSourceCommand.d.ts +8 -12
  17. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +8 -20
  18. package/dist-types/commands/DeleteSubscriberCommand.d.ts +7 -10
  19. package/dist-types/commands/DescribeEventBusCommand.d.ts +6 -9
  20. package/dist-types/commands/DescribeEventSourceCommand.d.ts +50 -9
  21. package/dist-types/commands/DescribeSubscriberCommand.d.ts +27 -9
  22. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -11
  23. package/dist-types/commands/ListEventBusesCommand.d.ts +5 -11
  24. package/dist-types/commands/ListEventSourcesCommand.d.ts +7 -12
  25. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +6 -10
  26. package/dist-types/commands/ListSubscribersCommand.d.ts +6 -11
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -9
  28. package/dist-types/commands/PutEventsCommand.d.ts +7 -11
  29. package/dist-types/commands/PutRawEventsCommand.d.ts +8 -12
  30. package/dist-types/commands/PutResourcePolicyCommand.d.ts +10 -39
  31. package/dist-types/commands/RevokeResourceCommand.d.ts +8 -15
  32. package/dist-types/commands/RotateWebhookCredentialsCommand.d.ts +104 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +9 -13
  34. package/dist-types/commands/UntagResourceCommand.d.ts +8 -12
  35. package/dist-types/commands/UpdateEventBusCommand.d.ts +8 -14
  36. package/dist-types/commands/UpdateEventSourceCommand.d.ts +49 -12
  37. package/dist-types/commands/UpdateSubscriberCommand.d.ts +30 -13
  38. package/dist-types/commands/index.d.ts +1 -0
  39. package/dist-types/index.d.ts +1 -7
  40. package/dist-types/models/enums.d.ts +137 -21
  41. package/dist-types/models/errors.d.ts +15 -39
  42. package/dist-types/models/models_0.d.ts +848 -724
  43. package/dist-types/schemas/schemas_0.d.ts +16 -0
  44. package/dist-types/ts3.4/EventBridgeV2.d.ts +26 -0
  45. package/dist-types/ts3.4/EventBridgeV2Client.d.ts +6 -0
  46. package/dist-types/ts3.4/commands/RotateWebhookCredentialsCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  48. package/dist-types/ts3.4/models/enums.d.ts +64 -11
  49. package/dist-types/ts3.4/models/models_0.d.ts +174 -4
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  51. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  52. package/dist-types/ts3.4/waiters/waitForMskSubscriberActive.d.ts +15 -0
  53. package/dist-types/waiters/index.d.ts +1 -0
  54. package/dist-types/waiters/waitForMskSubscriberActive.d.ts +15 -0
  55. package/package.json +1 -1
@@ -19,6 +19,7 @@ import { PutEventsCommand } from "./commands/PutEventsCommand";
19
19
  import { PutRawEventsCommand, } from "./commands/PutRawEventsCommand";
20
20
  import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
21
21
  import { RevokeResourceCommand, } from "./commands/RevokeResourceCommand";
22
+ import { RotateWebhookCredentialsCommand, } from "./commands/RotateWebhookCredentialsCommand";
22
23
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
23
24
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
24
25
  import { UpdateEventBusCommand, } from "./commands/UpdateEventBusCommand";
@@ -31,6 +32,7 @@ import { paginateListResourcePolicies } from "./pagination/ListResourcePoliciesP
31
32
  import { paginateListSubscribers } from "./pagination/ListSubscribersPaginator";
32
33
  import { waitUntilEventBusActive } from "./waiters/waitForEventBusActive";
33
34
  import { waitUntilEventBusDeleted } from "./waiters/waitForEventBusDeleted";
35
+ import { waitUntilMskSubscriberActive } from "./waiters/waitForMskSubscriberActive";
34
36
  const commands = {
35
37
  CreateEventBusCommand,
36
38
  CreateEventSourceCommand,
@@ -52,6 +54,7 @@ const commands = {
52
54
  PutRawEventsCommand,
53
55
  PutResourcePolicyCommand,
54
56
  RevokeResourceCommand,
57
+ RotateWebhookCredentialsCommand,
55
58
  TagResourceCommand,
56
59
  UntagResourceCommand,
57
60
  UpdateEventBusCommand,
@@ -67,6 +70,7 @@ const paginators = {
67
70
  const waiters = {
68
71
  waitUntilEventBusActive,
69
72
  waitUntilEventBusDeleted,
73
+ waitUntilMskSubscriberActive,
70
74
  };
71
75
  export class EventBridgeV2 extends EventBridgeV2Client {
72
76
  }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { RotateWebhookCredentials$ } from "../schemas/schemas_0";
3
+ export class RotateWebhookCredentialsCommand extends command(_ep0, _mw0, "RotateWebhookCredentials", RotateWebhookCredentials$) {
4
+ }
@@ -18,6 +18,7 @@ export * from "./PutEventsCommand";
18
18
  export * from "./PutRawEventsCommand";
19
19
  export * from "./PutResourcePolicyCommand";
20
20
  export * from "./RevokeResourceCommand";
21
+ export * from "./RotateWebhookCredentialsCommand";
21
22
  export * from "./TagResourceCommand";
22
23
  export * from "./UntagResourceCommand";
23
24
  export * from "./UpdateEventBusCommand";
@@ -7,6 +7,35 @@ export const BusState = {
7
7
  UPDATE_FAILED: "UPDATE_FAILED",
8
8
  UPDATING: "UPDATING",
9
9
  };
10
+ export const WebhookHmacAlgorithm = {
11
+ SHA1: "SHA1",
12
+ SHA256: "SHA256",
13
+ };
14
+ export const WebhookHmacEncoding = {
15
+ BASE64: "BASE64",
16
+ HEX: "HEX",
17
+ };
18
+ export const WebhookSecretEncoding = {
19
+ BASE64: "BASE64",
20
+ RAW: "RAW",
21
+ };
22
+ export const WebhookSignedMessageComposition = {
23
+ BODY: "BODY",
24
+ MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY: "MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY",
25
+ TIMESTAMP_DOT_BODY: "TIMESTAMP_DOT_BODY",
26
+ };
27
+ export const WebhookDeduplicationType = {
28
+ CONTENT_BASED: "CONTENT_BASED",
29
+ };
30
+ export const IncludePayload = {
31
+ FULL: "FULL",
32
+ ON_ERROR_ONLY: "ON_ERROR_ONLY",
33
+ };
34
+ export const LogLevel = {
35
+ ERROR: "ERROR",
36
+ INFO: "INFO",
37
+ OFF: "OFF",
38
+ };
10
39
  export const EventSourceState = {
11
40
  ACTIVE: "ACTIVE",
12
41
  CREATE_FAILED: "CREATE_FAILED",
@@ -31,14 +60,20 @@ export const InvocationType = {
31
60
  EVENT: "EVENT",
32
61
  REQUEST_RESPONSE: "REQUEST_RESPONSE",
33
62
  };
34
- export const IncludePayload = {
35
- FULL: "FULL",
36
- ON_ERROR_ONLY: "ON_ERROR_ONLY",
63
+ export const MskAcks = {
64
+ ALL: "ALL",
65
+ LEADER: "LEADER",
37
66
  };
38
- export const LogLevel = {
39
- ERROR: "ERROR",
40
- INFO: "INFO",
41
- OFF: "OFF",
67
+ export const MskCompression = {
68
+ GZIP: "GZIP",
69
+ LZ4: "LZ4",
70
+ NONE: "NONE",
71
+ SNAPPY: "SNAPPY",
72
+ ZSTD: "ZSTD",
73
+ };
74
+ export const MskConnectivity = {
75
+ PRIVATE: "PRIVATE",
76
+ PUBLIC: "PUBLIC",
42
77
  };
43
78
  export const PointType = {
44
79
  HORIZON: "HORIZON",
@@ -64,9 +99,15 @@ export const OrderingType = {
64
99
  FIFO: "FIFO",
65
100
  UNORDERED: "UNORDERED",
66
101
  };
102
+ export const ConnectivityState = {
103
+ ACTIVE: "ACTIVE",
104
+ PROVISIONING: "PROVISIONING",
105
+ PROVISION_FAILED: "PROVISION_FAILED",
106
+ };
67
107
  export const EventSourceType = {
68
108
  AWS_SERVICE_EVENTS: "AWS_SERVICE_EVENTS",
69
109
  PARTNER_EVENTS: "PARTNER_EVENTS",
110
+ WEBHOOK_EVENTS: "WEBHOOK_EVENTS",
70
111
  };
71
112
  export const SuccessCode = {
72
113
  DEDUPLICATED: "DEDUPLICATED",
@@ -1,9 +1,14 @@
1
- const _A = "Arn";
1
+ const _A = "Acks";
2
+ const _AC = "AuthConfiguration";
2
3
  const _ADE = "AccessDeniedException";
3
4
  const _AS = "AwsService";
4
5
  const _ASEC = "AwsServiceEventsConfiguration";
5
6
  const _ASESC = "AwsServiceEventsSourceConfiguration";
7
+ const _Al = "Algorithm";
8
+ const _Ar = "Arn";
6
9
  const _BC = "BatchConfiguration";
10
+ const _BHAC = "BasicHttpAuthConfiguration";
11
+ const _BHP = "BasicHttpPassword";
7
12
  const _BV = "BinaryValue";
8
13
  const _C = "Configuration";
9
14
  const _CA = "ConnectionArn";
@@ -14,14 +19,19 @@ const _CEBRr = "CreateEventBusResponse";
14
19
  const _CES = "CreateEventSource";
15
20
  const _CESR = "CreateEventSourceRequest";
16
21
  const _CESRr = "CreateEventSourceResponse";
22
+ const _CI = "ClientId";
17
23
  const _CME = "ConcurrentModificationException";
18
24
  const _CPRC = "ConfluentPublicRegistryConfiguration";
19
- const _CS = "CreateSubscriber";
25
+ const _CS = "ConnectivityState";
20
26
  const _CSR = "CreateSubscriberRequest";
21
27
  const _CSRr = "CreateSubscriberResponse";
28
+ const _CSr = "CreateSubscriber";
22
29
  const _CT = "ClientToken";
23
30
  const _CTo = "ContentType";
24
31
  const _CTr = "CreationTime";
32
+ const _Co = "Connectivity";
33
+ const _Com = "Compression";
34
+ const _Cr = "Credential";
25
35
  const _D = "Description";
26
36
  const _DC = "DeduplicationConfiguration";
27
37
  const _DEB = "DeleteEventBus";
@@ -53,6 +63,7 @@ const _DTa = "DataType";
53
63
  const _DTe = "DetailType";
54
64
  const _Da = "Data";
55
65
  const _De = "Detail";
66
+ const _Del = "Delimiter";
56
67
  const _E = "Expression";
57
68
  const _EB = "EventBuses";
58
69
  const _EBA = "EventBusArn";
@@ -78,9 +89,11 @@ const _ES = "EventSources";
78
89
  const _ESA = "EventSourceArn";
79
90
  const _ESAI = "EventSourceAccountId";
80
91
  const _ESC = "EventSourceConfiguration";
92
+ const _ESD = "EventSourceDetails";
81
93
  const _ESS = "EventSourceSummary";
82
94
  const _ESSL = "EventSourceSummaryList";
83
95
  const _En = "Entries";
96
+ const _Enc = "Encoding";
84
97
  const _F = "Filter";
85
98
  const _FC = "FilterConfiguration";
86
99
  const _FEC = "FailedEntryCount";
@@ -89,8 +102,11 @@ const _Fi = "Filters";
89
102
  const _GRP = "GetResourcePolicy";
90
103
  const _GRPR = "GetResourcePolicyRequest";
91
104
  const _GRPRe = "GetResourcePolicyResponse";
105
+ const _H = "Headers";
106
+ const _HAC = "HmacAuthConfiguration";
92
107
  const _HP = "HttpParameters";
93
108
  const _HPe = "HeaderParameters";
109
+ const _HSV = "HmacSecretValue";
94
110
  const _I = "Input";
95
111
  const _IC = "InvokeConfiguration";
96
112
  const _IE = "InternalException";
@@ -101,6 +117,7 @@ const _ISE = "InvalidStateException";
101
117
  const _IT = "InvocationType";
102
118
  const _ITS = "InvocationTimeoutSeconds";
103
119
  const _JC = "JsonataConfiguration";
120
+ const _K = "Key";
104
121
  const _KKI = "KmsKeyIdentifier";
105
122
  const _KP = "KinesisParameters";
106
123
  const _L = "Language";
@@ -128,9 +145,15 @@ const _M = "Message";
128
145
  const _MA = "MessageAttributes";
129
146
  const _MBS = "MaxBatchSize";
130
147
  const _MBWIS = "MaxBatchWindowInSeconds";
148
+ const _MD = "MskDetails";
131
149
  const _MDI = "MessageDeduplicationId";
132
150
  const _MEAIS = "MaxEventAgeInSeconds";
133
151
  const _MGI = "MessageGroupId";
152
+ const _MH = "MskHeader";
153
+ const _MHH = "MetadataHttpHeaders";
154
+ const _MHL = "MskHeaderList";
155
+ const _MIHH = "MessageIdHttpHeader";
156
+ const _MP = "MskParameters";
134
157
  const _MR = "MaxResults";
135
158
  const _MRA = "MaxRetryAttempts";
136
159
  const _MS = "MessageStructure";
@@ -173,6 +196,7 @@ const _PRPR = "PutResourcePolicyRequest";
173
196
  const _PRPRu = "PutResourcePolicyResponse";
174
197
  const _PS = "PolicySummaries";
175
198
  const _PT = "PointType";
199
+ const _Pa = "Password";
176
200
  const _Q = "Qualifier";
177
201
  const _QSP = "QueryStringParameters";
178
202
  const _R = "Revoked";
@@ -192,22 +216,31 @@ const _RRR = "RevokeResourceRequest";
192
216
  const _RRRe = "RevokeResourceResponse";
193
217
  const _RS = "RetryStrategy";
194
218
  const _RU = "RegistryUri";
219
+ const _RWC = "RotateWebhookCredentials";
220
+ const _RWCR = "RotateWebhookCredentialsRequest";
221
+ const _RWCRo = "RotateWebhookCredentialsResponse";
195
222
  const _RWST = "RetentionWindowStartTime";
196
223
  const _Re = "Resources";
197
224
  const _S = "State";
198
225
  const _SA = "SubscriberArn";
199
226
  const _SAI = "SubscriberAccountId";
227
+ const _SAe = "SecretArn";
200
228
  const _SC = "StorageConfiguration";
201
229
  const _SCO = "StorageConfigurationOutput";
202
230
  const _SCu = "SuccessCode";
231
+ const _SD = "SubscriberDetails";
232
+ const _SE = "SecretEncoding";
203
233
  const _SFP = "StepFunctionsParameters";
234
+ const _SHH = "SignatureHttpHeader";
204
235
  const _SM = "SystemMetadata";
205
236
  const _SMAM = "SnsMessageAttributeMap";
206
237
  const _SMAMq = "SqsMessageAttributeMap";
207
238
  const _SMAV = "SnsMessageAttributeValue";
208
239
  const _SMAVq = "SqsMessageAttributeValue";
240
+ const _SMC = "SignedMessageComposition";
209
241
  const _SN = "SequenceNumber";
210
242
  const _SP = "StartingPosition";
243
+ const _SPi = "SignaturePrefix";
211
244
  const _SPn = "SnsParameters";
212
245
  const _SPq = "SqsParameters";
213
246
  const _SPt = "StartingPoint";
@@ -216,7 +249,10 @@ const _SRC = "SchemaRegistryConfiguration";
216
249
  const _SRUE = "SchemaRegistryUnavailableException";
217
250
  const _SS = "SubscriberSummary";
218
251
  const _SSL = "SubscriberSummaryList";
252
+ const _STAC = "StaticTokenAuthConfiguration";
253
+ const _STSV = "StaticTokenSecretValue";
219
254
  const _SV = "StringValue";
255
+ const _SVe = "SecretValue";
220
256
  const _Sc = "Scope";
221
257
  const _So = "Source";
222
258
  const _Su = "Subscribers";
@@ -225,14 +261,20 @@ const _T = "Tags";
225
261
  const _TA = "TargetArn";
226
262
  const _TE = "ThrottlingException";
227
263
  const _TH = "TraceHeader";
264
+ const _THH = "TimestampHttpHeader";
265
+ const _THHo = "TokenHttpHeader";
228
266
  const _TI = "TenantId";
229
267
  const _TK = "TagKeys";
268
+ const _TN = "TopicName";
269
+ const _TP = "TimestampPrefix";
230
270
  const _TR = "TagResource";
231
271
  const _TRR = "TagResourceRequest";
232
272
  const _TRRa = "TagResourceResponse";
273
+ const _TTIS = "TimestampToleranceInSeconds";
233
274
  const _Ti = "Time";
234
275
  const _Tr = "Transformer";
235
276
  const _Ty = "Type";
277
+ const _U = "Username";
236
278
  const _UEB = "UpdateEventBus";
237
279
  const _UEBR = "UpdateEventBusRequest";
238
280
  const _UEBRp = "UpdateEventBusResponse";
@@ -247,6 +289,19 @@ const _US = "UpdateSubscriber";
247
289
  const _USR = "UpdateSubscriberRequest";
248
290
  const _USRp = "UpdateSubscriberResponse";
249
291
  const _UTP = "UniversalTargetParameters";
292
+ const _V = "Value";
293
+ const _VCA = "VpcConnectionArn";
294
+ const _WAC = "WebhookAuthConfiguration";
295
+ const _WBHAC = "WebhookBasicHttpAuthConfiguration";
296
+ const _WC = "WebhookCredential";
297
+ const _WD = "WebhookDetails";
298
+ const _WDC = "WebhookDeduplicationConfiguration";
299
+ const _WEC = "WebhookEventsConfiguration";
300
+ const _WESC = "WebhookEventsSourceConfiguration";
301
+ const _WHAC = "WebhookHmacAuthConfiguration";
302
+ const _WSTAC = "WebhookStaticTokenAuthConfiguration";
303
+ const _WSV = "WebhookSecretValue";
304
+ const _WU = "WebhookUrl";
250
305
  const _c = "client";
251
306
  const _e = "error";
252
307
  const _hE = "httpError";
@@ -358,6 +413,8 @@ var EventData = [0, n0, _ED, 8, 21];
358
413
  var EventDetail = [0, n0, _EDv, 8, 0];
359
414
  var EventMetadataValue = [0, n0, _EMV, 8, 0];
360
415
  var EventPattern = [0, n0, _EP, 8, 0];
416
+ var WebhookSecretValue = [0, n0, _WSV, 8, 0];
417
+ var WebhookUrl = [0, n0, _WU, 8, 0];
361
418
  export var AwsServiceEventsSourceConfiguration$ = [3, n0, _ASESC,
362
419
  0,
363
420
  [_AS, _P, _OFC],
@@ -390,8 +447,8 @@ export var CreateEventSourceRequest$ = [3, n0, _CESR,
390
447
  ];
391
448
  export var CreateEventSourceResponse$ = [3, n0, _CESRr,
392
449
  0,
393
- [_ESA, _N, _EBA, _S, _CTr],
394
- [0, 0, 0, 0, 4]
450
+ [_ESA, _N, _EBA, _S, _ESD, _CTr],
451
+ [0, 0, 0, 0, [() => EventSourceDetails$, 0], 4]
395
452
  ];
396
453
  export var CreateSubscriberRequest$ = [3, n0, _CSR,
397
454
  0,
@@ -400,8 +457,8 @@ export var CreateSubscriberRequest$ = [3, n0, _CSR,
400
457
  ];
401
458
  export var CreateSubscriberResponse$ = [3, n0, _CSRr,
402
459
  0,
403
- [_SA, _N, _EBA, _Ty, _SP, _PITC, _S, _CTr],
404
- [0, 0, 0, 0, 0, () => PointInTimeConfiguration$, 0, 4]
460
+ [_SA, _N, _EBA, _Ty, _SP, _PITC, _S, _CTr, _SD],
461
+ [0, 0, 0, 0, 0, () => PointInTimeConfiguration$, 0, 4, () => SubscriberDetails$]
405
462
  ];
406
463
  export var DeduplicationConfiguration$ = [3, n0, _DC,
407
464
  0,
@@ -465,8 +522,8 @@ export var DescribeEventSourceRequest$ = [3, n0, _DESRes,
465
522
  ];
466
523
  export var DescribeEventSourceResponse$ = [3, n0, _DESResc,
467
524
  0,
468
- [_ESA, _N, _EBA, _C, _D, _S, _R, _CTr, _LMT],
469
- [0, 0, 0, [() => EventSourceConfiguration$, 0], 0, 0, 2, 4, 4]
525
+ [_ESA, _N, _EBA, _C, _D, _S, _R, _ESD, _CTr, _LMT],
526
+ [0, 0, 0, [() => EventSourceConfiguration$, 0], 0, 0, 2, [() => EventSourceDetails$, 0], 4, 4]
470
527
  ];
471
528
  export var DescribeSubscriberRequest$ = [3, n0, _DSRes,
472
529
  0,
@@ -475,8 +532,8 @@ export var DescribeSubscriberRequest$ = [3, n0, _DSRes,
475
532
  ];
476
533
  export var DescribeSubscriberResponse$ = [3, n0, _DSResc,
477
534
  0,
478
- [_SA, _N, _EBA, _IC, _D, _FC, _Ty, _SP, _PITC, _BC, _Tr, _RP, _OFC, _LC, _S, _R, _CTr, _LMT],
479
- [0, 0, 0, [() => InvokeConfiguration$, 0], 0, [() => FilterConfiguration$, 0], 0, 0, () => PointInTimeConfiguration$, () => BatchConfiguration$, [() => Transformer$, 0], () => RetryPolicy$, () => OnFailureConfiguration$, () => LogConfiguration$, 0, 2, 4, 4]
535
+ [_SA, _N, _EBA, _IC, _D, _FC, _Ty, _SP, _PITC, _BC, _Tr, _RP, _OFC, _LC, _S, _R, _CTr, _LMT, _SD],
536
+ [0, 0, 0, [() => InvokeConfiguration$, 0], 0, [() => FilterConfiguration$, 0], 0, 0, () => PointInTimeConfiguration$, () => BatchConfiguration$, [() => Transformer$, 0], () => RetryPolicy$, () => OnFailureConfiguration$, () => LogConfiguration$, 0, 2, 4, 4, () => SubscriberDetails$]
480
537
  ];
481
538
  export var EncryptionConfiguration$ = [3, n0, _EC,
482
539
  0,
@@ -498,6 +555,11 @@ export var EventBusV2SystemMetadata$ = [3, n0, _EBVSM,
498
555
  [_EGI, _DI],
499
556
  [0, 0]
500
557
  ];
558
+ export var EventSourceDetails$ = [3, n0, _ESD,
559
+ 0,
560
+ [_WD],
561
+ [[() => WebhookDetails$, 0]]
562
+ ];
501
563
  export var EventSourceSummary$ = [3, n0, _ESS,
502
564
  0,
503
565
  [_ESA, _N, _EBA, _Ty, _S, _R, _CTr, _LMT, _ESAI],
@@ -530,8 +592,8 @@ export var HttpParameters$ = [3, n0, _HP,
530
592
  ];
531
593
  export var InvokeConfiguration$ = [3, n0, _IC,
532
594
  0,
533
- [_RAo, _TA, _LP, _SPq, _SPn, _KP, _SFP, _HP, _UTP, _EBVP],
534
- [0, 0, [() => LambdaParameters$, 0], [() => SqsParameters$, 0], [() => SnsParameters$, 0], [() => KinesisParameters$, 0], [() => StepFunctionsParameters$, 0], [() => HttpParameters$, 0], [() => UniversalTargetParameters$, 0], [() => EventBusV2Parameters$, 0]], 2
595
+ [_RAo, _TA, _LP, _SPq, _SPn, _KP, _SFP, _HP, _UTP, _EBVP, _MP],
596
+ [0, 0, [() => LambdaParameters$, 0], [() => SqsParameters$, 0], [() => SnsParameters$, 0], [() => KinesisParameters$, 0], [() => StepFunctionsParameters$, 0], [() => HttpParameters$, 0], [() => UniversalTargetParameters$, 0], [() => EventBusV2Parameters$, 0], [() => MskParameters$, 0]], 2
535
597
  ];
536
598
  export var JsonataConfiguration$ = [3, n0, _JC,
537
599
  8,
@@ -603,9 +665,24 @@ export var LogConfiguration$ = [3, n0, _LC,
603
665
  [_Le, _IP],
604
666
  [0, 0]
605
667
  ];
668
+ export var MskDetails$ = [3, n0, _MD,
669
+ 0,
670
+ [_CS, _SR, _VCA],
671
+ [0, 0, 0]
672
+ ];
673
+ export var MskHeader$ = [3, n0, _MH,
674
+ 0,
675
+ [_K, _V],
676
+ [0, 0], 1
677
+ ];
678
+ export var MskParameters$ = [3, n0, _MP,
679
+ 8,
680
+ [_TN, _Co, _Com, _A, _PK, _H, _CI],
681
+ [0, 0, 0, 0, 0, () => MskHeaderList, 0], 2
682
+ ];
606
683
  export var OnFailureConfiguration$ = [3, n0, _OFC,
607
684
  0,
608
- [_A],
685
+ [_Ar],
609
686
  [0]
610
687
  ];
611
688
  export var PartnerEventsSourceConfiguration$ = [3, n0, _PESC,
@@ -690,14 +767,24 @@ export var RetryPolicy$ = [3, n0, _RP,
690
767
  ];
691
768
  export var RevokeResourceRequest$ = [3, n0, _RRR,
692
769
  0,
693
- [_A],
770
+ [_Ar],
694
771
  [0], 1
695
772
  ];
696
773
  export var RevokeResourceResponse$ = [3, n0, _RRRe,
697
774
  0,
698
- [_A],
775
+ [_Ar],
699
776
  [0]
700
777
  ];
778
+ export var RotateWebhookCredentialsRequest$ = [3, n0, _RWCR,
779
+ 0,
780
+ [_ESA, _Cr, _CT],
781
+ [0, [() => WebhookCredential$, 0], [0, 4]], 1
782
+ ];
783
+ export var RotateWebhookCredentialsResponse$ = [3, n0, _RWCRo,
784
+ 0,
785
+ [_SAe],
786
+ [0], 1
787
+ ];
701
788
  export var SchemaRegistryConfiguration$ = [3, n0, _SRC,
702
789
  0,
703
790
  [_RU, _CPRC],
@@ -738,6 +825,11 @@ export var StorageConfigurationOutput$ = [3, n0, _SCO,
738
825
  [_RPID, _RWST],
739
826
  [1, 4]
740
827
  ];
828
+ export var SubscriberDetails$ = [3, n0, _SD,
829
+ 0,
830
+ [_MD],
831
+ [() => MskDetails$]
832
+ ];
741
833
  export var SubscriberSummary$ = [3, n0, _SS,
742
834
  0,
743
835
  [_SA, _N, _EBA, _TA, _Ty, _R, _S, _CTr, _LMT, _SAI],
@@ -795,8 +887,8 @@ export var UpdateEventSourceResponse$ = [3, n0, _UESRp,
795
887
  ];
796
888
  export var UpdateInvokeConfiguration$ = [3, n0, _UIC,
797
889
  0,
798
- [_RAo, _LP, _SPq, _SPn, _KP, _SFP, _HP, _UTP, _EBVP],
799
- [0, [() => LambdaParameters$, 0], [() => SqsParameters$, 0], [() => SnsParameters$, 0], [() => KinesisParameters$, 0], [() => StepFunctionsParameters$, 0], [() => HttpParameters$, 0], [() => UniversalTargetParameters$, 0], [() => EventBusV2Parameters$, 0]], 1
890
+ [_RAo, _LP, _SPq, _SPn, _KP, _SFP, _HP, _UTP, _EBVP, _MP],
891
+ [0, [() => LambdaParameters$, 0], [() => SqsParameters$, 0], [() => SnsParameters$, 0], [() => KinesisParameters$, 0], [() => StepFunctionsParameters$, 0], [() => HttpParameters$, 0], [() => UniversalTargetParameters$, 0], [() => EventBusV2Parameters$, 0], [() => MskParameters$, 0]], 1
800
892
  ];
801
893
  export var UpdateSubscriberRequest$ = [3, n0, _USR,
802
894
  0,
@@ -805,8 +897,38 @@ export var UpdateSubscriberRequest$ = [3, n0, _USR,
805
897
  ];
806
898
  export var UpdateSubscriberResponse$ = [3, n0, _USRp,
807
899
  0,
808
- [_SA, _N, _EBA, _Ty, _SP, _PITC, _S, _LMT],
809
- [0, 0, 0, 0, 0, () => PointInTimeConfiguration$, 0, 4]
900
+ [_SA, _N, _EBA, _Ty, _SP, _PITC, _S, _LMT, _SD],
901
+ [0, 0, 0, 0, 0, () => PointInTimeConfiguration$, 0, 4, () => SubscriberDetails$]
902
+ ];
903
+ export var WebhookBasicHttpAuthConfiguration$ = [3, n0, _WBHAC,
904
+ 0,
905
+ [_U, _Pa],
906
+ [0, [() => WebhookSecretValue, 0]]
907
+ ];
908
+ export var WebhookDeduplicationConfiguration$ = [3, n0, _WDC,
909
+ 0,
910
+ [_DT],
911
+ [0], 1
912
+ ];
913
+ export var WebhookDetails$ = [3, n0, _WD,
914
+ 0,
915
+ [_WU, _SAe],
916
+ [[() => WebhookUrl, 0], 0]
917
+ ];
918
+ export var WebhookEventsSourceConfiguration$ = [3, n0, _WESC,
919
+ 0,
920
+ [_AC, _RAo, _KKI, _MHH, _DC, _LC],
921
+ [[() => WebhookAuthConfiguration$, 0], 0, 0, 64 | 0, () => WebhookDeduplicationConfiguration$, () => LogConfiguration$], 2
922
+ ];
923
+ export var WebhookHmacAuthConfiguration$ = [3, n0, _WHAC,
924
+ 0,
925
+ [_Al, _Enc, _SHH, _SMC, _SPi, _Del, _THH, _TP, _TTIS, _MIHH, _SVe, _SE],
926
+ [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, [() => WebhookSecretValue, 0], 0], 4
927
+ ];
928
+ export var WebhookStaticTokenAuthConfiguration$ = [3, n0, _WSTAC,
929
+ 0,
930
+ [_THHo, _SVe],
931
+ [0, [() => WebhookSecretValue, 0]], 1
810
932
  ];
811
933
  var EventBusSummaryList = [1, n0, _EBSL,
812
934
  0, () => EventBusSummary$
@@ -818,6 +940,9 @@ var FilterList = [1, n0, _FL,
818
940
  0, [() => Filter$,
819
941
  0]
820
942
  ];
943
+ var MskHeaderList = [1, n0, _MHL,
944
+ 0, () => MskHeader$
945
+ ];
821
946
  var PathParameterList = 64 | 0;
822
947
  var PutEventsRequestEntryList = [1, n0, _PEREL,
823
948
  0, [() => PutEventsRequestEntry$,
@@ -841,6 +966,7 @@ var SubscriberSummaryList = [1, n0, _SSL,
841
966
  0, () => SubscriberSummary$
842
967
  ];
843
968
  var TagKeyList = 64 | 0;
969
+ var WebhookMetadataHttpHeaderList = 64 | 0;
844
970
  var EventBusV2MetadataMap = 128 | 0;
845
971
  var EventMetadataMap = [2, n0, _EMM,
846
972
  0, [0,
@@ -859,8 +985,18 @@ var SqsMessageAttributeMap = [2, n0, _SMAMq,
859
985
  var TagMap = 128 | 0;
860
986
  export var EventSourceConfiguration$ = [4, n0, _ESC,
861
987
  0,
862
- [_ASEC, _PEC],
863
- [[() => AwsServiceEventsSourceConfiguration$, 0], [() => PartnerEventsSourceConfiguration$, 0]]
988
+ [_ASEC, _PEC, _WEC],
989
+ [[() => AwsServiceEventsSourceConfiguration$, 0], [() => PartnerEventsSourceConfiguration$, 0], [() => WebhookEventsSourceConfiguration$, 0]]
990
+ ];
991
+ export var WebhookAuthConfiguration$ = [4, n0, _WAC,
992
+ 0,
993
+ [_STAC, _BHAC, _HAC],
994
+ [[() => WebhookStaticTokenAuthConfiguration$, 0], [() => WebhookBasicHttpAuthConfiguration$, 0], [() => WebhookHmacAuthConfiguration$, 0]]
995
+ ];
996
+ export var WebhookCredential$ = [4, n0, _WC,
997
+ 0,
998
+ [_STSV, _BHP, _HSV],
999
+ [[() => WebhookSecretValue, 0], [() => WebhookSecretValue, 0], [() => WebhookSecretValue, 0]]
864
1000
  ];
865
1001
  export var CreateEventBus$ = [9, n0, _CEB,
866
1002
  0, () => CreateEventBusRequest$, () => CreateEventBusResponse$
@@ -868,7 +1004,7 @@ export var CreateEventBus$ = [9, n0, _CEB,
868
1004
  export var CreateEventSource$ = [9, n0, _CES,
869
1005
  0, () => CreateEventSourceRequest$, () => CreateEventSourceResponse$
870
1006
  ];
871
- export var CreateSubscriber$ = [9, n0, _CS,
1007
+ export var CreateSubscriber$ = [9, n0, _CSr,
872
1008
  0, () => CreateSubscriberRequest$, () => CreateSubscriberResponse$
873
1009
  ];
874
1010
  export var DeleteEventBus$ = [9, n0, _DEB,
@@ -922,6 +1058,9 @@ export var PutResourcePolicy$ = [9, n0, _PRP,
922
1058
  export var RevokeResource$ = [9, n0, _RR,
923
1059
  2, () => RevokeResourceRequest$, () => RevokeResourceResponse$
924
1060
  ];
1061
+ export var RotateWebhookCredentials$ = [9, n0, _RWC,
1062
+ 0, () => RotateWebhookCredentialsRequest$, () => RotateWebhookCredentialsResponse$
1063
+ ];
925
1064
  export var TagResource$ = [9, n0, _TR,
926
1065
  2, () => TagResourceRequest$, () => TagResourceResponse$
927
1066
  ];
@@ -1,2 +1,3 @@
1
1
  export * from "./waitForEventBusActive";
2
2
  export * from "./waitForEventBusDeleted";
3
+ export * from "./waitForMskSubscriberActive";
@@ -0,0 +1,40 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { DescribeSubscriberCommand, } from "../commands/DescribeSubscriberCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new DescribeSubscriberCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.SubscriberDetails.MskDetails.ConnectivityState;
11
+ };
12
+ if (returnComparator() === "PROVISION_FAILED") {
13
+ return { state: WaiterState.FAILURE, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.SubscriberDetails.MskDetails.ConnectivityState;
20
+ };
21
+ if (returnComparator() === "ACTIVE") {
22
+ return { state: WaiterState.SUCCESS, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ }
30
+ return { state: WaiterState.RETRY, reason };
31
+ };
32
+ export const waitForMskSubscriberActive = async (params, input) => {
33
+ const serviceDefaults = { minDelay: 2, maxDelay: 300 };
34
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
35
+ };
36
+ export const waitUntilMskSubscriberActive = async (params, input) => {
37
+ const serviceDefaults = { minDelay: 2, maxDelay: 300 };
38
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
39
+ return checkExceptions(result);
40
+ };
@@ -20,6 +20,7 @@ import { type PutEventsCommandInput, type PutEventsCommandOutput } from "./comma
20
20
  import { type PutRawEventsCommandInput, type PutRawEventsCommandOutput } from "./commands/PutRawEventsCommand";
21
21
  import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
22
22
  import { type RevokeResourceCommandInput, type RevokeResourceCommandOutput } from "./commands/RevokeResourceCommand";
23
+ import { type RotateWebhookCredentialsCommandInput, type RotateWebhookCredentialsCommandOutput } from "./commands/RotateWebhookCredentialsCommand";
23
24
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
25
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
26
  import { type UpdateEventBusCommandInput, type UpdateEventBusCommandOutput } from "./commands/UpdateEventBusCommand";
@@ -157,6 +158,12 @@ export interface EventBridgeV2 {
157
158
  revokeResource(args: RevokeResourceCommandInput, options?: EventBridgeV2RequestOptions): Promise<RevokeResourceCommandOutput>;
158
159
  revokeResource(args: RevokeResourceCommandInput, cb: (err: any, data?: RevokeResourceCommandOutput) => void): void;
159
160
  revokeResource(args: RevokeResourceCommandInput, options: EventBridgeV2RequestOptions, cb: (err: any, data?: RevokeResourceCommandOutput) => void): void;
161
+ /**
162
+ * @see {@link RotateWebhookCredentialsCommand}
163
+ */
164
+ rotateWebhookCredentials(args: RotateWebhookCredentialsCommandInput, options?: EventBridgeV2RequestOptions): Promise<RotateWebhookCredentialsCommandOutput>;
165
+ rotateWebhookCredentials(args: RotateWebhookCredentialsCommandInput, cb: (err: any, data?: RotateWebhookCredentialsCommandOutput) => void): void;
166
+ rotateWebhookCredentials(args: RotateWebhookCredentialsCommandInput, options: EventBridgeV2RequestOptions, cb: (err: any, data?: RotateWebhookCredentialsCommandOutput) => void): void;
160
167
  /**
161
168
  * @see {@link TagResourceCommand}
162
169
  */
@@ -227,15 +234,15 @@ export interface EventBridgeV2 {
227
234
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
228
235
  */
229
236
  waitUntilEventBusDeleted(args: DescribeEventBusCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EventBridgeV2>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
237
+ /**
238
+ * @see {@link DescribeSubscriberCommand}
239
+ * @param args - command input.
240
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
241
+ */
242
+ waitUntilMskSubscriberActive(args: DescribeSubscriberCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EventBridgeV2>, "client">): Promise<WaiterResult<DescribeSubscriberCommandOutput>>;
230
243
  }
231
244
  /**
232
- * Amazon EventBridge event bus API. An event bus receives events published by
233
- * your applications and AWS services, stores them for a configurable retention
234
- * period, and delivers them to subscribers. A subscriber filters events,
235
- * optionally transforms them, and invokes a target such as Lambda, SQS, SNS,
236
- * Kinesis, Step Functions, or an HTTP endpoint. The API manages event buses,
237
- * subscribers, event sources, resource policies, and tags, and publishes
238
- * events through PutEvents and PutRawEvents.
245
+ * <fullname>Amazon EventBridge Custom Event Bus</fullname> <p>Amazon EventBridge event bus API. An event bus receives events published by your applications and AWS services, stores them for a configurable retention period, and delivers them to subscribers. A subscriber filters events, optionally transforms them, and invokes a target such as Lambda, SQS, SNS, Kinesis, Step Functions, or an HTTP endpoint. The API manages event buses, subscribers, event sources, resource policies, and tags, and publishes events through PutEvents and PutRawEvents.</p>
239
246
  * @public
240
247
  */
241
248
  export declare class EventBridgeV2 extends EventBridgeV2Client implements EventBridgeV2 {