@aws-sdk/client-workspaces-thin-client 3.987.0 → 3.988.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var WorkSpacesThinClientServiceException = require('./models/WorkSpacesThinClientServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,606 +113,6 @@ class WorkSpacesThinClientClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class WorkSpacesThinClientServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, WorkSpacesThinClientServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends WorkSpacesThinClientServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class ConflictException extends WorkSpacesThinClientServiceException {
133
- name = "ConflictException";
134
- $fault = "client";
135
- resourceId;
136
- resourceType;
137
- constructor(opts) {
138
- super({
139
- name: "ConflictException",
140
- $fault: "client",
141
- ...opts,
142
- });
143
- Object.setPrototypeOf(this, ConflictException.prototype);
144
- this.resourceId = opts.resourceId;
145
- this.resourceType = opts.resourceType;
146
- }
147
- }
148
- class InternalServerException extends WorkSpacesThinClientServiceException {
149
- name = "InternalServerException";
150
- $fault = "server";
151
- retryAfterSeconds;
152
- constructor(opts) {
153
- super({
154
- name: "InternalServerException",
155
- $fault: "server",
156
- ...opts,
157
- });
158
- Object.setPrototypeOf(this, InternalServerException.prototype);
159
- this.retryAfterSeconds = opts.retryAfterSeconds;
160
- }
161
- }
162
- class ResourceNotFoundException extends WorkSpacesThinClientServiceException {
163
- name = "ResourceNotFoundException";
164
- $fault = "client";
165
- resourceId;
166
- resourceType;
167
- constructor(opts) {
168
- super({
169
- name: "ResourceNotFoundException",
170
- $fault: "client",
171
- ...opts,
172
- });
173
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
174
- this.resourceId = opts.resourceId;
175
- this.resourceType = opts.resourceType;
176
- }
177
- }
178
- class ServiceQuotaExceededException extends WorkSpacesThinClientServiceException {
179
- name = "ServiceQuotaExceededException";
180
- $fault = "client";
181
- resourceId;
182
- resourceType;
183
- serviceCode;
184
- quotaCode;
185
- constructor(opts) {
186
- super({
187
- name: "ServiceQuotaExceededException",
188
- $fault: "client",
189
- ...opts,
190
- });
191
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
192
- this.resourceId = opts.resourceId;
193
- this.resourceType = opts.resourceType;
194
- this.serviceCode = opts.serviceCode;
195
- this.quotaCode = opts.quotaCode;
196
- }
197
- }
198
- class ThrottlingException extends WorkSpacesThinClientServiceException {
199
- name = "ThrottlingException";
200
- $fault = "client";
201
- serviceCode;
202
- quotaCode;
203
- retryAfterSeconds;
204
- constructor(opts) {
205
- super({
206
- name: "ThrottlingException",
207
- $fault: "client",
208
- ...opts,
209
- });
210
- Object.setPrototypeOf(this, ThrottlingException.prototype);
211
- this.serviceCode = opts.serviceCode;
212
- this.quotaCode = opts.quotaCode;
213
- this.retryAfterSeconds = opts.retryAfterSeconds;
214
- }
215
- }
216
- class ValidationException extends WorkSpacesThinClientServiceException {
217
- name = "ValidationException";
218
- $fault = "client";
219
- reason;
220
- fieldList;
221
- constructor(opts) {
222
- super({
223
- name: "ValidationException",
224
- $fault: "client",
225
- ...opts,
226
- });
227
- Object.setPrototypeOf(this, ValidationException.prototype);
228
- this.reason = opts.reason;
229
- this.fieldList = opts.fieldList;
230
- }
231
- }
232
-
233
- const _AC = "ActivationCode";
234
- const _ADE = "AccessDeniedException";
235
- const _CE = "ConflictException";
236
- const _CER = "CreateEnvironmentRequest";
237
- const _CERr = "CreateEnvironmentResponse";
238
- const _CEr = "CreateEnvironment";
239
- const _D = "Device";
240
- const _DCTM = "DeviceCreationTagsMap";
241
- const _DD = "DeleteDevice";
242
- const _DDR = "DeleteDeviceRequest";
243
- const _DDRe = "DeleteDeviceResponse";
244
- const _DDRer = "DeregisterDeviceRequest";
245
- const _DDRere = "DeregisterDeviceResponse";
246
- const _DDe = "DeregisterDevice";
247
- const _DE = "DesktopEndpoint";
248
- const _DER = "DeleteEnvironmentRequest";
249
- const _DERe = "DeleteEnvironmentResponse";
250
- const _DEe = "DeleteEnvironment";
251
- const _DL = "DeviceList";
252
- const _DN = "DeviceName";
253
- const _DS = "DeviceSummary";
254
- const _E = "Environment";
255
- const _EL = "EnvironmentList";
256
- const _EN = "EnvironmentName";
257
- const _ES = "EnvironmentSummary";
258
- const _GD = "GetDevice";
259
- const _GDR = "GetDeviceRequest";
260
- const _GDRe = "GetDeviceResponse";
261
- const _GE = "GetEnvironment";
262
- const _GER = "GetEnvironmentRequest";
263
- const _GERe = "GetEnvironmentResponse";
264
- const _GSS = "GetSoftwareSet";
265
- const _GSSR = "GetSoftwareSetRequest";
266
- const _GSSRe = "GetSoftwareSetResponse";
267
- const _ISE = "InternalServerException";
268
- const _LD = "ListDevices";
269
- const _LDR = "ListDevicesRequest";
270
- const _LDRi = "ListDevicesResponse";
271
- const _LE = "ListEnvironments";
272
- const _LER = "ListEnvironmentsRequest";
273
- const _LERi = "ListEnvironmentsResponse";
274
- const _LSS = "ListSoftwareSets";
275
- const _LSSR = "ListSoftwareSetsRequest";
276
- const _LSSRi = "ListSoftwareSetsResponse";
277
- const _LTFR = "ListTagsForResource";
278
- const _LTFRR = "ListTagsForResourceRequest";
279
- const _LTFRRi = "ListTagsForResourceResponse";
280
- const _MW = "MaintenanceWindow";
281
- const _RA = "Retry-After";
282
- const _RNFE = "ResourceNotFoundException";
283
- const _S = "Software";
284
- const _SL = "SoftwareList";
285
- const _SQEE = "ServiceQuotaExceededException";
286
- const _SS = "SoftwareSet";
287
- const _SSL = "SoftwareSetList";
288
- const _SSS = "SoftwareSetSummary";
289
- const _TE = "ThrottlingException";
290
- const _TK = "TagKeys";
291
- const _TM = "TagsMap";
292
- const _TR = "TagResource";
293
- const _TRR = "TagResourceRequest";
294
- const _TRRa = "TagResourceResponse";
295
- const _UD = "UpdateDevice";
296
- const _UDR = "UpdateDeviceRequest";
297
- const _UDRp = "UpdateDeviceResponse";
298
- const _UE = "UpdateEnvironment";
299
- const _UER = "UpdateEnvironmentRequest";
300
- const _UERp = "UpdateEnvironmentResponse";
301
- const _UI = "UserId";
302
- const _UR = "UntagResource";
303
- const _URR = "UntagResourceRequest";
304
- const _URRn = "UntagResourceResponse";
305
- const _USS = "UpdateSoftwareSet";
306
- const _USSR = "UpdateSoftwareSetRequest";
307
- const _USSRp = "UpdateSoftwareSetResponse";
308
- const _VE = "ValidationException";
309
- const _VEF = "ValidationExceptionField";
310
- const _VEFL = "ValidationExceptionFieldList";
311
- const _a = "arn";
312
- const _aC = "activationCode";
313
- const _aTO = "applyTimeOf";
314
- const _c = "client";
315
- const _cA = "createdAt";
316
- const _cSSI = "currentSoftwareSetId";
317
- const _cSSV = "currentSoftwareSetVersion";
318
- const _cT = "clientToken";
319
- const _d = "device";
320
- const _dA = "desktopArn";
321
- const _dCT = "deviceCreationTags";
322
- const _dE = "desktopEndpoint";
323
- const _dOTW = "daysOfTheWeek";
324
- const _dSSI = "desiredSoftwareSetId";
325
- const _dT = "desktopType";
326
- const _de = "devices";
327
- const _e = "error";
328
- const _eI = "environmentId";
329
- const _eTH = "endTimeHour";
330
- const _eTM = "endTimeMinute";
331
- const _en = "environment";
332
- const _end = "endpoint";
333
- const _env = "environments";
334
- const _fL = "fieldList";
335
- const _h = "http";
336
- const _hE = "httpError";
337
- const _hH = "httpHeader";
338
- const _hQ = "httpQuery";
339
- const _i = "id";
340
- const _iT = "idempotencyToken";
341
- const _kKA = "kmsKeyArn";
342
- const _lCA = "lastConnectedAt";
343
- const _lPA = "lastPostureAt";
344
- const _lUI = "lastUserId";
345
- const _m = "message";
346
- const _mR = "maxResults";
347
- const _mW = "maintenanceWindow";
348
- const _mo = "model";
349
- const _n = "name";
350
- const _nT = "nextToken";
351
- const _pSSI = "pendingSoftwareSetId";
352
- const _pSSV = "pendingSoftwareSetVersion";
353
- const _qC = "quotaCode";
354
- const _r = "reason";
355
- const _rA = "resourceArn";
356
- const _rAS = "retryAfterSeconds";
357
- const _rAe = "releasedAt";
358
- const _rDC = "registeredDevicesCount";
359
- const _rI = "resourceId";
360
- const _rT = "resourceType";
361
- const _s = "status";
362
- const _sC = "serviceCode";
363
- const _sN = "serialNumber";
364
- const _sS = "softwareSet";
365
- const _sSCS = "softwareSetComplianceStatus";
366
- const _sSUM = "softwareSetUpdateMode";
367
- const _sSUS = "softwareSetUpdateSchedule";
368
- const _sSUSo = "softwareSetUpdateStatus";
369
- const _sSo = "softwareSets";
370
- const _sTH = "startTimeHour";
371
- const _sTM = "startTimeMinute";
372
- const _sU = "supportedUntil";
373
- const _se = "server";
374
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.workspacesthinclient";
375
- const _so = "software";
376
- const _t = "tags";
377
- const _tDS = "targetDeviceStatus";
378
- const _tK = "tagKeys";
379
- const _ty = "type";
380
- const _uA = "updatedAt";
381
- const _v = "version";
382
- const _vS = "validationStatus";
383
- const n0 = "com.amazonaws.workspacesthinclient";
384
- var ActivationCode = [0, n0, _AC, 8, 0];
385
- var DesktopEndpoint = [0, n0, _DE, 8, 0];
386
- var DeviceName = [0, n0, _DN, 8, 0];
387
- var EnvironmentName = [0, n0, _EN, 8, 0];
388
- var UserId = [0, n0, _UI, 8, 0];
389
- var AccessDeniedException$ = [-3, n0, _ADE,
390
- { [_e]: _c, [_hE]: 403 },
391
- [_m],
392
- [0]
393
- ];
394
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
395
- var ConflictException$ = [-3, n0, _CE,
396
- { [_e]: _c, [_hE]: 409 },
397
- [_m, _rI, _rT],
398
- [0, 0, 0]
399
- ];
400
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
401
- var CreateEnvironmentRequest$ = [3, n0, _CER,
402
- 0,
403
- [_dA, _n, _dE, _sSUS, _mW, _sSUM, _dSSI, _kKA, _cT, _t, _dCT],
404
- [0, [() => EnvironmentName, 0], [() => DesktopEndpoint, 0], 0, () => MaintenanceWindow$, 0, 0, 0, [0, 4], [() => TagsMap, 0], [() => DeviceCreationTagsMap, 0]], 1
405
- ];
406
- var CreateEnvironmentResponse$ = [3, n0, _CERr,
407
- 0,
408
- [_en],
409
- [[() => EnvironmentSummary$, 0]]
410
- ];
411
- var DeleteDeviceRequest$ = [3, n0, _DDR,
412
- 0,
413
- [_i, _cT],
414
- [[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
415
- ];
416
- var DeleteDeviceResponse$ = [3, n0, _DDRe,
417
- 0,
418
- [],
419
- []
420
- ];
421
- var DeleteEnvironmentRequest$ = [3, n0, _DER,
422
- 0,
423
- [_i, _cT],
424
- [[0, 1], [0, { [_hQ]: _cT, [_iT]: 1 }]], 1
425
- ];
426
- var DeleteEnvironmentResponse$ = [3, n0, _DERe,
427
- 0,
428
- [],
429
- []
430
- ];
431
- var DeregisterDeviceRequest$ = [3, n0, _DDRer,
432
- 0,
433
- [_i, _tDS, _cT],
434
- [[0, 1], 0, [0, 4]], 1
435
- ];
436
- var DeregisterDeviceResponse$ = [3, n0, _DDRere,
437
- 0,
438
- [],
439
- []
440
- ];
441
- var Device$ = [3, n0, _D,
442
- 0,
443
- [_i, _sN, _n, _mo, _eI, _s, _cSSI, _cSSV, _dSSI, _pSSI, _pSSV, _sSUS, _sSCS, _sSUSo, _lCA, _lPA, _cA, _uA, _a, _kKA, _lUI],
444
- [0, 0, [() => DeviceName, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, 0, [() => UserId, 0]]
445
- ];
446
- var DeviceSummary$ = [3, n0, _DS,
447
- 0,
448
- [_i, _sN, _n, _mo, _eI, _s, _cSSI, _dSSI, _pSSI, _sSUS, _lCA, _lPA, _cA, _uA, _a, _lUI],
449
- [0, 0, [() => DeviceName, 0], 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, [() => UserId, 0]]
450
- ];
451
- var Environment$ = [3, n0, _E,
452
- 0,
453
- [_i, _n, _dA, _dE, _dT, _aC, _rDC, _sSUS, _mW, _sSUM, _dSSI, _pSSI, _pSSV, _sSCS, _cA, _uA, _a, _kKA, _dCT],
454
- [0, [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, [() => ActivationCode, 0], 1, 0, () => MaintenanceWindow$, 0, 0, 0, 0, 0, 4, 4, 0, 0, [() => DeviceCreationTagsMap, 0]]
455
- ];
456
- var EnvironmentSummary$ = [3, n0, _ES,
457
- 0,
458
- [_i, _n, _dA, _dE, _dT, _aC, _sSUS, _mW, _sSUM, _dSSI, _pSSI, _cA, _uA, _a],
459
- [0, [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, [() => ActivationCode, 0], 0, () => MaintenanceWindow$, 0, 0, 0, 4, 4, 0]
460
- ];
461
- var GetDeviceRequest$ = [3, n0, _GDR,
462
- 0,
463
- [_i],
464
- [[0, 1]], 1
465
- ];
466
- var GetDeviceResponse$ = [3, n0, _GDRe,
467
- 0,
468
- [_d],
469
- [[() => Device$, 0]]
470
- ];
471
- var GetEnvironmentRequest$ = [3, n0, _GER,
472
- 0,
473
- [_i],
474
- [[0, 1]], 1
475
- ];
476
- var GetEnvironmentResponse$ = [3, n0, _GERe,
477
- 0,
478
- [_en],
479
- [[() => Environment$, 0]]
480
- ];
481
- var GetSoftwareSetRequest$ = [3, n0, _GSSR,
482
- 0,
483
- [_i],
484
- [[0, 1]], 1
485
- ];
486
- var GetSoftwareSetResponse$ = [3, n0, _GSSRe,
487
- 0,
488
- [_sS],
489
- [() => SoftwareSet$]
490
- ];
491
- var InternalServerException$ = [-3, n0, _ISE,
492
- { [_e]: _se, [_hE]: 500 },
493
- [_m, _rAS],
494
- [0, [1, { [_hH]: _RA }]]
495
- ];
496
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
497
- var ListDevicesRequest$ = [3, n0, _LDR,
498
- 0,
499
- [_nT, _mR],
500
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
501
- ];
502
- var ListDevicesResponse$ = [3, n0, _LDRi,
503
- 0,
504
- [_de, _nT],
505
- [[() => DeviceList, 0], 0]
506
- ];
507
- var ListEnvironmentsRequest$ = [3, n0, _LER,
508
- 0,
509
- [_nT, _mR],
510
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
511
- ];
512
- var ListEnvironmentsResponse$ = [3, n0, _LERi,
513
- 0,
514
- [_env, _nT],
515
- [[() => EnvironmentList, 0], 0]
516
- ];
517
- var ListSoftwareSetsRequest$ = [3, n0, _LSSR,
518
- 0,
519
- [_nT, _mR],
520
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
521
- ];
522
- var ListSoftwareSetsResponse$ = [3, n0, _LSSRi,
523
- 0,
524
- [_sSo, _nT],
525
- [() => SoftwareSetList, 0]
526
- ];
527
- var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
528
- 0,
529
- [_rA],
530
- [[0, 1]], 1
531
- ];
532
- var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
533
- 0,
534
- [_t],
535
- [[() => TagsMap, 0]]
536
- ];
537
- var MaintenanceWindow$ = [3, n0, _MW,
538
- 0,
539
- [_ty, _sTH, _sTM, _eTH, _eTM, _dOTW, _aTO],
540
- [0, 1, 1, 1, 1, 64 | 0, 0], 1
541
- ];
542
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
543
- { [_e]: _c, [_hE]: 404 },
544
- [_m, _rI, _rT],
545
- [0, 0, 0]
546
- ];
547
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
548
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
549
- { [_e]: _c, [_hE]: 402 },
550
- [_m, _rI, _rT, _sC, _qC],
551
- [0, 0, 0, 0, 0]
552
- ];
553
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
554
- var Software$ = [3, n0, _S,
555
- 0,
556
- [_n, _v],
557
- [0, 0]
558
- ];
559
- var SoftwareSet$ = [3, n0, _SS,
560
- 0,
561
- [_i, _v, _rAe, _sU, _vS, _so, _a],
562
- [0, 0, 4, 4, 0, () => SoftwareList, 0]
563
- ];
564
- var SoftwareSetSummary$ = [3, n0, _SSS,
565
- 0,
566
- [_i, _v, _rAe, _sU, _vS, _a],
567
- [0, 0, 4, 4, 0, 0]
568
- ];
569
- var TagResourceRequest$ = [3, n0, _TRR,
570
- 0,
571
- [_rA, _t],
572
- [[0, 1], [() => TagsMap, 0]], 2
573
- ];
574
- var TagResourceResponse$ = [3, n0, _TRRa,
575
- 0,
576
- [],
577
- []
578
- ];
579
- var ThrottlingException$ = [-3, n0, _TE,
580
- { [_e]: _c, [_hE]: 429 },
581
- [_m, _sC, _qC, _rAS],
582
- [0, 0, 0, [1, { [_hH]: _RA }]]
583
- ];
584
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
585
- var UntagResourceRequest$ = [3, n0, _URR,
586
- 0,
587
- [_rA, _tK],
588
- [[0, 1], [() => TagKeys, { [_hQ]: _tK }]], 2
589
- ];
590
- var UntagResourceResponse$ = [3, n0, _URRn,
591
- 0,
592
- [],
593
- []
594
- ];
595
- var UpdateDeviceRequest$ = [3, n0, _UDR,
596
- 0,
597
- [_i, _n, _dSSI, _sSUS],
598
- [[0, 1], [() => DeviceName, 0], 0, 0], 1
599
- ];
600
- var UpdateDeviceResponse$ = [3, n0, _UDRp,
601
- 0,
602
- [_d],
603
- [[() => DeviceSummary$, 0]]
604
- ];
605
- var UpdateEnvironmentRequest$ = [3, n0, _UER,
606
- 0,
607
- [_i, _n, _dA, _dE, _sSUS, _mW, _sSUM, _dSSI, _dCT],
608
- [[0, 1], [() => EnvironmentName, 0], 0, [() => DesktopEndpoint, 0], 0, () => MaintenanceWindow$, 0, 0, [() => DeviceCreationTagsMap, 0]], 1
609
- ];
610
- var UpdateEnvironmentResponse$ = [3, n0, _UERp,
611
- 0,
612
- [_en],
613
- [[() => EnvironmentSummary$, 0]]
614
- ];
615
- var UpdateSoftwareSetRequest$ = [3, n0, _USSR,
616
- 0,
617
- [_i, _vS],
618
- [[0, 1], 0], 2
619
- ];
620
- var UpdateSoftwareSetResponse$ = [3, n0, _USSRp,
621
- 0,
622
- [],
623
- []
624
- ];
625
- var ValidationException$ = [-3, n0, _VE,
626
- { [_e]: _c, [_hE]: 400 },
627
- [_m, _r, _fL],
628
- [0, 0, () => ValidationExceptionFieldList]
629
- ];
630
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
631
- var ValidationExceptionField$ = [3, n0, _VEF,
632
- 0,
633
- [_n, _m],
634
- [0, 0], 2
635
- ];
636
- var WorkSpacesThinClientServiceException$ = [-3, _sm, "WorkSpacesThinClientServiceException", 0, [], []];
637
- schema.TypeRegistry.for(_sm).registerError(WorkSpacesThinClientServiceException$, WorkSpacesThinClientServiceException);
638
- var DeviceList = [1, n0, _DL,
639
- 0, [() => DeviceSummary$,
640
- 0]
641
- ];
642
- var EnvironmentList = [1, n0, _EL,
643
- 0, [() => EnvironmentSummary$,
644
- 0]
645
- ];
646
- var SoftwareList = [1, n0, _SL,
647
- 0, () => Software$
648
- ];
649
- var SoftwareSetList = [1, n0, _SSL,
650
- 0, () => SoftwareSetSummary$
651
- ];
652
- var TagKeys = [1, n0, _TK,
653
- 8, 0
654
- ];
655
- var ValidationExceptionFieldList = [1, n0, _VEFL,
656
- 0, () => ValidationExceptionField$
657
- ];
658
- var DeviceCreationTagsMap = [2, n0, _DCTM,
659
- 8, 0, 0
660
- ];
661
- var TagsMap = [2, n0, _TM,
662
- 8, 0, 0
663
- ];
664
- var CreateEnvironment$ = [9, n0, _CEr,
665
- { [_end]: ["api."], [_h]: ["POST", "/environments", 201] }, () => CreateEnvironmentRequest$, () => CreateEnvironmentResponse$
666
- ];
667
- var DeleteDevice$ = [9, n0, _DD,
668
- { [_end]: ["api."], [_h]: ["DELETE", "/devices/{id}", 204] }, () => DeleteDeviceRequest$, () => DeleteDeviceResponse$
669
- ];
670
- var DeleteEnvironment$ = [9, n0, _DEe,
671
- { [_end]: ["api."], [_h]: ["DELETE", "/environments/{id}", 204] }, () => DeleteEnvironmentRequest$, () => DeleteEnvironmentResponse$
672
- ];
673
- var DeregisterDevice$ = [9, n0, _DDe,
674
- { [_end]: ["api."], [_h]: ["POST", "/deregister-device/{id}", 202] }, () => DeregisterDeviceRequest$, () => DeregisterDeviceResponse$
675
- ];
676
- var GetDevice$ = [9, n0, _GD,
677
- { [_end]: ["api."], [_h]: ["GET", "/devices/{id}", 200] }, () => GetDeviceRequest$, () => GetDeviceResponse$
678
- ];
679
- var GetEnvironment$ = [9, n0, _GE,
680
- { [_end]: ["api."], [_h]: ["GET", "/environments/{id}", 200] }, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
681
- ];
682
- var GetSoftwareSet$ = [9, n0, _GSS,
683
- { [_end]: ["api."], [_h]: ["GET", "/softwaresets/{id}", 200] }, () => GetSoftwareSetRequest$, () => GetSoftwareSetResponse$
684
- ];
685
- var ListDevices$ = [9, n0, _LD,
686
- { [_end]: ["api."], [_h]: ["GET", "/devices", 200] }, () => ListDevicesRequest$, () => ListDevicesResponse$
687
- ];
688
- var ListEnvironments$ = [9, n0, _LE,
689
- { [_end]: ["api."], [_h]: ["GET", "/environments", 200] }, () => ListEnvironmentsRequest$, () => ListEnvironmentsResponse$
690
- ];
691
- var ListSoftwareSets$ = [9, n0, _LSS,
692
- { [_end]: ["api."], [_h]: ["GET", "/softwaresets", 200] }, () => ListSoftwareSetsRequest$, () => ListSoftwareSetsResponse$
693
- ];
694
- var ListTagsForResource$ = [9, n0, _LTFR,
695
- { [_end]: ["api."], [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
696
- ];
697
- var TagResource$ = [9, n0, _TR,
698
- { [_end]: ["api."], [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
699
- ];
700
- var UntagResource$ = [9, n0, _UR,
701
- { [_end]: ["api."], [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
702
- ];
703
- var UpdateDevice$ = [9, n0, _UD,
704
- { [_end]: ["api."], [_h]: ["PATCH", "/devices/{id}", 200] }, () => UpdateDeviceRequest$, () => UpdateDeviceResponse$
705
- ];
706
- var UpdateEnvironment$ = [9, n0, _UE,
707
- { [_end]: ["api."], [_h]: ["PATCH", "/environments/{id}", 200] }, () => UpdateEnvironmentRequest$, () => UpdateEnvironmentResponse$
708
- ];
709
- var UpdateSoftwareSet$ = [9, n0, _USS,
710
- { [_end]: ["api."], [_h]: ["PATCH", "/softwaresets/{id}", 204] }, () => UpdateSoftwareSetRequest$, () => UpdateSoftwareSetResponse$
711
- ];
712
-
713
116
  class CreateEnvironmentCommand extends smithyClient.Command
714
117
  .classBuilder()
715
118
  .ep(commonParams)
@@ -718,7 +121,7 @@ class CreateEnvironmentCommand extends smithyClient.Command
718
121
  })
719
122
  .s("ThinClient", "CreateEnvironment", {})
720
123
  .n("WorkSpacesThinClientClient", "CreateEnvironmentCommand")
721
- .sc(CreateEnvironment$)
124
+ .sc(schemas_0.CreateEnvironment$)
722
125
  .build() {
723
126
  }
724
127
 
@@ -730,7 +133,7 @@ class DeleteDeviceCommand extends smithyClient.Command
730
133
  })
731
134
  .s("ThinClient", "DeleteDevice", {})
732
135
  .n("WorkSpacesThinClientClient", "DeleteDeviceCommand")
733
- .sc(DeleteDevice$)
136
+ .sc(schemas_0.DeleteDevice$)
734
137
  .build() {
735
138
  }
736
139
 
@@ -742,7 +145,7 @@ class DeleteEnvironmentCommand extends smithyClient.Command
742
145
  })
743
146
  .s("ThinClient", "DeleteEnvironment", {})
744
147
  .n("WorkSpacesThinClientClient", "DeleteEnvironmentCommand")
745
- .sc(DeleteEnvironment$)
148
+ .sc(schemas_0.DeleteEnvironment$)
746
149
  .build() {
747
150
  }
748
151
 
@@ -754,7 +157,7 @@ class DeregisterDeviceCommand extends smithyClient.Command
754
157
  })
