@aws-sdk/client-devops-guru 3.39.0 → 3.43.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 (90) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +14 -16
  3. package/dist-cjs/DevOpsGuru.js +75 -0
  4. package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +36 -0
  7. package/dist-cjs/commands/ListOrganizationInsightsCommand.js +36 -0
  8. package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +5 -0
  10. package/dist-cjs/endpoints.js +74 -5
  11. package/dist-cjs/models/models_0.js +126 -12
  12. package/dist-cjs/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +34 -0
  13. package/dist-cjs/pagination/ListOrganizationInsightsPaginator.js +35 -0
  14. package/dist-cjs/pagination/SearchOrganizationInsightsPaginator.js +35 -0
  15. package/dist-cjs/pagination/index.js +3 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +773 -21
  17. package/dist-cjs/runtimeConfig.browser.js +6 -3
  18. package/dist-cjs/runtimeConfig.js +5 -3
  19. package/dist-es/DevOpsGuru.js +75 -0
  20. package/dist-es/commands/DescribeOrganizationHealthCommand.js +39 -0
  21. package/dist-es/commands/DescribeOrganizationOverviewCommand.js +39 -0
  22. package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +39 -0
  23. package/dist-es/commands/ListOrganizationInsightsCommand.js +39 -0
  24. package/dist-es/commands/SearchOrganizationInsightsCommand.js +39 -0
  25. package/dist-es/commands/index.js +5 -0
  26. package/dist-es/endpoints.js +74 -5
  27. package/dist-es/models/models_0.js +89 -9
  28. package/dist-es/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +73 -0
  29. package/dist-es/pagination/ListOrganizationInsightsPaginator.js +74 -0
  30. package/dist-es/pagination/SearchOrganizationInsightsPaginator.js +74 -0
  31. package/dist-es/pagination/index.js +3 -0
  32. package/dist-es/protocols/Aws_restJson1.js +826 -19
  33. package/dist-es/runtimeConfig.browser.js +3 -2
  34. package/dist-es/runtimeConfig.js +3 -3
  35. package/dist-types/DevOpsGuru.d.ts +114 -92
  36. package/dist-types/DevOpsGuruClient.d.ts +27 -16
  37. package/dist-types/commands/AddNotificationChannelCommand.d.ts +5 -7
  38. package/dist-types/commands/DescribeAccountHealthCommand.d.ts +4 -5
  39. package/dist-types/commands/DescribeAccountOverviewCommand.d.ts +4 -5
  40. package/dist-types/commands/DescribeAnomalyCommand.d.ts +2 -4
  41. package/dist-types/commands/DescribeFeedbackCommand.d.ts +2 -3
  42. package/dist-types/commands/DescribeInsightCommand.d.ts +2 -4
  43. package/dist-types/commands/DescribeOrganizationHealthCommand.d.ts +36 -0
  44. package/dist-types/commands/DescribeOrganizationOverviewCommand.d.ts +36 -0
  45. package/dist-types/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +37 -0
  46. package/dist-types/commands/DescribeResourceCollectionHealthCommand.d.ts +5 -6
  47. package/dist-types/commands/DescribeServiceIntegrationCommand.d.ts +3 -5
  48. package/dist-types/commands/GetCostEstimationCommand.d.ts +2 -2
  49. package/dist-types/commands/GetResourceCollectionCommand.d.ts +4 -5
  50. package/dist-types/commands/ListAnomaliesForInsightCommand.d.ts +3 -4
  51. package/dist-types/commands/ListEventsCommand.d.ts +3 -4
  52. package/dist-types/commands/ListInsightsCommand.d.ts +4 -5
  53. package/dist-types/commands/ListNotificationChannelsCommand.d.ts +5 -6
  54. package/dist-types/commands/ListOrganizationInsightsCommand.d.ts +35 -0
  55. package/dist-types/commands/ListRecommendationsCommand.d.ts +3 -4
  56. package/dist-types/commands/PutFeedbackCommand.d.ts +2 -4
  57. package/dist-types/commands/RemoveNotificationChannelCommand.d.ts +4 -5
  58. package/dist-types/commands/SearchInsightsCommand.d.ts +9 -10
  59. package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +42 -0
  60. package/dist-types/commands/StartCostEstimationCommand.d.ts +3 -2
  61. package/dist-types/commands/UpdateResourceCollectionCommand.d.ts +4 -4
  62. package/dist-types/commands/UpdateServiceIntegrationCommand.d.ts +4 -5
  63. package/dist-types/commands/index.d.ts +5 -0
  64. package/dist-types/models/models_0.d.ts +1000 -832
  65. package/dist-types/pagination/DescribeOrganizationResourceCollectionHealthPaginator.d.ts +4 -0
  66. package/dist-types/pagination/ListOrganizationInsightsPaginator.d.ts +4 -0
  67. package/dist-types/pagination/SearchOrganizationInsightsPaginator.d.ts +4 -0
  68. package/dist-types/pagination/index.d.ts +3 -0
  69. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  71. package/dist-types/runtimeConfig.d.ts +2 -0
  72. package/dist-types/runtimeConfig.native.d.ts +2 -0
  73. package/dist-types/ts3.4/DevOpsGuru.d.ts +25 -0
  74. package/dist-types/ts3.4/DevOpsGuruClient.d.ts +11 -2
  75. package/dist-types/ts3.4/commands/DescribeOrganizationHealthCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/DescribeOrganizationOverviewCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListOrganizationInsightsCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/SearchOrganizationInsightsCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  81. package/dist-types/ts3.4/models/models_0.d.ts +274 -5
  82. package/dist-types/ts3.4/pagination/DescribeOrganizationResourceCollectionHealthPaginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/ListOrganizationInsightsPaginator.d.ts +4 -0
  84. package/dist-types/ts3.4/pagination/SearchOrganizationInsightsPaginator.d.ts +4 -0
  85. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  86. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  90. package/package.json +23 -23
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-devops-guru
9
+
10
+
11
+
12
+
13
+
14
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients as of 11/18/2021 ([#3039](https://github.com/aws/aws-sdk-js-v3/issues/3039)) ([d2b2c45](https://github.com/aws/aws-sdk-js-v3/commit/d2b2c453315fc7bff798c1fb97c792e59274b4d6))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
31
+
32
+
33
+
34
+
35
+
36
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
37
+
38
+
39
+ ### Features
40
+
41
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
48
 
8
49
  **Note:** Version bump only for package @aws-sdk/client-devops-guru
package/README.md CHANGED
@@ -7,22 +7,20 @@
7
7
 
8
8
  AWS SDK for JavaScript DevOpsGuru Client for Node.js, Browser and React Native.
9
9
 
10
- <p> Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business
11
- critical operational applications. You specify the AWS resources that you want DevOps Guru to cover,
12
- then the Amazon CloudWatch metrics and AWS CloudTrail events related to those resources are analyzed. When
13
- anomalous behavior is detected, DevOps Guru creates an <i>insight</i> that includes
14
- recommendations, related events, and related metrics that can help you improve your
15
- operational applications. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html">What is Amazon DevOps Guru</a>. </p>
16
-
17
- <p>
18
- You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is created. You can also enable DevOps Guru to generate
19
- an OpsItem in AWS Systems Manager for each insight to help you manage and track your work addressing insights.
20
- </p>
21
-
22
- <p>
23
- To learn about the DevOps Guru workflow, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html#how-it-works">How DevOps Guru works</a>. To
24
- learn about DevOps Guru concepts, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/concepts.html">Concepts in DevOps Guru</a>.
25
- </p>
10
+ <p> Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in
11
+ business critical operational applications. You specify the Amazon Web Services resources that you
12
+ want DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those
13
+ resources are analyzed. When anomalous behavior is detected, DevOps Guru creates an
14
+ <i>insight</i> that includes recommendations, related events, and
15
+ related metrics that can help you improve your operational applications. For more
16
+ information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html">What is Amazon DevOps Guru</a>. </p>
17
+
18
+ <p> You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight
19
+ is created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each
20
+ insight to help you manage and track your work addressing insights. </p>
21
+
22
+ <p> To learn about the DevOps Guru workflow, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html#how-it-works">How DevOps Guru works</a>. To
23
+ learn about DevOps Guru concepts, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/concepts.html">Concepts in DevOps Guru</a>. </p>
26
24
 
27
25
  ## Installing
28
26
 
@@ -7,6 +7,9 @@ const DescribeAccountOverviewCommand_1 = require("./commands/DescribeAccountOver
7
7
  const DescribeAnomalyCommand_1 = require("./commands/DescribeAnomalyCommand");
8
8
  const DescribeFeedbackCommand_1 = require("./commands/DescribeFeedbackCommand");
9
9
  const DescribeInsightCommand_1 = require("./commands/DescribeInsightCommand");
10
+ const DescribeOrganizationHealthCommand_1 = require("./commands/DescribeOrganizationHealthCommand");
11
+ const DescribeOrganizationOverviewCommand_1 = require("./commands/DescribeOrganizationOverviewCommand");
12
+ const DescribeOrganizationResourceCollectionHealthCommand_1 = require("./commands/DescribeOrganizationResourceCollectionHealthCommand");
10
13
  const DescribeResourceCollectionHealthCommand_1 = require("./commands/DescribeResourceCollectionHealthCommand");
11
14
  const DescribeServiceIntegrationCommand_1 = require("./commands/DescribeServiceIntegrationCommand");
12
15
  const GetCostEstimationCommand_1 = require("./commands/GetCostEstimationCommand");
@@ -15,10 +18,12 @@ const ListAnomaliesForInsightCommand_1 = require("./commands/ListAnomaliesForIns
15
18
  const ListEventsCommand_1 = require("./commands/ListEventsCommand");
16
19
  const ListInsightsCommand_1 = require("./commands/ListInsightsCommand");
17
20
  const ListNotificationChannelsCommand_1 = require("./commands/ListNotificationChannelsCommand");
21
+ const ListOrganizationInsightsCommand_1 = require("./commands/ListOrganizationInsightsCommand");
18
22
  const ListRecommendationsCommand_1 = require("./commands/ListRecommendationsCommand");
19
23
  const PutFeedbackCommand_1 = require("./commands/PutFeedbackCommand");
20
24
  const RemoveNotificationChannelCommand_1 = require("./commands/RemoveNotificationChannelCommand");
21
25
  const SearchInsightsCommand_1 = require("./commands/SearchInsightsCommand");
26
+ const SearchOrganizationInsightsCommand_1 = require("./commands/SearchOrganizationInsightsCommand");
22
27
  const StartCostEstimationCommand_1 = require("./commands/StartCostEstimationCommand");
23
28
  const UpdateResourceCollectionCommand_1 = require("./commands/UpdateResourceCollectionCommand");
24
29
  const UpdateServiceIntegrationCommand_1 = require("./commands/UpdateServiceIntegrationCommand");
@@ -108,6 +113,48 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
108
113
  return this.send(command, optionsOrCb);
109
114
  }
110
115
  }
116
+ describeOrganizationHealth(args, optionsOrCb, cb) {
117
+ const command = new DescribeOrganizationHealthCommand_1.DescribeOrganizationHealthCommand(args);
118
+ if (typeof optionsOrCb === "function") {
119
+ this.send(command, optionsOrCb);
120
+ }
121
+ else if (typeof cb === "function") {
122
+ if (typeof optionsOrCb !== "object")
123
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
124
+ this.send(command, optionsOrCb || {}, cb);
125
+ }
126
+ else {
127
+ return this.send(command, optionsOrCb);
128
+ }
129
+ }
130
+ describeOrganizationOverview(args, optionsOrCb, cb) {
131
+ const command = new DescribeOrganizationOverviewCommand_1.DescribeOrganizationOverviewCommand(args);
132
+ if (typeof optionsOrCb === "function") {
133
+ this.send(command, optionsOrCb);
134
+ }
135
+ else if (typeof cb === "function") {
136
+ if (typeof optionsOrCb !== "object")
137
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
138
+ this.send(command, optionsOrCb || {}, cb);
139
+ }
140
+ else {
141
+ return this.send(command, optionsOrCb);
142
+ }
143
+ }
144
+ describeOrganizationResourceCollectionHealth(args, optionsOrCb, cb) {
145
+ const command = new DescribeOrganizationResourceCollectionHealthCommand_1.DescribeOrganizationResourceCollectionHealthCommand(args);
146
+ if (typeof optionsOrCb === "function") {
147
+ this.send(command, optionsOrCb);
148
+ }
149
+ else if (typeof cb === "function") {
150
+ if (typeof optionsOrCb !== "object")
151
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
152
+ this.send(command, optionsOrCb || {}, cb);
153
+ }
154
+ else {
155
+ return this.send(command, optionsOrCb);
156
+ }
157
+ }
111
158
  describeResourceCollectionHealth(args, optionsOrCb, cb) {
112
159
  const command = new DescribeResourceCollectionHealthCommand_1.DescribeResourceCollectionHealthCommand(args);
113
160
  if (typeof optionsOrCb === "function") {
@@ -220,6 +267,20 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
220
267
  return this.send(command, optionsOrCb);
221
268
  }
222
269
  }
270
+ listOrganizationInsights(args, optionsOrCb, cb) {
271
+ const command = new ListOrganizationInsightsCommand_1.ListOrganizationInsightsCommand(args);
272
+ if (typeof optionsOrCb === "function") {
273
+ this.send(command, optionsOrCb);
274
+ }
275
+ else if (typeof cb === "function") {
276
+ if (typeof optionsOrCb !== "object")
277
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
278
+ this.send(command, optionsOrCb || {}, cb);
279
+ }
280
+ else {
281
+ return this.send(command, optionsOrCb);
282
+ }
283
+ }
223
284
  listRecommendations(args, optionsOrCb, cb) {
224
285
  const command = new ListRecommendationsCommand_1.ListRecommendationsCommand(args);
225
286
  if (typeof optionsOrCb === "function") {
@@ -276,6 +337,20 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
276
337
  return this.send(command, optionsOrCb);
277
338
  }
278
339
  }
340
+ searchOrganizationInsights(args, optionsOrCb, cb) {
341
+ const command = new SearchOrganizationInsightsCommand_1.SearchOrganizationInsightsCommand(args);
342
+ if (typeof optionsOrCb === "function") {
343
+ this.send(command, optionsOrCb);
344
+ }
345
+ else if (typeof cb === "function") {
346
+ if (typeof optionsOrCb !== "object")
347
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
348
+ this.send(command, optionsOrCb || {}, cb);
349
+ }
350
+ else {
351
+ return this.send(command, optionsOrCb);
352
+ }
353
+ }
279
354
  startCostEstimation(args, optionsOrCb, cb) {
280
355
  const command = new StartCostEstimationCommand_1.StartCostEstimationCommand(args);
281
356
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeOrganizationHealthCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeOrganizationHealthCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DevOpsGuruClient";
18
+ const commandName = "DescribeOrganizationHealthCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeOrganizationHealthRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeOrganizationHealthResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationHealthCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationHealthCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeOrganizationHealthCommand = DescribeOrganizationHealthCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeOrganizationOverviewCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeOrganizationOverviewCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DevOpsGuruClient";
18
+ const commandName = "DescribeOrganizationOverviewCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeOrganizationOverviewRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeOrganizationOverviewResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationOverviewCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationOverviewCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeOrganizationOverviewCommand = DescribeOrganizationOverviewCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeOrganizationResourceCollectionHealthCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeOrganizationResourceCollectionHealthCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DevOpsGuruClient";
18
+ const commandName = "DescribeOrganizationResourceCollectionHealthCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeOrganizationResourceCollectionHealthRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeOrganizationResourceCollectionHealthResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeOrganizationResourceCollectionHealthCommand = DescribeOrganizationResourceCollectionHealthCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListOrganizationInsightsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListOrganizationInsightsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DevOpsGuruClient";
18
+ const commandName = "ListOrganizationInsightsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListOrganizationInsightsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListOrganizationInsightsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListOrganizationInsightsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListOrganizationInsightsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListOrganizationInsightsCommand = ListOrganizationInsightsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchOrganizationInsightsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class SearchOrganizationInsightsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DevOpsGuruClient";
18
+ const commandName = "SearchOrganizationInsightsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SearchOrganizationInsightsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SearchOrganizationInsightsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1SearchOrganizationInsightsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1SearchOrganizationInsightsCommand(output, context);
34
+ }
35
+ }
36
+ exports.SearchOrganizationInsightsCommand = SearchOrganizationInsightsCommand;
@@ -7,6 +7,9 @@ tslib_1.__exportStar(require("./DescribeAccountOverviewCommand"), exports);
7
7
  tslib_1.__exportStar(require("./DescribeAnomalyCommand"), exports);
8
8
  tslib_1.__exportStar(require("./DescribeFeedbackCommand"), exports);
9
9
  tslib_1.__exportStar(require("./DescribeInsightCommand"), exports);
10
+ tslib_1.__exportStar(require("./DescribeOrganizationHealthCommand"), exports);
11
+ tslib_1.__exportStar(require("./DescribeOrganizationOverviewCommand"), exports);
12
+ tslib_1.__exportStar(require("./DescribeOrganizationResourceCollectionHealthCommand"), exports);
10
13
  tslib_1.__exportStar(require("./DescribeResourceCollectionHealthCommand"), exports);
11
14
  tslib_1.__exportStar(require("./DescribeServiceIntegrationCommand"), exports);
12
15
  tslib_1.__exportStar(require("./GetCostEstimationCommand"), exports);
@@ -15,10 +18,12 @@ tslib_1.__exportStar(require("./ListAnomaliesForInsightCommand"), exports);
15
18
  tslib_1.__exportStar(require("./ListEventsCommand"), exports);
16
19
  tslib_1.__exportStar(require("./ListInsightsCommand"), exports);
17
20
  tslib_1.__exportStar(require("./ListNotificationChannelsCommand"), exports);
21
+ tslib_1.__exportStar(require("./ListOrganizationInsightsCommand"), exports);
18
22
  tslib_1.__exportStar(require("./ListRecommendationsCommand"), exports);
19
23
  tslib_1.__exportStar(require("./PutFeedbackCommand"), exports);
20
24
  tslib_1.__exportStar(require("./RemoveNotificationChannelCommand"), exports);
21
25
  tslib_1.__exportStar(require("./SearchInsightsCommand"), exports);
26
+ tslib_1.__exportStar(require("./SearchOrganizationInsightsCommand"), exports);
22
27
  tslib_1.__exportStar(require("./StartCostEstimationCommand"), exports);
23
28
  tslib_1.__exportStar(require("./UpdateResourceCollectionCommand"), exports);
24
29
  tslib_1.__exportStar(require("./UpdateServiceIntegrationCommand"), exports);
@@ -29,27 +29,96 @@ const partitionHash = {
29
29
  "us-west-2",
30
30
  ],
31
31
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
32
- hostname: "devops-guru.{region}.amazonaws.com",
32
+ variants: [
33
+ {
34
+ hostname: "devops-guru.{region}.amazonaws.com",
35
+ tags: [],
36
+ },
37
+ {
38
+ hostname: "devops-guru-fips.{region}.amazonaws.com",
39
+ tags: ["fips"],
40
+ },
41
+ {
42
+ hostname: "devops-guru-fips.{region}.api.aws",
43
+ tags: ["dualstack", "fips"],
44
+ },
45
+ {
46
+ hostname: "devops-guru.{region}.api.aws",
47
+ tags: ["dualstack"],
48
+ },
49
+ ],
33
50
  },
