@aws-sdk/client-eventbridge 3.56.0 → 3.67.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/CHANGELOG.md +27 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/EventBridge.js +75 -0
  4. package/dist-cjs/commands/CreateEndpointCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteEndpointCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeEndpointCommand.js +36 -0
  7. package/dist-cjs/commands/ListEndpointsCommand.js +36 -0
  8. package/dist-cjs/commands/PutEventsCommand.js +2 -0
  9. package/dist-cjs/commands/UpdateEndpointCommand.js +36 -0
  10. package/dist-cjs/commands/index.js +5 -0
  11. package/dist-cjs/models/models_0.js +121 -4
  12. package/dist-cjs/protocols/Aws_json1_1.js +514 -3
  13. package/dist-cjs/runtimeConfig.shared.js +4 -2
  14. package/dist-es/EventBridge.js +75 -0
  15. package/dist-es/commands/CreateEndpointCommand.js +39 -0
  16. package/dist-es/commands/DeleteEndpointCommand.js +39 -0
  17. package/dist-es/commands/DescribeEndpointCommand.js +39 -0
  18. package/dist-es/commands/ListEndpointsCommand.js +39 -0
  19. package/dist-es/commands/PutEventsCommand.js +2 -0
  20. package/dist-es/commands/UpdateEndpointCommand.js +39 -0
  21. package/dist-es/commands/index.js +5 -0
  22. package/dist-es/models/models_0.js +83 -0
  23. package/dist-es/protocols/Aws_json1_1.js +556 -1
  24. package/dist-es/runtimeConfig.shared.js +4 -2
  25. package/dist-types/EventBridge.d.ts +81 -25
  26. package/dist-types/EventBridgeClient.d.ts +7 -2
  27. package/dist-types/commands/CreateEndpointCommand.d.ts +37 -0
  28. package/dist-types/commands/DeleteEndpointCommand.d.ts +35 -0
  29. package/dist-types/commands/DescribeEndpointCommand.d.ts +35 -0
  30. package/dist-types/commands/ListEndpointsCommand.d.ts +35 -0
  31. package/dist-types/commands/PutEventsCommand.d.ts +3 -0
  32. package/dist-types/commands/PutTargetsCommand.d.ts +41 -25
  33. package/dist-types/commands/UpdateEndpointCommand.d.ts +35 -0
  34. package/dist-types/commands/index.d.ts +5 -0
  35. package/dist-types/models/models_0.d.ts +472 -3
  36. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  38. package/dist-types/runtimeConfig.d.ts +1 -1
  39. package/dist-types/runtimeConfig.native.d.ts +1 -1
  40. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  41. package/dist-types/ts3.4/EventBridge.d.ts +25 -0
  42. package/dist-types/ts3.4/EventBridgeClient.d.ts +7 -2
  43. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +264 -0
  50. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +15 -0
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  55. package/package.json +23 -19
@@ -397,6 +397,113 @@ export declare namespace CreateConnectionResponse {
397
397
  const filterSensitiveLog: (obj: CreateConnectionResponse) => any;
398
398
  }
399
399
 
