@aws-sdk/client-amp 3.1045.0 → 3.1047.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 (187) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +154 -156
  5. package/dist-cjs/models/AmpServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/Amp.js +1 -1
  10. package/dist-es/AmpClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +2 -2
  13. package/dist-es/commands/CreateAnomalyDetectorCommand.js +2 -2
  14. package/dist-es/commands/CreateLoggingConfigurationCommand.js +2 -2
  15. package/dist-es/commands/CreateQueryLoggingConfigurationCommand.js +2 -2
  16. package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +2 -2
  17. package/dist-es/commands/CreateScraperCommand.js +2 -2
  18. package/dist-es/commands/CreateWorkspaceCommand.js +2 -2
  19. package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +2 -2
  20. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -2
  21. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +2 -2
  22. package/dist-es/commands/DeleteQueryLoggingConfigurationCommand.js +2 -2
  23. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  24. package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +2 -2
  25. package/dist-es/commands/DeleteScraperCommand.js +2 -2
  26. package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +2 -2
  27. package/dist-es/commands/DeleteWorkspaceCommand.js +2 -2
  28. package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +2 -2
  29. package/dist-es/commands/DescribeAnomalyDetectorCommand.js +2 -2
  30. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +2 -2
  31. package/dist-es/commands/DescribeQueryLoggingConfigurationCommand.js +2 -2
  32. package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -2
  33. package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +2 -2
  34. package/dist-es/commands/DescribeScraperCommand.js +2 -2
  35. package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +2 -2
  36. package/dist-es/commands/DescribeWorkspaceCommand.js +2 -2
  37. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +2 -2
  38. package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +2 -2
  39. package/dist-es/commands/ListAnomalyDetectorsCommand.js +2 -2
  40. package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +2 -2
  41. package/dist-es/commands/ListScrapersCommand.js +2 -2
  42. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  43. package/dist-es/commands/ListWorkspacesCommand.js +2 -2
  44. package/dist-es/commands/PutAlertManagerDefinitionCommand.js +2 -2
  45. package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -2
  46. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  47. package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +2 -2
  48. package/dist-es/commands/TagResourceCommand.js +2 -2
  49. package/dist-es/commands/UntagResourceCommand.js +2 -2
  50. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +2 -2
  51. package/dist-es/commands/UpdateQueryLoggingConfigurationCommand.js +2 -2
  52. package/dist-es/commands/UpdateScraperCommand.js +2 -2
  53. package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +2 -2
  54. package/dist-es/commands/UpdateWorkspaceAliasCommand.js +2 -2
  55. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +2 -2
  56. package/dist-es/endpoint/bdd.js +1 -1
  57. package/dist-es/endpoint/endpointResolver.js +1 -1
  58. package/dist-es/models/AmpServiceException.js +1 -1
  59. package/dist-es/runtimeConfig.browser.js +4 -6
  60. package/dist-es/runtimeConfig.js +4 -8
  61. package/dist-es/runtimeConfig.shared.js +3 -4
  62. package/dist-es/runtimeExtensions.js +2 -2
  63. package/dist-es/waiters/waitForAnomalyDetectorActive.js +1 -1
  64. package/dist-es/waiters/waitForAnomalyDetectorDeleted.js +1 -1
  65. package/dist-es/waiters/waitForScraperActive.js +1 -1
  66. package/dist-es/waiters/waitForScraperDeleted.js +1 -1
  67. package/dist-es/waiters/waitForWorkspaceActive.js +1 -1
  68. package/dist-es/waiters/waitForWorkspaceDeleted.js +1 -1
  69. package/dist-types/Amp.d.ts +1 -1
  70. package/dist-types/AmpClient.d.ts +5 -5
  71. package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +6 -4
  72. package/dist-types/commands/CreateAnomalyDetectorCommand.d.ts +6 -4
  73. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +6 -4
  74. package/dist-types/commands/CreateQueryLoggingConfigurationCommand.d.ts +6 -4
  75. package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +6 -4
  76. package/dist-types/commands/CreateScraperCommand.d.ts +6 -4
  77. package/dist-types/commands/CreateWorkspaceCommand.d.ts +6 -4
  78. package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +6 -4
  79. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +6 -4
  80. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +6 -4
  81. package/dist-types/commands/DeleteQueryLoggingConfigurationCommand.d.ts +6 -4
  82. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -4
  83. package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +6 -4
  84. package/dist-types/commands/DeleteScraperCommand.d.ts +6 -4
  85. package/dist-types/commands/DeleteScraperLoggingConfigurationCommand.d.ts +6 -4
  86. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +6 -4
  87. package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +6 -4
  88. package/dist-types/commands/DescribeAnomalyDetectorCommand.d.ts +6 -4
  89. package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +6 -4
  90. package/dist-types/commands/DescribeQueryLoggingConfigurationCommand.d.ts +6 -4
  91. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -4
  92. package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +6 -4
  93. package/dist-types/commands/DescribeScraperCommand.d.ts +6 -4
  94. package/dist-types/commands/DescribeScraperLoggingConfigurationCommand.d.ts +6 -4
  95. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +6 -4
  96. package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +6 -4
  97. package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +6 -4
  98. package/dist-types/commands/ListAnomalyDetectorsCommand.d.ts +6 -4
  99. package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +6 -4
  100. package/dist-types/commands/ListScrapersCommand.d.ts +6 -4
  101. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  102. package/dist-types/commands/ListWorkspacesCommand.d.ts +6 -4
  103. package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +6 -4
  104. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +6 -4
  105. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -4
  106. package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +6 -4
  107. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  108. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  109. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +6 -4
  110. package/dist-types/commands/UpdateQueryLoggingConfigurationCommand.d.ts +6 -4
  111. package/dist-types/commands/UpdateScraperCommand.d.ts +6 -4
  112. package/dist-types/commands/UpdateScraperLoggingConfigurationCommand.d.ts +6 -4
  113. package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +6 -4
  114. package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +6 -4
  115. package/dist-types/endpoint/bdd.d.ts +1 -1
  116. package/dist-types/extensionConfiguration.d.ts +1 -1
  117. package/dist-types/models/AmpServiceException.d.ts +1 -1
  118. package/dist-types/models/errors.d.ts +1 -1
  119. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  120. package/dist-types/runtimeConfig.d.ts +2 -2
  121. package/dist-types/runtimeConfig.native.d.ts +2 -2
  122. package/dist-types/ts3.4/Amp.d.ts +1 -1
  123. package/dist-types/ts3.4/AmpClient.d.ts +8 -14
  124. package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +6 -4
  125. package/dist-types/ts3.4/commands/CreateAnomalyDetectorCommand.d.ts +6 -4
  126. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +6 -4
  127. package/dist-types/ts3.4/commands/CreateQueryLoggingConfigurationCommand.d.ts +6 -4
  128. package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +6 -4
  129. package/dist-types/ts3.4/commands/CreateScraperCommand.d.ts +6 -4
  130. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +6 -4
  131. package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +6 -4
  132. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +6 -4
  133. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +6 -4
  134. package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigurationCommand.d.ts +6 -4
  135. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +6 -4
  136. package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +6 -4
  137. package/dist-types/ts3.4/commands/DeleteScraperCommand.d.ts +6 -4
  138. package/dist-types/ts3.4/commands/DeleteScraperLoggingConfigurationCommand.d.ts +6 -4
  139. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +6 -4
  140. package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +6 -4
  141. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorCommand.d.ts +6 -4
  142. package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/DescribeQueryLoggingConfigurationCommand.d.ts +6 -4
  144. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +6 -4
  145. package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +6 -4
  146. package/dist-types/ts3.4/commands/DescribeScraperCommand.d.ts +6 -4
  147. package/dist-types/ts3.4/commands/DescribeScraperLoggingConfigurationCommand.d.ts +6 -4
  148. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +6 -4
  149. package/dist-types/ts3.4/commands/DescribeWorkspaceConfigurationCommand.d.ts +6 -4
  150. package/dist-types/ts3.4/commands/GetDefaultScraperConfigurationCommand.d.ts +6 -4
  151. package/dist-types/ts3.4/commands/ListAnomalyDetectorsCommand.d.ts +6 -4
  152. package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +6 -4
  153. package/dist-types/ts3.4/commands/ListScrapersCommand.d.ts +6 -4
  154. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  155. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +6 -4
  156. package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +6 -4
  157. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +6 -4
  158. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +6 -4
  159. package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +6 -4
  160. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  161. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  162. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +6 -4
  163. package/dist-types/ts3.4/commands/UpdateQueryLoggingConfigurationCommand.d.ts +6 -4
  164. package/dist-types/ts3.4/commands/UpdateScraperCommand.d.ts +6 -4
  165. package/dist-types/ts3.4/commands/UpdateScraperLoggingConfigurationCommand.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +6 -4
  167. package/dist-types/ts3.4/commands/UpdateWorkspaceConfigurationCommand.d.ts +6 -4
  168. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  169. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  170. package/dist-types/ts3.4/models/AmpServiceException.d.ts +1 -1
  171. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  172. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  173. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  174. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  175. package/dist-types/ts3.4/waiters/waitForAnomalyDetectorActive.d.ts +1 -1
  176. package/dist-types/ts3.4/waiters/waitForAnomalyDetectorDeleted.d.ts +1 -1
  177. package/dist-types/ts3.4/waiters/waitForScraperActive.d.ts +1 -1
  178. package/dist-types/ts3.4/waiters/waitForScraperDeleted.d.ts +1 -1
  179. package/dist-types/ts3.4/waiters/waitForWorkspaceActive.d.ts +1 -1
  180. package/dist-types/ts3.4/waiters/waitForWorkspaceDeleted.d.ts +1 -1
  181. package/dist-types/waiters/waitForAnomalyDetectorActive.d.ts +1 -1
  182. package/dist-types/waiters/waitForAnomalyDetectorDeleted.d.ts +1 -1
  183. package/dist-types/waiters/waitForScraperActive.d.ts +1 -1
  184. package/dist-types/waiters/waitForScraperDeleted.d.ts +1 -1
  185. package/dist-types/waiters/waitForWorkspaceActive.d.ts +1 -1
  186. package/dist-types/waiters/waitForWorkspaceDeleted.d.ts +1 -1
  187. package/package.json +13 -35
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateScraperLoggingConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateWorkspaceAlias$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateWorkspaceConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,4 +1,4 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const k = "ref";
3
3
  const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
