@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.
Files changed (81) hide show
  1. package/dist-cjs/index.js +1912 -2314
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/EventBridgeClient.js +2 -0
  4. package/dist-es/commands/ActivateEventSourceCommand.js +3 -9
  5. package/dist-es/commands/CancelReplayCommand.js +3 -9
  6. package/dist-es/commands/CreateApiDestinationCommand.js +3 -9
  7. package/dist-es/commands/CreateArchiveCommand.js +3 -9
  8. package/dist-es/commands/CreateConnectionCommand.js +3 -10
  9. package/dist-es/commands/CreateEndpointCommand.js +3 -9
  10. package/dist-es/commands/CreateEventBusCommand.js +3 -9
  11. package/dist-es/commands/CreatePartnerEventSourceCommand.js +3 -9
  12. package/dist-es/commands/DeactivateEventSourceCommand.js +3 -9
  13. package/dist-es/commands/DeauthorizeConnectionCommand.js +3 -9
  14. package/dist-es/commands/DeleteApiDestinationCommand.js +3 -9
  15. package/dist-es/commands/DeleteArchiveCommand.js +3 -9
  16. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  17. package/dist-es/commands/DeleteEndpointCommand.js +3 -9
  18. package/dist-es/commands/DeleteEventBusCommand.js +3 -9
  19. package/dist-es/commands/DeletePartnerEventSourceCommand.js +3 -9
  20. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  21. package/dist-es/commands/DescribeApiDestinationCommand.js +3 -9
  22. package/dist-es/commands/DescribeArchiveCommand.js +3 -9
  23. package/dist-es/commands/DescribeConnectionCommand.js +3 -10
  24. package/dist-es/commands/DescribeEndpointCommand.js +3 -9
  25. package/dist-es/commands/DescribeEventBusCommand.js +3 -9
  26. package/dist-es/commands/DescribeEventSourceCommand.js +3 -9
  27. package/dist-es/commands/DescribePartnerEventSourceCommand.js +3 -9
  28. package/dist-es/commands/DescribeReplayCommand.js +3 -9
  29. package/dist-es/commands/DescribeRuleCommand.js +3 -9
  30. package/dist-es/commands/DisableRuleCommand.js +3 -9
  31. package/dist-es/commands/EnableRuleCommand.js +3 -9
  32. package/dist-es/commands/ListApiDestinationsCommand.js +3 -9
  33. package/dist-es/commands/ListArchivesCommand.js +3 -9
  34. package/dist-es/commands/ListConnectionsCommand.js +3 -9
  35. package/dist-es/commands/ListEndpointsCommand.js +3 -9
  36. package/dist-es/commands/ListEventBusesCommand.js +3 -9
  37. package/dist-es/commands/ListEventSourcesCommand.js +3 -9
  38. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +3 -9
  39. package/dist-es/commands/ListPartnerEventSourcesCommand.js +3 -9
  40. package/dist-es/commands/ListReplaysCommand.js +3 -9
  41. package/dist-es/commands/ListRuleNamesByTargetCommand.js +3 -9
  42. package/dist-es/commands/ListRulesCommand.js +3 -9
  43. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  44. package/dist-es/commands/ListTargetsByRuleCommand.js +3 -10
  45. package/dist-es/commands/PutEventsCommand.js +3 -9
  46. package/dist-es/commands/PutPartnerEventsCommand.js +3 -9
  47. package/dist-es/commands/PutPermissionCommand.js +3 -9
  48. package/dist-es/commands/PutRuleCommand.js +3 -9
  49. package/dist-es/commands/PutTargetsCommand.js +3 -10
  50. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  51. package/dist-es/commands/RemoveTargetsCommand.js +3 -9
  52. package/dist-es/commands/StartReplayCommand.js +3 -9
  53. package/dist-es/commands/TagResourceCommand.js +3 -9
  54. package/dist-es/commands/TestEventPatternCommand.js +3 -9
  55. package/dist-es/commands/UntagResourceCommand.js +3 -9
  56. package/dist-es/commands/UpdateApiDestinationCommand.js +3 -9
  57. package/dist-es/commands/UpdateArchiveCommand.js +3 -9
  58. package/dist-es/commands/UpdateConnectionCommand.js +3 -10
  59. package/dist-es/commands/UpdateEndpointCommand.js +3 -9
  60. package/dist-es/commands/UpdateEventBusCommand.js +3 -9
  61. package/dist-es/models/models_0.js +0 -152
  62. package/dist-es/runtimeConfig.shared.js +7 -0
  63. package/dist-es/schemas/schemas_0.js +1768 -0
  64. package/dist-types/EventBridgeClient.d.ts +10 -1
  65. package/dist-types/models/models_0.d.ts +0 -96
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  67. package/dist-types/runtimeConfig.d.ts +1 -0
  68. package/dist-types/runtimeConfig.native.d.ts +1 -0
  69. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  70. package/dist-types/schemas/schemas_0.d.ts +294 -0
  71. package/dist-types/ts3.4/EventBridgeClient.d.ts +4 -0
  72. package/dist-types/ts3.4/models/models_0.d.ts +0 -70
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  77. package/dist-types/ts3.4/schemas/schemas_0.d.ts +300 -0
  78. package/package.json +7 -7
  79. package/dist-es/protocols/Aws_json1_1.js +0 -1705
  80. package/dist-types/protocols/Aws_json1_1.d.ts +0 -515
  81. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -689
