@aws-sdk/client-amp 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 (152) hide show
  1. package/dist-cjs/index.js +55 -445
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +2 -14
  4. package/dist-es/commands/CreateAnomalyDetectorCommand.js +2 -14
  5. package/dist-es/commands/CreateLoggingConfigurationCommand.js +2 -14
  6. package/dist-es/commands/CreateQueryLoggingConfigurationCommand.js +2 -14
  7. package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +2 -14
  8. package/dist-es/commands/CreateScraperCommand.js +2 -14
  9. package/dist-es/commands/CreateWorkspaceCommand.js +2 -14
  10. package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +2 -14
  11. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +2 -14
  12. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +2 -14
  13. package/dist-es/commands/DeleteQueryLoggingConfigurationCommand.js +2 -14
  14. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  15. package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +2 -14
  16. package/dist-es/commands/DeleteScraperCommand.js +2 -14
  17. package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +2 -14
  18. package/dist-es/commands/DeleteWorkspaceCommand.js +2 -14
  19. package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +2 -14
  20. package/dist-es/commands/DescribeAnomalyDetectorCommand.js +2 -14
  21. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +2 -14
  22. package/dist-es/commands/DescribeQueryLoggingConfigurationCommand.js +2 -14
  23. package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -14
  24. package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +2 -14
  25. package/dist-es/commands/DescribeScraperCommand.js +2 -14
  26. package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +2 -14
  27. package/dist-es/commands/DescribeWorkspaceCommand.js +2 -14
  28. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +2 -14
  29. package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +2 -14
  30. package/dist-es/commands/ListAnomalyDetectorsCommand.js +2 -14
  31. package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +2 -14
  32. package/dist-es/commands/ListScrapersCommand.js +2 -14
  33. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  34. package/dist-es/commands/ListWorkspacesCommand.js +2 -14
  35. package/dist-es/commands/PutAlertManagerDefinitionCommand.js +2 -14
  36. package/dist-es/commands/PutAnomalyDetectorCommand.js +2 -14
  37. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  38. package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +2 -14
  39. package/dist-es/commands/TagResourceCommand.js +2 -14
  40. package/dist-es/commands/UntagResourceCommand.js +2 -14
  41. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +2 -14
  42. package/dist-es/commands/UpdateQueryLoggingConfigurationCommand.js +2 -14
  43. package/dist-es/commands/UpdateScraperCommand.js +2 -14
  44. package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +2 -14
  45. package/dist-es/commands/UpdateWorkspaceAliasCommand.js +2 -14
  46. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +2 -14
  47. package/dist-es/index.js +1 -0
  48. package/dist-es/runtimeConfig.browser.js +0 -2
  49. package/dist-es/runtimeConfig.js +1 -2
  50. package/dist-es/runtimeConfig.native.js +0 -2
  51. package/dist-es/runtimeConfig.shared.js +2 -0
  52. package/dist-types/commandBuilder.d.ts +18 -0
  53. package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +3 -8
  54. package/dist-types/commands/CreateAnomalyDetectorCommand.d.ts +3 -8
  55. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +3 -8
  56. package/dist-types/commands/CreateQueryLoggingConfigurationCommand.d.ts +3 -8
  57. package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +3 -8
  58. package/dist-types/commands/CreateScraperCommand.d.ts +3 -8
  59. package/dist-types/commands/CreateWorkspaceCommand.d.ts +3 -8
  60. package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +3 -8
  61. package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +3 -8
  62. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -8
  63. package/dist-types/commands/DeleteQueryLoggingConfigurationCommand.d.ts +3 -8
  64. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  65. package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteScraperCommand.d.ts +3 -8
  67. package/dist-types/commands/DeleteScraperLoggingConfigurationCommand.d.ts +3 -8
  68. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +3 -8
  69. package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +3 -8
  70. package/dist-types/commands/DescribeAnomalyDetectorCommand.d.ts +3 -8
  71. package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +3 -8
  72. package/dist-types/commands/DescribeQueryLoggingConfigurationCommand.d.ts +3 -8
  73. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -8
  74. package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +3 -8
  75. package/dist-types/commands/DescribeScraperCommand.d.ts +3 -8
  76. package/dist-types/commands/DescribeScraperLoggingConfigurationCommand.d.ts +3 -8
  77. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +3 -8
  78. package/dist-types/commands/DescribeWorkspaceConfigurationCommand.d.ts +3 -8
  79. package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +3 -8
  80. package/dist-types/commands/ListAnomalyDetectorsCommand.d.ts +3 -8
  81. package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +3 -8
  82. package/dist-types/commands/ListScrapersCommand.d.ts +3 -8
  83. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  84. package/dist-types/commands/ListWorkspacesCommand.d.ts +3 -8
  85. package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +3 -8
  86. package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +3 -8
  87. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  88. package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +3 -8
  89. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  90. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  91. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +3 -8
  92. package/dist-types/commands/UpdateQueryLoggingConfigurationCommand.d.ts +3 -8
  93. package/dist-types/commands/UpdateScraperCommand.d.ts +3 -8
  94. package/dist-types/commands/UpdateScraperLoggingConfigurationCommand.d.ts +3 -8
  95. package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +3 -8
  96. package/dist-types/commands/UpdateWorkspaceConfigurationCommand.d.ts +3 -8
  97. package/dist-types/index.d.ts +1 -0
  98. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  99. package/dist-types/runtimeConfig.d.ts +1 -1
  100. package/dist-types/runtimeConfig.native.d.ts +1 -1
  101. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  102. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  103. package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/CreateAnomalyDetectorCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/CreateQueryLoggingConfigurationCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/CreateScraperCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigurationCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/DeleteScraperCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/DeleteScraperLoggingConfigurationCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/DescribeAnomalyDetectorCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/DescribeQueryLoggingConfigurationCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/DescribeScraperCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/DescribeScraperLoggingConfigurationCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/DescribeWorkspaceConfigurationCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/GetDefaultScraperConfigurationCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/ListAnomalyDetectorsCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/ListScrapersCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/UpdateQueryLoggingConfigurationCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/UpdateScraperCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/UpdateScraperLoggingConfigurationCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/UpdateWorkspaceConfigurationCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/index.d.ts +1 -0
  148. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  149. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  150. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  151. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  152. package/package.json +8 -10
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { ListWorkspacesRequest, ListWorkspacesResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListWorkspacesCommandInput extends ListWorkspacesRequest {
22
19
  export interface ListWorkspacesCommandOutput extends ListWorkspacesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListWorkspacesCommand_base: {
25
- new (input: ListWorkspacesCommandInput): import("@smithy/core/client").CommandImpl<ListWorkspacesCommandInput, ListWorkspacesCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListWorkspacesCommandInput]): import("@smithy/core/client").CommandImpl<ListWorkspacesCommandInput, ListWorkspacesCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListWorkspacesCommandInput): import("@smithy/core/client").CommandImpl<ListWorkspacesCommandInput, ListWorkspacesCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListWorkspacesCommandInput]): import("@smithy/core/client").CommandImpl<ListWorkspacesCommandInput, ListWorkspacesCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists all of the Amazon Managed Service for Prometheus workspaces in your account. This includes workspaces being created or deleted. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { PutAlertManagerDefinitionRequest, PutAlertManagerDefinitionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutAlertManagerDefinitionCommandInput extends PutAlertManagerDe
22
19
  export interface PutAlertManagerDefinitionCommandOutput extends PutAlertManagerDefinitionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const PutAlertManagerDefinitionCommand_base: {
25
- new (input: PutAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates an existing alert manager definition in a workspace. If the workspace does not already have an alert manager definition, don't use this operation to create it. Instead, use <code>CreateAlertManagerDefinition</code>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { PutAnomalyDetectorRequest, PutAnomalyDetectorResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutAnomalyDetectorCommandInput extends PutAnomalyDetectorReques
22
19
  export interface PutAnomalyDetectorCommandOutput extends PutAnomalyDetectorResponse, __MetadataBearer {
23
20
  }
24
21
  declare const PutAnomalyDetectorCommand_base: {
25
- new (input: PutAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<PutAnomalyDetectorCommandInput, PutAnomalyDetectorCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>When you call <code>PutAnomalyDetector</code>, the operation creates a new anomaly detector if one doesn't exist, or updates an existing one. Each call to this operation triggers a complete retraining of the detector, which includes querying the minimum required samples and backfilling the detector with historical data. This process occurs regardless of whether you're making a minor change like updating the evaluation interval or making more substantial modifications. The operation serves as the single method for creating, updating, and retraining anomaly detectors.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest
22
19
  export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
23
20
  }
24
21
  declare const PutResourcePolicyCommand_base: {
25
- new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates or updates a resource-based policy for an Amazon Managed Service for Prometheus workspace. Use resource-based policies to grant permissions to other AWS accounts or services to access your workspace.</p> <p>Only Prometheus-compatible APIs can be used for workspace sharing. You can add non-Prometheus-compatible APIs to the policy, but they will be ignored. For more information, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-APIReference-Prometheus-Compatible-Apis.html">Prometheus-compatible APIs</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p> <p>If your workspace uses customer-managed KMS keys for encryption, you must grant the principals in your resource-based policy access to those KMS keys. You can do this by creating KMS grants. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateGrant.html">CreateGrant</a> in the <i>AWS Key Management Service API Reference</i> and <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html">Encryption at rest</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p> <p>For more information about working with IAM, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/security_iam_service-with-iam.html">Using Amazon Managed Service for Prometheus with IAM</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { PutRuleGroupsNamespaceRequest, PutRuleGroupsNamespaceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutRuleGroupsNamespaceCommandInput extends PutRuleGroupsNamespa
22
19
  export interface PutRuleGroupsNamespaceCommandOutput extends PutRuleGroupsNamespaceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const PutRuleGroupsNamespaceCommand_base: {
25
- new (input: PutRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates an existing 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 update existing rule groups namespaces. To create a new rule groups namespace, use <code>CreateRuleGroupsNamespace</code>.</p> <p>You can't use this operation to add tags to an existing rule groups namespace. Instead, use <code>TagResource</code>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface TagResourceCommandInput extends TagResourceRequest {
22
19
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const TagResourceCommand_base: {
25
- new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>The <code>TagResource</code> operation associates tags with an Amazon Managed Service for Prometheus resource. The only resources that can be tagged are rule groups namespaces, scrapers, and workspaces.</p> <p>If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. To remove a tag, use <code>UntagResource</code>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
22
19
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UntagResourceCommand_base: {
25
- new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Removes the specified tags from an Amazon Managed Service for Prometheus resource. The only resources that can be tagged are rule groups namespaces, scrapers, and workspaces. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { UpdateLoggingConfigurationRequest, UpdateLoggingConfigurationResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateLoggingConfigurationCommandInput extends UpdateLoggingCon
22
19
  export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingConfigurationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateLoggingConfigurationCommand_base: {
25
- new (input: UpdateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the log group ARN or the workspace ID of the current rules and alerting logging configuration.</p> <note> <p>These logging configurations are only for rules and alerting logs.</p> </note>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { UpdateQueryLoggingConfigurationRequest, UpdateQueryLoggingConfigurationResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateQueryLoggingConfigurationCommandInput extends UpdateQuery
22
19
  export interface UpdateQueryLoggingConfigurationCommandOutput extends UpdateQueryLoggingConfigurationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateQueryLoggingConfigurationCommand_base: {
25
- new (input: UpdateQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateQueryLoggingConfigurationCommandInput, UpdateQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateQueryLoggingConfigurationCommandInput, UpdateQueryLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateQueryLoggingConfigurationCommandInput, UpdateQueryLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateQueryLoggingConfigurationCommandInput, UpdateQueryLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the query logging configuration for the specified workspace.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { UpdateScraperRequest, UpdateScraperResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateScraperCommandInput extends UpdateScraperRequest {
22
19
  export interface UpdateScraperCommandOutput extends UpdateScraperResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateScraperCommand_base: {
25
- new (input: UpdateScraperCommandInput): import("@smithy/core/client").CommandImpl<UpdateScraperCommandInput, UpdateScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateScraperCommandInput): import("@smithy/core/client").CommandImpl<UpdateScraperCommandInput, UpdateScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateScraperCommandInput): import("@smithy/core/client").CommandImpl<UpdateScraperCommandInput, UpdateScraperCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateScraperCommandInput): import("@smithy/core/client").CommandImpl<UpdateScraperCommandInput, UpdateScraperCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates an existing scraper.</p> <p>You can't use this function to update the source from which the scraper is collecting metrics. To change the source, delete the scraper and create a new one.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { UpdateScraperLoggingConfigurationRequest, UpdateScraperLoggingConfigurationResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateScraperLoggingConfigurationCommandInput extends UpdateScr
22
19
  export interface UpdateScraperLoggingConfigurationCommandOutput extends UpdateScraperLoggingConfigurationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateScraperLoggingConfigurationCommand_base: {
25
- new (input: UpdateScraperLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateScraperLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateScraperLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateScraperLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the logging configuration for a Amazon Managed Service for Prometheus scraper.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { UpdateWorkspaceAliasRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateWorkspaceAliasCommandInput extends UpdateWorkspaceAliasRe
22
19
  export interface UpdateWorkspaceAliasCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const UpdateWorkspaceAliasCommand_base: {
25
- new (input: UpdateWorkspaceAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateWorkspaceAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateWorkspaceAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateWorkspaceAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Updates the alias of an existing workspace. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { UpdateWorkspaceConfigurationRequest, UpdateWorkspaceConfigurationResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateWorkspaceConfigurationCommandInput extends UpdateWorkspac
22
19
  export interface UpdateWorkspaceConfigurationCommandOutput extends UpdateWorkspaceConfigurationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateWorkspaceConfigurationCommand_base: {
25
- new (input: UpdateWorkspaceConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateWorkspaceConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateWorkspaceConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateWorkspaceConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Use this operation to create or update the label sets, label set limits, and retention period of a workspace.</p> <p>You must specify at least one of <code>limitsPerLabelSet</code> or <code>retentionPeriodInDays</code> for the request to be valid.</p>
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { AmpExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./pagination";
14
15
  export * from "./waiters";
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
- sha256: import("@smithy/types").HashConstructor;
18
17
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
26
25
  [setting: string]: unknown;
27
26
  };
28
27
  apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  base64Decoder: import("@smithy/types").Decoder;
31
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { AmpClientConfig } from "./AmpClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: AmpClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
21
21
  defaultNamespace?: string;
22
22
  };
23
23
  serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
24
25
  urlParser: import("@smithy/types").UrlParser;
25
26
  utf8Decoder: import("@smithy/types").Decoder;
26
27
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ AmpClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./AmpClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ AmpClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ AmpClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AmpClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AmpClient";
8
2
  import {
9
3
  CreateAlertManagerDefinitionRequest,
10
4
  CreateAlertManagerDefinitionResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface CreateAlertManagerDefinitionCommandInput
15
8
  extends CreateAlertManagerDefinitionRequest {}
16
9
  export interface CreateAlertManagerDefinitionCommandOutput
@@ -22,22 +15,20 @@ declare const CreateAlertManagerDefinitionCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  CreateAlertManagerDefinitionCommandInput,
24
17
  CreateAlertManagerDefinitionCommandOutput,
25
- AmpClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").AmpClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: CreateAlertManagerDefinitionCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  CreateAlertManagerDefinitionCommandInput,
33
26
  CreateAlertManagerDefinitionCommandOutput,
34
- AmpClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").AmpClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class CreateAlertManagerDefinitionCommand extends CreateAlertManagerDefinitionCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- AmpClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../AmpClient";
8
2
  import {
9
3
  CreateAnomalyDetectorRequest,
10
4
  CreateAnomalyDetectorResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface CreateAnomalyDetectorCommandInput
15
8
  extends CreateAnomalyDetectorRequest {}
16
9
  export interface CreateAnomalyDetectorCommandOutput
@@ -22,22 +15,20 @@ declare const CreateAnomalyDetectorCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  CreateAnomalyDetectorCommandInput,
24
17
  CreateAnomalyDetectorCommandOutput,
25
- AmpClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").AmpClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: CreateAnomalyDetectorCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  CreateAnomalyDetectorCommandInput,
33
26
  CreateAnomalyDetectorCommandOutput,
34
- AmpClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").AmpClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class CreateAnomalyDetectorCommand extends CreateAnomalyDetectorCommand_base {
43
34
  protected static __types: {