@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
@@ -14,7 +14,7 @@ export var serializeAws_restJson1AddNotificationChannelCommand = function (input
14
14
  headers = {
15
15
  "content-type": "application/json",
16
16
  };
17
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
17
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
18
18
  body = JSON.stringify(__assign({}, (input.Config !== undefined &&
19
19
  input.Config !== null && { Config: serializeAws_restJson1NotificationChannelConfig(input.Config, context) })));
20
20
  return [2, new __HttpRequest({
@@ -39,7 +39,7 @@ export var serializeAws_restJson1DescribeAccountHealthCommand = function (input,
39
39
  headers = {
40
40
  "content-type": "application/json",
41
41
  };
42
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/health";
42
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/health";
43
43
  body = "";
44
44
  return [2, new __HttpRequest({
45
45
  protocol: protocol,
@@ -63,7 +63,7 @@ export var serializeAws_restJson1DescribeAccountOverviewCommand = function (inpu
63
63
  headers = {
64
64
  "content-type": "application/json",
65
65
  };
66
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/overview";
66
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/overview";
67
67
  body = JSON.stringify(__assign(__assign({}, (input.FromTime !== undefined &&
68
68
  input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) })), (input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) })));
69
69
  return [2, new __HttpRequest({
@@ -86,7 +86,7 @@ export var serializeAws_restJson1DescribeAnomalyCommand = function (input, conte
86
86
  case 1:
87
87
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
88
88
  headers = {};
89
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/anomalies/{Id}";
89
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/anomalies/{Id}";
90
90
  if (input.Id !== undefined) {
91
91
  labelValue = input.Id;
92
92
  if (labelValue.length <= 0) {
@@ -111,6 +111,30 @@ export var serializeAws_restJson1DescribeAnomalyCommand = function (input, conte
111
111
  }
112
112
  });
113
113
  }); };
114
+ export var serializeAws_restJson1DescribeEventSourcesConfigCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
115
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
116
+ return __generator(this, function (_c) {
117
+ switch (_c.label) {
118
+ case 0: return [4, context.endpoint()];
119
+ case 1:
120
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
121
+ headers = {
122
+ "content-type": "application/json",
123
+ };
124
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/event-sources";
125
+ body = "";
126
+ return [2, new __HttpRequest({
127
+ protocol: protocol,
128
+ hostname: hostname,
129
+ port: port,
130
+ method: "POST",
131
+ headers: headers,
132
+ path: resolvedPath,
133
+ body: body,
134
+ })];
135
+ }
136
+ });
137
+ }); };
114
138
  export var serializeAws_restJson1DescribeFeedbackCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
115
139
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
116
140
  return __generator(this, function (_c) {
@@ -121,7 +145,7 @@ export var serializeAws_restJson1DescribeFeedbackCommand = function (input, cont
121
145
  headers = {
122
146
  "content-type": "application/json",
123
147
  };
124
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/feedback";
148
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/feedback";
125
149
  body = JSON.stringify(__assign({}, (input.InsightId !== undefined && input.InsightId !== null && { InsightId: input.InsightId })));
126
150
  return [2, new __HttpRequest({
127
151
  protocol: protocol,
@@ -143,7 +167,7 @@ export var serializeAws_restJson1DescribeInsightCommand = function (input, conte
143
167
  case 1:
144
168
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
145
169
  headers = {};
146
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/{Id}";
170
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/{Id}";
147
171
  if (input.Id !== undefined) {
148
172
  labelValue = input.Id;
149
173
  if (labelValue.length <= 0) {
@@ -178,7 +202,7 @@ export var serializeAws_restJson1DescribeOrganizationHealthCommand = function (i
178
202
  headers = {
179
203
  "content-type": "application/json",
180
204
  };
181
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/health";
205
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/health";
182
206
  body = JSON.stringify(__assign(__assign({}, (input.AccountIds !== undefined &&
183
207
  input.AccountIds !== null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) })), (input.OrganizationalUnitIds !== undefined &&
184
208
  input.OrganizationalUnitIds !== null && {
@@ -206,7 +230,7 @@ export var serializeAws_restJson1DescribeOrganizationOverviewCommand = function
206
230
  headers = {
207
231
  "content-type": "application/json",
208
232
  };
209
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/overview";
233
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/overview";
210
234
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AccountIds !== undefined &&
211
235
  input.AccountIds !== null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) })), (input.FromTime !== undefined &&
212
236
  input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) })), (input.OrganizationalUnitIds !== undefined &&
@@ -235,7 +259,7 @@ export var serializeAws_restJson1DescribeOrganizationResourceCollectionHealthCom
235
259
  headers = {
236
260
  "content-type": "application/json",
237
261
  };
238
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/health/resource-collection";
262
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/health/resource-collection";
239
263
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AccountIds !== undefined &&
240
264
  input.AccountIds !== null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.OrganizationResourceCollectionType !== undefined &&
241
265
  input.OrganizationResourceCollectionType !== null && {
@@ -264,7 +288,7 @@ export var serializeAws_restJson1DescribeResourceCollectionHealthCommand = funct
264
288
  case 1:
265
289
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
266
290
  headers = {};
267
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
291
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
268
292
  "/accounts/health/resource-collection/{ResourceCollectionType}";
269
293
  if (input.ResourceCollectionType !== undefined) {
270
294
  labelValue = input.ResourceCollectionType;
@@ -300,7 +324,7 @@ export var serializeAws_restJson1DescribeServiceIntegrationCommand = function (i
300
324
  headers = {
301
325
  "content-type": "application/json",
302
326
  };
303
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-integrations";
327
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-integrations";
304
328
  body = "";
305
329
  return [2, new __HttpRequest({
306
330
  protocol: protocol,
@@ -322,7 +346,7 @@ export var serializeAws_restJson1GetCostEstimationCommand = function (input, con
322
346
  case 1:
323
347
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
324
348
  headers = {};
325
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/cost-estimation";
349
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/cost-estimation";
326
350
  query = __assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken }));
327
351
  return [2, new __HttpRequest({
328
352
  protocol: protocol,
@@ -345,7 +369,7 @@ export var serializeAws_restJson1GetResourceCollectionCommand = function (input,
345
369
  case 1:
346
370
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
347
371
  headers = {};
348
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
372
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
349
373
  "/resource-collections/{ResourceCollectionType}";
350
374
  if (input.ResourceCollectionType !== undefined) {
351
375
  labelValue = input.ResourceCollectionType;
@@ -381,7 +405,7 @@ export var serializeAws_restJson1ListAnomaliesForInsightCommand = function (inpu
381
405
  headers = {
382
406
  "content-type": "application/json",
383
407
  };
384
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/anomalies/insight/{InsightId}";
408
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/anomalies/insight/{InsightId}";
385
409
  if (input.InsightId !== undefined) {
386
410
  labelValue = input.InsightId;
387
411
  if (labelValue.length <= 0) {
@@ -418,7 +442,7 @@ export var serializeAws_restJson1ListEventsCommand = function (input, context) {
418
442
  headers = {
419
443
  "content-type": "application/json",
420
444
  };
421
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/events";
445
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/events";
422
446
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId })), (input.Filters !== undefined &&
423
447
  input.Filters !== null && { Filters: serializeAws_restJson1ListEventsFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
424
448
  return [2, new __HttpRequest({
@@ -443,7 +467,7 @@ export var serializeAws_restJson1ListInsightsCommand = function (input, context)
443
467
  headers = {
444
468
  "content-type": "application/json",
445
469
  };
446
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights";
470
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights";
447
471
  body = JSON.stringify(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StatusFilter !== undefined &&
448
472
  input.StatusFilter !== null && {
449
473
  StatusFilter: serializeAws_restJson1ListInsightsStatusFilter(input.StatusFilter, context),
@@ -470,7 +494,7 @@ export var serializeAws_restJson1ListNotificationChannelsCommand = function (inp
470
494
  headers = {
471
495
  "content-type": "application/json",
472
496
  };
473
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
497
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
474
498
  body = JSON.stringify(__assign({}, (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
475
499
  return [2, new __HttpRequest({
476
500
  protocol: protocol,
@@ -494,7 +518,7 @@ export var serializeAws_restJson1ListOrganizationInsightsCommand = function (inp
494
518
  headers = {
495
519
  "content-type": "application/json",
496
520
  };
497
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/insights";
521
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/insights";
498
522
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AccountIds !== undefined &&
499
523
  input.AccountIds !== null && {
500
524
  AccountIds: serializeAws_restJson1ListInsightsAccountIdList(input.AccountIds, context),
@@ -527,7 +551,7 @@ export var serializeAws_restJson1ListRecommendationsCommand = function (input, c
527
551
  headers = {
528
552
  "content-type": "application/json",
529
553
  };
530
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recommendations";
554
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recommendations";
531
555
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId })), (input.InsightId !== undefined && input.InsightId !== null && { InsightId: input.InsightId })), (input.Locale !== undefined && input.Locale !== null && { Locale: input.Locale })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
532
556
  return [2, new __HttpRequest({
533
557
  protocol: protocol,
@@ -551,7 +575,7 @@ export var serializeAws_restJson1PutFeedbackCommand = function (input, context)
551
575
  headers = {
552
576
  "content-type": "application/json",
553
577
  };
554
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/feedback";
578
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/feedback";
555
579
  body = JSON.stringify(__assign({}, (input.InsightFeedback !== undefined &&
556
580
  input.InsightFeedback !== null && {
557
581
  InsightFeedback: serializeAws_restJson1InsightFeedback(input.InsightFeedback, context),
@@ -576,7 +600,7 @@ export var serializeAws_restJson1RemoveNotificationChannelCommand = function (in
576
600
  case 1:
577
601
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
578
602
  headers = {};
579
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{Id}";
603
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{Id}";
580
604
  if (input.Id !== undefined) {
581
605
  labelValue = input.Id;
582
606
  if (labelValue.length <= 0) {
@@ -609,7 +633,7 @@ export var serializeAws_restJson1SearchInsightsCommand = function (input, contex
609
633
  headers = {
610
634
  "content-type": "application/json",
611
635
  };
612
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/search";
636
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/search";
613
637
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
614
638
  input.Filters !== null && { Filters: serializeAws_restJson1SearchInsightsFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StartTimeRange !== undefined &&
615
639
  input.StartTimeRange !== null && {
@@ -637,7 +661,7 @@ export var serializeAws_restJson1SearchOrganizationInsightsCommand = function (i
637
661
  headers = {
638
662
  "content-type": "application/json",
639
663
  };
640
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/insights/search";
664
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/insights/search";
641
665
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccountIds !== undefined &&
642
666
  input.AccountIds !== null && {
643
667
  AccountIds: serializeAws_restJson1SearchInsightsAccountIdList(input.AccountIds, context),
@@ -671,7 +695,7 @@ export var serializeAws_restJson1StartCostEstimationCommand = function (input, c
671
695
  headers = {
672
696
  "content-type": "application/json",
673
697
  };
674
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/cost-estimation";
698
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/cost-estimation";
675
699
  body = JSON.stringify(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.ResourceCollection !== undefined &&
676
700
  input.ResourceCollection !== null && {
677
701
  ResourceCollection: serializeAws_restJson1CostEstimationResourceCollectionFilter(input.ResourceCollection, context),
@@ -688,6 +712,33 @@ export var serializeAws_restJson1StartCostEstimationCommand = function (input, c
688
712
  }
689
713
  });
690
714
  }); };
715
+ export var serializeAws_restJson1UpdateEventSourcesConfigCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
716
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
717
+ return __generator(this, function (_c) {
718
+ switch (_c.label) {
719
+ case 0: return [4, context.endpoint()];
720
+ case 1:
721
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
722
+ headers = {
723
+ "content-type": "application/json",
724
+ };
725
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/event-sources";
726
+ body = JSON.stringify(__assign({}, (input.EventSources !== undefined &&
727
+ input.EventSources !== null && {
728
+ EventSources: serializeAws_restJson1EventSourcesConfig(input.EventSources, context),
729
+ })));
730
+ return [2, new __HttpRequest({
731
+ protocol: protocol,
732
+ hostname: hostname,
733
+ port: port,
734
+ method: "PUT",
735
+ headers: headers,
736
+ path: resolvedPath,
737
+ body: body,
738
+ })];
739
+ }
740
+ });
741
+ }); };
691
742
  export var serializeAws_restJson1UpdateResourceCollectionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
692
743
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
693
744
  return __generator(this, function (_c) {
@@ -698,7 +749,7 @@ export var serializeAws_restJson1UpdateResourceCollectionCommand = function (inp
698
749
  headers = {
699
750
  "content-type": "application/json",
700
751
  };
701
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-collections";
752
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-collections";
702
753
  body = JSON.stringify(__assign(__assign({}, (input.Action !== undefined && input.Action !== null && { Action: input.Action })), (input.ResourceCollection !== undefined &&
703
754
  input.ResourceCollection !== null && {
704
755
  ResourceCollection: serializeAws_restJson1UpdateResourceCollectionFilter(input.ResourceCollection, context),
@@ -725,7 +776,7 @@ export var serializeAws_restJson1UpdateServiceIntegrationCommand = function (inp
725
776
  headers = {
726
777
  "content-type": "application/json",
727
778
  };
728
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-integrations";
779
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-integrations";
729
780
  body = JSON.stringify(__assign({}, (input.ServiceIntegration !== undefined &&
730
781
  input.ServiceIntegration !== null && {
731
782
  ServiceIntegration: serializeAws_restJson1UpdateServiceIntegrationConfig(input.ServiceIntegration, context),
@@ -1054,6 +1105,74 @@ var deserializeAws_restJson1DescribeAnomalyCommandError = function (output, cont
1054
1105
  }
1055
1106
  });
1056
1107
  }); };
1108
+ export var deserializeAws_restJson1DescribeEventSourcesConfigCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1109
+ var contents, data, _a, _b;
1110
+ return __generator(this, function (_c) {
1111
+ switch (_c.label) {
1112
+ case 0:
1113
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1114
+ return [2, deserializeAws_restJson1DescribeEventSourcesConfigCommandError(output, context)];
1115
+ }
1116
+ contents = {
1117
+ $metadata: deserializeMetadata(output),
1118
+ EventSources: undefined,
1119
+ };
1120
+ _a = __expectNonNull;
1121
+ _b = __expectObject;
1122
+ return [4, parseBody(output.body, context)];
1123
+ case 1:
1124
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1125
+ if (data.EventSources !== undefined && data.EventSources !== null) {
1126
+ contents.EventSources = deserializeAws_restJson1EventSourcesConfig(data.EventSources, context);
1127
+ }
1128
+ return [2, Promise.resolve(contents)];
1129
+ }
1130
+ });
1131
+ }); };
1132
+ var deserializeAws_restJson1DescribeEventSourcesConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1133
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
1134
+ var _c;
1135
+ return __generator(this, function (_d) {
1136
+ switch (_d.label) {
1137
+ case 0:
1138
+ _a = [__assign({}, output)];
1139
+ _c = {};
1140
+ return [4, parseBody(output.body, context)];
1141
+ case 1:
1142
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1143
+ errorCode = "UnknownError";
1144
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1145
+ _b = errorCode;
1146
+ switch (_b) {
1147
+ case "AccessDeniedException": return [3, 2];
1148
+ case "com.amazonaws.devopsguru#AccessDeniedException": return [3, 2];
1149
+ case "InternalServerException": return [3, 4];
1150
+ case "com.amazonaws.devopsguru#InternalServerException": return [3, 4];
1151
+ case "ThrottlingException": return [3, 6];
1152
+ case "com.amazonaws.devopsguru#ThrottlingException": return [3, 6];
1153
+ case "ValidationException": return [3, 8];
1154
+ case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
1155
+ }
1156
+ return [3, 10];
1157
+ case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
1158
+ case 3: throw _d.sent();
1159
+ case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
1160
+ case 5: throw _d.sent();
1161
+ case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
1162
+ case 7: throw _d.sent();
1163
+ case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
1164
+ case 9: throw _d.sent();
1165
+ case 10:
1166
+ parsedBody = parsedOutput.body;
1167
+ response = new __BaseException({
1168
+ name: parsedBody.code || parsedBody.Code || errorCode,
1169
+ $fault: "client",
1170
+ $metadata: deserializeMetadata(output),
1171
+ });
1172
+ throw __decorateServiceException(response, parsedBody);
1173
+ }
1174
+ });
1175
+ }); };
1057
1176
  export var deserializeAws_restJson1DescribeFeedbackCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1058
1177
  var contents, data, _a, _b;
1059
1178
  return __generator(this, function (_c) {
@@ -2572,6 +2691,68 @@ var deserializeAws_restJson1StartCostEstimationCommandError = function (output,
2572
2691
  }
2573
2692
  });
2574
2693
  }); };
2694
+ export var deserializeAws_restJson1UpdateEventSourcesConfigCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2695
+ var contents;
2696
+ return __generator(this, function (_a) {
2697
+ switch (_a.label) {
2698
+ case 0:
2699
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2700
+ return [2, deserializeAws_restJson1UpdateEventSourcesConfigCommandError(output, context)];
2701
+ }
2702
+ contents = {
2703
+ $metadata: deserializeMetadata(output),
2704
+ };
2705
+ return [4, collectBody(output.body, context)];
2706
+ case 1:
2707
+ _a.sent();
2708
+ return [2, Promise.resolve(contents)];
2709
+ }
2710
+ });
2711
+ }); };
2712
+ var deserializeAws_restJson1UpdateEventSourcesConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2713
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
2714
+ var _c;
2715
+ return __generator(this, function (_d) {
2716
+ switch (_d.label) {
2717
+ case 0:
2718
+ _a = [__assign({}, output)];
2719
+ _c = {};
2720
+ return [4, parseBody(output.body, context)];
2721
+ case 1:
2722
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2723
+ errorCode = "UnknownError";
2724
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2725
+ _b = errorCode;
2726
+ switch (_b) {
2727
+ case "AccessDeniedException": return [3, 2];
2728
+ case "com.amazonaws.devopsguru#AccessDeniedException": return [3, 2];
2729
+ case "InternalServerException": return [3, 4];
2730
+ case "com.amazonaws.devopsguru#InternalServerException": return [3, 4];
2731
+ case "ThrottlingException": return [3, 6];
2732
+ case "com.amazonaws.devopsguru#ThrottlingException": return [3, 6];
2733
+ case "ValidationException": return [3, 8];
2734
+ case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
2735
+ }
2736
+ return [3, 10];
2737
+ case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
2738
+ case 3: throw _d.sent();
2739
+ case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
2740
+ case 5: throw _d.sent();
2741
+ case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
2742
+ case 7: throw _d.sent();
2743
+ case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
2744
+ case 9: throw _d.sent();
2745
+ case 10:
2746
+ parsedBody = parsedOutput.body;
2747
+ response = new __BaseException({
2748
+ name: parsedBody.code || parsedBody.Code || errorCode,
2749
+ $fault: "client",
2750
+ $metadata: deserializeMetadata(output),
2751
+ });
2752
+ throw __decorateServiceException(response, parsedBody);
2753
+ }
2754
+ });
2755
+ }); };
2575
2756
  export var deserializeAws_restJson1UpdateResourceCollectionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2576
2757
  var contents;
2577
2758
  return __generator(this, function (_a) {
@@ -2828,6 +3009,9 @@ var serializeAws_restJson1AccountIdList = function (input, context) {
2828
3009
  return entry;
2829
3010
  });
2830
3011
  };
3012
+ var serializeAws_restJson1AmazonCodeGuruProfilerIntegration = function (input, context) {
3013
+ return __assign({}, (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
3014
+ };
2831
3015
  var serializeAws_restJson1CloudFormationCollection = function (input, context) {
2832
3016
  return __assign({}, (input.StackNames !== undefined &&
2833
3017
  input.StackNames !== null && { StackNames: serializeAws_restJson1StackNames(input.StackNames, context) }));
@@ -2871,6 +3055,12 @@ var serializeAws_restJson1EndTimeRange = function (input, context) {
2871
3055
  return __assign(__assign({}, (input.FromTime !== undefined &&
2872
3056
  input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) })), (input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }));
2873
3057
  };
3058
+ var serializeAws_restJson1EventSourcesConfig = function (input, context) {
3059
+ return __assign({}, (input.AmazonCodeGuruProfiler !== undefined &&
3060
+ input.AmazonCodeGuruProfiler !== null && {
3061
+ AmazonCodeGuruProfiler: serializeAws_restJson1AmazonCodeGuruProfilerIntegration(input.AmazonCodeGuruProfiler, context),
3062
+ }));
3063
+ };
2874
3064
  var serializeAws_restJson1EventTimeRange = function (input, context) {
2875
3065
  return __assign(__assign({}, (input.FromTime !== undefined &&
2876
3066
  input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) })), (input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }));
@@ -3154,6 +3344,11 @@ var deserializeAws_restJson1AccountInsightHealth = function (output, context) {
3154
3344
  OpenReactiveInsights: __expectInt32(output.OpenReactiveInsights),
3155
3345
  };
3156
3346
  };
3347
+ var deserializeAws_restJson1AmazonCodeGuruProfilerIntegration = function (output, context) {
3348
+ return {
3349
+ Status: __expectString(output.Status),
3350
+ };
3351
+ };
3157
3352
  var deserializeAws_restJson1AnomalyReportedTimeRange = function (output, context) {
3158
3353
  return {
3159
3354
  CloseTime: output.CloseTime !== undefined && output.CloseTime !== null
@@ -3191,6 +3386,13 @@ var deserializeAws_restJson1AnomalySourceDetails = function (output, context) {
3191
3386
  : undefined,
3192
3387
  };
3193
3388
  };
3389
+ var deserializeAws_restJson1AnomalySourceMetadata = function (output, context) {
3390
+ return {
3391
+ Source: __expectString(output.Source),
3392
+ SourceResourceName: __expectString(output.SourceResourceName),
3393
+ SourceResourceType: __expectString(output.SourceResourceType),
3394
+ };
3395
+ };
3194
3396
  var deserializeAws_restJson1AnomalyTimeRange = function (output, context) {
3195
3397
  return {
3196
3398
  EndTime: output.EndTime !== undefined && output.EndTime !== null
@@ -3403,6 +3605,13 @@ var deserializeAws_restJson1Events = function (output, context) {
3403
3605
  });
3404
3606
  return retVal;
3405
3607
  };
3608
+ var deserializeAws_restJson1EventSourcesConfig = function (output, context) {
3609
+ return {
3610
+ AmazonCodeGuruProfiler: output.AmazonCodeGuruProfiler !== undefined && output.AmazonCodeGuruProfiler !== null
3611
+ ? deserializeAws_restJson1AmazonCodeGuruProfilerIntegration(output.AmazonCodeGuruProfiler, context)
3612
+ : undefined,
3613
+ };
3614
+ };
3406
3615
  var deserializeAws_restJson1InsightFeedback = function (output, context) {
3407
3616
  return {
3408
3617
  Feedback: __expectString(output.Feedback),
@@ -3600,6 +3809,9 @@ var deserializeAws_restJson1ProactiveAnomaly = function (output, context) {
3600
3809
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange !== undefined && output.AnomalyReportedTimeRange !== null
3601
3810
  ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3602
3811
  : undefined,
3812
+ AnomalyResources: output.AnomalyResources !== undefined && output.AnomalyResources !== null
3813
+ ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3814
+ : undefined,
3603
3815
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
3604
3816
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3605
3817
  : undefined,
@@ -3616,6 +3828,9 @@ var deserializeAws_restJson1ProactiveAnomaly = function (output, context) {
3616
3828
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
3617
3829
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3618
3830
  : undefined,
3831
+ SourceMetadata: output.SourceMetadata !== undefined && output.SourceMetadata !== null
3832
+ ? deserializeAws_restJson1AnomalySourceMetadata(output.SourceMetadata, context)
3833
+ : undefined,
3619
3834
  Status: __expectString(output.Status),
3620
3835
  UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
3621
3836
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateTime)))
@@ -3627,6 +3842,9 @@ var deserializeAws_restJson1ProactiveAnomalySummary = function (output, context)
3627
3842
  AnomalyReportedTimeRange: output.AnomalyReportedTimeRange !== undefined && output.AnomalyReportedTimeRange !== null
3628
3843
  ? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
3629
3844
  : undefined,
3845
+ AnomalyResources: output.AnomalyResources !== undefined && output.AnomalyResources !== null
3846
+ ? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
3847
+ : undefined,
3630
3848
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
3631
3849
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3632
3850
  : undefined,
@@ -3643,6 +3861,9 @@ var deserializeAws_restJson1ProactiveAnomalySummary = function (output, context)
3643
3861
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
3644
3862
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3645
3863
  : undefined,
3864
+ SourceMetadata: output.SourceMetadata !== undefined && output.SourceMetadata !== null
3865
+ ? deserializeAws_restJson1AnomalySourceMetadata(output.SourceMetadata, context)
3866
+ : undefined,
3646
3867
  Status: __expectString(output.Status),
3647
3868
  UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
3648
3869
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdateTime)))
@@ -3651,6 +3872,7 @@ var deserializeAws_restJson1ProactiveAnomalySummary = function (output, context)
3651
3872
  };
3652
3873
  var deserializeAws_restJson1ProactiveInsight = function (output, context) {
3653
3874
  return {
3875
+ Description: __expectString(output.Description),
3654
3876
  Id: __expectString(output.Id),
3655
3877
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3656
3878
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
@@ -3801,6 +4023,7 @@ var deserializeAws_restJson1ReactiveAnomalySummary = function (output, context)
3801
4023
  };
3802
4024
  var deserializeAws_restJson1ReactiveInsight = function (output, context) {
3803
4025
  return {
4026
+ Description: __expectString(output.Description),
3804
4027
  Id: __expectString(output.Id),
3805
4028
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3806
4029
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
@@ -3877,6 +4100,7 @@ var deserializeAws_restJson1ReactiveOrganizationInsightSummary = function (outpu
3877
4100
  };
3878
4101
  var deserializeAws_restJson1Recommendation = function (output, context) {
3879
4102
  return {
4103
+ Category: __expectString(output.Category),
3880
4104
  Description: __expectString(output.Description),
3881
4105
  Link: __expectString(output.Link),
3882
4106
  Name: __expectString(output.Name),
@@ -3,6 +3,7 @@ import { AddNotificationChannelCommandInput, AddNotificationChannelCommandOutput
3
3
  import { DescribeAccountHealthCommandInput, DescribeAccountHealthCommandOutput } from "./commands/DescribeAccountHealthCommand";
4
4
  import { DescribeAccountOverviewCommandInput, DescribeAccountOverviewCommandOutput } from "./commands/DescribeAccountOverviewCommand";
5
5
  import { DescribeAnomalyCommandInput, DescribeAnomalyCommandOutput } from "./commands/DescribeAnomalyCommand";
6
+ import { DescribeEventSourcesConfigCommandInput, DescribeEventSourcesConfigCommandOutput } from "./commands/DescribeEventSourcesConfigCommand";
6
7
  import { DescribeFeedbackCommandInput, DescribeFeedbackCommandOutput } from "./commands/DescribeFeedbackCommand";
7
8
  import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
8
9
  import { DescribeOrganizationHealthCommandInput, DescribeOrganizationHealthCommandOutput } from "./commands/DescribeOrganizationHealthCommand";
@@ -23,6 +24,7 @@ import { RemoveNotificationChannelCommandInput, RemoveNotificationChannelCommand
23
24
  import { SearchInsightsCommandInput, SearchInsightsCommandOutput } from "./commands/SearchInsightsCommand";
24
25
  import { SearchOrganizationInsightsCommandInput, SearchOrganizationInsightsCommandOutput } from "./commands/SearchOrganizationInsightsCommand";
25
26
  import { StartCostEstimationCommandInput, StartCostEstimationCommandOutput } from "./commands/StartCostEstimationCommand";
27
+ import { UpdateEventSourcesConfigCommandInput, UpdateEventSourcesConfigCommandOutput } from "./commands/UpdateEventSourcesConfigCommand";
26
28
  import { UpdateResourceCollectionCommandInput, UpdateResourceCollectionCommandOutput } from "./commands/UpdateResourceCollectionCommand";
27
29
  import { UpdateServiceIntegrationCommandInput, UpdateServiceIntegrationCommandOutput } from "./commands/UpdateServiceIntegrationCommand";
28
30
  import { DevOpsGuruClient } from "./DevOpsGuruClient";
@@ -79,6 +81,13 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
79
81
  describeAnomaly(args: DescribeAnomalyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAnomalyCommandOutput>;
80
82
  describeAnomaly(args: DescribeAnomalyCommandInput, cb: (err: any, data?: DescribeAnomalyCommandOutput) => void): void;
81
83
  describeAnomaly(args: DescribeAnomalyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAnomalyCommandOutput) => void): void;
84
+ /**
85
+ * <p>This operation lists details about a DevOps Guru event source that is shared with your
86
+ account.</p>
87
+ */
88
+ describeEventSourcesConfig(args: DescribeEventSourcesConfigCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventSourcesConfigCommandOutput>;
89
+ describeEventSourcesConfig(args: DescribeEventSourcesConfigCommandInput, cb: (err: any, data?: DescribeEventSourcesConfigCommandOutput) => void): void;
90
+ describeEventSourcesConfig(args: DescribeEventSourcesConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventSourcesConfigCommandOutput) => void): void;
82
91
  /**
83
92
  * <p> Returns the most recent feedback submitted in the current Amazon Web Services account and Region.
84
93
  * </p>
@@ -225,12 +234,12 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
225
234
  /**
226
235
  * <p> Returns a list of insights in your organization. You can specify which insights are
227
236
  * returned by their start time, one or more statuses (<code>ONGOING</code>,
228
- * <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
229
- * (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
230
- * (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
237
+ * <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
238
+ * (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
239
+ * (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
231
240
  * <p> Use the <code>Filters</code> parameter to specify status and severity search
232
241
  * parameters. Use the <code>Type</code> parameter to specify <code>REACTIVE</code> or
233
- * <code>PROACTIVE</code> in your search. </p>
242
+ * <code>PROACTIVE</code> in your search. </p>
234
243
  */
235
244
  searchOrganizationInsights(args: SearchOrganizationInsightsCommandInput, options?: __HttpHandlerOptions): Promise<SearchOrganizationInsightsCommandOutput>;
236
245
  searchOrganizationInsights(args: SearchOrganizationInsightsCommandInput, cb: (err: any, data?: SearchOrganizationInsightsCommandOutput) => void): void;
@@ -242,6 +251,12 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
242
251
  startCostEstimation(args: StartCostEstimationCommandInput, options?: __HttpHandlerOptions): Promise<StartCostEstimationCommandOutput>;
243
252
  startCostEstimation(args: StartCostEstimationCommandInput, cb: (err: any, data?: StartCostEstimationCommandOutput) => void): void;
244
253
  startCostEstimation(args: StartCostEstimationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCostEstimationCommandOutput) => void): void;
254
+ /**
255
+ * <p>Updates the event source configuration.</p>
256
+ */
257
+ updateEventSourcesConfig(args: UpdateEventSourcesConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventSourcesConfigCommandOutput>;
258
+ updateEventSourcesConfig(args: UpdateEventSourcesConfigCommandInput, cb: (err: any, data?: UpdateEventSourcesConfigCommandOutput) => void): void;
259
+ updateEventSourcesConfig(args: UpdateEventSourcesConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventSourcesConfigCommandOutput) => void): void;
245
260
  /**
246
261
  * <p> Updates the collection of resources that DevOps Guru analyzes.
247
262
  * The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and