@@ -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 { de_DescribeEventSourceCommand, se_DescribeEventSourceCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeEventSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEventSourceCommand 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", "DescribeEventSource", {})
17
13
  .n("EventBridgeClient", "DescribeEventSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEventSourceCommand)
20
- .de(de_DescribeEventSourceCommand)
14
+ .sc(DescribeEventSource)
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 { de_DescribePartnerEventSourceCommand, se_DescribePartnerEventSourceCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribePartnerEventSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribePartnerEventSourceCommand 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", "DescribePartnerEventSource", {})
17
13
  .n("EventBridgeClient", "DescribePartnerEventSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribePartnerEventSourceCommand)
20
- .de(de_DescribePartnerEventSourceCommand)
14
+ .sc(DescribePartnerEventSource)
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 { de_DescribeReplayCommand, se_DescribeReplayCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeReplay } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeReplayCommand 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", "DescribeReplay", {})
17
13
  .n("EventBridgeClient", "DescribeReplayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeReplayCommand)
20
- .de(de_DescribeReplayCommand)
14
+ .sc(DescribeReplay)
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 { de_DescribeRuleCommand, se_DescribeRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeRuleCommand 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", "DescribeRule", {})
17
13
  .n("EventBridgeClient", "DescribeRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeRuleCommand)
20
- .de(de_DescribeRuleCommand)
14
+ .sc(DescribeRule)
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 { de_DisableRuleCommand, se_DisableRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { DisableRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableRuleCommand 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", "DisableRule", {})
17
13
  .n("EventBridgeClient", "DisableRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisableRuleCommand)
20
- .de(de_DisableRuleCommand)
14
+ .sc(DisableRule)
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 { de_EnableRuleCommand, se_EnableRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { EnableRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableRuleCommand 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", "EnableRule", {})
17
13
  .n("EventBridgeClient", "EnableRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableRuleCommand)
20
- .de(de_EnableRuleCommand)
14
+ .sc(EnableRule)
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 { de_ListApiDestinationsCommand, se_ListApiDestinationsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListApiDestinations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListApiDestinationsCommand 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", "ListApiDestinations", {})
17
13
  .n("EventBridgeClient", "ListApiDestinationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListApiDestinationsCommand)
20
- .de(de_ListApiDestinationsCommand)
14
+ .sc(ListApiDestinations)
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 { de_ListArchivesCommand, se_ListArchivesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListArchives } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListArchivesCommand 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", "ListArchives", {})
17
13
  .n("EventBridgeClient", "ListArchivesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListArchivesCommand)
20
- .de(de_ListArchivesCommand)
14
+ .sc(ListArchives)
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 { de_ListConnectionsCommand, se_ListConnectionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListConnections } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListConnectionsCommand 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", "ListConnections", {})
17
13
  .n("EventBridgeClient", "ListConnectionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListConnectionsCommand)
20
- .de(de_ListConnectionsCommand)
14
+ .sc(ListConnections)
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 { de_ListEndpointsCommand, se_ListEndpointsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListEndpoints } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEndpointsCommand 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", "ListEndpoints", {})
17
13
  .n("EventBridgeClient", "ListEndpointsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEndpointsCommand)
20
- .de(de_ListEndpointsCommand)
14
+ .sc(ListEndpoints)
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 { de_ListEventBusesCommand, se_ListEventBusesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListEventBuses } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEventBusesCommand 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", "ListEventBuses", {})
17
13
  .n("EventBridgeClient", "ListEventBusesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEventBusesCommand)
20
- .de(de_ListEventBusesCommand)
14
+ .sc(ListEventBuses)
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 { de_ListEventSourcesCommand, se_ListEventSourcesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListEventSources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEventSourcesCommand 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", "ListEventSources", {})
17
13
  .n("EventBridgeClient", "ListEventSourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEventSourcesCommand)
20
- .de(de_ListEventSourcesCommand)
14
+ .sc(ListEventSources)
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 { de_ListPartnerEventSourceAccountsCommand, se_ListPartnerEventSourceAccountsCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListPartnerEventSourceAccounts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPartnerEventSourceAccountsCommand 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", "ListPartnerEventSourceAccounts", {})
17
13
  .n("EventBridgeClient", "ListPartnerEventSourceAccountsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPartnerEventSourceAccountsCommand)
20
- .de(de_ListPartnerEventSourceAccountsCommand)
14
+ .sc(ListPartnerEventSourceAccounts)
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 { de_ListPartnerEventSourcesCommand, se_ListPartnerEventSourcesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPartnerEventSources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPartnerEventSourcesCommand 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", "ListPartnerEventSources", {})
17
13
  .n("EventBridgeClient", "ListPartnerEventSourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPartnerEventSourcesCommand)
20
- .de(de_ListPartnerEventSourcesCommand)
14
+ .sc(ListPartnerEventSources)
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 { de_ListReplaysCommand, se_ListReplaysCommand } from "../protocols/Aws_json1_1";
4
+ import { ListReplays } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListReplaysCommand 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", "ListReplays", {})
17
13
  .n("EventBridgeClient", "ListReplaysCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListReplaysCommand)
20
- .de(de_ListReplaysCommand)
14
+ .sc(ListReplays)
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 { de_ListRuleNamesByTargetCommand, se_ListRuleNamesByTargetCommand } from "../protocols/Aws_json1_1";
4
+ import { ListRuleNamesByTarget } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRuleNamesByTargetCommand 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", "ListRuleNamesByTarget", {})
17
13
  .n("EventBridgeClient", "ListRuleNamesByTargetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRuleNamesByTargetCommand)
20
- .de(de_ListRuleNamesByTargetCommand)
14
+ .sc(ListRuleNamesByTarget)
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 { de_ListRulesCommand, se_ListRulesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListRules } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRulesCommand 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", "ListRules", {})
17
13
  .n("EventBridgeClient", "ListRulesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRulesCommand)
20
- .de(de_ListRulesCommand)
14
+ .sc(ListRules)
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 { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
17
13
  .n("EventBridgeClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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 { ListTargetsByRuleResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListTargetsByRuleCommand, se_ListTargetsByRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTargetsByRule } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListTargetsByRuleCommand 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", "ListTargetsByRule", {})
18
13
  .n("EventBridgeClient", "ListTargetsByRuleCommand")
19
- .f(void 0, ListTargetsByRuleResponseFilterSensitiveLog)
20
- .ser(se_ListTargetsByRuleCommand)
21
- .de(de_ListTargetsByRuleCommand)
14
+ .sc(ListTargetsByRule)
22
15
  .build() {
23
16
  }
@@ -1,8 +1,7 @@
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 { de_PutEventsCommand, se_PutEventsCommand } from "../protocols/Aws_json1_1";
4
+ import { PutEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutEventsCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class PutEventsCommand extends $Command
11
10
  EndpointId: { type: "contextParams", name: "EndpointId" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AWSEvents", "PutEvents", {})
20
16
  .n("EventBridgeClient", "PutEventsCommand")
21
- .f(void 0, void 0)
22
- .ser(se_PutEventsCommand)
23
- .de(de_PutEventsCommand)
17
+ .sc(PutEvents)
24
18
  .build() {
25
19
  }
@@ -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 { de_PutPartnerEventsCommand, se_PutPartnerEventsCommand } from "../protocols/Aws_json1_1";
4
+ import { PutPartnerEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutPartnerEventsCommand 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", "PutPartnerEvents", {})
17
13
  .n("EventBridgeClient", "PutPartnerEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutPartnerEventsCommand)
20
- .de(de_PutPartnerEventsCommand)
14
+ .sc(PutPartnerEvents)
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 { de_PutPermissionCommand, se_PutPermissionCommand } from "../protocols/Aws_json1_1";
4
+ import { PutPermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutPermissionCommand 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", "PutPermission", {})
17
13
  .n("EventBridgeClient", "PutPermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutPermissionCommand)
20
- .de(de_PutPermissionCommand)
14
+ .sc(PutPermission)
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 { de_PutRuleCommand, se_PutRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { PutRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutRuleCommand 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", "PutRule", {})
17
13
  .n("EventBridgeClient", "PutRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutRuleCommand)
20
- .de(de_PutRuleCommand)
14
+ .sc(PutRule)
21
15
  .build() {
22
16
  }