@aws-sdk/client-workspaces-thin-client 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist-cjs/index.js +825 -1061
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/WorkSpacesThinClientClient.js +2 -0
  4. package/dist-es/commands/CreateEnvironmentCommand.js +3 -10
  5. package/dist-es/commands/DeleteDeviceCommand.js +3 -9
  6. package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
  7. package/dist-es/commands/DeregisterDeviceCommand.js +3 -9
  8. package/dist-es/commands/GetDeviceCommand.js +3 -10
  9. package/dist-es/commands/GetEnvironmentCommand.js +3 -10
  10. package/dist-es/commands/GetSoftwareSetCommand.js +3 -9
  11. package/dist-es/commands/ListDevicesCommand.js +3 -10
  12. package/dist-es/commands/ListEnvironmentsCommand.js +3 -10
  13. package/dist-es/commands/ListSoftwareSetsCommand.js +3 -9
  14. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  15. package/dist-es/commands/TagResourceCommand.js +3 -10
  16. package/dist-es/commands/UntagResourceCommand.js +3 -10
  17. package/dist-es/commands/UpdateDeviceCommand.js +3 -10
  18. package/dist-es/commands/UpdateEnvironmentCommand.js +3 -10
  19. package/dist-es/commands/UpdateSoftwareSetCommand.js +3 -9
  20. package/dist-es/models/models_0.js +0 -81
  21. package/dist-es/runtimeConfig.shared.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +777 -0
  23. package/dist-types/WorkSpacesThinClientClient.d.ts +10 -1
  24. package/dist-types/models/models_0.d.ts +0 -68
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  26. package/dist-types/runtimeConfig.d.ts +1 -0
  27. package/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +81 -0
  30. package/dist-types/ts3.4/WorkSpacesThinClientClient.d.ts +4 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +0 -47
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +88 -0
  37. package/package.json +2 -3
  38. package/dist-es/protocols/Aws_restJson1.js +0 -838
  39. package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class WorkSpacesThinClientClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class WorkSpacesThinClientClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class WorkSpacesThinClientServiceException extends smithyClient.ServiceException {
113
+ let WorkSpacesThinClientServiceException$1 = class WorkSpacesThinClientServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, WorkSpacesThinClientServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends WorkSpacesThinClientServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends WorkSpacesThinClientServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  constructor(opts) {
@@ -129,12 +128,12 @@ class AccessDeniedException extends WorkSpacesThinClientServiceException {
129
128
  });
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  }
132
- }
131
+ };
133
132
  const ApplyTimeOf = {
134
133
  DEVICE: "DEVICE",
135
134
  UTC: "UTC",
136
135
  };
137
- class ConflictException extends WorkSpacesThinClientServiceException {
136
+ let ConflictException$1 = class ConflictException extends WorkSpacesThinClientServiceException$1 {
138
137
  name = "ConflictException";
139
138
  $fault = "client";
140
139
  resourceId;
@@ -149,7 +148,7 @@ class ConflictException extends WorkSpacesThinClientServiceException {
149
148
  this.resourceId = opts.resourceId;
150
149
  this.resourceType = opts.resourceType;
151
150
  }
152
- }
151
+ };
153
152
  const DayOfWeek = {
154
153
  FRIDAY: "FRIDAY",
155
154
  MONDAY: "MONDAY",
@@ -176,7 +175,7 @@ const DesktopType = {
176
175
  WORKSPACES: "workspaces",
177
176
  WORKSPACES_WEB: "workspaces-web",
178
177
  };
179
- class InternalServerException extends WorkSpacesThinClientServiceException {
178
+ let InternalServerException$1 = class InternalServerException extends WorkSpacesThinClientServiceException$1 {
180
179
  name = "InternalServerException";
181
180
  $fault = "server";
182
181
  retryAfterSeconds;
@@ -189,8 +188,8 @@ class InternalServerException extends WorkSpacesThinClientServiceException {
189
188
  Object.setPrototypeOf(this, InternalServerException.prototype);
190
189
  this.retryAfterSeconds = opts.retryAfterSeconds;
191
190
  }
192
- }
193
- class ResourceNotFoundException extends WorkSpacesThinClientServiceException {
191
+ };
192
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends WorkSpacesThinClientServiceException$1 {
194
193
  name = "ResourceNotFoundException";
195
194
  $fault = "client";
196
195
  resourceId;
@@ -205,8 +204,8 @@ class ResourceNotFoundException extends WorkSpacesThinClientServiceException {
205
204
  this.resourceId = opts.resourceId;
206
205
  this.resourceType = opts.resourceType;
207
206
  }
208
- }
209
- class ServiceQuotaExceededException extends WorkSpacesThinClientServiceException {
207
+ };
208
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends WorkSpacesThinClientServiceException$1 {
210
209
  name = "ServiceQuotaExceededException";
211
210
  $fault = "client";
212
211
  resourceId;
@@ -225,8 +224,8 @@ class ServiceQuotaExceededException extends WorkSpacesThinClientServiceException
225
224
  this.serviceCode = opts.serviceCode;
226
225
  this.quotaCode = opts.quotaCode;
227
226
  }
228
- }
229
- class ThrottlingException extends WorkSpacesThinClientServiceException {
227
+ };
228
+ let ThrottlingException$1 = class ThrottlingException extends WorkSpacesThinClientServiceException$1 {
230
229
  name = "ThrottlingException";
231
230
  $fault = "client";
232
231
  serviceCode;
@@ -243,14 +242,14 @@ class ThrottlingException extends WorkSpacesThinClientServiceException {
243
242
  this.quotaCode = opts.quotaCode;
244
243
  this.retryAfterSeconds = opts.retryAfterSeconds;
245
244
  }
246
- }
245
+ };
247
246
  const ValidationExceptionReason = {
248
247
  CANNOT_PARSE: "cannotParse",
249
248
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
250
249
  OTHER: "other",
251
250
  UNKNOWN_OPERATION: "unknownOperation",
252
251
  };
253
- class ValidationException extends WorkSpacesThinClientServiceException {
252
+ let ValidationException$1 = class ValidationException extends WorkSpacesThinClientServiceException$1 {
254
253
  name = "ValidationException";
255
254
  $fault = "client";
256
255
  reason;
@@ -265,7 +264,7 @@ class ValidationException extends WorkSpacesThinClientServiceException {
265
264
  this.reason = opts.reason;
266
265
  this.fieldList = opts.fieldList;
267
266
  }
268
- }
267
+ };
269
268
  const TargetDeviceStatus = {
270
269
  ARCHIVED: "ARCHIVED",
271
270
  DEREGISTERED: "DEREGISTERED",
@@ -295,932 +294,789 @@ const SoftwareSetValidationStatus = {
295
294
  NOT_VALIDATED: "NOT_VALIDATED",
296
295
  VALIDATED: "VALIDATED",
297
296
  };
298
- const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
299
- ...obj,
300
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
301
- ...(obj.desktopEndpoint && { desktopEndpoint: smithyClient.SENSITIVE_STRING }),
302
- ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
303
- ...(obj.deviceCreationTags && { deviceCreationTags: smithyClient.SENSITIVE_STRING }),
304
- });
305
- const EnvironmentSummaryFilterSensitiveLog = (obj) => ({
306
- ...obj,
307
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
308
- ...(obj.desktopEndpoint && { desktopEndpoint: smithyClient.SENSITIVE_STRING }),
309
- ...(obj.activationCode && { activationCode: smithyClient.SENSITIVE_STRING }),
310
- });
311
- const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
312
- ...obj,
313
- ...(obj.environment && { environment: EnvironmentSummaryFilterSensitiveLog(obj.environment) }),
314
- });
315
- const DeviceFilterSensitiveLog = (obj) => ({
316
- ...obj,
317
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
318
- ...(obj.lastUserId && { lastUserId: smithyClient.SENSITIVE_STRING }),
319
- });
320
- const DeviceSummaryFilterSensitiveLog = (obj) => ({
321
- ...obj,
322
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
323
- ...(obj.lastUserId && { lastUserId: smithyClient.SENSITIVE_STRING }),
324
- });
325
- const EnvironmentFilterSensitiveLog = (obj) => ({
326
- ...obj,
327
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
328
- ...(obj.desktopEndpoint && { desktopEndpoint: smithyClient.SENSITIVE_STRING }),
329
- ...(obj.activationCode && { activationCode: smithyClient.SENSITIVE_STRING }),
330
- ...(obj.deviceCreationTags && { deviceCreationTags: smithyClient.SENSITIVE_STRING }),
331
- });
332
- const GetDeviceResponseFilterSensitiveLog = (obj) => ({
333
- ...obj,
334
- ...(obj.device && { device: DeviceFilterSensitiveLog(obj.device) }),
335
- });
336
- const GetEnvironmentResponseFilterSensitiveLog = (obj) => ({
337
- ...obj,
338
- ...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
339
- });
340
- const ListDevicesResponseFilterSensitiveLog = (obj) => ({
341
- ...obj,
342
- ...(obj.devices && { devices: obj.devices.map((item) => DeviceSummaryFilterSensitiveLog(item)) }),
343
- });
344
- const ListEnvironmentsResponseFilterSensitiveLog = (obj) => ({
345
- ...obj,
346
- ...(obj.environments && { environments: obj.environments.map((item) => EnvironmentSummaryFilterSensitiveLog(item)) }),
347
- });
348
- const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
349
- ...obj,
350
- ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
351
- });
352
- const TagResourceRequestFilterSensitiveLog = (obj) => ({
353
- ...obj,
354
- ...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
355
- });
356
- const UntagResourceRequestFilterSensitiveLog = (obj) => ({
357
- ...obj,
358
- ...(obj.tagKeys && { tagKeys: smithyClient.SENSITIVE_STRING }),
359
- });
360
- const UpdateDeviceRequestFilterSensitiveLog = (obj) => ({
361
- ...obj,
362
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
363
- });
364
- const UpdateDeviceResponseFilterSensitiveLog = (obj) => ({
365
- ...obj,
366
- ...(obj.device && { device: DeviceSummaryFilterSensitiveLog(obj.device) }),
367
- });
368
- const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
369
- ...obj,
370
- ...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
371
- ...(obj.desktopEndpoint && { desktopEndpoint: smithyClient.SENSITIVE_STRING }),
372
- ...(obj.deviceCreationTags && { deviceCreationTags: smithyClient.SENSITIVE_STRING }),
373
- });
374
- const UpdateEnvironmentResponseFilterSensitiveLog = (obj) => ({
375
- ...obj,
376
- ...(obj.environment && { environment: EnvironmentSummaryFilterSensitiveLog(obj.environment) }),
377
- });
378
297
 
