@aws-sdk/client-workspaces-thin-client 3.934.0 → 3.936.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 CHANGED
@@ -129,10 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends WorkSpacesThin
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  };
132
- const ApplyTimeOf = {
133
- DEVICE: "DEVICE",
134
- UTC: "UTC",
135
- };
136
132
  let ConflictException$1 = class ConflictException extends WorkSpacesThinClientServiceException$1 {
137
133
  name = "ConflictException";
138
134
  $fault = "client";
@@ -149,32 +145,6 @@ let ConflictException$1 = class ConflictException extends WorkSpacesThinClientSe
149
145
  this.resourceType = opts.resourceType;
150
146
  }
151
147
  };
152
- const DayOfWeek = {
153
- FRIDAY: "FRIDAY",
154
- MONDAY: "MONDAY",
155
- SATURDAY: "SATURDAY",
156
- SUNDAY: "SUNDAY",
157
- THURSDAY: "THURSDAY",
158
- TUESDAY: "TUESDAY",
159
- WEDNESDAY: "WEDNESDAY",
160
- };
161
- const MaintenanceWindowType = {
162
- CUSTOM: "CUSTOM",
163
- SYSTEM: "SYSTEM",
164
- };
165
- const SoftwareSetUpdateMode = {
166
- USE_DESIRED: "USE_DESIRED",
167
- USE_LATEST: "USE_LATEST",
168
- };
169
- const SoftwareSetUpdateSchedule = {
170
- APPLY_IMMEDIATELY: "APPLY_IMMEDIATELY",
171
- USE_MAINTENANCE_WINDOW: "USE_MAINTENANCE_WINDOW",
172
- };
173
- const DesktopType = {
174
- APPSTREAM: "appstream",
175
- WORKSPACES: "workspaces",
176
- WORKSPACES_WEB: "workspaces-web",
177
- };
178
148
  let InternalServerException$1 = class InternalServerException extends WorkSpacesThinClientServiceException$1 {
179
149
  name = "InternalServerException";
180
150
  $fault = "server";
@@ -243,12 +213,6 @@ let ThrottlingException$1 = class ThrottlingException extends WorkSpacesThinClie
243
213
  this.retryAfterSeconds = opts.retryAfterSeconds;
244
214
  }
245
215
  };
246
- const ValidationExceptionReason = {
247
- CANNOT_PARSE: "cannotParse",
248
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
249
- OTHER: "other",
250
- UNKNOWN_OPERATION: "unknownOperation",
251
- };
252
216
  let ValidationException$1 = class ValidationException extends WorkSpacesThinClientServiceException$1 {
253
217
  name = "ValidationException";
254
218
  $fault = "client";
@@ -265,35 +229,6 @@ let ValidationException$1 = class ValidationException extends WorkSpacesThinClie
265
229
  this.fieldList = opts.fieldList;
266
230
  }
267
231
  };
268
- const TargetDeviceStatus = {
269
- ARCHIVED: "ARCHIVED",
270
- DEREGISTERED: "DEREGISTERED",
271
- };
272
- const DeviceSoftwareSetComplianceStatus = {
273
- COMPLIANT: "COMPLIANT",
274
- NONE: "NONE",
275
- NOT_COMPLIANT: "NOT_COMPLIANT",
276
- };
277
- const SoftwareSetUpdateStatus = {
278
- AVAILABLE: "AVAILABLE",
279
- IN_PROGRESS: "IN_PROGRESS",
280
- UP_TO_DATE: "UP_TO_DATE",
281
- };
282
- const DeviceStatus = {
283
- ARCHIVED: "ARCHIVED",
284
- DEREGISTERED: "DEREGISTERED",
285
- DEREGISTERING: "DEREGISTERING",
286
- REGISTERED: "REGISTERED",
287
- };
288
- const EnvironmentSoftwareSetComplianceStatus = {
289
- COMPLIANT: "COMPLIANT",
290
- NOT_COMPLIANT: "NOT_COMPLIANT",
291
- NO_REGISTERED_DEVICES: "NO_REGISTERED_DEVICES",
292
- };
293
- const SoftwareSetValidationStatus = {
294
- NOT_VALIDATED: "NOT_VALIDATED",
295
- VALIDATED: "VALIDATED",
296
- };
297
232
 
