@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.
- package/CHANGELOG.md +27 -0
- package/README.md +2 -2
- 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 +23 -19
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
|
|
4
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
6
|
const endpoints_1 = require("./endpoints");
|
|
6
7
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a, _b, _c, _d, _e;
|
|
8
|
+
var _a, _b, _c, _d, _e, _f;
|
|
8
9
|
return ({
|
|
9
10
|
apiVersion: "2015-10-07",
|
|
10
11
|
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
11
12
|
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
|
|
12
13
|
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : endpoints_1.defaultRegionInfoProvider,
|
|
13
14
|
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "EventBridge",
|
|
14
|
-
|
|
15
|
+
signerConstructor: (_e = config === null || config === void 0 ? void 0 : config.signerConstructor) !== null && _e !== void 0 ? _e : signature_v4_multi_region_1.SignatureV4MultiRegion,
|
|
16
|
+
urlParser: (_f = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _f !== void 0 ? _f : url_parser_1.parseUrl,
|
|
15
17
|
});
|
|
16
18
|
};
|
|
17
19
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/EventBridge.js
CHANGED
|
@@ -4,6 +4,7 @@ import { CancelReplayCommand, } from "./commands/CancelReplayCommand";
|
|
|
4
4
|
import { CreateApiDestinationCommand, } from "./commands/CreateApiDestinationCommand";
|
|
5
5
|
import { CreateArchiveCommand, } from "./commands/CreateArchiveCommand";
|
|
6
6
|
import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
|
|
7
|
+
import { CreateEndpointCommand, } from "./commands/CreateEndpointCommand";
|
|
7
8
|
import { CreateEventBusCommand, } from "./commands/CreateEventBusCommand";
|
|
8
9
|
import { CreatePartnerEventSourceCommand, } from "./commands/CreatePartnerEventSourceCommand";
|
|
9
10
|
import { DeactivateEventSourceCommand, } from "./commands/DeactivateEventSourceCommand";
|
|
@@ -11,12 +12,14 @@ import { DeauthorizeConnectionCommand, } from "./commands/DeauthorizeConnectionC
|
|
|
11
12
|
import { DeleteApiDestinationCommand, } from "./commands/DeleteApiDestinationCommand";
|
|
12
13
|
import { DeleteArchiveCommand, } from "./commands/DeleteArchiveCommand";
|
|
13
14
|
import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
|
|
15
|
+
import { DeleteEndpointCommand, } from "./commands/DeleteEndpointCommand";
|
|
14
16
|
import { DeleteEventBusCommand, } from "./commands/DeleteEventBusCommand";
|
|
15
17
|
import { DeletePartnerEventSourceCommand, } from "./commands/DeletePartnerEventSourceCommand";
|
|
16
18
|
import { DeleteRuleCommand } from "./commands/DeleteRuleCommand";
|
|
17
19
|
import { DescribeApiDestinationCommand, } from "./commands/DescribeApiDestinationCommand";
|
|
18
20
|
import { DescribeArchiveCommand, } from "./commands/DescribeArchiveCommand";
|
|
19
21
|
import { DescribeConnectionCommand, } from "./commands/DescribeConnectionCommand";
|
|
22
|
+
import { DescribeEndpointCommand, } from "./commands/DescribeEndpointCommand";
|
|
20
23
|
import { DescribeEventBusCommand, } from "./commands/DescribeEventBusCommand";
|
|
21
24
|
import { DescribeEventSourceCommand, } from "./commands/DescribeEventSourceCommand";
|
|
22
25
|
import { DescribePartnerEventSourceCommand, } from "./commands/DescribePartnerEventSourceCommand";
|
|
@@ -27,6 +30,7 @@ import { EnableRuleCommand } from "./commands/EnableRuleCommand";
|
|
|
27
30
|
import { ListApiDestinationsCommand, } from "./commands/ListApiDestinationsCommand";
|
|
28
31
|
import { ListArchivesCommand, } from "./commands/ListArchivesCommand";
|
|
29
32
|
import { ListConnectionsCommand, } from "./commands/ListConnectionsCommand";
|
|
33
|
+
import { ListEndpointsCommand, } from "./commands/ListEndpointsCommand";
|
|
30
34
|
import { ListEventBusesCommand, } from "./commands/ListEventBusesCommand";
|
|
31
35
|
import { ListEventSourcesCommand, } from "./commands/ListEventSourcesCommand";
|
|
32
36
|
import { ListPartnerEventSourceAccountsCommand, } from "./commands/ListPartnerEventSourceAccountsCommand";
|
|
@@ -50,6 +54,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
50
54
|
import { UpdateApiDestinationCommand, } from "./commands/UpdateApiDestinationCommand";
|
|
51
55
|
import { UpdateArchiveCommand, } from "./commands/UpdateArchiveCommand";
|
|
52
56
|
import { UpdateConnectionCommand, } from "./commands/UpdateConnectionCommand";
|
|
57
|
+
import { UpdateEndpointCommand, } from "./commands/UpdateEndpointCommand";
|
|
53
58
|
import { EventBridgeClient } from "./EventBridgeClient";
|
|
54
59
|
var EventBridge = (function (_super) {
|
|
55
60
|
__extends(EventBridge, _super);
|
|
@@ -126,6 +131,20 @@ var EventBridge = (function (_super) {
|
|
|
126
131
|
return this.send(command, optionsOrCb);
|
|
127
132
|
}
|
|
128
133
|
};
|
|
134
|
+
EventBridge.prototype.createEndpoint = function (args, optionsOrCb, cb) {
|
|
135
|
+
var command = new CreateEndpointCommand(args);
|
|
136
|
+
if (typeof optionsOrCb === "function") {
|
|
137
|
+
this.send(command, optionsOrCb);
|
|
138
|
+
}
|
|
139
|
+
else if (typeof cb === "function") {
|
|
140
|
+
if (typeof optionsOrCb !== "object")
|
|
141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
142
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
return this.send(command, optionsOrCb);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
129
148
|
EventBridge.prototype.createEventBus = function (args, optionsOrCb, cb) {
|
|
130
149
|
var command = new CreateEventBusCommand(args);
|
|
131
150
|
if (typeof optionsOrCb === "function") {
|
|
@@ -224,6 +243,20 @@ var EventBridge = (function (_super) {
|
|
|
224
243
|
return this.send(command, optionsOrCb);
|
|
225
244
|
}
|
|
226
245
|
};
|
|
246
|
+
EventBridge.prototype.deleteEndpoint = function (args, optionsOrCb, cb) {
|
|
247
|
+
var command = new DeleteEndpointCommand(args);
|
|
248
|
+
if (typeof optionsOrCb === "function") {
|
|
249
|
+
this.send(command, optionsOrCb);
|
|
250
|
+
}
|
|
251
|
+
else if (typeof cb === "function") {
|
|
252
|
+
if (typeof optionsOrCb !== "object")
|
|
253
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
254
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
+
}
|
|
256
|
+
else {
|
|
257
|
+
return this.send(command, optionsOrCb);
|
|
258
|
+
}
|
|
259
|
+
};
|
|
227
260
|
EventBridge.prototype.deleteEventBus = function (args, optionsOrCb, cb) {
|
|
228
261
|
var command = new DeleteEventBusCommand(args);
|
|
229
262
|
if (typeof optionsOrCb === "function") {
|
|
@@ -308,6 +341,20 @@ var EventBridge = (function (_super) {
|
|
|
308
341
|
return this.send(command, optionsOrCb);
|
|
309
342
|
}
|
|
310
343
|
};
|
|
344
|
+
EventBridge.prototype.describeEndpoint = function (args, optionsOrCb, cb) {
|
|
345
|
+
var command = new DescribeEndpointCommand(args);
|
|
346
|
+
if (typeof optionsOrCb === "function") {
|
|
347
|
+
this.send(command, optionsOrCb);
|
|
348
|
+
}
|
|
349
|
+
else if (typeof cb === "function") {
|
|
350
|
+
if (typeof optionsOrCb !== "object")
|
|
351
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
352
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
353
|
+
}
|
|
354
|
+
else {
|
|
355
|
+
return this.send(command, optionsOrCb);
|
|
356
|
+
}
|
|
357
|
+
};
|
|
311
358
|
EventBridge.prototype.describeEventBus = function (args, optionsOrCb, cb) {
|
|
312
359
|
var command = new DescribeEventBusCommand(args);
|
|
313
360
|
if (typeof optionsOrCb === "function") {
|
|
@@ -448,6 +495,20 @@ var EventBridge = (function (_super) {
|
|
|
448
495
|
return this.send(command, optionsOrCb);
|
|
449
496
|
}
|
|
450
497
|
};
|
|
498
|
+
EventBridge.prototype.listEndpoints = function (args, optionsOrCb, cb) {
|
|
499
|
+
var command = new ListEndpointsCommand(args);
|
|
500
|
+
if (typeof optionsOrCb === "function") {
|
|
501
|
+
this.send(command, optionsOrCb);
|
|
502
|
+
}
|
|
503
|
+
else if (typeof cb === "function") {
|
|
504
|
+
if (typeof optionsOrCb !== "object")
|
|
505
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
506
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
507
|
+
}
|
|
508
|
+
else {
|
|
509
|
+
return this.send(command, optionsOrCb);
|
|
510
|
+
}
|
|
511
|
+
};
|
|
451
512
|
EventBridge.prototype.listEventBuses = function (args, optionsOrCb, cb) {
|
|
452
513
|
var command = new ListEventBusesCommand(args);
|
|
453
514
|
if (typeof optionsOrCb === "function") {
|
|
@@ -770,6 +831,20 @@ var EventBridge = (function (_super) {
|
|
|
770
831
|
return this.send(command, optionsOrCb);
|
|
771
832
|
}
|
|
772
833
|
};
|
|
834
|
+
EventBridge.prototype.updateEndpoint = function (args, optionsOrCb, cb) {
|
|
835
|
+
var command = new UpdateEndpointCommand(args);
|
|
836
|
+
if (typeof optionsOrCb === "function") {
|
|
837
|
+
this.send(command, optionsOrCb);
|
|
838
|
+
}
|
|
839
|
+
else if (typeof cb === "function") {
|
|
840
|
+
if (typeof optionsOrCb !== "object")
|
|
841
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
842
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
843
|
+
}
|
|
844
|
+
else {
|
|
845
|
+
return this.send(command, optionsOrCb);
|
|
846
|
+
}
|
|
847
|
+
};
|
|
773
848
|
return EventBridge;
|
|
774
849
|
}(EventBridgeClient));
|
|
775
850
|
export { EventBridge };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateEndpointRequest, CreateEndpointResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateEndpointCommand, serializeAws_json1_1CreateEndpointCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(CreateEndpointCommand, _super);
|
|
8
|
+
function CreateEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EventBridgeClient";
|
|
18
|
+
var commandName = "CreateEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateEndpointRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateEndpointResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateEndpointCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateEndpointCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateEndpointCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateEndpointCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateEndpointCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteEndpointRequest, DeleteEndpointResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteEndpointCommand, serializeAws_json1_1DeleteEndpointCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteEndpointCommand, _super);
|
|
8
|
+
function DeleteEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EventBridgeClient";
|
|
18
|
+
var commandName = "DeleteEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteEndpointRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteEndpointResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteEndpointCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteEndpointCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteEndpointCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteEndpointCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteEndpointCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeEndpointRequest, DescribeEndpointResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeEndpointCommand, serializeAws_json1_1DescribeEndpointCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEndpointCommand, _super);
|
|
8
|
+
function DescribeEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EventBridgeClient";
|
|
18
|
+
var commandName = "DescribeEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeEndpointRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeEndpointResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEndpointCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeEndpointCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeEndpointCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeEndpointCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEndpointCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListEndpointsRequest, ListEndpointsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListEndpointsCommand, serializeAws_json1_1ListEndpointsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ListEndpointsCommand = (function (_super) {
|
|
7
|
+
__extends(ListEndpointsCommand, _super);
|
|
8
|
+
function ListEndpointsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListEndpointsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EventBridgeClient";
|
|
18
|
+
var commandName = "ListEndpointsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListEndpointsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListEndpointsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListEndpointsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ListEndpointsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListEndpointsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ListEndpointsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListEndpointsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListEndpointsCommand };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
+
import { getInjectEndpointIdPlugin } from "@aws-sdk/middleware-sdk-eventbridge";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { PutEventsRequest, PutEventsResponse } from "../models/models_0";
|
|
@@ -12,6 +13,7 @@ var PutEventsCommand = (function (_super) {
|
|
|
12
13
|
}
|
|
13
14
|
PutEventsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use(getInjectEndpointIdPlugin(configuration));
|
|
15
17
|
var stack = clientStack.concat(this.middlewareStack);
|
|
16
18
|
var logger = configuration.logger;
|
|
17
19
|
var clientName = "EventBridgeClient";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateEndpointRequest, UpdateEndpointResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateEndpointCommand, serializeAws_json1_1UpdateEndpointCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateEndpointCommand, _super);
|
|
8
|
+
function UpdateEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EventBridgeClient";
|
|
18
|
+
var commandName = "UpdateEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateEndpointRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateEndpointResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateEndpointCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateEndpointCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateEndpointCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateEndpointCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateEndpointCommand };
|
|
@@ -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";
|
|
@@ -248,6 +248,53 @@ export var CreateConnectionResponse;
|
|
|
248
248
|
(function (CreateConnectionResponse) {
|
|
249
249
|
CreateConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
250
250
|
})(CreateConnectionResponse || (CreateConnectionResponse = {}));
|
|
251
|
+
export var EndpointEventBus;
|
|
252
|
+
(function (EndpointEventBus) {
|
|
253
|
+
EndpointEventBus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
254
|
+
})(EndpointEventBus || (EndpointEventBus = {}));
|
|
255
|
+
export var ReplicationState;
|
|
256
|
+
(function (ReplicationState) {
|
|
257
|
+
ReplicationState["DISABLED"] = "DISABLED";
|
|
258
|
+
ReplicationState["ENABLED"] = "ENABLED";
|
|
259
|
+
})(ReplicationState || (ReplicationState = {}));
|
|
260
|
+
export var ReplicationConfig;
|
|
261
|
+
(function (ReplicationConfig) {
|
|
262
|
+
ReplicationConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
263
|
+
})(ReplicationConfig || (ReplicationConfig = {}));
|
|
264
|
+
export var Primary;
|
|
265
|
+
(function (Primary) {
|
|
266
|
+
Primary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
+
})(Primary || (Primary = {}));
|
|
268
|
+
export var Secondary;
|
|
269
|
+
(function (Secondary) {
|
|
270
|
+
Secondary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
271
|
+
})(Secondary || (Secondary = {}));
|
|
272
|
+
export var FailoverConfig;
|
|
273
|
+
(function (FailoverConfig) {
|
|
274
|
+
FailoverConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
275
|
+
})(FailoverConfig || (FailoverConfig = {}));
|
|
276
|
+
export var RoutingConfig;
|
|
277
|
+
(function (RoutingConfig) {
|
|
278
|
+
RoutingConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
279
|
+
})(RoutingConfig || (RoutingConfig = {}));
|
|
280
|
+
export var CreateEndpointRequest;
|
|
281
|
+
(function (CreateEndpointRequest) {
|
|
282
|
+
CreateEndpointRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
283
|
+
})(CreateEndpointRequest || (CreateEndpointRequest = {}));
|
|
284
|
+
export var EndpointState;
|
|
285
|
+
(function (EndpointState) {
|
|
286
|
+
EndpointState["ACTIVE"] = "ACTIVE";
|
|
287
|
+
EndpointState["CREATE_FAILED"] = "CREATE_FAILED";
|
|
288
|
+
EndpointState["CREATING"] = "CREATING";
|
|
289
|
+
EndpointState["DELETE_FAILED"] = "DELETE_FAILED";
|
|
290
|
+
EndpointState["DELETING"] = "DELETING";
|
|
291
|
+
EndpointState["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
292
|
+
EndpointState["UPDATING"] = "UPDATING";
|
|
293
|
+
})(EndpointState || (EndpointState = {}));
|
|
294
|
+
export var CreateEndpointResponse;
|
|
295
|
+
(function (CreateEndpointResponse) {
|
|
296
|
+
CreateEndpointResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
})(CreateEndpointResponse || (CreateEndpointResponse = {}));
|
|
251
298
|
export var Tag;
|
|
252
299
|
(function (Tag) {
|
|
253
300
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -304,6 +351,14 @@ export var DeleteConnectionResponse;
|
|
|
304
351
|
(function (DeleteConnectionResponse) {
|
|
305
352
|
DeleteConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
306
353
|
})(DeleteConnectionResponse || (DeleteConnectionResponse = {}));
|
|
354
|
+
export var DeleteEndpointRequest;
|
|
355
|
+
(function (DeleteEndpointRequest) {
|
|
356
|
+
DeleteEndpointRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
357
|
+
})(DeleteEndpointRequest || (DeleteEndpointRequest = {}));
|
|
358
|
+
export var DeleteEndpointResponse;
|
|
359
|
+
(function (DeleteEndpointResponse) {
|
|
360
|
+
DeleteEndpointResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
361
|
+
})(DeleteEndpointResponse || (DeleteEndpointResponse = {}));
|
|
307
362
|
export var DeleteEventBusRequest;
|
|
308
363
|
(function (DeleteEventBusRequest) {
|
|
309
364
|
DeleteEventBusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -372,6 +427,14 @@ export var DescribeConnectionResponse;
|
|
|
372
427
|
(function (DescribeConnectionResponse) {
|
|
373
428
|
DescribeConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
374
429
|
})(DescribeConnectionResponse || (DescribeConnectionResponse = {}));
|
|
430
|
+
export var DescribeEndpointRequest;
|
|
431
|
+
(function (DescribeEndpointRequest) {
|
|
432
|
+
DescribeEndpointRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
433
|
+
})(DescribeEndpointRequest || (DescribeEndpointRequest = {}));
|
|
434
|
+
export var DescribeEndpointResponse;
|
|
435
|
+
(function (DescribeEndpointResponse) {
|
|
436
|
+
DescribeEndpointResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
437
|
+
})(DescribeEndpointResponse || (DescribeEndpointResponse = {}));
|
|
375
438
|
export var DescribeEventBusRequest;
|
|
376
439
|
(function (DescribeEventBusRequest) {
|
|
377
440
|
DescribeEventBusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -463,6 +526,18 @@ export var ListConnectionsResponse;
|
|
|
463
526
|
(function (ListConnectionsResponse) {
|
|
464
527
|
ListConnectionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
528
|
})(ListConnectionsResponse || (ListConnectionsResponse = {}));
|
|
529
|
+
export var ListEndpointsRequest;
|
|
530
|
+
(function (ListEndpointsRequest) {
|
|
531
|
+
ListEndpointsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
532
|
+
})(ListEndpointsRequest || (ListEndpointsRequest = {}));
|
|
533
|
+
export var Endpoint;
|
|
534
|
+
(function (Endpoint) {
|
|
535
|
+
Endpoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
536
|
+
})(Endpoint || (Endpoint = {}));
|
|
537
|
+
export var ListEndpointsResponse;
|
|
538
|
+
(function (ListEndpointsResponse) {
|
|
539
|
+
ListEndpointsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
540
|
+
})(ListEndpointsResponse || (ListEndpointsResponse = {}));
|
|
466
541
|
export var ListEventBusesRequest;
|
|
467
542
|
(function (ListEventBusesRequest) {
|
|
468
543
|
ListEventBusesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -828,3 +903,11 @@ export var UpdateConnectionResponse;
|
|
|
828
903
|
(function (UpdateConnectionResponse) {
|
|
829
904
|
UpdateConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
830
905
|
})(UpdateConnectionResponse || (UpdateConnectionResponse = {}));
|
|
906
|
+
export var UpdateEndpointRequest;
|
|
907
|
+
(function (UpdateEndpointRequest) {
|
|
908
|
+
UpdateEndpointRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
909
|
+
})(UpdateEndpointRequest || (UpdateEndpointRequest = {}));
|
|
910
|
+
export var UpdateEndpointResponse;
|
|
911
|
+
(function (UpdateEndpointResponse) {
|
|
912
|
+
UpdateEndpointResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
913
|
+
})(UpdateEndpointResponse || (UpdateEndpointResponse = {}));
|