@aws-sdk/client-workspaces-thin-client 3.552.0 → 3.554.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 +16 -50
- package/dist-es/commands/GetSoftwareSetCommand.js +2 -1
- package/dist-es/models/models_0.js +8 -18
- package/dist-es/protocols/Aws_restJson1.js +2 -21
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +0 -4
- package/dist-types/commands/GetDeviceCommand.d.ts +2 -3
- package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -3
- package/dist-types/commands/GetSoftwareSetCommand.d.ts +3 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +0 -4
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +0 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -2
- package/dist-types/commands/TagResourceCommand.d.ts +13 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +13 -2
- package/dist-types/commands/UpdateDeviceCommand.d.ts +0 -4
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +0 -4
- package/dist-types/models/models_0.d.ts +15 -49
- package/dist-types/ts3.4/models/models_0.d.ts +7 -17
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -36,7 +36,6 @@ __export(src_exports, {
|
|
|
36
36
|
DeviceSoftwareSetComplianceStatus: () => DeviceSoftwareSetComplianceStatus,
|
|
37
37
|
DeviceStatus: () => DeviceStatus,
|
|
38
38
|
DeviceSummaryFilterSensitiveLog: () => DeviceSummaryFilterSensitiveLog,
|
|
39
|
-
EmbeddedTagFilterSensitiveLog: () => EmbeddedTagFilterSensitiveLog,
|
|
40
39
|
EnvironmentFilterSensitiveLog: () => EnvironmentFilterSensitiveLog,
|
|
41
40
|
EnvironmentSoftwareSetComplianceStatus: () => EnvironmentSoftwareSetComplianceStatus,
|
|
42
41
|
EnvironmentSummaryFilterSensitiveLog: () => EnvironmentSummaryFilterSensitiveLog,
|
|
@@ -45,8 +44,8 @@ __export(src_exports, {
|
|
|
45
44
|
GetEnvironmentCommand: () => GetEnvironmentCommand,
|
|
46
45
|
GetEnvironmentResponseFilterSensitiveLog: () => GetEnvironmentResponseFilterSensitiveLog,
|
|
47
46
|
GetSoftwareSetCommand: () => GetSoftwareSetCommand,
|
|
47
|
+
GetSoftwareSetResponseFilterSensitiveLog: () => GetSoftwareSetResponseFilterSensitiveLog,
|
|
48
48
|
InternalServerException: () => InternalServerException,
|
|
49
|
-
InternalServiceException: () => InternalServiceException,
|
|
50
49
|
ListDevicesCommand: () => ListDevicesCommand,
|
|
51
50
|
ListDevicesResponseFilterSensitiveLog: () => ListDevicesResponseFilterSensitiveLog,
|
|
52
51
|
ListEnvironmentsCommand: () => ListEnvironmentsCommand,
|
|
@@ -57,6 +56,7 @@ __export(src_exports, {
|
|
|
57
56
|
MaintenanceWindowType: () => MaintenanceWindowType,
|
|
58
57
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
59
58
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
59
|
+
SoftwareSetFilterSensitiveLog: () => SoftwareSetFilterSensitiveLog,
|
|
60
60
|
SoftwareSetUpdateMode: () => SoftwareSetUpdateMode,
|
|
61
61
|
SoftwareSetUpdateSchedule: () => SoftwareSetUpdateSchedule,
|
|
62
62
|
SoftwareSetUpdateStatus: () => SoftwareSetUpdateStatus,
|
|
@@ -455,38 +455,16 @@ var SoftwareSetValidationStatus = {
|
|
|
455
455
|
NOT_VALIDATED: "NOT_VALIDATED",
|
|
456
456
|
VALIDATED: "VALIDATED"
|
|
457
457
|
};
|
|
458
|
-
var _InternalServiceException = class _InternalServiceException extends WorkSpacesThinClientServiceException {
|
|
459
|
-
/**
|
|
460
|
-
* @internal
|
|
461
|
-
*/
|
|
462
|
-
constructor(opts) {
|
|
463
|
-
super({
|
|
464
|
-
name: "InternalServiceException",
|
|
465
|
-
$fault: "server",
|
|
466
|
-
...opts
|
|
467
|
-
});
|
|
468
|
-
this.name = "InternalServiceException";
|
|
469
|
-
this.$fault = "server";
|
|
470
|
-
Object.setPrototypeOf(this, _InternalServiceException.prototype);
|
|
471
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
472
|
-
}
|
|
473
|
-
};
|
|
474
|
-
__name(_InternalServiceException, "InternalServiceException");
|
|
475
|
-
var InternalServiceException = _InternalServiceException;
|
|
476
458
|
var CreateEnvironmentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
477
459
|
...obj,
|
|
478
460
|
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
479
461
|
...obj.desktopEndpoint && { desktopEndpoint: import_smithy_client.SENSITIVE_STRING },
|
|
480
462
|
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
481
463
|
}), "CreateEnvironmentRequestFilterSensitiveLog");
|
|
482
|
-
var EmbeddedTagFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
483
|
-
...obj
|
|
484
|
-
}), "EmbeddedTagFilterSensitiveLog");
|
|
485
464
|
var EnvironmentSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
486
465
|
...obj,
|
|
487
466
|
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
488
|
-
...obj.desktopEndpoint && { desktopEndpoint: import_smithy_client.SENSITIVE_STRING }
|
|
489
|
-
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
467
|
+
...obj.desktopEndpoint && { desktopEndpoint: import_smithy_client.SENSITIVE_STRING }
|
|
490
468
|
}), "EnvironmentSummaryFilterSensitiveLog");
|
|
491
469
|
var CreateEnvironmentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
492
470
|
...obj,
|
|
@@ -499,8 +477,7 @@ var DeviceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
499
477
|
}), "DeviceFilterSensitiveLog");
|
|
500
478
|
var DeviceSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
501
479
|
...obj,
|
|
502
|
-
...obj.name && { name: import_smithy_client.SENSITIVE_STRING }
|
|
503
|
-
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
480
|
+
...obj.name && { name: import_smithy_client.SENSITIVE_STRING }
|
|
504
481
|
}), "DeviceSummaryFilterSensitiveLog");
|
|
505
482
|
var EnvironmentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
506
483
|
...obj,
|
|
@@ -516,6 +493,14 @@ var GetEnvironmentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
|
|
|
516
493
|
...obj,
|
|
517
494
|
...obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }
|
|
518
495
|
}), "GetEnvironmentResponseFilterSensitiveLog");
|
|
496
|
+
var SoftwareSetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
497
|
+
...obj,
|
|
498
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
499
|
+
}), "SoftwareSetFilterSensitiveLog");
|
|
500
|
+
var GetSoftwareSetResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
501
|
+
...obj,
|
|
502
|
+
...obj.softwareSet && { softwareSet: SoftwareSetFilterSensitiveLog(obj.softwareSet) }
|
|
503
|
+
}), "GetSoftwareSetResponseFilterSensitiveLog");
|
|
519
504
|
var ListDevicesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
520
505
|
...obj,
|
|
521
506
|
...obj.devices && { devices: obj.devices.map((item) => DeviceSummaryFilterSensitiveLog(item)) }
|
|
@@ -1143,9 +1128,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1143
1128
|
case "ValidationException":
|
|
1144
1129
|
case "com.amazonaws.workspacesthinclient#ValidationException":
|
|
1145
1130
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1146
|
-
case "InternalServiceException":
|
|
1147
|
-
case "com.amazonaws.workspacesthinclient#InternalServiceException":
|
|
1148
|
-
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
1149
1131
|
default:
|
|
1150
1132
|
const parsedBody = parsedOutput.body;
|
|
1151
1133
|
return throwDefaultError({
|
|
@@ -1199,21 +1181,6 @@ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
|
1199
1181
|
});
|
|
1200
1182
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1201
1183
|
}, "de_InternalServerExceptionRes");
|
|
1202
|
-
var de_InternalServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1203
|
-
const contents = (0, import_smithy_client.map)({
|
|
1204
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
1205
|
-
});
|
|
1206
|
-
const data = parsedOutput.body;
|
|
1207
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1208
|
-
message: import_smithy_client.expectString
|
|
1209
|
-
});
|
|
1210
|
-
Object.assign(contents, doc);
|
|
1211
|
-
const exception = new InternalServiceException({
|
|
1212
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1213
|
-
...contents
|
|
1214
|
-
});
|
|
1215
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1216
|
-
}, "de_InternalServiceExceptionRes");
|
|
1217
1184
|
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1218
1185
|
const contents = (0, import_smithy_client.map)({});
|
|
1219
1186
|
const data = parsedOutput.body;
|
|
@@ -1325,7 +1292,6 @@ var de_DeviceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1325
1292
|
serialNumber: import_smithy_client.expectString,
|
|
1326
1293
|
softwareSetUpdateSchedule: import_smithy_client.expectString,
|
|
1327
1294
|
status: import_smithy_client.expectString,
|
|
1328
|
-
tags: import_smithy_client._json,
|
|
1329
1295
|
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1330
1296
|
});
|
|
1331
1297
|
}, "de_DeviceSummary");
|
|
@@ -1373,7 +1339,6 @@ var de_EnvironmentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1373
1339
|
pendingSoftwareSetId: import_smithy_client.expectString,
|
|
1374
1340
|
softwareSetUpdateMode: import_smithy_client.expectString,
|
|
1375
1341
|
softwareSetUpdateSchedule: import_smithy_client.expectString,
|
|
1376
|
-
tags: import_smithy_client._json,
|
|
1377
1342
|
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1378
1343
|
});
|
|
1379
1344
|
}, "de_EnvironmentSummary");
|
|
@@ -1384,6 +1349,7 @@ var de_SoftwareSet = /* @__PURE__ */ __name((output, context) => {
|
|
|
1384
1349
|
releasedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1385
1350
|
software: import_smithy_client._json,
|
|
1386
1351
|
supportedUntil: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1352
|
+
tags: import_smithy_client._json,
|
|
1387
1353
|
validationStatus: import_smithy_client.expectString,
|
|
1388
1354
|
version: import_smithy_client.expectString
|
|
1389
1355
|
});
|
|
@@ -1527,7 +1493,7 @@ var _GetSoftwareSetCommand = class _GetSoftwareSetCommand extends import_smithy_
|
|
|
1527
1493
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1528
1494
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1529
1495
|
];
|
|
1530
|
-
}).s("ThinClient", "GetSoftwareSet", {}).n("WorkSpacesThinClientClient", "GetSoftwareSetCommand").f(void 0,
|
|
1496
|
+
}).s("ThinClient", "GetSoftwareSet", {}).n("WorkSpacesThinClientClient", "GetSoftwareSetCommand").f(void 0, GetSoftwareSetResponseFilterSensitiveLog).ser(se_GetSoftwareSetCommand).de(de_GetSoftwareSetCommand).build() {
|
|
1531
1497
|
};
|
|
1532
1498
|
__name(_GetSoftwareSetCommand, "GetSoftwareSetCommand");
|
|
1533
1499
|
var GetSoftwareSetCommand = _GetSoftwareSetCommand;
|
|
@@ -1772,9 +1738,7 @@ var WorkSpacesThin = WorkSpacesThinClient;
|
|
|
1772
1738
|
DeviceStatus,
|
|
1773
1739
|
EnvironmentSoftwareSetComplianceStatus,
|
|
1774
1740
|
SoftwareSetValidationStatus,
|
|
1775
|
-
InternalServiceException,
|
|
1776
1741
|
CreateEnvironmentRequestFilterSensitiveLog,
|
|
1777
|
-
EmbeddedTagFilterSensitiveLog,
|
|
1778
1742
|
EnvironmentSummaryFilterSensitiveLog,
|
|
1779
1743
|
CreateEnvironmentResponseFilterSensitiveLog,
|
|
1780
1744
|
DeviceFilterSensitiveLog,
|
|
@@ -1782,6 +1746,8 @@ var WorkSpacesThin = WorkSpacesThinClient;
|
|
|
1782
1746
|
EnvironmentFilterSensitiveLog,
|
|
1783
1747
|
GetDeviceResponseFilterSensitiveLog,
|
|
1784
1748
|
GetEnvironmentResponseFilterSensitiveLog,
|
|
1749
|
+
SoftwareSetFilterSensitiveLog,
|
|
1750
|
+
GetSoftwareSetResponseFilterSensitiveLog,
|
|
1785
1751
|
ListDevicesResponseFilterSensitiveLog,
|
|
1786
1752
|
ListEnvironmentsResponseFilterSensitiveLog,
|
|
1787
1753
|
ListTagsForResourceResponseFilterSensitiveLog,
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetSoftwareSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_GetSoftwareSetCommand, se_GetSoftwareSetCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class GetSoftwareSetCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class GetSoftwareSetCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("ThinClient", "GetSoftwareSet", {})
|
|
19
20
|
.n("WorkSpacesThinClientClient", "GetSoftwareSetCommand")
|
|
20
|
-
.f(void 0,
|
|
21
|
+
.f(void 0, GetSoftwareSetResponseFilterSensitiveLog)
|
|
21
22
|
.ser(se_GetSoftwareSetCommand)
|
|
22
23
|
.de(de_GetSoftwareSetCommand)
|
|
23
24
|
.build() {
|
|
@@ -163,33 +163,16 @@ export const SoftwareSetValidationStatus = {
|
|
|
163
163
|
NOT_VALIDATED: "NOT_VALIDATED",
|
|
164
164
|
VALIDATED: "VALIDATED",
|
|
165
165
|
};
|
|
166
|
-
export class InternalServiceException extends __BaseException {
|
|
167
|
-
constructor(opts) {
|
|
168
|
-
super({
|
|
169
|
-
name: "InternalServiceException",
|
|
170
|
-
$fault: "server",
|
|
171
|
-
...opts,
|
|
172
|
-
});
|
|
173
|
-
this.name = "InternalServiceException";
|
|
174
|
-
this.$fault = "server";
|
|
175
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
176
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
166
|
export const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
180
167
|
...obj,
|
|
181
168
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
182
169
|
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
183
170
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
184
171
|
});
|
|
185
|
-
export const EmbeddedTagFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
172
|
export const EnvironmentSummaryFilterSensitiveLog = (obj) => ({
|
|
189
173
|
...obj,
|
|
190
174
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
191
175
|
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
|
|
192
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
193
176
|
});
|
|
194
177
|
export const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
195
178
|
...obj,
|
|
@@ -203,7 +186,6 @@ export const DeviceFilterSensitiveLog = (obj) => ({
|
|
|
203
186
|
export const DeviceSummaryFilterSensitiveLog = (obj) => ({
|
|
204
187
|
...obj,
|
|
205
188
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
206
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
207
189
|
});
|
|
208
190
|
export const EnvironmentFilterSensitiveLog = (obj) => ({
|
|
209
191
|
...obj,
|
|
@@ -219,6 +201,14 @@ export const GetEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
|
219
201
|
...obj,
|
|
220
202
|
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
|
|
221
203
|
});
|
|
204
|
+
export const SoftwareSetFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
207
|
+
});
|
|
208
|
+
export const GetSoftwareSetResponseFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
...(obj.softwareSet && { softwareSet: SoftwareSetFilterSensitiveLog(obj.softwareSet) }),
|
|
211
|
+
});
|
|
222
212
|
export const ListDevicesResponseFilterSensitiveLog = (obj) => ({
|
|
223
213
|
...obj,
|
|
224
214
|
...(obj.devices && { devices: obj.devices.map((item) => DeviceSummaryFilterSensitiveLog(item)) }),
|
|
@@ -3,7 +3,7 @@ import { requestBuilder as rb } from "@smithy/core";
|
|
|
3
3
|
import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
4
4
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
5
5
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
6
|
-
import { AccessDeniedException, ConflictException, InternalServerException,
|
|
6
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
7
7
|
import { WorkSpacesThinClientServiceException as __BaseException } from "../models/WorkSpacesThinClientServiceException";
|
|
8
8
|
export const se_CreateEnvironmentCommand = async (input, context) => {
|
|
9
9
|
const b = rb(input, context);
|
|
@@ -576,9 +576,6 @@ const de_CommandError = async (output, context) => {
|
|
|
576
576
|
case "ValidationException":
|
|
577
577
|
case "com.amazonaws.workspacesthinclient#ValidationException":
|
|
578
578
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
579
|
-
case "InternalServiceException":
|
|
580
|
-
case "com.amazonaws.workspacesthinclient#InternalServiceException":
|
|
581
|
-
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
582
579
|
default:
|
|
583
580
|
const parsedBody = parsedOutput.body;
|
|
584
581
|
return throwDefaultError({
|
|
@@ -632,21 +629,6 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
632
629
|
});
|
|
633
630
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
634
631
|
};
|
|
635
|
-
const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
636
|
-
const contents = map({
|
|
637
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => __strictParseInt32(parsedOutput.headers[_ra])],
|
|
638
|
-
});
|
|
639
|
-
const data = parsedOutput.body;
|
|
640
|
-
const doc = take(data, {
|
|
641
|
-
message: __expectString,
|
|
642
|
-
});
|
|
643
|
-
Object.assign(contents, doc);
|
|
644
|
-
const exception = new InternalServiceException({
|
|
645
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
646
|
-
...contents,
|
|
647
|
-
});
|
|
648
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
649
|
-
};
|
|
650
632
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
651
633
|
const contents = map({});
|
|
652
634
|
const data = parsedOutput.body;
|
|
@@ -760,7 +742,6 @@ const de_DeviceSummary = (output, context) => {
|
|
|
760
742
|
serialNumber: __expectString,
|
|
761
743
|
softwareSetUpdateSchedule: __expectString,
|
|
762
744
|
status: __expectString,
|
|
763
|
-
tags: _json,
|
|
764
745
|
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
765
746
|
});
|
|
766
747
|
};
|
|
@@ -810,7 +791,6 @@ const de_EnvironmentSummary = (output, context) => {
|
|
|
810
791
|
pendingSoftwareSetId: __expectString,
|
|
811
792
|
softwareSetUpdateMode: __expectString,
|
|
812
793
|
softwareSetUpdateSchedule: __expectString,
|
|
813
|
-
tags: _json,
|
|
814
794
|
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
815
795
|
});
|
|
816
796
|
};
|
|
@@ -821,6 +801,7 @@ const de_SoftwareSet = (output, context) => {
|
|
|
821
801
|
releasedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
822
802
|
software: _json,
|
|
823
803
|
supportedUntil: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
804
|
+
tags: _json,
|
|
824
805
|
validationStatus: __expectString,
|
|
825
806
|
version: __expectString,
|
|
826
807
|
});
|
|
@@ -85,10 +85,6 @@ declare const CreateEnvironmentCommand_base: {
|
|
|
85
85
|
* // createdAt: new Date("TIMESTAMP"),
|
|
86
86
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
87
87
|
* // arn: "STRING_VALUE",
|
|
88
|
-
* // tags: { // EmbeddedTag
|
|
89
|
-
* // resourceArn: "STRING_VALUE",
|
|
90
|
-
* // internalId: "STRING_VALUE",
|
|
91
|
-
* // },
|
|
92
88
|
* // },
|
|
93
89
|
* // };
|
|
94
90
|
*
|
|
@@ -60,9 +60,8 @@ declare const GetDeviceCommand_base: {
|
|
|
60
60
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
61
61
|
* // arn: "STRING_VALUE",
|
|
62
62
|
* // kmsKeyArn: "STRING_VALUE",
|
|
63
|
-
* // tags: { //
|
|
64
|
-
* //
|
|
65
|
-
* // internalId: "STRING_VALUE",
|
|
63
|
+
* // tags: { // TagsMap
|
|
64
|
+
* // "<keys>": "STRING_VALUE",
|
|
66
65
|
* // },
|
|
67
66
|
* // },
|
|
68
67
|
* // };
|
|
@@ -68,9 +68,8 @@ declare const GetEnvironmentCommand_base: {
|
|
|
68
68
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
69
69
|
* // arn: "STRING_VALUE",
|
|
70
70
|
* // kmsKeyArn: "STRING_VALUE",
|
|
71
|
-
* // tags: { //
|
|
72
|
-
* //
|
|
73
|
-
* // internalId: "STRING_VALUE",
|
|
71
|
+
* // tags: { // TagsMap
|
|
72
|
+
* // "<keys>": "STRING_VALUE",
|
|
74
73
|
* // },
|
|
75
74
|
* // },
|
|
76
75
|
* // };
|
|
@@ -57,10 +57,6 @@ declare const ListDevicesCommand_base: {
|
|
|
57
57
|
* // createdAt: new Date("TIMESTAMP"),
|
|
58
58
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
59
59
|
* // arn: "STRING_VALUE",
|
|
60
|
-
* // tags: { // EmbeddedTag
|
|
61
|
-
* // resourceArn: "STRING_VALUE",
|
|
62
|
-
* // internalId: "STRING_VALUE",
|
|
63
|
-
* // },
|
|
64
60
|
* // },
|
|
65
61
|
* // ],
|
|
66
62
|
* // nextToken: "STRING_VALUE",
|
|
@@ -66,10 +66,6 @@ declare const ListEnvironmentsCommand_base: {
|
|
|
66
66
|
* // createdAt: new Date("TIMESTAMP"),
|
|
67
67
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
68
68
|
* // arn: "STRING_VALUE",
|
|
69
|
-
* // tags: { // EmbeddedTag
|
|
70
|
-
* // resourceArn: "STRING_VALUE",
|
|
71
|
-
* // internalId: "STRING_VALUE",
|
|
72
|
-
* // },
|
|
73
69
|
* // },
|
|
74
70
|
* // ],
|
|
75
71
|
* // nextToken: "STRING_VALUE",
|
|
@@ -52,12 +52,18 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
52
52
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
53
53
|
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
|
|
54
54
|
*
|
|
55
|
-
* @throws {@link
|
|
56
|
-
* <p>
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
57
60
|
*
|
|
58
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
62
|
* <p>The resource specified in the request was not found.</p>
|
|
60
63
|
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling.</p>
|
|
66
|
+
*
|
|
61
67
|
* @throws {@link ValidationException} (client fault)
|
|
62
68
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
63
69
|
*
|
|
@@ -51,12 +51,23 @@ declare const TagResourceCommand_base: {
|
|
|
51
51
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
52
52
|
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
|
|
53
53
|
*
|
|
54
|
-
* @throws {@link
|
|
55
|
-
* <p>
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The requested operation would cause a conflict with the current state of a service
|
|
59
|
+
* resource associated with the request. Resolve the conflict before retrying this
|
|
60
|
+
* request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
56
64
|
*
|
|
57
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
66
|
* <p>The resource specified in the request was not found.</p>
|
|
59
67
|
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
60
71
|
* @throws {@link ValidationException} (client fault)
|
|
61
72
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
62
73
|
*
|
|
@@ -51,12 +51,23 @@ declare const UntagResourceCommand_base: {
|
|
|
51
51
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
52
52
|
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
|
|
53
53
|
*
|
|
54
|
-
* @throws {@link
|
|
55
|
-
* <p>
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The requested operation would cause a conflict with the current state of a service
|
|
59
|
+
* resource associated with the request. Resolve the conflict before retrying this
|
|
60
|
+
* request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
56
64
|
*
|
|
57
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
66
|
* <p>The resource specified in the request was not found.</p>
|
|
59
67
|
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
60
71
|
* @throws {@link ValidationException} (client fault)
|
|
61
72
|
* <p>The input fails to satisfy the specified constraints.</p>
|
|
62
73
|
*
|
|
@@ -58,10 +58,6 @@ declare const UpdateDeviceCommand_base: {
|
|
|
58
58
|
* // createdAt: new Date("TIMESTAMP"),
|
|
59
59
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
60
60
|
* // arn: "STRING_VALUE",
|
|
61
|
-
* // tags: { // EmbeddedTag
|
|
62
|
-
* // resourceArn: "STRING_VALUE",
|
|
63
|
-
* // internalId: "STRING_VALUE",
|
|
64
|
-
* // },
|
|
65
61
|
* // },
|
|
66
62
|
* // };
|
|
67
63
|
*
|
|
@@ -81,10 +81,6 @@ declare const UpdateEnvironmentCommand_base: {
|
|
|
81
81
|
* // createdAt: new Date("TIMESTAMP"),
|
|
82
82
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
83
83
|
* // arn: "STRING_VALUE",
|
|
84
|
-
* // tags: { // EmbeddedTag
|
|
85
|
-
* // resourceArn: "STRING_VALUE",
|
|
86
|
-
* // internalId: "STRING_VALUE",
|
|
87
|
-
* // },
|
|
88
84
|
* // },
|
|
89
85
|
* // };
|
|
90
86
|
*
|
|
@@ -224,22 +224,6 @@ export declare const DesktopType: {
|
|
|
224
224
|
* @public
|
|
225
225
|
*/
|
|
226
226
|
export type DesktopType = (typeof DesktopType)[keyof typeof DesktopType];
|
|
227
|
-
/**
|
|
228
|
-
* <p>The resource and internal ID of a resource to tag.</p>
|
|
229
|
-
* @public
|
|
230
|
-
*/
|
|
231
|
-
export interface EmbeddedTag {
|
|
232
|
-
/**
|
|
233
|
-
* <p>The Amazon Resource Name (ARN) of a resource to tag.</p>
|
|
234
|
-
* @public
|
|
235
|
-
*/
|
|
236
|
-
resourceArn?: string;
|
|
237
|
-
/**
|
|
238
|
-
* <p>The internal ID of a resource to tag.</p>
|
|
239
|
-
* @public
|
|
240
|
-
*/
|
|
241
|
-
internalId?: string;
|
|
242
|
-
}
|
|
243
227
|
/**
|
|
244
228
|
* <p>Describes an environment.</p>
|
|
245
229
|
* @public
|
|
@@ -317,11 +301,6 @@ export interface EnvironmentSummary {
|
|
|
317
301
|
* @public
|
|
318
302
|
*/
|
|
319
303
|
arn?: string;
|
|
320
|
-
/**
|
|
321
|
-
* <p>The tag keys and optional values for the resource.</p>
|
|
322
|
-
* @public
|
|
323
|
-
*/
|
|
324
|
-
tags?: EmbeddedTag;
|
|
325
304
|
}
|
|
326
305
|
/**
|
|
327
306
|
* @public
|
|
@@ -739,7 +718,7 @@ export interface Device {
|
|
|
739
718
|
* <p>The tag keys and optional values for the resource.</p>
|
|
740
719
|
* @public
|
|
741
720
|
*/
|
|
742
|
-
tags?:
|
|
721
|
+
tags?: Record<string, string>;
|
|
743
722
|
}
|
|
744
723
|
/**
|
|
745
724
|
* <p>Describes a thin client device.</p>
|
|
@@ -822,11 +801,6 @@ export interface DeviceSummary {
|
|
|
822
801
|
* @public
|
|
823
802
|
*/
|
|
824
803
|
arn?: string;
|
|
825
|
-
/**
|
|
826
|
-
* <p>The tag keys and optional values for the resource.</p>
|
|
827
|
-
* @public
|
|
828
|
-
*/
|
|
829
|
-
tags?: EmbeddedTag;
|
|
830
804
|
}
|
|
831
805
|
/**
|
|
832
806
|
* @public
|
|
@@ -944,7 +918,7 @@ export interface Environment {
|
|
|
944
918
|
* <p>The tag keys and optional values for the resource.</p>
|
|
945
919
|
* @public
|
|
946
920
|
*/
|
|
947
|
-
tags?:
|
|
921
|
+
tags?: Record<string, string>;
|
|
948
922
|
}
|
|
949
923
|
/**
|
|
950
924
|
* @public
|
|
@@ -1064,33 +1038,21 @@ export interface SoftwareSet {
|
|
|
1064
1038
|
* @public
|
|
1065
1039
|
*/
|
|
1066
1040
|
arn?: string;
|
|
1067
|
-
}
|
|
1068
|
-
/**
|
|
1069
|
-
* @public
|
|
1070
|
-
*/
|
|
1071
|
-
export interface GetSoftwareSetResponse {
|
|
1072
1041
|
/**
|
|
1073
|
-
* <p>
|
|
1042
|
+
* <p>The tag keys and optional values for the resource.</p>
|
|
1074
1043
|
* @public
|
|
1075
1044
|
*/
|
|
1076
|
-
|
|
1045
|
+
tags?: Record<string, string>;
|
|
1077
1046
|
}
|
|
1078
1047
|
/**
|
|
1079
|
-
* <p>Request processing failed due to some unknown error, exception, or failure.</p>
|
|
1080
1048
|
* @public
|
|
1081
1049
|
*/
|
|
1082
|
-
export
|
|
1083
|
-
readonly name: "InternalServiceException";
|
|
1084
|
-
readonly $fault: "server";
|
|
1050
|
+
export interface GetSoftwareSetResponse {
|
|
1085
1051
|
/**
|
|
1086
|
-
* <p>
|
|
1052
|
+
* <p>Describes a software set.</p>
|
|
1087
1053
|
* @public
|
|
1088
1054
|
*/
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* @internal
|
|
1092
|
-
*/
|
|
1093
|
-
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
1055
|
+
softwareSet?: SoftwareSet;
|
|
1094
1056
|
}
|
|
1095
1057
|
/**
|
|
1096
1058
|
* @public
|
|
@@ -1430,10 +1392,6 @@ export interface UpdateSoftwareSetResponse {
|
|
|
1430
1392
|
* @internal
|
|
1431
1393
|
*/
|
|
1432
1394
|
export declare const CreateEnvironmentRequestFilterSensitiveLog: (obj: CreateEnvironmentRequest) => any;
|
|
1433
|
-
/**
|
|
1434
|
-
* @internal
|
|
1435
|
-
*/
|
|
1436
|
-
export declare const EmbeddedTagFilterSensitiveLog: (obj: EmbeddedTag) => any;
|
|
1437
1395
|
/**
|
|
1438
1396
|
* @internal
|
|
1439
1397
|
*/
|
|
@@ -1462,6 +1420,14 @@ export declare const GetDeviceResponseFilterSensitiveLog: (obj: GetDeviceRespons
|
|
|
1462
1420
|
* @internal
|
|
1463
1421
|
*/
|
|
1464
1422
|
export declare const GetEnvironmentResponseFilterSensitiveLog: (obj: GetEnvironmentResponse) => any;
|
|
1423
|
+
/**
|
|
1424
|
+
* @internal
|
|
1425
|
+
*/
|
|
1426
|
+
export declare const SoftwareSetFilterSensitiveLog: (obj: SoftwareSet) => any;
|
|
1427
|
+
/**
|
|
1428
|
+
* @internal
|
|
1429
|
+
*/
|
|
1430
|
+
export declare const GetSoftwareSetResponseFilterSensitiveLog: (obj: GetSoftwareSetResponse) => any;
|
|
1465
1431
|
/**
|
|
1466
1432
|
* @internal
|
|
1467
1433
|
*/
|
|
@@ -74,10 +74,6 @@ export declare const DesktopType: {
|
|
|
74
74
|
readonly WORKSPACES_WEB: "workspaces-web";
|
|
75
75
|
};
|
|
76
76
|
export type DesktopType = (typeof DesktopType)[keyof typeof DesktopType];
|
|
77
|
-
export interface EmbeddedTag {
|
|
78
|
-
resourceArn?: string;
|
|
79
|
-
internalId?: string;
|
|
80
|
-
}
|
|
81
77
|
export interface EnvironmentSummary {
|
|
82
78
|
id?: string;
|
|
83
79
|
name?: string;
|
|
@@ -93,7 +89,6 @@ export interface EnvironmentSummary {
|
|
|
93
89
|
createdAt?: Date;
|
|
94
90
|
updatedAt?: Date;
|
|
95
91
|
arn?: string;
|
|
96
|
-
tags?: EmbeddedTag;
|
|
97
92
|
}
|
|
98
93
|
export interface CreateEnvironmentResponse {
|
|
99
94
|
environment?: EnvironmentSummary;
|
|
@@ -221,7 +216,7 @@ export interface Device {
|
|
|
221
216
|
updatedAt?: Date;
|
|
222
217
|
arn?: string;
|
|
223
218
|
kmsKeyArn?: string;
|
|
224
|
-
tags?:
|
|
219
|
+
tags?: Record<string, string>;
|
|
225
220
|
}
|
|
226
221
|
export interface DeviceSummary {
|
|
227
222
|
id?: string;
|
|
@@ -239,7 +234,6 @@ export interface DeviceSummary {
|
|
|
239
234
|
createdAt?: Date;
|
|
240
235
|
updatedAt?: Date;
|
|
241
236
|
arn?: string;
|
|
242
|
-
tags?: EmbeddedTag;
|
|
243
237
|
}
|
|
244
238
|
export declare const EnvironmentSoftwareSetComplianceStatus: {
|
|
245
239
|
readonly COMPLIANT: "COMPLIANT";
|
|
@@ -267,7 +261,7 @@ export interface Environment {
|
|
|
267
261
|
updatedAt?: Date;
|
|
268
262
|
arn?: string;
|
|
269
263
|
kmsKeyArn?: string;
|
|
270
|
-
tags?:
|
|
264
|
+
tags?: Record<string, string>;
|
|
271
265
|
}
|
|
272
266
|
export interface GetDeviceRequest {
|
|
273
267
|
id: string | undefined;
|
|
@@ -302,18 +296,11 @@ export interface SoftwareSet {
|
|
|
302
296
|
validationStatus?: SoftwareSetValidationStatus;
|
|
303
297
|
software?: Software[];
|
|
304
298
|
arn?: string;
|
|
299
|
+
tags?: Record<string, string>;
|
|
305
300
|
}
|
|
306
301
|
export interface GetSoftwareSetResponse {
|
|
307
302
|
softwareSet?: SoftwareSet;
|
|
308
303
|
}
|
|
309
|
-
export declare class InternalServiceException extends __BaseException {
|
|
310
|
-
readonly name: "InternalServiceException";
|
|
311
|
-
readonly $fault: "server";
|
|
312
|
-
retryAfterSeconds?: number;
|
|
313
|
-
constructor(
|
|
314
|
-
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
315
|
-
);
|
|
316
|
-
}
|
|
317
304
|
export interface ListDevicesRequest {
|
|
318
305
|
nextToken?: string;
|
|
319
306
|
maxResults?: number;
|
|
@@ -392,7 +379,6 @@ export interface UpdateSoftwareSetResponse {}
|
|
|
392
379
|
export declare const CreateEnvironmentRequestFilterSensitiveLog: (
|
|
393
380
|
obj: CreateEnvironmentRequest
|
|
394
381
|
) => any;
|
|
395
|
-
export declare const EmbeddedTagFilterSensitiveLog: (obj: EmbeddedTag) => any;
|
|
396
382
|
export declare const EnvironmentSummaryFilterSensitiveLog: (
|
|
397
383
|
obj: EnvironmentSummary
|
|
398
384
|
) => any;
|
|
@@ -410,6 +396,10 @@ export declare const GetDeviceResponseFilterSensitiveLog: (
|
|
|
410
396
|
export declare const GetEnvironmentResponseFilterSensitiveLog: (
|
|
411
397
|
obj: GetEnvironmentResponse
|
|
412
398
|
) => any;
|
|
399
|
+
export declare const SoftwareSetFilterSensitiveLog: (obj: SoftwareSet) => any;
|
|
400
|
+
export declare const GetSoftwareSetResponseFilterSensitiveLog: (
|
|
401
|
+
obj: GetSoftwareSetResponse
|
|
402
|
+
) => any;
|
|
413
403
|
export declare const ListDevicesResponseFilterSensitiveLog: (
|
|
414
404
|
obj: ListDevicesResponse
|
|
415
405
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces-thin-client",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workspaces Thin Client Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.554.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-workspaces-thin-client",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.554.0",
|
|
24
|
+
"@aws-sdk/core": "3.554.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.554.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|