4
4
  const _data = {
@@ -1,5 +1,5 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
3
  import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class AmpServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,13 +1,11 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
4
+ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
5
8
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
- import { invalidProvider } from "@smithy/invalid-dependency";
7
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
8
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
11
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
10
  export const getRuntimeConfig = (config) => {
13
11
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
- import { Hash } from "@smithy/hash-node";
8
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
9
- import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
6
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
+ 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";
8
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
9
+ import { calculateBodyLength, Hash } from "@smithy/core/serde";
10
10
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
11
- import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
12
- import { calculateBodyLength } from "@smithy/util-body-length-node";
13
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
14
- import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
15
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
12
  export const getRuntimeConfig = (config) => {
17
13
  emitWarningIfUnsupportedVersion(process.version);
@@ -1,9 +1,8 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
- import { NoOpLogger } from "@smithy/smithy-client";
4
- import { parseUrl } from "@smithy/url-parser";
5
- import { fromBase64, toBase64 } from "@smithy/util-base64";
6
- import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { NoOpLogger } from "@smithy/core/client";
4
+ import { parseUrl } from "@smithy/core/protocols";
5
+ import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
7
6
  import { defaultAmpHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
7
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
8
  import { errorTypeRegistries } from "./schemas/schemas_0";
@@ -1,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { DescribeAnomalyDetectorCommand, } from "../commands/DescribeAnomalyDetectorCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { DescribeAnomalyDetectorCommand, } from "../commands/DescribeAnomalyDetectorCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { DescribeScraperCommand, } from "../commands/DescribeScraperCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { DescribeScraperCommand, } from "../commands/DescribeScraperCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { DescribeWorkspaceCommand, } from "../commands/DescribeWorkspaceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
2
  import { DescribeWorkspaceCommand, } from "../commands/DescribeWorkspaceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,5 +1,5 @@
1
+ import { type WaiterResult } from "@smithy/core/client";
1
2
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
- import type { WaiterResult } from "@smithy/util-waiter";
3
3
  import { AmpClient } from "./AmpClient";
4
4
  import { type CreateAlertManagerDefinitionCommandInput, type CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
5
5
  import { type CreateAnomalyDetectorCommandInput, type CreateAnomalyDetectorCommandOutput } from "./commands/CreateAnomalyDetectorCommand";
@@ -1,10 +1,10 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import type { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { CreateAlertManagerDefinitionRequest, CreateAlertManagerDefinitionResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateAlertManagerDefinitionCommandInput extends CreateAlertMan
22
22
  export interface CreateAlertManagerDefinitionCommandOutput extends CreateAlertManagerDefinitionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateAlertManagerDefinitionCommand_base: {
25
- new (input: CreateAlertManagerDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAlertManagerDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>The <code>CreateAlertManagerDefinition</code> operation creates the alert manager definition in a workspace. If a workspace already has an alert manager definition, don't use this operation to update it. Instead, use <code>PutAlertManagerDefinition</code>.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { CreateAnomalyDetectorRequest, CreateAnomalyDetectorResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateAnomalyDetectorCommandInput extends CreateAnomalyDetector
22
22
  export interface CreateAnomalyDetectorCommandOutput extends CreateAnomalyDetectorResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateAnomalyDetectorCommand_base: {
25
- new (input: CreateAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates an anomaly detector within a workspace using the Random Cut Forest algorithm for time-series analysis. The anomaly detector analyzes Amazon Managed Service for Prometheus metrics to identify unusual patterns and behaviors.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { CreateLoggingConfigurationRequest, CreateLoggingConfigurationResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateLoggingConfigurationCommandInput extends CreateLoggingCon
22
22
  export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingConfigurationResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateLoggingConfigurationCommand_base: {
25
- new (input: CreateLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>The <code>CreateLoggingConfiguration</code> operation creates rules and alerting logging configuration for the workspace. Use this operation to set the CloudWatch log group to which the logs will be published to.</p> <note> <p>These logging configurations are only for rules and alerting logs.</p> </note>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { CreateQueryLoggingConfigurationRequest, CreateQueryLoggingConfigurationResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateQueryLoggingConfigurationCommandInput extends CreateQuery
22
22
  export interface CreateQueryLoggingConfigurationCommandOutput extends CreateQueryLoggingConfigurationResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateQueryLoggingConfigurationCommand_base: {
25
- new (input: CreateQueryLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateQueryLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a query logging configuration for the specified workspace. This operation enables logging of queries that exceed the specified QSP threshold.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { CreateRuleGroupsNamespaceRequest, CreateRuleGroupsNamespaceResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateRuleGroupsNamespaceCommandInput extends CreateRuleGroupsN
22
22
  export interface CreateRuleGroupsNamespaceCommandOutput extends CreateRuleGroupsNamespaceResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateRuleGroupsNamespaceCommand_base: {
25
- new (input: CreateRuleGroupsNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateRuleGroupsNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>The <code>CreateRuleGroupsNamespace</code> operation creates a rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces.</p> <important> <p>The combined length of a rule group namespace and a rule group name cannot exceed 721 UTF-8 bytes.</p> </important> <p>Use this operation only to create new rule groups namespaces. To update an existing rule groups namespace, use <code>PutRuleGroupsNamespace</code>.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { CreateScraperRequest, CreateScraperResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateScraperCommandInput extends CreateScraperRequest {
22
22
  export interface CreateScraperCommandOutput extends CreateScraperResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateScraperCommand_base: {
25
- new (input: CreateScraperCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScraperCommandInput, CreateScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateScraperCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScraperCommandInput, CreateScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateScraperCommandInput): import("@smithy/core/client").CommandImpl<CreateScraperCommandInput, CreateScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateScraperCommandInput): import("@smithy/core/client").CommandImpl<CreateScraperCommandInput, CreateScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>The <code>CreateScraper</code> operation creates a scraper to collect metrics. A scraper pulls metrics from Prometheus-compatible sources and sends them to your Amazon Managed Service for Prometheus workspace. You can configure scrapers to collect metrics from Amazon EKS clusters, Amazon MSK clusters, or from VPC-based sources that support DNS-based service discovery. Scrapers are flexible, and can be configured to control what metrics are collected, the frequency of collection, what transformations are applied to the metrics, and more.</p> <p>An IAM role will be created for you that Amazon Managed Service for Prometheus uses to access the metrics in your source. You must configure this role with a policy that allows it to scrape metrics from your source. For Amazon EKS sources, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup">Configuring your Amazon EKS cluster</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p> <p>The <code>scrapeConfiguration</code> parameter contains the base-64 encoded YAML configuration for the scraper.</p> <p>When creating a scraper, the service creates a <code>Network Interface</code> in each <b>Availability Zone</b> that are passed into <code>CreateScraper</code> through subnets. These network interfaces are used to connect to your source within the VPC for scraping metrics.</p> <note> <p>For more information about collectors, including what metrics are collected, and how to configure the scraper, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html">Using an Amazon Web Services managed collector</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p> </note>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { CreateWorkspaceRequest, CreateWorkspaceResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateWorkspaceCommandInput extends CreateWorkspaceRequest {
22
22
  export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateWorkspaceCommand_base: {
25
- new (input: CreateWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateWorkspaceCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateWorkspaceCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [CreateWorkspaceCommandInput]): import("@smithy/core/client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a Prometheus workspace. A workspace is a logical space dedicated to the storage and querying of Prometheus metrics. You can have one or more workspaces in each Region in your account.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteAlertManagerDefinitionRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteAlertManagerDefinitionCommandInput extends DeleteAlertMan
22
22
  export interface DeleteAlertManagerDefinitionCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteAlertManagerDefinitionCommand_base: {
25
- new (input: DeleteAlertManagerDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAlertManagerDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes the alert manager definition from a workspace.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteAnomalyDetectorRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetector
22
22
  export interface DeleteAnomalyDetectorCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteAnomalyDetectorCommand_base: {
25
- new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Removes an anomaly detector from a workspace. This operation is idempotent.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteLoggingConfigurationRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteLoggingConfigurationCommandInput extends DeleteLoggingCon
22
22
  export interface DeleteLoggingConfigurationCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteLoggingConfigurationCommand_base: {
25
- new (input: DeleteLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes the rules and alerting logging configuration for a workspace.</p> <note> <p>These logging configurations are only for rules and alerting logs.</p> </note>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteQueryLoggingConfigurationRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteQueryLoggingConfigurationCommandInput extends DeleteQuery
22
22
  export interface DeleteQueryLoggingConfigurationCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteQueryLoggingConfigurationCommand_base: {
25
- new (input: DeleteQueryLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteQueryLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes the query logging configuration for the specified workspace.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteResourcePolicyRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRe
22
22
  export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteResourcePolicyCommand_base: {
25
- new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes the resource-based policy attached to an Amazon Managed Service for Prometheus workspace.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteRuleGroupsNamespaceRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteRuleGroupsNamespaceCommandInput extends DeleteRuleGroupsN
22
22
  export interface DeleteRuleGroupsNamespaceCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteRuleGroupsNamespaceCommand_base: {
25
- new (input: DeleteRuleGroupsNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteRuleGroupsNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes one rule groups namespace and its associated rule groups definition.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteScraperRequest, DeleteScraperResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteScraperCommandInput extends DeleteScraperRequest {
22
22
  export interface DeleteScraperCommandOutput extends DeleteScraperResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteScraperCommand_base: {
25
- new (input: DeleteScraperCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScraperCommandInput, DeleteScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteScraperCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScraperCommandInput, DeleteScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteScraperCommandInput): import("@smithy/core/client").CommandImpl<DeleteScraperCommandInput, DeleteScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteScraperCommandInput): import("@smithy/core/client").CommandImpl<DeleteScraperCommandInput, DeleteScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>The <code>DeleteScraper</code> operation deletes one scraper, and stops any metrics collection that the scraper performs.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteScraperLoggingConfigurationRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteScraperLoggingConfigurationCommandInput extends DeleteScr
22
22
  export interface DeleteScraperLoggingConfigurationCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteScraperLoggingConfigurationCommand_base: {
25
- new (input: DeleteScraperLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteScraperLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteScraperLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteScraperLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes the logging configuration for a Amazon Managed Service for Prometheus scraper.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DeleteWorkspaceRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteWorkspaceCommandInput extends DeleteWorkspaceRequest {
22
22
  export interface DeleteWorkspaceCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteWorkspaceCommand_base: {
25
- new (input: DeleteWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteWorkspaceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteWorkspaceCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteWorkspaceCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes an existing workspace. </p> <note> <p>When you delete a workspace, the data that has been ingested into it is not immediately deleted. It will be permanently deleted within one month.</p> </note>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
4
  import type { DescribeAlertManagerDefinitionRequest, DescribeAlertManagerDefinitionResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DescribeAlertManagerDefinitionCommandInput extends DescribeAler
22
22
  export interface DescribeAlertManagerDefinitionCommandOutput extends DescribeAlertManagerDefinitionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DescribeAlertManagerDefinitionCommand_base: {
25
- new (input: DescribeAlertManagerDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeAlertManagerDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DescribeAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves the full information about the alert manager definition for a workspace.</p>