@aws-sdk/client-eventbridge 3.185.0 → 3.188.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 (68) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/EventBridge.js +226 -233
  3. package/dist-es/EventBridgeClient.js +22 -28
  4. package/dist-es/commands/ActivateEventSourceCommand.js +22 -29
  5. package/dist-es/commands/CancelReplayCommand.js +21 -28
  6. package/dist-es/commands/CreateApiDestinationCommand.js +21 -28
  7. package/dist-es/commands/CreateArchiveCommand.js +21 -28
  8. package/dist-es/commands/CreateConnectionCommand.js +21 -28
  9. package/dist-es/commands/CreateEndpointCommand.js +21 -28
  10. package/dist-es/commands/CreateEventBusCommand.js +21 -28
  11. package/dist-es/commands/CreatePartnerEventSourceCommand.js +21 -28
  12. package/dist-es/commands/DeactivateEventSourceCommand.js +22 -29
  13. package/dist-es/commands/DeauthorizeConnectionCommand.js +21 -28
  14. package/dist-es/commands/DeleteApiDestinationCommand.js +21 -28
  15. package/dist-es/commands/DeleteArchiveCommand.js +21 -28
  16. package/dist-es/commands/DeleteConnectionCommand.js +21 -28
  17. package/dist-es/commands/DeleteEndpointCommand.js +21 -28
  18. package/dist-es/commands/DeleteEventBusCommand.js +22 -29
  19. package/dist-es/commands/DeletePartnerEventSourceCommand.js +22 -29
  20. package/dist-es/commands/DeleteRuleCommand.js +22 -29
  21. package/dist-es/commands/DescribeApiDestinationCommand.js +21 -28
  22. package/dist-es/commands/DescribeArchiveCommand.js +21 -28
  23. package/dist-es/commands/DescribeConnectionCommand.js +21 -28
  24. package/dist-es/commands/DescribeEndpointCommand.js +21 -28
  25. package/dist-es/commands/DescribeEventBusCommand.js +21 -28
  26. package/dist-es/commands/DescribeEventSourceCommand.js +21 -28
  27. package/dist-es/commands/DescribePartnerEventSourceCommand.js +21 -28
  28. package/dist-es/commands/DescribeReplayCommand.js +21 -28
  29. package/dist-es/commands/DescribeRuleCommand.js +21 -28
  30. package/dist-es/commands/DisableRuleCommand.js +22 -29
  31. package/dist-es/commands/EnableRuleCommand.js +22 -29
  32. package/dist-es/commands/ListApiDestinationsCommand.js +21 -28
  33. package/dist-es/commands/ListArchivesCommand.js +21 -28
  34. package/dist-es/commands/ListConnectionsCommand.js +21 -28
  35. package/dist-es/commands/ListEndpointsCommand.js +21 -28
  36. package/dist-es/commands/ListEventBusesCommand.js +21 -28
  37. package/dist-es/commands/ListEventSourcesCommand.js +21 -28
  38. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +21 -28
  39. package/dist-es/commands/ListPartnerEventSourcesCommand.js +21 -28
  40. package/dist-es/commands/ListReplaysCommand.js +21 -28
  41. package/dist-es/commands/ListRuleNamesByTargetCommand.js +21 -28
  42. package/dist-es/commands/ListRulesCommand.js +21 -28
  43. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  44. package/dist-es/commands/ListTargetsByRuleCommand.js +21 -28
  45. package/dist-es/commands/PutEventsCommand.js +21 -28
  46. package/dist-es/commands/PutPartnerEventsCommand.js +21 -28
  47. package/dist-es/commands/PutPermissionCommand.js +22 -29
  48. package/dist-es/commands/PutRuleCommand.js +21 -28
  49. package/dist-es/commands/PutTargetsCommand.js +21 -28
  50. package/dist-es/commands/RemovePermissionCommand.js +22 -29
  51. package/dist-es/commands/RemoveTargetsCommand.js +21 -28
  52. package/dist-es/commands/StartReplayCommand.js +21 -28
  53. package/dist-es/commands/TagResourceCommand.js +21 -28
  54. package/dist-es/commands/TestEventPatternCommand.js +21 -28
  55. package/dist-es/commands/UntagResourceCommand.js +21 -28
  56. package/dist-es/commands/UpdateApiDestinationCommand.js +21 -28
  57. package/dist-es/commands/UpdateArchiveCommand.js +21 -28
  58. package/dist-es/commands/UpdateConnectionCommand.js +21 -28
  59. package/dist-es/commands/UpdateEndpointCommand.js +21 -28
  60. package/dist-es/endpoints.js +8 -8
  61. package/dist-es/models/EventBridgeServiceException.js +5 -10
  62. package/dist-es/models/models_0.js +625 -290
  63. package/dist-es/protocols/Aws_json1_1.js +3868 -4754
  64. package/dist-es/runtimeConfig.browser.js +26 -12
  65. package/dist-es/runtimeConfig.js +30 -12
  66. package/dist-es/runtimeConfig.native.js +8 -5
  67. package/dist-es/runtimeConfig.shared.js +9 -12
  68. package/package.json +35 -35
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeauthorizeConnectionRequestFilterSensitiveLog, DeauthorizeConnectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeauthorizeConnectionCommand, serializeAws_json1_1DeauthorizeConnectionCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeauthorizeConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeauthorizeConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeauthorizeConnectionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeauthorizeConnectionResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeauthorizeConnectionCommand(input, context);
33
- };
34
- DeauthorizeConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeauthorizeConnectionCommand(output, context);
36
- };
37
- return DeauthorizeConnectionCommand;
38
- }($Command));
39
- export { DeauthorizeConnectionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteApiDestinationRequestFilterSensitiveLog, DeleteApiDestinationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteApiDestinationCommand, serializeAws_json1_1DeleteApiDestinationCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteApiDestinationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApiDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteApiDestinationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteApiDestinationResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteApiDestinationCommand(input, context);
33
- };
34
- DeleteApiDestinationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteApiDestinationCommand(output, context);
36
- };
37
- return DeleteApiDestinationCommand;
38
- }($Command));
39
- export { DeleteApiDestinationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteArchiveRequestFilterSensitiveLog, DeleteArchiveResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteArchiveCommand, serializeAws_json1_1DeleteArchiveCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteArchiveCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteArchiveCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteArchiveRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteArchiveResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteArchiveCommand(input, context);
33
- };
34
- DeleteArchiveCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteArchiveCommand(output, context);
36
- };
37
- return DeleteArchiveCommand;
38
- }($Command));
39
- export { DeleteArchiveCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteConnectionRequestFilterSensitiveLog, DeleteConnectionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteConnectionCommand, serializeAws_json1_1DeleteConnectionCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteConnectionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteConnectionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteConnectionResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteConnectionCommand(input, context);
33
- };
34
- DeleteConnectionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteConnectionCommand(output, context);
36
- };
37
- return DeleteConnectionCommand;
38
- }($Command));
39
- export { DeleteConnectionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteEndpointRequestFilterSensitiveLog, DeleteEndpointResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteEndpointCommand, serializeAws_json1_1DeleteEndpointCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteEndpointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteEndpointRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteEndpointResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteEndpointCommand(input, context);
33
- };
34
- DeleteEndpointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteEndpointCommand(output, context);
36
- };
37
- return DeleteEndpointCommand;
38
- }($Command));
39
- export { DeleteEndpointCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteEventBusRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteEventBusCommand, serializeAws_json1_1DeleteEventBusCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteEventBusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteEventBusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteEventBusRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteEventBusCommand(input, context);
33
- };
34
- DeleteEventBusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteEventBusCommand(output, context);
36
- };
37
- return DeleteEventBusCommand;
38
- }($Command));
39
- export { DeleteEventBusCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeletePartnerEventSourceRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeletePartnerEventSourceCommand, serializeAws_json1_1DeletePartnerEventSourceCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeletePartnerEventSourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePartnerEventSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeletePartnerEventSourceRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeletePartnerEventSourceCommand(input, context);
33
- };
34
- DeletePartnerEventSourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeletePartnerEventSourceCommand(output, context);
36
- };
37
- return DeletePartnerEventSourceCommand;
38
- }($Command));
39
- export { DeletePartnerEventSourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteRuleRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteRuleCommand, serializeAws_json1_1DeleteRuleCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteRuleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DeleteRuleRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteRuleCommand(input, context);
33
- };
34
- DeleteRuleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteRuleCommand(output, context);
36
- };
37
- return DeleteRuleCommand;
38
- }($Command));
39
- export { DeleteRuleCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeApiDestinationRequestFilterSensitiveLog, DescribeApiDestinationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeApiDestinationCommand, serializeAws_json1_1DescribeApiDestinationCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeApiDestinationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeApiDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeApiDestinationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeApiDestinationResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeApiDestinationCommand(input, context);
33
- };
34
- DescribeApiDestinationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeApiDestinationCommand(output, context);
36
- };
37
- return DescribeApiDestinationCommand;
38
- }($Command));
39
- export { DescribeApiDestinationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeArchiveRequestFilterSensitiveLog, DescribeArchiveResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeArchiveCommand, serializeAws_json1_1DescribeArchiveCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeArchiveCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeArchiveCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeArchiveRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeArchiveResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeArchiveCommand(input, context);
33
- };
34
- DescribeArchiveCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeArchiveCommand(output, context);
36
- };
37
- return DescribeArchiveCommand;
38
- }($Command));
39
- export { DescribeArchiveCommand };
31
+ }
32
+ }