@aws-sdk/client-devops-guru 3.130.0 → 3.137.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 (100) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist-cjs/DevOpsGuru.js +30 -0
  3. package/dist-cjs/commands/AddNotificationChannelCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteInsightCommand.js +2 -2
  5. package/dist-cjs/commands/DescribeAccountHealthCommand.js +2 -2
  6. package/dist-cjs/commands/DescribeAccountOverviewCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeAnomalyCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeFeedbackCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeInsightCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +2 -2
  14. package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +2 -2
  15. package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +2 -2
  16. package/dist-cjs/commands/GetCostEstimationCommand.js +2 -2
  17. package/dist-cjs/commands/GetResourceCollectionCommand.js +2 -2
  18. package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +2 -2
  19. package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +36 -0
  20. package/dist-cjs/commands/ListEventsCommand.js +2 -2
  21. package/dist-cjs/commands/ListInsightsCommand.js +2 -2
  22. package/dist-cjs/commands/ListMonitoredResourcesCommand.js +36 -0
  23. package/dist-cjs/commands/ListNotificationChannelsCommand.js +2 -2
  24. package/dist-cjs/commands/ListOrganizationInsightsCommand.js +2 -2
  25. package/dist-cjs/commands/ListRecommendationsCommand.js +2 -2
  26. package/dist-cjs/commands/PutFeedbackCommand.js +2 -2
  27. package/dist-cjs/commands/RemoveNotificationChannelCommand.js +2 -2
  28. package/dist-cjs/commands/SearchInsightsCommand.js +2 -2
  29. package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +2 -2
  30. package/dist-cjs/commands/StartCostEstimationCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateResourceCollectionCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +2 -2
  34. package/dist-cjs/commands/index.js +2 -0
  35. package/dist-cjs/endpoints.js +29 -1
  36. package/dist-cjs/models/models_0.js +624 -838
  37. package/dist-cjs/pagination/ListAnomalousLogGroupsPaginator.js +36 -0
  38. package/dist-cjs/pagination/ListMonitoredResourcesPaginator.js +36 -0
  39. package/dist-cjs/pagination/index.js +2 -0
  40. package/dist-cjs/protocols/Aws_restJson1.js +282 -2
  41. package/dist-es/DevOpsGuru.js +30 -0
  42. package/dist-es/commands/AddNotificationChannelCommand.js +3 -3
  43. package/dist-es/commands/DeleteInsightCommand.js +3 -3
  44. package/dist-es/commands/DescribeAccountHealthCommand.js +3 -3
  45. package/dist-es/commands/DescribeAccountOverviewCommand.js +3 -3
  46. package/dist-es/commands/DescribeAnomalyCommand.js +3 -3
  47. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +3 -3
  48. package/dist-es/commands/DescribeFeedbackCommand.js +3 -3
  49. package/dist-es/commands/DescribeInsightCommand.js +3 -3
  50. package/dist-es/commands/DescribeOrganizationHealthCommand.js +3 -3
  51. package/dist-es/commands/DescribeOrganizationOverviewCommand.js +3 -3
  52. package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +3 -3
  53. package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +3 -3
  54. package/dist-es/commands/DescribeServiceIntegrationCommand.js +3 -3
  55. package/dist-es/commands/GetCostEstimationCommand.js +3 -3
  56. package/dist-es/commands/GetResourceCollectionCommand.js +3 -3
  57. package/dist-es/commands/ListAnomaliesForInsightCommand.js +3 -3
  58. package/dist-es/commands/ListAnomalousLogGroupsCommand.js +39 -0
  59. package/dist-es/commands/ListEventsCommand.js +3 -3
  60. package/dist-es/commands/ListInsightsCommand.js +3 -3
  61. package/dist-es/commands/ListMonitoredResourcesCommand.js +39 -0
  62. package/dist-es/commands/ListNotificationChannelsCommand.js +3 -3
  63. package/dist-es/commands/ListOrganizationInsightsCommand.js +3 -3
  64. package/dist-es/commands/ListRecommendationsCommand.js +3 -3
  65. package/dist-es/commands/PutFeedbackCommand.js +3 -3
  66. package/dist-es/commands/RemoveNotificationChannelCommand.js +3 -3
  67. package/dist-es/commands/SearchInsightsCommand.js +3 -3
  68. package/dist-es/commands/SearchOrganizationInsightsCommand.js +3 -3
  69. package/dist-es/commands/StartCostEstimationCommand.js +3 -3
  70. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +3 -3
  71. package/dist-es/commands/UpdateResourceCollectionCommand.js +3 -3
  72. package/dist-es/commands/UpdateServiceIntegrationCommand.js +3 -3
  73. package/dist-es/commands/index.js +2 -0
  74. package/dist-es/endpoints.js +29 -1
  75. package/dist-es/models/models_0.js +170 -556
  76. package/dist-es/pagination/ListAnomalousLogGroupsPaginator.js +75 -0
  77. package/dist-es/pagination/ListMonitoredResourcesPaginator.js +75 -0
  78. package/dist-es/pagination/index.js +2 -0
  79. package/dist-es/protocols/Aws_restJson1.js +331 -9
  80. package/dist-types/DevOpsGuru.d.ts +18 -0
  81. package/dist-types/DevOpsGuruClient.d.ts +4 -2
  82. package/dist-types/commands/ListAnomalousLogGroupsCommand.d.ts +37 -0
  83. package/dist-types/commands/ListMonitoredResourcesCommand.d.ts +37 -0
  84. package/dist-types/commands/index.d.ts +2 -0
  85. package/dist-types/models/models_0.d.ts +849 -821
  86. package/dist-types/pagination/ListAnomalousLogGroupsPaginator.d.ts +4 -0
  87. package/dist-types/pagination/ListMonitoredResourcesPaginator.d.ts +4 -0
  88. package/dist-types/pagination/index.d.ts +2 -0
  89. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  90. package/dist-types/ts3.4/DevOpsGuru.d.ts +10 -0
  91. package/dist-types/ts3.4/DevOpsGuruClient.d.ts +4 -2
  92. package/dist-types/ts3.4/commands/ListAnomalousLogGroupsCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/ListMonitoredResourcesCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  95. package/dist-types/ts3.4/models/models_0.d.ts +400 -544
  96. package/dist-types/ts3.4/pagination/ListAnomalousLogGroupsPaginator.d.ts +4 -0
  97. package/dist-types/ts3.4/pagination/ListMonitoredResourcesPaginator.d.ts +4 -0
  98. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  99. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  100. package/package.json +7 -7
