@aws-sdk/client-amp 3.478.0 → 3.481.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.
- package/dist-cjs/commands/CreateAlertManagerDefinitionCommand.js +18 -41
- package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateRuleGroupsNamespaceCommand.js +18 -41
- package/dist-cjs/commands/CreateScraperCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkspaceCommand.js +18 -41
- package/dist-cjs/commands/DeleteAlertManagerDefinitionCommand.js +18 -41
- package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteRuleGroupsNamespaceCommand.js +18 -41
- package/dist-cjs/commands/DeleteScraperCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkspaceCommand.js +18 -41
- package/dist-cjs/commands/DescribeAlertManagerDefinitionCommand.js +18 -41
- package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DescribeRuleGroupsNamespaceCommand.js +18 -41
- package/dist-cjs/commands/DescribeScraperCommand.js +18 -41
- package/dist-cjs/commands/DescribeWorkspaceCommand.js +18 -41
- package/dist-cjs/commands/GetDefaultScraperConfigurationCommand.js +18 -41
- package/dist-cjs/commands/ListRuleGroupsNamespacesCommand.js +18 -41
- package/dist-cjs/commands/ListScrapersCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListWorkspacesCommand.js +18 -41
- package/dist-cjs/commands/PutAlertManagerDefinitionCommand.js +18 -41
- package/dist-cjs/commands/PutRuleGroupsNamespaceCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateWorkspaceAliasCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +4 -0
- package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +18 -41
- package/dist-es/commands/CreateLoggingConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +18 -41
- package/dist-es/commands/CreateScraperCommand.js +18 -41
- package/dist-es/commands/CreateWorkspaceCommand.js +18 -41
- package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +18 -41
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +18 -41
- package/dist-es/commands/DeleteScraperCommand.js +18 -41
- package/dist-es/commands/DeleteWorkspaceCommand.js +18 -41
- package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +18 -41
- package/dist-es/commands/DescribeLoggingConfigurationCommand.js +18 -41
- package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +18 -41
- package/dist-es/commands/DescribeScraperCommand.js +18 -41
- package/dist-es/commands/DescribeWorkspaceCommand.js +18 -41
- package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +18 -41
- package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +18 -41
- package/dist-es/commands/ListScrapersCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListWorkspacesCommand.js +18 -41
- package/dist-es/commands/PutAlertManagerDefinitionCommand.js +18 -41
- package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateWorkspaceAliasCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/CreateScraperCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +8 -21
- package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteScraperCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeScraperCommand.d.ts +6 -21
- package/dist-types/commands/DescribeWorkspaceCommand.d.ts +7 -21
- package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +6 -21
- package/dist-types/commands/ListScrapersCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkspacesCommand.d.ts +7 -21
- package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateScraperCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteScraperCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeScraperCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDefaultScraperConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListScrapersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class CreateAlertManagerDefinitionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "CreateAlertManagerDefinitionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "CreateAlertManagerDefinition",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_CreateAlertManagerDefinitionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_CreateAlertManagerDefinitionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateAlertManagerDefinitionCommand 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", "CreateAlertManagerDefinition", {})
|
|
22
|
+
.n("AmpClient", "CreateAlertManagerDefinitionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_CreateAlertManagerDefinitionCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_CreateAlertManagerDefinitionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateAlertManagerDefinitionCommand = CreateAlertManagerDefinitionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class CreateLoggingConfigurationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "CreateLoggingConfigurationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "CreateLoggingConfiguration",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_CreateLoggingConfigurationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_CreateLoggingConfigurationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateLoggingConfigurationCommand 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", "CreateLoggingConfiguration", {})
|
|
22
|
+
.n("AmpClient", "CreateLoggingConfigurationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_CreateLoggingConfigurationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_CreateLoggingConfigurationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateLoggingConfigurationCommand = CreateLoggingConfigurationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class CreateRuleGroupsNamespaceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "CreateRuleGroupsNamespaceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "CreateRuleGroupsNamespace",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_CreateRuleGroupsNamespaceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_CreateRuleGroupsNamespaceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateRuleGroupsNamespaceCommand 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", "CreateRuleGroupsNamespace", {})
|
|
22
|
+
.n("AmpClient", "CreateRuleGroupsNamespaceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_CreateRuleGroupsNamespaceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_CreateRuleGroupsNamespaceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateRuleGroupsNamespaceCommand = CreateRuleGroupsNamespaceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class CreateScraperCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "CreateScraperCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "CreateScraper",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_CreateScraperCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_CreateScraperCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateScraperCommand 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", "CreateScraper", {})
|
|
22
|
+
.n("AmpClient", "CreateScraperCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_CreateScraperCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_CreateScraperCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateScraperCommand = CreateScraperCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class CreateWorkspaceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "CreateWorkspaceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "CreateWorkspace",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_CreateWorkspaceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_CreateWorkspaceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateWorkspaceCommand 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", "CreateWorkspace", {})
|
|
22
|
+
.n("AmpClient", "CreateWorkspaceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_CreateWorkspaceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_CreateWorkspaceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateWorkspaceCommand = CreateWorkspaceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteAlertManagerDefinitionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "DeleteAlertManagerDefinitionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "DeleteAlertManagerDefinition",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_DeleteAlertManagerDefinitionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_DeleteAlertManagerDefinitionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteAlertManagerDefinitionCommand 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", "DeleteAlertManagerDefinition", {})
|
|
22
|
+
.n("AmpClient", "DeleteAlertManagerDefinitionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_DeleteAlertManagerDefinitionCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_DeleteAlertManagerDefinitionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteAlertManagerDefinitionCommand = DeleteAlertManagerDefinitionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteLoggingConfigurationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "DeleteLoggingConfigurationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "DeleteLoggingConfiguration",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_DeleteLoggingConfigurationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_DeleteLoggingConfigurationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteLoggingConfigurationCommand 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", "DeleteLoggingConfiguration", {})
|
|
22
|
+
.n("AmpClient", "DeleteLoggingConfigurationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_DeleteLoggingConfigurationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_DeleteLoggingConfigurationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteLoggingConfigurationCommand = DeleteLoggingConfigurationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteRuleGroupsNamespaceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "DeleteRuleGroupsNamespaceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "DeleteRuleGroupsNamespace",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_DeleteRuleGroupsNamespaceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_DeleteRuleGroupsNamespaceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteRuleGroupsNamespaceCommand 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", "DeleteRuleGroupsNamespace", {})
|
|
22
|
+
.n("AmpClient", "DeleteRuleGroupsNamespaceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_DeleteRuleGroupsNamespaceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_DeleteRuleGroupsNamespaceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteRuleGroupsNamespaceCommand = DeleteRuleGroupsNamespaceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteScraperCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "AmpClient";
|
|
29
|
-
const commandName = "DeleteScraperCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonPrometheusService",
|
|
38
|
-
operation: "DeleteScraper",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_DeleteScraperCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_DeleteScraperCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteScraperCommand 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", "DeleteScraper", {})
|
|
22
|
+
.n("AmpClient", "DeleteScraperCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_DeleteScraperCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_DeleteScraperCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteScraperCommand = DeleteScraperCommand;
|