@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,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 { DescribeConnectionRequestFilterSensitiveLog, DescribeConnectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeConnectionCommand, serializeAws_json1_1DescribeConnectionCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeConnectionCommand = (function (_super) {
7
+ __extends(DescribeConnectionCommand, _super);
8
+ function DescribeConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeConnectionCommand.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 = "DescribeConnectionCommand";
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 = "DescribeConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeConnectionResponseFilterSensitiveLog,
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
+ DescribeConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeConnectionCommand;
38
+ }($Command));
39
+ export { DescribeConnectionCommand };
@@ -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 { DescribeEndpointRequestFilterSensitiveLog, DescribeEndpointResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeEndpointCommand, serializeAws_json1_1DescribeEndpointCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEndpointCommand = (function (_super) {
7
+ __extends(DescribeEndpointCommand, _super);
8
+ function DescribeEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEndpointCommand.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 = "DescribeEndpointCommand";
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 = "DescribeEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEndpointResponseFilterSensitiveLog,
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
+ DescribeEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEndpointCommand;
38
+ }($Command));
39
+ export { DescribeEndpointCommand };
@@ -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 { DescribeEventBusRequestFilterSensitiveLog, DescribeEventBusResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeEventBusCommand, serializeAws_json1_1DescribeEventBusCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeEventBusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEventBusCommand = (function (_super) {
7
+ __extends(DescribeEventBusCommand, _super);
8
+ function DescribeEventBusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEventBusCommand.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 = "DescribeEventBusCommand";
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 = "DescribeEventBusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEventBusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEventBusResponseFilterSensitiveLog,
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
+ DescribeEventBusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeEventBusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEventBusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeEventBusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEventBusCommand;
38
+ }($Command));
39
+ export { DescribeEventBusCommand };
@@ -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 { DescribeEventSourceRequestFilterSensitiveLog, DescribeEventSourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeEventSourceCommand, serializeAws_json1_1DescribeEventSourceCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeEventSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEventSourceCommand = (function (_super) {
7
+ __extends(DescribeEventSourceCommand, _super);
8
+ function DescribeEventSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEventSourceCommand.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 = "DescribeEventSourceCommand";
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 = "DescribeEventSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEventSourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEventSourceResponseFilterSensitiveLog,
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
+ DescribeEventSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeEventSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEventSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeEventSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEventSourceCommand;
38
+ }($Command));
39
+ export { DescribeEventSourceCommand };
@@ -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 { DescribePartnerEventSourceRequestFilterSensitiveLog, DescribePartnerEventSourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribePartnerEventSourceCommand, serializeAws_json1_1DescribePartnerEventSourceCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribePartnerEventSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribePartnerEventSourceCommand = (function (_super) {
7
+ __extends(DescribePartnerEventSourceCommand, _super);
8
+ function DescribePartnerEventSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribePartnerEventSourceCommand.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 = "DescribePartnerEventSourceCommand";
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 = "DescribePartnerEventSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribePartnerEventSourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribePartnerEventSourceResponseFilterSensitiveLog,
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
+ DescribePartnerEventSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribePartnerEventSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribePartnerEventSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribePartnerEventSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribePartnerEventSourceCommand;
38
+ }($Command));
39
+ export { DescribePartnerEventSourceCommand };
@@ -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 { DescribeReplayRequestFilterSensitiveLog, DescribeReplayResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeReplayCommand, serializeAws_json1_1DescribeReplayCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeReplayCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeReplayCommand = (function (_super) {
7
+ __extends(DescribeReplayCommand, _super);
8
+ function DescribeReplayCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeReplayCommand.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 = "DescribeReplayCommand";
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 = "DescribeReplayCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeReplayRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeReplayResponseFilterSensitiveLog,
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
+ DescribeReplayCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeReplayCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeReplayCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeReplayCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeReplayCommand;
38
+ }($Command));
39
+ export { DescribeReplayCommand };
@@ -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 { DescribeRuleRequestFilterSensitiveLog, DescribeRuleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeRuleCommand, serializeAws_json1_1DescribeRuleCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeRuleCommand = (function (_super) {
7
+ __extends(DescribeRuleCommand, _super);
8
+ function DescribeRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeRuleCommand.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 = "DescribeRuleCommand";
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 = "DescribeRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeRuleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeRuleResponseFilterSensitiveLog,
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
+ DescribeRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeRuleCommand;
38
+ }($Command));
39
+ export { DescribeRuleCommand };
@@ -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 { DisableRuleRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DisableRuleCommand, serializeAws_json1_1DisableRuleCommand, } from "../protocols/Aws_json1_1";
5
- export class DisableRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisableRuleCommand = (function (_super) {
7
+ __extends(DisableRuleCommand, _super);
8
+ function DisableRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisableRuleCommand.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 = "DisableRuleCommand";
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 = "DisableRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisableRuleRequestFilterSensitiveLog,
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
+ DisableRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DisableRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisableRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DisableRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisableRuleCommand;
38
+ }($Command));
39
+ export { DisableRuleCommand };
@@ -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 { EnableRuleRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1EnableRuleCommand, serializeAws_json1_1EnableRuleCommand, } from "../protocols/Aws_json1_1";
5
- export class EnableRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EnableRuleCommand = (function (_super) {
7
+ __extends(EnableRuleCommand, _super);
8
+ function EnableRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EnableRuleCommand.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 = "EnableRuleCommand";
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 = "EnableRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: EnableRuleRequestFilterSensitiveLog,
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
+ EnableRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1EnableRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EnableRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1EnableRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EnableRuleCommand;
38
+ }($Command));
39
+ export { EnableRuleCommand };
@@ -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 { ListApiDestinationsRequestFilterSensitiveLog, ListApiDestinationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListApiDestinationsCommand, serializeAws_json1_1ListApiDestinationsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListApiDestinationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApiDestinationsCommand = (function (_super) {
7
+ __extends(ListApiDestinationsCommand, _super);
8
+ function ListApiDestinationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApiDestinationsCommand.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 = "ListApiDestinationsCommand";
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 = "ListApiDestinationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApiDestinationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApiDestinationsResponseFilterSensitiveLog,
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
+ ListApiDestinationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListApiDestinationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApiDestinationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListApiDestinationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApiDestinationsCommand;
38
+ }($Command));
39
+ export { ListApiDestinationsCommand };