@@ -0,0 +1,75 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListAnomalousLogGroupsCommand, } from "../commands/ListAnomalousLogGroupsCommand";
3
+ import { DevOpsGuru } from "../DevOpsGuru";
4
+ import { DevOpsGuruClient } from "../DevOpsGuruClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListAnomalousLogGroupsCommand(input)], __read(args), false))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listAnomalousLogGroups.apply(client, __spreadArray([input], __read(args), false))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListAnomalousLogGroups(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListAnomalousLogGroups_1() {
39
+ var token, hasNext, page, prevToken;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.NextToken = token;
49
+ input["MaxResults"] = config.pageSize;
50
+ if (!(config.client instanceof DevOpsGuru)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof DevOpsGuruClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ prevToken = token;
67
+ token = page.NextToken;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
69
+ return [3, 1];
70
+ case 9: return [4, __await(undefined)];
71
+ case 10: return [2, _a.sent()];
72
+ }
73
+ });
74
+ });
75
+ }
@@ -0,0 +1,75 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListMonitoredResourcesCommand, } from "../commands/ListMonitoredResourcesCommand";
3
+ import { DevOpsGuru } from "../DevOpsGuru";
4
+ import { DevOpsGuruClient } from "../DevOpsGuruClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListMonitoredResourcesCommand(input)], __read(args), false))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listMonitoredResources.apply(client, __spreadArray([input], __read(args), false))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListMonitoredResources(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListMonitoredResources_1() {
39
+ var token, hasNext, page, prevToken;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.NextToken = token;
49
+ input["MaxResults"] = config.pageSize;
50
+ if (!(config.client instanceof DevOpsGuru)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof DevOpsGuruClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ prevToken = token;
67
+ token = page.NextToken;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
69
+ return [3, 1];
70
+ case 9: return [4, __await(undefined)];
71
+ case 10: return [2, _a.sent()];
72
+ }
73
+ });
74
+ });
75
+ }
@@ -4,8 +4,10 @@ export * from "./GetCostEstimationPaginator";
4
4
  export * from "./GetResourceCollectionPaginator";
5
5
  export * from "./Interfaces";
6
6
  export * from "./ListAnomaliesForInsightPaginator";
7
+ export * from "./ListAnomalousLogGroupsPaginator";
7
8
  export * from "./ListEventsPaginator";
8
9
  export * from "./ListInsightsPaginator";
10
+ export * from "./ListMonitoredResourcesPaginator";
9
11
  export * from "./ListNotificationChannelsPaginator";
10
12
  export * from "./ListOrganizationInsightsPaginator";
11
13
  export * from "./ListRecommendationsPaginator";
@@ -452,6 +452,30 @@ export var serializeAws_restJson1ListAnomaliesForInsightCommand = function (inpu
452
452
  }
453
453
  });
454
454
  }); };
455
+ export var serializeAws_restJson1ListAnomalousLogGroupsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
456
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
457
+ return __generator(this, function (_c) {
458
+ switch (_c.label) {
459
+ case 0: return [4, context.endpoint()];
460
+ case 1:
461
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
462
+ headers = {
463
+ "content-type": "application/json",
464
+ };
465
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-log-anomalies";
466
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.InsightId != null && { InsightId: input.InsightId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
467
+ return [2, new __HttpRequest({
468
+ protocol: protocol,
469
+ hostname: hostname,
470
+ port: port,
471
+ method: "POST",
472
+ headers: headers,
473
+ path: resolvedPath,
474
+ body: body,
475
+ })];
476
+ }
477
+ });
478
+ }); };
455
479
  export var serializeAws_restJson1ListEventsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
