@aws-sdk/client-cloudwatch-events 3.1077.0 → 3.1078.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
@@ -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 { ListPartnerEventSources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPartnerEventSourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListPartnerEventSources", {})
13
- .n("CloudWatchEventsClient", "ListPartnerEventSourcesCommand")
14
- .sc(ListPartnerEventSources$)
15
- .build() {
3
+ export class ListPartnerEventSourcesCommand extends command(_ep0, _mw0, "ListPartnerEventSources", ListPartnerEventSources$) {
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 { ListReplays$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListReplaysCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListReplays", {})
13
- .n("CloudWatchEventsClient", "ListReplaysCommand")
14
- .sc(ListReplays$)
15
- .build() {
3
+ export class ListReplaysCommand extends command(_ep0, _mw0, "ListReplays", ListReplays$) {
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 { ListRuleNamesByTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRuleNamesByTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListRuleNamesByTarget", {})
13
- .n("CloudWatchEventsClient", "ListRuleNamesByTargetCommand")
14
- .sc(ListRuleNamesByTarget$)
15
- .build() {
3
+ export class ListRuleNamesByTargetCommand extends command(_ep0, _mw0, "ListRuleNamesByTarget", ListRuleNamesByTarget$) {
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 { ListRules$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRulesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListRules", {})
13
- .n("CloudWatchEventsClient", "ListRulesCommand")
14
- .sc(ListRules$)
15
- .build() {
3
+ export class ListRulesCommand extends command(_ep0, _mw0, "ListRules", ListRules$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListTagsForResource", {})
13
- .n("CloudWatchEventsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { ListTargetsByRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTargetsByRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "ListTargetsByRule", {})
13
- .n("CloudWatchEventsClient", "ListTargetsByRuleCommand")
14
- .sc(ListTargetsByRule$)
15
- .build() {
3
+ export class ListTargetsByRuleCommand extends command(_ep0, _mw0, "ListTargetsByRule", ListTargetsByRule$) {
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 { PutEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutEvents", {})
13
- .n("CloudWatchEventsClient", "PutEventsCommand")
14
- .sc(PutEvents$)
15
- .build() {
3
+ export class PutEventsCommand extends command(_ep0, _mw0, "PutEvents", PutEvents$) {
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 { PutPartnerEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutPartnerEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutPartnerEvents", {})
13
- .n("CloudWatchEventsClient", "PutPartnerEventsCommand")
14
- .sc(PutPartnerEvents$)
15
- .build() {
3
+ export class PutPartnerEventsCommand extends command(_ep0, _mw0, "PutPartnerEvents", PutPartnerEvents$) {
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 { PutPermission$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutPermissionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutPermission", {})
13
- .n("CloudWatchEventsClient", "PutPermissionCommand")
14
- .sc(PutPermission$)
15
- .build() {
3
+ export class PutPermissionCommand extends command(_ep0, _mw0, "PutPermission", PutPermission$) {
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 { PutRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutRule", {})
13
- .n("CloudWatchEventsClient", "PutRuleCommand")
14
- .sc(PutRule$)
15
- .build() {
3
+ export class PutRuleCommand extends command(_ep0, _mw0, "PutRule", PutRule$) {
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 { PutTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "PutTargets", {})
13
- .n("CloudWatchEventsClient", "PutTargetsCommand")
14
- .sc(PutTargets$)
15
- .build() {
3
+ export class PutTargetsCommand extends command(_ep0, _mw0, "PutTargets", PutTargets$) {
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 { RemovePermission$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemovePermissionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "RemovePermission", {})
13
- .n("CloudWatchEventsClient", "RemovePermissionCommand")
14
- .sc(RemovePermission$)
15
- .build() {
3
+ export class RemovePermissionCommand extends command(_ep0, _mw0, "RemovePermission", RemovePermission$) {
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 { RemoveTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "RemoveTargets", {})
13
- .n("CloudWatchEventsClient", "RemoveTargetsCommand")
14
- .sc(RemoveTargets$)
15
- .build() {
3
+ export class RemoveTargetsCommand extends command(_ep0, _mw0, "RemoveTargets", RemoveTargets$) {
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 { StartReplay$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartReplayCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "StartReplay", {})
13
- .n("CloudWatchEventsClient", "StartReplayCommand")
14
- .sc(StartReplay$)
15
- .build() {
3
+ export class StartReplayCommand extends command(_ep0, _mw0, "StartReplay", StartReplay$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "TagResource", {})
13
- .n("CloudWatchEventsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { TestEventPattern$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TestEventPatternCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "TestEventPattern", {})
13
- .n("CloudWatchEventsClient", "TestEventPatternCommand")
14
- .sc(TestEventPattern$)
15
- .build() {
3
+ export class TestEventPatternCommand extends command(_ep0, _mw0, "TestEventPattern", TestEventPattern$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UntagResource", {})
13
- .n("CloudWatchEventsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateApiDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateApiDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UpdateApiDestination", {})
13
- .n("CloudWatchEventsClient", "UpdateApiDestinationCommand")
14
- .sc(UpdateApiDestination$)
15
- .build() {
3
+ export class UpdateApiDestinationCommand extends command(_ep0, _mw0, "UpdateApiDestination", UpdateApiDestination$) {
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 { UpdateArchive$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateArchiveCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UpdateArchive", {})
13
- .n("CloudWatchEventsClient", "UpdateArchiveCommand")
14
- .sc(UpdateArchive$)
15
- .build() {
3
+ export class UpdateArchiveCommand extends command(_ep0, _mw0, "UpdateArchive", UpdateArchive$) {
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 { UpdateConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSEvents", "UpdateConnection", {})
13
- .n("CloudWatchEventsClient", "UpdateConnectionCommand")
14
- .sc(UpdateConnection$)
15
- .build() {
3
+ export class UpdateConnectionCommand extends command(_ep0, _mw0, "UpdateConnection", UpdateConnection$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CloudWatchEventsClient";
2
2
  export * from "./CloudWatchEvents";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CloudWatchEventsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
4
2
  import type { ActivateEventSourceRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ActivateEventSourceCommandInput extends ActivateEventSourceRequ
22
19
  export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const ActivateEventSourceCommand_base: {
25
- new (input: ActivateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ActivateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ActivateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ActivateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Activates a partner event source that has been deactivated. Once activated, your matching
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
4
2
  import type { CancelReplayRequest, CancelReplayResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CancelReplayCommandInput extends CancelReplayRequest {
22
19
  export interface CancelReplayCommandOutput extends CancelReplayResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CancelReplayCommand_base: {
25
- new (input: CancelReplayCommandInput): import("@smithy/core/client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelReplayCommandInput): import("@smithy/core/client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CancelReplayCommandInput): import("@smithy/core/client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelReplayCommandInput): import("@smithy/core/client").CommandImpl<CancelReplayCommandInput, CancelReplayCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Cancels the specified replay.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
4
2
  import type { CreateApiDestinationRequest, CreateApiDestinationResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateApiDestinationCommandInput extends CreateApiDestinationRe
22
19
  export interface CreateApiDestinationCommandOutput extends CreateApiDestinationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateApiDestinationCommand_base: {
25
- new (input: CreateApiDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateApiDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateApiDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateApiDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an API destination, which is an HTTP invocation endpoint configured as a target
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
4
2
  import type { CreateArchiveRequest, CreateArchiveResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateArchiveCommandInput extends CreateArchiveRequest {
22
19
  export interface CreateArchiveCommandOutput extends CreateArchiveResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateArchiveCommand_base: {
25
- new (input: CreateArchiveCommandInput): import("@smithy/core/client").CommandImpl<CreateArchiveCommandInput, CreateArchiveCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateArchiveCommandInput): import("@smithy/core/client").CommandImpl<CreateArchiveCommandInput, CreateArchiveCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateArchiveCommandInput): import("@smithy/core/client").CommandImpl<CreateArchiveCommandInput, CreateArchiveCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateArchiveCommandInput): import("@smithy/core/client").CommandImpl<CreateArchiveCommandInput, CreateArchiveCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an archive of events with the specified settings. When you create an archive,
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
4
2
  import type { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateConnectionCommandInput extends CreateConnectionRequest {
22
19
  export interface CreateConnectionCommandOutput extends CreateConnectionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateConnectionCommand_base: {
25
- new (input: CreateConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a connection. A connection defines the authorization type and credentials to use
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
4
2
  import type { CreateEventBusRequest, CreateEventBusResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateEventBusCommandInput extends CreateEventBusRequest {
22
19
  export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateEventBusCommand_base: {
25
- new (input: CreateEventBusCommandInput): import("@smithy/core/client").CommandImpl<CreateEventBusCommandInput, CreateEventBusCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateEventBusCommandInput): import("@smithy/core/client").CommandImpl<CreateEventBusCommandInput, CreateEventBusCommandOutput, CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateEventBusCommandInput): import("@smithy/core/client").CommandImpl<CreateEventBusCommandInput, CreateEventBusCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateEventBusCommandInput): import("@smithy/core/client").CommandImpl<CreateEventBusCommandInput, CreateEventBusCommandOutput, import("..").CloudWatchEventsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new event bus within your account. This can be a custom event bus which you can