379
- const se_CreateEnvironmentCommand = async (input, context) => {
380
- const b = core.requestBuilder(input, context);
381
- const headers = {
382
- "content-type": "application/json",
383
- };
384
- b.bp("/environments");
385
- let body;
386
- body = JSON.stringify(smithyClient.take(input, {
387
- clientToken: [true, (_) => _ ?? uuid.v4()],
388
- desiredSoftwareSetId: [],
389
- desktopArn: [],
390
- desktopEndpoint: [],
391
- deviceCreationTags: (_) => smithyClient._json(_),
392
- kmsKeyArn: [],
393
- maintenanceWindow: (_) => smithyClient._json(_),
394
- name: [],
395
- softwareSetUpdateMode: [],
396
- softwareSetUpdateSchedule: [],
397
- tags: (_) => smithyClient._json(_),
398
- }));
399
- let { hostname: resolvedHostname } = await context.endpoint();
400
- if (context.disableHostPrefix !== true) {
401
- resolvedHostname = "api." + resolvedHostname;
402
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
403
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
404
- }
405
- }
406
- b.hn(resolvedHostname);
407
- b.m("POST").h(headers).b(body);
408
- return b.build();
409
- };
410
- const se_DeleteDeviceCommand = async (input, context) => {
411
- const b = core.requestBuilder(input, context);
412
- const headers = {};
413
- b.bp("/devices/{id}");
414
- b.p("id", () => input.id, "{id}", false);
415
- const query = smithyClient.map({
416
- [_cT]: [, input[_cT] ?? uuid.v4()],
417
- });
418
- let body;
419
- let { hostname: resolvedHostname } = await context.endpoint();
420
- if (context.disableHostPrefix !== true) {
421
- resolvedHostname = "api." + resolvedHostname;
422
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
423
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
424
- }
425
- }
426
- b.hn(resolvedHostname);
427
- b.m("DELETE").h(headers).q(query).b(body);
428
- return b.build();
429
- };
430
- const se_DeleteEnvironmentCommand = async (input, context) => {
431
- const b = core.requestBuilder(input, context);
432
- const headers = {};
433
- b.bp("/environments/{id}");
434
- b.p("id", () => input.id, "{id}", false);
435
- const query = smithyClient.map({
436
- [_cT]: [, input[_cT] ?? uuid.v4()],
437
- });
438
- let body;
439
- let { hostname: resolvedHostname } = await context.endpoint();
440
- if (context.disableHostPrefix !== true) {
441
- resolvedHostname = "api." + resolvedHostname;
442
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
443
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
444
- }
445
- }
446
- b.hn(resolvedHostname);
447
- b.m("DELETE").h(headers).q(query).b(body);
448
- return b.build();
449
- };
450
- const se_DeregisterDeviceCommand = async (input, context) => {
451
- const b = core.requestBuilder(input, context);
452
- const headers = {
453
- "content-type": "application/json",
454
- };
455
- b.bp("/deregister-device/{id}");
456
- b.p("id", () => input.id, "{id}", false);
457
- let body;
458
- body = JSON.stringify(smithyClient.take(input, {
459
- clientToken: [true, (_) => _ ?? uuid.v4()],
460
- targetDeviceStatus: [],
461
- }));
462
- let { hostname: resolvedHostname } = await context.endpoint();
463
- if (context.disableHostPrefix !== true) {
464
- resolvedHostname = "api." + resolvedHostname;
465
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
466
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
467
- }
468
- }
469
- b.hn(resolvedHostname);
470
- b.m("POST").h(headers).b(body);
471
- return b.build();
472
- };
473
- const se_GetDeviceCommand = async (input, context) => {
474
- const b = core.requestBuilder(input, context);
475
- const headers = {};
476
- b.bp("/devices/{id}");
477
- b.p("id", () => input.id, "{id}", false);
478
- let body;
479
- let { hostname: resolvedHostname } = await context.endpoint();
480
- if (context.disableHostPrefix !== true) {
481
- resolvedHostname = "api." + resolvedHostname;
482
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
483
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
484
- }
485
- }
486
- b.hn(resolvedHostname);
487
- b.m("GET").h(headers).b(body);
488
- return b.build();
489
- };
490
- const se_GetEnvironmentCommand = async (input, context) => {
491
- const b = core.requestBuilder(input, context);
492
- const headers = {};
493
- b.bp("/environments/{id}");
494
- b.p("id", () => input.id, "{id}", false);
495
- let body;
496
- let { hostname: resolvedHostname } = await context.endpoint();
497
- if (context.disableHostPrefix !== true) {
498
- resolvedHostname = "api." + resolvedHostname;
499
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
500
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
501
- }
502
- }
503
- b.hn(resolvedHostname);
504
- b.m("GET").h(headers).b(body);
505
- return b.build();
506
- };
507
- const se_GetSoftwareSetCommand = async (input, context) => {
508
- const b = core.requestBuilder(input, context);
509
- const headers = {};
510
- b.bp("/softwaresets/{id}");
511
- b.p("id", () => input.id, "{id}", false);
512
- let body;
513
- let { hostname: resolvedHostname } = await context.endpoint();
514
- if (context.disableHostPrefix !== true) {
515
- resolvedHostname = "api." + resolvedHostname;
516
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
517
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
518
- }
519
- }
520
- b.hn(resolvedHostname);
521
- b.m("GET").h(headers).b(body);
522
- return b.build();
523
- };
524
- const se_ListDevicesCommand = async (input, context) => {
525
- const b = core.requestBuilder(input, context);
526
- const headers = {};
527
- b.bp("/devices");
528
- const query = smithyClient.map({
529
- [_nT]: [, input[_nT]],
530
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
531
- });
532
- let body;
533
- let { hostname: resolvedHostname } = await context.endpoint();
534
- if (context.disableHostPrefix !== true) {
535
- resolvedHostname = "api." + resolvedHostname;
536
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
537
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
538
- }
539
- }
540
- b.hn(resolvedHostname);
541
- b.m("GET").h(headers).q(query).b(body);
542
- return b.build();
543
- };
544
- const se_ListEnvironmentsCommand = async (input, context) => {
545
- const b = core.requestBuilder(input, context);
546
- const headers = {};
547
- b.bp("/environments");
548
- const query = smithyClient.map({
549
- [_nT]: [, input[_nT]],
550
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
551
- });
552
- let body;
553
- let { hostname: resolvedHostname } = await context.endpoint();
554
- if (context.disableHostPrefix !== true) {
555
- resolvedHostname = "api." + resolvedHostname;
556
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
557
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
558
- }
559
- }
560
- b.hn(resolvedHostname);
561
- b.m("GET").h(headers).q(query).b(body);
562
- return b.build();
563
- };
564
- const se_ListSoftwareSetsCommand = async (input, context) => {
565
- const b = core.requestBuilder(input, context);
566
- const headers = {};
567
- b.bp("/softwaresets");
568
- const query = smithyClient.map({
569
- [_nT]: [, input[_nT]],
570
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
571
- });
572
- let body;
573
- let { hostname: resolvedHostname } = await context.endpoint();
574
- if (context.disableHostPrefix !== true) {
575
- resolvedHostname = "api." + resolvedHostname;
576
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
577
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
578
- }
579
- }
580
- b.hn(resolvedHostname);
581
- b.m("GET").h(headers).q(query).b(body);
582
- return b.build();
583
- };
584
- const se_ListTagsForResourceCommand = async (input, context) => {
585
- const b = core.requestBuilder(input, context);
586
- const headers = {};
587
- b.bp("/tags/{resourceArn}");
588
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
589
- let body;
590
- let { hostname: resolvedHostname } = await context.endpoint();
591
- if (context.disableHostPrefix !== true) {
592
- resolvedHostname = "api." + resolvedHostname;
593
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
594
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
595
- }
596
- }
597
- b.hn(resolvedHostname);
598
- b.m("GET").h(headers).b(body);
599
- return b.build();
600
- };
601
- const se_TagResourceCommand = async (input, context) => {
602
- const b = core.requestBuilder(input, context);
603
- const headers = {
604
- "content-type": "application/json",
605
- };
606
- b.bp("/tags/{resourceArn}");
607
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
608
- let body;
609
- body = JSON.stringify(smithyClient.take(input, {
610
- tags: (_) => smithyClient._json(_),
611
- }));
612
- let { hostname: resolvedHostname } = await context.endpoint();
613
- if (context.disableHostPrefix !== true) {
614
- resolvedHostname = "api." + resolvedHostname;
615
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
616
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
617
- }
618
- }
619
- b.hn(resolvedHostname);
620
- b.m("POST").h(headers).b(body);
621
- return b.build();
622
- };
623
- const se_UntagResourceCommand = async (input, context) => {
624
- const b = core.requestBuilder(input, context);
625
- const headers = {};
626
- b.bp("/tags/{resourceArn}");
627
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
628
- const query = smithyClient.map({
629
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
630
- });
631
- let body;
632
- let { hostname: resolvedHostname } = await context.endpoint();
633
- if (context.disableHostPrefix !== true) {
634
- resolvedHostname = "api." + resolvedHostname;
635
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
636
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
637
- }
638
- }
639
- b.hn(resolvedHostname);
640
- b.m("DELETE").h(headers).q(query).b(body);
641
- return b.build();
642
- };
643
- const se_UpdateDeviceCommand = async (input, context) => {
644
- const b = core.requestBuilder(input, context);
645
- const headers = {
646
- "content-type": "application/json",
647
- };
648
- b.bp("/devices/{id}");
649
- b.p("id", () => input.id, "{id}", false);
650
- let body;
651
- body = JSON.stringify(smithyClient.take(input, {
652
- desiredSoftwareSetId: [],
653
- name: [],
654
- softwareSetUpdateSchedule: [],
655
- }));
656
- let { hostname: resolvedHostname } = await context.endpoint();
657
- if (context.disableHostPrefix !== true) {
658
- resolvedHostname = "api." + resolvedHostname;
659
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
660
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
661
- }
662
- }
663
- b.hn(resolvedHostname);
664
- b.m("PATCH").h(headers).b(body);
665
- return b.build();
666
- };
667
- const se_UpdateEnvironmentCommand = async (input, context) => {
668
- const b = core.requestBuilder(input, context);
669
- const headers = {
670
- "content-type": "application/json",
671
- };
672
- b.bp("/environments/{id}");
673
- b.p("id", () => input.id, "{id}", false);
674
- let body;
675
- body = JSON.stringify(smithyClient.take(input, {
676
- desiredSoftwareSetId: [],
677
- desktopArn: [],
678
- desktopEndpoint: [],
679
- deviceCreationTags: (_) => smithyClient._json(_),
680
- maintenanceWindow: (_) => smithyClient._json(_),
681
- name: [],
682
- softwareSetUpdateMode: [],
683
- softwareSetUpdateSchedule: [],
684
- }));
685
- let { hostname: resolvedHostname } = await context.endpoint();
686
- if (context.disableHostPrefix !== true) {
687
- resolvedHostname = "api." + resolvedHostname;
688
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
689
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
690
- }
691
- }
692
- b.hn(resolvedHostname);
693
- b.m("PATCH").h(headers).b(body);
694
- return b.build();
695
- };
696
- const se_UpdateSoftwareSetCommand = async (input, context) => {
697
- const b = core.requestBuilder(input, context);
698
- const headers = {
699
- "content-type": "application/json",
700
- };
701
- b.bp("/softwaresets/{id}");
702
- b.p("id", () => input.id, "{id}", false);
703
- let body;
704
- body = JSON.stringify(smithyClient.take(input, {
705
- validationStatus: [],
706
- }));
707
- let { hostname: resolvedHostname } = await context.endpoint();
708
- if (context.disableHostPrefix !== true) {
709
- resolvedHostname = "api." + resolvedHostname;
710
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
711
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
712
- }
713
- }
714
- b.hn(resolvedHostname);
715
- b.m("PATCH").h(headers).b(body);
716
- return b.build();
717
- };
718
- const de_CreateEnvironmentCommand = async (output, context) => {
719
- if (output.statusCode !== 201 && output.statusCode >= 300) {
720
- return de_CommandError(output, context);
721
- }
722
- const contents = smithyClient.map({
723
- $metadata: deserializeMetadata(output),
724
- });
725
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
726
- const doc = smithyClient.take(data, {
727
- environment: (_) => de_EnvironmentSummary(_),
728
- });
729
- Object.assign(contents, doc);
730
- return contents;
731
- };
732
- const de_DeleteDeviceCommand = async (output, context) => {
733
- if (output.statusCode !== 204 && output.statusCode >= 300) {
734
- return de_CommandError(output, context);
735
- }
736
- const contents = smithyClient.map({
737
- $metadata: deserializeMetadata(output),
738
- });
739
- await smithyClient.collectBody(output.body, context);
740
- return contents;
741
- };
742
- const de_DeleteEnvironmentCommand = async (output, context) => {
743
- if (output.statusCode !== 204 && output.statusCode >= 300) {
744
- return de_CommandError(output, context);
745
- }
746
- const contents = smithyClient.map({
747
- $metadata: deserializeMetadata(output),
748
- });
749
- await smithyClient.collectBody(output.body, context);
750
- return contents;
751
- };
752
- const de_DeregisterDeviceCommand = async (output, context) => {
753
- if (output.statusCode !== 202 && output.statusCode >= 300) {
754
- return de_CommandError(output, context);
755
- }
756
- const contents = smithyClient.map({
757
- $metadata: deserializeMetadata(output),
758
- });
759
- await smithyClient.collectBody(output.body, context);
760
- return contents;
761
- };
762
- const de_GetDeviceCommand = async (output, context) => {
763
- if (output.statusCode !== 200 && output.statusCode >= 300) {
764
- return de_CommandError(output, context);
765
- }
766
- const contents = smithyClient.map({
767
- $metadata: deserializeMetadata(output),
768
- });
769
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
770
- const doc = smithyClient.take(data, {
771
- device: (_) => de_Device(_),
772
- });
773
- Object.assign(contents, doc);
774
- return contents;
775
- };
776
- const de_GetEnvironmentCommand = async (output, context) => {
777
- if (output.statusCode !== 200 && output.statusCode >= 300) {
778
- return de_CommandError(output, context);
779
- }
780
- const contents = smithyClient.map({
781
- $metadata: deserializeMetadata(output),
782
- });
783
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
784
- const doc = smithyClient.take(data, {
785
- environment: (_) => de_Environment(_),
786
- });
787
- Object.assign(contents, doc);
788
- return contents;
789
- };
790
- const de_GetSoftwareSetCommand = async (output, context) => {
791
- if (output.statusCode !== 200 && output.statusCode >= 300) {
792
- return de_CommandError(output, context);
793
- }
794
- const contents = smithyClient.map({
795
- $metadata: deserializeMetadata(output),
796
- });
797
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
798
- const doc = smithyClient.take(data, {
799
- softwareSet: (_) => de_SoftwareSet(_),
800
- });
801
- Object.assign(contents, doc);
802
- return contents;
803
- };
804
- const de_ListDevicesCommand = async (output, context) => {
805
- if (output.statusCode !== 200 && output.statusCode >= 300) {
806
- return de_CommandError(output, context);
807
- }
808
- const contents = smithyClient.map({
809
- $metadata: deserializeMetadata(output),
810
- });
811
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
812
- const doc = smithyClient.take(data, {
813
- devices: (_) => de_DeviceList(_),
814
- nextToken: smithyClient.expectString,
815
- });
816
- Object.assign(contents, doc);
817
- return contents;
818
- };
819
- const de_ListEnvironmentsCommand = async (output, context) => {
820
- if (output.statusCode !== 200 && output.statusCode >= 300) {
821
- return de_CommandError(output, context);
822
- }
823
- const contents = smithyClient.map({
824
- $metadata: deserializeMetadata(output),
825
- });
826
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
827
- const doc = smithyClient.take(data, {
828
- environments: (_) => de_EnvironmentList(_),
829
- nextToken: smithyClient.expectString,
830
- });
831
- Object.assign(contents, doc);
832
- return contents;
833
- };
834
- const de_ListSoftwareSetsCommand = async (output, context) => {
835
- if (output.statusCode !== 200 && output.statusCode >= 300) {
836
- return de_CommandError(output, context);
837
- }
838
- const contents = smithyClient.map({
839
- $metadata: deserializeMetadata(output),
840
- });
841
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
842
- const doc = smithyClient.take(data, {
843
- nextToken: smithyClient.expectString,
844
- softwareSets: (_) => de_SoftwareSetList(_),
845
- });
846
- Object.assign(contents, doc);
847
- return contents;
848
- };
849
- const de_ListTagsForResourceCommand = async (output, context) => {
850
- if (output.statusCode !== 200 && output.statusCode >= 300) {
851
- return de_CommandError(output, context);
852
- }
853
- const contents = smithyClient.map({
854
- $metadata: deserializeMetadata(output),
855
- });
856
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
857
- const doc = smithyClient.take(data, {
858
- tags: smithyClient._json,
859
- });
860
- Object.assign(contents, doc);
861
- return contents;
862
- };
863
- const de_TagResourceCommand = async (output, context) => {
864
- if (output.statusCode !== 200 && output.statusCode >= 300) {
865
- return de_CommandError(output, context);
866
- }
867
- const contents = smithyClient.map({
868
- $metadata: deserializeMetadata(output),
869
- });
870
- await smithyClient.collectBody(output.body, context);
871
- return contents;
872
- };
873
- const de_UntagResourceCommand = async (output, context) => {
874
- if (output.statusCode !== 200 && output.statusCode >= 300) {
875
- return de_CommandError(output, context);
876
- }
877
- const contents = smithyClient.map({
878
- $metadata: deserializeMetadata(output),
879
- });
880
- await smithyClient.collectBody(output.body, context);
881
- return contents;
882
- };
883
- const de_UpdateDeviceCommand = async (output, context) => {
884
- if (output.statusCode !== 200 && output.statusCode >= 300) {
885
- return de_CommandError(output, context);
886
- }
887
- const contents = smithyClient.map({
888
- $metadata: deserializeMetadata(output),
889
- });
890
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
891
- const doc = smithyClient.take(data, {
892
- device: (_) => de_DeviceSummary(_),
893
- });
894
- Object.assign(contents, doc);
895
- return contents;
896
- };
897
- const de_UpdateEnvironmentCommand = async (output, context) => {
898
- if (output.statusCode !== 200 && output.statusCode >= 300) {
899
- return de_CommandError(output, context);
900
- }
901
- const contents = smithyClient.map({
902
- $metadata: deserializeMetadata(output),
903
- });
904
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
905
- const doc = smithyClient.take(data, {
906
- environment: (_) => de_EnvironmentSummary(_),
907
- });
908
- Object.assign(contents, doc);
909
- return contents;
910
- };
911
- const de_UpdateSoftwareSetCommand = async (output, context) => {
912
- if (output.statusCode !== 204 && output.statusCode >= 300) {
913
- return de_CommandError(output, context);
914
- }
915
- const contents = smithyClient.map({
916
- $metadata: deserializeMetadata(output),
917
- });
918
- await smithyClient.collectBody(output.body, context);
919
- return contents;
920
- };
921
- const de_CommandError = async (output, context) => {
922
- const parsedOutput = {
923
- ...output,
924
- body: await core$1.parseJsonErrorBody(output.body, context),
925
- };
926
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
927
- switch (errorCode) {
928
- case "AccessDeniedException":
929
- case "com.amazonaws.workspacesthinclient#AccessDeniedException":
930
- throw await de_AccessDeniedExceptionRes(parsedOutput);
931
- case "ConflictException":
932
- case "com.amazonaws.workspacesthinclient#ConflictException":
933
- throw await de_ConflictExceptionRes(parsedOutput);
934
- case "InternalServerException":
935
- case "com.amazonaws.workspacesthinclient#InternalServerException":
936
- throw await de_InternalServerExceptionRes(parsedOutput);
937
- case "ResourceNotFoundException":
938
- case "com.amazonaws.workspacesthinclient#ResourceNotFoundException":
939
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
940
- case "ServiceQuotaExceededException":
941
- case "com.amazonaws.workspacesthinclient#ServiceQuotaExceededException":
942
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
943
- case "ThrottlingException":
944
- case "com.amazonaws.workspacesthinclient#ThrottlingException":
945
- throw await de_ThrottlingExceptionRes(parsedOutput);
946
- case "ValidationException":
947
- case "com.amazonaws.workspacesthinclient#ValidationException":
948
- throw await de_ValidationExceptionRes(parsedOutput);
949
- default:
950
- const parsedBody = parsedOutput.body;
951
- return throwDefaultError({
952
- output,
953
- parsedBody,
954
- errorCode,
955
- });
956
- }
957
- };
958
- const throwDefaultError = smithyClient.withBaseException(WorkSpacesThinClientServiceException);
959
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
960
- const contents = smithyClient.map({});
961
- const data = parsedOutput.body;
962
- const doc = smithyClient.take(data, {
963
- message: smithyClient.expectString,
964
- });
965
- Object.assign(contents, doc);
966
- const exception = new AccessDeniedException({
967
- $metadata: deserializeMetadata(parsedOutput),
968
- ...contents,
969
- });
970
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
971
- };
972
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
973
- const contents = smithyClient.map({});
974
- const data = parsedOutput.body;
975
- const doc = smithyClient.take(data, {
976
- message: smithyClient.expectString,
977
- resourceId: smithyClient.expectString,
978
- resourceType: smithyClient.expectString,
979
- });
980
- Object.assign(contents, doc);
981
- const exception = new ConflictException({
982
- $metadata: deserializeMetadata(parsedOutput),
983
- ...contents,
984
- });
985
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
986
- };
987
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
988
- const contents = smithyClient.map({
989
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
990
- });
991
- const data = parsedOutput.body;
992
- const doc = smithyClient.take(data, {
993
- message: smithyClient.expectString,
994
- });
995
- Object.assign(contents, doc);
996
- const exception = new InternalServerException({
997
- $metadata: deserializeMetadata(parsedOutput),
998
- ...contents,
999
- });
1000
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1001
- };
1002
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1003
- const contents = smithyClient.map({});
1004
- const data = parsedOutput.body;
1005
- const doc = smithyClient.take(data, {
1006
- message: smithyClient.expectString,
1007
- resourceId: smithyClient.expectString,
1008
- resourceType: smithyClient.expectString,
1009
- });
1010
- Object.assign(contents, doc);
1011
- const exception = new ResourceNotFoundException({
1012
- $metadata: deserializeMetadata(parsedOutput),
1013
- ...contents,
1014
- });
1015
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1016
- };
1017
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1018
- const contents = smithyClient.map({});
1019
- const data = parsedOutput.body;
1020
- const doc = smithyClient.take(data, {
1021
- message: smithyClient.expectString,
1022
- quotaCode: smithyClient.expectString,
1023
- resourceId: smithyClient.expectString,
1024
- resourceType: smithyClient.expectString,
1025
- serviceCode: smithyClient.expectString,
1026
- });
1027
- Object.assign(contents, doc);
1028
- const exception = new ServiceQuotaExceededException({
1029
- $metadata: deserializeMetadata(parsedOutput),
1030
- ...contents,
1031
- });
1032
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1033
- };
1034
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1035
- const contents = smithyClient.map({
1036
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1037
- });
1038
- const data = parsedOutput.body;
1039
- const doc = smithyClient.take(data, {
1040
- message: smithyClient.expectString,
1041
- quotaCode: smithyClient.expectString,
1042
- serviceCode: smithyClient.expectString,
1043
- });
1044
- Object.assign(contents, doc);
1045
- const exception = new ThrottlingException({
1046
- $metadata: deserializeMetadata(parsedOutput),
1047
- ...contents,
1048
- });
1049
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1050
- };
1051
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1052
- const contents = smithyClient.map({});
1053
- const data = parsedOutput.body;
1054
- const doc = smithyClient.take(data, {
1055
- fieldList: smithyClient._json,
1056
- message: smithyClient.expectString,
1057
- reason: smithyClient.expectString,
1058
- });
1059
- Object.assign(contents, doc);
1060
- const exception = new ValidationException({
1061
- $metadata: deserializeMetadata(parsedOutput),
1062
- ...contents,
1063
- });
1064
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1065
- };
1066
- const de_Device = (output, context) => {
1067
- return smithyClient.take(output, {
1068
- arn: smithyClient.expectString,
1069
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1070
- currentSoftwareSetId: smithyClient.expectString,
1071
- currentSoftwareSetVersion: smithyClient.expectString,
1072
- desiredSoftwareSetId: smithyClient.expectString,
1073
- environmentId: smithyClient.expectString,
1074
- id: smithyClient.expectString,
1075
- kmsKeyArn: smithyClient.expectString,
1076
- lastConnectedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1077
- lastPostureAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1078
- lastUserId: smithyClient.expectString,
1079
- model: smithyClient.expectString,
1080
- name: smithyClient.expectString,
1081
- pendingSoftwareSetId: smithyClient.expectString,
1082
- pendingSoftwareSetVersion: smithyClient.expectString,
1083
- serialNumber: smithyClient.expectString,
1084
- softwareSetComplianceStatus: smithyClient.expectString,
1085
- softwareSetUpdateSchedule: smithyClient.expectString,
1086
- softwareSetUpdateStatus: smithyClient.expectString,
1087
- status: smithyClient.expectString,
1088
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1089
- });
1090
- };
1091
- const de_DeviceList = (output, context) => {
1092
- const retVal = (output || [])
1093
- .filter((e) => e != null)
1094
- .map((entry) => {
1095
- return de_DeviceSummary(entry);
1096
- });
1097
- return retVal;
1098
- };
1099
- const de_DeviceSummary = (output, context) => {
1100
- return smithyClient.take(output, {
1101
- arn: smithyClient.expectString,
1102
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1103
- currentSoftwareSetId: smithyClient.expectString,
1104
- desiredSoftwareSetId: smithyClient.expectString,
1105
- environmentId: smithyClient.expectString,
1106
- id: smithyClient.expectString,
1107
- lastConnectedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1108
- lastPostureAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1109
- lastUserId: smithyClient.expectString,
1110
- model: smithyClient.expectString,
1111
- name: smithyClient.expectString,
1112
- pendingSoftwareSetId: smithyClient.expectString,
1113
- serialNumber: smithyClient.expectString,
1114
- softwareSetUpdateSchedule: smithyClient.expectString,
1115
- status: smithyClient.expectString,
1116
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1117
- });
1118
- };
1119
- const de_Environment = (output, context) => {
1120
- return smithyClient.take(output, {
1121
- activationCode: smithyClient.expectString,
1122
- arn: smithyClient.expectString,
1123
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1124
- desiredSoftwareSetId: smithyClient.expectString,
1125
- desktopArn: smithyClient.expectString,
1126
- desktopEndpoint: smithyClient.expectString,
1127
- desktopType: smithyClient.expectString,
1128
- deviceCreationTags: smithyClient._json,
1129
- id: smithyClient.expectString,
1130
- kmsKeyArn: smithyClient.expectString,
1131
- maintenanceWindow: smithyClient._json,
1132
- name: smithyClient.expectString,
1133
- pendingSoftwareSetId: smithyClient.expectString,
1134
- pendingSoftwareSetVersion: smithyClient.expectString,
1135
- registeredDevicesCount: smithyClient.expectInt32,
1136
- softwareSetComplianceStatus: smithyClient.expectString,
1137
- softwareSetUpdateMode: smithyClient.expectString,
1138
- softwareSetUpdateSchedule: smithyClient.expectString,
1139
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1140
- });
1141
- };
1142
- const de_EnvironmentList = (output, context) => {
1143
- const retVal = (output || [])
1144
- .filter((e) => e != null)
1145
- .map((entry) => {
1146
- return de_EnvironmentSummary(entry);
1147
- });
1148
- return retVal;
1149
- };
1150
- const de_EnvironmentSummary = (output, context) => {
1151
- return smithyClient.take(output, {
1152
- activationCode: smithyClient.expectString,
1153
- arn: smithyClient.expectString,
1154
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1155
- desiredSoftwareSetId: smithyClient.expectString,
1156
- desktopArn: smithyClient.expectString,
1157
- desktopEndpoint: smithyClient.expectString,
1158
- desktopType: smithyClient.expectString,
1159
- id: smithyClient.expectString,
1160
- maintenanceWindow: smithyClient._json,
1161
- name: smithyClient.expectString,
1162
- pendingSoftwareSetId: smithyClient.expectString,
1163
- softwareSetUpdateMode: smithyClient.expectString,
1164
- softwareSetUpdateSchedule: smithyClient.expectString,
1165
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1166
- });
1167
- };
1168
- const de_SoftwareSet = (output, context) => {
1169
- return smithyClient.take(output, {
1170
- arn: smithyClient.expectString,
1171
- id: smithyClient.expectString,
1172
- releasedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1173
- software: smithyClient._json,
1174
- supportedUntil: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1175
- validationStatus: smithyClient.expectString,
1176
- version: smithyClient.expectString,
1177
- });
1178
- };
1179
- const de_SoftwareSetList = (output, context) => {
1180
- const retVal = (output || [])
1181
- .filter((e) => e != null)
1182
- .map((entry) => {
1183
- return de_SoftwareSetSummary(entry);
1184
- });
1185
- return retVal;
1186
- };
1187
- const de_SoftwareSetSummary = (output, context) => {
1188
- return smithyClient.take(output, {
1189
- arn: smithyClient.expectString,
1190
- id: smithyClient.expectString,
1191
- releasedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1192
- supportedUntil: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1193
- validationStatus: smithyClient.expectString,
1194
- version: smithyClient.expectString,
1195
- });
1196
- };
1197
- const deserializeMetadata = (output) => ({
1198
- httpStatusCode: output.statusCode,
1199
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1200
- extendedRequestId: output.headers["x-amz-id-2"],
1201
- cfId: output.headers["x-amz-cf-id"],
1202
- });
298
+ const _AC = "ActivationCode";
299
+ const _ADE = "AccessDeniedException";
300
+ const _CE = "ConflictException";
301
+ const _CER = "CreateEnvironmentRequest";
302
+ const _CERr = "CreateEnvironmentResponse";
303
+ const _CEr = "CreateEnvironment";
304
+ const _D = "Device";
305
+ const _DCTM = "DeviceCreationTagsMap";
306
+ const _DD = "DeleteDevice";
307
+ const _DDR = "DeleteDeviceRequest";
308
+ const _DDRe = "DeleteDeviceResponse";
309
+ const _DDRer = "DeregisterDeviceRequest";
310
+ const _DDRere = "DeregisterDeviceResponse";
311
+ const _DDe = "DeregisterDevice";
312
+ const _DE = "DesktopEndpoint";
313
+ const _DER = "DeleteEnvironmentRequest";
314
+ const _DERe = "DeleteEnvironmentResponse";
315
+ const _DEe = "DeleteEnvironment";
316
+ const _DL = "DeviceList";
317
+ const _DN = "DeviceName";
318
+ const _DS = "DeviceSummary";
319
+ const _E = "Environment";
320
+ const _EL = "EnvironmentList";
321
+ const _EN = "EnvironmentName";
322
+ const _ES = "EnvironmentSummary";
323
+ const _GD = "GetDevice";
324
+ const _GDR = "GetDeviceRequest";
325
+ const _GDRe = "GetDeviceResponse";
326
+ const _GE = "GetEnvironment";
327
+ const _GER = "GetEnvironmentRequest";
328
+ const _GERe = "GetEnvironmentResponse";
329
+ const _GSS = "GetSoftwareSet";
330
+ const _GSSR = "GetSoftwareSetRequest";
331
+ const _GSSRe = "GetSoftwareSetResponse";
332
+ const _ISE = "InternalServerException";
333
+ const _LD = "ListDevices";
334
+ const _LDR = "ListDevicesRequest";
335
+ const _LDRi = "ListDevicesResponse";
336
+ const _LE = "ListEnvironments";
337
+ const _LER = "ListEnvironmentsRequest";
338
+ const _LERi = "ListEnvironmentsResponse";
339
+ const _LSS = "ListSoftwareSets";
340
+ const _LSSR = "ListSoftwareSetsRequest";
341
+ const _LSSRi = "ListSoftwareSetsResponse";
342
+ const _LTFR = "ListTagsForResource";
343
+ const _LTFRR = "ListTagsForResourceRequest";
344
+ const _LTFRRi = "ListTagsForResourceResponse";
345
+ const _MW = "MaintenanceWindow";
346
+ const _RA = "Retry-After";
347
+ const _RNFE = "ResourceNotFoundException";
348
+ const _S = "Software";
349
+ const _SL = "SoftwareList";
350
+ const _SQEE = "ServiceQuotaExceededException";
351
+ const _SS = "SoftwareSet";
352
+ const _SSL = "SoftwareSetList";
353
+ const _SSS = "SoftwareSetSummary";
354
+ const _TE = "ThrottlingException";
355
+ const _TK = "TagKeys";
356
+ const _TM = "TagsMap";
357
+ const _TR = "TagResource";
358
+ const _TRR = "TagResourceRequest";
359
+ const _TRRa = "TagResourceResponse";
360
+ const _UD = "UpdateDevice";
361
+ const _UDR = "UpdateDeviceRequest";
362
+ const _UDRp = "UpdateDeviceResponse";
363
+ const _UE = "UpdateEnvironment";
364
+ const _UER = "UpdateEnvironmentRequest";
365
+ const _UERp = "UpdateEnvironmentResponse";
366
+ const _UI = "UserId";
367
+ const _UR = "UntagResource";
368
+ const _URR = "UntagResourceRequest";
369
+ const _URRn = "UntagResourceResponse";
370
+ const _USS = "UpdateSoftwareSet";
371
+ const _USSR = "UpdateSoftwareSetRequest";
372
+ const _USSRp = "UpdateSoftwareSetResponse";
373
+ const _VE = "ValidationException";
374
+ const _VEF = "ValidationExceptionField";
375
+ const _VEFL = "ValidationExceptionFieldList";
376
+ const _a = "arn";
377
+ const _aC = "activationCode";
378
+ const _aTO = "applyTimeOf";
379
+ const _c = "client";
380
+ const _cA = "createdAt";
381
+ const _cSSI = "currentSoftwareSetId";
382
+ const _cSSV = "currentSoftwareSetVersion";
1203
383
  const _cT = "clientToken";
