@aws-sdk/client-amp 3.490.0 → 3.495.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 (48) hide show
  1. package/dist-cjs/Amp.js +1 -63
  2. package/dist-cjs/AmpClient.js +1 -43
  3. package/dist-cjs/commands/CreateAlertManagerDefinitionCommand.js +1 -28
  4. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +1 -28
  5. package/dist-cjs/commands/CreateRuleGroupsNamespaceCommand.js +1 -28
  6. package/dist-cjs/commands/CreateScraperCommand.js +1 -28
  7. package/dist-cjs/commands/CreateWorkspaceCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteAlertManagerDefinitionCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteRuleGroupsNamespaceCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteScraperCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteWorkspaceCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeAlertManagerDefinitionCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeRuleGroupsNamespaceCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeScraperCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeWorkspaceCommand.js +1 -28
  18. package/dist-cjs/commands/GetDefaultScraperConfigurationCommand.js +1 -28
  19. package/dist-cjs/commands/ListRuleGroupsNamespacesCommand.js +1 -28
  20. package/dist-cjs/commands/ListScrapersCommand.js +1 -28
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  22. package/dist-cjs/commands/ListWorkspacesCommand.js +1 -28
  23. package/dist-cjs/commands/PutAlertManagerDefinitionCommand.js +1 -28
  24. package/dist-cjs/commands/PutRuleGroupsNamespaceCommand.js +1 -28
  25. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  26. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +1 -28
  28. package/dist-cjs/commands/UpdateWorkspaceAliasCommand.js +1 -28
  29. package/dist-cjs/commands/index.js +1 -29
  30. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  31. package/dist-cjs/extensionConfiguration.js +1 -2
  32. package/dist-cjs/index.js +3028 -12
  33. package/dist-cjs/models/AmpServiceException.js +1 -12
  34. package/dist-cjs/models/index.js +1 -4
  35. package/dist-cjs/models/models_0.js +1 -179
  36. package/dist-cjs/pagination/Interfaces.js +1 -2
  37. package/dist-cjs/pagination/ListRuleGroupsNamespacesPaginator.js +1 -7
  38. package/dist-cjs/pagination/ListScrapersPaginator.js +1 -7
  39. package/dist-cjs/pagination/ListWorkspacesPaginator.js +1 -7
  40. package/dist-cjs/pagination/index.js +1 -7
  41. package/dist-cjs/protocols/Aws_restJson1.js +1 -1890
  42. package/dist-cjs/runtimeExtensions.js +1 -22
  43. package/dist-cjs/waiters/index.js +1 -7
  44. package/dist-cjs/waiters/waitForScraperActive.js +1 -45
  45. package/dist-cjs/waiters/waitForScraperDeleted.js +1 -39
  46. package/dist-cjs/waiters/waitForWorkspaceActive.js +1 -54
  47. package/dist-cjs/waiters/waitForWorkspaceDeleted.js +1 -39
  48. package/package.json +41 -41
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListScrapersCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListScrapersCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "ListScrapers", {})
22
- .n("AmpClient", "ListScrapersCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_ListScrapersCommand)
25
- .de(Aws_restJson1_1.de_ListScrapersCommand)
26
- .build() {
27
- }
28
- exports.ListScrapersCommand = ListScrapersCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListTagsForResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "ListTagsForResource", {})
22
- .n("AmpClient", "ListTagsForResourceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
25
- .de(Aws_restJson1_1.de_ListTagsForResourceCommand)
26
- .build() {
27
- }
28
- exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListWorkspacesCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListWorkspacesCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "ListWorkspaces", {})
22
- .n("AmpClient", "ListWorkspacesCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_ListWorkspacesCommand)
25
- .de(Aws_restJson1_1.de_ListWorkspacesCommand)
26
- .build() {
27
- }
28
- exports.ListWorkspacesCommand = ListWorkspacesCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutAlertManagerDefinitionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class PutAlertManagerDefinitionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "PutAlertManagerDefinition", {})
22
- .n("AmpClient", "PutAlertManagerDefinitionCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_PutAlertManagerDefinitionCommand)
25
- .de(Aws_restJson1_1.de_PutAlertManagerDefinitionCommand)
26
- .build() {
27
- }
28
- exports.PutAlertManagerDefinitionCommand = PutAlertManagerDefinitionCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutRuleGroupsNamespaceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class PutRuleGroupsNamespaceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "PutRuleGroupsNamespace", {})
22
- .n("AmpClient", "PutRuleGroupsNamespaceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_PutRuleGroupsNamespaceCommand)
25
- .de(Aws_restJson1_1.de_PutRuleGroupsNamespaceCommand)
26
- .build() {
27
- }
28
- exports.PutRuleGroupsNamespaceCommand = PutRuleGroupsNamespaceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class TagResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "TagResource", {})
22
- .n("AmpClient", "TagResourceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_TagResourceCommand)
25
- .de(Aws_restJson1_1.de_TagResourceCommand)
26
- .build() {
27
- }
28
- exports.TagResourceCommand = TagResourceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UntagResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "UntagResource", {})
22
- .n("AmpClient", "UntagResourceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_UntagResourceCommand)
25
- .de(Aws_restJson1_1.de_UntagResourceCommand)
26
- .build() {
27
- }
28
- exports.UntagResourceCommand = UntagResourceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateLoggingConfigurationCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateLoggingConfigurationCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "UpdateLoggingConfiguration", {})
22
- .n("AmpClient", "UpdateLoggingConfigurationCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_UpdateLoggingConfigurationCommand)
25
- .de(Aws_restJson1_1.de_UpdateLoggingConfigurationCommand)
26
- .build() {
27
- }
28
- exports.UpdateLoggingConfigurationCommand = UpdateLoggingConfigurationCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateWorkspaceAliasCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateWorkspaceAliasCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AmazonPrometheusService", "UpdateWorkspaceAlias", {})
22
- .n("AmpClient", "UpdateWorkspaceAliasCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_restJson1_1.se_UpdateWorkspaceAliasCommand)
25
- .de(Aws_restJson1_1.de_UpdateWorkspaceAliasCommand)
26
- .build() {
27
- }
28
- exports.UpdateWorkspaceAliasCommand = UpdateWorkspaceAliasCommand;
1
+ module.exports = require("../index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./CreateAlertManagerDefinitionCommand"), exports);
5
- tslib_1.__exportStar(require("./CreateLoggingConfigurationCommand"), exports);
6
- tslib_1.__exportStar(require("./CreateRuleGroupsNamespaceCommand"), exports);
7
- tslib_1.__exportStar(require("./CreateScraperCommand"), exports);
8
- tslib_1.__exportStar(require("./CreateWorkspaceCommand"), exports);
9
- tslib_1.__exportStar(require("./DeleteAlertManagerDefinitionCommand"), exports);
10
- tslib_1.__exportStar(require("./DeleteLoggingConfigurationCommand"), exports);
11
- tslib_1.__exportStar(require("./DeleteRuleGroupsNamespaceCommand"), exports);
12
- tslib_1.__exportStar(require("./DeleteScraperCommand"), exports);
13
- tslib_1.__exportStar(require("./DeleteWorkspaceCommand"), exports);
14
- tslib_1.__exportStar(require("./DescribeAlertManagerDefinitionCommand"), exports);
15
- tslib_1.__exportStar(require("./DescribeLoggingConfigurationCommand"), exports);
16
- tslib_1.__exportStar(require("./DescribeRuleGroupsNamespaceCommand"), exports);
17
- tslib_1.__exportStar(require("./DescribeScraperCommand"), exports);
18
- tslib_1.__exportStar(require("./DescribeWorkspaceCommand"), exports);
19
- tslib_1.__exportStar(require("./GetDefaultScraperConfigurationCommand"), exports);
20
- tslib_1.__exportStar(require("./ListRuleGroupsNamespacesCommand"), exports);
21
- tslib_1.__exportStar(require("./ListScrapersCommand"), exports);
22
- tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
23
- tslib_1.__exportStar(require("./ListWorkspacesCommand"), exports);
24
- tslib_1.__exportStar(require("./PutAlertManagerDefinitionCommand"), exports);
25
- tslib_1.__exportStar(require("./PutRuleGroupsNamespaceCommand"), exports);
26
- tslib_1.__exportStar(require("./TagResourceCommand"), exports);
27
- tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
28
- tslib_1.__exportStar(require("./UpdateLoggingConfigurationCommand"), exports);
29
- tslib_1.__exportStar(require("./UpdateWorkspaceAliasCommand"), exports);
1
+ module.exports = require("../index.js");
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return {
6
- ...options,
7
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
- useFipsEndpoint: options.useFipsEndpoint ?? false,
9
- defaultSigningName: "aps",
10
- };
11
- };
12
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
- exports.commonParams = {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("./index.js");