@aws-sdk/client-devops-guru 3.53.0 → 3.55.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 (78) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/DevOpsGuru.js +30 -0
  3. package/dist-cjs/DevOpsGuruClient.js +13 -13
  4. package/dist-cjs/commands/AddNotificationChannelCommand.js +3 -3
  5. package/dist-cjs/commands/DescribeAccountHealthCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeAccountOverviewCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeAnomalyCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +36 -0
  9. package/dist-cjs/commands/DescribeFeedbackCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeInsightCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +3 -3
  16. package/dist-cjs/commands/GetCostEstimationCommand.js +3 -3
  17. package/dist-cjs/commands/GetResourceCollectionCommand.js +3 -3
  18. package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +3 -3
  19. package/dist-cjs/commands/ListEventsCommand.js +3 -3
  20. package/dist-cjs/commands/ListInsightsCommand.js +3 -3
  21. package/dist-cjs/commands/ListNotificationChannelsCommand.js +3 -3
  22. package/dist-cjs/commands/ListOrganizationInsightsCommand.js +3 -3
  23. package/dist-cjs/commands/ListRecommendationsCommand.js +3 -3
  24. package/dist-cjs/commands/PutFeedbackCommand.js +3 -3
  25. package/dist-cjs/commands/RemoveNotificationChannelCommand.js +3 -3
  26. package/dist-cjs/commands/SearchInsightsCommand.js +3 -3
  27. package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +3 -3
  28. package/dist-cjs/commands/StartCostEstimationCommand.js +3 -3
  29. package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +36 -0
  30. package/dist-cjs/commands/UpdateResourceCollectionCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +3 -3
  32. package/dist-cjs/commands/index.js +2 -0
  33. package/dist-cjs/endpoints.js +1 -1
  34. package/dist-cjs/models/models_0.js +51 -4
  35. package/dist-cjs/protocols/Aws_restJson1.js +430 -252
  36. package/dist-cjs/runtimeConfig.browser.js +4 -4
  37. package/dist-cjs/runtimeConfig.js +9 -9
  38. package/dist-cjs/runtimeConfig.native.js +1 -1
  39. package/dist-es/DevOpsGuru.js +56 -26
  40. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +39 -0
  41. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +39 -0
  42. package/dist-es/commands/index.js +2 -0
  43. package/dist-es/models/models_0.js +33 -0
  44. package/dist-es/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +4 -4
  45. package/dist-es/pagination/DescribeResourceCollectionHealthPaginator.js +4 -4
  46. package/dist-es/pagination/GetCostEstimationPaginator.js +4 -4
  47. package/dist-es/pagination/GetResourceCollectionPaginator.js +4 -4
  48. package/dist-es/pagination/ListAnomaliesForInsightPaginator.js +4 -4
  49. package/dist-es/pagination/ListEventsPaginator.js +4 -4
  50. package/dist-es/pagination/ListInsightsPaginator.js +4 -4
  51. package/dist-es/pagination/ListNotificationChannelsPaginator.js +4 -4
  52. package/dist-es/pagination/ListOrganizationInsightsPaginator.js +4 -4
  53. package/dist-es/pagination/ListRecommendationsPaginator.js +4 -4
  54. package/dist-es/pagination/SearchInsightsPaginator.js +4 -4
  55. package/dist-es/pagination/SearchOrganizationInsightsPaginator.js +4 -4
  56. package/dist-es/protocols/Aws_restJson1.js +250 -26
  57. package/dist-types/DevOpsGuru.d.ts +19 -4
  58. package/dist-types/DevOpsGuruClient.d.ts +6 -4
  59. package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +36 -0
  60. package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +4 -4
  61. package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +35 -0
  62. package/dist-types/commands/index.d.ts +2 -0
  63. package/dist-types/models/models_0.d.ts +343 -198
  64. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  65. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  66. package/dist-types/runtimeConfig.d.ts +1 -1
  67. package/dist-types/runtimeConfig.native.d.ts +3 -3
  68. package/dist-types/ts3.4/DevOpsGuru.d.ts +10 -0
  69. package/dist-types/ts3.4/DevOpsGuruClient.d.ts +6 -4
  70. package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +77 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  75. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  78. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-devops-guru
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-devops-guru
17
+
18
+
19
+
20
+
21
+
22
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
34
 
8
35
 
