@aws-sdk/client-eventbridge 3.926.0 → 3.928.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist-cjs/index.js +1912 -2314
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/EventBridgeClient.js +2 -0
  4. package/dist-es/commands/ActivateEventSourceCommand.js +3 -9
  5. package/dist-es/commands/CancelReplayCommand.js +3 -9
  6. package/dist-es/commands/CreateApiDestinationCommand.js +3 -9
  7. package/dist-es/commands/CreateArchiveCommand.js +3 -9
  8. package/dist-es/commands/CreateConnectionCommand.js +3 -10
  9. package/dist-es/commands/CreateEndpointCommand.js +3 -9
  10. package/dist-es/commands/CreateEventBusCommand.js +3 -9
  11. package/dist-es/commands/CreatePartnerEventSourceCommand.js +3 -9
  12. package/dist-es/commands/DeactivateEventSourceCommand.js +3 -9
  13. package/dist-es/commands/DeauthorizeConnectionCommand.js +3 -9
  14. package/dist-es/commands/DeleteApiDestinationCommand.js +3 -9
  15. package/dist-es/commands/DeleteArchiveCommand.js +3 -9
  16. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  17. package/dist-es/commands/DeleteEndpointCommand.js +3 -9
  18. package/dist-es/commands/DeleteEventBusCommand.js +3 -9
  19. package/dist-es/commands/DeletePartnerEventSourceCommand.js +3 -9
  20. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  21. package/dist-es/commands/DescribeApiDestinationCommand.js +3 -9
  22. package/dist-es/commands/DescribeArchiveCommand.js +3 -9
  23. package/dist-es/commands/DescribeConnectionCommand.js +3 -10
  24. package/dist-es/commands/DescribeEndpointCommand.js +3 -9
  25. package/dist-es/commands/DescribeEventBusCommand.js +3 -9
  26. package/dist-es/commands/DescribeEventSourceCommand.js +3 -9
  27. package/dist-es/commands/DescribePartnerEventSourceCommand.js +3 -9
  28. package/dist-es/commands/DescribeReplayCommand.js +3 -9
  29. package/dist-es/commands/DescribeRuleCommand.js +3 -9
  30. package/dist-es/commands/DisableRuleCommand.js +3 -9
  31. package/dist-es/commands/EnableRuleCommand.js +3 -9
  32. package/dist-es/commands/ListApiDestinationsCommand.js +3 -9
  33. package/dist-es/commands/ListArchivesCommand.js +3 -9
  34. package/dist-es/commands/ListConnectionsCommand.js +3 -9
  35. package/dist-es/commands/ListEndpointsCommand.js +3 -9
  36. package/dist-es/commands/ListEventBusesCommand.js +3 -9
  37. package/dist-es/commands/ListEventSourcesCommand.js +3 -9
  38. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +3 -9
  39. package/dist-es/commands/ListPartnerEventSourcesCommand.js +3 -9
  40. package/dist-es/commands/ListReplaysCommand.js +3 -9
  41. package/dist-es/commands/ListRuleNamesByTargetCommand.js +3 -9
  42. package/dist-es/commands/ListRulesCommand.js +3 -9
  43. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  44. package/dist-es/commands/ListTargetsByRuleCommand.js +3 -10
  45. package/dist-es/commands/PutEventsCommand.js +3 -9
  46. package/dist-es/commands/PutPartnerEventsCommand.js +3 -9
  47. package/dist-es/commands/PutPermissionCommand.js +3 -9
  48. package/dist-es/commands/PutRuleCommand.js +3 -9
  49. package/dist-es/commands/PutTargetsCommand.js +3 -10
  50. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  51. package/dist-es/commands/RemoveTargetsCommand.js +3 -9
  52. package/dist-es/commands/StartReplayCommand.js +3 -9
  53. package/dist-es/commands/TagResourceCommand.js +3 -9
  54. package/dist-es/commands/TestEventPatternCommand.js +3 -9
  55. package/dist-es/commands/UntagResourceCommand.js +3 -9
  56. package/dist-es/commands/UpdateApiDestinationCommand.js +3 -9
  57. package/dist-es/commands/UpdateArchiveCommand.js +3 -9
  58. package/dist-es/commands/UpdateConnectionCommand.js +3 -10
  59. package/dist-es/commands/UpdateEndpointCommand.js +3 -9
  60. package/dist-es/commands/UpdateEventBusCommand.js +3 -9
  61. package/dist-es/models/models_0.js +0 -152
  62. package/dist-es/runtimeConfig.shared.js +7 -0
  63. package/dist-es/schemas/schemas_0.js +1768 -0
  64. package/dist-types/EventBridgeClient.d.ts +10 -1
  65. package/dist-types/models/models_0.d.ts +0 -96
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  67. package/dist-types/runtimeConfig.d.ts +1 -0
  68. package/dist-types/runtimeConfig.native.d.ts +1 -0
  69. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  70. package/dist-types/schemas/schemas_0.d.ts +294 -0
  71. package/dist-types/ts3.4/EventBridgeClient.d.ts +4 -0
  72. package/dist-types/ts3.4/models/models_0.d.ts +0 -70
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  77. package/dist-types/ts3.4/schemas/schemas_0.d.ts +300 -0
  78. package/package.json +7 -7
  79. package/dist-es/protocols/Aws_json1_1.js +0 -1705
  80. package/dist-types/protocols/Aws_json1_1.d.ts +0 -515
  81. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -689
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
6
7
  const smithy_client_1 = require("@smithy/smithy-client");