456
480
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
457
481
  return __generator(this, function (_c) {
@@ -502,6 +526,32 @@ export var serializeAws_restJson1ListInsightsCommand = function (input, context)
502
526
  }
503
527
  });
504
528
  }); };
529
+ export var serializeAws_restJson1ListMonitoredResourcesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
530
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
531
+ return __generator(this, function (_c) {
532
+ switch (_c.label) {
533
+ case 0: return [4, context.endpoint()];
534
+ case 1:
535
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
536
+ headers = {
537
+ "content-type": "application/json",
538
+ };
539
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/monitoredResources";
540
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters != null && {
541
+ Filters: serializeAws_restJson1ListMonitoredResourcesFilters(input.Filters, context),
542
+ })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
543
+ return [2, new __HttpRequest({
544
+ protocol: protocol,
545
+ hostname: hostname,
546
+ port: port,
547
+ method: "POST",
548
+ headers: headers,
549
+ path: resolvedPath,
550
+ body: body,
551
+ })];
552
+ }
553
+ });
554
+ }); };
505
555
  export var serializeAws_restJson1ListNotificationChannelsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
506
556
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
507
557
  return __generator(this, function (_c) {
@@ -1766,21 +1816,25 @@ var deserializeAws_restJson1DescribeServiceIntegrationCommandError = function (o
1766
1816
  case "com.amazonaws.devopsguru#AccessDeniedException": return [3, 2];
1767
1817
  case "InternalServerException": return [3, 4];
1768
1818
  case "com.amazonaws.devopsguru#InternalServerException": return [3, 4];
1769
- case "ThrottlingException": return [3, 6];
1770
- case "com.amazonaws.devopsguru#ThrottlingException": return [3, 6];
1771
- case "ValidationException": return [3, 8];
1772
- case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
1819
+ case "ResourceNotFoundException": return [3, 6];
1820
+ case "com.amazonaws.devopsguru#ResourceNotFoundException": return [3, 6];
1821
+ case "ThrottlingException": return [3, 8];
1822
+ case "com.amazonaws.devopsguru#ThrottlingException": return [3, 8];
1823
+ case "ValidationException": return [3, 10];
1824
+ case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
1773
1825
  }
1774
- return [3, 10];
1826
+ return [3, 12];
1775
1827
  case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
1776
1828
  case 3: throw _d.sent();
1777
1829
  case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
1778
1830
  case 5: throw _d.sent();
1779
- case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
1831
+ case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
1780
1832
  case 7: throw _d.sent();
1781
- case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
1833
+ case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
1782
1834
  case 9: throw _d.sent();
1783
- case 10:
1835
+ case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
1836
+ case 11: throw _d.sent();
1837
+ case 12:
1784
1838
  parsedBody = parsedOutput.body;
1785
1839
  $metadata = deserializeMetadata(output);
1786
1840
  statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
@@ -2044,6 +2098,87 @@ var deserializeAws_restJson1ListAnomaliesForInsightCommandError = function (outp
2044
2098
  }
2045
2099
  });
2046
2100
  }); };
2101
+ export var deserializeAws_restJson1ListAnomalousLogGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2102
+ var contents, data, _a, _b;
2103
+ return __generator(this, function (_c) {
2104
+ switch (_c.label) {
2105
+ case 0:
2106
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2107
+ return [2, deserializeAws_restJson1ListAnomalousLogGroupsCommandError(output, context)];
2108
+ }
2109
+ contents = {
2110
+ $metadata: deserializeMetadata(output),
2111
+ AnomalousLogGroups: undefined,
2112
+ InsightId: undefined,
2113
+ NextToken: undefined,
2114
+ };
2115
+ _a = __expectNonNull;
2116
+ _b = __expectObject;
2117
+ return [4, parseBody(output.body, context)];
2118
+ case 1:
2119
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2120
+ if (data.AnomalousLogGroups !== undefined && data.AnomalousLogGroups !== null) {
2121
+ contents.AnomalousLogGroups = deserializeAws_restJson1AnomalousLogGroups(data.AnomalousLogGroups, context);
2122
+ }
2123
+ if (data.InsightId !== undefined && data.InsightId !== null) {
2124
+ contents.InsightId = __expectString(data.InsightId);
2125
+ }
2126
+ if (data.NextToken !== undefined && data.NextToken !== null) {
2127
+ contents.NextToken = __expectString(data.NextToken);
2128
+ }
2129
+ return [2, Promise.resolve(contents)];
2130
+ }
2131
+ });
2132
+ }); };
2133
+ var deserializeAws_restJson1ListAnomalousLogGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2134
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
2135
+ var _c;
2136
+ return __generator(this, function (_d) {
2137
+ switch (_d.label) {
2138
+ case 0:
2139
+ _a = [__assign({}, output)];
2140
+ _c = {};
2141
+ return [4, parseBody(output.body, context)];
2142
+ case 1:
2143
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2144
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2145
+ _b = errorCode;
2146
+ switch (_b) {
2147
+ case "AccessDeniedException": return [3, 2];
2148
+ case "com.amazonaws.devopsguru#AccessDeniedException": return [3, 2];
2149
+ case "InternalServerException": return [3, 4];
2150
+ case "com.amazonaws.devopsguru#InternalServerException": return [3, 4];
2151
+ case "ResourceNotFoundException": return [3, 6];
2152
+ case "com.amazonaws.devopsguru#ResourceNotFoundException": return [3, 6];
2153
+ case "ThrottlingException": return [3, 8];
2154
+ case "com.amazonaws.devopsguru#ThrottlingException": return [3, 8];
2155
+ case "ValidationException": return [3, 10];
2156
+ case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
2157
+ }
2158
+ return [3, 12];
2159
+ case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
2160
+ case 3: throw _d.sent();
2161
+ case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
2162
+ case 5: throw _d.sent();
2163
+ case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
2164
+ case 7: throw _d.sent();
2165
+ case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
2166
+ case 9: throw _d.sent();
2167
+ case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
2168
+ case 11: throw _d.sent();
2169
+ case 12:
2170
+ parsedBody = parsedOutput.body;
2171
+ $metadata = deserializeMetadata(output);
2172
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
2173
+ response = new __BaseException({
2174
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
2175
+ $fault: "client",
2176
+ $metadata: $metadata,
2177
+ });
2178
+ throw __decorateServiceException(response, parsedBody);
2179
+ }
2180
+ });
2181
+ }); };
2047
2182
  export var deserializeAws_restJson1ListEventsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2048
