@aws-sdk/client-devops-guru 3.1076.0 → 3.1078.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 (113) hide show
  1. package/dist-cjs/index.js +42 -315
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddNotificationChannelCommand.js +2 -14
  4. package/dist-es/commands/DeleteInsightCommand.js +2 -14
  5. package/dist-es/commands/DescribeAccountHealthCommand.js +2 -14
  6. package/dist-es/commands/DescribeAccountOverviewCommand.js +2 -14
  7. package/dist-es/commands/DescribeAnomalyCommand.js +2 -14
  8. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +2 -14
  9. package/dist-es/commands/DescribeFeedbackCommand.js +2 -14
  10. package/dist-es/commands/DescribeInsightCommand.js +2 -14
  11. package/dist-es/commands/DescribeOrganizationHealthCommand.js +2 -14
  12. package/dist-es/commands/DescribeOrganizationOverviewCommand.js +2 -14
  13. package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +2 -14
  14. package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +2 -14
  15. package/dist-es/commands/DescribeServiceIntegrationCommand.js +2 -14
  16. package/dist-es/commands/GetCostEstimationCommand.js +2 -14
  17. package/dist-es/commands/GetResourceCollectionCommand.js +2 -14
  18. package/dist-es/commands/ListAnomaliesForInsightCommand.js +2 -14
  19. package/dist-es/commands/ListAnomalousLogGroupsCommand.js +2 -14
  20. package/dist-es/commands/ListEventsCommand.js +2 -14
  21. package/dist-es/commands/ListInsightsCommand.js +2 -14
  22. package/dist-es/commands/ListMonitoredResourcesCommand.js +2 -14
  23. package/dist-es/commands/ListNotificationChannelsCommand.js +2 -14
  24. package/dist-es/commands/ListOrganizationInsightsCommand.js +2 -14
  25. package/dist-es/commands/ListRecommendationsCommand.js +2 -14
  26. package/dist-es/commands/PutFeedbackCommand.js +2 -14
  27. package/dist-es/commands/RemoveNotificationChannelCommand.js +2 -14
  28. package/dist-es/commands/SearchInsightsCommand.js +2 -14
  29. package/dist-es/commands/SearchOrganizationInsightsCommand.js +2 -14
  30. package/dist-es/commands/StartCostEstimationCommand.js +2 -14
  31. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +2 -14
  32. package/dist-es/commands/UpdateResourceCollectionCommand.js +2 -14
  33. package/dist-es/commands/UpdateServiceIntegrationCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.browser.js +0 -2
  36. package/dist-es/runtimeConfig.js +1 -2
  37. package/dist-es/runtimeConfig.native.js +0 -2
  38. package/dist-es/runtimeConfig.shared.js +2 -0
  39. package/dist-types/commandBuilder.d.ts +18 -0
  40. package/dist-types/commands/AddNotificationChannelCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteInsightCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeAccountHealthCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeAccountOverviewCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeAnomalyCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +3 -8
  46. package/dist-types/commands/DescribeFeedbackCommand.d.ts +3 -8
  47. package/dist-types/commands/DescribeInsightCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeOrganizationHealthCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeOrganizationOverviewCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeResourceCollectionHealthCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeServiceIntegrationCommand.d.ts +3 -8
  53. package/dist-types/commands/GetCostEstimationCommand.d.ts +3 -8
  54. package/dist-types/commands/GetResourceCollectionCommand.d.ts +3 -8
  55. package/dist-types/commands/ListAnomaliesForInsightCommand.d.ts +3 -8
  56. package/dist-types/commands/ListAnomalousLogGroupsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListEventsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListInsightsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListMonitoredResourcesCommand.d.ts +3 -8
  60. package/dist-types/commands/ListNotificationChannelsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListOrganizationInsightsCommand.d.ts +3 -8
  62. package/dist-types/commands/ListRecommendationsCommand.d.ts +3 -8
  63. package/dist-types/commands/PutFeedbackCommand.d.ts +3 -8
  64. package/dist-types/commands/RemoveNotificationChannelCommand.d.ts +3 -8
  65. package/dist-types/commands/SearchInsightsCommand.d.ts +3 -8
  66. package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +3 -8
  67. package/dist-types/commands/StartCostEstimationCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateResourceCollectionCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateServiceIntegrationCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/runtimeConfig.d.ts +1 -1
  74. package/dist-types/runtimeConfig.native.d.ts +1 -1
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/AddNotificationChannelCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DescribeAccountHealthCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DescribeAccountOverviewCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DescribeAnomalyCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DescribeFeedbackCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DescribeOrganizationHealthCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DescribeOrganizationOverviewCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeResourceCollectionHealthCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeServiceIntegrationCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetCostEstimationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetResourceCollectionCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListAnomaliesForInsightCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListAnomalousLogGroupsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListMonitoredResourcesCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListNotificationChannelsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListOrganizationInsightsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/SearchInsightsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/SearchOrganizationInsightsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/StartCostEstimationCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/UpdateResourceCollectionCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UpdateServiceIntegrationCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/index.d.ts +1 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  113. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeOrganizationOverview$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeOrganizationOverviewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeOrganizationOverview", {})
13
- .n("DevOpsGuruClient", "DescribeOrganizationOverviewCommand")
14
- .sc(DescribeOrganizationOverview$)
15
- .build() {
3
+ export class DescribeOrganizationOverviewCommand extends command(_ep0, _mw0, "DescribeOrganizationOverview", DescribeOrganizationOverview$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeOrganizationResourceCollectionHealth$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeOrganizationResourceCollectionHealthCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeOrganizationResourceCollectionHealth", {})
13
- .n("DevOpsGuruClient", "DescribeOrganizationResourceCollectionHealthCommand")
14
- .sc(DescribeOrganizationResourceCollectionHealth$)
15
- .build() {
3
+ export class DescribeOrganizationResourceCollectionHealthCommand extends command(_ep0, _mw0, "DescribeOrganizationResourceCollectionHealth", DescribeOrganizationResourceCollectionHealth$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeResourceCollectionHealth$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeResourceCollectionHealthCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeResourceCollectionHealth", {})
13
- .n("DevOpsGuruClient", "DescribeResourceCollectionHealthCommand")
14
- .sc(DescribeResourceCollectionHealth$)
15
- .build() {
3
+ export class DescribeResourceCollectionHealthCommand extends command(_ep0, _mw0, "DescribeResourceCollectionHealth", DescribeResourceCollectionHealth$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeServiceIntegration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeServiceIntegrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeServiceIntegration", {})
13
- .n("DevOpsGuruClient", "DescribeServiceIntegrationCommand")
14
- .sc(DescribeServiceIntegration$)
15
- .build() {
3
+ export class DescribeServiceIntegrationCommand extends command(_ep0, _mw0, "DescribeServiceIntegration", DescribeServiceIntegration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCostEstimation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCostEstimationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "GetCostEstimation", {})
13
- .n("DevOpsGuruClient", "GetCostEstimationCommand")
14
- .sc(GetCostEstimation$)
15
- .build() {
3
+ export class GetCostEstimationCommand extends command(_ep0, _mw0, "GetCostEstimation", GetCostEstimation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetResourceCollection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourceCollectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "GetResourceCollection", {})
13
- .n("DevOpsGuruClient", "GetResourceCollectionCommand")
14
- .sc(GetResourceCollection$)
15
- .build() {
3
+ export class GetResourceCollectionCommand extends command(_ep0, _mw0, "GetResourceCollection", GetResourceCollection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAnomaliesForInsight$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAnomaliesForInsightCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "ListAnomaliesForInsight", {})
13
- .n("DevOpsGuruClient", "ListAnomaliesForInsightCommand")
14
- .sc(ListAnomaliesForInsight$)
15
- .build() {
3
+ export class ListAnomaliesForInsightCommand extends command(_ep0, _mw0, "ListAnomaliesForInsight", ListAnomaliesForInsight$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAnomalousLogGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAnomalousLogGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "ListAnomalousLogGroups", {})
13
- .n("DevOpsGuruClient", "ListAnomalousLogGroupsCommand")
14
- .sc(ListAnomalousLogGroups$)
15
- .build() {
3
+ export class ListAnomalousLogGroupsCommand extends command(_ep0, _mw0, "ListAnomalousLogGroups", ListAnomalousLogGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "ListEvents", {})
13
- .n("DevOpsGuruClient", "ListEventsCommand")
14
- .sc(ListEvents$)
15
- .build() {
3
+ export class ListEventsCommand extends command(_ep0, _mw0, "ListEvents", ListEvents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListInsights$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListInsightsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "ListInsights", {})
13
- .n("DevOpsGuruClient", "ListInsightsCommand")
14
- .sc(ListInsights$)
15
- .build() {
3
+ export class ListInsightsCommand extends command(_ep0, _mw0, "ListInsights", ListInsights$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListMonitoredResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMonitoredResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "ListMonitoredResources", {})
13
- .n("DevOpsGuruClient", "ListMonitoredResourcesCommand")
14
- .sc(ListMonitoredResources$)
15
- .build() {
3
+ export class ListMonitoredResourcesCommand extends command(_ep0, _mw0, "ListMonitoredResources", ListMonitoredResources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListNotificationChannels$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListNotificationChannelsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "ListNotificationChannels", {})
13
- .n("DevOpsGuruClient", "ListNotificationChannelsCommand")
14
- .sc(ListNotificationChannels$)
15
- .build() {
3
+ export class ListNotificationChannelsCommand extends command(_ep0, _mw0, "ListNotificationChannels", ListNotificationChannels$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListOrganizationInsights$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListOrganizationInsightsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "ListOrganizationInsights", {})
13
- .n("DevOpsGuruClient", "ListOrganizationInsightsCommand")
14
- .sc(ListOrganizationInsights$)
15
- .build() {
3
+ export class ListOrganizationInsightsCommand extends command(_ep0, _mw0, "ListOrganizationInsights", ListOrganizationInsights$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRecommendations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRecommendationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "ListRecommendations", {})
13
- .n("DevOpsGuruClient", "ListRecommendationsCommand")
14
- .sc(ListRecommendations$)
15
- .build() {
3
+ export class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutFeedback$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutFeedbackCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "PutFeedback", {})
13
- .n("DevOpsGuruClient", "PutFeedbackCommand")
14
- .sc(PutFeedback$)
15
- .build() {
3
+ export class PutFeedbackCommand extends command(_ep0, _mw0, "PutFeedback", PutFeedback$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemoveNotificationChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveNotificationChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "RemoveNotificationChannel", {})
13
- .n("DevOpsGuruClient", "RemoveNotificationChannelCommand")
14
- .sc(RemoveNotificationChannel$)
15
- .build() {
3
+ export class RemoveNotificationChannelCommand extends command(_ep0, _mw0, "RemoveNotificationChannel", RemoveNotificationChannel$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SearchInsights$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchInsightsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "SearchInsights", {})
13
- .n("DevOpsGuruClient", "SearchInsightsCommand")
14
- .sc(SearchInsights$)
15
- .build() {
3
+ export class SearchInsightsCommand extends command(_ep0, _mw0, "SearchInsights", SearchInsights$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SearchOrganizationInsights$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchOrganizationInsightsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "SearchOrganizationInsights", {})
13
- .n("DevOpsGuruClient", "SearchOrganizationInsightsCommand")
14
- .sc(SearchOrganizationInsights$)
15
- .build() {
3
+ export class SearchOrganizationInsightsCommand extends command(_ep0, _mw0, "SearchOrganizationInsights", SearchOrganizationInsights$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartCostEstimation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartCostEstimationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "StartCostEstimation", {})
13
- .n("DevOpsGuruClient", "StartCostEstimationCommand")
14
- .sc(StartCostEstimation$)
15
- .build() {
3
+ export class StartCostEstimationCommand extends command(_ep0, _mw0, "StartCostEstimation", StartCostEstimation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateEventSourcesConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEventSourcesConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "UpdateEventSourcesConfig", {})
13
- .n("DevOpsGuruClient", "UpdateEventSourcesConfigCommand")
14
- .sc(UpdateEventSourcesConfig$)
15
- .build() {
3
+ export class UpdateEventSourcesConfigCommand extends command(_ep0, _mw0, "UpdateEventSourcesConfig", UpdateEventSourcesConfig$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateResourceCollection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateResourceCollectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "UpdateResourceCollection", {})
13
- .n("DevOpsGuruClient", "UpdateResourceCollectionCommand")
14
- .sc(UpdateResourceCollection$)
15
- .build() {
3
+ export class UpdateResourceCollectionCommand extends command(_ep0, _mw0, "UpdateResourceCollection", UpdateResourceCollection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateServiceIntegration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateServiceIntegrationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "UpdateServiceIntegration", {})
13
- .n("DevOpsGuruClient", "UpdateServiceIntegrationCommand")
14
- .sc(UpdateServiceIntegration$)
15
- .build() {
3
+ export class UpdateServiceIntegrationCommand extends command(_ep0, _mw0, "UpdateServiceIntegration", UpdateServiceIntegration$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./DevOpsGuruClient";
2
2
  export * from "./DevOpsGuru";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "CapstoneControlPlaneService",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "DevOps Guru",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./DevOpsGuruClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
2
  import type { AddNotificationChannelRequest, AddNotificationChannelResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AddNotificationChannelCommandInput extends AddNotificationChann
22
19
  export interface AddNotificationChannelCommandOutput extends AddNotificationChannelResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AddNotificationChannelCommand_base: {
25
- new (input: AddNotificationChannelCommandInput): import("@smithy/core/client").CommandImpl<AddNotificationChannelCommandInput, AddNotificationChannelCommandOutput, DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AddNotificationChannelCommandInput): import("@smithy/core/client").CommandImpl<AddNotificationChannelCommandInput, AddNotificationChannelCommandOutput, DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AddNotificationChannelCommandInput): import("@smithy/core/client").CommandImpl<AddNotificationChannelCommandInput, AddNotificationChannelCommandOutput, import("..").DevOpsGuruClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AddNotificationChannelCommandInput): import("@smithy/core/client").CommandImpl<AddNotificationChannelCommandInput, AddNotificationChannelCommandOutput, import("..").DevOpsGuruClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p> Adds a notification channel to DevOps Guru. A notification channel is used to notify you
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
2
  import type { DeleteInsightRequest, DeleteInsightResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteInsightCommandInput extends DeleteInsightRequest {
22
19
  export interface DeleteInsightCommandOutput extends DeleteInsightResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteInsightCommand_base: {
25
- new (input: DeleteInsightCommandInput): import("@smithy/core/client").CommandImpl<DeleteInsightCommandInput, DeleteInsightCommandOutput, DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteInsightCommandInput): import("@smithy/core/client").CommandImpl<DeleteInsightCommandInput, DeleteInsightCommandOutput, DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteInsightCommandInput): import("@smithy/core/client").CommandImpl<DeleteInsightCommandInput, DeleteInsightCommandOutput, import("..").DevOpsGuruClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteInsightCommandInput): import("@smithy/core/client").CommandImpl<DeleteInsightCommandInput, DeleteInsightCommandOutput, import("..").DevOpsGuruClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the insight along with the associated anomalies, events and recommendations.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
2
  import type { DescribeAccountHealthRequest, DescribeAccountHealthResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeAccountHealthCommandInput extends DescribeAccountHealth
22
19
  export interface DescribeAccountHealthCommandOutput extends DescribeAccountHealthResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeAccountHealthCommand_base: {
25
- new (input: DescribeAccountHealthCommandInput): import("@smithy/core/client").CommandImpl<DescribeAccountHealthCommandInput, DescribeAccountHealthCommandOutput, DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeAccountHealthCommandInput]): import("@smithy/core/client").CommandImpl<DescribeAccountHealthCommandInput, DescribeAccountHealthCommandOutput, DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeAccountHealthCommandInput): import("@smithy/core/client").CommandImpl<DescribeAccountHealthCommandInput, DescribeAccountHealthCommandOutput, import("..").DevOpsGuruClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [DescribeAccountHealthCommandInput]): import("@smithy/core/client").CommandImpl<DescribeAccountHealthCommandInput, DescribeAccountHealthCommandOutput, import("..").DevOpsGuruClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p> Returns the number of open reactive insights, the number of open proactive insights,