7
8
  const url_parser_1 = require("@smithy/url-parser");
@@ -31,6 +32,12 @@ const getRuntimeConfig = (config) => {
31
32
  },
32
33
  ],
33
34
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
35
+ protocol: config?.protocol ??
36
+ new protocols_1.AwsJson1_1Protocol({
37
+ defaultNamespace: "com.amazonaws.eventbridge",
38
+ serviceTarget: "AWSEvents",
39
+ awsQueryCompatible: false,
40
+ }),
34
41
  serviceId: config?.serviceId ?? "EventBridge",
35
42
  signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
36
43
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class EventBridgeClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_ActivateEventSourceCommand, se_ActivateEventSourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ActivateEventSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ActivateEventSourceCommand 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", "ActivateEventSource", {})
17
13
  .n("EventBridgeClient", "ActivateEventSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ActivateEventSourceCommand)
20
- .de(de_ActivateEventSourceCommand)
14
+ .sc(ActivateEventSource)
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_CancelReplayCommand, se_CancelReplayCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelReplay } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelReplayCommand 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", "CancelReplay", {})
17
13
  .n("EventBridgeClient", "CancelReplayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelReplayCommand)
20
- .de(de_CancelReplayCommand)
14
+ .sc(CancelReplay)
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_CreateApiDestinationCommand, se_CreateApiDestinationCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateApiDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApiDestinationCommand 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", "CreateApiDestination", {})
17
13
  .n("EventBridgeClient", "CreateApiDestinationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApiDestinationCommand)
20
- .de(de_CreateApiDestinationCommand)
14
+ .sc(CreateApiDestination)
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_CreateArchiveCommand, se_CreateArchiveCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateArchive } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateArchiveCommand 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", "CreateArchive", {})
17
13
  .n("EventBridgeClient", "CreateArchiveCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateArchiveCommand)
20
- .de(de_CreateArchiveCommand)
14
+ .sc(CreateArchive)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateConnectionRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateConnectionCommand, se_CreateConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateConnection } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateConnectionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSEvents", "CreateConnection", {})
18
13
  .n("EventBridgeClient", "CreateConnectionCommand")
19
- .f(CreateConnectionRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateConnectionCommand)
21
- .de(de_CreateConnectionCommand)
14
+ .sc(CreateConnection)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateEndpointCommand, se_CreateEndpointCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateEndpoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateEndpointCommand 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", "CreateEndpoint", {})
17
13
  .n("EventBridgeClient", "CreateEndpointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateEndpointCommand)
20
- .de(de_CreateEndpointCommand)
14
+ .sc(CreateEndpoint)
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_CreateEventBusCommand, se_CreateEventBusCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateEventBus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateEventBusCommand 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", "CreateEventBus", {})
17
13
  .n("EventBridgeClient", "CreateEventBusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateEventBusCommand)
20
- .de(de_CreateEventBusCommand)
14
+ .sc(CreateEventBus)
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_CreatePartnerEventSourceCommand, se_CreatePartnerEventSourceCommand } from "../protocols/Aws_json1_1";
4
+ import { CreatePartnerEventSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePartnerEventSourceCommand 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", "CreatePartnerEventSource", {})
17
13
  .n("EventBridgeClient", "CreatePartnerEventSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePartnerEventSourceCommand)
20
- .de(de_CreatePartnerEventSourceCommand)
14
+ .sc(CreatePartnerEventSource)
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_DeactivateEventSourceCommand, se_DeactivateEventSourceCommand } from "../protocols/Aws_json1_1";
4
+ import { DeactivateEventSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeactivateEventSourceCommand 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", "DeactivateEventSource", {})
17
13
  .n("EventBridgeClient", "DeactivateEventSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeactivateEventSourceCommand)
20
- .de(de_DeactivateEventSourceCommand)
14
+ .sc(DeactivateEventSource)
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_DeauthorizeConnectionCommand, se_DeauthorizeConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeauthorizeConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeauthorizeConnectionCommand 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", "DeauthorizeConnection", {})
17
13
  .n("EventBridgeClient", "DeauthorizeConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeauthorizeConnectionCommand)
20
- .de(de_DeauthorizeConnectionCommand)
14
+ .sc(DeauthorizeConnection)
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_DeleteApiDestinationCommand, se_DeleteApiDestinationCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteApiDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApiDestinationCommand 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", "DeleteApiDestination", {})
17
13
  .n("EventBridgeClient", "DeleteApiDestinationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApiDestinationCommand)
20
- .de(de_DeleteApiDestinationCommand)
14
+ .sc(DeleteApiDestination)
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_DeleteArchiveCommand, se_DeleteArchiveCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteArchive } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteArchiveCommand 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", "DeleteArchive", {})
17
13
  .n("EventBridgeClient", "DeleteArchiveCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteArchiveCommand)
20
- .de(de_DeleteArchiveCommand)
14
+ .sc(DeleteArchive)
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_DeleteConnectionCommand, se_DeleteConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteConnectionCommand 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", "DeleteConnection", {})
17
13
  .n("EventBridgeClient", "DeleteConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteConnectionCommand)
20
- .de(de_DeleteConnectionCommand)
14
+ .sc(DeleteConnection)
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_DeleteEndpointCommand, se_DeleteEndpointCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteEndpoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEndpointCommand 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", "DeleteEndpoint", {})
17
13
  .n("EventBridgeClient", "DeleteEndpointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEndpointCommand)
20
- .de(de_DeleteEndpointCommand)
14
+ .sc(DeleteEndpoint)
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_DeleteEventBusCommand, se_DeleteEventBusCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteEventBus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEventBusCommand 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", "DeleteEventBus", {})
17
13
  .n("EventBridgeClient", "DeleteEventBusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEventBusCommand)
20
- .de(de_DeleteEventBusCommand)
14
+ .sc(DeleteEventBus)
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_DeletePartnerEventSourceCommand, se_DeletePartnerEventSourceCommand } from "../protocols/Aws_json1_1";
4
+ import { DeletePartnerEventSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePartnerEventSourceCommand 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", "DeletePartnerEventSource", {})
17
13
  .n("EventBridgeClient", "DeletePartnerEventSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePartnerEventSourceCommand)
20
- .de(de_DeletePartnerEventSourceCommand)
14
+ .sc(DeletePartnerEventSource)
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_DeleteRuleCommand, se_DeleteRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRuleCommand 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", "DeleteRule", {})
17
13
  .n("EventBridgeClient", "DeleteRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRuleCommand)
20
- .de(de_DeleteRuleCommand)
14
+ .sc(DeleteRule)
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_DescribeApiDestinationCommand, se_DescribeApiDestinationCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeApiDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeApiDestinationCommand 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", "DescribeApiDestination", {})
17
13
  .n("EventBridgeClient", "DescribeApiDestinationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeApiDestinationCommand)
20
- .de(de_DescribeApiDestinationCommand)
14
+ .sc(DescribeApiDestination)
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_DescribeArchiveCommand, se_DescribeArchiveCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeArchive } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeArchiveCommand 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", "DescribeArchive", {})
17
13
  .n("EventBridgeClient", "DescribeArchiveCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeArchiveCommand)
20
- .de(de_DescribeArchiveCommand)
14
+ .sc(DescribeArchive)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeConnectionResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_DescribeConnectionCommand, se_DescribeConnectionCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeConnection } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class DescribeConnectionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSEvents", "DescribeConnection", {})
18
13
  .n("EventBridgeClient", "DescribeConnectionCommand")
19
- .f(void 0, DescribeConnectionResponseFilterSensitiveLog)
20
- .ser(se_DescribeConnectionCommand)
21
- .de(de_DescribeConnectionCommand)
14
+ .sc(DescribeConnection)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeEndpointCommand, se_DescribeEndpointCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeEndpoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEndpointCommand 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", "DescribeEndpoint", {})
17
13
  .n("EventBridgeClient", "DescribeEndpointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEndpointCommand)
20
- .de(de_DescribeEndpointCommand)
14
+ .sc(DescribeEndpoint)
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_DescribeEventBusCommand, se_DescribeEventBusCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeEventBus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEventBusCommand 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", "DescribeEventBus", {})
17
13
  .n("EventBridgeClient", "DescribeEventBusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEventBusCommand)
20
- .de(de_DescribeEventBusCommand)
14
+ .sc(DescribeEventBus)
21
15
  .build() {
22
16
  }