@@ -5,6 +5,7 @@ const AddNotificationChannelCommand_1 = require("./commands/AddNotificationChann
5
5
  const DescribeAccountHealthCommand_1 = require("./commands/DescribeAccountHealthCommand");
6
6
  const DescribeAccountOverviewCommand_1 = require("./commands/DescribeAccountOverviewCommand");
7
7
  const DescribeAnomalyCommand_1 = require("./commands/DescribeAnomalyCommand");
8
+ const DescribeEventSourcesConfigCommand_1 = require("./commands/DescribeEventSourcesConfigCommand");
8
9
  const DescribeFeedbackCommand_1 = require("./commands/DescribeFeedbackCommand");
9
10
  const DescribeInsightCommand_1 = require("./commands/DescribeInsightCommand");
10
11
  const DescribeOrganizationHealthCommand_1 = require("./commands/DescribeOrganizationHealthCommand");
@@ -25,6 +26,7 @@ const RemoveNotificationChannelCommand_1 = require("./commands/RemoveNotificatio
25
26
  const SearchInsightsCommand_1 = require("./commands/SearchInsightsCommand");
26
27
  const SearchOrganizationInsightsCommand_1 = require("./commands/SearchOrganizationInsightsCommand");
27
28
  const StartCostEstimationCommand_1 = require("./commands/StartCostEstimationCommand");
29
+ const UpdateEventSourcesConfigCommand_1 = require("./commands/UpdateEventSourcesConfigCommand");
28
30
  const UpdateResourceCollectionCommand_1 = require("./commands/UpdateResourceCollectionCommand");
29
31
  const UpdateServiceIntegrationCommand_1 = require("./commands/UpdateServiceIntegrationCommand");
30
32
  const DevOpsGuruClient_1 = require("./DevOpsGuruClient");
@@ -85,6 +87,20 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
85
87
  return this.send(command, optionsOrCb);
86
88
  }
87
89
  }
90
+ describeEventSourcesConfig(args, optionsOrCb, cb) {
91
+ const command = new DescribeEventSourcesConfigCommand_1.DescribeEventSourcesConfigCommand(args);
92
+ if (typeof optionsOrCb === "function") {
93
+ this.send(command, optionsOrCb);
94
+ }
95
+ else if (typeof cb === "function") {
96
+ if (typeof optionsOrCb !== "object")
97
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
98
+ this.send(command, optionsOrCb || {}, cb);
99
+ }
100
+ else {
101
+ return this.send(command, optionsOrCb);
102
+ }
103
+ }
88
104
  describeFeedback(args, optionsOrCb, cb) {
89
105
  const command = new DescribeFeedbackCommand_1.DescribeFeedbackCommand(args);
90
106
  if (typeof optionsOrCb === "function") {
@@ -365,6 +381,20 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
365
381
  return this.send(command, optionsOrCb);
366
382
  }
367
383
  }
384
+ updateEventSourcesConfig(args, optionsOrCb, cb) {
385
+ const command = new UpdateEventSourcesConfigCommand_1.UpdateEventSourcesConfigCommand(args);
386
+ if (typeof optionsOrCb === "function") {
387
+ this.send(command, optionsOrCb);
388
+ }
389
+ else if (typeof cb === "function") {
390
+ if (typeof optionsOrCb !== "object")
391
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
392
+ this.send(command, optionsOrCb || {}, cb);
393
+ }
394
+ else {
395
+ return this.send(command, optionsOrCb);
396
+ }
397
+ }
368
398
  updateResourceCollection(args, optionsOrCb, cb) {
369
399
  const command = new UpdateResourceCollectionCommand_1.UpdateResourceCollectionCommand(args);
370
400
  if (typeof optionsOrCb === "function") {
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class DevOpsGuruClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class AddNotificationChannelCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class AddNotificationChannelCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1AddNotificationChannelCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1AddNotificationChannelCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1AddNotificationChannelCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1AddNotificationChannelCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.AddNotificationChannelCommand = AddNotificationChannelCommand;
@@ -11,7 +11,7 @@ class DescribeAccountHealthCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeAccountHealthCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeAccountHealthCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeAccountHealthCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeAccountHealthCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeAccountHealthCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeAccountHealthCommand = DescribeAccountHealthCommand;
@@ -11,7 +11,7 @@ class DescribeAccountOverviewCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeAccountOverviewCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeAccountOverviewCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeAccountOverviewCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeAccountOverviewCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeAccountOverviewCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeAccountOverviewCommand = DescribeAccountOverviewCommand;
@@ -11,7 +11,7 @@ class DescribeAnomalyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeAnomalyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeAnomalyCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeAnomalyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeAnomalyCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeAnomalyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeAnomalyCommand = DescribeAnomalyCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeEventSourcesConfigCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeEventSourcesConfigCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DevOpsGuruClient";
18
+ const commandName = "DescribeEventSourcesConfigCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventSourcesConfigRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventSourcesConfigResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeEventSourcesConfigCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeEventSourcesConfigCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DescribeEventSourcesConfigCommand = DescribeEventSourcesConfigCommand;
@@ -11,7 +11,7 @@ class DescribeFeedbackCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeFeedbackCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeFeedbackCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeFeedbackCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeFeedbackCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeFeedbackCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeFeedbackCommand = DescribeFeedbackCommand;
@@ -11,7 +11,7 @@ class DescribeInsightCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeInsightCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeInsightCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeInsightCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeInsightCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeInsightCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeInsightCommand = DescribeInsightCommand;
@@ -11,7 +11,7 @@ class DescribeOrganizationHealthCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeOrganizationHealthCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationHealthCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationHealthCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationHealthCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationHealthCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeOrganizationHealthCommand = DescribeOrganizationHealthCommand;
@@ -11,7 +11,7 @@ class DescribeOrganizationOverviewCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeOrganizationOverviewCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationOverviewCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationOverviewCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationOverviewCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationOverviewCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeOrganizationOverviewCommand = DescribeOrganizationOverviewCommand;
@@ -11,7 +11,7 @@ class DescribeOrganizationResourceCollectionHealthCommand extends smithy_client_
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeOrganizationResourceCollectionHealthCommand extends smithy_client_
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeOrganizationResourceCollectionHealthCommand = DescribeOrganizationResourceCollectionHealthCommand;
@@ -11,7 +11,7 @@ class DescribeResourceCollectionHealthCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeResourceCollectionHealthCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeResourceCollectionHealthCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeResourceCollectionHealthCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeResourceCollectionHealthCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeResourceCollectionHealthCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeResourceCollectionHealthCommand = DescribeResourceCollectionHealthCommand;
@@ -11,7 +11,7 @@ class DescribeServiceIntegrationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class DescribeServiceIntegrationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DescribeServiceIntegrationCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeServiceIntegrationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DescribeServiceIntegrationCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeServiceIntegrationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeServiceIntegrationCommand = DescribeServiceIntegrationCommand;
@@ -11,7 +11,7 @@ class GetCostEstimationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class GetCostEstimationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetCostEstimationCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetCostEstimationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetCostEstimationCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetCostEstimationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetCostEstimationCommand = GetCostEstimationCommand;
@@ -11,7 +11,7 @@ class GetResourceCollectionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class GetResourceCollectionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetResourceCollectionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetResourceCollectionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetResourceCollectionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetResourceCollectionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetResourceCollectionCommand = GetResourceCollectionCommand;
@@ -11,7 +11,7 @@ class ListAnomaliesForInsightCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class ListAnomaliesForInsightCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListAnomaliesForInsightCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListAnomaliesForInsightCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListAnomaliesForInsightCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListAnomaliesForInsightCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListAnomaliesForInsightCommand = ListAnomaliesForInsightCommand;
@@ -11,7 +11,7 @@ class ListEventsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class ListEventsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListEventsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListEventsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListEventsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListEventsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListEventsCommand = ListEventsCommand;
@@ -11,7 +11,7 @@ class ListInsightsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class ListInsightsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListInsightsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListInsightsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListInsightsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListInsightsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListInsightsCommand = ListInsightsCommand;
@@ -11,7 +11,7 @@ class ListNotificationChannelsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class ListNotificationChannelsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListNotificationChannelsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListNotificationChannelsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListNotificationChannelsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListNotificationChannelsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListNotificationChannelsCommand = ListNotificationChannelsCommand;
@@ -11,7 +11,7 @@ class ListOrganizationInsightsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class ListOrganizationInsightsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListOrganizationInsightsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListOrganizationInsightsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListOrganizationInsightsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListOrganizationInsightsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListOrganizationInsightsCommand = ListOrganizationInsightsCommand;
@@ -11,7 +11,7 @@ class ListRecommendationsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class ListRecommendationsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListRecommendationsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListRecommendationsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListRecommendationsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListRecommendationsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListRecommendationsCommand = ListRecommendationsCommand;
@@ -11,7 +11,7 @@ class PutFeedbackCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DevOpsGuruClient";
@@ -27,10 +27,10 @@ class PutFeedbackCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1PutFeedbackCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1PutFeedbackCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1PutFeedbackCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1PutFeedbackCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutFeedbackCommand = PutFeedbackCommand;