@aws-sdk/client-eventbridge 3.926.0 → 3.928.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/dist-cjs/index.js +1912 -2314
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/EventBridgeClient.js +2 -0
- package/dist-es/commands/ActivateEventSourceCommand.js +3 -9
- package/dist-es/commands/CancelReplayCommand.js +3 -9
- package/dist-es/commands/CreateApiDestinationCommand.js +3 -9
- package/dist-es/commands/CreateArchiveCommand.js +3 -9
- package/dist-es/commands/CreateConnectionCommand.js +3 -10
- package/dist-es/commands/CreateEndpointCommand.js +3 -9
- package/dist-es/commands/CreateEventBusCommand.js +3 -9
- package/dist-es/commands/CreatePartnerEventSourceCommand.js +3 -9
- package/dist-es/commands/DeactivateEventSourceCommand.js +3 -9
- package/dist-es/commands/DeauthorizeConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteApiDestinationCommand.js +3 -9
- package/dist-es/commands/DeleteArchiveCommand.js +3 -9
- package/dist-es/commands/DeleteConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteEventBusCommand.js +3 -9
- package/dist-es/commands/DeletePartnerEventSourceCommand.js +3 -9
- package/dist-es/commands/DeleteRuleCommand.js +3 -9
- package/dist-es/commands/DescribeApiDestinationCommand.js +3 -9
- package/dist-es/commands/DescribeArchiveCommand.js +3 -9
- package/dist-es/commands/DescribeConnectionCommand.js +3 -10
- package/dist-es/commands/DescribeEndpointCommand.js +3 -9
- package/dist-es/commands/DescribeEventBusCommand.js +3 -9
- package/dist-es/commands/DescribeEventSourceCommand.js +3 -9
- package/dist-es/commands/DescribePartnerEventSourceCommand.js +3 -9
- package/dist-es/commands/DescribeReplayCommand.js +3 -9
- package/dist-es/commands/DescribeRuleCommand.js +3 -9
- package/dist-es/commands/DisableRuleCommand.js +3 -9
- package/dist-es/commands/EnableRuleCommand.js +3 -9
- package/dist-es/commands/ListApiDestinationsCommand.js +3 -9
- package/dist-es/commands/ListArchivesCommand.js +3 -9
- package/dist-es/commands/ListConnectionsCommand.js +3 -9
- package/dist-es/commands/ListEndpointsCommand.js +3 -9
- package/dist-es/commands/ListEventBusesCommand.js +3 -9
- package/dist-es/commands/ListEventSourcesCommand.js +3 -9
- package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +3 -9
- package/dist-es/commands/ListPartnerEventSourcesCommand.js +3 -9
- package/dist-es/commands/ListReplaysCommand.js +3 -9
- package/dist-es/commands/ListRuleNamesByTargetCommand.js +3 -9
- package/dist-es/commands/ListRulesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTargetsByRuleCommand.js +3 -10
- package/dist-es/commands/PutEventsCommand.js +3 -9
- package/dist-es/commands/PutPartnerEventsCommand.js +3 -9
- package/dist-es/commands/PutPermissionCommand.js +3 -9
- package/dist-es/commands/PutRuleCommand.js +3 -9
- package/dist-es/commands/PutTargetsCommand.js +3 -10
- package/dist-es/commands/RemovePermissionCommand.js +3 -9
- package/dist-es/commands/RemoveTargetsCommand.js +3 -9
- package/dist-es/commands/StartReplayCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TestEventPatternCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateApiDestinationCommand.js +3 -9
- package/dist-es/commands/UpdateArchiveCommand.js +3 -9
- package/dist-es/commands/UpdateConnectionCommand.js +3 -10
- package/dist-es/commands/UpdateEndpointCommand.js +3 -9
- package/dist-es/commands/UpdateEventBusCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -152
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1768 -0
- package/dist-types/EventBridgeClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -96
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +294 -0
- package/dist-types/ts3.4/EventBridgeClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -70
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +300 -0
- package/package.json +7 -7
- package/dist-es/protocols/Aws_json1_1.js +0 -1705
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -515
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -689
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_PutTargetsCommand, se_PutTargetsCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { PutTargets } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class PutTargetsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSEvents", "PutTargets", {})
|
|
18
13
|
.n("EventBridgeClient", "PutTargetsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_PutTargetsCommand)
|
|
21
|
-
.de(de_PutTargetsCommand)
|
|
14
|
+
.sc(PutTargets)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemovePermission } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemovePermissionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "RemovePermission", {})
|
|
17
13
|
.n("EventBridgeClient", "RemovePermissionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemovePermissionCommand)
|
|
20
|
-
.de(de_RemovePermissionCommand)
|
|
14
|
+
.sc(RemovePermission)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveTargets } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveTargetsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "RemoveTargets", {})
|
|
17
13
|
.n("EventBridgeClient", "RemoveTargetsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveTargetsCommand)
|
|
20
|
-
.de(de_RemoveTargetsCommand)
|
|
14
|
+
.sc(RemoveTargets)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartReplay } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartReplayCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "StartReplay", {})
|
|
17
13
|
.n("EventBridgeClient", "StartReplayCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartReplayCommand)
|
|
20
|
-
.de(de_StartReplayCommand)
|
|
14
|
+
.sc(StartReplay)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "TagResource", {})
|
|
17
13
|
.n("EventBridgeClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TestEventPattern } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TestEventPatternCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "TestEventPattern", {})
|
|
17
13
|
.n("EventBridgeClient", "TestEventPatternCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TestEventPatternCommand)
|
|
20
|
-
.de(de_TestEventPatternCommand)
|
|
14
|
+
.sc(TestEventPattern)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "UntagResource", {})
|
|
17
13
|
.n("EventBridgeClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateApiDestination } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateApiDestinationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "UpdateApiDestination", {})
|
|
17
13
|
.n("EventBridgeClient", "UpdateApiDestinationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateApiDestinationCommand)
|
|
20
|
-
.de(de_UpdateApiDestinationCommand)
|
|
14
|
+
.sc(UpdateApiDestination)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateArchive } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateArchiveCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "UpdateArchive", {})
|
|
17
13
|
.n("EventBridgeClient", "UpdateArchiveCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateArchiveCommand)
|
|
20
|
-
.de(de_UpdateArchiveCommand)
|
|
14
|
+
.sc(UpdateArchive)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateConnectionCommand, se_UpdateConnectionCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateConnection } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateConnectionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSEvents", "UpdateConnection", {})
|
|
18
13
|
.n("EventBridgeClient", "UpdateConnectionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateConnectionCommand)
|
|
21
|
-
.de(de_UpdateConnectionCommand)
|
|
14
|
+
.sc(UpdateConnection)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateEndpointCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "UpdateEndpoint", {})
|
|
17
13
|
.n("EventBridgeClient", "UpdateEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateEndpointCommand)
|
|
20
|
-
.de(de_UpdateEndpointCommand)
|
|
14
|
+
.sc(UpdateEndpoint)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateEventBus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateEventBusCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSEvents", "UpdateEventBus", {})
|
|
17
13
|
.n("EventBridgeClient", "UpdateEventBusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateEventBusCommand)
|
|
20
|
-
.de(de_UpdateEventBusCommand)
|
|
14
|
+
.sc(UpdateEventBus)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { EventBridgeServiceException as __BaseException } from "./EventBridgeServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -260,154 +259,3 @@ export class PolicyLengthExceededException extends __BaseException {
|
|
|
260
259
|
Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
|
|
261
260
|
}
|
|
262
261
|
}
|
|
263
|
-
export const AppSyncParametersFilterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
...(obj.GraphQLOperation && { GraphQLOperation: SENSITIVE_STRING }),
|
|
266
|
-
});
|
|
267
|
-
export const CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
268
|
-
...obj,
|
|
269
|
-
...(obj.ApiKeyValue && { ApiKeyValue: SENSITIVE_STRING }),
|
|
270
|
-
});
|
|
271
|
-
export const CreateConnectionBasicAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
272
|
-
...obj,
|
|
273
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
274
|
-
});
|
|
275
|
-
export const ConnectionBodyParameterFilterSensitiveLog = (obj) => ({
|
|
276
|
-
...obj,
|
|
277
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
278
|
-
});
|
|
279
|
-
export const ConnectionHeaderParameterFilterSensitiveLog = (obj) => ({
|
|
280
|
-
...obj,
|
|
281
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
282
|
-
});
|
|
283
|
-
export const ConnectionQueryStringParameterFilterSensitiveLog = (obj) => ({
|
|
284
|
-
...obj,
|
|
285
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
286
|
-
});
|
|
287
|
-
export const ConnectionHttpParametersFilterSensitiveLog = (obj) => ({
|
|
288
|
-
...obj,
|
|
289
|
-
...(obj.HeaderParameters && {
|
|
290
|
-
HeaderParameters: obj.HeaderParameters.map((item) => ConnectionHeaderParameterFilterSensitiveLog(item)),
|
|
291
|
-
}),
|
|
292
|
-
...(obj.QueryStringParameters && {
|
|
293
|
-
QueryStringParameters: obj.QueryStringParameters.map((item) => ConnectionQueryStringParameterFilterSensitiveLog(item)),
|
|
294
|
-
}),
|
|
295
|
-
...(obj.BodyParameters && {
|
|
296
|
-
BodyParameters: obj.BodyParameters.map((item) => ConnectionBodyParameterFilterSensitiveLog(item)),
|
|
297
|
-
}),
|
|
298
|
-
});
|
|
299
|
-
export const CreateConnectionOAuthClientRequestParametersFilterSensitiveLog = (obj) => ({
|
|
300
|
-
...obj,
|
|
301
|
-
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
302
|
-
});
|
|
303
|
-
export const CreateConnectionOAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
...(obj.ClientParameters && {
|
|
306
|
-
ClientParameters: CreateConnectionOAuthClientRequestParametersFilterSensitiveLog(obj.ClientParameters),
|
|
307
|
-
}),
|
|
308
|
-
...(obj.OAuthHttpParameters && {
|
|
309
|
-
OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters),
|
|
310
|
-
}),
|
|
311
|
-
});
|
|
312
|
-
export const CreateConnectionAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
313
|
-
...obj,
|
|
314
|
-
...(obj.BasicAuthParameters && {
|
|
315
|
-
BasicAuthParameters: CreateConnectionBasicAuthRequestParametersFilterSensitiveLog(obj.BasicAuthParameters),
|
|
316
|
-
}),
|
|
317
|
-
...(obj.OAuthParameters && {
|
|
318
|
-
OAuthParameters: CreateConnectionOAuthRequestParametersFilterSensitiveLog(obj.OAuthParameters),
|
|
319
|
-
}),
|
|
320
|
-
...(obj.ApiKeyAuthParameters && {
|
|
321
|
-
ApiKeyAuthParameters: CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog(obj.ApiKeyAuthParameters),
|
|
322
|
-
}),
|
|
323
|
-
...(obj.InvocationHttpParameters && {
|
|
324
|
-
InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters),
|
|
325
|
-
}),
|
|
326
|
-
});
|
|
327
|
-
export const CreateConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
328
|
-
...obj,
|
|
329
|
-
...(obj.AuthParameters && {
|
|
330
|
-
AuthParameters: CreateConnectionAuthRequestParametersFilterSensitiveLog(obj.AuthParameters),
|
|
331
|
-
}),
|
|
332
|
-
});
|
|
333
|
-
export const ConnectionOAuthResponseParametersFilterSensitiveLog = (obj) => ({
|
|
334
|
-
...obj,
|
|
335
|
-
...(obj.OAuthHttpParameters && {
|
|
336
|
-
OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters),
|
|
337
|
-
}),
|
|
338
|
-
});
|
|
339
|
-
export const ConnectionAuthResponseParametersFilterSensitiveLog = (obj) => ({
|
|
340
|
-
...obj,
|
|
341
|
-
...(obj.OAuthParameters && {
|
|
342
|
-
OAuthParameters: ConnectionOAuthResponseParametersFilterSensitiveLog(obj.OAuthParameters),
|
|
343
|
-
}),
|
|
344
|
-
...(obj.InvocationHttpParameters && {
|
|
345
|
-
InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters),
|
|
346
|
-
}),
|
|
347
|
-
});
|
|
348
|
-
export const DescribeConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
...(obj.AuthParameters && { AuthParameters: ConnectionAuthResponseParametersFilterSensitiveLog(obj.AuthParameters) }),
|
|
351
|
-
});
|
|
352
|
-
export const RedshiftDataParametersFilterSensitiveLog = (obj) => ({
|
|
353
|
-
...obj,
|
|
354
|
-
...(obj.Sql && { Sql: SENSITIVE_STRING }),
|
|
355
|
-
...(obj.Sqls && { Sqls: SENSITIVE_STRING }),
|
|
356
|
-
});
|
|
357
|
-
export const TargetFilterSensitiveLog = (obj) => ({
|
|
358
|
-
...obj,
|
|
359
|
-
...(obj.RedshiftDataParameters && {
|
|
360
|
-
RedshiftDataParameters: RedshiftDataParametersFilterSensitiveLog(obj.RedshiftDataParameters),
|
|
361
|
-
}),
|
|
362
|
-
...(obj.AppSyncParameters && { AppSyncParameters: AppSyncParametersFilterSensitiveLog(obj.AppSyncParameters) }),
|
|
363
|
-
});
|
|
364
|
-
export const ListTargetsByRuleResponseFilterSensitiveLog = (obj) => ({
|
|
365
|
-
...obj,
|
|
366
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetFilterSensitiveLog(item)) }),
|
|
367
|
-
});
|
|
368
|
-
export const PutTargetsRequestFilterSensitiveLog = (obj) => ({
|
|
369
|
-
...obj,
|
|
370
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => TargetFilterSensitiveLog(item)) }),
|
|
371
|
-
});
|
|
372
|
-
export const UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
...(obj.ApiKeyValue && { ApiKeyValue: SENSITIVE_STRING }),
|
|
375
|
-
});
|
|
376
|
-
export const UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
377
|
-
...obj,
|
|
378
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
379
|
-
});
|
|
380
|
-
export const UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog = (obj) => ({
|
|
381
|
-
...obj,
|
|
382
|
-
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
383
|
-
});
|
|
384
|
-
export const UpdateConnectionOAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
385
|
-
...obj,
|
|
386
|
-
...(obj.ClientParameters && {
|
|
387
|
-
ClientParameters: UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog(obj.ClientParameters),
|
|
388
|
-
}),
|
|
389
|
-
...(obj.OAuthHttpParameters && {
|
|
390
|
-
OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters),
|
|
391
|
-
}),
|
|
392
|
-
});
|
|
393
|
-
export const UpdateConnectionAuthRequestParametersFilterSensitiveLog = (obj) => ({
|
|
394
|
-
...obj,
|
|
395
|
-
...(obj.BasicAuthParameters && {
|
|
396
|
-
BasicAuthParameters: UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog(obj.BasicAuthParameters),
|
|
397
|
-
}),
|
|
398
|
-
...(obj.OAuthParameters && {
|
|
399
|
-
OAuthParameters: UpdateConnectionOAuthRequestParametersFilterSensitiveLog(obj.OAuthParameters),
|
|
400
|
-
}),
|
|
401
|
-
...(obj.ApiKeyAuthParameters && {
|
|
402
|
-
ApiKeyAuthParameters: UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog(obj.ApiKeyAuthParameters),
|
|
403
|
-
}),
|
|
404
|
-
...(obj.InvocationHttpParameters && {
|
|
405
|
-
InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters),
|
|
406
|
-
}),
|
|
407
|
-
});
|
|
408
|
-
export const UpdateConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
409
|
-
...obj,
|
|
410
|
-
...(obj.AuthParameters && {
|
|
411
|
-
AuthParameters: UpdateConnectionAuthRequestParametersFilterSensitiveLog(obj.AuthParameters),
|
|
412
|
-
}),
|
|
413
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
4
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
5
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -28,6 +29,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
},
|
|
29
30
|
],
|
|
30
31
|
logger: config?.logger ?? new NoOpLogger(),
|
|
32
|
+
protocol: config?.protocol ??
|
|
33
|
+
new AwsJson1_1Protocol({
|
|
34
|
+
defaultNamespace: "com.amazonaws.eventbridge",
|
|
35
|
+
serviceTarget: "AWSEvents",
|
|
36
|
+
awsQueryCompatible: false,
|
|
37
|
+
}),
|
|
31
38
|
serviceId: config?.serviceId ?? "EventBridge",
|
|
32
39
|
signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
|
|
33
40
|
urlParser: config?.urlParser ?? parseUrl,
|