@aws-sdk/client-eventbridge 3.58.0 → 3.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/EventBridge.js +75 -0
- package/dist-cjs/commands/CreateEndpointCommand.js +36 -0
- package/dist-cjs/commands/DeleteEndpointCommand.js +36 -0
- package/dist-cjs/commands/DescribeEndpointCommand.js +36 -0
- package/dist-cjs/commands/ListEndpointsCommand.js +36 -0
- package/dist-cjs/commands/PutEventsCommand.js +2 -0
- package/dist-cjs/commands/UpdateEndpointCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +121 -4
- package/dist-cjs/protocols/Aws_json1_1.js +514 -3
- package/dist-cjs/runtimeConfig.shared.js +4 -2
- package/dist-es/EventBridge.js +75 -0
- package/dist-es/commands/CreateEndpointCommand.js +39 -0
- package/dist-es/commands/DeleteEndpointCommand.js +39 -0
- package/dist-es/commands/DescribeEndpointCommand.js +39 -0
- package/dist-es/commands/ListEndpointsCommand.js +39 -0
- package/dist-es/commands/PutEventsCommand.js +2 -0
- package/dist-es/commands/UpdateEndpointCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +83 -0
- package/dist-es/protocols/Aws_json1_1.js +556 -1
- package/dist-es/runtimeConfig.shared.js +4 -2
- package/dist-types/EventBridge.d.ts +81 -25
- package/dist-types/EventBridgeClient.d.ts +7 -2
- package/dist-types/commands/CreateEndpointCommand.d.ts +37 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +35 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +35 -0
- package/dist-types/commands/ListEndpointsCommand.d.ts +35 -0
- package/dist-types/commands/PutEventsCommand.d.ts +3 -0
- package/dist-types/commands/PutTargetsCommand.d.ts +41 -25
- package/dist-types/commands/UpdateEndpointCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +472 -3
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/EventBridge.d.ts +25 -0
- package/dist-types/ts3.4/EventBridgeClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +264 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +3 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient";
|
|
4
|
+
import { UpdateEndpointRequest, UpdateEndpointResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateEndpointCommandInput extends UpdateEndpointRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateEndpointCommandOutput extends UpdateEndpointResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Update an existing endpoint. For more information about global endpoints, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html">Making applications Regional-fault tolerant with global endpoints and event replication</a> in the Amazon EventBridge User Guide..</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { EventBridgeClient, UpdateEndpointCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
15
|
+
* // const { EventBridgeClient, UpdateEndpointCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
16
|
+
* const client = new EventBridgeClient(config);
|
|
17
|
+
* const command = new UpdateEndpointCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateEndpointCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateEndpointCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateEndpointCommand extends $Command<UpdateEndpointCommandInput, UpdateEndpointCommandOutput, EventBridgeClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateEndpointCommandInput;
|
|
28
|
+
constructor(input: UpdateEndpointCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEndpointCommandInput, UpdateEndpointCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./CancelReplayCommand";
|
|
|
3
3
|
export * from "./CreateApiDestinationCommand";
|
|
4
4
|
export * from "./CreateArchiveCommand";
|
|
5
5
|
export * from "./CreateConnectionCommand";
|
|
6
|
+
export * from "./CreateEndpointCommand";
|
|
6
7
|
export * from "./CreateEventBusCommand";
|
|
7
8
|
export * from "./CreatePartnerEventSourceCommand";
|
|
8
9
|
export * from "./DeactivateEventSourceCommand";
|
|
@@ -10,12 +11,14 @@ export * from "./DeauthorizeConnectionCommand";
|
|
|
10
11
|
export * from "./DeleteApiDestinationCommand";
|
|
11
12
|
export * from "./DeleteArchiveCommand";
|
|
12
13
|
export * from "./DeleteConnectionCommand";
|
|
14
|
+
export * from "./DeleteEndpointCommand";
|
|
13
15
|
export * from "./DeleteEventBusCommand";
|
|
14
16
|
export * from "./DeletePartnerEventSourceCommand";
|
|
15
17
|
export * from "./DeleteRuleCommand";
|
|
16
18
|
export * from "./DescribeApiDestinationCommand";
|
|
17
19
|
export * from "./DescribeArchiveCommand";
|
|
18
20
|
export * from "./DescribeConnectionCommand";
|
|
21
|
+
export * from "./DescribeEndpointCommand";
|
|
19
22
|
export * from "./DescribeEventBusCommand";
|
|
20
23
|
export * from "./DescribeEventSourceCommand";
|
|
21
24
|
export * from "./DescribePartnerEventSourceCommand";
|
|
@@ -26,6 +29,7 @@ export * from "./EnableRuleCommand";
|
|
|
26
29
|
export * from "./ListApiDestinationsCommand";
|
|
27
30
|
export * from "./ListArchivesCommand";
|
|
28
31
|
export * from "./ListConnectionsCommand";
|
|
32
|
+
export * from "./ListEndpointsCommand";
|
|
29
33
|
export * from "./ListEventBusesCommand";
|
|
30
34
|
export * from "./ListEventSourcesCommand";
|
|
31
35
|
export * from "./ListPartnerEventSourceAccountsCommand";
|
|
@@ -49,3 +53,4 @@ export * from "./UntagResourceCommand";
|
|
|
49
53
|
export * from "./UpdateApiDestinationCommand";
|
|
50
54
|
export * from "./UpdateArchiveCommand";
|
|
51
55
|
export * from "./UpdateConnectionCommand";
|
|
56
|
+
export * from "./UpdateEndpointCommand";
|
|
@@ -664,6 +664,184 @@ export declare namespace CreateConnectionResponse {
|
|
|
664
664
|
*/
|
|
665
665
|
const filterSensitiveLog: (obj: CreateConnectionResponse) => any;
|
|
666
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* <p>The event buses the endpoint is associated with.</p>
|
|
669
|
+
*/
|
|
670
|
+
export interface EndpointEventBus {
|
|
671
|
+
/**
|
|
672
|
+
* <p>The ARN of the event bus the endpoint is associated with.</p>
|
|
673
|
+
*/
|
|
674
|
+
EventBusArn: string | undefined;
|
|
675
|
+
}
|
|
676
|
+
export declare namespace EndpointEventBus {
|
|
677
|
+
/**
|
|
678
|
+
* @internal
|
|
679
|
+
*/
|
|
680
|
+
const filterSensitiveLog: (obj: EndpointEventBus) => any;
|
|
681
|
+
}
|
|
682
|
+
export declare enum ReplicationState {
|
|
683
|
+
DISABLED = "DISABLED",
|
|
684
|
+
ENABLED = "ENABLED"
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* <p>Endpoints can replicate all events to the secondary Region.</p>
|
|
688
|
+
*/
|
|
689
|
+
export interface ReplicationConfig {
|
|
690
|
+
/**
|
|
691
|
+
* <p>The state of event replication.</p>
|
|
692
|
+
*/
|
|
693
|
+
State?: ReplicationState | string;
|
|
694
|
+
}
|
|
695
|
+
export declare namespace ReplicationConfig {
|
|
696
|
+
/**
|
|
697
|
+
* @internal
|
|
698
|
+
*/
|
|
699
|
+
const filterSensitiveLog: (obj: ReplicationConfig) => any;
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* <p>The primary Region of the endpoint.</p>
|
|
703
|
+
*/
|
|
704
|
+
export interface Primary {
|
|
705
|
+
/**
|
|
706
|
+
* <p>The ARN of the health check used by the endpoint to determine whether failover is triggered.</p>
|
|
707
|
+
*/
|
|
708
|
+
HealthCheck: string | undefined;
|
|
709
|
+
}
|
|
710
|
+
export declare namespace Primary {
|
|
711
|
+
/**
|
|
712
|
+
* @internal
|
|
713
|
+
*/
|
|
714
|
+
const filterSensitiveLog: (obj: Primary) => any;
|
|
715
|
+
}
|
|
716
|
+
/**
|
|
717
|
+
* <p>The secondary Region that processes events when failover is triggered or replication is enabled.</p>
|
|
718
|
+
*/
|
|
719
|
+
export interface Secondary {
|
|
720
|
+
/**
|
|
721
|
+
* <p>Defines the secondary Region.</p>
|
|
722
|
+
*/
|
|
723
|
+
Route: string | undefined;
|
|
724
|
+
}
|
|
725
|
+
export declare namespace Secondary {
|
|
726
|
+
/**
|
|
727
|
+
* @internal
|
|
728
|
+
*/
|
|
729
|
+
const filterSensitiveLog: (obj: Secondary) => any;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* <p>The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.</p>
|
|
733
|
+
*/
|
|
734
|
+
export interface FailoverConfig {
|
|
735
|
+
/**
|
|
736
|
+
* <p>The main Region of the endpoint.</p>
|
|
737
|
+
*/
|
|
738
|
+
Primary: Primary | undefined;
|
|
739
|
+
/**
|
|
740
|
+
* <p>The Region that events are routed to when failover is triggered or event replication is enabled.</p>
|
|
741
|
+
*/
|
|
742
|
+
Secondary: Secondary | undefined;
|
|
743
|
+
}
|
|
744
|
+
export declare namespace FailoverConfig {
|
|
745
|
+
/**
|
|
746
|
+
* @internal
|
|
747
|
+
*/
|
|
748
|
+
const filterSensitiveLog: (obj: FailoverConfig) => any;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* <p>The routing configuration of the endpoint.</p>
|
|
752
|
+
*/
|
|
753
|
+
export interface RoutingConfig {
|
|
754
|
+
/**
|
|
755
|
+
* <p>The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.</p>
|
|
756
|
+
*/
|
|
757
|
+
FailoverConfig: FailoverConfig | undefined;
|
|
758
|
+
}
|
|
759
|
+
export declare namespace RoutingConfig {
|
|
760
|
+
/**
|
|
761
|
+
* @internal
|
|
762
|
+
*/
|
|
763
|
+
const filterSensitiveLog: (obj: RoutingConfig) => any;
|
|
764
|
+
}
|
|
765
|
+
export interface CreateEndpointRequest {
|
|
766
|
+
/**
|
|
767
|
+
* <p>The name of the global endpoint. For example, <code>"Name":"us-east-2-custom_bus_A-endpoint"</code>.</p>
|
|
768
|
+
*/
|
|
769
|
+
Name: string | undefined;
|
|
770
|
+
/**
|
|
771
|
+
* <p>A description of the global endpoint.</p>
|
|
772
|
+
*/
|
|
773
|
+
Description?: string;
|
|
774
|
+
/**
|
|
775
|
+
* <p>Configure the routing policy, including the health check and secondary Region..</p>
|
|
776
|
+
*/
|
|
777
|
+
RoutingConfig: RoutingConfig | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* <p>Enable or disable event replication.</p>
|
|
780
|
+
*/
|
|
781
|
+
ReplicationConfig?: ReplicationConfig;
|
|
782
|
+
/**
|
|
783
|
+
* <p>Define the event buses used. </p>
|
|
784
|
+
* <important>
|
|
785
|
+
* <p>The names of the event buses must be identical in each Region.</p>
|
|
786
|
+
* </important>
|
|
787
|
+
*/
|
|
788
|
+
EventBuses: EndpointEventBus[] | undefined;
|
|
789
|
+
/**
|
|
790
|
+
* <p>The ARN of the role used for replication.</p>
|
|
791
|
+
*/
|
|
792
|
+
RoleArn?: string;
|
|
793
|
+
}
|
|
794
|
+
export declare namespace CreateEndpointRequest {
|
|
795
|
+
/**
|
|
796
|
+
* @internal
|
|
797
|
+
*/
|
|
798
|
+
const filterSensitiveLog: (obj: CreateEndpointRequest) => any;
|
|
799
|
+
}
|
|
800
|
+
export declare enum EndpointState {
|
|
801
|
+
ACTIVE = "ACTIVE",
|
|
802
|
+
CREATE_FAILED = "CREATE_FAILED",
|
|
803
|
+
CREATING = "CREATING",
|
|
804
|
+
DELETE_FAILED = "DELETE_FAILED",
|
|
805
|
+
DELETING = "DELETING",
|
|
806
|
+
UPDATE_FAILED = "UPDATE_FAILED",
|
|
807
|
+
UPDATING = "UPDATING"
|
|
808
|
+
}
|
|
809
|
+
export interface CreateEndpointResponse {
|
|
810
|
+
/**
|
|
811
|
+
* <p>The name of the endpoint that was created by this request.</p>
|
|
812
|
+
*/
|
|
813
|
+
Name?: string;
|
|
814
|
+
/**
|
|
815
|
+
* <p>The ARN of the endpoint that was created by this request.</p>
|
|
816
|
+
*/
|
|
817
|
+
Arn?: string;
|
|
818
|
+
/**
|
|
819
|
+
* <p>The routing configuration defined by this request.</p>
|
|
820
|
+
*/
|
|
821
|
+
RoutingConfig?: RoutingConfig;
|
|
822
|
+
/**
|
|
823
|
+
* <p>Whether event replication was enabled or disabled by this request.</p>
|
|
824
|
+
*/
|
|
825
|
+
ReplicationConfig?: ReplicationConfig;
|
|
826
|
+
/**
|
|
827
|
+
* <p>The event buses used by this request.</p>
|
|
828
|
+
*/
|
|
829
|
+
EventBuses?: EndpointEventBus[];
|
|
830
|
+
/**
|
|
831
|
+
* <p>The ARN of the role used by event replication for this request.</p>
|
|
832
|
+
*/
|
|
833
|
+
RoleArn?: string;
|
|
834
|
+
/**
|
|
835
|
+
* <p>The state of the endpoint that was created by this request.</p>
|
|
836
|
+
*/
|
|
837
|
+
State?: EndpointState | string;
|
|
838
|
+
}
|
|
839
|
+
export declare namespace CreateEndpointResponse {
|
|
840
|
+
/**
|
|
841
|
+
* @internal
|
|
842
|
+
*/
|
|
843
|
+
const filterSensitiveLog: (obj: CreateEndpointResponse) => any;
|
|
844
|
+
}
|
|
667
845
|
/**
|
|
668
846
|
* <p>A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses
|
|
669
847
|
* support tagging.</p>
|
|
@@ -891,6 +1069,26 @@ export declare namespace DeleteConnectionResponse {
|
|
|
891
1069
|
*/
|
|
892
1070
|
const filterSensitiveLog: (obj: DeleteConnectionResponse) => any;
|
|
893
1071
|
}
|
|
1072
|
+
export interface DeleteEndpointRequest {
|
|
1073
|
+
/**
|
|
1074
|
+
* <p>The name of the endpoint you want to delete. For example, <code>"Name":"us-east-2-custom_bus_A-endpoint"</code>..</p>
|
|
1075
|
+
*/
|
|
1076
|
+
Name: string | undefined;
|
|
1077
|
+
}
|
|
1078
|
+
export declare namespace DeleteEndpointRequest {
|
|
1079
|
+
/**
|
|
1080
|
+
* @internal
|
|
1081
|
+
*/
|
|
1082
|
+
const filterSensitiveLog: (obj: DeleteEndpointRequest) => any;
|
|
1083
|
+
}
|
|
1084
|
+
export interface DeleteEndpointResponse {
|
|
1085
|
+
}
|
|
1086
|
+
export declare namespace DeleteEndpointResponse {
|
|
1087
|
+
/**
|
|
1088
|
+
* @internal
|
|
1089
|
+
*/
|
|
1090
|
+
const filterSensitiveLog: (obj: DeleteEndpointResponse) => any;
|
|
1091
|
+
}
|
|
894
1092
|
export interface DeleteEventBusRequest {
|
|
895
1093
|
/**
|
|
896
1094
|
* <p>The name of the event bus to delete.</p>
|
|
@@ -1259,6 +1457,82 @@ export declare namespace DescribeConnectionResponse {
|
|
|
1259
1457
|
*/
|
|
1260
1458
|
const filterSensitiveLog: (obj: DescribeConnectionResponse) => any;
|
|
1261
1459
|
}
|
|
1460
|
+
export interface DescribeEndpointRequest {
|
|
1461
|
+
/**
|
|
1462
|
+
* <p>The name of the endpoint you want to get information about. For example, <code>"Name":"us-east-2-custom_bus_A-endpoint"</code>.</p>
|
|
1463
|
+
*/
|
|
1464
|
+
Name: string | undefined;
|
|
1465
|
+
/**
|
|
1466
|
+
* <p>The primary Region of the endpoint you want to get information about. For example <code>"HomeRegion": "us-east-1"</code>.</p>
|
|
1467
|
+
*/
|
|
1468
|
+
HomeRegion?: string;
|
|
1469
|
+
}
|
|
1470
|
+
export declare namespace DescribeEndpointRequest {
|
|
1471
|
+
/**
|
|
1472
|
+
* @internal
|
|
1473
|
+
*/
|
|
1474
|
+
const filterSensitiveLog: (obj: DescribeEndpointRequest) => any;
|
|
1475
|
+
}
|
|
1476
|
+
export interface DescribeEndpointResponse {
|
|
1477
|
+
/**
|
|
1478
|
+
* <p>The name of the endpoint you asked for information about.</p>
|
|
1479
|
+
*/
|
|
1480
|
+
Name?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* <p>The description of the endpoint you asked for information about.</p>
|
|
1483
|
+
*/
|
|
1484
|
+
Description?: string;
|
|
1485
|
+
/**
|
|
1486
|
+
* <p>The ARN of the endpoint you asked for information about.</p>
|
|
1487
|
+
*/
|
|
1488
|
+
Arn?: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* <p>The routing configuration of the endpoint you asked for information about.</p>
|
|
1491
|
+
*/
|
|
1492
|
+
RoutingConfig?: RoutingConfig;
|
|
1493
|
+
/**
|
|
1494
|
+
* <p>Whether replication is enabled or disabled for the endpoint you asked for information about.</p>
|
|
1495
|
+
*/
|
|
1496
|
+
ReplicationConfig?: ReplicationConfig;
|
|
1497
|
+
/**
|
|
1498
|
+
* <p>The event buses being used by the endpoint you asked for information about.</p>
|
|
1499
|
+
*/
|
|
1500
|
+
EventBuses?: EndpointEventBus[];
|
|
1501
|
+
/**
|
|
1502
|
+
* <p>The ARN of the role used by the endpoint you asked for information about.</p>
|
|
1503
|
+
*/
|
|
1504
|
+
RoleArn?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* <p>The ID of the endpoint you asked for information about.</p>
|
|
1507
|
+
*/
|
|
1508
|
+
EndpointId?: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* <p>The URL of the endpoint you asked for information about.</p>
|
|
1511
|
+
*/
|
|
1512
|
+
EndpointUrl?: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* <p>The current state of the endpoint you asked for information about.</p>
|
|
1515
|
+
*/
|
|
1516
|
+
State?: EndpointState | string;
|
|
1517
|
+
/**
|
|
1518
|
+
* <p>The reason the endpoint you asked for information about is in its current state.</p>
|
|
1519
|
+
*/
|
|
1520
|
+
StateReason?: string;
|
|
1521
|
+
/**
|
|
1522
|
+
* <p>The time the endpoint you asked for information about was created.</p>
|
|
1523
|
+
*/
|
|
1524
|
+
CreationTime?: Date;
|
|
1525
|
+
/**
|
|
1526
|
+
* <p>The last time the endpoint you asked for information about was modified.</p>
|
|
1527
|
+
*/
|
|
1528
|
+
LastModifiedTime?: Date;
|
|
1529
|
+
}
|
|
1530
|
+
export declare namespace DescribeEndpointResponse {
|
|
1531
|
+
/**
|
|
1532
|
+
* @internal
|
|
1533
|
+
*/
|
|
1534
|
+
const filterSensitiveLog: (obj: DescribeEndpointResponse) => any;
|
|
1535
|
+
}
|
|
1262
1536
|
export interface DescribeEventBusRequest {
|
|
1263
1537
|
/**
|
|
1264
1538
|
* <p>The name or ARN of the event bus to show details for. If you omit this, the default event
|
|
@@ -1742,6 +2016,113 @@ export declare namespace ListConnectionsResponse {
|
|
|
1742
2016
|
*/
|
|
1743
2017
|
const filterSensitiveLog: (obj: ListConnectionsResponse) => any;
|
|
1744
2018
|
}
|
|
2019
|
+
export interface ListEndpointsRequest {
|
|
2020
|
+
/**
|
|
2021
|
+
* <p>A value that will return a subset of the endpoints associated with this account. For example, <code>"NamePrefix": "ABC"</code> will return all endpoints with "ABC" in the name.</p>
|
|
2022
|
+
*/
|
|
2023
|
+
NamePrefix?: string;
|
|
2024
|
+
/**
|
|
2025
|
+
* <p>The primary Region of the endpoints associated with this account. For example <code>"HomeRegion": "us-east-1"</code>.</p>
|
|
2026
|
+
*/
|
|
2027
|
+
HomeRegion?: string;
|
|
2028
|
+
/**
|
|
2029
|
+
* <p>If <code>nextToken</code> is returned, there are more results available. The value of nextToken is a unique pagination token for each page.
|
|
2030
|
+
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination
|
|
2031
|
+
* token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.</p>
|
|
2032
|
+
*/
|
|
2033
|
+
NextToken?: string;
|
|
2034
|
+
/**
|
|
2035
|
+
* <p>The maximum number of results returned by the call.</p>
|
|
2036
|
+
*/
|
|
2037
|
+
MaxResults?: number;
|
|
2038
|
+
}
|
|
2039
|
+
export declare namespace ListEndpointsRequest {
|
|
2040
|
+
/**
|
|
2041
|
+
* @internal
|
|
2042
|
+
*/
|
|
2043
|
+
const filterSensitiveLog: (obj: ListEndpointsRequest) => any;
|
|
2044
|
+
}
|
|
2045
|
+
/**
|
|
2046
|
+
* <p>An global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html">Making applications Regional-fault tolerant with global endpoints and event replication</a> in the Amazon EventBridge User Guide..</p>
|
|
2047
|
+
*/
|
|
2048
|
+
export interface Endpoint {
|
|
2049
|
+
/**
|
|
2050
|
+
* <p>The name of the endpoint.</p>
|
|
2051
|
+
*/
|
|
2052
|
+
Name?: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* <p>A description for the endpoint.</p>
|
|
2055
|
+
*/
|
|
2056
|
+
Description?: string;
|
|
2057
|
+
/**
|
|
2058
|
+
* <p>The ARN of the endpoint.</p>
|
|
2059
|
+
*/
|
|
2060
|
+
Arn?: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* <p>The routing configuration of the endpoint.</p>
|
|
2063
|
+
*/
|
|
2064
|
+
RoutingConfig?: RoutingConfig;
|
|
2065
|
+
/**
|
|
2066
|
+
* <p>Whether event replication was enabled or disabled for this endpoint.</p>
|
|
2067
|
+
*/
|
|
2068
|
+
ReplicationConfig?: ReplicationConfig;
|
|
2069
|
+
/**
|
|
2070
|
+
* <p>The event buses being used by the endpoint.</p>
|
|
2071
|
+
*/
|
|
2072
|
+
EventBuses?: EndpointEventBus[];
|
|
2073
|
+
/**
|
|
2074
|
+
* <p>The ARN of the role used by event replication for the endpoint.</p>
|
|
2075
|
+
*/
|
|
2076
|
+
RoleArn?: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* <p>The URL subdomain of the endpoint. For example, if the URL for Endpoint is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is <code>abcde.veo</code>.</p>
|
|
2079
|
+
*/
|
|
2080
|
+
EndpointId?: string;
|
|
2081
|
+
/**
|
|
2082
|
+
* <p>The URL of the endpoint.</p>
|
|
2083
|
+
*/
|
|
2084
|
+
EndpointUrl?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* <p>The current state of the endpoint.</p>
|
|
2087
|
+
*/
|
|
2088
|
+
State?: EndpointState | string;
|
|
2089
|
+
/**
|
|
2090
|
+
* <p>The reason the endpoint is in its current state.</p>
|
|
2091
|
+
*/
|
|
2092
|
+
StateReason?: string;
|
|
2093
|
+
/**
|
|
2094
|
+
* <p>The time the endpoint was created.</p>
|
|
2095
|
+
*/
|
|
2096
|
+
CreationTime?: Date;
|
|
2097
|
+
/**
|
|
2098
|
+
* <p>The last time the endpoint was modified.</p>
|
|
2099
|
+
*/
|
|
2100
|
+
LastModifiedTime?: Date;
|
|
2101
|
+
}
|
|
2102
|
+
export declare namespace Endpoint {
|
|
2103
|
+
/**
|
|
2104
|
+
* @internal
|
|
2105
|
+
*/
|
|
2106
|
+
const filterSensitiveLog: (obj: Endpoint) => any;
|
|
2107
|
+
}
|
|
2108
|
+
export interface ListEndpointsResponse {
|
|
2109
|
+
/**
|
|
2110
|
+
* <p>The endpoints returned by the call.</p>
|
|
2111
|
+
*/
|
|
2112
|
+
Endpoints?: Endpoint[];
|
|
2113
|
+
/**
|
|
2114
|
+
* <p>If <code>nextToken</code> is returned, there are more results available. The value of nextToken is a unique pagination token for each page.
|
|
2115
|
+
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination
|
|
2116
|
+
* token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.</p>
|
|
2117
|
+
*/
|
|
2118
|
+
NextToken?: string;
|
|
2119
|
+
}
|
|
2120
|
+
export declare namespace ListEndpointsResponse {
|
|
2121
|
+
/**
|
|
2122
|
+
* @internal
|
|
2123
|
+
*/
|
|
2124
|
+
const filterSensitiveLog: (obj: ListEndpointsResponse) => any;
|
|
2125
|
+
}
|
|
1745
2126
|
export interface ListEventBusesRequest {
|
|
1746
2127
|
/**
|
|
1747
2128
|
* <p>Specifying this limits the results to only those event buses with names that start with
|
|
@@ -3082,7 +3463,7 @@ export interface PutEventsRequestEntry {
|
|
|
3082
3463
|
*/
|
|
3083
3464
|
DetailType?: string;
|
|
3084
3465
|
/**
|
|
3085
|
-
* <p>A valid JSON
|
|
3466
|
+
* <p>A valid JSON object. There is no other schema imposed. The JSON object may contain fields
|
|
3086
3467
|
* and nested subobjects.</p>
|
|
3087
3468
|
*/
|
|
3088
3469
|
Detail?: string;
|
|
@@ -3090,6 +3471,11 @@ export interface PutEventsRequestEntry {
|
|
|
3090
3471
|
* <p>The name or ARN of the event bus to receive the event. Only the rules that are associated
|
|
3091
3472
|
* with this event bus are used to match the event. If you omit this, the default event bus is
|
|
3092
3473
|
* used.</p>
|
|
3474
|
+
* <note>
|
|
3475
|
+
* <p>If you're using a global endpoint with a custom bus, you must enter the name, not the ARN, of the event bus in either
|
|
3476
|
+
* the primary or secondary Region here and the corresponding event bus in the
|
|
3477
|
+
* other Region will be determined based on the endpoint referenced by the <code>EndpointId</code>.</p>
|
|
3478
|
+
* </note>
|
|
3093
3479
|
*/
|
|
3094
3480
|
EventBusName?: string;
|
|
3095
3481
|
/**
|
|
@@ -3112,6 +3498,13 @@ export interface PutEventsRequest {
|
|
|
3112
3498
|
* on.</p>
|
|
3113
3499
|
*/
|
|
3114
3500
|
Entries: PutEventsRequestEntry[] | undefined;
|
|
3501
|
+
/**
|
|
3502
|
+
* <p>The URL subdomain of the endpoint. For example, if the URL for Endpoint is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is <code>abcde.veo</code>.</p>
|
|
3503
|
+
* <important>
|
|
3504
|
+
* <p>When using Java, you must include <code>auth-crt</code> on the class path.</p>
|
|
3505
|
+
* </important>
|
|
3506
|
+
*/
|
|
3507
|
+
EndpointId?: string;
|
|
3115
3508
|
}
|
|
3116
3509
|
export declare namespace PutEventsRequest {
|
|
3117
3510
|
/**
|
|
@@ -3358,8 +3751,8 @@ export interface PutRuleRequest {
|
|
|
3358
3751
|
*/
|
|
3359
3752
|
ScheduleExpression?: string;
|
|
3360
3753
|
/**
|
|
3361
|
-
* <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/
|
|
3362
|
-
*
|
|
3754
|
+
* <p>The event pattern. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html.html">EventBridge event
|
|
3755
|
+
* patterns</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
3363
3756
|
*/
|
|
3364
3757
|
EventPattern?: string;
|
|
3365
3758
|
/**
|
|
@@ -4009,3 +4402,79 @@ export declare namespace UpdateConnectionResponse {
|
|
|
4009
4402
|
*/
|
|
4010
4403
|
const filterSensitiveLog: (obj: UpdateConnectionResponse) => any;
|
|
4011
4404
|
}
|
|
4405
|
+
export interface UpdateEndpointRequest {
|
|
4406
|
+
/**
|
|
4407
|
+
* <p>The name of the endpoint you want to update.</p>
|
|
4408
|
+
*/
|
|
4409
|
+
Name: string | undefined;
|
|
4410
|
+
/**
|
|
4411
|
+
* <p>A description for the endpoint.</p>
|
|
4412
|
+
*/
|
|
4413
|
+
Description?: string;
|
|
4414
|
+
/**
|
|
4415
|
+
* <p>Configure the routing policy, including the health check and secondary Region..</p>
|
|
4416
|
+
*/
|
|
4417
|
+
RoutingConfig?: RoutingConfig;
|
|
4418
|
+
/**
|
|
4419
|
+
* <p>Whether event replication was enabled or disabled by this request.</p>
|
|
4420
|
+
*/
|
|
4421
|
+
ReplicationConfig?: ReplicationConfig;
|
|
4422
|
+
/**
|
|
4423
|
+
* <p>Define event buses used for replication.</p>
|
|
4424
|
+
*/
|
|
4425
|
+
EventBuses?: EndpointEventBus[];
|
|
4426
|
+
/**
|
|
4427
|
+
* <p>The ARN of the role used by event replication for this request.</p>
|
|
4428
|
+
*/
|
|
4429
|
+
RoleArn?: string;
|
|
4430
|
+
}
|
|
4431
|
+
export declare namespace UpdateEndpointRequest {
|
|
4432
|
+
/**
|
|
4433
|
+
* @internal
|
|
4434
|
+
*/
|
|
4435
|
+
const filterSensitiveLog: (obj: UpdateEndpointRequest) => any;
|
|
4436
|
+
}
|
|
4437
|
+
export interface UpdateEndpointResponse {
|
|
4438
|
+
/**
|
|
4439
|
+
* <p>The name of the endpoint you updated in this request.</p>
|
|
4440
|
+
*/
|
|
4441
|
+
Name?: string;
|
|
4442
|
+
/**
|
|
4443
|
+
* <p>The ARN of the endpoint you updated in this request.</p>
|
|
4444
|
+
*/
|
|
4445
|
+
Arn?: string;
|
|
4446
|
+
/**
|
|
4447
|
+
* <p>The routing configuration you updated in this request.</p>
|
|
4448
|
+
*/
|
|
4449
|
+
RoutingConfig?: RoutingConfig;
|
|
4450
|
+
/**
|
|
4451
|
+
* <p>Whether event replication was enabled or disabled for the endpoint you updated in this request.</p>
|
|
4452
|
+
*/
|
|
4453
|
+
ReplicationConfig?: ReplicationConfig;
|
|
4454
|
+
/**
|
|
4455
|
+
* <p>The event buses used for replication for the endpoint you updated in this request.</p>
|
|
4456
|
+
*/
|
|
4457
|
+
EventBuses?: EndpointEventBus[];
|
|
4458
|
+
/**
|
|
4459
|
+
* <p>The ARN of the role used by event replication for the endpoint you updated in this request.</p>
|
|
4460
|
+
*/
|
|
4461
|
+
RoleArn?: string;
|
|
4462
|
+
/**
|
|
4463
|
+
* <p>The ID of the endpoint you updated in this request.</p>
|
|
4464
|
+
*/
|
|
4465
|
+
EndpointId?: string;
|
|
4466
|
+
/**
|
|
4467
|
+
* <p>The URL of the endpoint you updated in this request.</p>
|
|
4468
|
+
*/
|
|
4469
|
+
EndpointUrl?: string;
|
|
4470
|
+
/**
|
|
4471
|
+
* <p>The state of the endpoint you updated in this request.</p>
|
|
4472
|
+
*/
|
|
4473
|
+
State?: EndpointState | string;
|
|
4474
|
+
}
|
|
4475
|
+
export declare namespace UpdateEndpointResponse {
|
|
4476
|
+
/**
|
|
4477
|
+
* @internal
|
|
4478
|
+
*/
|
|
4479
|
+
const filterSensitiveLog: (obj: UpdateEndpointResponse) => any;
|
|
4480
|
+
}
|