2183
  var contents, data, _a, _b;
2049
2184
  return __generator(this, function (_c) {
@@ -2198,6 +2333,79 @@ var deserializeAws_restJson1ListInsightsCommandError = function (output, context
2198
2333
  }
2199
2334
  });
2200
2335
  }); };
2336
+ export var deserializeAws_restJson1ListMonitoredResourcesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2337
+ var contents, data, _a, _b;
2338
+ return __generator(this, function (_c) {
2339
+ switch (_c.label) {
2340
+ case 0:
2341
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2342
+ return [2, deserializeAws_restJson1ListMonitoredResourcesCommandError(output, context)];
2343
+ }
2344
+ contents = {
2345
+ $metadata: deserializeMetadata(output),
2346
+ MonitoredResourceIdentifiers: undefined,
2347
+ NextToken: undefined,
2348
+ };
2349
+ _a = __expectNonNull;
2350
+ _b = __expectObject;
2351
+ return [4, parseBody(output.body, context)];
2352
+ case 1:
2353
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2354
+ if (data.MonitoredResourceIdentifiers !== undefined && data.MonitoredResourceIdentifiers !== null) {
2355
+ contents.MonitoredResourceIdentifiers = deserializeAws_restJson1MonitoredResourceIdentifiers(data.MonitoredResourceIdentifiers, context);
2356
+ }
2357
+ if (data.NextToken !== undefined && data.NextToken !== null) {
2358
+ contents.NextToken = __expectString(data.NextToken);
2359
+ }
2360
+ return [2, Promise.resolve(contents)];
2361
+ }
2362
+ });
2363
+ }); };
2364
+ var deserializeAws_restJson1ListMonitoredResourcesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2365
+ var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
2366
+ var _c;
2367
+ return __generator(this, function (_d) {
2368
+ switch (_d.label) {
2369
+ case 0:
2370
+ _a = [__assign({}, output)];
2371
+ _c = {};
2372
+ return [4, parseBody(output.body, context)];
2373
+ case 1:
2374
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2375
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2376
+ _b = errorCode;
2377
+ switch (_b) {
2378
+ case "InternalServerException": return [3, 2];
2379
+ case "com.amazonaws.devopsguru#InternalServerException": return [3, 2];
2380
+ case "ResourceNotFoundException": return [3, 4];
2381
+ case "com.amazonaws.devopsguru#ResourceNotFoundException": return [3, 4];
2382
+ case "ThrottlingException": return [3, 6];
2383
+ case "com.amazonaws.devopsguru#ThrottlingException": return [3, 6];
2384
+ case "ValidationException": return [3, 8];
2385
+ case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
2386
+ }
2387
+ return [3, 10];
2388
+ case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
2389
+ case 3: throw _d.sent();
2390
+ case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
2391
+ case 5: throw _d.sent();
2392
+ case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
2393
+ case 7: throw _d.sent();
2394
+ case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
2395
+ case 9: throw _d.sent();
2396
+ case 10:
2397
+ parsedBody = parsedOutput.body;
2398
+ $metadata = deserializeMetadata(output);
2399
+ statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
2400
+ response = new __BaseException({
2401
+ name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
2402
+ $fault: "client",
2403
+ $metadata: $metadata,
2404
+ });
2405
+ throw __decorateServiceException(response, parsedBody);
2406
+ }
2407
+ });
2408
+ }); };
2201
2409
  export var deserializeAws_restJson1ListNotificationChannelsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2202
