@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
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteWorkspaceCommand, se_DeleteWorkspaceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteWorkspaceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "DeleteWorkspaceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "DeleteWorkspace",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteWorkspaceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteWorkspaceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteWorkspaceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "DeleteWorkspace", {})
|
|
19
|
+
.n("AmpClient", "DeleteWorkspaceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteWorkspaceCommand)
|
|
22
|
+
.de(de_DeleteWorkspaceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeAlertManagerDefinitionCommand, se_DescribeAlertManagerDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeAlertManagerDefinitionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "DescribeAlertManagerDefinitionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "DescribeAlertManagerDefinition",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeAlertManagerDefinitionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeAlertManagerDefinitionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeAlertManagerDefinitionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "DescribeAlertManagerDefinition", {})
|
|
19
|
+
.n("AmpClient", "DescribeAlertManagerDefinitionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeAlertManagerDefinitionCommand)
|
|
22
|
+
.de(de_DescribeAlertManagerDefinitionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeLoggingConfigurationCommand, se_DescribeLoggingConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeLoggingConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "DescribeLoggingConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "DescribeLoggingConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeLoggingConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeLoggingConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeLoggingConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "DescribeLoggingConfiguration", {})
|
|
19
|
+
.n("AmpClient", "DescribeLoggingConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeLoggingConfigurationCommand)
|
|
22
|
+
.de(de_DescribeLoggingConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeRuleGroupsNamespaceCommand, se_DescribeRuleGroupsNamespaceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeRuleGroupsNamespaceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "DescribeRuleGroupsNamespaceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "DescribeRuleGroupsNamespace",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeRuleGroupsNamespaceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeRuleGroupsNamespaceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeRuleGroupsNamespaceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "DescribeRuleGroupsNamespace", {})
|
|
19
|
+
.n("AmpClient", "DescribeRuleGroupsNamespaceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeRuleGroupsNamespaceCommand)
|
|
22
|
+
.de(de_DescribeRuleGroupsNamespaceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeScraperCommand, se_DescribeScraperCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeScraperCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "DescribeScraperCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "DescribeScraper",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeScraperCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeScraperCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeScraperCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "DescribeScraper", {})
|
|
19
|
+
.n("AmpClient", "DescribeScraperCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeScraperCommand)
|
|
22
|
+
.de(de_DescribeScraperCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeWorkspaceCommand, se_DescribeWorkspaceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeWorkspaceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "DescribeWorkspaceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "DescribeWorkspace",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeWorkspaceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeWorkspaceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeWorkspaceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "DescribeWorkspace", {})
|
|
19
|
+
.n("AmpClient", "DescribeWorkspaceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeWorkspaceCommand)
|
|
22
|
+
.de(de_DescribeWorkspaceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetDefaultScraperConfigurationCommand, se_GetDefaultScraperConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetDefaultScraperConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "GetDefaultScraperConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "GetDefaultScraperConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetDefaultScraperConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetDefaultScraperConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetDefaultScraperConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "GetDefaultScraperConfiguration", {})
|
|
19
|
+
.n("AmpClient", "GetDefaultScraperConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetDefaultScraperConfigurationCommand)
|
|
22
|
+
.de(de_GetDefaultScraperConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListRuleGroupsNamespacesCommand, se_ListRuleGroupsNamespacesCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListRuleGroupsNamespacesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "ListRuleGroupsNamespacesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "ListRuleGroupsNamespaces",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListRuleGroupsNamespacesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListRuleGroupsNamespacesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListRuleGroupsNamespacesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "ListRuleGroupsNamespaces", {})
|
|
19
|
+
.n("AmpClient", "ListRuleGroupsNamespacesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRuleGroupsNamespacesCommand)
|
|
22
|
+
.de(de_ListRuleGroupsNamespacesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListScrapersCommand, se_ListScrapersCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListScrapersCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmpClient";
|
|
26
|
-
const commandName = "ListScrapersCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPrometheusService",
|
|
35
|
-
operation: "ListScrapers",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListScrapersCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListScrapersCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListScrapersCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPrometheusService", "ListScrapers", {})
|
|
19
|
+
.n("AmpClient", "ListScrapersCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListScrapersCommand)
|
|
22
|
+
.de(de_ListScrapersCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|