@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
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultDevOpsGuruHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1683,6 +1685,7 @@ const getRuntimeConfig$1 = (config) => {
1683
1685
  serviceTarget: "CapstoneControlPlaneService",
1684
1686
  },
1685
1687
  serviceId: config?.serviceId ?? "DevOps Guru",
1688
+ sha256: config?.sha256 ?? Sha256,
1686
1689
  urlParser: config?.urlParser ?? parseUrl,
1687
1690
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1688
1691
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1716,7 +1719,6 @@ const getRuntimeConfig = (config) => {
1716
1719
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1717
1720
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1718
1721
  }, config),
1719
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1720
1722
  streamCollector: config?.streamCollector ?? streamCollector,
1721
1723
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1722
1724
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1804,376 +1806,101 @@ class DevOpsGuruClient extends Client {
1804
1806
  }
1805
1807
  }
1806
1808
 
1807
- class AddNotificationChannelCommand extends Command
1808
- .classBuilder()
1809
- .ep(commonParams)
1810
- .m(function (Command, cs, config, o) {
1811
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1812
- })
1813
- .s("CapstoneControlPlaneService", "AddNotificationChannel", {})
1814
- .n("DevOpsGuruClient", "AddNotificationChannelCommand")
1815
- .sc(AddNotificationChannel$)
1816
- .build() {
1809
+ const command = makeBuilder(commonParams, "CapstoneControlPlaneService", "DevOpsGuruClient", getEndpointPlugin);
1810
+ const _ep0 = {};
1811
+ const _mw0 = (Command, cs, config, o) => [];
1812
+
1813
+ class AddNotificationChannelCommand extends command(_ep0, _mw0, "AddNotificationChannel", AddNotificationChannel$) {
1817
1814
  }
1818
1815
 
1819
- class DeleteInsightCommand extends Command
1820
- .classBuilder()
1821
- .ep(commonParams)
1822
- .m(function (Command, cs, config, o) {
1823
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1824
- })
1825
- .s("CapstoneControlPlaneService", "DeleteInsight", {})
1826
- .n("DevOpsGuruClient", "DeleteInsightCommand")
1827
- .sc(DeleteInsight$)
1828
- .build() {
1816
+ class DeleteInsightCommand extends command(_ep0, _mw0, "DeleteInsight", DeleteInsight$) {
1829
1817
  }
1830
1818
 
1831
- class DescribeAccountHealthCommand extends Command
1832
- .classBuilder()
1833
- .ep(commonParams)
1834
- .m(function (Command, cs, config, o) {
1835
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1836
- })
1837
- .s("CapstoneControlPlaneService", "DescribeAccountHealth", {})
1838
- .n("DevOpsGuruClient", "DescribeAccountHealthCommand")
1839
- .sc(DescribeAccountHealth$)
1840
- .build() {
1819
+ class DescribeAccountHealthCommand extends command(_ep0, _mw0, "DescribeAccountHealth", DescribeAccountHealth$) {
1841
1820
  }
1842
1821
 
1843
- class DescribeAccountOverviewCommand extends Command
1844
- .classBuilder()
1845
- .ep(commonParams)
1846
- .m(function (Command, cs, config, o) {
1847
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1848
- })
1849
- .s("CapstoneControlPlaneService", "DescribeAccountOverview", {})
1850
- .n("DevOpsGuruClient", "DescribeAccountOverviewCommand")
1851
- .sc(DescribeAccountOverview$)
1852
- .build() {
1822
+ class DescribeAccountOverviewCommand extends command(_ep0, _mw0, "DescribeAccountOverview", DescribeAccountOverview$) {
1853
1823
  }
1854
1824
 
1855
- class DescribeAnomalyCommand extends Command
1856
- .classBuilder()
1857
- .ep(commonParams)
1858
- .m(function (Command, cs, config, o) {
1859
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1860
- })
1861
- .s("CapstoneControlPlaneService", "DescribeAnomaly", {})
1862
- .n("DevOpsGuruClient", "DescribeAnomalyCommand")
1863
- .sc(DescribeAnomaly$)
1864
- .build() {
1825
+ class DescribeAnomalyCommand extends command(_ep0, _mw0, "DescribeAnomaly", DescribeAnomaly$) {
1865
1826
  }
1866
1827
 
1867
- class DescribeEventSourcesConfigCommand extends Command
1868
- .classBuilder()
1869
- .ep(commonParams)
1870
- .m(function (Command, cs, config, o) {
1871
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1872
- })
1873
- .s("CapstoneControlPlaneService", "DescribeEventSourcesConfig", {})
1874
- .n("DevOpsGuruClient", "DescribeEventSourcesConfigCommand")
1875
- .sc(DescribeEventSourcesConfig$)
1876
- .build() {
1828
+ class DescribeEventSourcesConfigCommand extends command(_ep0, _mw0, "DescribeEventSourcesConfig", DescribeEventSourcesConfig$) {
1877
1829
  }
1878
1830
 
1879
- class DescribeFeedbackCommand extends Command
1880
- .classBuilder()
1881
- .ep(commonParams)
1882
- .m(function (Command, cs, config, o) {
1883
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1884
- })
1885
- .s("CapstoneControlPlaneService", "DescribeFeedback", {})
1886
- .n("DevOpsGuruClient", "DescribeFeedbackCommand")
1887
- .sc(DescribeFeedback$)
1888
- .build() {
1831
+ class DescribeFeedbackCommand extends command(_ep0, _mw0, "DescribeFeedback", DescribeFeedback$) {
1889
1832
  }
1890
1833
 
1891
- class DescribeInsightCommand extends Command
1892
- .classBuilder()
1893
- .ep(commonParams)
1894
- .m(function (Command, cs, config, o) {
1895
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1896
- })
1897
- .s("CapstoneControlPlaneService", "DescribeInsight", {})
1898
- .n("DevOpsGuruClient", "DescribeInsightCommand")
1899
- .sc(DescribeInsight$)
1900
- .build() {
1834
+ class DescribeInsightCommand extends command(_ep0, _mw0, "DescribeInsight", DescribeInsight$) {
1901
1835
  }
1902
1836
 
1903
- class DescribeOrganizationHealthCommand extends Command
1904
- .classBuilder()
1905
- .ep(commonParams)
1906
- .m(function (Command, cs, config, o) {
1907
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1908
- })
1909
- .s("CapstoneControlPlaneService", "DescribeOrganizationHealth", {})
1910
- .n("DevOpsGuruClient", "DescribeOrganizationHealthCommand")
1911
- .sc(DescribeOrganizationHealth$)
1912
- .build() {
1837
+ class DescribeOrganizationHealthCommand extends command(_ep0, _mw0, "DescribeOrganizationHealth", DescribeOrganizationHealth$) {
1913
1838
  }
1914
1839
 
1915
- class DescribeOrganizationOverviewCommand extends Command
1916
- .classBuilder()
1917
- .ep(commonParams)
1918
- .m(function (Command, cs, config, o) {
1919
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1920
- })
1921
- .s("CapstoneControlPlaneService", "DescribeOrganizationOverview", {})
1922
- .n("DevOpsGuruClient", "DescribeOrganizationOverviewCommand")
1923
- .sc(DescribeOrganizationOverview$)
1924
- .build() {
1840
+ class DescribeOrganizationOverviewCommand extends command(_ep0, _mw0, "DescribeOrganizationOverview", DescribeOrganizationOverview$) {
1925
1841
  }
1926
1842
 
1927
- class DescribeOrganizationResourceCollectionHealthCommand extends Command
1928
- .classBuilder()
1929
- .ep(commonParams)
1930
- .m(function (Command, cs, config, o) {
1931
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1932
- })
1933
- .s("CapstoneControlPlaneService", "DescribeOrganizationResourceCollectionHealth", {})
1934
- .n("DevOpsGuruClient", "DescribeOrganizationResourceCollectionHealthCommand")
1935
- .sc(DescribeOrganizationResourceCollectionHealth$)
1936
- .build() {
1843
+ class DescribeOrganizationResourceCollectionHealthCommand extends command(_ep0, _mw0, "DescribeOrganizationResourceCollectionHealth", DescribeOrganizationResourceCollectionHealth$) {
1937
1844
  }
1938
1845
 
1939
- class DescribeResourceCollectionHealthCommand extends Command
1940
- .classBuilder()
1941
- .ep(commonParams)
1942
- .m(function (Command, cs, config, o) {
1943
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1944
- })
1945
- .s("CapstoneControlPlaneService", "DescribeResourceCollectionHealth", {})
1946
- .n("DevOpsGuruClient", "DescribeResourceCollectionHealthCommand")
1947
- .sc(DescribeResourceCollectionHealth$)
1948
- .build() {
1846
+ class DescribeResourceCollectionHealthCommand extends command(_ep0, _mw0, "DescribeResourceCollectionHealth", DescribeResourceCollectionHealth$) {
1949
1847
  }
1950
1848
 
1951
- class DescribeServiceIntegrationCommand extends Command
1952
- .classBuilder()
1953
- .ep(commonParams)
1954
- .m(function (Command, cs, config, o) {
1955
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1956
- })
1957
- .s("CapstoneControlPlaneService", "DescribeServiceIntegration", {})
1958
- .n("DevOpsGuruClient", "DescribeServiceIntegrationCommand")
1959
- .sc(DescribeServiceIntegration$)
1960
- .build() {
1849
+ class DescribeServiceIntegrationCommand extends command(_ep0, _mw0, "DescribeServiceIntegration", DescribeServiceIntegration$) {
1961
1850
  }
1962
1851
 
1963
- class GetCostEstimationCommand extends Command
1964
- .classBuilder()
1965
- .ep(commonParams)
1966
- .m(function (Command, cs, config, o) {
1967
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1968
- })
1969
- .s("CapstoneControlPlaneService", "GetCostEstimation", {})
1970
- .n("DevOpsGuruClient", "GetCostEstimationCommand")
1971
- .sc(GetCostEstimation$)
1972
- .build() {
1852
+ class GetCostEstimationCommand extends command(_ep0, _mw0, "GetCostEstimation", GetCostEstimation$) {
1973
1853
  }
1974
1854
 
1975
- class GetResourceCollectionCommand extends Command
1976
- .classBuilder()
1977
- .ep(commonParams)
1978
- .m(function (Command, cs, config, o) {
1979
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1980
- })
1981
- .s("CapstoneControlPlaneService", "GetResourceCollection", {})
1982
- .n("DevOpsGuruClient", "GetResourceCollectionCommand")
1983
- .sc(GetResourceCollection$)
1984
- .build() {
1855
+ class GetResourceCollectionCommand extends command(_ep0, _mw0, "GetResourceCollection", GetResourceCollection$) {
1985
1856
  }
1986
1857
 
1987
- class ListAnomaliesForInsightCommand extends Command
1988
- .classBuilder()
1989
- .ep(commonParams)
1990
- .m(function (Command, cs, config, o) {
1991
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1992
- })
1993
- .s("CapstoneControlPlaneService", "ListAnomaliesForInsight", {})
1994
- .n("DevOpsGuruClient", "ListAnomaliesForInsightCommand")
1995
- .sc(ListAnomaliesForInsight$)
1996
- .build() {
1858
+ class ListAnomaliesForInsightCommand extends command(_ep0, _mw0, "ListAnomaliesForInsight", ListAnomaliesForInsight$) {
1997
1859
  }
1998
1860
 
1999
- class ListAnomalousLogGroupsCommand extends Command
2000
- .classBuilder()
2001
- .ep(commonParams)
2002
- .m(function (Command, cs, config, o) {
2003
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2004
- })
2005
- .s("CapstoneControlPlaneService", "ListAnomalousLogGroups", {})
2006
- .n("DevOpsGuruClient", "ListAnomalousLogGroupsCommand")
2007
- .sc(ListAnomalousLogGroups$)
2008
- .build() {
1861
+ class ListAnomalousLogGroupsCommand extends command(_ep0, _mw0, "ListAnomalousLogGroups", ListAnomalousLogGroups$) {
2009
1862
  }
2010
1863
 
2011
- class ListEventsCommand extends Command
2012
- .classBuilder()
2013
- .ep(commonParams)
2014
- .m(function (Command, cs, config, o) {
2015
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2016
- })
2017
- .s("CapstoneControlPlaneService", "ListEvents", {})
2018
- .n("DevOpsGuruClient", "ListEventsCommand")
2019
- .sc(ListEvents$)
2020
- .build() {
1864
+ class ListEventsCommand extends command(_ep0, _mw0, "ListEvents", ListEvents$) {
2021
1865
  }
2022
1866
 
2023
- class ListInsightsCommand extends Command
2024
- .classBuilder()
2025
- .ep(commonParams)
2026
- .m(function (Command, cs, config, o) {
2027
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2028
- })
2029
- .s("CapstoneControlPlaneService", "ListInsights", {})
2030
- .n("DevOpsGuruClient", "ListInsightsCommand")
2031
- .sc(ListInsights$)
2032
- .build() {
1867
+ class ListInsightsCommand extends command(_ep0, _mw0, "ListInsights", ListInsights$) {
2033
1868
  }
2034
1869
 
2035
- class ListMonitoredResourcesCommand extends Command
2036
- .classBuilder()
2037
- .ep(commonParams)
2038
- .m(function (Command, cs, config, o) {
2039
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2040
- })
2041
- .s("CapstoneControlPlaneService", "ListMonitoredResources", {})
2042
- .n("DevOpsGuruClient", "ListMonitoredResourcesCommand")
2043
- .sc(ListMonitoredResources$)
2044
- .build() {
1870
+ class ListMonitoredResourcesCommand extends command(_ep0, _mw0, "ListMonitoredResources", ListMonitoredResources$) {
2045
1871
  }
2046
1872
 
2047
- class ListNotificationChannelsCommand extends Command
2048
- .classBuilder()
2049
- .ep(commonParams)
2050
- .m(function (Command, cs, config, o) {
2051
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2052
- })
2053
- .s("CapstoneControlPlaneService", "ListNotificationChannels", {})
2054
- .n("DevOpsGuruClient", "ListNotificationChannelsCommand")
2055
- .sc(ListNotificationChannels$)
2056
- .build() {
1873
+ class ListNotificationChannelsCommand extends command(_ep0, _mw0, "ListNotificationChannels", ListNotificationChannels$) {
2057
1874
  }
2058
1875
 
2059
- class ListOrganizationInsightsCommand extends Command
2060
- .classBuilder()
2061
- .ep(commonParams)
2062
- .m(function (Command, cs, config, o) {
2063
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2064
- })
2065
- .s("CapstoneControlPlaneService", "ListOrganizationInsights", {})
2066
- .n("DevOpsGuruClient", "ListOrganizationInsightsCommand")
2067
- .sc(ListOrganizationInsights$)
2068
- .build() {
1876
+ class ListOrganizationInsightsCommand extends command(_ep0, _mw0, "ListOrganizationInsights", ListOrganizationInsights$) {
2069
1877
  }
2070
1878
 
2071
- class ListRecommendationsCommand extends Command
2072
- .classBuilder()
2073
- .ep(commonParams)
2074
- .m(function (Command, cs, config, o) {
2075
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2076
- })
2077
- .s("CapstoneControlPlaneService", "ListRecommendations", {})
2078
- .n("DevOpsGuruClient", "ListRecommendationsCommand")
2079
- .sc(ListRecommendations$)
2080
- .build() {
1879
+ class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
2081
1880
  }
2082
1881
 
2083
- class PutFeedbackCommand extends Command
2084
- .classBuilder()
2085
- .ep(commonParams)
2086
- .m(function (Command, cs, config, o) {
2087
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2088
- })
2089
- .s("CapstoneControlPlaneService", "PutFeedback", {})
2090
- .n("DevOpsGuruClient", "PutFeedbackCommand")
2091
- .sc(PutFeedback$)
2092
- .build() {
1882
+ class PutFeedbackCommand extends command(_ep0, _mw0, "PutFeedback", PutFeedback$) {
2093
1883
  }
2094
1884
 
2095
- class RemoveNotificationChannelCommand extends Command
2096
- .classBuilder()
2097
- .ep(commonParams)
2098
- .m(function (Command, cs, config, o) {
2099
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2100
- })
2101
- .s("CapstoneControlPlaneService", "RemoveNotificationChannel", {})
2102
- .n("DevOpsGuruClient", "RemoveNotificationChannelCommand")
2103
- .sc(RemoveNotificationChannel$)
2104
- .build() {
1885
+ class RemoveNotificationChannelCommand extends command(_ep0, _mw0, "RemoveNotificationChannel", RemoveNotificationChannel$) {
2105
1886
  }
2106
1887
 
2107
- class SearchInsightsCommand extends Command
2108
- .classBuilder()
2109
- .ep(commonParams)
2110
- .m(function (Command, cs, config, o) {
2111
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2112
- })
2113
- .s("CapstoneControlPlaneService", "SearchInsights", {})
2114
- .n("DevOpsGuruClient", "SearchInsightsCommand")
2115
- .sc(SearchInsights$)
2116
- .build() {
1888
+ class SearchInsightsCommand extends command(_ep0, _mw0, "SearchInsights", SearchInsights$) {
2117
1889
  }
2118
1890
 
2119
- class SearchOrganizationInsightsCommand extends Command
2120
- .classBuilder()
2121
- .ep(commonParams)
2122
- .m(function (Command, cs, config, o) {
2123
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2124
- })
2125
- .s("CapstoneControlPlaneService", "SearchOrganizationInsights", {})
2126
- .n("DevOpsGuruClient", "SearchOrganizationInsightsCommand")
2127
- .sc(SearchOrganizationInsights$)
2128
- .build() {
1891
+ class SearchOrganizationInsightsCommand extends command(_ep0, _mw0, "SearchOrganizationInsights", SearchOrganizationInsights$) {
2129
1892
  }
2130
1893
 
2131
- class StartCostEstimationCommand extends Command
2132
- .classBuilder()
2133
- .ep(commonParams)
2134
- .m(function (Command, cs, config, o) {
2135
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2136
- })
2137
- .s("CapstoneControlPlaneService", "StartCostEstimation", {})
2138
- .n("DevOpsGuruClient", "StartCostEstimationCommand")
2139
- .sc(StartCostEstimation$)
2140
- .build() {
1894
+ class StartCostEstimationCommand extends command(_ep0, _mw0, "StartCostEstimation", StartCostEstimation$) {
2141
1895
  }
2142
1896
 
2143
- class UpdateEventSourcesConfigCommand extends Command
2144
- .classBuilder()
2145
- .ep(commonParams)
2146
- .m(function (Command, cs, config, o) {
2147
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2148
- })
2149
- .s("CapstoneControlPlaneService", "UpdateEventSourcesConfig", {})
2150
- .n("DevOpsGuruClient", "UpdateEventSourcesConfigCommand")
2151
- .sc(UpdateEventSourcesConfig$)
2152
- .build() {
1897
+ class UpdateEventSourcesConfigCommand extends command(_ep0, _mw0, "UpdateEventSourcesConfig", UpdateEventSourcesConfig$) {
2153
1898
  }
2154
1899
 
2155
- class UpdateResourceCollectionCommand extends Command
2156
- .classBuilder()
2157
- .ep(commonParams)
2158
- .m(function (Command, cs, config, o) {
2159
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2160
- })
2161
- .s("CapstoneControlPlaneService", "UpdateResourceCollection", {})
2162
- .n("DevOpsGuruClient", "UpdateResourceCollectionCommand")
2163
- .sc(UpdateResourceCollection$)
2164
- .build() {
1900
+ class UpdateResourceCollectionCommand extends command(_ep0, _mw0, "UpdateResourceCollection", UpdateResourceCollection$) {
2165
1901
  }
2166
1902
 
2167
- class UpdateServiceIntegrationCommand extends Command
2168
- .classBuilder()
2169
- .ep(commonParams)
2170
- .m(function (Command, cs, config, o) {
2171
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2172
- })
2173
- .s("CapstoneControlPlaneService", "UpdateServiceIntegration", {})
2174
- .n("DevOpsGuruClient", "UpdateServiceIntegrationCommand")
2175
- .sc(UpdateServiceIntegration$)
2176
- .build() {
1903
+ class UpdateServiceIntegrationCommand extends command(_ep0, _mw0, "UpdateServiceIntegration", UpdateServiceIntegration$) {
2177
1904
  }
2178
1905
 
2179
1906
  const paginateDescribeOrganizationResourceCollectionHealth = createPaginator(DevOpsGuruClient, DescribeOrganizationResourceCollectionHealthCommand, "NextToken", "NextToken", "");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "CapstoneControlPlaneService", "DevOpsGuruClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -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 { AddNotificationChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddNotificationChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "AddNotificationChannel", {})
13
- .n("DevOpsGuruClient", "AddNotificationChannelCommand")
14
- .sc(AddNotificationChannel$)
15
- .build() {
3
+ export class AddNotificationChannelCommand extends command(_ep0, _mw0, "AddNotificationChannel", AddNotificationChannel$) {
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 { DeleteInsight$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteInsightCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DeleteInsight", {})
13
- .n("DevOpsGuruClient", "DeleteInsightCommand")
14
- .sc(DeleteInsight$)
15
- .build() {
3
+ export class DeleteInsightCommand extends command(_ep0, _mw0, "DeleteInsight", DeleteInsight$) {
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 { DescribeAccountHealth$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAccountHealthCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeAccountHealth", {})
13
- .n("DevOpsGuruClient", "DescribeAccountHealthCommand")
14
- .sc(DescribeAccountHealth$)
15
- .build() {
3
+ export class DescribeAccountHealthCommand extends command(_ep0, _mw0, "DescribeAccountHealth", DescribeAccountHealth$) {
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 { DescribeAccountOverview$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAccountOverviewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeAccountOverview", {})
13
- .n("DevOpsGuruClient", "DescribeAccountOverviewCommand")
14
- .sc(DescribeAccountOverview$)
15
- .build() {
3
+ export class DescribeAccountOverviewCommand extends command(_ep0, _mw0, "DescribeAccountOverview", DescribeAccountOverview$) {
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 { DescribeAnomaly$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAnomalyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeAnomaly", {})
13
- .n("DevOpsGuruClient", "DescribeAnomalyCommand")
14
- .sc(DescribeAnomaly$)
15
- .build() {
3
+ export class DescribeAnomalyCommand extends command(_ep0, _mw0, "DescribeAnomaly", DescribeAnomaly$) {
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 { DescribeEventSourcesConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEventSourcesConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeEventSourcesConfig", {})
13
- .n("DevOpsGuruClient", "DescribeEventSourcesConfigCommand")
14
- .sc(DescribeEventSourcesConfig$)
15
- .build() {
3
+ export class DescribeEventSourcesConfigCommand extends command(_ep0, _mw0, "DescribeEventSourcesConfig", DescribeEventSourcesConfig$) {
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 { DescribeFeedback$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeFeedbackCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeFeedback", {})
13
- .n("DevOpsGuruClient", "DescribeFeedbackCommand")
14
- .sc(DescribeFeedback$)
15
- .build() {
3
+ export class DescribeFeedbackCommand extends command(_ep0, _mw0, "DescribeFeedback", DescribeFeedback$) {
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 { DescribeInsight$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeInsightCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeInsight", {})
13
- .n("DevOpsGuruClient", "DescribeInsightCommand")
14
- .sc(DescribeInsight$)
15
- .build() {
3
+ export class DescribeInsightCommand extends command(_ep0, _mw0, "DescribeInsight", DescribeInsight$) {
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 { DescribeOrganizationHealth$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeOrganizationHealthCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CapstoneControlPlaneService", "DescribeOrganizationHealth", {})
13
- .n("DevOpsGuruClient", "DescribeOrganizationHealthCommand")
14
- .sc(DescribeOrganizationHealth$)
15
- .build() {
3
+ export class DescribeOrganizationHealthCommand extends command(_ep0, _mw0, "DescribeOrganizationHealth", DescribeOrganizationHealth$) {
16
4
  }