384
+ const _d = "device";
385
+ const _dA = "desktopArn";
386
+ const _dCT = "deviceCreationTags";
387
+ const _dE = "desktopEndpoint";
388
+ const _dOTW = "daysOfTheWeek";
389
+ const _dSSI = "desiredSoftwareSetId";
390
+ const _dT = "desktopType";
391
+ const _de = "devices";
392
+ const _e = "error";
393
+ const _eI = "environmentId";
394
+ const _eTH = "endTimeHour";
395
+ const _eTM = "endTimeMinute";
396
+ const _en = "environment";
397
+ const _end = "endpoint";
398
+ const _env = "environments";
399
+ const _fL = "fieldList";
400
+ const _h = "http";
401
+ const _hE = "httpError";
402
+ const _hH = "httpHeader";
403
+ const _hQ = "httpQuery";
404
+ const _i = "id";
405
+ const _iT = "idempotencyToken";
406
+ const _kKA = "kmsKeyArn";
407
+ const _lCA = "lastConnectedAt";
408
+ const _lPA = "lastPostureAt";
409
+ const _lUI = "lastUserId";
410
+ const _m = "message";
1204
411
  const _mR = "maxResults";
412
+ const _mW = "maintenanceWindow";
413
+ const _mo = "model";
414
+ const _n = "name";
1205
415
  const _nT = "nextToken";