298
233
  const _AC = "ActivationCode";
299
234
  const _ADE = "AccessDeniedException";
@@ -1288,6 +1223,72 @@ const paginateListEnvironments = core.createPaginator(WorkSpacesThinClientClient
1288
1223
 
1289
1224
  const paginateListSoftwareSets = core.createPaginator(WorkSpacesThinClientClient, ListSoftwareSetsCommand, "nextToken", "nextToken", "maxResults");
1290
1225
 
1226
+ const ApplyTimeOf = {
1227
+ DEVICE: "DEVICE",
1228
+ UTC: "UTC",
1229
+ };
1230
+ const DayOfWeek = {
1231
+ FRIDAY: "FRIDAY",
1232
+ MONDAY: "MONDAY",
1233
+ SATURDAY: "SATURDAY",
1234
+ SUNDAY: "SUNDAY",
1235
+ THURSDAY: "THURSDAY",
1236
+ TUESDAY: "TUESDAY",
1237
+ WEDNESDAY: "WEDNESDAY",
1238
+ };
1239
+ const MaintenanceWindowType = {
1240
+ CUSTOM: "CUSTOM",
1241
+ SYSTEM: "SYSTEM",
1242
+ };
1243
+ const SoftwareSetUpdateMode = {
1244
+ USE_DESIRED: "USE_DESIRED",
1245
+ USE_LATEST: "USE_LATEST",
1246
+ };
1247
+ const SoftwareSetUpdateSchedule = {
1248
+ APPLY_IMMEDIATELY: "APPLY_IMMEDIATELY",
1249
+ USE_MAINTENANCE_WINDOW: "USE_MAINTENANCE_WINDOW",
1250
+ };
1251
+ const DesktopType = {
1252
+ APPSTREAM: "appstream",
1253
+ WORKSPACES: "workspaces",
1254
+ WORKSPACES_WEB: "workspaces-web",
1255
+ };
1256
+ const ValidationExceptionReason = {
1257
+ CANNOT_PARSE: "cannotParse",
1258
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
1259
+ OTHER: "other",
1260
+ UNKNOWN_OPERATION: "unknownOperation",
1261
+ };
1262
+ const TargetDeviceStatus = {
1263
+ ARCHIVED: "ARCHIVED",
1264
+ DEREGISTERED: "DEREGISTERED",
1265
+ };
1266
+ const DeviceSoftwareSetComplianceStatus = {
1267
+ COMPLIANT: "COMPLIANT",
1268
+ NONE: "NONE",
1269
+ NOT_COMPLIANT: "NOT_COMPLIANT",
1270
+ };
1271
+ const SoftwareSetUpdateStatus = {
1272
+ AVAILABLE: "AVAILABLE",
1273
+ IN_PROGRESS: "IN_PROGRESS",
1274
+ UP_TO_DATE: "UP_TO_DATE",
1275
+ };
1276
+ const DeviceStatus = {
1277
+ ARCHIVED: "ARCHIVED",
1278
+ DEREGISTERED: "DEREGISTERED",
1279
+ DEREGISTERING: "DEREGISTERING",
1280
+ REGISTERED: "REGISTERED",
1281
+ };
1282
+ const EnvironmentSoftwareSetComplianceStatus = {
1283
+ COMPLIANT: "COMPLIANT",
1284
+ NOT_COMPLIANT: "NOT_COMPLIANT",
1285
+ NO_REGISTERED_DEVICES: "NO_REGISTERED_DEVICES",
1286
+ };
1287
+ const SoftwareSetValidationStatus = {
1288
+ NOT_VALIDATED: "NOT_VALIDATED",
1289
+ VALIDATED: "VALIDATED",
1290
+ };
1291
+
1291
1292
  const WorkSpacesThin = WorkSpacesThinClient;
1292
1293
 
1293
1294
  Object.defineProperty(exports, "$Command", {
package/dist-es/index.js CHANGED
@@ -2,7 +2,8 @@ export * from "./WorkSpacesThinClientClient";
2
2
  export * from "./WorkSpacesThinClient";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { WorkSpacesThinClientServiceException } from "./models/WorkSpacesThinClientServiceException";
7
8
  import { WorkSpacesThinClient } from "./WorkSpacesThinClient";
8
9
  export const WorkSpacesThin = WorkSpacesThinClient;
@@ -0,0 +1,65 @@
1
+ export const ApplyTimeOf = {
2
+ DEVICE: "DEVICE",
3
+ UTC: "UTC",
4
+ };
5
+ export const DayOfWeek = {
6
+ FRIDAY: "FRIDAY",
7
+ MONDAY: "MONDAY",
8
+ SATURDAY: "SATURDAY",
9
+ SUNDAY: "SUNDAY",
10
+ THURSDAY: "THURSDAY",
11
+ TUESDAY: "TUESDAY",
12
+ WEDNESDAY: "WEDNESDAY",
13
+ };
14
+ export const MaintenanceWindowType = {
15
+ CUSTOM: "CUSTOM",
16
+ SYSTEM: "SYSTEM",
17
+ };
18
+ export const SoftwareSetUpdateMode = {
19
+ USE_DESIRED: "USE_DESIRED",
20
+ USE_LATEST: "USE_LATEST",
21
+ };
22
+ export const SoftwareSetUpdateSchedule = {
23
+ APPLY_IMMEDIATELY: "APPLY_IMMEDIATELY",
24
+ USE_MAINTENANCE_WINDOW: "USE_MAINTENANCE_WINDOW",
25
+ };
26
+ export const DesktopType = {
27
+ APPSTREAM: "appstream",
28
+ WORKSPACES: "workspaces",
29
+ WORKSPACES_WEB: "workspaces-web",
30
+ };
31
+ export const ValidationExceptionReason = {
32
+ CANNOT_PARSE: "cannotParse",
33
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
34
+ OTHER: "other",
35
+ UNKNOWN_OPERATION: "unknownOperation",
36
+ };
37
+ export const TargetDeviceStatus = {
38
+ ARCHIVED: "ARCHIVED",
39
+ DEREGISTERED: "DEREGISTERED",
40
+ };
41
+ export const DeviceSoftwareSetComplianceStatus = {
42
+ COMPLIANT: "COMPLIANT",
43
+ NONE: "NONE",
44
+ NOT_COMPLIANT: "NOT_COMPLIANT",
45
+ };
46
+ export const SoftwareSetUpdateStatus = {
47
+ AVAILABLE: "AVAILABLE",
48
+ IN_PROGRESS: "IN_PROGRESS",
49
+ UP_TO_DATE: "UP_TO_DATE",
50
+ };
51
+ export const DeviceStatus = {
52
+ ARCHIVED: "ARCHIVED",
53
+ DEREGISTERED: "DEREGISTERED",
54
+ DEREGISTERING: "DEREGISTERING",
55
+ REGISTERED: "REGISTERED",
56
+ };
57
+ export const EnvironmentSoftwareSetComplianceStatus = {
58
+ COMPLIANT: "COMPLIANT",
59
+ NOT_COMPLIANT: "NOT_COMPLIANT",
60
+ NO_REGISTERED_DEVICES: "NO_REGISTERED_DEVICES",
61
+ };
62
+ export const SoftwareSetValidationStatus = {
63
+ NOT_VALIDATED: "NOT_VALIDATED",
64
+ VALIDATED: "VALIDATED",
65
+ };
@@ -0,0 +1,113 @@
1
+ import { WorkSpacesThinClientServiceException as __BaseException } from "./WorkSpacesThinClientServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ resourceId;
18
+ resourceType;
19
+ constructor(opts) {
20
+ super({
21
+ name: "ConflictException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, ConflictException.prototype);
26
+ this.resourceId = opts.resourceId;
27
+ this.resourceType = opts.resourceType;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ retryAfterSeconds;
34
+ constructor(opts) {
35
+ super({
36
+ name: "InternalServerException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InternalServerException.prototype);
41
+ this.retryAfterSeconds = opts.retryAfterSeconds;
42
+ }
43
+ }
44
+ export class ResourceNotFoundException extends __BaseException {
45
+ name = "ResourceNotFoundException";
46
+ $fault = "client";
47
+ resourceId;
48
+ resourceType;
49
+ constructor(opts) {
50
+ super({
51
+ name: "ResourceNotFoundException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
56
+ this.resourceId = opts.resourceId;
57
+ this.resourceType = opts.resourceType;
58
+ }
59
+ }
60
+ export class ServiceQuotaExceededException extends __BaseException {
61
+ name = "ServiceQuotaExceededException";
62
+ $fault = "client";
63
+ resourceId;
64
+ resourceType;
65
+ serviceCode;
66
+ quotaCode;
67
+ constructor(opts) {
68
+ super({
69
+ name: "ServiceQuotaExceededException",
70
+ $fault: "client",
71
+ ...opts,
72
+ });
73
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
74
+ this.resourceId = opts.resourceId;
75
+ this.resourceType = opts.resourceType;
76
+ this.serviceCode = opts.serviceCode;
77
+ this.quotaCode = opts.quotaCode;
78
+ }
79
+ }
80
+ export class ThrottlingException extends __BaseException {
81
+ name = "ThrottlingException";
82
+ $fault = "client";
83
+ serviceCode;
84
+ quotaCode;
85
+ retryAfterSeconds;
86
+ constructor(opts) {
87
+ super({
88
+ name: "ThrottlingException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
93
+ this.serviceCode = opts.serviceCode;
94
+ this.quotaCode = opts.quotaCode;
95
+ this.retryAfterSeconds = opts.retryAfterSeconds;
96
+ }
97
+ }
98
+ export class ValidationException extends __BaseException {
99
+ name = "ValidationException";
100
+ $fault = "client";
101
+ reason;
102
+ fieldList;
103
+ constructor(opts) {
104
+ super({
105
+ name: "ValidationException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ Object.setPrototypeOf(this, ValidationException.prototype);
110
+ this.reason = opts.reason;
111
+ this.fieldList = opts.fieldList;
112
+ }
113
+ }
@@ -1,178 +1 @@
1
- import { WorkSpacesThinClientServiceException as __BaseException } from "./WorkSpacesThinClientServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
- export const ApplyTimeOf = {
15
- DEVICE: "DEVICE",
16
- UTC: "UTC",
17
- };
18
- export class ConflictException extends __BaseException {
19
- name = "ConflictException";
20
- $fault = "client";
21
- resourceId;
22
- resourceType;
23
- constructor(opts) {
24
- super({
25
- name: "ConflictException",
26
- $fault: "client",
27
- ...opts,
28
- });
29
- Object.setPrototypeOf(this, ConflictException.prototype);
30
- this.resourceId = opts.resourceId;
31
- this.resourceType = opts.resourceType;
32
- }
33
- }
34
- export const DayOfWeek = {
35
- FRIDAY: "FRIDAY",
36
- MONDAY: "MONDAY",
37
- SATURDAY: "SATURDAY",
38
- SUNDAY: "SUNDAY",
39
- THURSDAY: "THURSDAY",
40
- TUESDAY: "TUESDAY",
41
- WEDNESDAY: "WEDNESDAY",
42
- };
43
- export const MaintenanceWindowType = {
44
- CUSTOM: "CUSTOM",
45
- SYSTEM: "SYSTEM",
46
- };
47
- export const SoftwareSetUpdateMode = {
48
- USE_DESIRED: "USE_DESIRED",
49
- USE_LATEST: "USE_LATEST",
50
- };
51
- export const SoftwareSetUpdateSchedule = {
52
- APPLY_IMMEDIATELY: "APPLY_IMMEDIATELY",
53
- USE_MAINTENANCE_WINDOW: "USE_MAINTENANCE_WINDOW",
54
- };
55
- export const DesktopType = {
56
- APPSTREAM: "appstream",
57
- WORKSPACES: "workspaces",
58
- WORKSPACES_WEB: "workspaces-web",
59
- };
60
- export class InternalServerException extends __BaseException {
61
- name = "InternalServerException";
62
- $fault = "server";
63
- retryAfterSeconds;
64
- constructor(opts) {
65
- super({
66
- name: "InternalServerException",
67
- $fault: "server",
68
- ...opts,
69
- });
70
- Object.setPrototypeOf(this, InternalServerException.prototype);
71
- this.retryAfterSeconds = opts.retryAfterSeconds;
72
- }
73
- }
74
- export class ResourceNotFoundException extends __BaseException {
75
- name = "ResourceNotFoundException";
76
- $fault = "client";
77
- resourceId;
78
- resourceType;
79
- constructor(opts) {
80
- super({
81
- name: "ResourceNotFoundException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
86
- this.resourceId = opts.resourceId;
87
- this.resourceType = opts.resourceType;
88
- }
89
- }
90
- export class ServiceQuotaExceededException extends __BaseException {
91
- name = "ServiceQuotaExceededException";
92
- $fault = "client";
93
- resourceId;
94
- resourceType;
95
- serviceCode;
96
- quotaCode;
97
- constructor(opts) {
98
- super({
99
- name: "ServiceQuotaExceededException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
104
- this.resourceId = opts.resourceId;
105
- this.resourceType = opts.resourceType;
106
- this.serviceCode = opts.serviceCode;
107
- this.quotaCode = opts.quotaCode;
108
- }
109
- }
110
- export class ThrottlingException extends __BaseException {
111
- name = "ThrottlingException";
112
- $fault = "client";
113
- serviceCode;
114
- quotaCode;
115
- retryAfterSeconds;
116
- constructor(opts) {
117
- super({
118
- name: "ThrottlingException",
119
- $fault: "client",
120
- ...opts,
121
- });
122
- Object.setPrototypeOf(this, ThrottlingException.prototype);
123
- this.serviceCode = opts.serviceCode;
124
- this.quotaCode = opts.quotaCode;
125
- this.retryAfterSeconds = opts.retryAfterSeconds;
126
- }
127
- }
128
- export const ValidationExceptionReason = {
129
- CANNOT_PARSE: "cannotParse",
130
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
131
- OTHER: "other",
132
- UNKNOWN_OPERATION: "unknownOperation",
133
- };
134
- export class ValidationException extends __BaseException {
135
- name = "ValidationException";
136
- $fault = "client";
137
- reason;
138
- fieldList;
139
- constructor(opts) {
140
- super({
141
- name: "ValidationException",
142
- $fault: "client",
143
- ...opts,
144
- });
145
- Object.setPrototypeOf(this, ValidationException.prototype);
146
- this.reason = opts.reason;
147
- this.fieldList = opts.fieldList;
148
- }
149
- }
150
- export const TargetDeviceStatus = {
151
- ARCHIVED: "ARCHIVED",
152
- DEREGISTERED: "DEREGISTERED",
153
- };
154
- export const DeviceSoftwareSetComplianceStatus = {
155
- COMPLIANT: "COMPLIANT",
156
- NONE: "NONE",
157
- NOT_COMPLIANT: "NOT_COMPLIANT",
158
- };
159
- export const SoftwareSetUpdateStatus = {
160
- AVAILABLE: "AVAILABLE",
161
- IN_PROGRESS: "IN_PROGRESS",
162
- UP_TO_DATE: "UP_TO_DATE",
163
- };
164
- export const DeviceStatus = {
165
- ARCHIVED: "ARCHIVED",
166
- DEREGISTERED: "DEREGISTERED",
167
- DEREGISTERING: "DEREGISTERING",
168
- REGISTERED: "REGISTERED",
169
- };
170
- export const EnvironmentSoftwareSetComplianceStatus = {
171
- COMPLIANT: "COMPLIANT",
172
- NOT_COMPLIANT: "NOT_COMPLIANT",
173
- NO_REGISTERED_DEVICES: "NO_REGISTERED_DEVICES",
174
- };
175
- export const SoftwareSetValidationStatus = {
176
- NOT_VALIDATED: "NOT_VALIDATED",
177
- VALIDATED: "VALIDATED",
178
- };
1
+ export {};
@@ -150,7 +150,7 @@ const _v = "version";
150
150
  const _vS = "validationStatus";
151
151
  const n0 = "com.amazonaws.workspacesthinclient";
152
152
  import { TypeRegistry } from "@smithy/core/schema";
153
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
153
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
154
154
  import { WorkSpacesThinClientServiceException as __WorkSpacesThinClientServiceException } from "../models/WorkSpacesThinClientServiceException";
155
155
  export var ActivationCode = [0, n0, _AC, 8, 0];
156
156
  export var DesktopEndpoint = [0, n0, _DE, 8, 0];
@@ -10,7 +10,9 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { WorkSpacesThinClientExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { WorkSpacesThinClientServiceException } from "./models/WorkSpacesThinClientServiceException";
15
17
  import { WorkSpacesThinClient } from "./WorkSpacesThinClient";
16
18
  /**