400
+ export interface EndpointEventBus {
401
+
402
+ EventBusArn: string | undefined;
403
+ }
404
+ export declare namespace EndpointEventBus {
405
+
406
+ const filterSensitiveLog: (obj: EndpointEventBus) => any;
407
+ }
408
+ export declare enum ReplicationState {
409
+ DISABLED = "DISABLED",
410
+ ENABLED = "ENABLED"
411
+ }
412
+
413
+ export interface ReplicationConfig {
414
+
415
+ State?: ReplicationState | string;
416
+ }
417
+ export declare namespace ReplicationConfig {
418
+
419
+ const filterSensitiveLog: (obj: ReplicationConfig) => any;
420
+ }
421
+
422
+ export interface Primary {
423
+
424
+ HealthCheck: string | undefined;
425
+ }
426
+ export declare namespace Primary {
427
+
428
+ const filterSensitiveLog: (obj: Primary) => any;
429
+ }
430
+
431
+ export interface Secondary {
432
+
433
+ Route: string | undefined;
434
+ }
435
+ export declare namespace Secondary {
436
+
437
+ const filterSensitiveLog: (obj: Secondary) => any;
438
+ }
439
+
440
+ export interface FailoverConfig {
441
+
442
+ Primary: Primary | undefined;
443
+
444
+ Secondary: Secondary | undefined;
445
+ }
446
+ export declare namespace FailoverConfig {
447
+
448
+ const filterSensitiveLog: (obj: FailoverConfig) => any;
449
+ }
450
+
451
+ export interface RoutingConfig {
452
+
453
+ FailoverConfig: FailoverConfig | undefined;
454
+ }
455
+ export declare namespace RoutingConfig {
456
+
457
+ const filterSensitiveLog: (obj: RoutingConfig) => any;
458
+ }
459
+ export interface CreateEndpointRequest {
460
+
461
+ Name: string | undefined;
462
+
463
+ Description?: string;
464
+
465
+ RoutingConfig: RoutingConfig | undefined;
466
+
467
+ ReplicationConfig?: ReplicationConfig;
468
+
469
+ EventBuses: EndpointEventBus[] | undefined;
470
+
471
+ RoleArn?: string;
472
+ }
473
+ export declare namespace CreateEndpointRequest {
474
+
475
+ const filterSensitiveLog: (obj: CreateEndpointRequest) => any;
476
+ }
477
+ export declare enum EndpointState {
478
+ ACTIVE = "ACTIVE",
479
+ CREATE_FAILED = "CREATE_FAILED",
480
+ CREATING = "CREATING",
481
+ DELETE_FAILED = "DELETE_FAILED",
482
+ DELETING = "DELETING",
483
+ UPDATE_FAILED = "UPDATE_FAILED",
484
+ UPDATING = "UPDATING"
485
+ }
486
+ export interface CreateEndpointResponse {
487
+
488
+ Name?: string;
489
+
490
+ Arn?: string;
491
+
492
+ RoutingConfig?: RoutingConfig;
493
+
494
+ ReplicationConfig?: ReplicationConfig;
495
+
496
+ EventBuses?: EndpointEventBus[];
497
+
498
+ RoleArn?: string;
499
+
500
+ State?: EndpointState | string;
501
+ }
502
+ export declare namespace CreateEndpointResponse {
503
+
504
+ const filterSensitiveLog: (obj: CreateEndpointResponse) => any;
505
+ }
506
+
400
507
  export interface Tag {
401
508
 
402
509
  Key: string | undefined;
@@ -529,6 +636,20 @@ export declare namespace DeleteConnectionResponse {
529
636
 
530
637
  const filterSensitiveLog: (obj: DeleteConnectionResponse) => any;
531
638
  }
639
+ export interface DeleteEndpointRequest {
640
+
641
+ Name: string | undefined;
642
+ }
643
+ export declare namespace DeleteEndpointRequest {
644
+
645
+ const filterSensitiveLog: (obj: DeleteEndpointRequest) => any;
646
+ }
647
+ export interface DeleteEndpointResponse {
648
+ }
649
+ export declare namespace DeleteEndpointResponse {
650
+
651
+ const filterSensitiveLog: (obj: DeleteEndpointResponse) => any;
652
+ }
532
653
  export interface DeleteEventBusRequest {
533
654
 
534
655
  Name: string | undefined;
@@ -729,6 +850,48 @@ export declare namespace DescribeConnectionResponse {
729
850
 
730
851
  const filterSensitiveLog: (obj: DescribeConnectionResponse) => any;
731
852
  }
853
+ export interface DescribeEndpointRequest {
854
+
855
+ Name: string | undefined;
856
+
857
+ HomeRegion?: string;
858
+ }
859
+ export declare namespace DescribeEndpointRequest {
860
+
861
+ const filterSensitiveLog: (obj: DescribeEndpointRequest) => any;
862
+ }
863
+ export interface DescribeEndpointResponse {
864
+
865
+ Name?: string;
866
+
867
+ Description?: string;
868
+
869
+ Arn?: string;
870
+
871
+ RoutingConfig?: RoutingConfig;
872
+
873
+ ReplicationConfig?: ReplicationConfig;
874
+
875
+ EventBuses?: EndpointEventBus[];
876
+
877
+ RoleArn?: string;
878
+
879
+ EndpointId?: string;
880
+
881
+ EndpointUrl?: string;
882
+
883
+ State?: EndpointState | string;
884
+
885
+ StateReason?: string;
886
+
887
+ CreationTime?: Date;
888
+
889
+ LastModifiedTime?: Date;
890
+ }
891
+ export declare namespace DescribeEndpointResponse {
892
+
893
+ const filterSensitiveLog: (obj: DescribeEndpointResponse) => any;
894
+ }
732
895
  export interface DescribeEventBusRequest {
733
896
 
734
897
  Name?: string;
@@ -1004,6 +1167,63 @@ export declare namespace ListConnectionsResponse {
1004
1167
 
1005
1168
  const filterSensitiveLog: (obj: ListConnectionsResponse) => any;
1006
1169
  }
1170
+ export interface ListEndpointsRequest {
1171
+
1172
+ NamePrefix?: string;
1173
+
1174
+ HomeRegion?: string;
1175
+
1176
+ NextToken?: string;
1177
+
1178
+ MaxResults?: number;
1179
+ }
1180
+ export declare namespace ListEndpointsRequest {
1181
+
1182
+ const filterSensitiveLog: (obj: ListEndpointsRequest) => any;
1183
+ }
1184
+
1185
+ export interface Endpoint {
1186
+
1187
+ Name?: string;
1188
+
1189
+ Description?: string;
1190
+
1191
+ Arn?: string;
1192
+
1193
+ RoutingConfig?: RoutingConfig;
1194
+
1195
+ ReplicationConfig?: ReplicationConfig;
1196
+
1197
+ EventBuses?: EndpointEventBus[];
1198
+
1199
+ RoleArn?: string;
1200
+
1201
+ EndpointId?: string;
1202
+
1203
+ EndpointUrl?: string;
1204
+
1205
+ State?: EndpointState | string;
1206
+
1207
+ StateReason?: string;
1208
+
1209
+ CreationTime?: Date;
1210
+
1211
+ LastModifiedTime?: Date;
1212
+ }
1213
+ export declare namespace Endpoint {
1214
+
1215
+ const filterSensitiveLog: (obj: Endpoint) => any;
1216
+ }
1217
+ export interface ListEndpointsResponse {
1218
+
1219
+ Endpoints?: Endpoint[];
1220
+
1221
+ NextToken?: string;
1222
+ }
1223
+ export declare namespace ListEndpointsResponse {
1224
+
1225
+ const filterSensitiveLog: (obj: ListEndpointsResponse) => any;
1226
+ }
1007
1227
  export interface ListEventBusesRequest {
1008
1228
 
1009
1229
  NamePrefix?: string;
@@ -1646,6 +1866,8 @@ export declare namespace PutEventsRequestEntry {
1646
1866
  export interface PutEventsRequest {
1647
1867
 
1648
1868
  Entries: PutEventsRequestEntry[] | undefined;
1869
+
1870
+ EndpointId?: string;
1649
1871
  }
1650
1872
  export declare namespace PutEventsRequest {
1651
1873
 
@@ -2109,3 +2331,45 @@ export declare namespace UpdateConnectionResponse {
2109
2331
 
2110
2332
  const filterSensitiveLog: (obj: UpdateConnectionResponse) => any;
2111
2333
  }
2334
+ export interface UpdateEndpointRequest {
2335
+
2336
+ Name: string | undefined;
2337
+
2338
+ Description?: string;
2339
+
2340
+ RoutingConfig?: RoutingConfig;
2341
+
2342
+ ReplicationConfig?: ReplicationConfig;
2343
+
2344
+ EventBuses?: EndpointEventBus[];
2345
+
2346
+ RoleArn?: string;
2347
+ }
2348
+ export declare namespace UpdateEndpointRequest {
2349
+
2350
+ const filterSensitiveLog: (obj: UpdateEndpointRequest) => any;
2351
+ }
2352
+ export interface UpdateEndpointResponse {
2353
+
2354
+ Name?: string;
2355
+
2356
+ Arn?: string;
2357
+
2358
+ RoutingConfig?: RoutingConfig;
2359
+
2360
+ ReplicationConfig?: ReplicationConfig;
2361
+
2362
+ EventBuses?: EndpointEventBus[];
2363
+
2364
+ RoleArn?: string;
2365
+
2366
+ EndpointId?: string;
2367
+
2368
+ EndpointUrl?: string;
2369
+
2370
+ State?: EndpointState | string;
2371
+ }
2372
+ export declare namespace UpdateEndpointResponse {
2373
+
2374
+ const filterSensitiveLog: (obj: UpdateEndpointResponse) => any;
2375
+ }
@@ -5,6 +5,7 @@ import { CancelReplayCommandInput, CancelReplayCommandOutput } from "../commands
5
5
  import { CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput } from "../commands/CreateApiDestinationCommand";
6
6
  import { CreateArchiveCommandInput, CreateArchiveCommandOutput } from "../commands/CreateArchiveCommand";
7
7
  import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "../commands/CreateConnectionCommand";
8
+ import { CreateEndpointCommandInput, CreateEndpointCommandOutput } from "../commands/CreateEndpointCommand";
8
9
  import { CreateEventBusCommandInput, CreateEventBusCommandOutput } from "../commands/CreateEventBusCommand";
9
10
  import { CreatePartnerEventSourceCommandInput, CreatePartnerEventSourceCommandOutput } from "../commands/CreatePartnerEventSourceCommand";
10
11
  import { DeactivateEventSourceCommandInput, DeactivateEventSourceCommandOutput } from "../commands/DeactivateEventSourceCommand";
@@ -12,12 +13,14 @@ import { DeauthorizeConnectionCommandInput, DeauthorizeConnectionCommandOutput }
12
13
  import { DeleteApiDestinationCommandInput, DeleteApiDestinationCommandOutput } from "../commands/DeleteApiDestinationCommand";
13
14
  import { DeleteArchiveCommandInput, DeleteArchiveCommandOutput } from "../commands/DeleteArchiveCommand";
14
15
  import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "../commands/DeleteConnectionCommand";
16
+ import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "../commands/DeleteEndpointCommand";
15
17
  import { DeleteEventBusCommandInput, DeleteEventBusCommandOutput } from "../commands/DeleteEventBusCommand";
16
18
  import { DeletePartnerEventSourceCommandInput, DeletePartnerEventSourceCommandOutput } from "../commands/DeletePartnerEventSourceCommand";
17
19
  import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "../commands/DeleteRuleCommand";
18
20
  import { DescribeApiDestinationCommandInput, DescribeApiDestinationCommandOutput } from "../commands/DescribeApiDestinationCommand";
19
21
  import { DescribeArchiveCommandInput, DescribeArchiveCommandOutput } from "../commands/DescribeArchiveCommand";
20
22
  import { DescribeConnectionCommandInput, DescribeConnectionCommandOutput } from "../commands/DescribeConnectionCommand";
23
+ import { DescribeEndpointCommandInput, DescribeEndpointCommandOutput } from "../commands/DescribeEndpointCommand";
21
24
  import { DescribeEventBusCommandInput, DescribeEventBusCommandOutput } from "../commands/DescribeEventBusCommand";
22
25
  import { DescribeEventSourceCommandInput, DescribeEventSourceCommandOutput } from "../commands/DescribeEventSourceCommand";
23
26
  import { DescribePartnerEventSourceCommandInput, DescribePartnerEventSourceCommandOutput } from "../commands/DescribePartnerEventSourceCommand";
@@ -28,6 +31,7 @@ import { EnableRuleCommandInput, EnableRuleCommandOutput } from "../commands/Ena
28
31
  import { ListApiDestinationsCommandInput, ListApiDestinationsCommandOutput } from "../commands/ListApiDestinationsCommand";
29
32
  import { ListArchivesCommandInput, ListArchivesCommandOutput } from "../commands/ListArchivesCommand";
30
33
  import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "../commands/ListConnectionsCommand";
34
+ import { ListEndpointsCommandInput, ListEndpointsCommandOutput } from "../commands/ListEndpointsCommand";
31
35
  import { ListEventBusesCommandInput, ListEventBusesCommandOutput } from "../commands/ListEventBusesCommand";
32
36
  import { ListEventSourcesCommandInput, ListEventSourcesCommandOutput } from "../commands/ListEventSourcesCommand";
33
37
  import { ListPartnerEventSourceAccountsCommandInput, ListPartnerEventSourceAccountsCommandOutput } from "../commands/ListPartnerEventSourceAccountsCommand";
@@ -51,11 +55,13 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
51
55
  import { UpdateApiDestinationCommandInput, UpdateApiDestinationCommandOutput } from "../commands/UpdateApiDestinationCommand";
52
56
  import { UpdateArchiveCommandInput, UpdateArchiveCommandOutput } from "../commands/UpdateArchiveCommand";
53
57
  import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "../commands/UpdateConnectionCommand";
58
+ import { UpdateEndpointCommandInput, UpdateEndpointCommandOutput } from "../commands/UpdateEndpointCommand";
54
59
  export declare const serializeAws_json1_1ActivateEventSourceCommand: (input: ActivateEventSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
60
  export declare const serializeAws_json1_1CancelReplayCommand: (input: CancelReplayCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
61
  export declare const serializeAws_json1_1CreateApiDestinationCommand: (input: CreateApiDestinationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
62
  export declare const serializeAws_json1_1CreateArchiveCommand: (input: CreateArchiveCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
63
  export declare const serializeAws_json1_1CreateConnectionCommand: (input: CreateConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ export declare const serializeAws_json1_1CreateEndpointCommand: (input: CreateEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
65
  export declare const serializeAws_json1_1CreateEventBusCommand: (input: CreateEventBusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
66
  export declare const serializeAws_json1_1CreatePartnerEventSourceCommand: (input: CreatePartnerEventSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
67
  export declare const serializeAws_json1_1DeactivateEventSourceCommand: (input: DeactivateEventSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -63,12 +69,14 @@ export declare const serializeAws_json1_1DeauthorizeConnectionCommand: (input: D
63
69
  export declare const serializeAws_json1_1DeleteApiDestinationCommand: (input: DeleteApiDestinationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
70
  export declare const serializeAws_json1_1DeleteArchiveCommand: (input: DeleteArchiveCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
71
  export declare const serializeAws_json1_1DeleteConnectionCommand: (input: DeleteConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
72
+ export declare const serializeAws_json1_1DeleteEndpointCommand: (input: DeleteEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
73
  export declare const serializeAws_json1_1DeleteEventBusCommand: (input: DeleteEventBusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
74
  export declare const serializeAws_json1_1DeletePartnerEventSourceCommand: (input: DeletePartnerEventSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
75
  export declare const serializeAws_json1_1DeleteRuleCommand: (input: DeleteRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
76
  export declare const serializeAws_json1_1DescribeApiDestinationCommand: (input: DescribeApiDestinationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
77
  export declare const serializeAws_json1_1DescribeArchiveCommand: (input: DescribeArchiveCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
78
  export declare const serializeAws_json1_1DescribeConnectionCommand: (input: DescribeConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
+ export declare const serializeAws_json1_1DescribeEndpointCommand: (input: DescribeEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
72
80
  export declare const serializeAws_json1_1DescribeEventBusCommand: (input: DescribeEventBusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
81
  export declare const serializeAws_json1_1DescribeEventSourceCommand: (input: DescribeEventSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
82
  export declare const serializeAws_json1_1DescribePartnerEventSourceCommand: (input: DescribePartnerEventSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -79,6 +87,7 @@ export declare const serializeAws_json1_1EnableRuleCommand: (input: EnableRuleCo
79
87
  export declare const serializeAws_json1_1ListApiDestinationsCommand: (input: ListApiDestinationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
88
  export declare const serializeAws_json1_1ListArchivesCommand: (input: ListArchivesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
89
  export declare const serializeAws_json1_1ListConnectionsCommand: (input: ListConnectionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
+ export declare const serializeAws_json1_1ListEndpointsCommand: (input: ListEndpointsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
91
  export declare const serializeAws_json1_1ListEventBusesCommand: (input: ListEventBusesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
92
  export declare const serializeAws_json1_1ListEventSourcesCommand: (input: ListEventSourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
93
  export declare const serializeAws_json1_1ListPartnerEventSourceAccountsCommand: (input: ListPartnerEventSourceAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -102,11 +111,13 @@ export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagReso
102
111
  export declare const serializeAws_json1_1UpdateApiDestinationCommand: (input: UpdateApiDestinationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
112
  export declare const serializeAws_json1_1UpdateArchiveCommand: (input: UpdateArchiveCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
113
  export declare const serializeAws_json1_1UpdateConnectionCommand: (input: UpdateConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
+ export declare const serializeAws_json1_1UpdateEndpointCommand: (input: UpdateEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
115
  export declare const deserializeAws_json1_1ActivateEventSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ActivateEventSourceCommandOutput>;
106
116
  export declare const deserializeAws_json1_1CancelReplayCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelReplayCommandOutput>;
107
117
  export declare const deserializeAws_json1_1CreateApiDestinationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateApiDestinationCommandOutput>;
108
118
  export declare const deserializeAws_json1_1CreateArchiveCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateArchiveCommandOutput>;
109
119
  export declare const deserializeAws_json1_1CreateConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateConnectionCommandOutput>;
120
+ export declare const deserializeAws_json1_1CreateEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEndpointCommandOutput>;
110
121
  export declare const deserializeAws_json1_1CreateEventBusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEventBusCommandOutput>;
111
122
  export declare const deserializeAws_json1_1CreatePartnerEventSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePartnerEventSourceCommandOutput>;
112
123
  export declare const deserializeAws_json1_1DeactivateEventSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeactivateEventSourceCommandOutput>;
@@ -114,12 +125,14 @@ export declare const deserializeAws_json1_1DeauthorizeConnectionCommand: (output
114
125
  export declare const deserializeAws_json1_1DeleteApiDestinationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteApiDestinationCommandOutput>;
115
126
  export declare const deserializeAws_json1_1DeleteArchiveCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteArchiveCommandOutput>;
116
127
  export declare const deserializeAws_json1_1DeleteConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteConnectionCommandOutput>;
128
+ export declare const deserializeAws_json1_1DeleteEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEndpointCommandOutput>;
117
129
  export declare const deserializeAws_json1_1DeleteEventBusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEventBusCommandOutput>;
118
130
  export declare const deserializeAws_json1_1DeletePartnerEventSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePartnerEventSourceCommandOutput>;
119
131
  export declare const deserializeAws_json1_1DeleteRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRuleCommandOutput>;
120
132
  export declare const deserializeAws_json1_1DescribeApiDestinationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeApiDestinationCommandOutput>;
121
133
  export declare const deserializeAws_json1_1DescribeArchiveCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeArchiveCommandOutput>;
122
134
  export declare const deserializeAws_json1_1DescribeConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeConnectionCommandOutput>;
135
+ export declare const deserializeAws_json1_1DescribeEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEndpointCommandOutput>;
123
136
  export declare const deserializeAws_json1_1DescribeEventBusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEventBusCommandOutput>;
124
137
  export declare const deserializeAws_json1_1DescribeEventSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeEventSourceCommandOutput>;
125
138
  export declare const deserializeAws_json1_1DescribePartnerEventSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePartnerEventSourceCommandOutput>;
@@ -130,6 +143,7 @@ export declare const deserializeAws_json1_1EnableRuleCommand: (output: __HttpRes
130
143
  export declare const deserializeAws_json1_1ListApiDestinationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListApiDestinationsCommandOutput>;
131
144
  export declare const deserializeAws_json1_1ListArchivesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListArchivesCommandOutput>;
132
145
  export declare const deserializeAws_json1_1ListConnectionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListConnectionsCommandOutput>;
146
+ export declare const deserializeAws_json1_1ListEndpointsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEndpointsCommandOutput>;
133
147
  export declare const deserializeAws_json1_1ListEventBusesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEventBusesCommandOutput>;
134
148
  export declare const deserializeAws_json1_1ListEventSourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEventSourcesCommandOutput>;
135
149
  export declare const deserializeAws_json1_1ListPartnerEventSourceAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPartnerEventSourceAccountsCommandOutput>;
@@ -153,3 +167,4 @@ export declare const deserializeAws_json1_1UntagResourceCommand: (output: __Http
153
167
  export declare const deserializeAws_json1_1UpdateApiDestinationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateApiDestinationCommandOutput>;
154
168
  export declare const deserializeAws_json1_1UpdateArchiveCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateArchiveCommandOutput>;
155
169
  export declare const deserializeAws_json1_1UpdateConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConnectionCommandOutput>;
170
+ export declare const deserializeAws_json1_1UpdateEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEndpointCommandOutput>;
@@ -33,6 +33,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
33
33
  signingEscapePath?: boolean | undefined;
34
34
  systemClockOffset?: number | undefined;
35
35
  signingRegion?: string | undefined;
36
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
37
37
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
38
  };
@@ -33,6 +33,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
33
33
  signingEscapePath?: boolean | undefined;
34
34
  systemClockOffset?: number | undefined;
35
35
  signingRegion?: string | undefined;
36
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
37
37
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
38
  };
@@ -32,6 +32,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
36
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
37
  };
@@ -1,3 +1,4 @@
1
+ import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
1
2
  import { Logger as __Logger } from "@aws-sdk/types";
2
3
  import { EventBridgeClientConfig } from "./EventBridgeClient";
3
4
 
@@ -7,5 +8,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
7
8
  logger: __Logger;
8
9
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
9
10
  serviceId: string;
11
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof SignatureV4MultiRegion;
10
12
  urlParser: import("@aws-sdk/types").UrlParser;
11
13
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eventbridge",
3
3
  "description": "AWS SDK for JavaScript Eventbridge Client for Node.js, Browser and React Native",
4
- "version": "3.56.0",
4
+ "version": "3.67.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -9,7 +9,9 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
+ "test": "yarn test:unit",
14
+ "test:unit": "ts-mocha test/**/*.spec.ts"
13
15
  },
14
16
  "main": "./dist-cjs/index.js",
15
17
  "types": "./dist-types/index.d.ts",
@@ -18,40 +20,42 @@
18
20
  "dependencies": {
19
21
  "@aws-crypto/sha256-browser": "2.0.0",
20
22
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.56.0",
22
- "@aws-sdk/config-resolver": "3.56.0",
23
- "@aws-sdk/credential-provider-node": "3.56.0",
24
- "@aws-sdk/fetch-http-handler": "3.55.0",
23
+ "@aws-sdk/client-sts": "3.67.0",
24
+ "@aws-sdk/config-resolver": "3.58.0",
25
+ "@aws-sdk/credential-provider-node": "3.67.0",
26
+ "@aws-sdk/fetch-http-handler": "3.58.0",
25
27
  "@aws-sdk/hash-node": "3.55.0",
26
28
  "@aws-sdk/invalid-dependency": "3.55.0",
27
- "@aws-sdk/middleware-content-length": "3.55.0",
28
- "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-content-length": "3.58.0",
30
+ "@aws-sdk/middleware-host-header": "3.58.0",
29
31
  "@aws-sdk/middleware-logger": "3.55.0",
30
- "@aws-sdk/middleware-retry": "3.56.0",
32
+ "@aws-sdk/middleware-retry": "3.58.0",
33
+ "@aws-sdk/middleware-sdk-eventbridge": "3.66.0",
31
34
  "@aws-sdk/middleware-serde": "3.55.0",
32
- "@aws-sdk/middleware-signing": "3.56.0",
35
+ "@aws-sdk/middleware-signing": "3.58.0",
33
36
  "@aws-sdk/middleware-stack": "3.55.0",
34
- "@aws-sdk/middleware-user-agent": "3.55.0",
35
- "@aws-sdk/node-config-provider": "3.56.0",
36
- "@aws-sdk/node-http-handler": "3.55.0",
37
- "@aws-sdk/protocol-http": "3.55.0",
37
+ "@aws-sdk/middleware-user-agent": "3.58.0",
38
+ "@aws-sdk/node-config-provider": "3.58.0",
39
+ "@aws-sdk/node-http-handler": "3.58.0",
40
+ "@aws-sdk/protocol-http": "3.58.0",
41
+ "@aws-sdk/signature-v4-multi-region": "3.66.0",
38
42
  "@aws-sdk/smithy-client": "3.55.0",
39
43
  "@aws-sdk/types": "3.55.0",
40
44
  "@aws-sdk/url-parser": "3.55.0",
41
- "@aws-sdk/util-base64-browser": "3.55.0",
45
+ "@aws-sdk/util-base64-browser": "3.58.0",
42
46
  "@aws-sdk/util-base64-node": "3.55.0",
43
47
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
48
  "@aws-sdk/util-body-length-node": "3.55.0",
45
49
  "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.56.0",
47
- "@aws-sdk/util-user-agent-browser": "3.55.0",
48
- "@aws-sdk/util-user-agent-node": "3.56.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.58.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.58.0",
52
+ "@aws-sdk/util-user-agent-node": "3.58.0",
49
53
  "@aws-sdk/util-utf8-browser": "3.55.0",
50
54
  "@aws-sdk/util-utf8-node": "3.55.0",
51
55
  "tslib": "^2.3.1"
52
56
  },
53
57
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.55.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.58.0",
55
59
  "@tsconfig/recommended": "1.0.1",
56
60
  "@types/node": "^12.7.5",
57
61
  "concurrently": "7.0.0",