416
+ const _pSSI = "pendingSoftwareSetId";
417
+ const _pSSV = "pendingSoftwareSetVersion";
418
+ const _qC = "quotaCode";
419
+ const _r = "reason";
420
+ const _rA = "resourceArn";
1206
421
  const _rAS = "retryAfterSeconds";
1207
- const _ra = "retry-after";
422
+ const _rAe = "releasedAt";
423
+ const _rDC = "registeredDevicesCount";
424
+ const _rI = "resourceId";
425
+ const _rT = "resourceType";
426
+ const _s = "status";
427
+ const _sC = "serviceCode";
428
+ const _sN = "serialNumber";
429
+ const _sS = "softwareSet";
430
+ const _sSCS = "softwareSetComplianceStatus";
431
+ const _sSUM = "softwareSetUpdateMode";
432
+ const _sSUS = "softwareSetUpdateSchedule";
433
+ const _sSUSo = "softwareSetUpdateStatus";
434
+ const _sSo = "softwareSets";
435
+ const _sTH = "startTimeHour";
436
+ const _sTM = "startTimeMinute";
437
+ const _sU = "supportedUntil";
438
+ const _se = "server";
439
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.workspacesthinclient";
440
+ const _so = "software";
441
+ const _t = "tags";
442
+ const _tDS = "targetDeviceStatus";
1208
443
  const _tK = "tagKeys";