34
51
  "aws-cn": {
35
52
  regions: ["cn-north-1", "cn-northwest-1"],
36
53
  regionRegex: "^cn\\-\\w+\\-\\d+$",
37
- hostname: "devops-guru.{region}.amazonaws.com.cn",
54
+ variants: [
55
+ {
56
+ hostname: "devops-guru.{region}.amazonaws.com.cn",
57
+ tags: [],
58
+ },
59
+ {
60
+ hostname: "devops-guru-fips.{region}.amazonaws.com.cn",
61
+ tags: ["fips"],
62
+ },
63
+ {
64
+ hostname: "devops-guru-fips.{region}.api.amazonwebservices.com.cn",
65
+ tags: ["dualstack", "fips"],
66
+ },
67
+ {
68
+ hostname: "devops-guru.{region}.api.amazonwebservices.com.cn",
69
+ tags: ["dualstack"],
70
+ },
71
+ ],
38
72
  },
39
73
  "aws-iso": {
40
74
  regions: ["us-iso-east-1", "us-iso-west-1"],
41
75
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
42
- hostname: "devops-guru.{region}.c2s.ic.gov",
76
+ variants: [
77
+ {
78
+ hostname: "devops-guru.{region}.c2s.ic.gov",
79
+ tags: [],
80
+ },
81
+ {
82
+ hostname: "devops-guru-fips.{region}.c2s.ic.gov",
83
+ tags: ["fips"],
84
+ },
85
+ ],
43
86
  },