755
158
  .s("ThinClient", "DeregisterDevice", {})
756
159
  .n("WorkSpacesThinClientClient", "DeregisterDeviceCommand")
757
- .sc(DeregisterDevice$)
160
+ .sc(schemas_0.DeregisterDevice$)
758
161
  .build() {
759
162
  }
760
163
 
@@ -766,7 +169,7 @@ class GetDeviceCommand extends smithyClient.Command
766
169
  })
767
170
  .s("ThinClient", "GetDevice", {})
768
171
  .n("WorkSpacesThinClientClient", "GetDeviceCommand")
769
- .sc(GetDevice$)
172
+ .sc(schemas_0.GetDevice$)
770
173
  .build() {
771
174
  }
772
175
 
@@ -778,7 +181,7 @@ class GetEnvironmentCommand extends smithyClient.Command
778
181
  })
779
182
  .s("ThinClient", "GetEnvironment", {})
780
183
  .n("WorkSpacesThinClientClient", "GetEnvironmentCommand")
781
- .sc(GetEnvironment$)
184
+ .sc(schemas_0.GetEnvironment$)
782
185
  .build() {
783
186
  }
784
187
 
@@ -790,7 +193,7 @@ class GetSoftwareSetCommand extends smithyClient.Command
790
193
  })
791
194
  .s("ThinClient", "GetSoftwareSet", {})