444
+ const _ty = "type";
445
+ const _uA = "updatedAt";
446
+ const _v = "version";
447
+ const _vS = "validationStatus";
448
+ const n0 = "com.amazonaws.workspacesthinclient";
449
+ var ActivationCode = [0, n0, _AC, 8, 0];
450
+ var DesktopEndpoint = [0, n0, _DE, 8, 0];
451
+ var DeviceName = [0, n0, _DN, 8, 0];
452
+ var EnvironmentName = [0, n0, _EN, 8, 0];
453
+ var UserId = [0, n0, _UI, 8, 0];
454
+ var AccessDeniedException = [
455
+ -3,
456
+ n0,
457
+ _ADE,
458
+ {
459
+ [_e]: _c,
460
+ [_hE]: 403,
461
+ },
462
+ [_m],
463
+ [0],
464
+ ];
465
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
466
+ var ConflictException = [
467
+ -3,
468
+ n0,
469
+ _CE,
470
+ {
471
+ [_e]: _c,
472
+ [_hE]: 409,
473
+ },
474
+ [_m, _rI, _rT],
475
+ [0, 0, 0],
476
+ ];
477
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
478
+ var CreateEnvironmentRequest = [
479
+ 3,
480
+ n0,
481
+ _CER,
482
+ 0,
483
+ [_n, _dA, _dE, _sSUS, _mW, _sSUM, _dSSI, _kKA, _cT, _t, _dCT],
484
+ [
485
+ [() => EnvironmentName, 0],
486
+ 0,
487
+ [() => DesktopEndpoint, 0],
488
+ 0,
489
+ () => MaintenanceWindow,
490
+ 0,
491
+ 0,
492
+ 0,
493
+ [0, 4],
494
+ [() => TagsMap, 0],
495
+ [() => DeviceCreationTagsMap, 0],
496
+ ],
497
+ ];
498
+ var CreateEnvironmentResponse = [3, n0, _CERr, 0, [_en], [[() => EnvironmentSummary, 0]]];
499
+ var DeleteDeviceRequest = [
500
+ 3,
501
+ n0,
502
+ _DDR,
503
+ 0,
504
+ [_i, _cT],
505
+ [
506
+ [0, 1],
507
+ [
508
+ 0,
509
+ {
510
+ [_iT]: 1,
511
+ [_hQ]: _cT,
512
+ },
513
+ ],
514
+ ],
515
+ ];
516
+ var DeleteDeviceResponse = [3, n0, _DDRe, 0, [], []];
517
+ var DeleteEnvironmentRequest = [
518
+ 3,
519
+ n0,
520
+ _DER,
521
+ 0,
522
+ [_i, _cT],
523
+ [
524
+ [0, 1],
525
+ [
526
+ 0,
527
+ {
528
+ [_iT]: 1,
529
+ [_hQ]: _cT,
530
+ },
531
+ ],
532
+ ],
533
+ ];
534
+ var DeleteEnvironmentResponse = [3, n0, _DERe, 0, [], []];
535
+ var DeregisterDeviceRequest = [3, n0, _DDRer, 0, [_i, _tDS, _cT], [[0, 1], 0, [0, 4]]];
536
+ var DeregisterDeviceResponse = [3, n0, _DDRere, 0, [], []];
537
+ var Device = [
538
+ 3,
539
+ n0,
540
+ _D,
541
+ 0,
542
+ [
543
+ _i,
544
+ _sN,
545
+ _n,
546
+ _mo,
547
+ _eI,
548
+ _s,
549
+ _cSSI,
550
+ _cSSV,
551
+ _dSSI,
552
+ _pSSI,
553
+ _pSSV,
554
+ _sSUS,
555
+ _sSCS,
556
+ _sSUSo,
557
+ _lCA,
558
+ _lPA,
559
+ _cA,
560
+ _uA,
561
+ _a,
562
+ _kKA,
563
+ _lUI,
564
+ ],
565
+ [0, 0, [() => DeviceName, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, 0, [() => UserId, 0]],
566
+ ];
567
+ var DeviceSummary = [
568
+ 3,
569
+ n0,
570
+ _DS,
571
+ 0,
572
+ [_i, _sN, _n, _mo, _eI, _s, _cSSI, _dSSI, _pSSI, _sSUS, _lCA, _lPA, _cA, _uA, _a, _lUI],
573
+ [0, 0, [() => DeviceName, 0], 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0, [() => UserId, 0]],
574
+ ];
575
+ var Environment = [
576
+ 3,
577
+ n0,
578
+ _E,
579
+ 0,
580
+ [_i, _n, _dA, _dE, _dT, _aC, _rDC, _sSUS, _mW, _sSUM, _dSSI, _pSSI, _pSSV, _sSCS, _cA, _uA, _a, _kKA, _dCT],
581
+ [
582
+ 0,
583
+ [() => EnvironmentName, 0],
584
+ 0,
585
+ [() => DesktopEndpoint, 0],
586
+ 0,
587
+ [() => ActivationCode, 0],
588
+ 1,
589
+ 0,
590
+ () => MaintenanceWindow,
591
+ 0,
592
+ 0,
593
+ 0,
594
+ 0,
595
+ 0,
596
+ 4,
597
+ 4,
598
+ 0,
599
+ 0,
600
+ [() => DeviceCreationTagsMap, 0],
601
+ ],
602
+ ];
603
+ var EnvironmentSummary = [
604
+ 3,
605
+ n0,
606
+ _ES,
607
+ 0,
608
+ [_i, _n, _dA, _dE, _dT, _aC, _sSUS, _mW, _sSUM, _dSSI, _pSSI, _cA, _uA, _a],
609
+ [
610
+ 0,
611
+ [() => EnvironmentName, 0],
612
+ 0,
613
+ [() => DesktopEndpoint, 0],
614
+ 0,
615
+ [() => ActivationCode, 0],
616
+ 0,
617
+ () => MaintenanceWindow,
618
+ 0,
619
+ 0,
620
+ 0,
621
+ 4,
622
+ 4,
623
+ 0,
624
+ ],
625
+ ];
626
+ var GetDeviceRequest = [3, n0, _GDR, 0, [_i], [[0, 1]]];
627
+ var GetDeviceResponse = [3, n0, _GDRe, 0, [_d], [[() => Device, 0]]];
628
+ var GetEnvironmentRequest = [3, n0, _GER, 0, [_i], [[0, 1]]];
629
+ var GetEnvironmentResponse = [3, n0, _GERe, 0, [_en], [[() => Environment, 0]]];
630
+ var GetSoftwareSetRequest = [3, n0, _GSSR, 0, [_i], [[0, 1]]];
631
+ var GetSoftwareSetResponse = [3, n0, _GSSRe, 0, [_sS], [() => SoftwareSet]];
632
+ var InternalServerException = [
633
+ -3,
634
+ n0,
635
+ _ISE,
636
+ {
637
+ [_e]: _se,
638
+ [_hE]: 500,
639
+ },
640
+ [_m, _rAS],
641
+ [
642
+ 0,
643
+ [
644
+ 1,
645
+ {
646
+ [_hH]: _RA,
647
+ },
648
+ ],
649
+ ],
650
+ ];
651
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
652
+ var ListDevicesRequest = [
653
+ 3,
654
+ n0,
655
+ _LDR,
656
+ 0,
657
+ [_nT, _mR],
658
+ [
659
+ [
660
+ 0,
661
+ {
662
+ [_hQ]: _nT,
663
+ },
664
+ ],
665
+ [
666
+ 1,
667
+ {
668
+ [_hQ]: _mR,
669
+ },
670
+ ],
671
+ ],
672
+ ];
673
+ var ListDevicesResponse = [3, n0, _LDRi, 0, [_de, _nT], [[() => DeviceList, 0], 0]];
674
+ var ListEnvironmentsRequest = [
675
+ 3,
676
+ n0,
677
+ _LER,
678
+ 0,
679
+ [_nT, _mR],
680
+ [
681
+ [
682
+ 0,
683
+ {
684
+ [_hQ]: _nT,
685
+ },
686
+ ],
687
+ [
688
+ 1,
689
+ {
690
+ [_hQ]: _mR,
691
+ },
692
+ ],
693
+ ],
694
+ ];
695
+ var ListEnvironmentsResponse = [
696
+ 3,
697
+ n0,
698
+ _LERi,
699
+ 0,
700
+ [_env, _nT],
701
+ [[() => EnvironmentList, 0], 0],
702
+ ];
703
+ var ListSoftwareSetsRequest = [
704
+ 3,
705
+ n0,
706
+ _LSSR,
707
+ 0,
708
+ [_nT, _mR],
709
+ [
710
+ [
711
+ 0,
712
+ {
713
+ [_hQ]: _nT,
714
+ },
715
+ ],
716
+ [
717
+ 1,
718
+ {
719
+ [_hQ]: _mR,
720
+ },
721
+ ],
722
+ ],
723
+ ];
724
+ var ListSoftwareSetsResponse = [
725
+ 3,
726
+ n0,
727
+ _LSSRi,
728
+ 0,
729
+ [_sSo, _nT],
730
+ [() => SoftwareSetList, 0],
731
+ ];
732
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
733
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [[() => TagsMap, 0]]];
734
+ var MaintenanceWindow = [
735
+ 3,
736
+ n0,
737
+ _MW,
738
+ 0,
739
+ [_ty, _sTH, _sTM, _eTH, _eTM, _dOTW, _aTO],
740
+ [0, 1, 1, 1, 1, 64 | 0, 0],
741
+ ];
742
+ var ResourceNotFoundException = [
743
+ -3,
744
+ n0,
745
+ _RNFE,
746
+ {
747
+ [_e]: _c,
748
+ [_hE]: 404,
749
+ },
750
+ [_m, _rI, _rT],
751
+ [0, 0, 0],
752
+ ];
753
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
754
+ var ServiceQuotaExceededException = [
755
+ -3,
756
+ n0,
757
+ _SQEE,
758
+ {
759
+ [_e]: _c,
760
+ [_hE]: 402,
761
+ },
762
+ [_m, _rI, _rT, _sC, _qC],
763
+ [0, 0, 0, 0, 0],
764
+ ];
765
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
766
+ var Software = [3, n0, _S, 0, [_n, _v], [0, 0]];
767
+ var SoftwareSet = [
768
+ 3,
769
+ n0,
770
+ _SS,
771
+ 0,
772
+ [_i, _v, _rAe, _sU, _vS, _so, _a],
773
+ [0, 0, 4, 4, 0, () => SoftwareList, 0],
774
+ ];
775
+ var SoftwareSetSummary = [
776
+ 3,
777
+ n0,
778
+ _SSS,
779
+ 0,
780
+ [_i, _v, _rAe, _sU, _vS, _a],
781
+ [0, 0, 4, 4, 0, 0],
782
+ ];
783
+ var TagResourceRequest = [
784
+ 3,
785
+ n0,
786
+ _TRR,
787
+ 0,
788
+ [_rA, _t],
789
+ [
790
+ [0, 1],
791
+ [() => TagsMap, 0],
792
+ ],
793
+ ];
794
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
795
+ var ThrottlingException = [
796
+ -3,
797
+ n0,
798
+ _TE,
799
+ {
800
+ [_e]: _c,
801
+ [_hE]: 429,
802
+ },
803
+ [_m, _sC, _qC, _rAS],
804
+ [
805
+ 0,
806
+ 0,
807
+ 0,
808
+ [
809
+ 1,
810
+ {
811
+ [_hH]: _RA,
812
+ },
813
+ ],
814
+ ],
815
+ ];
816
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
817
+ var UntagResourceRequest = [
818
+ 3,
819
+ n0,
820
+ _URR,
821
+ 0,
822
+ [_rA, _tK],
823
+ [
824
+ [0, 1],
825
+ [
826
+ () => TagKeys,
827
+ {
828
+ [_hQ]: _tK,
829
+ },
830
+ ],
831
+ ],
832
+ ];
833
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
834
+ var UpdateDeviceRequest = [
835
+ 3,
836
+ n0,
837
+ _UDR,
838
+ 0,
839
+ [_i, _n, _dSSI, _sSUS],
840
+ [[0, 1], [() => DeviceName, 0], 0, 0],
841
+ ];
842
+ var UpdateDeviceResponse = [3, n0, _UDRp, 0, [_d], [[() => DeviceSummary, 0]]];
843
+ var UpdateEnvironmentRequest = [
844
+ 3,
845
+ n0,
846
+ _UER,
847
+ 0,
848
+ [_i, _n, _dA, _dE, _sSUS, _mW, _sSUM, _dSSI, _dCT],
849
+ [
850
+ [0, 1],
851
+ [() => EnvironmentName, 0],
852
+ 0,
853
+ [() => DesktopEndpoint, 0],
854
+ 0,
855
+ () => MaintenanceWindow,
856
+ 0,
857
+ 0,
858
+ [() => DeviceCreationTagsMap, 0],
859
+ ],
860
+ ];
861
+ var UpdateEnvironmentResponse = [3, n0, _UERp, 0, [_en], [[() => EnvironmentSummary, 0]]];
862
+ var UpdateSoftwareSetRequest = [3, n0, _USSR, 0, [_i, _vS], [[0, 1], 0]];
863
+ var UpdateSoftwareSetResponse = [3, n0, _USSRp, 0, [], []];
864
+ var ValidationException = [
865
+ -3,
866
+ n0,
867
+ _VE,
868
+ {
869
+ [_e]: _c,
870
+ [_hE]: 400,
871
+ },
872
+ [_m, _r, _fL],
873
+ [0, 0, () => ValidationExceptionFieldList],
874
+ ];
875
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
876
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
877
+ var WorkSpacesThinClientServiceException = [
878
+ -3,
879
+ _sm,
880
+ "WorkSpacesThinClientServiceException",
881
+ 0,
882
+ [],
883
+ [],
884
+ ];
885
+ schema.TypeRegistry.for(_sm).registerError(WorkSpacesThinClientServiceException, WorkSpacesThinClientServiceException$1);
886
+ var DeviceList = [1, n0, _DL, 0, [() => DeviceSummary, 0]];
887
+ var EnvironmentList = [1, n0, _EL, 0, [() => EnvironmentSummary, 0]];
888
+ var SoftwareList = [1, n0, _SL, 0, () => Software];
889
+ var SoftwareSetList = [1, n0, _SSL, 0, () => SoftwareSetSummary];
890
+ var TagKeys = [1, n0, _TK, 8, 0];
891
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
892
+ var DeviceCreationTagsMap = [2, n0, _DCTM, 8, 0, 0];
893
+ var TagsMap = [2, n0, _TM, 8, 0, 0];
894
+ var CreateEnvironment = [
895
+ 9,
896
+ n0,
897
+ _CEr,
898
+ {
899
+ [_h]: ["POST", "/environments", 201],
900
+ [_end]: ["api."],
901
+ },
902
+ () => CreateEnvironmentRequest,
903
+ () => CreateEnvironmentResponse,
904
+ ];
905
+ var DeleteDevice = [
906
+ 9,
907
+ n0,
908
+ _DD,
909
+ {
910
+ [_h]: ["DELETE", "/devices/{id}", 204],
911
+ [_end]: ["api."],
912
+ },
913
+ () => DeleteDeviceRequest,
914
+ () => DeleteDeviceResponse,
915
+ ];
916
+ var DeleteEnvironment = [
917
+ 9,
918
+ n0,
919
+ _DEe,
920
+ {
921
+ [_h]: ["DELETE", "/environments/{id}", 204],
922
+ [_end]: ["api."],
923
+ },
924
+ () => DeleteEnvironmentRequest,
925
+ () => DeleteEnvironmentResponse,
926
+ ];
927
+ var DeregisterDevice = [
928
+ 9,
929
+ n0,
930
+ _DDe,
931
+ {
932
+ [_h]: ["POST", "/deregister-device/{id}", 202],
933
+ [_end]: ["api."],
934
+ },
935
+ () => DeregisterDeviceRequest,
936
+ () => DeregisterDeviceResponse,
937
+ ];
938
+ var GetDevice = [
939
+ 9,
940
+ n0,
941
+ _GD,
942
+ {
943
+ [_h]: ["GET", "/devices/{id}", 200],
944
+ [_end]: ["api."],
945
+ },
946
+ () => GetDeviceRequest,
947
+ () => GetDeviceResponse,
948
+ ];
949
+ var GetEnvironment = [
950
+ 9,
951
+ n0,
952
+ _GE,
953
+ {
954
+ [_h]: ["GET", "/environments/{id}", 200],
955
+ [_end]: ["api."],
956
+ },
957
+ () => GetEnvironmentRequest,
958
+ () => GetEnvironmentResponse,
959
+ ];
960
+ var GetSoftwareSet = [
961
+ 9,
962
+ n0,
963
+ _GSS,
964
+ {
965
+ [_h]: ["GET", "/softwaresets/{id}", 200],
966
+ [_end]: ["api."],
967
+ },
968
+ () => GetSoftwareSetRequest,
969
+ () => GetSoftwareSetResponse,
970
+ ];
971
+ var ListDevices = [
972
+ 9,
973
+ n0,
974
+ _LD,
975
+ {
976
+ [_h]: ["GET", "/devices", 200],
977
+ [_end]: ["api."],
978
+ },
979
+ () => ListDevicesRequest,
980
+ () => ListDevicesResponse,
981
+ ];
982
+ var ListEnvironments = [
983
+ 9,
984
+ n0,
985
+ _LE,
986
+ {
987
+ [_h]: ["GET", "/environments", 200],
988
+ [_end]: ["api."],
989
+ },
990
+ () => ListEnvironmentsRequest,
991
+ () => ListEnvironmentsResponse,
992
+ ];
993
+ var ListSoftwareSets = [
994
+ 9,
995
+ n0,
996
+ _LSS,
997
+ {
998
+ [_h]: ["GET", "/softwaresets", 200],
999
+ [_end]: ["api."],
1000
+ },
1001
+ () => ListSoftwareSetsRequest,
1002
+ () => ListSoftwareSetsResponse,
1003
+ ];
1004
+ var ListTagsForResource = [
1005
+ 9,
1006
+ n0,
1007
+ _LTFR,
1008
+ {
1009
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1010
+ [_end]: ["api."],
1011
+ },
1012
+ () => ListTagsForResourceRequest,
1013
+ () => ListTagsForResourceResponse,
1014
+ ];
1015
+ var TagResource = [
1016
+ 9,
1017
+ n0,
1018
+ _TR,
1019
+ {
1020
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
1021
+ [_end]: ["api."],
1022
+ },
1023
+ () => TagResourceRequest,
1024
+ () => TagResourceResponse,
1025
+ ];
1026
+ var UntagResource = [
1027
+ 9,
1028
+ n0,
1029
+ _UR,
1030
+ {
1031
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
1032
+ [_end]: ["api."],
1033
+ },
1034
+ () => UntagResourceRequest,
1035
+ () => UntagResourceResponse,
1036
+ ];
1037
+ var UpdateDevice = [
1038
+ 9,
1039
+ n0,
1040
+ _UD,
1041
+ {
1042
+ [_h]: ["PATCH", "/devices/{id}", 200],
1043
+ [_end]: ["api."],
1044
+ },
1045
+ () => UpdateDeviceRequest,
1046
+ () => UpdateDeviceResponse,
1047
+ ];
1048
+ var UpdateEnvironment = [
1049
+ 9,
1050
+ n0,
1051
+ _UE,
1052
+ {
1053
+ [_h]: ["PATCH", "/environments/{id}", 200],
1054
+ [_end]: ["api."],
1055
+ },
1056
+ () => UpdateEnvironmentRequest,
1057
+ () => UpdateEnvironmentResponse,
1058
+ ];
1059
+ var UpdateSoftwareSet = [
1060
+ 9,
1061
+ n0,
1062
+ _USS,
1063
+ {
1064
+ [_h]: ["PATCH", "/softwaresets/{id}", 204],
1065
+ [_end]: ["api."],
1066
+ },
1067
+ () => UpdateSoftwareSetRequest,
1068
+ () => UpdateSoftwareSetResponse,
1069
+ ];
1209
1070
 
