@aws-sdk/client-grafana 3.928.0 → 3.930.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/index.js +1241 -1255
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/GrafanaClient.js +2 -0
- package/dist-es/commands/AssociateLicenseCommand.js +3 -10
- package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +3 -10
- package/dist-es/commands/CreateWorkspaceCommand.js +3 -10
- package/dist-es/commands/CreateWorkspaceServiceAccountCommand.js +3 -9
- package/dist-es/commands/CreateWorkspaceServiceAccountTokenCommand.js +3 -10
- package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +3 -9
- package/dist-es/commands/DeleteWorkspaceCommand.js +3 -10
- package/dist-es/commands/DeleteWorkspaceServiceAccountCommand.js +3 -9
- package/dist-es/commands/DeleteWorkspaceServiceAccountTokenCommand.js +3 -9
- package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +3 -10
- package/dist-es/commands/DescribeWorkspaceCommand.js +3 -10
- package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +3 -9
- package/dist-es/commands/DisassociateLicenseCommand.js +3 -10
- package/dist-es/commands/ListPermissionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListVersionsCommand.js +3 -9
- package/dist-es/commands/ListWorkspaceServiceAccountTokensCommand.js +3 -9
- package/dist-es/commands/ListWorkspaceServiceAccountsCommand.js +3 -9
- package/dist-es/commands/ListWorkspacesCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdatePermissionsCommand.js +3 -9
- package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +3 -10
- package/dist-es/commands/UpdateWorkspaceCommand.js +3 -10
- package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -112
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1189 -0
- package/dist-types/GrafanaClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +4 -85
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +132 -0
- package/dist-types/ts3.4/GrafanaClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -62
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +138 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -938
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -227
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -305
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.grafana" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "grafana",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/GrafanaClient.js
CHANGED
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class GrafanaClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_AssociateLicenseCommand, se_AssociateLicenseCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { AssociateLicense } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class AssociateLicenseCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "AssociateLicense", {})
|
|
18
13
|
.n("GrafanaClient", "AssociateLicenseCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_AssociateLicenseCommand)
|
|
21
|
-
.de(de_AssociateLicenseCommand)
|
|
14
|
+
.sc(AssociateLicense)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateWorkspaceApiKeyCommand, se_CreateWorkspaceApiKeyCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateWorkspaceApiKey } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateWorkspaceApiKeyCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "CreateWorkspaceApiKey", {})
|
|
18
13
|
.n("GrafanaClient", "CreateWorkspaceApiKeyCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateWorkspaceApiKeyCommand)
|
|
21
|
-
.de(de_CreateWorkspaceApiKeyCommand)
|
|
14
|
+
.sc(CreateWorkspaceApiKey)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateWorkspaceCommand, se_CreateWorkspaceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateWorkspace } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateWorkspaceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "CreateWorkspace", {})
|
|
18
13
|
.n("GrafanaClient", "CreateWorkspaceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateWorkspaceCommand)
|
|
21
|
-
.de(de_CreateWorkspaceCommand)
|
|
14
|
+
.sc(CreateWorkspace)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateWorkspaceServiceAccount } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateWorkspaceServiceAccountCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "CreateWorkspaceServiceAccount", {})
|
|
17
13
|
.n("GrafanaClient", "CreateWorkspaceServiceAccountCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateWorkspaceServiceAccountCommand)
|
|
20
|
-
.de(de_CreateWorkspaceServiceAccountCommand)
|
|
14
|
+
.sc(CreateWorkspaceServiceAccount)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateWorkspaceServiceAccountTokenCommand, se_CreateWorkspaceServiceAccountTokenCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateWorkspaceServiceAccountToken } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateWorkspaceServiceAccountTokenCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "CreateWorkspaceServiceAccountToken", {})
|
|
18
13
|
.n("GrafanaClient", "CreateWorkspaceServiceAccountTokenCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateWorkspaceServiceAccountTokenCommand)
|
|
21
|
-
.de(de_CreateWorkspaceServiceAccountTokenCommand)
|
|
14
|
+
.sc(CreateWorkspaceServiceAccountToken)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteWorkspaceApiKey } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteWorkspaceApiKeyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "DeleteWorkspaceApiKey", {})
|
|
17
13
|
.n("GrafanaClient", "DeleteWorkspaceApiKeyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteWorkspaceApiKeyCommand)
|
|
20
|
-
.de(de_DeleteWorkspaceApiKeyCommand)
|
|
14
|
+
.sc(DeleteWorkspaceApiKey)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DeleteWorkspaceCommand, se_DeleteWorkspaceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteWorkspace } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteWorkspaceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "DeleteWorkspace", {})
|
|
18
13
|
.n("GrafanaClient", "DeleteWorkspaceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteWorkspaceCommand)
|
|
21
|
-
.de(de_DeleteWorkspaceCommand)
|
|
14
|
+
.sc(DeleteWorkspace)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteWorkspaceServiceAccount } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteWorkspaceServiceAccountCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "DeleteWorkspaceServiceAccount", {})
|
|
17
13
|
.n("GrafanaClient", "DeleteWorkspaceServiceAccountCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteWorkspaceServiceAccountCommand)
|
|
20
|
-
.de(de_DeleteWorkspaceServiceAccountCommand)
|
|
14
|
+
.sc(DeleteWorkspaceServiceAccount)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteWorkspaceServiceAccountToken } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteWorkspaceServiceAccountTokenCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "DeleteWorkspaceServiceAccountToken", {})
|
|
17
13
|
.n("GrafanaClient", "DeleteWorkspaceServiceAccountTokenCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteWorkspaceServiceAccountTokenCommand)
|
|
20
|
-
.de(de_DeleteWorkspaceServiceAccountTokenCommand)
|
|
14
|
+
.sc(DeleteWorkspaceServiceAccountToken)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeWorkspaceAuthenticationCommand, se_DescribeWorkspaceAuthenticationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeWorkspaceAuthentication } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeWorkspaceAuthenticationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "DescribeWorkspaceAuthentication", {})
|
|
18
13
|
.n("GrafanaClient", "DescribeWorkspaceAuthenticationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeWorkspaceAuthenticationCommand)
|
|
21
|
-
.de(de_DescribeWorkspaceAuthenticationCommand)
|
|
14
|
+
.sc(DescribeWorkspaceAuthentication)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeWorkspaceCommand, se_DescribeWorkspaceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeWorkspace } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeWorkspaceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "DescribeWorkspace", {})
|
|
18
13
|
.n("GrafanaClient", "DescribeWorkspaceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeWorkspaceCommand)
|
|
21
|
-
.de(de_DescribeWorkspaceCommand)
|
|
14
|
+
.sc(DescribeWorkspace)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeWorkspaceConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeWorkspaceConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "DescribeWorkspaceConfiguration", {})
|
|
17
13
|
.n("GrafanaClient", "DescribeWorkspaceConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeWorkspaceConfigurationCommand)
|
|
20
|
-
.de(de_DescribeWorkspaceConfigurationCommand)
|
|
14
|
+
.sc(DescribeWorkspaceConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DisassociateLicenseCommand, se_DisassociateLicenseCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DisassociateLicense } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DisassociateLicenseCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "DisassociateLicense", {})
|
|
18
13
|
.n("GrafanaClient", "DisassociateLicenseCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DisassociateLicenseCommand)
|
|
21
|
-
.de(de_DisassociateLicenseCommand)
|
|
14
|
+
.sc(DisassociateLicense)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPermissions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPermissionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "ListPermissions", {})
|
|
17
13
|
.n("GrafanaClient", "ListPermissionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPermissionsCommand)
|
|
20
|
-
.de(de_ListPermissionsCommand)
|
|
14
|
+
.sc(ListPermissions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "ListTagsForResource", {})
|
|
17
13
|
.n("GrafanaClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListVersions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListVersionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "ListVersions", {})
|
|
17
13
|
.n("GrafanaClient", "ListVersionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListVersionsCommand)
|
|
20
|
-
.de(de_ListVersionsCommand)
|
|
14
|
+
.sc(ListVersions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListWorkspaceServiceAccountTokens } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListWorkspaceServiceAccountTokensCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "ListWorkspaceServiceAccountTokens", {})
|
|
17
13
|
.n("GrafanaClient", "ListWorkspaceServiceAccountTokensCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListWorkspaceServiceAccountTokensCommand)
|
|
20
|
-
.de(de_ListWorkspaceServiceAccountTokensCommand)
|
|
14
|
+
.sc(ListWorkspaceServiceAccountTokens)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListWorkspaceServiceAccounts } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListWorkspaceServiceAccountsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "ListWorkspaceServiceAccounts", {})
|
|
17
13
|
.n("GrafanaClient", "ListWorkspaceServiceAccountsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListWorkspaceServiceAccountsCommand)
|
|
20
|
-
.de(de_ListWorkspaceServiceAccountsCommand)
|
|
14
|
+
.sc(ListWorkspaceServiceAccounts)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListWorkspacesCommand, se_ListWorkspacesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListWorkspaces } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListWorkspacesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGrafanaControlPlane", "ListWorkspaces", {})
|
|
18
13
|
.n("GrafanaClient", "ListWorkspacesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListWorkspacesCommand)
|
|
21
|
-
.de(de_ListWorkspacesCommand)
|
|
14
|
+
.sc(ListWorkspaces)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "TagResource", {})
|
|
17
13
|
.n("GrafanaClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "UntagResource", {})
|
|
17
13
|
.n("GrafanaClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePermissions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePermissionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGrafanaControlPlane", "UpdatePermissions", {})
|
|
17
13
|
.n("GrafanaClient", "UpdatePermissionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePermissionsCommand)
|
|
20
|
-
.de(de_UpdatePermissionsCommand)
|
|
14
|
+
.sc(UpdatePermissions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|