792
195
  .n("WorkSpacesThinClientClient", "GetSoftwareSetCommand")
793
- .sc(GetSoftwareSet$)
196
+ .sc(schemas_0.GetSoftwareSet$)
794
197
  .build() {
795
198
  }
796
199
 
@@ -802,7 +205,7 @@ class ListDevicesCommand extends smithyClient.Command
802
205
  })
803
206
  .s("ThinClient", "ListDevices", {})
804
207
  .n("WorkSpacesThinClientClient", "ListDevicesCommand")
805
- .sc(ListDevices$)
208
+ .sc(schemas_0.ListDevices$)
806
209
  .build() {
807
210
  }
808
211
 
@@ -814,7 +217,7 @@ class ListEnvironmentsCommand extends smithyClient.Command
814
217
  })
815
218
  .s("ThinClient", "ListEnvironments", {})
816
219
  .n("WorkSpacesThinClientClient", "ListEnvironmentsCommand")
817
- .sc(ListEnvironments$)
220
+ .sc(schemas_0.ListEnvironments$)
818
221
  .build() {
819
222
  }
820
223
 
@@ -826,7 +229,7 @@ class ListSoftwareSetsCommand extends smithyClient.Command
826
229
  })
827
230
  .s("ThinClient", "ListSoftwareSets", {})