2410
  var contents, data, _a, _b;
2203
2411
  return __generator(this, function (_c) {
@@ -3232,6 +3440,14 @@ var serializeAws_restJson1ListInsightsStatusFilter = function (input, context) {
3232
3440
  Ongoing: serializeAws_restJson1ListInsightsOngoingStatusFilter(input.Ongoing, context),
3233
3441
  }));
3234
3442
  };
3443
+ var serializeAws_restJson1ListMonitoredResourcesFilters = function (input, context) {
3444
+ return __assign(__assign({}, (input.ResourcePermission != null && { ResourcePermission: input.ResourcePermission })), (input.ResourceTypeFilters != null && {
3445
+ ResourceTypeFilters: serializeAws_restJson1ResourceTypeFilters(input.ResourceTypeFilters, context),
3446
+ }));
3447
+ };
3448
+ var serializeAws_restJson1LogsAnomalyDetectionIntegrationConfig = function (input, context) {
3449
+ return __assign({}, (input.OptInStatus != null && { OptInStatus: input.OptInStatus }));
3450
+ };
3235
3451
  var serializeAws_restJson1NotificationChannelConfig = function (input, context) {
3236
3452
  return __assign({}, (input.Sns != null && { Sns: serializeAws_restJson1SnsChannelConfig(input.Sns, context) }));
3237
3453
  };
@@ -3253,6 +3469,16 @@ var serializeAws_restJson1ResourceCollection = function (input, context) {
3253
3469
  CloudFormation: serializeAws_restJson1CloudFormationCollection(input.CloudFormation, context),
3254
3470
  })), (input.Tags != null && { Tags: serializeAws_restJson1TagCollections(input.Tags, context) }));
3255
3471
  };
3472
+ var serializeAws_restJson1ResourceTypeFilters = function (input, context) {
3473
+ return input
3474
+ .filter(function (e) { return e != null; })
3475
+ .map(function (entry) {
3476
+ if (entry === null) {
3477
+ return null;
3478
+ }
3479
+ return entry;
3480
+ });
3481
+ };
3256
3482
  var serializeAws_restJson1SearchInsightsAccountIdList = function (input, context) {
3257
3483
  return input
3258
3484
  .filter(function (e) { return e != null; })
@@ -3355,7 +3581,9 @@ var serializeAws_restJson1UpdateResourceCollectionFilter = function (input, cont
3355
3581
  })), (input.Tags != null && { Tags: serializeAws_restJson1UpdateTagCollectionFilters(input.Tags, context) }));
3356
3582
  };
3357
3583
  var serializeAws_restJson1UpdateServiceIntegrationConfig = function (input, context) {
3358
- return __assign({}, (input.OpsCenter != null && {
3584
+ return __assign(__assign({}, (input.LogsAnomalyDetection != null && {
3585
+ LogsAnomalyDetection: serializeAws_restJson1LogsAnomalyDetectionIntegrationConfig(input.LogsAnomalyDetection, context),
3586
+ })), (input.OpsCenter != null && {
3359
3587
  OpsCenter: serializeAws_restJson1OpsCenterIntegrationConfig(input.OpsCenter, context),
3360
3588
  }));
3361
3589
  };
@@ -3420,6 +3648,32 @@ var deserializeAws_restJson1AmazonCodeGuruProfilerIntegration = function (output
3420
3648
  Status: __expectString(output.Status),
3421
3649
  };
3422
3650
  };
3651
+ var deserializeAws_restJson1AnomalousLogGroup = function (output, context) {
3652
+ return {
3653
+ ImpactEndTime: output.ImpactEndTime != null
3654
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ImpactEndTime)))
3655
+ : undefined,
3656
+ ImpactStartTime: output.ImpactStartTime != null
3657
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ImpactStartTime)))
3658
+ : undefined,
3659
+ LogAnomalyShowcases: output.LogAnomalyShowcases != null
3660
+ ? deserializeAws_restJson1LogAnomalyShowcases(output.LogAnomalyShowcases, context)
3661
+ : undefined,
3662
+ LogGroupName: __expectString(output.LogGroupName),
3663
+ NumberOfLogLinesScanned: __expectInt32(output.NumberOfLogLinesScanned),
3664
+ };
3665
+ };
3666
+ var deserializeAws_restJson1AnomalousLogGroups = function (output, context) {
3667
+ var retVal = (output || [])
3668
+ .filter(function (e) { return e != null; })
3669
+ .map(function (entry) {
3670
+ if (entry === null) {
3671
+ return null;
3672
+ }
3673
+ return deserializeAws_restJson1AnomalousLogGroup(entry, context);
3674
+ });
3675
+ return retVal;
3676
+ };
3423
3677
  var deserializeAws_restJson1AnomalyReportedTimeRange = function (output, context) {
3424
3678
  return {
3425
3679
  CloseTime: output.CloseTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CloseTime))) : undefined,
