@aws-sdk/client-cloudwatch-events 3.927.0 → 3.928.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist-cjs/index.js +1612 -2010
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CloudWatchEventsClient.js +2 -0
  4. package/dist-es/commands/ActivateEventSourceCommand.js +3 -9
  5. package/dist-es/commands/CancelReplayCommand.js +3 -9
  6. package/dist-es/commands/CreateApiDestinationCommand.js +3 -9
  7. package/dist-es/commands/CreateArchiveCommand.js +3 -9
  8. package/dist-es/commands/CreateConnectionCommand.js +3 -10
  9. package/dist-es/commands/CreateEventBusCommand.js +3 -9
  10. package/dist-es/commands/CreatePartnerEventSourceCommand.js +3 -9
  11. package/dist-es/commands/DeactivateEventSourceCommand.js +3 -9
  12. package/dist-es/commands/DeauthorizeConnectionCommand.js +3 -9
  13. package/dist-es/commands/DeleteApiDestinationCommand.js +3 -9
  14. package/dist-es/commands/DeleteArchiveCommand.js +3 -9
  15. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  16. package/dist-es/commands/DeleteEventBusCommand.js +3 -9
  17. package/dist-es/commands/DeletePartnerEventSourceCommand.js +3 -9
  18. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  19. package/dist-es/commands/DescribeApiDestinationCommand.js +3 -9
  20. package/dist-es/commands/DescribeArchiveCommand.js +3 -9
  21. package/dist-es/commands/DescribeConnectionCommand.js +3 -10
  22. package/dist-es/commands/DescribeEventBusCommand.js +3 -9
  23. package/dist-es/commands/DescribeEventSourceCommand.js +3 -9
  24. package/dist-es/commands/DescribePartnerEventSourceCommand.js +3 -9
  25. package/dist-es/commands/DescribeReplayCommand.js +3 -9
  26. package/dist-es/commands/DescribeRuleCommand.js +3 -9
  27. package/dist-es/commands/DisableRuleCommand.js +3 -9
  28. package/dist-es/commands/EnableRuleCommand.js +3 -9
  29. package/dist-es/commands/ListApiDestinationsCommand.js +3 -9
  30. package/dist-es/commands/ListArchivesCommand.js +3 -9
  31. package/dist-es/commands/ListConnectionsCommand.js +3 -9
  32. package/dist-es/commands/ListEventBusesCommand.js +3 -9
  33. package/dist-es/commands/ListEventSourcesCommand.js +3 -9
  34. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +3 -9
  35. package/dist-es/commands/ListPartnerEventSourcesCommand.js +3 -9
  36. package/dist-es/commands/ListReplaysCommand.js +3 -9
  37. package/dist-es/commands/ListRuleNamesByTargetCommand.js +3 -9
  38. package/dist-es/commands/ListRulesCommand.js +3 -9
  39. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  40. package/dist-es/commands/ListTargetsByRuleCommand.js +3 -9
  41. package/dist-es/commands/PutEventsCommand.js +3 -9
  42. package/dist-es/commands/PutPartnerEventsCommand.js +3 -9
  43. package/dist-es/commands/PutPermissionCommand.js +3 -9
  44. package/dist-es/commands/PutRuleCommand.js +3 -9
  45. package/dist-es/commands/PutTargetsCommand.js +3 -9
  46. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  47. package/dist-es/commands/RemoveTargetsCommand.js +3 -9
  48. package/dist-es/commands/StartReplayCommand.js +3 -9
  49. package/dist-es/commands/TagResourceCommand.js +3 -9
  50. package/dist-es/commands/TestEventPatternCommand.js +3 -9
  51. package/dist-es/commands/UntagResourceCommand.js +3 -9
  52. package/dist-es/commands/UpdateApiDestinationCommand.js +3 -9
  53. package/dist-es/commands/UpdateArchiveCommand.js +3 -9
  54. package/dist-es/commands/UpdateConnectionCommand.js +3 -10
  55. package/dist-es/models/models_0.js +0 -128
  56. package/dist-es/runtimeConfig.shared.js +7 -0
  57. package/dist-es/schemas/schemas_0.js +1486 -0
  58. package/dist-types/CloudWatchEventsClient.d.ts +10 -1
  59. package/dist-types/models/models_0.d.ts +0 -76
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  61. package/dist-types/runtimeConfig.d.ts +1 -0
  62. package/dist-types/runtimeConfig.native.d.ts +1 -0
  63. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/schemas/schemas_0.d.ts +256 -0
  65. package/dist-types/ts3.4/CloudWatchEventsClient.d.ts +4 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +0 -57
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  71. package/dist-types/ts3.4/schemas/schemas_0.d.ts +262 -0
  72. package/package.json +5 -5
  73. package/dist-es/protocols/Aws_json1_1.js +0 -1478
  74. package/dist-types/protocols/Aws_json1_1.d.ts +0 -461
  75. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -617
@@ -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 smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.cloudwatchevents",
32
+ serviceTarget: "AWSEvents",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "CloudWatch Events",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -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 CloudWatchEventsClient 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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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_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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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_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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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("CloudWatchEventsClient", "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_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("CloudWatchEventsClient", "DescribeEventBusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEventBusCommand)
20
- .de(de_DescribeEventBusCommand)
14
+ .sc(DescribeEventBus)
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_DescribeEventSourceCommand, se_DescribeEventSourceCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeEventSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEventSourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSEvents", "DescribeEventSource", {})
17
13
  .n("CloudWatchEventsClient", "DescribeEventSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEventSourceCommand)
20
- .de(de_DescribeEventSourceCommand)
14
+ .sc(DescribeEventSource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribePartnerEventSourceCommand, se_DescribePartnerEventSourceCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribePartnerEventSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribePartnerEventSourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSEvents", "DescribePartnerEventSource", {})
17
13
  .n("CloudWatchEventsClient", "DescribePartnerEventSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribePartnerEventSourceCommand)
20
- .de(de_DescribePartnerEventSourceCommand)
14
+ .sc(DescribePartnerEventSource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeReplayCommand, se_DescribeReplayCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeReplay } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeReplayCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSEvents", "DescribeReplay", {})
17
13
  .n("CloudWatchEventsClient", "DescribeReplayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeReplayCommand)
20
- .de(de_DescribeReplayCommand)
14
+ .sc(DescribeReplay)
21
15
  .build() {
22
16
  }