828
231
  .n("WorkSpacesThinClientClient", "ListSoftwareSetsCommand")
829
- .sc(ListSoftwareSets$)
232
+ .sc(schemas_0.ListSoftwareSets$)
830
233
  .build() {
831
234
  }
832
235
 
@@ -838,7 +241,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
838
241
  })
839
242
  .s("ThinClient", "ListTagsForResource", {})
840
243
  .n("WorkSpacesThinClientClient", "ListTagsForResourceCommand")
841
- .sc(ListTagsForResource$)
244
+ .sc(schemas_0.ListTagsForResource$)
842
245
  .build() {
843
246
  }
844
247
 
@@ -850,7 +253,7 @@ class TagResourceCommand extends smithyClient.Command
850
253
  })
851
254
  .s("ThinClient", "TagResource", {})
852
255
  .n("WorkSpacesThinClientClient", "TagResourceCommand")
853
- .sc(TagResource$)
256
+ .sc(schemas_0.TagResource$)
854
257
  .build() {
855
258
  }
856
259
 
@@ -862,7 +265,7 @@ class UntagResourceCommand extends smithyClient.Command
862
265
  })
863
266
  .s("ThinClient", "UntagResource", {})
864
267
  .n("WorkSpacesThinClientClient", "UntagResourceCommand")
