@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 { DeauthorizeConnectionRequestFilterSensitiveLog, DeauthorizeConnectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeauthorizeConnectionCommand, serializeAws_json1_1DeauthorizeConnectionCommand, } from "../protocols/Aws_json1_1";
5
- export class DeauthorizeConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeauthorizeConnectionCommand = (function (_super) {
7
+ __extends(DeauthorizeConnectionCommand, _super);
8
+ function DeauthorizeConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeauthorizeConnectionCommand.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 = "DeauthorizeConnectionCommand";
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 = "DeauthorizeConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeauthorizeConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeauthorizeConnectionResponseFilterSensitiveLog,
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
+ DeauthorizeConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeauthorizeConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeauthorizeConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeauthorizeConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeauthorizeConnectionCommand;
38
+ }($Command));
39
+ export { DeauthorizeConnectionCommand };
@@ -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 { DeleteApiDestinationRequestFilterSensitiveLog, DeleteApiDestinationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteApiDestinationCommand, serializeAws_json1_1DeleteApiDestinationCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteApiDestinationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteApiDestinationCommand = (function (_super) {
7
+ __extends(DeleteApiDestinationCommand, _super);
8
+ function DeleteApiDestinationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteApiDestinationCommand.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 = "DeleteApiDestinationCommand";
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 = "DeleteApiDestinationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteApiDestinationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteApiDestinationResponseFilterSensitiveLog,
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
+ DeleteApiDestinationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteApiDestinationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteApiDestinationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteApiDestinationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteApiDestinationCommand;
38
+ }($Command));
39
+ export { DeleteApiDestinationCommand };
@@ -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 { DeleteArchiveRequestFilterSensitiveLog, DeleteArchiveResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteArchiveCommand, serializeAws_json1_1DeleteArchiveCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteArchiveCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteArchiveCommand = (function (_super) {
7
+ __extends(DeleteArchiveCommand, _super);
8
+ function DeleteArchiveCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteArchiveCommand.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 = "DeleteArchiveCommand";
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 = "DeleteArchiveCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteArchiveRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteArchiveResponseFilterSensitiveLog,
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
+ DeleteArchiveCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteArchiveCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteArchiveCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteArchiveCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteArchiveCommand;
38
+ }($Command));
39
+ export { DeleteArchiveCommand };
@@ -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 { DeleteConnectionRequestFilterSensitiveLog, DeleteConnectionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteConnectionCommand, serializeAws_json1_1DeleteConnectionCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteConnectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteConnectionCommand = (function (_super) {
7
+ __extends(DeleteConnectionCommand, _super);
8
+ function DeleteConnectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteConnectionCommand.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 = "DeleteConnectionCommand";
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 = "DeleteConnectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteConnectionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteConnectionResponseFilterSensitiveLog,
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
+ DeleteConnectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteConnectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteConnectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteConnectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteConnectionCommand;
38
+ }($Command));
39
+ export { DeleteConnectionCommand };
@@ -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 { DeleteEndpointRequestFilterSensitiveLog, DeleteEndpointResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEndpointCommand, serializeAws_json1_1DeleteEndpointCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEndpointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEndpointCommand = (function (_super) {
7
+ __extends(DeleteEndpointCommand, _super);
8
+ function DeleteEndpointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEndpointCommand.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 = "DeleteEndpointCommand";
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 = "DeleteEndpointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEndpointRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEndpointResponseFilterSensitiveLog,
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
+ DeleteEndpointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEndpointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEndpointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEndpointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEndpointCommand;
38
+ }($Command));
39
+ export { DeleteEndpointCommand };
@@ -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 { DeleteEventBusRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEventBusCommand, serializeAws_json1_1DeleteEventBusCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEventBusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEventBusCommand = (function (_super) {
7
+ __extends(DeleteEventBusCommand, _super);
8
+ function DeleteEventBusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEventBusCommand.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 = "DeleteEventBusCommand";
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 = "DeleteEventBusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEventBusRequestFilterSensitiveLog,
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
+ DeleteEventBusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEventBusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEventBusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEventBusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEventBusCommand;
38
+ }($Command));
39
+ export { DeleteEventBusCommand };
@@ -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 { DeletePartnerEventSourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeletePartnerEventSourceCommand, serializeAws_json1_1DeletePartnerEventSourceCommand, } from "../protocols/Aws_json1_1";
5
- export class DeletePartnerEventSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePartnerEventSourceCommand = (function (_super) {
7
+ __extends(DeletePartnerEventSourceCommand, _super);
8
+ function DeletePartnerEventSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePartnerEventSourceCommand.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 = "DeletePartnerEventSourceCommand";
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 = "DeletePartnerEventSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePartnerEventSourceRequestFilterSensitiveLog,
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
+ DeletePartnerEventSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeletePartnerEventSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePartnerEventSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeletePartnerEventSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePartnerEventSourceCommand;
38
+ }($Command));
39
+ export { DeletePartnerEventSourceCommand };
@@ -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 { DeleteRuleRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteRuleCommand, serializeAws_json1_1DeleteRuleCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteRuleCommand = (function (_super) {
7
+ __extends(DeleteRuleCommand, _super);
8
+ function DeleteRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteRuleCommand.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 = "DeleteRuleCommand";
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 = "DeleteRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteRuleRequestFilterSensitiveLog,
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
+ DeleteRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteRuleCommand;
38
+ }($Command));
39
+ export { DeleteRuleCommand };
@@ -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 { DescribeApiDestinationRequestFilterSensitiveLog, DescribeApiDestinationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeApiDestinationCommand, serializeAws_json1_1DescribeApiDestinationCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeApiDestinationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeApiDestinationCommand = (function (_super) {
7
+ __extends(DescribeApiDestinationCommand, _super);
8
+ function DescribeApiDestinationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeApiDestinationCommand.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 = "DescribeApiDestinationCommand";
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 = "DescribeApiDestinationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeApiDestinationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeApiDestinationResponseFilterSensitiveLog,
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
+ DescribeApiDestinationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeApiDestinationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeApiDestinationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeApiDestinationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeApiDestinationCommand;
38
+ }($Command));
39
+ export { DescribeApiDestinationCommand };
@@ -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 { DescribeArchiveRequestFilterSensitiveLog, DescribeArchiveResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeArchiveCommand, serializeAws_json1_1DescribeArchiveCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeArchiveCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeArchiveCommand = (function (_super) {
7
+ __extends(DescribeArchiveCommand, _super);
8
+ function DescribeArchiveCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeArchiveCommand.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 = "DescribeArchiveCommand";
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 = "DescribeArchiveCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeArchiveRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeArchiveResponseFilterSensitiveLog,
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
+ DescribeArchiveCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeArchiveCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeArchiveCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeArchiveCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeArchiveCommand;
38
+ }($Command));
39
+ export { DescribeArchiveCommand };