@aws-sdk/client-devops-guru 3.928.0 → 3.929.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 (52) hide show
  1. package/dist-cjs/index.js +1861 -1731
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DevOpsGuruClient.js +2 -0
  4. package/dist-es/commands/AddNotificationChannelCommand.js +3 -9
  5. package/dist-es/commands/DeleteInsightCommand.js +3 -9
  6. package/dist-es/commands/DescribeAccountHealthCommand.js +3 -9
  7. package/dist-es/commands/DescribeAccountOverviewCommand.js +3 -9
  8. package/dist-es/commands/DescribeAnomalyCommand.js +3 -9
  9. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +3 -9
  10. package/dist-es/commands/DescribeFeedbackCommand.js +3 -9
  11. package/dist-es/commands/DescribeInsightCommand.js +3 -9
  12. package/dist-es/commands/DescribeOrganizationHealthCommand.js +3 -9
  13. package/dist-es/commands/DescribeOrganizationOverviewCommand.js +3 -9
  14. package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +3 -9
  15. package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +3 -9
  16. package/dist-es/commands/DescribeServiceIntegrationCommand.js +3 -9
  17. package/dist-es/commands/GetCostEstimationCommand.js +3 -9
  18. package/dist-es/commands/GetResourceCollectionCommand.js +3 -9
  19. package/dist-es/commands/ListAnomaliesForInsightCommand.js +3 -9
  20. package/dist-es/commands/ListAnomalousLogGroupsCommand.js +3 -9
  21. package/dist-es/commands/ListEventsCommand.js +3 -9
  22. package/dist-es/commands/ListInsightsCommand.js +3 -9
  23. package/dist-es/commands/ListMonitoredResourcesCommand.js +3 -9
  24. package/dist-es/commands/ListNotificationChannelsCommand.js +3 -9
  25. package/dist-es/commands/ListOrganizationInsightsCommand.js +3 -9
  26. package/dist-es/commands/ListRecommendationsCommand.js +3 -9
  27. package/dist-es/commands/PutFeedbackCommand.js +3 -9
  28. package/dist-es/commands/RemoveNotificationChannelCommand.js +3 -9
  29. package/dist-es/commands/SearchInsightsCommand.js +3 -9
  30. package/dist-es/commands/SearchOrganizationInsightsCommand.js +3 -9
  31. package/dist-es/commands/StartCostEstimationCommand.js +3 -9
  32. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +3 -9
  33. package/dist-es/commands/UpdateResourceCollectionCommand.js +3 -9
  34. package/dist-es/commands/UpdateServiceIntegrationCommand.js +3 -9
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-es/schemas/schemas_0.js +1799 -0
  37. package/dist-types/DevOpsGuruClient.d.ts +10 -1
  38. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -0
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  42. package/dist-types/schemas/schemas_0.d.ts +251 -0
  43. package/dist-types/ts3.4/DevOpsGuruClient.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +256 -0
  49. package/package.json +2 -3
  50. package/dist-es/protocols/Aws_restJson1.js +0 -1497
  51. package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListRecommendationsCommand, se_ListRecommendationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListRecommendations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRecommendationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "ListRecommendations", {})
17
13
  .n("DevOpsGuruClient", "ListRecommendationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRecommendationsCommand)
20
- .de(de_ListRecommendationsCommand)
14
+ .sc(ListRecommendations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutFeedbackCommand, se_PutFeedbackCommand } from "../protocols/Aws_restJson1";
4
+ import { PutFeedback } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutFeedbackCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "PutFeedback", {})
17
13
  .n("DevOpsGuruClient", "PutFeedbackCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutFeedbackCommand)
20
- .de(de_PutFeedbackCommand)
14
+ .sc(PutFeedback)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveNotificationChannelCommand, se_RemoveNotificationChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { RemoveNotificationChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveNotificationChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "RemoveNotificationChannel", {})
17
13
  .n("DevOpsGuruClient", "RemoveNotificationChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveNotificationChannelCommand)
20
- .de(de_RemoveNotificationChannelCommand)
14
+ .sc(RemoveNotificationChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SearchInsightsCommand, se_SearchInsightsCommand } from "../protocols/Aws_restJson1";
4
+ import { SearchInsights } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SearchInsightsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "SearchInsights", {})
17
13
  .n("DevOpsGuruClient", "SearchInsightsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SearchInsightsCommand)
20
- .de(de_SearchInsightsCommand)
14
+ .sc(SearchInsights)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SearchOrganizationInsightsCommand, se_SearchOrganizationInsightsCommand } from "../protocols/Aws_restJson1";
4
+ import { SearchOrganizationInsights } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SearchOrganizationInsightsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "SearchOrganizationInsights", {})
17
13
  .n("DevOpsGuruClient", "SearchOrganizationInsightsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SearchOrganizationInsightsCommand)
20
- .de(de_SearchOrganizationInsightsCommand)
14
+ .sc(SearchOrganizationInsights)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartCostEstimationCommand, se_StartCostEstimationCommand } from "../protocols/Aws_restJson1";
4
+ import { StartCostEstimation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartCostEstimationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "StartCostEstimation", {})
17
13
  .n("DevOpsGuruClient", "StartCostEstimationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartCostEstimationCommand)
20
- .de(de_StartCostEstimationCommand)
14
+ .sc(StartCostEstimation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEventSourcesConfigCommand, se_UpdateEventSourcesConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEventSourcesConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEventSourcesConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "UpdateEventSourcesConfig", {})
17
13
  .n("DevOpsGuruClient", "UpdateEventSourcesConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEventSourcesConfigCommand)
20
- .de(de_UpdateEventSourcesConfigCommand)
14
+ .sc(UpdateEventSourcesConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateResourceCollectionCommand, se_UpdateResourceCollectionCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateResourceCollection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateResourceCollectionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "UpdateResourceCollection", {})
17
13
  .n("DevOpsGuruClient", "UpdateResourceCollectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateResourceCollectionCommand)
20
- .de(de_UpdateResourceCollectionCommand)
14
+ .sc(UpdateResourceCollection)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateServiceIntegrationCommand, se_UpdateServiceIntegrationCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateServiceIntegration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateServiceIntegrationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CapstoneControlPlaneService", "UpdateServiceIntegration", {})
17
13
  .n("DevOpsGuruClient", "UpdateServiceIntegrationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateServiceIntegrationCommand)
20
- .de(de_UpdateServiceIntegrationCommand)
14
+ .sc(UpdateServiceIntegration)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.devopsguru" }),
25
27
  serviceId: config?.serviceId ?? "DevOps Guru",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,