865
- .sc(UntagResource$)
268
+ .sc(schemas_0.UntagResource$)
866
269
  .build() {
867
270
  }
868
271
 
@@ -874,7 +277,7 @@ class UpdateDeviceCommand extends smithyClient.Command
874
277
  })
875
278
  .s("ThinClient", "UpdateDevice", {})
876
279
  .n("WorkSpacesThinClientClient", "UpdateDeviceCommand")
877
- .sc(UpdateDevice$)
280
+ .sc(schemas_0.UpdateDevice$)
878
281
  .build() {
879
282
  }
880
283
 
@@ -886,7 +289,7 @@ class UpdateEnvironmentCommand extends smithyClient.Command
886
289
  })
887
290
  .s("ThinClient", "UpdateEnvironment", {})
888
291
  .n("WorkSpacesThinClientClient", "UpdateEnvironmentCommand")
889
- .sc(UpdateEnvironment$)
292
+ .sc(schemas_0.UpdateEnvironment$)
890
293
  .build() {
891
294
  }
892
295
 
@@ -898,7 +301,7 @@ class UpdateSoftwareSetCommand extends smithyClient.Command
898
301
  })
899
302
  .s("ThinClient", "UpdateSoftwareSet", {})
900
303
  .n("WorkSpacesThinClientClient", "UpdateSoftwareSetCommand")
901
- .sc(UpdateSoftwareSet$)
304
+ .sc(schemas_0.UpdateSoftwareSet$)
902
305
  .build() {
903
306
  }
904
307
 
@@ -1011,111 +414,54 @@ Object.defineProperty(exports, "__Client", {
1011
414
  enumerable: true,
1012
415
  get: function () { return smithyClient.Client; }
1013
416
  });
1014
- exports.AccessDeniedException = AccessDeniedException;
1015
- exports.AccessDeniedException$ = AccessDeniedException$;
417
+ Object.defineProperty(exports, "WorkSpacesThinClientServiceException", {
418
+ enumerable: true,
419
+ get: function () { return WorkSpacesThinClientServiceException.WorkSpacesThinClientServiceException; }
420
+ });
1016
421
  exports.ApplyTimeOf = ApplyTimeOf;
1017
- exports.ConflictException = ConflictException;
1018
- exports.ConflictException$ = ConflictException$;
1019
- exports.CreateEnvironment$ = CreateEnvironment$;
1020
422
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
1021
- exports.CreateEnvironmentRequest$ = CreateEnvironmentRequest$;
1022
- exports.CreateEnvironmentResponse$ = CreateEnvironmentResponse$;
1023
423
  exports.DayOfWeek = DayOfWeek;
