@aws-sdk/client-workspaces-thin-client 3.928.0 → 3.929.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 +825 -1061
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/WorkSpacesThinClientClient.js +2 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +3 -10
- package/dist-es/commands/DeleteDeviceCommand.js +3 -9
- package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
- package/dist-es/commands/DeregisterDeviceCommand.js +3 -9
- package/dist-es/commands/GetDeviceCommand.js +3 -10
- package/dist-es/commands/GetEnvironmentCommand.js +3 -10
- package/dist-es/commands/GetSoftwareSetCommand.js +3 -9
- package/dist-es/commands/ListDevicesCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentsCommand.js +3 -10
- package/dist-es/commands/ListSoftwareSetsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateDeviceCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentCommand.js +3 -10
- package/dist-es/commands/UpdateSoftwareSetCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -81
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +777 -0
- package/dist-types/WorkSpacesThinClientClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -68
- 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 +81 -0
- package/dist-types/ts3.4/WorkSpacesThinClientClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -47
- 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 +88 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -838
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
|
@@ -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.workspacesthinclient" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "WorkSpaces Thin Client",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -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 WorkSpacesThinClientClient 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_CreateEnvironmentCommand, se_CreateEnvironmentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateEnvironment } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateEnvironmentCommand 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("ThinClient", "CreateEnvironment", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "CreateEnvironmentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateEnvironmentCommand)
|
|
21
|
-
.de(de_CreateEnvironmentCommand)
|
|
14
|
+
.sc(CreateEnvironment)
|
|
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 { DeleteDevice } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteDeviceCommand 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("ThinClient", "DeleteDevice", {})
|
|
17
13
|
.n("WorkSpacesThinClientClient", "DeleteDeviceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteDeviceCommand)
|
|
20
|
-
.de(de_DeleteDeviceCommand)
|
|
14
|
+
.sc(DeleteDevice)
|
|
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 { DeleteEnvironment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteEnvironmentCommand 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("ThinClient", "DeleteEnvironment", {})
|
|
17
13
|
.n("WorkSpacesThinClientClient", "DeleteEnvironmentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteEnvironmentCommand)
|
|
20
|
-
.de(de_DeleteEnvironmentCommand)
|
|
14
|
+
.sc(DeleteEnvironment)
|
|
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 { DeregisterDevice } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeregisterDeviceCommand 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("ThinClient", "DeregisterDevice", {})
|
|
17
13
|
.n("WorkSpacesThinClientClient", "DeregisterDeviceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeregisterDeviceCommand)
|
|
20
|
-
.de(de_DeregisterDeviceCommand)
|
|
14
|
+
.sc(DeregisterDevice)
|
|
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_GetDeviceCommand, se_GetDeviceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetDevice } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetDeviceCommand 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("ThinClient", "GetDevice", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "GetDeviceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetDeviceCommand)
|
|
21
|
-
.de(de_GetDeviceCommand)
|
|
14
|
+
.sc(GetDevice)
|
|
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_GetEnvironmentCommand, se_GetEnvironmentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetEnvironment } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetEnvironmentCommand 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("ThinClient", "GetEnvironment", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "GetEnvironmentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetEnvironmentCommand)
|
|
21
|
-
.de(de_GetEnvironmentCommand)
|
|
14
|
+
.sc(GetEnvironment)
|
|
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 { GetSoftwareSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetSoftwareSetCommand 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("ThinClient", "GetSoftwareSet", {})
|
|
17
13
|
.n("WorkSpacesThinClientClient", "GetSoftwareSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetSoftwareSetCommand)
|
|
20
|
-
.de(de_GetSoftwareSetCommand)
|
|
14
|
+
.sc(GetSoftwareSet)
|
|
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_ListDevicesCommand, se_ListDevicesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListDevices } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListDevicesCommand 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("ThinClient", "ListDevices", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "ListDevicesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListDevicesCommand)
|
|
21
|
-
.de(de_ListDevicesCommand)
|
|
14
|
+
.sc(ListDevices)
|
|
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_ListEnvironmentsCommand, se_ListEnvironmentsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListEnvironments } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListEnvironmentsCommand 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("ThinClient", "ListEnvironments", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "ListEnvironmentsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListEnvironmentsCommand)
|
|
21
|
-
.de(de_ListEnvironmentsCommand)
|
|
14
|
+
.sc(ListEnvironments)
|
|
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 { ListSoftwareSets } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListSoftwareSetsCommand 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("ThinClient", "ListSoftwareSets", {})
|
|
17
13
|
.n("WorkSpacesThinClientClient", "ListSoftwareSetsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListSoftwareSetsCommand)
|
|
20
|
-
.de(de_ListSoftwareSetsCommand)
|
|
14
|
+
.sc(ListSoftwareSets)
|
|
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListTagsForResourceCommand 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("ThinClient", "ListTagsForResource", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "ListTagsForResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListTagsForResourceCommand)
|
|
21
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class TagResourceCommand 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("ThinClient", "TagResource", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "TagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_TagResourceCommand)
|
|
21
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UntagResourceCommand 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("ThinClient", "UntagResource", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "UntagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UntagResourceCommand)
|
|
21
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
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_UpdateDeviceCommand, se_UpdateDeviceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateDevice } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateDeviceCommand 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("ThinClient", "UpdateDevice", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "UpdateDeviceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateDeviceCommand)
|
|
21
|
-
.de(de_UpdateDeviceCommand)
|
|
14
|
+
.sc(UpdateDevice)
|
|
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_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateEnvironment } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateEnvironmentCommand 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("ThinClient", "UpdateEnvironment", {})
|
|
18
13
|
.n("WorkSpacesThinClientClient", "UpdateEnvironmentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateEnvironmentCommand)
|
|
21
|
-
.de(de_UpdateEnvironmentCommand)
|
|
14
|
+
.sc(UpdateEnvironment)
|
|
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 { UpdateSoftwareSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSoftwareSetCommand 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("ThinClient", "UpdateSoftwareSet", {})
|
|
17
13
|
.n("WorkSpacesThinClientClient", "UpdateSoftwareSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSoftwareSetCommand)
|
|
20
|
-
.de(de_UpdateSoftwareSetCommand)
|
|
14
|
+
.sc(UpdateSoftwareSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { WorkSpacesThinClientServiceException as __BaseException } from "./WorkSpacesThinClientServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -177,83 +176,3 @@ export const SoftwareSetValidationStatus = {
|
|
|
177
176
|
NOT_VALIDATED: "NOT_VALIDATED",
|
|
178
177
|
VALIDATED: "VALIDATED",
|
|
179
178
|
};
|
|
180
|
-
export const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
181
|
-
...obj,
|
|
182
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
183
|
-
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
184
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
185
|
-
...(obj.deviceCreationTags && { deviceCreationTags: SENSITIVE_STRING }),
|
|
186
|
-
});
|
|
187
|
-
export const EnvironmentSummaryFilterSensitiveLog = (obj) => ({
|
|
188
|
-
...obj,
|
|
189
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
190
|
-
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
191
|
-
...(obj.activationCode && { activationCode: SENSITIVE_STRING }),
|
|
192
|
-
});
|
|
193
|
-
export const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
194
|
-
...obj,
|
|
195
|
-
...(obj.environment && { environment: EnvironmentSummaryFilterSensitiveLog(obj.environment) }),
|
|
196
|
-
});
|
|
197
|
-
export const DeviceFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
200
|
-
...(obj.lastUserId && { lastUserId: SENSITIVE_STRING }),
|
|
201
|
-
});
|
|
202
|
-
export const DeviceSummaryFilterSensitiveLog = (obj) => ({
|
|
203
|
-
...obj,
|
|
204
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
205
|
-
...(obj.lastUserId && { lastUserId: SENSITIVE_STRING }),
|
|
206
|
-
});
|
|
207
|
-
export const EnvironmentFilterSensitiveLog = (obj) => ({
|
|
208
|
-
...obj,
|
|
209
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
210
|
-
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
211
|
-
...(obj.activationCode && { activationCode: SENSITIVE_STRING }),
|
|
212
|
-
...(obj.deviceCreationTags && { deviceCreationTags: SENSITIVE_STRING }),
|
|
213
|
-
});
|
|
214
|
-
export const GetDeviceResponseFilterSensitiveLog = (obj) => ({
|
|
215
|
-
...obj,
|
|
216
|
-
...(obj.device && { device: DeviceFilterSensitiveLog(obj.device) }),
|
|
217
|
-
});
|
|
218
|
-
export const GetEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
219
|
-
...obj,
|
|
220
|
-
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
|
|
221
|
-
});
|
|
222
|
-
export const ListDevicesResponseFilterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
...(obj.devices && { devices: obj.devices.map((item) => DeviceSummaryFilterSensitiveLog(item)) }),
|
|
225
|
-
});
|
|
226
|
-
export const ListEnvironmentsResponseFilterSensitiveLog = (obj) => ({
|
|
227
|
-
...obj,
|
|
228
|
-
...(obj.environments && { environments: obj.environments.map((item) => EnvironmentSummaryFilterSensitiveLog(item)) }),
|
|
229
|
-
});
|
|
230
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
233
|
-
});
|
|
234
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
235
|
-
...obj,
|
|
236
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
237
|
-
});
|
|
238
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
239
|
-
...obj,
|
|
240
|
-
...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
|
|
241
|
-
});
|
|
242
|
-
export const UpdateDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
243
|
-
...obj,
|
|
244
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
245
|
-
});
|
|
246
|
-
export const UpdateDeviceResponseFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
...(obj.device && { device: DeviceSummaryFilterSensitiveLog(obj.device) }),
|
|
249
|
-
});
|
|
250
|
-
export const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
251
|
-
...obj,
|
|
252
|
-
...(obj.name && { name: SENSITIVE_STRING }),
|
|
253
|
-
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
254
|
-
...(obj.deviceCreationTags && { deviceCreationTags: SENSITIVE_STRING }),
|
|
255
|
-
});
|
|
256
|
-
export const UpdateEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
257
|
-
...obj,
|
|
258
|
-
...(obj.environment && { environment: EnvironmentSummaryFilterSensitiveLog(obj.environment) }),
|
|
259
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.workspacesthinclient" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "WorkSpaces Thin Client",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|