@aws-sdk/client-eventbridge 3.183.0 → 3.185.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 (69) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/EventBridge.js +233 -226
  4. package/dist-es/EventBridgeClient.js +28 -22
  5. package/dist-es/commands/ActivateEventSourceCommand.js +29 -22
  6. package/dist-es/commands/CancelReplayCommand.js +28 -21
  7. package/dist-es/commands/CreateApiDestinationCommand.js +28 -21
  8. package/dist-es/commands/CreateArchiveCommand.js +28 -21
  9. package/dist-es/commands/CreateConnectionCommand.js +28 -21
  10. package/dist-es/commands/CreateEndpointCommand.js +28 -21
  11. package/dist-es/commands/CreateEventBusCommand.js +28 -21
  12. package/dist-es/commands/CreatePartnerEventSourceCommand.js +28 -21
  13. package/dist-es/commands/DeactivateEventSourceCommand.js +29 -22
  14. package/dist-es/commands/DeauthorizeConnectionCommand.js +28 -21
  15. package/dist-es/commands/DeleteApiDestinationCommand.js +28 -21
  16. package/dist-es/commands/DeleteArchiveCommand.js +28 -21
  17. package/dist-es/commands/DeleteConnectionCommand.js +28 -21
  18. package/dist-es/commands/DeleteEndpointCommand.js +28 -21
  19. package/dist-es/commands/DeleteEventBusCommand.js +29 -22
  20. package/dist-es/commands/DeletePartnerEventSourceCommand.js +29 -22
  21. package/dist-es/commands/DeleteRuleCommand.js +29 -22
  22. package/dist-es/commands/DescribeApiDestinationCommand.js +28 -21
  23. package/dist-es/commands/DescribeArchiveCommand.js +28 -21
  24. package/dist-es/commands/DescribeConnectionCommand.js +28 -21
  25. package/dist-es/commands/DescribeEndpointCommand.js +28 -21
  26. package/dist-es/commands/DescribeEventBusCommand.js +28 -21
  27. package/dist-es/commands/DescribeEventSourceCommand.js +28 -21
  28. package/dist-es/commands/DescribePartnerEventSourceCommand.js +28 -21
  29. package/dist-es/commands/DescribeReplayCommand.js +28 -21
  30. package/dist-es/commands/DescribeRuleCommand.js +28 -21
  31. package/dist-es/commands/DisableRuleCommand.js +29 -22
  32. package/dist-es/commands/EnableRuleCommand.js +29 -22
  33. package/dist-es/commands/ListApiDestinationsCommand.js +28 -21
  34. package/dist-es/commands/ListArchivesCommand.js +28 -21
  35. package/dist-es/commands/ListConnectionsCommand.js +28 -21
  36. package/dist-es/commands/ListEndpointsCommand.js +28 -21
  37. package/dist-es/commands/ListEventBusesCommand.js +28 -21
  38. package/dist-es/commands/ListEventSourcesCommand.js +28 -21
  39. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +28 -21
  40. package/dist-es/commands/ListPartnerEventSourcesCommand.js +28 -21
  41. package/dist-es/commands/ListReplaysCommand.js +28 -21
  42. package/dist-es/commands/ListRuleNamesByTargetCommand.js +28 -21
  43. package/dist-es/commands/ListRulesCommand.js +28 -21
  44. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  45. package/dist-es/commands/ListTargetsByRuleCommand.js +28 -21
  46. package/dist-es/commands/PutEventsCommand.js +28 -21
  47. package/dist-es/commands/PutPartnerEventsCommand.js +28 -21
  48. package/dist-es/commands/PutPermissionCommand.js +29 -22
  49. package/dist-es/commands/PutRuleCommand.js +28 -21
  50. package/dist-es/commands/PutTargetsCommand.js +28 -21
  51. package/dist-es/commands/RemovePermissionCommand.js +29 -22
  52. package/dist-es/commands/RemoveTargetsCommand.js +28 -21
  53. package/dist-es/commands/StartReplayCommand.js +28 -21
  54. package/dist-es/commands/TagResourceCommand.js +28 -21
  55. package/dist-es/commands/TestEventPatternCommand.js +28 -21
  56. package/dist-es/commands/UntagResourceCommand.js +28 -21
  57. package/dist-es/commands/UpdateApiDestinationCommand.js +28 -21
  58. package/dist-es/commands/UpdateArchiveCommand.js +28 -21
  59. package/dist-es/commands/UpdateConnectionCommand.js +28 -21
  60. package/dist-es/commands/UpdateEndpointCommand.js +28 -21
  61. package/dist-es/endpoints.js +8 -8
  62. package/dist-es/models/EventBridgeServiceException.js +10 -5
  63. package/dist-es/models/models_0.js +290 -625
  64. package/dist-es/protocols/Aws_json1_1.js +4754 -3868
  65. package/dist-es/runtimeConfig.browser.js +12 -26
  66. package/dist-es/runtimeConfig.js +12 -30
  67. package/dist-es/runtimeConfig.native.js +5 -8
  68. package/dist-es/runtimeConfig.shared.js +12 -9
  69. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class EventBridgeClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var EventBridgeClient = (function (_super) {
13
+ __extends(EventBridgeClient, _super);
14
+ function EventBridgeClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ EventBridgeClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return EventBridgeClient;
38
+ }(__Client));
39
+ export { EventBridgeClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ActivateEventSourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ActivateEventSourceCommand, serializeAws_json1_1ActivateEventSourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ActivateEventSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ActivateEventSourceCommand = (function (_super) {
7
+ __extends(ActivateEventSourceCommand, _super);
8
+ function ActivateEventSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ActivateEventSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "ActivateEventSourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "ActivateEventSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ActivateEventSourceRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ActivateEventSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ActivateEventSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ActivateEventSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ActivateEventSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ActivateEventSourceCommand;
38
+ }($Command));
39
+ export { ActivateEventSourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelReplayRequestFilterSensitiveLog, CancelReplayResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CancelReplayCommand, serializeAws_json1_1CancelReplayCommand, } from "../protocols/Aws_json1_1";
5
- export class CancelReplayCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelReplayCommand = (function (_super) {
7
+ __extends(CancelReplayCommand, _super);
8
+ function CancelReplayCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelReplayCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "CancelReplayCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "CancelReplayCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelReplayRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelReplayResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CancelReplayCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CancelReplayCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelReplayCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CancelReplayCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelReplayCommand;
38
+ }($Command));
39
+ export { CancelReplayCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateApiDestinationRequestFilterSensitiveLog, CreateApiDestinationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateApiDestinationCommand, serializeAws_json1_1CreateApiDestinationCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateApiDestinationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateApiDestinationCommand = (function (_super) {
7
+ __extends(CreateApiDestinationCommand, _super);
8
+ function CreateApiDestinationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateApiDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "CreateApiDestinationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "CreateApiDestinationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateApiDestinationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateApiDestinationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateApiDestinationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateApiDestinationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateApiDestinationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateApiDestinationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateApiDestinationCommand;
38
+ }($Command));
39
+ export { CreateApiDestinationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateArchiveRequestFilterSensitiveLog, CreateArchiveResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateArchiveCommand, serializeAws_json1_1CreateArchiveCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateArchiveCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateArchiveCommand = (function (_super) {
7
+ __extends(CreateArchiveCommand, _super);
8
+ function CreateArchiveCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateArchiveCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "CreateArchiveCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "CreateArchiveCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateArchiveRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateArchiveResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateArchiveCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateArchiveCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateArchiveCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateArchiveCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateArchiveCommand;
38
+ }($Command));
39
+ export { CreateArchiveCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateConnectionRequestFilterSensitiveLog, CreateConnectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateConnectionCommand, serializeAws_json1_1CreateConnectionCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateConnectionCommand = (function (_super) {
7
+ __extends(CreateConnectionCommand, _super);
8
+ function CreateConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "CreateConnectionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "CreateConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateConnectionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateConnectionCommand;
38
+ }($Command));
39
+ export { CreateConnectionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateEndpointRequestFilterSensitiveLog, CreateEndpointResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateEndpointCommand, serializeAws_json1_1CreateEndpointCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEndpointCommand = (function (_super) {
7
+ __extends(CreateEndpointCommand, _super);
8
+ function CreateEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "CreateEndpointCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "CreateEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEndpointResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEndpointCommand;
38
+ }($Command));
39
+ export { CreateEndpointCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateEventBusRequestFilterSensitiveLog, CreateEventBusResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateEventBusCommand, serializeAws_json1_1CreateEventBusCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateEventBusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEventBusCommand = (function (_super) {
7
+ __extends(CreateEventBusCommand, _super);
8
+ function CreateEventBusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEventBusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "CreateEventBusCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "CreateEventBusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEventBusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEventBusResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateEventBusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateEventBusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEventBusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateEventBusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEventBusCommand;
38
+ }($Command));
39
+ export { CreateEventBusCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreatePartnerEventSourceRequestFilterSensitiveLog, CreatePartnerEventSourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreatePartnerEventSourceCommand, serializeAws_json1_1CreatePartnerEventSourceCommand, } from "../protocols/Aws_json1_1";
5
- export class CreatePartnerEventSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreatePartnerEventSourceCommand = (function (_super) {
7
+ __extends(CreatePartnerEventSourceCommand, _super);
8
+ function CreatePartnerEventSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePartnerEventSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "CreatePartnerEventSourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "CreatePartnerEventSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePartnerEventSourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePartnerEventSourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreatePartnerEventSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreatePartnerEventSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePartnerEventSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreatePartnerEventSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePartnerEventSourceCommand;
38
+ }($Command));
39
+ export { CreatePartnerEventSourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeactivateEventSourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeactivateEventSourceCommand, serializeAws_json1_1DeactivateEventSourceCommand, } from "../protocols/Aws_json1_1";
5
- export class DeactivateEventSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeactivateEventSourceCommand = (function (_super) {
7
+ __extends(DeactivateEventSourceCommand, _super);
8
+ function DeactivateEventSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeactivateEventSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "EventBridgeClient";
15
- const commandName = "DeactivateEventSourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EventBridgeClient";
18
+ var commandName = "DeactivateEventSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeactivateEventSourceRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeactivateEventSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeactivateEventSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeactivateEventSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeactivateEventSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeactivateEventSourceCommand;
38
+ }($Command));
39
+ export { DeactivateEventSourceCommand };