1024
- exports.DeleteDevice$ = DeleteDevice$;
1025
424
  exports.DeleteDeviceCommand = DeleteDeviceCommand;
1026
- exports.DeleteDeviceRequest$ = DeleteDeviceRequest$;
1027
- exports.DeleteDeviceResponse$ = DeleteDeviceResponse$;
1028
- exports.DeleteEnvironment$ = DeleteEnvironment$;
1029
425
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1030
- exports.DeleteEnvironmentRequest$ = DeleteEnvironmentRequest$;
1031
- exports.DeleteEnvironmentResponse$ = DeleteEnvironmentResponse$;
1032
- exports.DeregisterDevice$ = DeregisterDevice$;
1033
426
  exports.DeregisterDeviceCommand = DeregisterDeviceCommand;
1034
- exports.DeregisterDeviceRequest$ = DeregisterDeviceRequest$;
1035
- exports.DeregisterDeviceResponse$ = DeregisterDeviceResponse$;
1036
427
  exports.DesktopType = DesktopType;
1037
- exports.Device$ = Device$;
1038
428
  exports.DeviceSoftwareSetComplianceStatus = DeviceSoftwareSetComplianceStatus;
1039
429
  exports.DeviceStatus = DeviceStatus;
1040
- exports.DeviceSummary$ = DeviceSummary$;
1041
- exports.Environment$ = Environment$;
1042
430
  exports.EnvironmentSoftwareSetComplianceStatus = EnvironmentSoftwareSetComplianceStatus;
1043
- exports.EnvironmentSummary$ = EnvironmentSummary$;
1044
- exports.GetDevice$ = GetDevice$;
1045
431
  exports.GetDeviceCommand = GetDeviceCommand;
1046
- exports.GetDeviceRequest$ = GetDeviceRequest$;
1047
- exports.GetDeviceResponse$ = GetDeviceResponse$;
1048
- exports.GetEnvironment$ = GetEnvironment$;
1049
432
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
1050
- exports.GetEnvironmentRequest$ = GetEnvironmentRequest$;
1051
- exports.GetEnvironmentResponse$ = GetEnvironmentResponse$;
1052
- exports.GetSoftwareSet$ = GetSoftwareSet$;
1053
433
  exports.GetSoftwareSetCommand = GetSoftwareSetCommand;