@@ -3680,6 +3934,71 @@ var deserializeAws_restJson1InsightTimeRange = function (output, context) {
3680
3934
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
3681
3935
  };
3682
3936
  };
3937
+ var deserializeAws_restJson1LogAnomalyClass = function (output, context) {
3938
+ return {
3939
+ Explanation: __expectString(output.Explanation),
3940
+ LogAnomalyToken: __expectString(output.LogAnomalyToken),
3941
+ LogAnomalyType: __expectString(output.LogAnomalyType),
3942
+ LogEventId: __expectString(output.LogEventId),
3943
+ LogEventTimestamp: output.LogEventTimestamp != null
3944
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LogEventTimestamp)))
3945
+ : undefined,
3946
+ LogStreamName: __expectString(output.LogStreamName),
3947
+ NumberOfLogLinesOccurrences: __expectInt32(output.NumberOfLogLinesOccurrences),
3948
+ };
3949
+ };
3950
+ var deserializeAws_restJson1LogAnomalyClasses = function (output, context) {
3951
+ var retVal = (output || [])
3952
+ .filter(function (e) { return e != null; })
3953
+ .map(function (entry) {
3954
+ if (entry === null) {
3955
+ return null;
3956
+ }
3957
+ return deserializeAws_restJson1LogAnomalyClass(entry, context);
3958
+ });
3959
+ return retVal;
3960
+ };
3961
+ var deserializeAws_restJson1LogAnomalyShowcase = function (output, context) {
3962
+ return {
3963
+ LogAnomalyClasses: output.LogAnomalyClasses != null
3964
+ ? deserializeAws_restJson1LogAnomalyClasses(output.LogAnomalyClasses, context)
3965
+ : undefined,
3966
+ };
3967
+ };
3968
+ var deserializeAws_restJson1LogAnomalyShowcases = function (output, context) {
3969
+ var retVal = (output || [])
3970
+ .filter(function (e) { return e != null; })
3971
+ .map(function (entry) {
3972
+ if (entry === null) {
3973
+ return null;
3974
+ }
3975
+ return deserializeAws_restJson1LogAnomalyShowcase(entry, context);
3976
+ });
3977
+ return retVal;
3978
+ };
3979
+ var deserializeAws_restJson1LogsAnomalyDetectionIntegration = function (output, context) {
3980
+ return {
3981
+ OptInStatus: __expectString(output.OptInStatus),
3982
+ };
3983
+ };
3984
+ var deserializeAws_restJson1MonitoredResourceIdentifier = function (output, context) {
3985
+ return {
3986
+ MonitoredResourceName: __expectString(output.MonitoredResourceName),
3987
+ ResourcePermission: __expectString(output.ResourcePermission),
3988
+ Type: __expectString(output.Type),
3989
+ };
3990
+ };
3991
+ var deserializeAws_restJson1MonitoredResourceIdentifiers = function (output, context) {
3992
+ var retVal = (output || [])
3993
+ .filter(function (e) { return e != null; })
3994
+ .map(function (entry) {
3995
+ if (entry === null) {
3996
+ return null;
3997
+ }
3998
+ return deserializeAws_restJson1MonitoredResourceIdentifier(entry, context);
3999
+ });
4000
+ return retVal;
4001
+ };
3683
4002
  var deserializeAws_restJson1NotificationChannel = function (output, context) {
3684
4003
  return {
3685
4004
  Config: output.Config != null ? deserializeAws_restJson1NotificationChannelConfig(output.Config, context) : undefined,
@@ -4313,6 +4632,9 @@ var deserializeAws_restJson1ServiceInsightHealth = function (output, context) {
4313
4632
  };
4314
4633
  var deserializeAws_restJson1ServiceIntegrationConfig = function (output, context) {
4315
4634
  return {
4635
+ LogsAnomalyDetection: output.LogsAnomalyDetection != null
4636
+ ? deserializeAws_restJson1LogsAnomalyDetectionIntegration(output.LogsAnomalyDetection, context)
4637
+ : undefined,
4316
4638
  OpsCenter: output.OpsCenter != null ? deserializeAws_restJson1OpsCenterIntegration(output.OpsCenter, context) : undefined,
4317
4639
  };
4318
4640
  };
@@ -15,8 +15,10 @@ import { DescribeServiceIntegrationCommandInput, DescribeServiceIntegrationComma
15
15
  import { GetCostEstimationCommandInput, GetCostEstimationCommandOutput } from "./commands/GetCostEstimationCommand";
16
16
  import { GetResourceCollectionCommandInput, GetResourceCollectionCommandOutput } from "./commands/GetResourceCollectionCommand";
17
17
  import { ListAnomaliesForInsightCommandInput, ListAnomaliesForInsightCommandOutput } from "./commands/ListAnomaliesForInsightCommand";
18
+ import { ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput } from "./commands/ListAnomalousLogGroupsCommand";
18
19
  import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
19
20
  import { ListInsightsCommandInput, ListInsightsCommandOutput } from "./commands/ListInsightsCommand";
21
+ import { ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput } from "./commands/ListMonitoredResourcesCommand";
20
22
  import { ListNotificationChannelsCommandInput, ListNotificationChannelsCommandOutput } from "./commands/ListNotificationChannelsCommand";
21
23
  import { ListOrganizationInsightsCommandInput, ListOrganizationInsightsCommandOutput } from "./commands/ListOrganizationInsightsCommand";
22
24
  import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
@@ -177,6 +179,14 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
177
179
  listAnomaliesForInsight(args: ListAnomaliesForInsightCommandInput, options?: __HttpHandlerOptions): Promise<ListAnomaliesForInsightCommandOutput>;
178
180
  listAnomaliesForInsight(args: ListAnomaliesForInsightCommandInput, cb: (err: any, data?: ListAnomaliesForInsightCommandOutput) => void): void;
179
181
  listAnomaliesForInsight(args: ListAnomaliesForInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnomaliesForInsightCommandOutput) => void): void;
182
+ /**
183
+ * <p>
184
+ * Returns the list of log groups that contain log anomalies.
185
+ * </p>
186
+ */
187
+ listAnomalousLogGroups(args: ListAnomalousLogGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListAnomalousLogGroupsCommandOutput>;
188
+ listAnomalousLogGroups(args: ListAnomalousLogGroupsCommandInput, cb: (err: any, data?: ListAnomalousLogGroupsCommandOutput) => void): void;
189
+ listAnomalousLogGroups(args: ListAnomalousLogGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnomalousLogGroupsCommandOutput) => void): void;
180
190
  /**
181
191
  * <p> Returns a list of the events emitted by the resources that are evaluated by DevOps Guru.
182
192
  * You can use filters to specify which events are returned. </p>
@@ -192,6 +202,14 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
192
202
  listInsights(args: ListInsightsCommandInput, options?: __HttpHandlerOptions): Promise<ListInsightsCommandOutput>;
193
203
  listInsights(args: ListInsightsCommandInput, cb: (err: any, data?: ListInsightsCommandOutput) => void): void;
194
204
  listInsights(args: ListInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInsightsCommandOutput) => void): void;
205
+ /**
206
+ * <p>
207
+ * Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
208
+ * </p>
209
+ */
210
+ listMonitoredResources(args: ListMonitoredResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListMonitoredResourcesCommandOutput>;
211
+ listMonitoredResources(args: ListMonitoredResourcesCommandInput, cb: (err: any, data?: ListMonitoredResourcesCommandOutput) => void): void;
212
+ listMonitoredResources(args: ListMonitoredResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMonitoredResourcesCommandOutput) => void): void;
195
213
  /**
196
214
  * <p> Returns a list of notification channels configured for DevOps Guru. Each notification
197
215
  * channel is used to notify you when DevOps Guru generates an insight that contains information
@@ -22,8 +22,10 @@ import { DescribeServiceIntegrationCommandInput, DescribeServiceIntegrationComma
22
22
  import { GetCostEstimationCommandInput, GetCostEstimationCommandOutput } from "./commands/GetCostEstimationCommand";
23
23
  import { GetResourceCollectionCommandInput, GetResourceCollectionCommandOutput } from "./commands/GetResourceCollectionCommand";
24
24
  import { ListAnomaliesForInsightCommandInput, ListAnomaliesForInsightCommandOutput } from "./commands/ListAnomaliesForInsightCommand";
25
+ import { ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput } from "./commands/ListAnomalousLogGroupsCommand";
25
26
  import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
26
27
  import { ListInsightsCommandInput, ListInsightsCommandOutput } from "./commands/ListInsightsCommand";
28
+ import { ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput } from "./commands/ListMonitoredResourcesCommand";
27
29
  import { ListNotificationChannelsCommandInput, ListNotificationChannelsCommandOutput } from "./commands/ListNotificationChannelsCommand";
28
30
  import { ListOrganizationInsightsCommandInput, ListOrganizationInsightsCommandOutput } from "./commands/ListOrganizationInsightsCommand";
29
31
  import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
@@ -35,8 +37,8 @@ import { StartCostEstimationCommandInput, StartCostEstimationCommandOutput } fro
35
37
  import { UpdateEventSourcesConfigCommandInput, UpdateEventSourcesConfigCommandOutput } from "./commands/UpdateEventSourcesConfigCommand";
36
38
  import { UpdateResourceCollectionCommandInput, UpdateResourceCollectionCommandOutput } from "./commands/UpdateResourceCollectionCommand";
37
39
  import { UpdateServiceIntegrationCommandInput, UpdateServiceIntegrationCommandOutput } from "./commands/UpdateServiceIntegrationCommand";
38
- export declare type ServiceInputTypes = AddNotificationChannelCommandInput | DeleteInsightCommandInput | DescribeAccountHealthCommandInput | DescribeAccountOverviewCommandInput | DescribeAnomalyCommandInput | DescribeEventSourcesConfigCommandInput | DescribeFeedbackCommandInput | DescribeInsightCommandInput | DescribeOrganizationHealthCommandInput | DescribeOrganizationOverviewCommandInput | DescribeOrganizationResourceCollectionHealthCommandInput | DescribeResourceCollectionHealthCommandInput | DescribeServiceIntegrationCommandInput | GetCostEstimationCommandInput | GetResourceCollectionCommandInput | ListAnomaliesForInsightCommandInput | ListEventsCommandInput | ListInsightsCommandInput | ListNotificationChannelsCommandInput | ListOrganizationInsightsCommandInput | ListRecommendationsCommandInput | PutFeedbackCommandInput | RemoveNotificationChannelCommandInput | SearchInsightsCommandInput | SearchOrganizationInsightsCommandInput | StartCostEstimationCommandInput | UpdateEventSourcesConfigCommandInput | UpdateResourceCollectionCommandInput | UpdateServiceIntegrationCommandInput;
39
- export declare type ServiceOutputTypes = AddNotificationChannelCommandOutput | DeleteInsightCommandOutput | DescribeAccountHealthCommandOutput | DescribeAccountOverviewCommandOutput | DescribeAnomalyCommandOutput | DescribeEventSourcesConfigCommandOutput | DescribeFeedbackCommandOutput | DescribeInsightCommandOutput | DescribeOrganizationHealthCommandOutput | DescribeOrganizationOverviewCommandOutput | DescribeOrganizationResourceCollectionHealthCommandOutput | DescribeResourceCollectionHealthCommandOutput | DescribeServiceIntegrationCommandOutput | GetCostEstimationCommandOutput | GetResourceCollectionCommandOutput | ListAnomaliesForInsightCommandOutput | ListEventsCommandOutput | ListInsightsCommandOutput | ListNotificationChannelsCommandOutput | ListOrganizationInsightsCommandOutput | ListRecommendationsCommandOutput | PutFeedbackCommandOutput | RemoveNotificationChannelCommandOutput | SearchInsightsCommandOutput | SearchOrganizationInsightsCommandOutput | StartCostEstimationCommandOutput | UpdateEventSourcesConfigCommandOutput | UpdateResourceCollectionCommandOutput | UpdateServiceIntegrationCommandOutput;
40
+ export declare type ServiceInputTypes = AddNotificationChannelCommandInput | DeleteInsightCommandInput | DescribeAccountHealthCommandInput | DescribeAccountOverviewCommandInput | DescribeAnomalyCommandInput | DescribeEventSourcesConfigCommandInput | DescribeFeedbackCommandInput | DescribeInsightCommandInput | DescribeOrganizationHealthCommandInput | DescribeOrganizationOverviewCommandInput | DescribeOrganizationResourceCollectionHealthCommandInput | DescribeResourceCollectionHealthCommandInput | DescribeServiceIntegrationCommandInput | GetCostEstimationCommandInput | GetResourceCollectionCommandInput | ListAnomaliesForInsightCommandInput | ListAnomalousLogGroupsCommandInput | ListEventsCommandInput | ListInsightsCommandInput | ListMonitoredResourcesCommandInput | ListNotificationChannelsCommandInput | ListOrganizationInsightsCommandInput | ListRecommendationsCommandInput | PutFeedbackCommandInput | RemoveNotificationChannelCommandInput | SearchInsightsCommandInput | SearchOrganizationInsightsCommandInput | StartCostEstimationCommandInput | UpdateEventSourcesConfigCommandInput | UpdateResourceCollectionCommandInput | UpdateServiceIntegrationCommandInput;
41
+ export declare type ServiceOutputTypes = AddNotificationChannelCommandOutput | DeleteInsightCommandOutput | DescribeAccountHealthCommandOutput | DescribeAccountOverviewCommandOutput | DescribeAnomalyCommandOutput | DescribeEventSourcesConfigCommandOutput | DescribeFeedbackCommandOutput | DescribeInsightCommandOutput | DescribeOrganizationHealthCommandOutput | DescribeOrganizationOverviewCommandOutput | DescribeOrganizationResourceCollectionHealthCommandOutput | DescribeResourceCollectionHealthCommandOutput | DescribeServiceIntegrationCommandOutput | GetCostEstimationCommandOutput | GetResourceCollectionCommandOutput | ListAnomaliesForInsightCommandOutput | ListAnomalousLogGroupsCommandOutput | ListEventsCommandOutput | ListInsightsCommandOutput | ListMonitoredResourcesCommandOutput | ListNotificationChannelsCommandOutput | ListOrganizationInsightsCommandOutput | ListRecommendationsCommandOutput | PutFeedbackCommandOutput | RemoveNotificationChannelCommandOutput | SearchInsightsCommandOutput | SearchOrganizationInsightsCommandOutput | StartCostEstimationCommandOutput | UpdateEventSourcesConfigCommandOutput | UpdateResourceCollectionCommandOutput | UpdateServiceIntegrationCommandOutput;
40
42
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
41
43
  /**
42
44
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.