1210
1071
  class CreateEnvironmentCommand extends smithyClient.Command
1211
1072
  .classBuilder()
1212
1073
  .ep(commonParams)
1213
1074
  .m(function (Command, cs, config, o) {
1214
- return [
1215
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1216
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1217
- ];
1075
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1218
1076
  })
1219
1077
  .s("ThinClient", "CreateEnvironment", {})
1220
1078
  .n("WorkSpacesThinClientClient", "CreateEnvironmentCommand")
1221
- .f(CreateEnvironmentRequestFilterSensitiveLog, CreateEnvironmentResponseFilterSensitiveLog)
1222
- .ser(se_CreateEnvironmentCommand)
1223
- .de(de_CreateEnvironmentCommand)
1079
+ .sc(CreateEnvironment)
1224
1080
  .build() {
1225
1081
  }
1226
1082
 
@@ -1228,16 +1084,11 @@ class DeleteDeviceCommand extends smithyClient.Command
1228
1084
  .classBuilder()
1229
1085
  .ep(commonParams)
1230
1086
  .m(function (Command, cs, config, o) {
1231
- return [
1232
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1233
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1234
- ];
1087
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1235
1088
  })
1236
1089
  .s("ThinClient", "DeleteDevice", {})
1237
1090
  .n("WorkSpacesThinClientClient", "DeleteDeviceCommand")
1238
- .f(void 0, void 0)
1239
- .ser(se_DeleteDeviceCommand)
1240
- .de(de_DeleteDeviceCommand)
1091
+ .sc(DeleteDevice)
1241
1092
  .build() {
1242
1093
  }
1243
1094
 
@@ -1245,16 +1096,11 @@ class DeleteEnvironmentCommand extends smithyClient.Command
1245
1096
  .classBuilder()
1246
1097
  .ep(commonParams)
1247
1098
  .m(function (Command, cs, config, o) {
1248
- return [
1249
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1250
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1251
- ];
1099
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1252
1100
  })
1253
1101
  .s("ThinClient", "DeleteEnvironment", {})
1254
1102
  .n("WorkSpacesThinClientClient", "DeleteEnvironmentCommand")
1255
- .f(void 0, void 0)
1256
- .ser(se_DeleteEnvironmentCommand)
1257
- .de(de_DeleteEnvironmentCommand)
1103
+ .sc(DeleteEnvironment)
1258
1104
  .build() {
1259
1105
  }
1260
1106
 
@@ -1262,16 +1108,11 @@ class DeregisterDeviceCommand extends smithyClient.Command
1262
1108
  .classBuilder()
1263
1109
  .ep(commonParams)
1264
1110
  .m(function (Command, cs, config, o) {
1265
- return [
1266
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1267
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1268
- ];
1111
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1269
1112
  })
1270
1113
  .s("ThinClient", "DeregisterDevice", {})
1271
1114
  .n("WorkSpacesThinClientClient", "DeregisterDeviceCommand")
1272
- .f(void 0, void 0)
1273
- .ser(se_DeregisterDeviceCommand)
1274
- .de(de_DeregisterDeviceCommand)
1115
+ .sc(DeregisterDevice)
1275
1116
  .build() {
1276
1117
  }
1277
1118
 
@@ -1279,16 +1120,11 @@ class GetDeviceCommand extends smithyClient.Command
1279
1120
  .classBuilder()
1280
1121
  .ep(commonParams)
1281
1122
  .m(function (Command, cs, config, o) {
1282
- return [
1283
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1284
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1285
- ];
1123
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1286
1124
  })
1287
1125
  .s("ThinClient", "GetDevice", {})
1288
1126
  .n("WorkSpacesThinClientClient", "GetDeviceCommand")
1289
- .f(void 0, GetDeviceResponseFilterSensitiveLog)
1290
- .ser(se_GetDeviceCommand)
1291
- .de(de_GetDeviceCommand)
1127
+ .sc(GetDevice)
1292
1128
  .build() {
1293
1129
  }
1294
1130
 
@@ -1296,16 +1132,11 @@ class GetEnvironmentCommand extends smithyClient.Command
1296
1132
  .classBuilder()
1297
1133
  .ep(commonParams)
1298
1134
  .m(function (Command, cs, config, o) {
1299
- return [
1300
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1301
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1302
- ];
1135
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1303
1136
  })
1304
1137
  .s("ThinClient", "GetEnvironment", {})
1305
1138
  .n("WorkSpacesThinClientClient", "GetEnvironmentCommand")
1306
- .f(void 0, GetEnvironmentResponseFilterSensitiveLog)
1307
- .ser(se_GetEnvironmentCommand)
1308
- .de(de_GetEnvironmentCommand)
1139
+ .sc(GetEnvironment)
1309
1140
  .build() {
1310
1141
  }
1311
1142
 
@@ -1313,16 +1144,11 @@ class GetSoftwareSetCommand extends smithyClient.Command
1313
1144
  .classBuilder()
1314
1145
  .ep(commonParams)
1315
1146
  .m(function (Command, cs, config, o) {
1316
- return [
1317
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1318
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1319
- ];
1147
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1320
1148
  })
1321
1149
  .s("ThinClient", "GetSoftwareSet", {})
1322
1150
  .n("WorkSpacesThinClientClient", "GetSoftwareSetCommand")
1323
- .f(void 0, void 0)
1324
- .ser(se_GetSoftwareSetCommand)
1325
- .de(de_GetSoftwareSetCommand)
1151
+ .sc(GetSoftwareSet)
1326
1152
  .build() {
1327
1153
  }
1328
1154
 
@@ -1330,16 +1156,11 @@ class ListDevicesCommand extends smithyClient.Command
1330
1156
  .classBuilder()
1331
1157
  .ep(commonParams)
1332
1158
  .m(function (Command, cs, config, o) {
1333
- return [
1334
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1335
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1336
- ];
1159
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1337
1160
  })
1338
1161
  .s("ThinClient", "ListDevices", {})
1339
1162
  .n("WorkSpacesThinClientClient", "ListDevicesCommand")
1340
- .f(void 0, ListDevicesResponseFilterSensitiveLog)
1341
- .ser(se_ListDevicesCommand)
1342
- .de(de_ListDevicesCommand)
1163
+ .sc(ListDevices)
1343
1164
  .build() {
1344
1165
  }
1345
1166
 
@@ -1347,16 +1168,11 @@ class ListEnvironmentsCommand extends smithyClient.Command
1347
1168
  .classBuilder()
1348
1169
  .ep(commonParams)
1349
1170
  .m(function (Command, cs, config, o) {
1350
- return [
1351
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1352
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1353
- ];
1171
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1354
1172
  })
1355
1173
  .s("ThinClient", "ListEnvironments", {})
1356
1174
  .n("WorkSpacesThinClientClient", "ListEnvironmentsCommand")
1357
- .f(void 0, ListEnvironmentsResponseFilterSensitiveLog)
1358
- .ser(se_ListEnvironmentsCommand)
1359
- .de(de_ListEnvironmentsCommand)
1175
+ .sc(ListEnvironments)
1360
1176
  .build() {
1361
1177
  }
1362
1178
 
@@ -1364,16 +1180,11 @@ class ListSoftwareSetsCommand extends smithyClient.Command
1364
1180
  .classBuilder()