1054
- exports.GetSoftwareSetRequest$ = GetSoftwareSetRequest$;
1055
- exports.GetSoftwareSetResponse$ = GetSoftwareSetResponse$;
1056
- exports.InternalServerException = InternalServerException;
1057
- exports.InternalServerException$ = InternalServerException$;
1058
- exports.ListDevices$ = ListDevices$;
1059
434
  exports.ListDevicesCommand = ListDevicesCommand;
1060
- exports.ListDevicesRequest$ = ListDevicesRequest$;
1061
- exports.ListDevicesResponse$ = ListDevicesResponse$;
1062
- exports.ListEnvironments$ = ListEnvironments$;
1063
435
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
1064
- exports.ListEnvironmentsRequest$ = ListEnvironmentsRequest$;
1065
- exports.ListEnvironmentsResponse$ = ListEnvironmentsResponse$;
1066
- exports.ListSoftwareSets$ = ListSoftwareSets$;
1067
436
  exports.ListSoftwareSetsCommand = ListSoftwareSetsCommand;
1068
- exports.ListSoftwareSetsRequest$ = ListSoftwareSetsRequest$;
1069
- exports.ListSoftwareSetsResponse$ = ListSoftwareSetsResponse$;
1070
- exports.ListTagsForResource$ = ListTagsForResource$;
1071
437
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1072
- exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1073
- exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1074
- exports.MaintenanceWindow$ = MaintenanceWindow$;
1075
438
  exports.MaintenanceWindowType = MaintenanceWindowType;
1076
- exports.ResourceNotFoundException = ResourceNotFoundException;
1077
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1078
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1079
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1080
- exports.Software$ = Software$;
1081
- exports.SoftwareSet$ = SoftwareSet$;
1082
- exports.SoftwareSetSummary$ = SoftwareSetSummary$;
1083
439
  exports.SoftwareSetUpdateMode = SoftwareSetUpdateMode;
1084
440
  exports.SoftwareSetUpdateSchedule = SoftwareSetUpdateSchedule;
1085
441
  exports.SoftwareSetUpdateStatus = SoftwareSetUpdateStatus;
1086
442
  exports.SoftwareSetValidationStatus = SoftwareSetValidationStatus;
1087
- exports.TagResource$ = TagResource$;
1088
443
  exports.TagResourceCommand = TagResourceCommand;
1089
- exports.TagResourceRequest$ = TagResourceRequest$;
1090
- exports.TagResourceResponse$ = TagResourceResponse$;
1091
444
  exports.TargetDeviceStatus = TargetDeviceStatus;
1092
- exports.ThrottlingException = ThrottlingException;
1093
- exports.ThrottlingException$ = ThrottlingException$;
1094
- exports.UntagResource$ = UntagResource$;
1095
445
  exports.UntagResourceCommand = UntagResourceCommand;
1096
- exports.UntagResourceRequest$ = UntagResourceRequest$;
1097
- exports.UntagResourceResponse$ = UntagResourceResponse$;
1098
- exports.UpdateDevice$ = UpdateDevice$;
1099
446
  exports.UpdateDeviceCommand = UpdateDeviceCommand;
1100
- exports.UpdateDeviceRequest$ = UpdateDeviceRequest$;
1101
- exports.UpdateDeviceResponse$ = UpdateDeviceResponse$;
1102
- exports.UpdateEnvironment$ = UpdateEnvironment$;
1103
447
  exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
1104
- exports.UpdateEnvironmentRequest$ = UpdateEnvironmentRequest$;
1105
- exports.UpdateEnvironmentResponse$ = UpdateEnvironmentResponse$;
1106
- exports.UpdateSoftwareSet$ = UpdateSoftwareSet$;
1107
448
  exports.UpdateSoftwareSetCommand = UpdateSoftwareSetCommand;
1108
- exports.UpdateSoftwareSetRequest$ = UpdateSoftwareSetRequest$;
1109
- exports.UpdateSoftwareSetResponse$ = UpdateSoftwareSetResponse$;
1110
- exports.ValidationException = ValidationException;
1111
- exports.ValidationException$ = ValidationException$;
1112
- exports.ValidationExceptionField$ = ValidationExceptionField$;
1113
449
  exports.ValidationExceptionReason = ValidationExceptionReason;
1114
450
  exports.WorkSpacesThin = WorkSpacesThin;
1115
451
  exports.WorkSpacesThinClient = WorkSpacesThinClient;
1116
452
  exports.WorkSpacesThinClientClient = WorkSpacesThinClientClient;
1117
- exports.WorkSpacesThinClientServiceException = WorkSpacesThinClientServiceException;
1118
- exports.WorkSpacesThinClientServiceException$ = WorkSpacesThinClientServiceException$;
1119
453
  exports.paginateListDevices = paginateListDevices;
1120
454
  exports.paginateListEnvironments = paginateListEnvironments;
1121
455
  exports.paginateListSoftwareSets = paginateListSoftwareSets;
456
+ Object.keys(schemas_0).forEach(function (k) {
457
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
458
+ enumerable: true,
459
+ get: function () { return schemas_0[k]; }
460
+ });
461
+ });
462
+ Object.keys(errors).forEach(function (k) {
463
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
464
+ enumerable: true,
465
+ get: function () { return errors[k]; }
466
+ });
467
+ });