@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,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutAnomalyDetector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutAnomalyDetectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "PutAnomalyDetector", {})
13
- .n("AmpClient", "PutAnomalyDetectorCommand")
14
- .sc(PutAnomalyDetector$)
15
- .build() {
3
+ export class PutAnomalyDetectorCommand extends command(_ep0, _mw0, "PutAnomalyDetector", PutAnomalyDetector$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "PutResourcePolicy", {})
13
- .n("AmpClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy$)
15
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutRuleGroupsNamespace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutRuleGroupsNamespaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "PutRuleGroupsNamespace", {})
13
- .n("AmpClient", "PutRuleGroupsNamespaceCommand")
14
- .sc(PutRuleGroupsNamespace$)
15
- .build() {
3
+ export class PutRuleGroupsNamespaceCommand extends command(_ep0, _mw0, "PutRuleGroupsNamespace", PutRuleGroupsNamespace$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "TagResource", {})
13
- .n("AmpClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "UntagResource", {})
13
- .n("AmpClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateLoggingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateLoggingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "UpdateLoggingConfiguration", {})
13
- .n("AmpClient", "UpdateLoggingConfigurationCommand")
14
- .sc(UpdateLoggingConfiguration$)
15
- .build() {
3
+ export class UpdateLoggingConfigurationCommand extends command(_ep0, _mw0, "UpdateLoggingConfiguration", UpdateLoggingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateQueryLoggingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateQueryLoggingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "UpdateQueryLoggingConfiguration", {})
13
- .n("AmpClient", "UpdateQueryLoggingConfigurationCommand")
14
- .sc(UpdateQueryLoggingConfiguration$)
15
- .build() {
3
+ export class UpdateQueryLoggingConfigurationCommand extends command(_ep0, _mw0, "UpdateQueryLoggingConfiguration", UpdateQueryLoggingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateScraper$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateScraperCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "UpdateScraper", {})
13
- .n("AmpClient", "UpdateScraperCommand")
14
- .sc(UpdateScraper$)
15
- .build() {
3
+ export class UpdateScraperCommand extends command(_ep0, _mw0, "UpdateScraper", UpdateScraper$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateScraperLoggingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateScraperLoggingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "UpdateScraperLoggingConfiguration", {})
13
- .n("AmpClient", "UpdateScraperLoggingConfigurationCommand")
14
- .sc(UpdateScraperLoggingConfiguration$)
15
- .build() {
3
+ export class UpdateScraperLoggingConfigurationCommand extends command(_ep0, _mw0, "UpdateScraperLoggingConfiguration", UpdateScraperLoggingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateWorkspaceAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateWorkspaceAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "UpdateWorkspaceAlias", {})
13
- .n("AmpClient", "UpdateWorkspaceAliasCommand")
14
- .sc(UpdateWorkspaceAlias$)
15
- .build() {
3
+ export class UpdateWorkspaceAliasCommand extends command(_ep0, _mw0, "UpdateWorkspaceAlias", UpdateWorkspaceAlias$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateWorkspaceConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateWorkspaceConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonPrometheusService", "UpdateWorkspaceConfiguration", {})
13
- .n("AmpClient", "UpdateWorkspaceConfigurationCommand")
14
- .sc(UpdateWorkspaceConfiguration$)
15
- .build() {
3
+ export class UpdateWorkspaceConfigurationCommand extends command(_ep0, _mw0, "UpdateWorkspaceConfiguration", UpdateWorkspaceConfiguration$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./AmpClient";
2
2
  export * from "./Amp";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./waiters";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "AmazonPrometheusService",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "amp",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./AmpClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
2
  import type { CreateAlertManagerDefinitionRequest, CreateAlertManagerDefinitionResponse } 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 CreateAlertManagerDefinitionCommandInput extends CreateAlertMan
22
19
  export interface CreateAlertManagerDefinitionCommandOutput extends CreateAlertManagerDefinitionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateAlertManagerDefinitionCommand_base: {
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
- };
22
+ new (input: CreateAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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,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 { CreateAnomalyDetectorRequest, CreateAnomalyDetectorResponse } 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 CreateAnomalyDetectorCommandInput extends CreateAnomalyDetector
22
19
  export interface CreateAnomalyDetectorCommandOutput extends CreateAnomalyDetectorResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateAnomalyDetectorCommand_base: {
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
- };
22
+ new (input: CreateAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<CreateAnomalyDetectorCommandInput, CreateAnomalyDetectorCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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,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 { CreateLoggingConfigurationRequest, CreateLoggingConfigurationResponse } 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 CreateLoggingConfigurationCommandInput extends CreateLoggingCon
22
19
  export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingConfigurationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateLoggingConfigurationCommand_base: {
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
- };
22
+ new (input: CreateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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,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 { CreateQueryLoggingConfigurationRequest, CreateQueryLoggingConfigurationResponse } 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 CreateQueryLoggingConfigurationCommandInput extends CreateQuery
22
19
  export interface CreateQueryLoggingConfigurationCommandOutput extends CreateQueryLoggingConfigurationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateQueryLoggingConfigurationCommand_base: {
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
- };
22
+ new (input: CreateQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateQueryLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateQueryLoggingConfigurationCommandInput, CreateQueryLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a query logging configuration for the specified workspace. This operation enables logging of queries that exceed the specified QSP threshold.</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 { CreateRuleGroupsNamespaceRequest, CreateRuleGroupsNamespaceResponse } 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 CreateRuleGroupsNamespaceCommandInput extends CreateRuleGroupsN
22
19
  export interface CreateRuleGroupsNamespaceCommandOutput extends CreateRuleGroupsNamespaceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateRuleGroupsNamespaceCommand_base: {
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
- };
22
+ new (input: CreateRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateRuleGroupsNamespaceCommandInput): import("@smithy/core/client").CommandImpl<CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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,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 { CreateScraperRequest, CreateScraperResponse } 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 CreateScraperCommandInput extends CreateScraperRequest {
22
19
  export interface CreateScraperCommandOutput extends CreateScraperResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateScraperCommand_base: {
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
- };
22
+ new (input: CreateScraperCommandInput): import("@smithy/core/client").CommandImpl<CreateScraperCommandInput, CreateScraperCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateScraperCommandInput): import("@smithy/core/client").CommandImpl<CreateScraperCommandInput, CreateScraperCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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,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 { CreateWorkspaceRequest, CreateWorkspaceResponse } 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 CreateWorkspaceCommandInput extends CreateWorkspaceRequest {
22
19
  export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateWorkspaceCommand_base: {
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
- };
22
+ new (input: CreateWorkspaceCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [CreateWorkspaceCommandInput]): import("@smithy/core/client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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,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 { DeleteAlertManagerDefinitionRequest } 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 DeleteAlertManagerDefinitionCommandInput extends DeleteAlertMan
22
19
  export interface DeleteAlertManagerDefinitionCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteAlertManagerDefinitionCommand_base: {
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
- };
22
+ new (input: DeleteAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAlertManagerDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the alert manager definition from a 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 { DeleteAnomalyDetectorRequest } 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 DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetector
22
19
  export interface DeleteAnomalyDetectorCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteAnomalyDetectorCommand_base: {
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
- };
22
+ new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Removes an anomaly detector from a workspace. This operation is idempotent.</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 { DeleteLoggingConfigurationRequest } 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 DeleteLoggingConfigurationCommandInput extends DeleteLoggingCon
22
19
  export interface DeleteLoggingConfigurationCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteLoggingConfigurationCommand_base: {
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
- };
22
+ new (input: DeleteLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteLoggingConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, import("..").AmpClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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>