1365
1181
  .ep(commonParams)
1366
1182
  .m(function (Command, cs, config, o) {
1367
- return [
1368
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1369
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1370
- ];
1183
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1371
1184
  })
1372
1185
  .s("ThinClient", "ListSoftwareSets", {})
1373
1186
  .n("WorkSpacesThinClientClient", "ListSoftwareSetsCommand")
1374
- .f(void 0, void 0)
1375
- .ser(se_ListSoftwareSetsCommand)
1376
- .de(de_ListSoftwareSetsCommand)
1187
+ .sc(ListSoftwareSets)
1377
1188
  .build() {
1378
1189
  }
1379
1190
 
@@ -1381,16 +1192,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1381
1192
  .classBuilder()
1382
1193
  .ep(commonParams)
1383
1194
  .m(function (Command, cs, config, o) {
1384
- return [
1385
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1386
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1387
- ];
1195
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1388
1196
  })
1389
1197
  .s("ThinClient", "ListTagsForResource", {})
1390
1198
  .n("WorkSpacesThinClientClient", "ListTagsForResourceCommand")
1391
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
1392
- .ser(se_ListTagsForResourceCommand)
1393
- .de(de_ListTagsForResourceCommand)
1199
+ .sc(ListTagsForResource)
1394
1200
  .build() {
1395
1201
  }
1396
1202
 
@@ -1398,16 +1204,11 @@ class TagResourceCommand extends smithyClient.Command
1398
1204
  .classBuilder()
1399
1205
  .ep(commonParams)
1400
1206
  .m(function (Command, cs, config, o) {
1401
- return [
1402
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1403
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1404
- ];
1207
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1405
1208
  })
1406
1209
  .s("ThinClient", "TagResource", {})
1407
1210
  .n("WorkSpacesThinClientClient", "TagResourceCommand")
1408
- .f(TagResourceRequestFilterSensitiveLog, void 0)
1409
- .ser(se_TagResourceCommand)
1410
- .de(de_TagResourceCommand)
1211
+ .sc(TagResource)
1411
1212
  .build() {
1412
1213
  }
1413
1214
 
@@ -1415,16 +1216,11 @@ class UntagResourceCommand extends smithyClient.Command
1415
1216
  .classBuilder()
1416
1217
  .ep(commonParams)
1417
1218
  .m(function (Command, cs, config, o) {
1418
- return [
1419
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1420
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1421
- ];
1219
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1422
1220
  })
1423
1221
  .s("ThinClient", "UntagResource", {})
1424
1222
  .n("WorkSpacesThinClientClient", "UntagResourceCommand")
1425
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
1426
- .ser(se_UntagResourceCommand)
1427
- .de(de_UntagResourceCommand)
1223
+ .sc(UntagResource)
1428
1224
  .build() {
1429
1225
  }
1430
1226
 
@@ -1432,16 +1228,11 @@ class UpdateDeviceCommand extends smithyClient.Command
1432
1228
  .classBuilder()
1433
1229
  .ep(commonParams)
1434
1230
  .m(function (Command, cs, config, o) {
1435
- return [
1436
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1437
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1438
- ];
1231
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
1232
  })
1440
1233
  .s("ThinClient", "UpdateDevice", {})
1441
1234
  .n("WorkSpacesThinClientClient", "UpdateDeviceCommand")
1442
- .f(UpdateDeviceRequestFilterSensitiveLog, UpdateDeviceResponseFilterSensitiveLog)
1443
- .ser(se_UpdateDeviceCommand)
1444
- .de(de_UpdateDeviceCommand)
1235
+ .sc(UpdateDevice)
1445
1236
  .build() {
1446
1237
  }
1447
1238
 
@@ -1449,16 +1240,11 @@ class UpdateEnvironmentCommand extends smithyClient.Command
1449
1240
  .classBuilder()
1450
1241
  .ep(commonParams)
1451
1242
  .m(function (Command, cs, config, o) {
1452
- return [
1453
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1454
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1455
- ];
1243
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1456
1244
  })
1457
1245
  .s("ThinClient", "UpdateEnvironment", {})
1458
1246
  .n("WorkSpacesThinClientClient", "UpdateEnvironmentCommand")
1459
- .f(UpdateEnvironmentRequestFilterSensitiveLog, UpdateEnvironmentResponseFilterSensitiveLog)
1460
- .ser(se_UpdateEnvironmentCommand)
1461
- .de(de_UpdateEnvironmentCommand)
1247
+ .sc(UpdateEnvironment)
1462
1248
  .build() {
1463
1249
  }
1464
1250
 
@@ -1466,16 +1252,11 @@ class UpdateSoftwareSetCommand extends smithyClient.Command
1466
1252
  .classBuilder()
1467
1253
  .ep(commonParams)
1468
1254
  .m(function (Command, cs, config, o) {
1469
- return [
1470
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1471
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1472
- ];
1255
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
1256
  })
1474
1257
  .s("ThinClient", "UpdateSoftwareSet", {})
1475
1258
  .n("WorkSpacesThinClientClient", "UpdateSoftwareSetCommand")
1476
- .f(void 0, void 0)
1477
- .ser(se_UpdateSoftwareSetCommand)
1478
- .de(de_UpdateSoftwareSetCommand)
1259
+ .sc(UpdateSoftwareSet)
1479
1260
  .build() {
1480
1261
  }
1481
1262
 
@@ -1517,63 +1298,46 @@ Object.defineProperty(exports, "__Client", {
1517
1298
  enumerable: true,
1518
1299
  get: function () { return smithyClient.Client; }
1519
1300
  });
1520
- exports.AccessDeniedException = AccessDeniedException;
1301
+ exports.AccessDeniedException = AccessDeniedException$1;
1521
1302
  exports.ApplyTimeOf = ApplyTimeOf;
1522
- exports.ConflictException = ConflictException;
1303
+ exports.ConflictException = ConflictException$1;
1523
1304
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
1524
- exports.CreateEnvironmentRequestFilterSensitiveLog = CreateEnvironmentRequestFilterSensitiveLog;
1525
- exports.CreateEnvironmentResponseFilterSensitiveLog = CreateEnvironmentResponseFilterSensitiveLog;
1526
1305
  exports.DayOfWeek = DayOfWeek;
1527
1306
  exports.DeleteDeviceCommand = DeleteDeviceCommand;
1528
1307
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1529
1308
  exports.DeregisterDeviceCommand = DeregisterDeviceCommand;
1530
1309
  exports.DesktopType = DesktopType;
1531
- exports.DeviceFilterSensitiveLog = DeviceFilterSensitiveLog;
1532
1310
  exports.DeviceSoftwareSetComplianceStatus = DeviceSoftwareSetComplianceStatus;
1533
1311
  exports.DeviceStatus = DeviceStatus;
1534
- exports.DeviceSummaryFilterSensitiveLog = DeviceSummaryFilterSensitiveLog;
1535
- exports.EnvironmentFilterSensitiveLog = EnvironmentFilterSensitiveLog;
1536
1312
  exports.EnvironmentSoftwareSetComplianceStatus = EnvironmentSoftwareSetComplianceStatus;
1537
- exports.EnvironmentSummaryFilterSensitiveLog = EnvironmentSummaryFilterSensitiveLog;
1538
1313
  exports.GetDeviceCommand = GetDeviceCommand;
1539
- exports.GetDeviceResponseFilterSensitiveLog = GetDeviceResponseFilterSensitiveLog;
1540
1314
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
1541
- exports.GetEnvironmentResponseFilterSensitiveLog = GetEnvironmentResponseFilterSensitiveLog;
1542
1315
  exports.GetSoftwareSetCommand = GetSoftwareSetCommand;
1543
- exports.InternalServerException = InternalServerException;
1316
+ exports.InternalServerException = InternalServerException$1;
1544
1317
  exports.ListDevicesCommand = ListDevicesCommand;
1545
- exports.ListDevicesResponseFilterSensitiveLog = ListDevicesResponseFilterSensitiveLog;
1546
1318
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
1547
- exports.ListEnvironmentsResponseFilterSensitiveLog = ListEnvironmentsResponseFilterSensitiveLog;
1548
1319
  exports.ListSoftwareSetsCommand = ListSoftwareSetsCommand;
1549
1320
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1550
- exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
1551
1321
  exports.MaintenanceWindowType = MaintenanceWindowType;
1552
- exports.ResourceNotFoundException = ResourceNotFoundException;
1553
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1322
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1323
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1554
1324
  exports.SoftwareSetUpdateMode = SoftwareSetUpdateMode;
1555
1325
  exports.SoftwareSetUpdateSchedule = SoftwareSetUpdateSchedule;
1556
1326
  exports.SoftwareSetUpdateStatus = SoftwareSetUpdateStatus;
1557
1327
  exports.SoftwareSetValidationStatus = SoftwareSetValidationStatus;
1558
1328
  exports.TagResourceCommand = TagResourceCommand;
1559
- exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
1560
1329
  exports.TargetDeviceStatus = TargetDeviceStatus;
1561
- exports.ThrottlingException = ThrottlingException;
1330
+ exports.ThrottlingException = ThrottlingException$1;
1562
1331
  exports.UntagResourceCommand = UntagResourceCommand;
1563
- exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
1564
1332
  exports.UpdateDeviceCommand = UpdateDeviceCommand;
1565
- exports.UpdateDeviceRequestFilterSensitiveLog = UpdateDeviceRequestFilterSensitiveLog;
1566
- exports.UpdateDeviceResponseFilterSensitiveLog = UpdateDeviceResponseFilterSensitiveLog;
1567
1333
  exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
1568
- exports.UpdateEnvironmentRequestFilterSensitiveLog = UpdateEnvironmentRequestFilterSensitiveLog;
1569
- exports.UpdateEnvironmentResponseFilterSensitiveLog = UpdateEnvironmentResponseFilterSensitiveLog;
1570
1334
  exports.UpdateSoftwareSetCommand = UpdateSoftwareSetCommand;
1571
- exports.ValidationException = ValidationException;
1335
+ exports.ValidationException = ValidationException$1;
1572
1336
  exports.ValidationExceptionReason = ValidationExceptionReason;
1573
1337
  exports.WorkSpacesThin = WorkSpacesThin;
1574
1338
  exports.WorkSpacesThinClient = WorkSpacesThinClient;
1575
1339
  exports.WorkSpacesThinClientClient = WorkSpacesThinClientClient;
1576
- exports.WorkSpacesThinClientServiceException = WorkSpacesThinClientServiceException;
1340
+ exports.WorkSpacesThinClientServiceException = WorkSpacesThinClientServiceException$1;
1577
1341
  exports.paginateListDevices = paginateListDevices;
1578
1342
  exports.paginateListEnvironments = paginateListEnvironments;
1579
1343
  exports.paginateListSoftwareSets = paginateListSoftwareSets;