@aws-sdk/client-cloudwatch-events 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 (75) hide show
  1. package/dist-cjs/index.js +1612 -2010
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CloudWatchEventsClient.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/CreateEventBusCommand.js +3 -9
  10. package/dist-es/commands/CreatePartnerEventSourceCommand.js +3 -9
  11. package/dist-es/commands/DeactivateEventSourceCommand.js +3 -9
  12. package/dist-es/commands/DeauthorizeConnectionCommand.js +3 -9
  13. package/dist-es/commands/DeleteApiDestinationCommand.js +3 -9
  14. package/dist-es/commands/DeleteArchiveCommand.js +3 -9
  15. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  16. package/dist-es/commands/DeleteEventBusCommand.js +3 -9
  17. package/dist-es/commands/DeletePartnerEventSourceCommand.js +3 -9
  18. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  19. package/dist-es/commands/DescribeApiDestinationCommand.js +3 -9
  20. package/dist-es/commands/DescribeArchiveCommand.js +3 -9
  21. package/dist-es/commands/DescribeConnectionCommand.js +3 -10
  22. package/dist-es/commands/DescribeEventBusCommand.js +3 -9
  23. package/dist-es/commands/DescribeEventSourceCommand.js +3 -9
  24. package/dist-es/commands/DescribePartnerEventSourceCommand.js +3 -9
  25. package/dist-es/commands/DescribeReplayCommand.js +3 -9
  26. package/dist-es/commands/DescribeRuleCommand.js +3 -9
  27. package/dist-es/commands/DisableRuleCommand.js +3 -9
  28. package/dist-es/commands/EnableRuleCommand.js +3 -9
  29. package/dist-es/commands/ListApiDestinationsCommand.js +3 -9
  30. package/dist-es/commands/ListArchivesCommand.js +3 -9
  31. package/dist-es/commands/ListConnectionsCommand.js +3 -9
  32. package/dist-es/commands/ListEventBusesCommand.js +3 -9
  33. package/dist-es/commands/ListEventSourcesCommand.js +3 -9
  34. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +3 -9
  35. package/dist-es/commands/ListPartnerEventSourcesCommand.js +3 -9
  36. package/dist-es/commands/ListReplaysCommand.js +3 -9
  37. package/dist-es/commands/ListRuleNamesByTargetCommand.js +3 -9
  38. package/dist-es/commands/ListRulesCommand.js +3 -9
  39. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  40. package/dist-es/commands/ListTargetsByRuleCommand.js +3 -9
  41. package/dist-es/commands/PutEventsCommand.js +3 -9
  42. package/dist-es/commands/PutPartnerEventsCommand.js +3 -9
  43. package/dist-es/commands/PutPermissionCommand.js +3 -9
  44. package/dist-es/commands/PutRuleCommand.js +3 -9
  45. package/dist-es/commands/PutTargetsCommand.js +3 -9
  46. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  47. package/dist-es/commands/RemoveTargetsCommand.js +3 -9
  48. package/dist-es/commands/StartReplayCommand.js +3 -9
  49. package/dist-es/commands/TagResourceCommand.js +3 -9
  50. package/dist-es/commands/TestEventPatternCommand.js +3 -9
  51. package/dist-es/commands/UntagResourceCommand.js +3 -9
  52. package/dist-es/commands/UpdateApiDestinationCommand.js +3 -9
  53. package/dist-es/commands/UpdateArchiveCommand.js +3 -9
  54. package/dist-es/commands/UpdateConnectionCommand.js +3 -10
  55. package/dist-es/models/models_0.js +0 -128
  56. package/dist-es/runtimeConfig.shared.js +7 -0
  57. package/dist-es/schemas/schemas_0.js +1486 -0
  58. package/dist-types/CloudWatchEventsClient.d.ts +10 -1
  59. package/dist-types/models/models_0.d.ts +0 -76
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  61. package/dist-types/runtimeConfig.d.ts +1 -0
  62. package/dist-types/runtimeConfig.native.d.ts +1 -0
  63. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/schemas/schemas_0.d.ts +256 -0
  65. package/dist-types/ts3.4/CloudWatchEventsClient.d.ts +4 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +0 -57
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  71. package/dist-types/ts3.4/schemas/schemas_0.d.ts +262 -0
  72. package/package.json +5 -5
  73. package/dist-es/protocols/Aws_json1_1.js +0 -1478
  74. package/dist-types/protocols/Aws_json1_1.d.ts +0 -461
  75. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -617
@@ -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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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_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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_ListTargetsByRuleCommand, se_ListTargetsByRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTargetsByRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTargetsByRuleCommand 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", "ListTargetsByRule", {})
17
13
  .n("CloudWatchEventsClient", "ListTargetsByRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTargetsByRuleCommand)
20
- .de(de_ListTargetsByRuleCommand)
14
+ .sc(ListTargetsByRule)
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_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()
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", "PutEvents", {})
17
13
  .n("CloudWatchEventsClient", "PutEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutEventsCommand)
20
- .de(de_PutEventsCommand)
14
+ .sc(PutEvents)
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_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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "PutRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutRuleCommand)
20
- .de(de_PutRuleCommand)
14
+ .sc(PutRule)
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_PutTargetsCommand, se_PutTargetsCommand } from "../protocols/Aws_json1_1";
4
+ import { PutTargets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutTargetsCommand 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", "PutTargets", {})
17
13
  .n("CloudWatchEventsClient", "PutTargetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutTargetsCommand)
20
- .de(de_PutTargetsCommand)
14
+ .sc(PutTargets)
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_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_json1_1";
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("CloudWatchEventsClient", "RemovePermissionCommand")
18
- .f(void 0, void 0)
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 { de_RemoveTargetsCommand, se_RemoveTargetsCommand } from "../protocols/Aws_json1_1";
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("CloudWatchEventsClient", "RemoveTargetsCommand")
18
- .f(void 0, void 0)
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 { de_StartReplayCommand, se_StartReplayCommand } from "../protocols/Aws_json1_1";
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("CloudWatchEventsClient", "StartReplayCommand")
18
- .f(void 0, void 0)
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 { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
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("CloudWatchEventsClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }