@aws-sdk/client-devops-guru 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 (58) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/DevOpsGuru.js +133 -126
  4. package/dist-es/DevOpsGuruClient.js +28 -22
  5. package/dist-es/commands/AddNotificationChannelCommand.js +28 -21
  6. package/dist-es/commands/DeleteInsightCommand.js +28 -21
  7. package/dist-es/commands/DescribeAccountHealthCommand.js +28 -21
  8. package/dist-es/commands/DescribeAccountOverviewCommand.js +28 -21
  9. package/dist-es/commands/DescribeAnomalyCommand.js +28 -21
  10. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +28 -21
  11. package/dist-es/commands/DescribeFeedbackCommand.js +28 -21
  12. package/dist-es/commands/DescribeInsightCommand.js +28 -21
  13. package/dist-es/commands/DescribeOrganizationHealthCommand.js +28 -21
  14. package/dist-es/commands/DescribeOrganizationOverviewCommand.js +28 -21
  15. package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +28 -21
  16. package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +28 -21
  17. package/dist-es/commands/DescribeServiceIntegrationCommand.js +28 -21
  18. package/dist-es/commands/GetCostEstimationCommand.js +28 -21
  19. package/dist-es/commands/GetResourceCollectionCommand.js +28 -21
  20. package/dist-es/commands/ListAnomaliesForInsightCommand.js +28 -21
  21. package/dist-es/commands/ListAnomalousLogGroupsCommand.js +28 -21
  22. package/dist-es/commands/ListEventsCommand.js +28 -21
  23. package/dist-es/commands/ListInsightsCommand.js +28 -21
  24. package/dist-es/commands/ListMonitoredResourcesCommand.js +28 -21
  25. package/dist-es/commands/ListNotificationChannelsCommand.js +28 -21
  26. package/dist-es/commands/ListOrganizationInsightsCommand.js +28 -21
  27. package/dist-es/commands/ListRecommendationsCommand.js +28 -21
  28. package/dist-es/commands/PutFeedbackCommand.js +28 -21
  29. package/dist-es/commands/RemoveNotificationChannelCommand.js +28 -21
  30. package/dist-es/commands/SearchInsightsCommand.js +28 -21
  31. package/dist-es/commands/SearchOrganizationInsightsCommand.js +28 -21
  32. package/dist-es/commands/StartCostEstimationCommand.js +28 -21
  33. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +28 -21
  34. package/dist-es/commands/UpdateResourceCollectionCommand.js +28 -21
  35. package/dist-es/commands/UpdateServiceIntegrationCommand.js +28 -21
  36. package/dist-es/endpoints.js +8 -8
  37. package/dist-es/models/DevOpsGuruServiceException.js +10 -5
  38. package/dist-es/models/models_0.js +246 -547
  39. package/dist-es/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +67 -24
  40. package/dist-es/pagination/DescribeResourceCollectionHealthPaginator.js +67 -24
  41. package/dist-es/pagination/GetCostEstimationPaginator.js +67 -24
  42. package/dist-es/pagination/GetResourceCollectionPaginator.js +67 -24
  43. package/dist-es/pagination/ListAnomaliesForInsightPaginator.js +68 -25
  44. package/dist-es/pagination/ListAnomalousLogGroupsPaginator.js +68 -25
  45. package/dist-es/pagination/ListEventsPaginator.js +68 -25
  46. package/dist-es/pagination/ListInsightsPaginator.js +68 -25
  47. package/dist-es/pagination/ListMonitoredResourcesPaginator.js +68 -25
  48. package/dist-es/pagination/ListNotificationChannelsPaginator.js +67 -24
  49. package/dist-es/pagination/ListOrganizationInsightsPaginator.js +68 -25
  50. package/dist-es/pagination/ListRecommendationsPaginator.js +67 -24
  51. package/dist-es/pagination/SearchInsightsPaginator.js +68 -25
  52. package/dist-es/pagination/SearchOrganizationInsightsPaginator.js +68 -25
  53. package/dist-es/protocols/Aws_restJson1.js +3632 -2782
  54. package/dist-es/runtimeConfig.browser.js +12 -26
  55. package/dist-es/runtimeConfig.js +12 -30
  56. package/dist-es/runtimeConfig.native.js +5 -8
  57. package/dist-es/runtimeConfig.shared.js +11 -8
  58. 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 { ListMonitoredResourcesRequestFilterSensitiveLog, ListMonitoredResourcesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListMonitoredResourcesCommand, serializeAws_restJson1ListMonitoredResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListMonitoredResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListMonitoredResourcesCommand = (function (_super) {
7
+ __extends(ListMonitoredResourcesCommand, _super);
8
+ function ListMonitoredResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListMonitoredResourcesCommand.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 = "DevOpsGuruClient";
15
- const commandName = "ListMonitoredResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "ListMonitoredResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMonitoredResourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMonitoredResourcesResponseFilterSensitiveLog,
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
+ ListMonitoredResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListMonitoredResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListMonitoredResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListMonitoredResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListMonitoredResourcesCommand;
38
+ }($Command));
39
+ export { ListMonitoredResourcesCommand };
@@ -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 { ListNotificationChannelsRequestFilterSensitiveLog, ListNotificationChannelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListNotificationChannelsCommand, serializeAws_restJson1ListNotificationChannelsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListNotificationChannelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListNotificationChannelsCommand = (function (_super) {
7
+ __extends(ListNotificationChannelsCommand, _super);
8
+ function ListNotificationChannelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListNotificationChannelsCommand.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 = "DevOpsGuruClient";
15
- const commandName = "ListNotificationChannelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "ListNotificationChannelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListNotificationChannelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListNotificationChannelsResponseFilterSensitiveLog,
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
+ ListNotificationChannelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListNotificationChannelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListNotificationChannelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListNotificationChannelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListNotificationChannelsCommand;
38
+ }($Command));
39
+ export { ListNotificationChannelsCommand };
@@ -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 { ListOrganizationInsightsRequestFilterSensitiveLog, ListOrganizationInsightsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListOrganizationInsightsCommand, serializeAws_restJson1ListOrganizationInsightsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListOrganizationInsightsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListOrganizationInsightsCommand = (function (_super) {
7
+ __extends(ListOrganizationInsightsCommand, _super);
8
+ function ListOrganizationInsightsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListOrganizationInsightsCommand.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 = "DevOpsGuruClient";
15
- const commandName = "ListOrganizationInsightsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "ListOrganizationInsightsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListOrganizationInsightsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListOrganizationInsightsResponseFilterSensitiveLog,
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
+ ListOrganizationInsightsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListOrganizationInsightsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListOrganizationInsightsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListOrganizationInsightsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListOrganizationInsightsCommand;
38
+ }($Command));
39
+ export { ListOrganizationInsightsCommand };
@@ -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 { ListRecommendationsRequestFilterSensitiveLog, ListRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListRecommendationsCommand, serializeAws_restJson1ListRecommendationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListRecommendationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRecommendationsCommand = (function (_super) {
7
+ __extends(ListRecommendationsCommand, _super);
8
+ function ListRecommendationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRecommendationsCommand.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 = "DevOpsGuruClient";
15
- const commandName = "ListRecommendationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "ListRecommendationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRecommendationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRecommendationsResponseFilterSensitiveLog,
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
+ ListRecommendationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListRecommendationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRecommendationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListRecommendationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRecommendationsCommand;
38
+ }($Command));
39
+ export { ListRecommendationsCommand };
@@ -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 { PutFeedbackRequestFilterSensitiveLog, PutFeedbackResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutFeedbackCommand, serializeAws_restJson1PutFeedbackCommand, } from "../protocols/Aws_restJson1";
5
- export class PutFeedbackCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutFeedbackCommand = (function (_super) {
7
+ __extends(PutFeedbackCommand, _super);
8
+ function PutFeedbackCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutFeedbackCommand.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 = "DevOpsGuruClient";
15
- const commandName = "PutFeedbackCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "PutFeedbackCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutFeedbackRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutFeedbackResponseFilterSensitiveLog,
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
+ PutFeedbackCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutFeedbackCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutFeedbackCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutFeedbackCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutFeedbackCommand;
38
+ }($Command));
39
+ export { PutFeedbackCommand };
@@ -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 { RemoveNotificationChannelRequestFilterSensitiveLog, RemoveNotificationChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RemoveNotificationChannelCommand, serializeAws_restJson1RemoveNotificationChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class RemoveNotificationChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemoveNotificationChannelCommand = (function (_super) {
7
+ __extends(RemoveNotificationChannelCommand, _super);
8
+ function RemoveNotificationChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemoveNotificationChannelCommand.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 = "DevOpsGuruClient";
15
- const commandName = "RemoveNotificationChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "RemoveNotificationChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemoveNotificationChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RemoveNotificationChannelResponseFilterSensitiveLog,
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
+ RemoveNotificationChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RemoveNotificationChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemoveNotificationChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RemoveNotificationChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemoveNotificationChannelCommand;
38
+ }($Command));
39
+ export { RemoveNotificationChannelCommand };
@@ -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 { SearchInsightsRequestFilterSensitiveLog, SearchInsightsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1SearchInsightsCommand, serializeAws_restJson1SearchInsightsCommand, } from "../protocols/Aws_restJson1";
5
- export class SearchInsightsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SearchInsightsCommand = (function (_super) {
7
+ __extends(SearchInsightsCommand, _super);
8
+ function SearchInsightsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SearchInsightsCommand.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 = "DevOpsGuruClient";
15
- const commandName = "SearchInsightsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "SearchInsightsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SearchInsightsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SearchInsightsResponseFilterSensitiveLog,
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
+ SearchInsightsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1SearchInsightsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SearchInsightsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1SearchInsightsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SearchInsightsCommand;
38
+ }($Command));
39
+ export { SearchInsightsCommand };
@@ -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 { SearchOrganizationInsightsRequestFilterSensitiveLog, SearchOrganizationInsightsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1SearchOrganizationInsightsCommand, serializeAws_restJson1SearchOrganizationInsightsCommand, } from "../protocols/Aws_restJson1";
5
- export class SearchOrganizationInsightsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SearchOrganizationInsightsCommand = (function (_super) {
7
+ __extends(SearchOrganizationInsightsCommand, _super);
8
+ function SearchOrganizationInsightsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SearchOrganizationInsightsCommand.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 = "DevOpsGuruClient";
15
- const commandName = "SearchOrganizationInsightsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "SearchOrganizationInsightsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SearchOrganizationInsightsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SearchOrganizationInsightsResponseFilterSensitiveLog,
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
+ SearchOrganizationInsightsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1SearchOrganizationInsightsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SearchOrganizationInsightsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1SearchOrganizationInsightsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SearchOrganizationInsightsCommand;
38
+ }($Command));
39
+ export { SearchOrganizationInsightsCommand };
@@ -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 { StartCostEstimationRequestFilterSensitiveLog, StartCostEstimationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartCostEstimationCommand, serializeAws_restJson1StartCostEstimationCommand, } from "../protocols/Aws_restJson1";
5
- export class StartCostEstimationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartCostEstimationCommand = (function (_super) {
7
+ __extends(StartCostEstimationCommand, _super);
8
+ function StartCostEstimationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartCostEstimationCommand.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 = "DevOpsGuruClient";
15
- const commandName = "StartCostEstimationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "StartCostEstimationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartCostEstimationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartCostEstimationResponseFilterSensitiveLog,
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
+ StartCostEstimationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartCostEstimationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartCostEstimationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartCostEstimationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartCostEstimationCommand;
38
+ }($Command));
39
+ export { StartCostEstimationCommand };
@@ -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 { UpdateEventSourcesConfigRequestFilterSensitiveLog, UpdateEventSourcesConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateEventSourcesConfigCommand, serializeAws_restJson1UpdateEventSourcesConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateEventSourcesConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateEventSourcesConfigCommand = (function (_super) {
7
+ __extends(UpdateEventSourcesConfigCommand, _super);
8
+ function UpdateEventSourcesConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateEventSourcesConfigCommand.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 = "DevOpsGuruClient";
15
- const commandName = "UpdateEventSourcesConfigCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DevOpsGuruClient";
18
+ var commandName = "UpdateEventSourcesConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateEventSourcesConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateEventSourcesConfigResponseFilterSensitiveLog,
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
+ UpdateEventSourcesConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateEventSourcesConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateEventSourcesConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateEventSourcesConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateEventSourcesConfigCommand;
38
+ }($Command));
39
+ export { UpdateEventSourcesConfigCommand };