@aws-sdk/client-eventbridge 3.190.0 → 3.193.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 +23 -0
- package/dist-cjs/EventBridgeClient.js +11 -8
- package/dist-cjs/commands/ActivateEventSourceCommand.js +10 -0
- package/dist-cjs/commands/CancelReplayCommand.js +10 -0
- package/dist-cjs/commands/CreateApiDestinationCommand.js +10 -0
- package/dist-cjs/commands/CreateArchiveCommand.js +10 -0
- package/dist-cjs/commands/CreateConnectionCommand.js +10 -0
- package/dist-cjs/commands/CreateEndpointCommand.js +10 -0
- package/dist-cjs/commands/CreateEventBusCommand.js +10 -0
- package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +10 -0
- package/dist-cjs/commands/DeactivateEventSourceCommand.js +10 -0
- package/dist-cjs/commands/DeauthorizeConnectionCommand.js +10 -0
- package/dist-cjs/commands/DeleteApiDestinationCommand.js +10 -0
- package/dist-cjs/commands/DeleteArchiveCommand.js +10 -0
- package/dist-cjs/commands/DeleteConnectionCommand.js +10 -0
- package/dist-cjs/commands/DeleteEndpointCommand.js +10 -0
- package/dist-cjs/commands/DeleteEventBusCommand.js +10 -0
- package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +10 -0
- package/dist-cjs/commands/DeleteRuleCommand.js +10 -0
- package/dist-cjs/commands/DescribeApiDestinationCommand.js +10 -0
- package/dist-cjs/commands/DescribeArchiveCommand.js +10 -0
- package/dist-cjs/commands/DescribeConnectionCommand.js +10 -0
- package/dist-cjs/commands/DescribeEndpointCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventBusCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventSourceCommand.js +10 -0
- package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +10 -0
- package/dist-cjs/commands/DescribeReplayCommand.js +10 -0
- package/dist-cjs/commands/DescribeRuleCommand.js +10 -0
- package/dist-cjs/commands/DisableRuleCommand.js +10 -0
- package/dist-cjs/commands/EnableRuleCommand.js +10 -0
- package/dist-cjs/commands/ListApiDestinationsCommand.js +10 -0
- package/dist-cjs/commands/ListArchivesCommand.js +10 -0
- package/dist-cjs/commands/ListConnectionsCommand.js +10 -0
- package/dist-cjs/commands/ListEndpointsCommand.js +10 -0
- package/dist-cjs/commands/ListEventBusesCommand.js +10 -0
- package/dist-cjs/commands/ListEventSourcesCommand.js +10 -0
- package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +10 -0
- package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +10 -0
- package/dist-cjs/commands/ListReplaysCommand.js +10 -0
- package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +10 -0
- package/dist-cjs/commands/ListRulesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListTargetsByRuleCommand.js +10 -0
- package/dist-cjs/commands/PutEventsCommand.js +11 -2
- package/dist-cjs/commands/PutPartnerEventsCommand.js +10 -0
- package/dist-cjs/commands/PutPermissionCommand.js +10 -0
- package/dist-cjs/commands/PutRuleCommand.js +10 -0
- package/dist-cjs/commands/PutTargetsCommand.js +10 -0
- package/dist-cjs/commands/RemovePermissionCommand.js +10 -0
- package/dist-cjs/commands/RemoveTargetsCommand.js +10 -0
- package/dist-cjs/commands/StartReplayCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/TestEventPatternCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateApiDestinationCommand.js +10 -0
- package/dist-cjs/commands/UpdateArchiveCommand.js +10 -0
- package/dist-cjs/commands/UpdateConnectionCommand.js +10 -0
- package/dist-cjs/commands/UpdateEndpointCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +535 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/EventBridgeClient.js +12 -9
- package/dist-es/commands/ActivateEventSourceCommand.js +10 -0
- package/dist-es/commands/CancelReplayCommand.js +10 -0
- package/dist-es/commands/CreateApiDestinationCommand.js +10 -0
- package/dist-es/commands/CreateArchiveCommand.js +10 -0
- package/dist-es/commands/CreateConnectionCommand.js +10 -0
- package/dist-es/commands/CreateEndpointCommand.js +10 -0
- package/dist-es/commands/CreateEventBusCommand.js +10 -0
- package/dist-es/commands/CreatePartnerEventSourceCommand.js +10 -0
- package/dist-es/commands/DeactivateEventSourceCommand.js +10 -0
- package/dist-es/commands/DeauthorizeConnectionCommand.js +10 -0
- package/dist-es/commands/DeleteApiDestinationCommand.js +10 -0
- package/dist-es/commands/DeleteArchiveCommand.js +10 -0
- package/dist-es/commands/DeleteConnectionCommand.js +10 -0
- package/dist-es/commands/DeleteEndpointCommand.js +10 -0
- package/dist-es/commands/DeleteEventBusCommand.js +10 -0
- package/dist-es/commands/DeletePartnerEventSourceCommand.js +10 -0
- package/dist-es/commands/DeleteRuleCommand.js +10 -0
- package/dist-es/commands/DescribeApiDestinationCommand.js +10 -0
- package/dist-es/commands/DescribeArchiveCommand.js +10 -0
- package/dist-es/commands/DescribeConnectionCommand.js +10 -0
- package/dist-es/commands/DescribeEndpointCommand.js +10 -0
- package/dist-es/commands/DescribeEventBusCommand.js +10 -0
- package/dist-es/commands/DescribeEventSourceCommand.js +10 -0
- package/dist-es/commands/DescribePartnerEventSourceCommand.js +10 -0
- package/dist-es/commands/DescribeReplayCommand.js +10 -0
- package/dist-es/commands/DescribeRuleCommand.js +10 -0
- package/dist-es/commands/DisableRuleCommand.js +10 -0
- package/dist-es/commands/EnableRuleCommand.js +10 -0
- package/dist-es/commands/ListApiDestinationsCommand.js +10 -0
- package/dist-es/commands/ListArchivesCommand.js +10 -0
- package/dist-es/commands/ListConnectionsCommand.js +10 -0
- package/dist-es/commands/ListEndpointsCommand.js +10 -0
- package/dist-es/commands/ListEventBusesCommand.js +10 -0
- package/dist-es/commands/ListEventSourcesCommand.js +10 -0
- package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +10 -0
- package/dist-es/commands/ListPartnerEventSourcesCommand.js +10 -0
- package/dist-es/commands/ListReplaysCommand.js +10 -0
- package/dist-es/commands/ListRuleNamesByTargetCommand.js +10 -0
- package/dist-es/commands/ListRulesCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListTargetsByRuleCommand.js +10 -0
- package/dist-es/commands/PutEventsCommand.js +11 -2
- package/dist-es/commands/PutPartnerEventsCommand.js +10 -0
- package/dist-es/commands/PutPermissionCommand.js +10 -0
- package/dist-es/commands/PutRuleCommand.js +10 -0
- package/dist-es/commands/PutTargetsCommand.js +10 -0
- package/dist-es/commands/RemovePermissionCommand.js +10 -0
- package/dist-es/commands/RemoveTargetsCommand.js +10 -0
- package/dist-es/commands/StartReplayCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/TestEventPatternCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateApiDestinationCommand.js +10 -0
- package/dist-es/commands/UpdateArchiveCommand.js +10 -0
- package/dist-es/commands/UpdateConnectionCommand.js +10 -0
- package/dist-es/commands/UpdateEndpointCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +532 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/EventBridgeClient.d.ts +6 -9
- package/dist-types/commands/ActivateEventSourceCommand.d.ts +2 -0
- package/dist-types/commands/CancelReplayCommand.d.ts +2 -0
- package/dist-types/commands/CreateApiDestinationCommand.d.ts +2 -0
- package/dist-types/commands/CreateArchiveCommand.d.ts +2 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +2 -0
- package/dist-types/commands/CreateEndpointCommand.d.ts +2 -0
- package/dist-types/commands/CreateEventBusCommand.d.ts +2 -0
- package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +2 -0
- package/dist-types/commands/DeactivateEventSourceCommand.d.ts +2 -0
- package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteApiDestinationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteArchiveCommand.d.ts +2 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEventBusCommand.d.ts +2 -0
- package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +2 -0
- package/dist-types/commands/DescribeApiDestinationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeArchiveCommand.d.ts +2 -0
- package/dist-types/commands/DescribeConnectionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventBusCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +2 -0
- package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplayCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRuleCommand.d.ts +2 -0
- package/dist-types/commands/DisableRuleCommand.d.ts +2 -0
- package/dist-types/commands/EnableRuleCommand.d.ts +2 -0
- package/dist-types/commands/ListApiDestinationsCommand.d.ts +2 -0
- package/dist-types/commands/ListArchivesCommand.d.ts +2 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +2 -0
- package/dist-types/commands/ListEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/ListEventBusesCommand.d.ts +2 -0
- package/dist-types/commands/ListEventSourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -0
- package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListReplaysCommand.d.ts +2 -0
- package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +2 -0
- package/dist-types/commands/ListRulesCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListTargetsByRuleCommand.d.ts +2 -0
- package/dist-types/commands/PutEventsCommand.d.ts +2 -0
- package/dist-types/commands/PutPartnerEventsCommand.d.ts +2 -0
- package/dist-types/commands/PutPermissionCommand.d.ts +2 -0
- package/dist-types/commands/PutRuleCommand.d.ts +2 -0
- package/dist-types/commands/PutTargetsCommand.d.ts +2 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTargetsCommand.d.ts +2 -0
- package/dist-types/commands/StartReplayCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/TestEventPatternCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApiDestinationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateArchiveCommand.d.ts +2 -0
- package/dist-types/commands/UpdateConnectionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/EventBridgeClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +27 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +29 -28
- package/dist-cjs/endpoints.js +0 -185
- package/dist-es/endpoints.js +0 -181
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PutTargetsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class PutTargetsCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutTargetsCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemovePermissionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RemovePermissionCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemovePermissionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveTargetsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RemoveTargetsCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveTargetsCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StartReplayCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class StartReplayCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartReplayCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TagResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TestEventPatternCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class TestEventPatternCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TestEventPatternCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UntagResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateApiDestinationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UpdateApiDestinationCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateApiDestinationCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateArchiveCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UpdateArchiveCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateArchiveCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateConnectionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UpdateConnectionCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateConnectionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateEndpointCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UpdateEndpointCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateEndpointCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "EventBridgeClient";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return {
|
|
7
|
+
...options,
|
|
8
|
+
useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
|
|
9
|
+
useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
|
|
10
|
+
defaultSigningName: "events",
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|