@aws-sdk/client-workspaces-thin-client 3.477.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/CreateEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/DeleteDeviceCommand.js +18 -41
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/DeregisterDeviceCommand.js +18 -41
- package/dist-cjs/commands/GetDeviceCommand.js +18 -41
- package/dist-cjs/commands/GetEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/GetSoftwareSetCommand.js +18 -41
- package/dist-cjs/commands/ListDevicesCommand.js +18 -41
- package/dist-cjs/commands/ListEnvironmentsCommand.js +18 -41
- package/dist-cjs/commands/ListSoftwareSetsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateDeviceCommand.js +18 -41
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/UpdateSoftwareSetCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListDevicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSoftwareSetsPaginator.js +2 -24
- package/dist-es/commands/CreateEnvironmentCommand.js +18 -41
- package/dist-es/commands/DeleteDeviceCommand.js +18 -41
- package/dist-es/commands/DeleteEnvironmentCommand.js +18 -41
- package/dist-es/commands/DeregisterDeviceCommand.js +18 -41
- package/dist-es/commands/GetDeviceCommand.js +18 -41
- package/dist-es/commands/GetEnvironmentCommand.js +18 -41
- package/dist-es/commands/GetSoftwareSetCommand.js +18 -41
- package/dist-es/commands/ListDevicesCommand.js +18 -41
- package/dist-es/commands/ListEnvironmentsCommand.js +18 -41
- package/dist-es/commands/ListSoftwareSetsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateDeviceCommand.js +18 -41
- package/dist-es/commands/UpdateEnvironmentCommand.js +18 -41
- package/dist-es/commands/UpdateSoftwareSetCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListDevicesPaginator.js +2 -23
- package/dist-es/pagination/ListEnvironmentsPaginator.js +2 -23
- package/dist-es/pagination/ListSoftwareSetsPaginator.js +2 -23
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDeviceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterDeviceCommand.d.ts +6 -21
- package/dist-types/commands/GetDeviceCommand.d.ts +6 -21
- package/dist-types/commands/GetEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/GetSoftwareSetCommand.d.ts +6 -21
- package/dist-types/commands/ListDevicesCommand.d.ts +6 -21
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +6 -21
- package/dist-types/commands/ListSoftwareSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.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/UpdateDeviceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSoftwareSetCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListDevicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSoftwareSetsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDeviceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeregisterDeviceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSoftwareSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSoftwareSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- 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/UpdateDeviceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSoftwareSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListDevicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSoftwareSetsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListSoftwareSetsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WorkSpacesThinClientClient";
|
|
29
|
-
const commandName = "ListSoftwareSetsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ThinClient",
|
|
38
|
-
operation: "ListSoftwareSets",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListSoftwareSetsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListSoftwareSetsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListSoftwareSetsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ThinClient", "ListSoftwareSets", {})
|
|
22
|
+
.n("WorkSpacesThinClientClient", "ListSoftwareSetsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListSoftwareSetsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListSoftwareSetsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListSoftwareSetsCommand = ListSoftwareSetsCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class ListTagsForResourceCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "WorkSpacesThinClientClient";
|
|
30
|
-
const commandName = "ListTagsForResourceCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "ThinClient",
|
|
39
|
-
operation: "ListTagsForResource",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_ListTagsForResourceCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_ListTagsForResourceCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class ListTagsForResourceCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("ThinClient", "ListTagsForResource", {})
|
|
23
|
+
.n("WorkSpacesThinClientClient", "ListTagsForResourceCommand")
|
|
24
|
+
.f(void 0, models_0_1.ListTagsForResourceResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_ListTagsForResourceCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "WorkSpacesThinClientClient";
|
|
30
|
-
const commandName = "TagResourceCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.TagResourceRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "ThinClient",
|
|
39
|
-
operation: "TagResource",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_TagResourceCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_TagResourceCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("ThinClient", "TagResource", {})
|
|
23
|
+
.n("WorkSpacesThinClientClient", "TagResourceCommand")
|
|
24
|
+
.f(models_0_1.TagResourceRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_TagResourceCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_TagResourceCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "WorkSpacesThinClientClient";
|
|
30
|
-
const commandName = "UntagResourceCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UntagResourceRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "ThinClient",
|
|
39
|
-
operation: "UntagResource",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("ThinClient", "UntagResource", {})
|
|
23
|
+
.n("WorkSpacesThinClientClient", "UntagResourceCommand")
|
|
24
|
+
.f(models_0_1.UntagResourceRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UpdateDeviceCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "WorkSpacesThinClientClient";
|
|
30
|
-
const commandName = "UpdateDeviceCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdateDeviceRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.UpdateDeviceResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "ThinClient",
|
|
39
|
-
operation: "UpdateDevice",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UpdateDeviceCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UpdateDeviceCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateDeviceCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("ThinClient", "UpdateDevice", {})
|
|
23
|
+
.n("WorkSpacesThinClientClient", "UpdateDeviceCommand")
|
|
24
|
+
.f(models_0_1.UpdateDeviceRequestFilterSensitiveLog, models_0_1.UpdateDeviceResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UpdateDeviceCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UpdateDeviceCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateDeviceCommand = UpdateDeviceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UpdateEnvironmentCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "WorkSpacesThinClientClient";
|
|
30
|
-
const commandName = "UpdateEnvironmentCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdateEnvironmentRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.UpdateEnvironmentResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "ThinClient",
|
|
39
|
-
operation: "UpdateEnvironment",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UpdateEnvironmentCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UpdateEnvironmentCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateEnvironmentCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("ThinClient", "UpdateEnvironment", {})
|
|
23
|
+
.n("WorkSpacesThinClientClient", "UpdateEnvironmentCommand")
|
|
24
|
+
.f(models_0_1.UpdateEnvironmentRequestFilterSensitiveLog, models_0_1.UpdateEnvironmentResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UpdateEnvironmentCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UpdateEnvironmentCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateSoftwareSetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WorkSpacesThinClientClient";
|
|
29
|
-
const commandName = "UpdateSoftwareSetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ThinClient",
|
|
38
|
-
operation: "UpdateSoftwareSet",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateSoftwareSetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateSoftwareSetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateSoftwareSetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ThinClient", "UpdateSoftwareSet", {})
|
|
22
|
+
.n("WorkSpacesThinClientClient", "UpdateSoftwareSetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateSoftwareSetCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateSoftwareSetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateSoftwareSetCommand = UpdateSoftwareSetCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDevices = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDevicesCommand_1 = require("../commands/ListDevicesCommand");
|
|
5
6
|
const WorkSpacesThinClientClient_1 = require("../WorkSpacesThinClientClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDevicesCommand_1.ListDevicesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDevices(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkSpacesThinClientClient_1.WorkSpacesThinClientClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkSpacesThinClient | WorkSpacesThinClientClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDevices = paginateListDevices;
|
|
7
|
+
exports.paginateListDevices = (0, core_1.createPaginator)(WorkSpacesThinClientClient_1.WorkSpacesThinClientClient, ListDevicesCommand_1.ListDevicesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEnvironments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEnvironmentsCommand_1 = require("../commands/ListEnvironmentsCommand");
|
|
5
6
|
const WorkSpacesThinClientClient_1 = require("../WorkSpacesThinClientClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEnvironmentsCommand_1.ListEnvironmentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEnvironments(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkSpacesThinClientClient_1.WorkSpacesThinClientClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkSpacesThinClient | WorkSpacesThinClientClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEnvironments = paginateListEnvironments;
|
|
7
|
+
exports.paginateListEnvironments = (0, core_1.createPaginator)(WorkSpacesThinClientClient_1.WorkSpacesThinClientClient, ListEnvironmentsCommand_1.ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSoftwareSets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSoftwareSetsCommand_1 = require("../commands/ListSoftwareSetsCommand");
|
|
5
6
|
const WorkSpacesThinClientClient_1 = require("../WorkSpacesThinClientClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSoftwareSetsCommand_1.ListSoftwareSetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSoftwareSets(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkSpacesThinClientClient_1.WorkSpacesThinClientClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkSpacesThinClient | WorkSpacesThinClientClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSoftwareSets = paginateListSoftwareSets;
|
|
7
|
+
exports.paginateListSoftwareSets = (0, core_1.createPaginator)(WorkSpacesThinClientClient_1.WorkSpacesThinClientClient, ListSoftwareSetsCommand_1.ListSoftwareSetsCommand, "nextToken", "nextToken", "maxResults");
|