@aws-sdk/client-cloudwatch-events 3.1077.0 → 3.1079.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 (161) hide show
  1. package/dist-cjs/index.js +159 -613
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/ActivateEventSourceCommand.js +2 -14
  4. package/dist-es/commands/CancelReplayCommand.js +2 -14
  5. package/dist-es/commands/CreateApiDestinationCommand.js +2 -14
  6. package/dist-es/commands/CreateArchiveCommand.js +2 -14
  7. package/dist-es/commands/CreateConnectionCommand.js +2 -14
  8. package/dist-es/commands/CreateEventBusCommand.js +2 -14
  9. package/dist-es/commands/CreatePartnerEventSourceCommand.js +2 -14
  10. package/dist-es/commands/DeactivateEventSourceCommand.js +2 -14
  11. package/dist-es/commands/DeauthorizeConnectionCommand.js +2 -14
  12. package/dist-es/commands/DeleteApiDestinationCommand.js +2 -14
  13. package/dist-es/commands/DeleteArchiveCommand.js +2 -14
  14. package/dist-es/commands/DeleteConnectionCommand.js +2 -14
  15. package/dist-es/commands/DeleteEventBusCommand.js +2 -14
  16. package/dist-es/commands/DeletePartnerEventSourceCommand.js +2 -14
  17. package/dist-es/commands/DeleteRuleCommand.js +2 -14
  18. package/dist-es/commands/DescribeApiDestinationCommand.js +2 -14
  19. package/dist-es/commands/DescribeArchiveCommand.js +2 -14
  20. package/dist-es/commands/DescribeConnectionCommand.js +2 -14
  21. package/dist-es/commands/DescribeEventBusCommand.js +2 -14
  22. package/dist-es/commands/DescribeEventSourceCommand.js +2 -14
  23. package/dist-es/commands/DescribePartnerEventSourceCommand.js +2 -14
  24. package/dist-es/commands/DescribeReplayCommand.js +2 -14
  25. package/dist-es/commands/DescribeRuleCommand.js +2 -14
  26. package/dist-es/commands/DisableRuleCommand.js +2 -14
  27. package/dist-es/commands/EnableRuleCommand.js +2 -14
  28. package/dist-es/commands/ListApiDestinationsCommand.js +2 -14
  29. package/dist-es/commands/ListArchivesCommand.js +2 -14
  30. package/dist-es/commands/ListConnectionsCommand.js +2 -14
  31. package/dist-es/commands/ListEventBusesCommand.js +2 -14
  32. package/dist-es/commands/ListEventSourcesCommand.js +2 -14
  33. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +2 -14
  34. package/dist-es/commands/ListPartnerEventSourcesCommand.js +2 -14
  35. package/dist-es/commands/ListReplaysCommand.js +2 -14
  36. package/dist-es/commands/ListRuleNamesByTargetCommand.js +2 -14
  37. package/dist-es/commands/ListRulesCommand.js +2 -14
  38. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  39. package/dist-es/commands/ListTargetsByRuleCommand.js +2 -14
  40. package/dist-es/commands/PutEventsCommand.js +2 -14
  41. package/dist-es/commands/PutPartnerEventsCommand.js +2 -14
  42. package/dist-es/commands/PutPermissionCommand.js +2 -14
  43. package/dist-es/commands/PutRuleCommand.js +2 -14
  44. package/dist-es/commands/PutTargetsCommand.js +2 -14
  45. package/dist-es/commands/RemovePermissionCommand.js +2 -14
  46. package/dist-es/commands/RemoveTargetsCommand.js +2 -14
  47. package/dist-es/commands/StartReplayCommand.js +2 -14
  48. package/dist-es/commands/TagResourceCommand.js +2 -14
  49. package/dist-es/commands/TestEventPatternCommand.js +2 -14
  50. package/dist-es/commands/UntagResourceCommand.js +2 -14
  51. package/dist-es/commands/UpdateApiDestinationCommand.js +2 -14
  52. package/dist-es/commands/UpdateArchiveCommand.js +2 -14
  53. package/dist-es/commands/UpdateConnectionCommand.js +2 -14
  54. package/dist-es/index.js +1 -0
  55. package/dist-types/commandBuilder.d.ts +18 -0
  56. package/dist-types/commands/ActivateEventSourceCommand.d.ts +3 -8
  57. package/dist-types/commands/CancelReplayCommand.d.ts +3 -8
  58. package/dist-types/commands/CreateApiDestinationCommand.d.ts +3 -8
  59. package/dist-types/commands/CreateArchiveCommand.d.ts +3 -8
  60. package/dist-types/commands/CreateConnectionCommand.d.ts +3 -8
  61. package/dist-types/commands/CreateEventBusCommand.d.ts +3 -8
  62. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +3 -8
  63. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +3 -8
  64. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +3 -8
  65. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteArchiveCommand.d.ts +3 -8
  67. package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -8
  68. package/dist-types/commands/DeleteEventBusCommand.d.ts +3 -8
  69. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +3 -8
  70. package/dist-types/commands/DeleteRuleCommand.d.ts +3 -8
  71. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +3 -8
  72. package/dist-types/commands/DescribeArchiveCommand.d.ts +3 -8
  73. package/dist-types/commands/DescribeConnectionCommand.d.ts +3 -8
  74. package/dist-types/commands/DescribeEventBusCommand.d.ts +3 -8
  75. package/dist-types/commands/DescribeEventSourceCommand.d.ts +3 -8
  76. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +3 -8
  77. package/dist-types/commands/DescribeReplayCommand.d.ts +3 -8
  78. package/dist-types/commands/DescribeRuleCommand.d.ts +3 -8
  79. package/dist-types/commands/DisableRuleCommand.d.ts +3 -8
  80. package/dist-types/commands/EnableRuleCommand.d.ts +3 -8
  81. package/dist-types/commands/ListApiDestinationsCommand.d.ts +3 -8
  82. package/dist-types/commands/ListArchivesCommand.d.ts +3 -8
  83. package/dist-types/commands/ListConnectionsCommand.d.ts +3 -8
  84. package/dist-types/commands/ListEventBusesCommand.d.ts +3 -8
  85. package/dist-types/commands/ListEventSourcesCommand.d.ts +3 -8
  86. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +3 -8
  87. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +3 -8
  88. package/dist-types/commands/ListReplaysCommand.d.ts +3 -8
  89. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +3 -8
  90. package/dist-types/commands/ListRulesCommand.d.ts +3 -8
  91. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  92. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +3 -8
  93. package/dist-types/commands/PutEventsCommand.d.ts +3 -8
  94. package/dist-types/commands/PutPartnerEventsCommand.d.ts +3 -8
  95. package/dist-types/commands/PutPermissionCommand.d.ts +3 -8
  96. package/dist-types/commands/PutRuleCommand.d.ts +3 -8
  97. package/dist-types/commands/PutTargetsCommand.d.ts +3 -8
  98. package/dist-types/commands/RemovePermissionCommand.d.ts +3 -8
  99. package/dist-types/commands/RemoveTargetsCommand.d.ts +3 -8
  100. package/dist-types/commands/StartReplayCommand.d.ts +3 -8
  101. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  102. package/dist-types/commands/TestEventPatternCommand.d.ts +3 -8
  103. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  104. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +3 -8
  105. package/dist-types/commands/UpdateArchiveCommand.d.ts +3 -8
  106. package/dist-types/commands/UpdateConnectionCommand.d.ts +3 -8
  107. package/dist-types/index.d.ts +1 -0
  108. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  109. package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/index.d.ts +1 -0
  161. package/package.json +8 -8
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSEvents", "CloudWatchEventsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ActivateEventSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ActivateEventSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ActivateEventSource", {})
13
- .n("CloudWatchEventsClient", "ActivateEventSourceCommand")
14
- .sc(ActivateEventSource$)
15
- .build() {
3
+ export class ActivateEventSourceCommand extends command(_ep0, _mw0, "ActivateEventSource", ActivateEventSource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelReplay$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelReplayCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "CancelReplay", {})
13
- .n("CloudWatchEventsClient", "CancelReplayCommand")
14
- .sc(CancelReplay$)
15
- .build() {
3
+ export class CancelReplayCommand extends command(_ep0, _mw0, "CancelReplay", CancelReplay$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateApiDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApiDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "CreateApiDestination", {})
13
- .n("CloudWatchEventsClient", "CreateApiDestinationCommand")
14
- .sc(CreateApiDestination$)
15
- .build() {
3
+ export class CreateApiDestinationCommand extends command(_ep0, _mw0, "CreateApiDestination", CreateApiDestination$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateArchive$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateArchiveCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "CreateArchive", {})
13
- .n("CloudWatchEventsClient", "CreateArchiveCommand")
14
- .sc(CreateArchive$)
15
- .build() {
3
+ export class CreateArchiveCommand extends command(_ep0, _mw0, "CreateArchive", CreateArchive$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "CreateConnection", {})
13
- .n("CloudWatchEventsClient", "CreateConnectionCommand")
14
- .sc(CreateConnection$)
15
- .build() {
3
+ export class CreateConnectionCommand extends command(_ep0, _mw0, "CreateConnection", CreateConnection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateEventBus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEventBusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "CreateEventBus", {})
13
- .n("CloudWatchEventsClient", "CreateEventBusCommand")
14
- .sc(CreateEventBus$)
15
- .build() {
3
+ export class CreateEventBusCommand extends command(_ep0, _mw0, "CreateEventBus", CreateEventBus$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreatePartnerEventSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePartnerEventSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "CreatePartnerEventSource", {})
13
- .n("CloudWatchEventsClient", "CreatePartnerEventSourceCommand")
14
- .sc(CreatePartnerEventSource$)
15
- .build() {
3
+ export class CreatePartnerEventSourceCommand extends command(_ep0, _mw0, "CreatePartnerEventSource", CreatePartnerEventSource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeactivateEventSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeactivateEventSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DeactivateEventSource", {})
13
- .n("CloudWatchEventsClient", "DeactivateEventSourceCommand")
14
- .sc(DeactivateEventSource$)
15
- .build() {
3
+ export class DeactivateEventSourceCommand extends command(_ep0, _mw0, "DeactivateEventSource", DeactivateEventSource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeauthorizeConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeauthorizeConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DeauthorizeConnection", {})
13
- .n("CloudWatchEventsClient", "DeauthorizeConnectionCommand")
14
- .sc(DeauthorizeConnection$)
15
- .build() {
3
+ export class DeauthorizeConnectionCommand extends command(_ep0, _mw0, "DeauthorizeConnection", DeauthorizeConnection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApiDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApiDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DeleteApiDestination", {})
13
- .n("CloudWatchEventsClient", "DeleteApiDestinationCommand")
14
- .sc(DeleteApiDestination$)
15
- .build() {
3
+ export class DeleteApiDestinationCommand extends command(_ep0, _mw0, "DeleteApiDestination", DeleteApiDestination$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteArchive$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteArchiveCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DeleteArchive", {})
13
- .n("CloudWatchEventsClient", "DeleteArchiveCommand")
14
- .sc(DeleteArchive$)
15
- .build() {
3
+ export class DeleteArchiveCommand extends command(_ep0, _mw0, "DeleteArchive", DeleteArchive$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DeleteConnection", {})
13
- .n("CloudWatchEventsClient", "DeleteConnectionCommand")
14
- .sc(DeleteConnection$)
15
- .build() {
3
+ export class DeleteConnectionCommand extends command(_ep0, _mw0, "DeleteConnection", DeleteConnection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteEventBus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEventBusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DeleteEventBus", {})
13
- .n("CloudWatchEventsClient", "DeleteEventBusCommand")
14
- .sc(DeleteEventBus$)
15
- .build() {
3
+ export class DeleteEventBusCommand extends command(_ep0, _mw0, "DeleteEventBus", DeleteEventBus$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeletePartnerEventSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePartnerEventSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DeletePartnerEventSource", {})
13
- .n("CloudWatchEventsClient", "DeletePartnerEventSourceCommand")
14
- .sc(DeletePartnerEventSource$)
15
- .build() {
3
+ export class DeletePartnerEventSourceCommand extends command(_ep0, _mw0, "DeletePartnerEventSource", DeletePartnerEventSource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DeleteRule", {})
13
- .n("CloudWatchEventsClient", "DeleteRuleCommand")
14
- .sc(DeleteRule$)
15
- .build() {
3
+ export class DeleteRuleCommand extends command(_ep0, _mw0, "DeleteRule", DeleteRule$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeApiDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeApiDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DescribeApiDestination", {})
13
- .n("CloudWatchEventsClient", "DescribeApiDestinationCommand")
14
- .sc(DescribeApiDestination$)
15
- .build() {
3
+ export class DescribeApiDestinationCommand extends command(_ep0, _mw0, "DescribeApiDestination", DescribeApiDestination$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeArchive$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeArchiveCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DescribeArchive", {})
13
- .n("CloudWatchEventsClient", "DescribeArchiveCommand")
14
- .sc(DescribeArchive$)
15
- .build() {
3
+ export class DescribeArchiveCommand extends command(_ep0, _mw0, "DescribeArchive", DescribeArchive$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DescribeConnection", {})
13
- .n("CloudWatchEventsClient", "DescribeConnectionCommand")
14
- .sc(DescribeConnection$)
15
- .build() {
3
+ export class DescribeConnectionCommand extends command(_ep0, _mw0, "DescribeConnection", DescribeConnection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeEventBus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventBusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DescribeEventBus", {})
13
- .n("CloudWatchEventsClient", "DescribeEventBusCommand")
14
- .sc(DescribeEventBus$)
15
- .build() {
3
+ export class DescribeEventBusCommand extends command(_ep0, _mw0, "DescribeEventBus", DescribeEventBus$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeEventSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DescribeEventSource", {})
13
- .n("CloudWatchEventsClient", "DescribeEventSourceCommand")
14
- .sc(DescribeEventSource$)
15
- .build() {
3
+ export class DescribeEventSourceCommand extends command(_ep0, _mw0, "DescribeEventSource", DescribeEventSource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribePartnerEventSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribePartnerEventSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DescribePartnerEventSource", {})
13
- .n("CloudWatchEventsClient", "DescribePartnerEventSourceCommand")
14
- .sc(DescribePartnerEventSource$)
15
- .build() {
3
+ export class DescribePartnerEventSourceCommand extends command(_ep0, _mw0, "DescribePartnerEventSource", DescribePartnerEventSource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeReplay$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeReplayCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DescribeReplay", {})
13
- .n("CloudWatchEventsClient", "DescribeReplayCommand")
14
- .sc(DescribeReplay$)
15
- .build() {
3
+ export class DescribeReplayCommand extends command(_ep0, _mw0, "DescribeReplay", DescribeReplay$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DescribeRule", {})
13
- .n("CloudWatchEventsClient", "DescribeRuleCommand")
14
- .sc(DescribeRule$)
15
- .build() {
3
+ export class DescribeRuleCommand extends command(_ep0, _mw0, "DescribeRule", DescribeRule$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisableRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "DisableRule", {})
13
- .n("CloudWatchEventsClient", "DisableRuleCommand")
14
- .sc(DisableRule$)
15
- .build() {
3
+ export class DisableRuleCommand extends command(_ep0, _mw0, "DisableRule", DisableRule$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnableRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "EnableRule", {})
13
- .n("CloudWatchEventsClient", "EnableRuleCommand")
14
- .sc(EnableRule$)
15
- .build() {
3
+ export class EnableRuleCommand extends command(_ep0, _mw0, "EnableRule", EnableRule$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApiDestinations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApiDestinationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListApiDestinations", {})
13
- .n("CloudWatchEventsClient", "ListApiDestinationsCommand")
14
- .sc(ListApiDestinations$)
15
- .build() {
3
+ export class ListApiDestinationsCommand extends command(_ep0, _mw0, "ListApiDestinations", ListApiDestinations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListArchives$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListArchivesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListArchives", {})
13
- .n("CloudWatchEventsClient", "ListArchivesCommand")
14
- .sc(ListArchives$)
15
- .build() {
3
+ export class ListArchivesCommand extends command(_ep0, _mw0, "ListArchives", ListArchives$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListConnections$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConnectionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListConnections", {})
13
- .n("CloudWatchEventsClient", "ListConnectionsCommand")
14
- .sc(ListConnections$)
15
- .build() {
3
+ export class ListConnectionsCommand extends command(_ep0, _mw0, "ListConnections", ListConnections$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEventBuses$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEventBusesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListEventBuses", {})
13
- .n("CloudWatchEventsClient", "ListEventBusesCommand")
14
- .sc(ListEventBuses$)
15
- .build() {
3
+ export class ListEventBusesCommand extends command(_ep0, _mw0, "ListEventBuses", ListEventBuses$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEventSources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEventSourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListEventSources", {})
13
- .n("CloudWatchEventsClient", "ListEventSourcesCommand")
14
- .sc(ListEventSources$)
15
- .build() {
3
+ export class ListEventSourcesCommand extends command(_ep0, _mw0, "ListEventSources", ListEventSources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPartnerEventSourceAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPartnerEventSourceAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListPartnerEventSourceAccounts", {})
13
- .n("CloudWatchEventsClient", "ListPartnerEventSourceAccountsCommand")
14
- .sc(ListPartnerEventSourceAccounts$)
15
- .build() {
3
+ export class ListPartnerEventSourceAccountsCommand extends command(_ep0, _mw0, "ListPartnerEventSourceAccounts", ListPartnerEventSourceAccounts$) {
16
4
  }