44
87
  "aws-iso-b": {
45
88
  regions: ["us-isob-east-1"],
46
89
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
47
- hostname: "devops-guru.{region}.sc2s.sgov.gov",
90
+ variants: [
91
+ {
92
+ hostname: "devops-guru.{region}.sc2s.sgov.gov",
93
+ tags: [],
94
+ },
95
+ {
96
+ hostname: "devops-guru-fips.{region}.sc2s.sgov.gov",
97
+ tags: ["fips"],
98
+ },
99
+ ],
48
100
  },
49
101
  "aws-us-gov": {
50
102
  regions: ["us-gov-east-1", "us-gov-west-1"],
51
103
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
52
- hostname: "devops-guru.{region}.amazonaws.com",
104
+ variants: [
105
+ {
106
+ hostname: "devops-guru.{region}.amazonaws.com",
107
+ tags: [],
108
+ },
109
+ {
110
+ hostname: "devops-guru-fips.{region}.amazonaws.com",
111
+ tags: ["fips"],
112
+ },
113
+ {
114
+ hostname: "devops-guru-fips.{region}.api.aws",
115
+ tags: ["dualstack", "fips"],
116
+ },
117
+ {
118
+ hostname: "devops-guru.{region}.api.aws",
119
+ tags: ["dualstack"],
120
+ },
121
+ ],
53
122
  },
54
123
  };
55
124
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {