@aws-sdk/client-qapps 3.928.0 → 3.930.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 (59) hide show
  1. package/dist-cjs/index.js +1792 -1928
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/QAppsClient.js +2 -0
  4. package/dist-es/commands/AssociateLibraryItemReviewCommand.js +3 -9
  5. package/dist-es/commands/AssociateQAppWithUserCommand.js +3 -9
  6. package/dist-es/commands/BatchCreateCategoryCommand.js +3 -9
  7. package/dist-es/commands/BatchDeleteCategoryCommand.js +3 -9
  8. package/dist-es/commands/BatchUpdateCategoryCommand.js +3 -9
  9. package/dist-es/commands/CreateLibraryItemCommand.js +3 -9
  10. package/dist-es/commands/CreatePresignedUrlCommand.js +3 -9
  11. package/dist-es/commands/CreateQAppCommand.js +3 -9
  12. package/dist-es/commands/DeleteLibraryItemCommand.js +3 -9
  13. package/dist-es/commands/DeleteQAppCommand.js +3 -9
  14. package/dist-es/commands/DescribeQAppPermissionsCommand.js +3 -9
  15. package/dist-es/commands/DisassociateLibraryItemReviewCommand.js +3 -9
  16. package/dist-es/commands/DisassociateQAppFromUserCommand.js +3 -9
  17. package/dist-es/commands/ExportQAppSessionDataCommand.js +3 -9
  18. package/dist-es/commands/GetLibraryItemCommand.js +3 -9
  19. package/dist-es/commands/GetQAppCommand.js +3 -9
  20. package/dist-es/commands/GetQAppSessionCommand.js +3 -9
  21. package/dist-es/commands/GetQAppSessionMetadataCommand.js +3 -9
  22. package/dist-es/commands/ImportDocumentCommand.js +3 -9
  23. package/dist-es/commands/ListCategoriesCommand.js +3 -9
  24. package/dist-es/commands/ListLibraryItemsCommand.js +3 -9
  25. package/dist-es/commands/ListQAppSessionDataCommand.js +3 -9
  26. package/dist-es/commands/ListQAppsCommand.js +3 -9
  27. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  28. package/dist-es/commands/PredictQAppCommand.js +3 -9
  29. package/dist-es/commands/StartQAppSessionCommand.js +3 -9
  30. package/dist-es/commands/StopQAppSessionCommand.js +3 -9
  31. package/dist-es/commands/TagResourceCommand.js +3 -9
  32. package/dist-es/commands/UntagResourceCommand.js +3 -9
  33. package/dist-es/commands/UpdateLibraryItemCommand.js +3 -9
  34. package/dist-es/commands/UpdateLibraryItemMetadataCommand.js +3 -9
  35. package/dist-es/commands/UpdateQAppCommand.js +3 -9
  36. package/dist-es/commands/UpdateQAppPermissionsCommand.js +3 -9
  37. package/dist-es/commands/UpdateQAppSessionCommand.js +3 -9
  38. package/dist-es/commands/UpdateQAppSessionMetadataCommand.js +3 -9
  39. package/dist-es/models/models_0.js +0 -56
  40. package/dist-es/runtimeConfig.shared.js +2 -0
  41. package/dist-es/schemas/schemas_0.js +1713 -0
  42. package/dist-types/QAppsClient.d.ts +10 -1
  43. package/dist-types/models/models_0.d.ts +16 -4
  44. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  45. package/dist-types/runtimeConfig.d.ts +1 -0
  46. package/dist-types/runtimeConfig.native.d.ts +1 -0
  47. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  48. package/dist-types/schemas/schemas_0.d.ts +168 -0
  49. package/dist-types/ts3.4/QAppsClient.d.ts +4 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +0 -4
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  55. package/dist-types/ts3.4/schemas/schemas_0.d.ts +174 -0
  56. package/package.json +33 -33
  57. package/dist-es/protocols/Aws_restJson1.js +0 -1611
  58. package/dist-types/protocols/Aws_restJson1.d.ts +0 -317
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -425
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,8 +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
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class QAppsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class QAppsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class QAppsServiceException extends smithyClient.ServiceException {
113
+ let QAppsServiceException$1 = class QAppsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, QAppsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends QAppsServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends QAppsServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,7 +128,7 @@ class AccessDeniedException extends QAppsServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
131
+ };
132
132
  const Action = {
133
133
  READ: "read",
134
134
  WRITE: "write",
@@ -162,20 +162,6 @@ const PluginType = {
162
162
  ZENDESK: "ZENDESK",
163
163
  ZENDESK_SUITE: "ZENDESK_SUITE",
164
164
  };
165
- exports.DocumentAttributeValue = void 0;
166
- (function (DocumentAttributeValue) {
167
- DocumentAttributeValue.visit = (value, visitor) => {
168
- if (value.stringValue !== undefined)
169
- return visitor.stringValue(value.stringValue);
170
- if (value.stringListValue !== undefined)
171
- return visitor.stringListValue(value.stringListValue);
172
- if (value.longValue !== undefined)
173
- return visitor.longValue(value.longValue);
174
- if (value.dateValue !== undefined)
175
- return visitor.dateValue(value.dateValue);
176
- return visitor._(value.$unknown[0], value.$unknown[1]);
177
- };
178
- })(exports.DocumentAttributeValue || (exports.DocumentAttributeValue = {}));
179
165
  const CardOutputSource = {
180
166
  APPROVED_SOURCES: "approved-sources",
181
167
  LLM: "llm",
@@ -191,7 +177,7 @@ const AppStatus = {
191
177
  DRAFT: "DRAFT",
192
178
  PUBLISHED: "PUBLISHED",
193
179
  };
194
- class ConflictException extends QAppsServiceException {
180
+ let ConflictException$1 = class ConflictException extends QAppsServiceException$1 {
195
181
  name = "ConflictException";
196
182
  $fault = "client";
197
183
  resourceId;
@@ -206,8 +192,8 @@ class ConflictException extends QAppsServiceException {
206
192
  this.resourceId = opts.resourceId;
207
193
  this.resourceType = opts.resourceType;
208
194
  }
209
- }
210
- class InternalServerException extends QAppsServiceException {
195
+ };
196
+ let InternalServerException$1 = class InternalServerException extends QAppsServiceException$1 {
211
197
  name = "InternalServerException";
212
198
  $fault = "server";
213
199
  $retryable = {};
@@ -221,8 +207,8 @@ class InternalServerException extends QAppsServiceException {
221
207
  Object.setPrototypeOf(this, InternalServerException.prototype);
222
208
  this.retryAfterSeconds = opts.retryAfterSeconds;
223
209
  }
224
- }
225
- class ResourceNotFoundException extends QAppsServiceException {
210
+ };
211
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends QAppsServiceException$1 {
226
212
  name = "ResourceNotFoundException";
227
213
  $fault = "client";
228
214
  resourceId;
@@ -237,8 +223,8 @@ class ResourceNotFoundException extends QAppsServiceException {
237
223
  this.resourceId = opts.resourceId;
238
224
  this.resourceType = opts.resourceType;
239
225
  }
240
- }
241
- class ServiceQuotaExceededException extends QAppsServiceException {
226
+ };
227
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends QAppsServiceException$1 {
242
228
  name = "ServiceQuotaExceededException";
243
229
  $fault = "client";
244
230
  resourceId;
@@ -257,8 +243,8 @@ class ServiceQuotaExceededException extends QAppsServiceException {
257
243
  this.serviceCode = opts.serviceCode;
258
244
  this.quotaCode = opts.quotaCode;
259
245
  }
260
- }
261
- class ThrottlingException extends QAppsServiceException {
246
+ };
247
+ let ThrottlingException$1 = class ThrottlingException extends QAppsServiceException$1 {
262
248
  name = "ThrottlingException";
263
249
  $fault = "client";
264
250
  $retryable = {
@@ -278,8 +264,8 @@ class ThrottlingException extends QAppsServiceException {
278
264
  this.quotaCode = opts.quotaCode;
279
265
  this.retryAfterSeconds = opts.retryAfterSeconds;
280
266
  }
281
- }
282
- class UnauthorizedException extends QAppsServiceException {
267
+ };
268
+ let UnauthorizedException$1 = class UnauthorizedException extends QAppsServiceException$1 {
283
269
  name = "UnauthorizedException";
284
270
  $fault = "client";
285
271
  constructor(opts) {
@@ -290,8 +276,8 @@ class UnauthorizedException extends QAppsServiceException {
290
276
  });
291
277
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
292
278
  }
293
- }
294
- class ValidationException extends QAppsServiceException {
279
+ };
280
+ let ValidationException$1 = class ValidationException extends QAppsServiceException$1 {
295
281
  name = "ValidationException";
296
282
  $fault = "client";
297
283
  constructor(opts) {
@@ -302,7 +288,7 @@ class ValidationException extends QAppsServiceException {
302
288
  });
303
289
  Object.setPrototypeOf(this, ValidationException.prototype);
304
290
  }
305
- }
291
+ };
306
292
  const ExecutionStatus = {
307
293
  COMPLETED: "COMPLETED",
308
294
  ERROR: "ERROR",
@@ -314,7 +300,7 @@ const SubmissionMutationKind = {
314
300
  delete: "delete",
315
301
  edit: "edit",
316
302
  };
317
- class ContentTooLargeException extends QAppsServiceException {
303
+ let ContentTooLargeException$1 = class ContentTooLargeException extends QAppsServiceException$1 {
318
304
  name = "ContentTooLargeException";
319
305
  $fault = "client";
320
306
  resourceId;
@@ -329,7 +315,7 @@ class ContentTooLargeException extends QAppsServiceException {
329
315
  this.resourceId = opts.resourceId;
330
316
  this.resourceType = opts.resourceType;
331
317
  }
332
- }
318
+ };
333
319
  const Sender = {
334
320
  SYSTEM: "SYSTEM",
335
321
  USER: "USER",
@@ -346,1669 +332,1717 @@ const LibraryItemStatus = {
346
332
  DISABLED: "DISABLED",
347
333
  PUBLISHED: "PUBLISHED",
348
334
  };
349
- exports.PredictQAppInputOptions = void 0;
350
- (function (PredictQAppInputOptions) {
351
- PredictQAppInputOptions.visit = (value, visitor) => {
352
- if (value.conversation !== undefined)
353
- return visitor.conversation(value.conversation);
354
- if (value.problemStatement !== undefined)
355
- return visitor.problemStatement(value.problemStatement);
356
- return visitor._(value.$unknown[0], value.$unknown[1]);
357
- };
358
- })(exports.PredictQAppInputOptions || (exports.PredictQAppInputOptions = {}));
359
- exports.Card = void 0;
360
- (function (Card) {
361
- Card.visit = (value, visitor) => {
362
- if (value.textInput !== undefined)
363
- return visitor.textInput(value.textInput);
364
- if (value.qQuery !== undefined)
365
- return visitor.qQuery(value.qQuery);
366
- if (value.qPlugin !== undefined)
367
- return visitor.qPlugin(value.qPlugin);
368
- if (value.fileUpload !== undefined)
369
- return visitor.fileUpload(value.fileUpload);
370
- if (value.formInput !== undefined)
371
- return visitor.formInput(value.formInput);
372
- return visitor._(value.$unknown[0], value.$unknown[1]);
373
- };
374
- })(exports.Card || (exports.Card = {}));
375
- exports.CardInput = void 0;
376
- (function (CardInput) {
377
- CardInput.visit = (value, visitor) => {
378
- if (value.textInput !== undefined)
379
- return visitor.textInput(value.textInput);
380
- if (value.qQuery !== undefined)
381
- return visitor.qQuery(value.qQuery);
382
- if (value.qPlugin !== undefined)
383
- return visitor.qPlugin(value.qPlugin);
384
- if (value.fileUpload !== undefined)
385
- return visitor.fileUpload(value.fileUpload);
386
- if (value.formInput !== undefined)
387
- return visitor.formInput(value.formInput);
388
- return visitor._(value.$unknown[0], value.$unknown[1]);
389
- };
390
- })(exports.CardInput || (exports.CardInput = {}));
391
335
 
392
- const se_AssociateLibraryItemReviewCommand = async (input, context) => {
393
- const b = core.requestBuilder(input, context);
394
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
395
- "content-type": "application/json",
396
- [_ii]: input[_iI],
397
- });
398
- b.bp("/catalog.associateItemRating");
399
- let body;
400
- body = JSON.stringify(smithyClient.take(input, {
401
- libraryItemId: [],
402
- }));
403
- b.m("POST").h(headers).b(body);
404
- return b.build();
405
- };
406
- const se_AssociateQAppWithUserCommand = async (input, context) => {
407
- const b = core.requestBuilder(input, context);
408
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
409
- "content-type": "application/json",
410
- [_ii]: input[_iI],
411
- });
412
- b.bp("/apps.install");
413
- let body;
414
- body = JSON.stringify(smithyClient.take(input, {
415
- appId: [],
416
- }));
417
- b.m("POST").h(headers).b(body);
418
- return b.build();
419
- };
420
- const se_BatchCreateCategoryCommand = async (input, context) => {
421
- const b = core.requestBuilder(input, context);
422
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
423
- "content-type": "application/json",
424
- [_ii]: input[_iI],
425
- });
426
- b.bp("/catalog.createCategories");
427
- let body;
428
- body = JSON.stringify(smithyClient.take(input, {
429
- categories: (_) => smithyClient._json(_),
430
- }));
431
- b.m("POST").h(headers).b(body);
432
- return b.build();
433
- };
434
- const se_BatchDeleteCategoryCommand = async (input, context) => {
435
- const b = core.requestBuilder(input, context);
436
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
437
- "content-type": "application/json",
438
- [_ii]: input[_iI],
439
- });
440
- b.bp("/catalog.deleteCategories");
441
- let body;
442
- body = JSON.stringify(smithyClient.take(input, {
443
- categories: (_) => smithyClient._json(_),
444
- }));
445
- b.m("POST").h(headers).b(body);
446
- return b.build();
447
- };
448
- const se_BatchUpdateCategoryCommand = async (input, context) => {
449
- const b = core.requestBuilder(input, context);
450
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
451
- "content-type": "application/json",
452
- [_ii]: input[_iI],
453
- });
454
- b.bp("/catalog.updateCategories");
455
- let body;
456
- body = JSON.stringify(smithyClient.take(input, {
457
- categories: (_) => smithyClient._json(_),
458
- }));
459
- b.m("POST").h(headers).b(body);
460
- return b.build();
461
- };
462
- const se_CreateLibraryItemCommand = async (input, context) => {
463
- const b = core.requestBuilder(input, context);
464
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
465
- "content-type": "application/json",
466
- [_ii]: input[_iI],
467
- });
468
- b.bp("/catalog.createItem");
469
- let body;
470
- body = JSON.stringify(smithyClient.take(input, {
471
- appId: [],
472
- appVersion: [],
473
- categories: (_) => smithyClient._json(_),
474
- }));
475
- b.m("POST").h(headers).b(body);
476
- return b.build();
477
- };
478
- const se_CreatePresignedUrlCommand = async (input, context) => {
479
- const b = core.requestBuilder(input, context);
480
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
481
- "content-type": "application/json",
482
- [_ii]: input[_iI],
483
- });
484
- b.bp("/apps.createPresignedUrl");
485
- let body;
486
- body = JSON.stringify(smithyClient.take(input, {
487
- appId: [],
488
- cardId: [],
489
- fileContentsSha256: [],
490
- fileName: [],
491
- scope: [],
492
- sessionId: [],
493
- }));
494
- b.m("POST").h(headers).b(body);
495
- return b.build();
496
- };
497
- const se_CreateQAppCommand = async (input, context) => {
498
- const b = core.requestBuilder(input, context);
499
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
500
- "content-type": "application/json",
501
- [_ii]: input[_iI],
502
- });
503
- b.bp("/apps.create");
504
- let body;
505
- body = JSON.stringify(smithyClient.take(input, {
506
- appDefinition: (_) => se_AppDefinitionInput(_),
507
- description: [],
508
- tags: (_) => smithyClient._json(_),
509
- title: [],
510
- }));
511
- b.m("POST").h(headers).b(body);
512
- return b.build();
513
- };
514
- const se_DeleteLibraryItemCommand = async (input, context) => {
515
- const b = core.requestBuilder(input, context);
516
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
517
- "content-type": "application/json",
518
- [_ii]: input[_iI],
519
- });
520
- b.bp("/catalog.deleteItem");
521
- let body;
522
- body = JSON.stringify(smithyClient.take(input, {
523
- libraryItemId: [],
524
- }));
525
- b.m("POST").h(headers).b(body);
526
- return b.build();
527
- };
528
- const se_DeleteQAppCommand = async (input, context) => {
529
- const b = core.requestBuilder(input, context);
530
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
531
- "content-type": "application/json",
532
- [_ii]: input[_iI],
533
- });
534
- b.bp("/apps.delete");
535
- let body;
536
- body = JSON.stringify(smithyClient.take(input, {
537
- appId: [],
538
- }));
539
- b.m("POST").h(headers).b(body);
540
- return b.build();
541
- };
542
- const se_DescribeQAppPermissionsCommand = async (input, context) => {
543
- const b = core.requestBuilder(input, context);
544
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
545
- [_ii]: input[_iI],
546
- });
547
- b.bp("/apps.describeQAppPermissions");
548
- const query = smithyClient.map({
549
- [_aI]: [, smithyClient.expectNonNull(input[_aI], `appId`)],
550
- });
551
- let body;
552
- b.m("GET").h(headers).q(query).b(body);
553
- return b.build();
554
- };
555
- const se_DisassociateLibraryItemReviewCommand = async (input, context) => {
556
- const b = core.requestBuilder(input, context);
557
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
558
- "content-type": "application/json",
559
- [_ii]: input[_iI],
560
- });
561
- b.bp("/catalog.disassociateItemRating");
562
- let body;
563
- body = JSON.stringify(smithyClient.take(input, {
564
- libraryItemId: [],
565
- }));
566
- b.m("POST").h(headers).b(body);
567
- return b.build();
568
- };
569
- const se_DisassociateQAppFromUserCommand = async (input, context) => {
570
- const b = core.requestBuilder(input, context);
571
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
572
- "content-type": "application/json",
573
- [_ii]: input[_iI],
574
- });
575
- b.bp("/apps.uninstall");
576
- let body;
577
- body = JSON.stringify(smithyClient.take(input, {
578
- appId: [],
579
- }));
580
- b.m("POST").h(headers).b(body);
581
- return b.build();
582
- };
583
- const se_ExportQAppSessionDataCommand = async (input, context) => {
584
- const b = core.requestBuilder(input, context);
585
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
586
- "content-type": "application/json",
587
- [_ii]: input[_iI],
588
- });
589
- b.bp("/runtime.exportQAppSessionData");
590
- let body;
591
- body = JSON.stringify(smithyClient.take(input, {
592
- sessionId: [],
593
- }));
594
- b.m("POST").h(headers).b(body);
595
- return b.build();
596
- };
597
- const se_GetLibraryItemCommand = async (input, context) => {
598
- const b = core.requestBuilder(input, context);
599
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
600
- [_ii]: input[_iI],
601
- });
602
- b.bp("/catalog.getItem");
603
- const query = smithyClient.map({
604
- [_lII]: [, smithyClient.expectNonNull(input[_lII], `libraryItemId`)],
605
- [_aI]: [, input[_aI]],
606
- });
607
- let body;
608
- b.m("GET").h(headers).q(query).b(body);
609
- return b.build();
610
- };
611
- const se_GetQAppCommand = async (input, context) => {
612
- const b = core.requestBuilder(input, context);
613
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
614
- [_ii]: input[_iI],
615
- });
616
- b.bp("/apps.get");
617
- const query = smithyClient.map({
618
- [_aI]: [, smithyClient.expectNonNull(input[_aI], `appId`)],
619
- [_aV]: [() => input.appVersion !== void 0, () => input[_aV].toString()],
620
- });
621
- let body;
622
- b.m("GET").h(headers).q(query).b(body);
623
- return b.build();
624
- };
625
- const se_GetQAppSessionCommand = async (input, context) => {
626
- const b = core.requestBuilder(input, context);
627
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
628
- [_ii]: input[_iI],
629
- });
630
- b.bp("/runtime.getQAppSession");
631
- const query = smithyClient.map({
632
- [_sI]: [, smithyClient.expectNonNull(input[_sI], `sessionId`)],
633
- });
634
- let body;
635
- b.m("GET").h(headers).q(query).b(body);
636
- return b.build();
637
- };
638
- const se_GetQAppSessionMetadataCommand = async (input, context) => {
639
- const b = core.requestBuilder(input, context);
640
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
641
- [_ii]: input[_iI],
642
- });
643
- b.bp("/runtime.getQAppSessionMetadata");
644
- const query = smithyClient.map({
645
- [_sI]: [, smithyClient.expectNonNull(input[_sI], `sessionId`)],
646
- });
647
- let body;
648
- b.m("GET").h(headers).q(query).b(body);
649
- return b.build();
650
- };
651
- const se_ImportDocumentCommand = async (input, context) => {
652
- const b = core.requestBuilder(input, context);
653
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
654
- "content-type": "application/json",
655
- [_ii]: input[_iI],
656
- });
657
- b.bp("/apps.importDocument");
658
- let body;
659
- body = JSON.stringify(smithyClient.take(input, {
660
- appId: [],
661
- cardId: [],
662
- fileContentsBase64: [],
663
- fileName: [],
664
- scope: [],
665
- sessionId: [],
666
- }));
667
- b.m("POST").h(headers).b(body);
668
- return b.build();
669
- };
670
- const se_ListCategoriesCommand = async (input, context) => {
671
- const b = core.requestBuilder(input, context);
672
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
673
- [_ii]: input[_iI],
674
- });
675
- b.bp("/catalog.listCategories");
676
- let body;
677
- b.m("GET").h(headers).b(body);
678
- return b.build();
679
- };
680
- const se_ListLibraryItemsCommand = async (input, context) => {
681
- const b = core.requestBuilder(input, context);
682
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
683
- [_ii]: input[_iI],
684
- });
685
- b.bp("/catalog.list");
686
- const query = smithyClient.map({
687
- [_l]: [() => input.limit !== void 0, () => input[_l].toString()],
688
- [_nT]: [, input[_nT]],
689
- [_cI]: [, input[_cI]],
690
- });
691
- let body;
692
- b.m("GET").h(headers).q(query).b(body);
693
- return b.build();
694
- };
695
- const se_ListQAppsCommand = async (input, context) => {
696
- const b = core.requestBuilder(input, context);
697
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
698
- [_ii]: input[_iI],
699
- });
700
- b.bp("/apps.list");
701
- const query = smithyClient.map({
702
- [_l]: [() => input.limit !== void 0, () => input[_l].toString()],
703
- [_nT]: [, input[_nT]],
704
- });
705
- let body;
706
- b.m("GET").h(headers).q(query).b(body);
707
- return b.build();
708
- };
709
- const se_ListQAppSessionDataCommand = async (input, context) => {
710
- const b = core.requestBuilder(input, context);
711
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
712
- [_ii]: input[_iI],
713
- });
714
- b.bp("/runtime.listQAppSessionData");
715
- const query = smithyClient.map({
716
- [_sI]: [, smithyClient.expectNonNull(input[_sI], `sessionId`)],
717
- });
718
- let body;
719
- b.m("GET").h(headers).q(query).b(body);
720
- return b.build();
721
- };
722
- const se_ListTagsForResourceCommand = async (input, context) => {
723
- const b = core.requestBuilder(input, context);
724
- const headers = {};
725
- b.bp("/tags/{resourceARN}");
726
- b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);
727
- let body;
728
- b.m("GET").h(headers).b(body);
729
- return b.build();
730
- };
731
- const se_PredictQAppCommand = async (input, context) => {
732
- const b = core.requestBuilder(input, context);
733
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
734
- "content-type": "application/json",
735
- [_ii]: input[_iI],
736
- });
737
- b.bp("/apps.predictQApp");
738
- let body;
739
- body = JSON.stringify(smithyClient.take(input, {
740
- options: (_) => smithyClient._json(_),
741
- }));
742
- b.m("POST").h(headers).b(body);
743
- return b.build();
744
- };
745
- const se_StartQAppSessionCommand = async (input, context) => {
746
- const b = core.requestBuilder(input, context);
747
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
748
- "content-type": "application/json",
749
- [_ii]: input[_iI],
750
- });
751
- b.bp("/runtime.startQAppSession");
752
- let body;
753
- body = JSON.stringify(smithyClient.take(input, {
754
- appId: [],
755
- appVersion: [],
756
- initialValues: (_) => smithyClient._json(_),
757
- sessionId: [],
758
- tags: (_) => smithyClient._json(_),
759
- }));
760
- b.m("POST").h(headers).b(body);
761
- return b.build();
762
- };
763
- const se_StopQAppSessionCommand = async (input, context) => {
764
- const b = core.requestBuilder(input, context);
765
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
766
- "content-type": "application/json",
767
- [_ii]: input[_iI],
768
- });
769
- b.bp("/runtime.deleteMiniAppRun");
770
- let body;
771
- body = JSON.stringify(smithyClient.take(input, {
772
- sessionId: [],
773
- }));
774
- b.m("POST").h(headers).b(body);
775
- return b.build();
776
- };
777
- const se_TagResourceCommand = async (input, context) => {
778
- const b = core.requestBuilder(input, context);
779
- const headers = {
780
- "content-type": "application/json",
781
- };
782
- b.bp("/tags/{resourceARN}");
783
- b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);
784
- let body;
785
- body = JSON.stringify(smithyClient.take(input, {
786
- tags: (_) => smithyClient._json(_),
787
- }));
788
- b.m("POST").h(headers).b(body);
789
- return b.build();
790
- };
791
- const se_UntagResourceCommand = async (input, context) => {
792
- const b = core.requestBuilder(input, context);
793
- const headers = {};
794
- b.bp("/tags/{resourceARN}");
795
- b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);
796
- const query = smithyClient.map({
797
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
798
- });
799
- let body;
800
- b.m("DELETE").h(headers).q(query).b(body);
801
- return b.build();
802
- };
803
- const se_UpdateLibraryItemCommand = async (input, context) => {
804
- const b = core.requestBuilder(input, context);
805
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
806
- "content-type": "application/json",
807
- [_ii]: input[_iI],
808
- });
809
- b.bp("/catalog.updateItem");
810
- let body;
811
- body = JSON.stringify(smithyClient.take(input, {
812
- categories: (_) => smithyClient._json(_),
813
- libraryItemId: [],
814
- status: [],
815
- }));
816
- b.m("POST").h(headers).b(body);
817
- return b.build();
818
- };
819
- const se_UpdateLibraryItemMetadataCommand = async (input, context) => {
820
- const b = core.requestBuilder(input, context);
821
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
822
- "content-type": "application/json",
823
- [_ii]: input[_iI],
824
- });
825
- b.bp("/catalog.updateItemMetadata");
826
- let body;
827
- body = JSON.stringify(smithyClient.take(input, {
828
- isVerified: [],
829
- libraryItemId: [],
830
- }));
831
- b.m("POST").h(headers).b(body);
832
- return b.build();
833
- };
834
- const se_UpdateQAppCommand = async (input, context) => {
835
- const b = core.requestBuilder(input, context);
836
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
837
- "content-type": "application/json",
838
- [_ii]: input[_iI],
839
- });
840
- b.bp("/apps.update");
841
- let body;
842
- body = JSON.stringify(smithyClient.take(input, {
843
- appDefinition: (_) => se_AppDefinitionInput(_),
844
- appId: [],
845
- description: [],
846
- title: [],
847
- }));
848
- b.m("POST").h(headers).b(body);
849
- return b.build();
850
- };
851
- const se_UpdateQAppPermissionsCommand = async (input, context) => {
852
- const b = core.requestBuilder(input, context);
853
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
854
- "content-type": "application/json",
855
- [_ii]: input[_iI],
856
- });
857
- b.bp("/apps.updateQAppPermissions");
858
- let body;
859
- body = JSON.stringify(smithyClient.take(input, {
860
- appId: [],
861
- grantPermissions: (_) => smithyClient._json(_),
862
- revokePermissions: (_) => smithyClient._json(_),
863
- }));
864
- b.m("POST").h(headers).b(body);
865
- return b.build();
866
- };
867
- const se_UpdateQAppSessionCommand = async (input, context) => {
868
- const b = core.requestBuilder(input, context);
869
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
870
- "content-type": "application/json",
871
- [_ii]: input[_iI],
872
- });
873
- b.bp("/runtime.updateQAppSession");
874
- let body;
875
- body = JSON.stringify(smithyClient.take(input, {
876
- sessionId: [],
877
- values: (_) => smithyClient._json(_),
878
- }));
879
- b.m("POST").h(headers).b(body);
880
- return b.build();
881
- };
882
- const se_UpdateQAppSessionMetadataCommand = async (input, context) => {
883
- const b = core.requestBuilder(input, context);
884
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
885
- "content-type": "application/json",
886
- [_ii]: input[_iI],
887
- });
888
- b.bp("/runtime.updateQAppSessionMetadata");
889
- let body;
890
- body = JSON.stringify(smithyClient.take(input, {
891
- sessionId: [],
892
- sessionName: [],
893
- sharingConfiguration: (_) => smithyClient._json(_),
894
- }));
895
- b.m("POST").h(headers).b(body);
896
- return b.build();
897
- };
898
- const de_AssociateLibraryItemReviewCommand = async (output, context) => {
899
- if (output.statusCode !== 200 && output.statusCode >= 300) {
900
- return de_CommandError(output, context);
901
- }
902
- const contents = smithyClient.map({
903
- $metadata: deserializeMetadata(output),
904
- });
905
- await smithyClient.collectBody(output.body, context);
906
- return contents;
907
- };
908
- const de_AssociateQAppWithUserCommand = async (output, context) => {
909
- if (output.statusCode !== 200 && output.statusCode >= 300) {
910
- return de_CommandError(output, context);
911
- }
912
- const contents = smithyClient.map({
913
- $metadata: deserializeMetadata(output),
914
- });
915
- await smithyClient.collectBody(output.body, context);
916
- return contents;
917
- };
918
- const de_BatchCreateCategoryCommand = async (output, context) => {
919
- if (output.statusCode !== 200 && output.statusCode >= 300) {
920
- return de_CommandError(output, context);
921
- }
922
- const contents = smithyClient.map({
923
- $metadata: deserializeMetadata(output),
924
- });
925
- await smithyClient.collectBody(output.body, context);
926
- return contents;
927
- };
928
- const de_BatchDeleteCategoryCommand = async (output, context) => {
929
- if (output.statusCode !== 200 && output.statusCode >= 300) {
930
- return de_CommandError(output, context);
931
- }
932
- const contents = smithyClient.map({
933
- $metadata: deserializeMetadata(output),
934
- });
935
- await smithyClient.collectBody(output.body, context);
936
- return contents;
937
- };
938
- const de_BatchUpdateCategoryCommand = async (output, context) => {
939
- if (output.statusCode !== 200 && output.statusCode >= 300) {
940
- return de_CommandError(output, context);
941
- }
942
- const contents = smithyClient.map({
943
- $metadata: deserializeMetadata(output),
944
- });
945
- await smithyClient.collectBody(output.body, context);
946
- return contents;
947
- };
948
- const de_CreateLibraryItemCommand = async (output, context) => {
949
- if (output.statusCode !== 200 && output.statusCode >= 300) {
950
- return de_CommandError(output, context);
951
- }
952
- const contents = smithyClient.map({
953
- $metadata: deserializeMetadata(output),
954
- });
955
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
956
- const doc = smithyClient.take(data, {
957
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
958
- createdBy: smithyClient.expectString,
959
- isVerified: smithyClient.expectBoolean,
960
- libraryItemId: smithyClient.expectString,
961
- ratingCount: smithyClient.expectInt32,
962
- status: smithyClient.expectString,
963
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
964
- updatedBy: smithyClient.expectString,
965
- });
966
- Object.assign(contents, doc);
967
- return contents;
968
- };
969
- const de_CreatePresignedUrlCommand = async (output, context) => {
970
- if (output.statusCode !== 200 && output.statusCode >= 300) {
971
- return de_CommandError(output, context);
972
- }
973
- const contents = smithyClient.map({
974
- $metadata: deserializeMetadata(output),
975
- });
976
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
977
- const doc = smithyClient.take(data, {
978
- fileId: smithyClient.expectString,
979
- presignedUrl: smithyClient.expectString,
980
- presignedUrlExpiration: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
981
- presignedUrlFields: smithyClient._json,
982
- });
983
- Object.assign(contents, doc);
984
- return contents;
985
- };
986
- const de_CreateQAppCommand = async (output, context) => {
987
- if (output.statusCode !== 200 && output.statusCode >= 300) {
988
- return de_CommandError(output, context);
989
- }
990
- const contents = smithyClient.map({
991
- $metadata: deserializeMetadata(output),
992
- });
993
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
994
- const doc = smithyClient.take(data, {
995
- appArn: smithyClient.expectString,
996
- appId: smithyClient.expectString,
997
- appVersion: smithyClient.expectInt32,
998
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
999
- createdBy: smithyClient.expectString,
1000
- description: smithyClient.expectString,
1001
- initialPrompt: smithyClient.expectString,
1002
- requiredCapabilities: smithyClient._json,
1003
- status: smithyClient.expectString,
1004
- title: smithyClient.expectString,
1005
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1006
- updatedBy: smithyClient.expectString,
1007
- });
1008
- Object.assign(contents, doc);
1009
- return contents;
1010
- };
1011
- const de_DeleteLibraryItemCommand = async (output, context) => {
1012
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1013
- return de_CommandError(output, context);
1014
- }
1015
- const contents = smithyClient.map({
1016
- $metadata: deserializeMetadata(output),
1017
- });
1018
- await smithyClient.collectBody(output.body, context);
1019
- return contents;
1020
- };
1021
- const de_DeleteQAppCommand = async (output, context) => {
1022
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1023
- return de_CommandError(output, context);
1024
- }
1025
- const contents = smithyClient.map({
1026
- $metadata: deserializeMetadata(output),
1027
- });
1028
- await smithyClient.collectBody(output.body, context);
1029
- return contents;
1030
- };
1031
- const de_DescribeQAppPermissionsCommand = async (output, context) => {
1032
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1033
- return de_CommandError(output, context);
1034
- }
1035
- const contents = smithyClient.map({
1036
- $metadata: deserializeMetadata(output),
1037
- });
1038
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1039
- const doc = smithyClient.take(data, {
1040
- appId: smithyClient.expectString,
1041
- permissions: smithyClient._json,
1042
- resourceArn: smithyClient.expectString,
1043
- });
1044
- Object.assign(contents, doc);
1045
- return contents;
1046
- };
1047
- const de_DisassociateLibraryItemReviewCommand = async (output, context) => {
1048
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1049
- return de_CommandError(output, context);
1050
- }
1051
- const contents = smithyClient.map({
1052
- $metadata: deserializeMetadata(output),
1053
- });
1054
- await smithyClient.collectBody(output.body, context);
1055
- return contents;
1056
- };
1057
- const de_DisassociateQAppFromUserCommand = async (output, context) => {
1058
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1059
- return de_CommandError(output, context);
1060
- }
1061
- const contents = smithyClient.map({
1062
- $metadata: deserializeMetadata(output),
1063
- });
1064
- await smithyClient.collectBody(output.body, context);
1065
- return contents;
1066
- };
1067
- const de_ExportQAppSessionDataCommand = async (output, context) => {
1068
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1069
- return de_CommandError(output, context);
1070
- }
1071
- const contents = smithyClient.map({
1072
- $metadata: deserializeMetadata(output),
1073
- });
1074
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1075
- const doc = smithyClient.take(data, {
1076
- csvFileLink: smithyClient.expectString,
1077
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1078
- sessionArn: smithyClient.expectString,
1079
- });
1080
- Object.assign(contents, doc);
1081
- return contents;
1082
- };
1083
- const de_GetLibraryItemCommand = async (output, context) => {
1084
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1085
- return de_CommandError(output, context);
1086
- }
1087
- const contents = smithyClient.map({
1088
- $metadata: deserializeMetadata(output),
1089
- });
1090
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1091
- const doc = smithyClient.take(data, {
1092
- appId: smithyClient.expectString,
1093
- appVersion: smithyClient.expectInt32,
1094
- categories: smithyClient._json,
1095
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1096
- createdBy: smithyClient.expectString,
1097
- isRatedByUser: smithyClient.expectBoolean,
1098
- isVerified: smithyClient.expectBoolean,
1099
- libraryItemId: smithyClient.expectString,
1100
- ratingCount: smithyClient.expectInt32,
1101
- status: smithyClient.expectString,
1102
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1103
- updatedBy: smithyClient.expectString,
1104
- userCount: smithyClient.expectInt32,
1105
- });
1106
- Object.assign(contents, doc);
1107
- return contents;
1108
- };
1109
- const de_GetQAppCommand = async (output, context) => {
1110
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1111
- return de_CommandError(output, context);
1112
- }
1113
- const contents = smithyClient.map({
1114
- $metadata: deserializeMetadata(output),
1115
- });
1116
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1117
- const doc = smithyClient.take(data, {
1118
- appArn: smithyClient.expectString,
1119
- appDefinition: (_) => de_AppDefinition(_),
1120
- appId: smithyClient.expectString,
1121
- appVersion: smithyClient.expectInt32,
1122
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1123
- createdBy: smithyClient.expectString,
1124
- description: smithyClient.expectString,
1125
- initialPrompt: smithyClient.expectString,
1126
- requiredCapabilities: smithyClient._json,
1127
- status: smithyClient.expectString,
1128
- title: smithyClient.expectString,
1129
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1130
- updatedBy: smithyClient.expectString,
1131
- });
1132
- Object.assign(contents, doc);
1133
- return contents;
1134
- };
1135
- const de_GetQAppSessionCommand = async (output, context) => {
1136
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1137
- return de_CommandError(output, context);
1138
- }
1139
- const contents = smithyClient.map({
1140
- $metadata: deserializeMetadata(output),
1141
- });
1142
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1143
- const doc = smithyClient.take(data, {
1144
- appVersion: smithyClient.expectInt32,
1145
- cardStatus: (_) => de_CardStatusMap(_),
1146
- latestPublishedAppVersion: smithyClient.expectInt32,
1147
- sessionArn: smithyClient.expectString,
1148
- sessionId: smithyClient.expectString,
1149
- sessionName: smithyClient.expectString,
1150
- status: smithyClient.expectString,
1151
- userIsHost: smithyClient.expectBoolean,
1152
- });
1153
- Object.assign(contents, doc);
1154
- return contents;
1155
- };
1156
- const de_GetQAppSessionMetadataCommand = async (output, context) => {
1157
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1158
- return de_CommandError(output, context);
1159
- }
1160
- const contents = smithyClient.map({
1161
- $metadata: deserializeMetadata(output),
1162
- });
1163
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1164
- const doc = smithyClient.take(data, {
1165
- sessionArn: smithyClient.expectString,
1166
- sessionId: smithyClient.expectString,
1167
- sessionName: smithyClient.expectString,
1168
- sessionOwner: smithyClient.expectBoolean,
1169
- sharingConfiguration: smithyClient._json,
1170
- });
1171
- Object.assign(contents, doc);
1172
- return contents;
1173
- };
1174
- const de_ImportDocumentCommand = async (output, context) => {
1175
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1176
- return de_CommandError(output, context);
1177
- }
1178
- const contents = smithyClient.map({
1179
- $metadata: deserializeMetadata(output),
1180
- });
1181
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1182
- const doc = smithyClient.take(data, {
1183
- fileId: smithyClient.expectString,
1184
- });
1185
- Object.assign(contents, doc);
1186
- return contents;
1187
- };
1188
- const de_ListCategoriesCommand = async (output, context) => {
1189
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1190
- return de_CommandError(output, context);
1191
- }
1192
- const contents = smithyClient.map({
1193
- $metadata: deserializeMetadata(output),
1194
- });
1195
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1196
- const doc = smithyClient.take(data, {
1197
- categories: smithyClient._json,
1198
- });
1199
- Object.assign(contents, doc);
1200
- return contents;
1201
- };
1202
- const de_ListLibraryItemsCommand = async (output, context) => {
1203
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1204
- return de_CommandError(output, context);
1205
- }
1206
- const contents = smithyClient.map({
1207
- $metadata: deserializeMetadata(output),
1208
- });
1209
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1210
- const doc = smithyClient.take(data, {
1211
- libraryItems: (_) => de_LibraryItemList(_),
1212
- nextToken: smithyClient.expectString,
1213
- });
1214
- Object.assign(contents, doc);
1215
- return contents;
1216
- };
1217
- const de_ListQAppsCommand = async (output, context) => {
1218
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1219
- return de_CommandError(output, context);
1220
- }
1221
- const contents = smithyClient.map({
1222
- $metadata: deserializeMetadata(output),
1223
- });
1224
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1225
- const doc = smithyClient.take(data, {
1226
- apps: (_) => de_UserAppsList(_),
1227
- nextToken: smithyClient.expectString,
1228
- });
1229
- Object.assign(contents, doc);
1230
- return contents;
1231
- };
1232
- const de_ListQAppSessionDataCommand = async (output, context) => {
1233
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1234
- return de_CommandError(output, context);
1235
- }
1236
- const contents = smithyClient.map({
1237
- $metadata: deserializeMetadata(output),
1238
- });
1239
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1240
- const doc = smithyClient.take(data, {
1241
- nextToken: smithyClient.expectString,
1242
- sessionArn: smithyClient.expectString,
1243
- sessionData: (_) => de_QAppSessionDataList(_),
1244
- sessionId: smithyClient.expectString,
1245
- });
1246
- Object.assign(contents, doc);
1247
- return contents;
1248
- };
1249
- const de_ListTagsForResourceCommand = async (output, context) => {
1250
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1251
- return de_CommandError(output, context);
1252
- }
1253
- const contents = smithyClient.map({
1254
- $metadata: deserializeMetadata(output),
1255
- });
1256
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1257
- const doc = smithyClient.take(data, {
1258
- tags: smithyClient._json,
1259
- });
1260
- Object.assign(contents, doc);
1261
- return contents;
1262
- };
1263
- const de_PredictQAppCommand = async (output, context) => {
1264
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1265
- return de_CommandError(output, context);
1266
- }
1267
- const contents = smithyClient.map({
1268
- $metadata: deserializeMetadata(output),
1269
- });
1270
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1271
- const doc = smithyClient.take(data, {
1272
- app: (_) => de_PredictAppDefinition(_),
1273
- problemStatement: smithyClient.expectString,
1274
- });
1275
- Object.assign(contents, doc);
1276
- return contents;
1277
- };
1278
- const de_StartQAppSessionCommand = async (output, context) => {
1279
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1280
- return de_CommandError(output, context);
1281
- }
1282
- const contents = smithyClient.map({
1283
- $metadata: deserializeMetadata(output),
1284
- });
1285
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1286
- const doc = smithyClient.take(data, {
1287
- sessionArn: smithyClient.expectString,
1288
- sessionId: smithyClient.expectString,
1289
- });
1290
- Object.assign(contents, doc);
1291
- return contents;
1292
- };
1293
- const de_StopQAppSessionCommand = async (output, context) => {
1294
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1295
- return de_CommandError(output, context);
1296
- }
1297
- const contents = smithyClient.map({
1298
- $metadata: deserializeMetadata(output),
1299
- });
1300
- await smithyClient.collectBody(output.body, context);
1301
- return contents;
1302
- };
1303
- const de_TagResourceCommand = async (output, context) => {
1304
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1305
- return de_CommandError(output, context);
1306
- }
1307
- const contents = smithyClient.map({
1308
- $metadata: deserializeMetadata(output),
1309
- });
1310
- await smithyClient.collectBody(output.body, context);
1311
- return contents;
1312
- };
1313
- const de_UntagResourceCommand = async (output, context) => {
1314
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1315
- return de_CommandError(output, context);
1316
- }
1317
- const contents = smithyClient.map({
1318
- $metadata: deserializeMetadata(output),
1319
- });
1320
- await smithyClient.collectBody(output.body, context);
1321
- return contents;
1322
- };
1323
- const de_UpdateLibraryItemCommand = async (output, context) => {
1324
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1325
- return de_CommandError(output, context);
1326
- }
1327
- const contents = smithyClient.map({
1328
- $metadata: deserializeMetadata(output),
1329
- });
1330
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1331
- const doc = smithyClient.take(data, {
1332
- appId: smithyClient.expectString,
1333
- appVersion: smithyClient.expectInt32,
1334
- categories: smithyClient._json,
1335
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1336
- createdBy: smithyClient.expectString,
1337
- isRatedByUser: smithyClient.expectBoolean,
1338
- isVerified: smithyClient.expectBoolean,
1339
- libraryItemId: smithyClient.expectString,
1340
- ratingCount: smithyClient.expectInt32,
1341
- status: smithyClient.expectString,
1342
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1343
- updatedBy: smithyClient.expectString,
1344
- userCount: smithyClient.expectInt32,
1345
- });
1346
- Object.assign(contents, doc);
1347
- return contents;
1348
- };
1349
- const de_UpdateLibraryItemMetadataCommand = async (output, context) => {
1350
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1351
- return de_CommandError(output, context);
1352
- }
1353
- const contents = smithyClient.map({
1354
- $metadata: deserializeMetadata(output),
1355
- });
1356
- await smithyClient.collectBody(output.body, context);
1357
- return contents;
1358
- };
1359
- const de_UpdateQAppCommand = async (output, context) => {
1360
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1361
- return de_CommandError(output, context);
1362
- }
1363
- const contents = smithyClient.map({
1364
- $metadata: deserializeMetadata(output),
1365
- });
1366
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1367
- const doc = smithyClient.take(data, {
1368
- appArn: smithyClient.expectString,
1369
- appId: smithyClient.expectString,
1370
- appVersion: smithyClient.expectInt32,
1371
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1372
- createdBy: smithyClient.expectString,
1373
- description: smithyClient.expectString,
1374
- initialPrompt: smithyClient.expectString,
1375
- requiredCapabilities: smithyClient._json,
1376
- status: smithyClient.expectString,
1377
- title: smithyClient.expectString,
1378
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1379
- updatedBy: smithyClient.expectString,
1380
- });
1381
- Object.assign(contents, doc);
1382
- return contents;
1383
- };
1384
- const de_UpdateQAppPermissionsCommand = async (output, context) => {
1385
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1386
- return de_CommandError(output, context);
1387
- }
1388
- const contents = smithyClient.map({
1389
- $metadata: deserializeMetadata(output),
1390
- });
1391
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1392
- const doc = smithyClient.take(data, {
1393
- appId: smithyClient.expectString,
1394
- permissions: smithyClient._json,
1395
- resourceArn: smithyClient.expectString,
1396
- });
1397
- Object.assign(contents, doc);
1398
- return contents;
1399
- };
1400
- const de_UpdateQAppSessionCommand = async (output, context) => {
1401
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1402
- return de_CommandError(output, context);
1403
- }
1404
- const contents = smithyClient.map({
1405
- $metadata: deserializeMetadata(output),
1406
- });
1407
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1408
- const doc = smithyClient.take(data, {
1409
- sessionArn: smithyClient.expectString,
1410
- sessionId: smithyClient.expectString,
1411
- });
1412
- Object.assign(contents, doc);
1413
- return contents;
1414
- };
1415
- const de_UpdateQAppSessionMetadataCommand = async (output, context) => {
1416
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1417
- return de_CommandError(output, context);
1418
- }
1419
- const contents = smithyClient.map({
1420
- $metadata: deserializeMetadata(output),
1421
- });
1422
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1423
- const doc = smithyClient.take(data, {
1424
- sessionArn: smithyClient.expectString,
1425
- sessionId: smithyClient.expectString,
1426
- sessionName: smithyClient.expectString,
1427
- sharingConfiguration: smithyClient._json,
1428
- });
1429
- Object.assign(contents, doc);
1430
- return contents;
1431
- };
1432
- const de_CommandError = async (output, context) => {
1433
- const parsedOutput = {
1434
- ...output,
1435
- body: await core$1.parseJsonErrorBody(output.body, context),
1436
- };
1437
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1438
- switch (errorCode) {
1439
- case "AccessDeniedException":
1440
- case "com.amazonaws.qapps#AccessDeniedException":
1441
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1442
- case "ConflictException":
1443
- case "com.amazonaws.qapps#ConflictException":
1444
- throw await de_ConflictExceptionRes(parsedOutput);
1445
- case "InternalServerException":
1446
- case "com.amazonaws.qapps#InternalServerException":
1447
- throw await de_InternalServerExceptionRes(parsedOutput);
1448
- case "ResourceNotFoundException":
1449
- case "com.amazonaws.qapps#ResourceNotFoundException":
1450
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1451
- case "ServiceQuotaExceededException":
1452
- case "com.amazonaws.qapps#ServiceQuotaExceededException":
1453
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1454
- case "ThrottlingException":
1455
- case "com.amazonaws.qapps#ThrottlingException":
1456
- throw await de_ThrottlingExceptionRes(parsedOutput);
1457
- case "UnauthorizedException":
1458
- case "com.amazonaws.qapps#UnauthorizedException":
1459
- throw await de_UnauthorizedExceptionRes(parsedOutput);
1460
- case "ValidationException":
1461
- case "com.amazonaws.qapps#ValidationException":
1462
- throw await de_ValidationExceptionRes(parsedOutput);
1463
- case "ContentTooLargeException":
1464
- case "com.amazonaws.qapps#ContentTooLargeException":
1465
- throw await de_ContentTooLargeExceptionRes(parsedOutput);
1466
- default:
1467
- const parsedBody = parsedOutput.body;
1468
- return throwDefaultError({
1469
- output,
1470
- parsedBody,
1471
- errorCode,
1472
- });
1473
- }
1474
- };
1475
- const throwDefaultError = smithyClient.withBaseException(QAppsServiceException);
1476
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1477
- const contents = smithyClient.map({});
1478
- const data = parsedOutput.body;
1479
- const doc = smithyClient.take(data, {
1480
- message: smithyClient.expectString,
1481
- });
1482
- Object.assign(contents, doc);
1483
- const exception = new AccessDeniedException({
1484
- $metadata: deserializeMetadata(parsedOutput),
1485
- ...contents,
1486
- });
1487
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1488
- };
1489
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1490
- const contents = smithyClient.map({});
1491
- const data = parsedOutput.body;
1492
- const doc = smithyClient.take(data, {
1493
- message: smithyClient.expectString,
1494
- resourceId: smithyClient.expectString,
1495
- resourceType: smithyClient.expectString,
1496
- });
1497
- Object.assign(contents, doc);
1498
- const exception = new ConflictException({
1499
- $metadata: deserializeMetadata(parsedOutput),
1500
- ...contents,
1501
- });
1502
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1503
- };
1504
- const de_ContentTooLargeExceptionRes = async (parsedOutput, context) => {
1505
- const contents = smithyClient.map({});
1506
- const data = parsedOutput.body;
1507
- const doc = smithyClient.take(data, {
1508
- message: smithyClient.expectString,
1509
- resourceId: smithyClient.expectString,
1510
- resourceType: smithyClient.expectString,
1511
- });
1512
- Object.assign(contents, doc);
1513
- const exception = new ContentTooLargeException({
1514
- $metadata: deserializeMetadata(parsedOutput),
1515
- ...contents,
1516
- });
1517
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1518
- };
1519
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1520
- const contents = smithyClient.map({
1521
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1522
- });
1523
- const data = parsedOutput.body;
1524
- const doc = smithyClient.take(data, {
1525
- message: smithyClient.expectString,
1526
- });
1527
- Object.assign(contents, doc);
1528
- const exception = new InternalServerException({
1529
- $metadata: deserializeMetadata(parsedOutput),
1530
- ...contents,
1531
- });
1532
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1533
- };
1534
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1535
- const contents = smithyClient.map({});
1536
- const data = parsedOutput.body;
1537
- const doc = smithyClient.take(data, {
1538
- message: smithyClient.expectString,
1539
- resourceId: smithyClient.expectString,
1540
- resourceType: smithyClient.expectString,
1541
- });
1542
- Object.assign(contents, doc);
1543
- const exception = new ResourceNotFoundException({
1544
- $metadata: deserializeMetadata(parsedOutput),
1545
- ...contents,
1546
- });
1547
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1548
- };
1549
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1550
- const contents = smithyClient.map({});
1551
- const data = parsedOutput.body;
1552
- const doc = smithyClient.take(data, {
1553
- message: smithyClient.expectString,
1554
- quotaCode: smithyClient.expectString,
1555
- resourceId: smithyClient.expectString,
1556
- resourceType: smithyClient.expectString,
1557
- serviceCode: smithyClient.expectString,
1558
- });
1559
- Object.assign(contents, doc);
1560
- const exception = new ServiceQuotaExceededException({
1561
- $metadata: deserializeMetadata(parsedOutput),
1562
- ...contents,
1563
- });
1564
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1565
- };
1566
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1567
- const contents = smithyClient.map({
1568
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
1569
- });
1570
- const data = parsedOutput.body;
1571
- const doc = smithyClient.take(data, {
1572
- message: smithyClient.expectString,
1573
- quotaCode: smithyClient.expectString,
1574
- serviceCode: smithyClient.expectString,
1575
- });
1576
- Object.assign(contents, doc);
1577
- const exception = new ThrottlingException({
1578
- $metadata: deserializeMetadata(parsedOutput),
1579
- ...contents,
1580
- });
1581
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1582
- };
1583
- const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
1584
- const contents = smithyClient.map({});
1585
- const data = parsedOutput.body;
1586
- const doc = smithyClient.take(data, {
1587
- message: smithyClient.expectString,
1588
- });
1589
- Object.assign(contents, doc);
1590
- const exception = new UnauthorizedException({
1591
- $metadata: deserializeMetadata(parsedOutput),
1592
- ...contents,
1593
- });
1594
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1595
- };
1596
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1597
- const contents = smithyClient.map({});
1598
- const data = parsedOutput.body;
1599
- const doc = smithyClient.take(data, {
1600
- message: smithyClient.expectString,
1601
- });
1602
- Object.assign(contents, doc);
1603
- const exception = new ValidationException({
1604
- $metadata: deserializeMetadata(parsedOutput),
1605
- ...contents,
1606
- });
1607
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1608
- };
1609
- const se_AppDefinitionInput = (input, context) => {
1610
- return smithyClient.take(input, {
1611
- cards: (_) => se_CardList(_),
1612
- initialPrompt: [],
1613
- });
1614
- };
1615
- const se_AttributeFilter = (input, context) => {
1616
- return smithyClient.take(input, {
1617
- andAllFilters: (_) => se_AttributeFilters(_),
1618
- containsAll: (_) => se_DocumentAttribute(_),
1619
- containsAny: (_) => se_DocumentAttribute(_),
1620
- equalsTo: (_) => se_DocumentAttribute(_),
1621
- greaterThan: (_) => se_DocumentAttribute(_),
1622
- greaterThanOrEquals: (_) => se_DocumentAttribute(_),
1623
- lessThan: (_) => se_DocumentAttribute(_),
1624
- lessThanOrEquals: (_) => se_DocumentAttribute(_),
1625
- notFilter: (_) => se_AttributeFilter(_),
1626
- orAllFilters: (_) => se_AttributeFilters(_),
1627
- });
1628
- };
1629
- const se_AttributeFilters = (input, context) => {
1630
- return input
1631
- .filter((e) => e != null)
1632
- .map((entry) => {
1633
- return se_AttributeFilter(entry);
1634
- });
1635
- };
1636
- const se_CardInput = (input, context) => {
1637
- return exports.CardInput.visit(input, {
1638
- fileUpload: (value) => ({ fileUpload: smithyClient._json(value) }),
1639
- formInput: (value) => ({ formInput: se_FormInputCardInput(value) }),
1640
- qPlugin: (value) => ({ qPlugin: smithyClient._json(value) }),
1641
- qQuery: (value) => ({ qQuery: se_QQueryCardInput(value) }),
1642
- textInput: (value) => ({ textInput: smithyClient._json(value) }),
1643
- _: (name, value) => ({ [name]: value }),
1644
- });
1645
- };
1646
- const se_CardList = (input, context) => {
1647
- return input
1648
- .filter((e) => e != null)
1649
- .map((entry) => {
1650
- return se_CardInput(entry);
1651
- });
1652
- };
1653
- const se_DocumentAttribute = (input, context) => {
1654
- return smithyClient.take(input, {
1655
- name: [],
1656
- value: (_) => se_DocumentAttributeValue(_),
1657
- });
1658
- };
1659
- const se_DocumentAttributeValue = (input, context) => {
1660
- return exports.DocumentAttributeValue.visit(input, {
1661
- dateValue: (value) => ({ dateValue: value.getTime() / 1_000 }),
1662
- longValue: (value) => ({ longValue: value }),
1663
- stringListValue: (value) => ({ stringListValue: smithyClient._json(value) }),
1664
- stringValue: (value) => ({ stringValue: value }),
1665
- _: (name, value) => ({ [name]: value }),
1666
- });
1667
- };
1668
- const se_FormInputCardInput = (input, context) => {
1669
- return smithyClient.take(input, {
1670
- computeMode: [],
1671
- id: [],
1672
- metadata: (_) => se_FormInputCardMetadata(_),
1673
- title: [],
1674
- type: [],
1675
- });
1676
- };
1677
- const se_FormInputCardMetadata = (input, context) => {
1678
- return smithyClient.take(input, {
1679
- schema: (_) => se_FormInputCardMetadataSchema(_),
1680
- });
1681
- };
1682
- const se_FormInputCardMetadataSchema = (input, context) => {
1683
- return input;
1684
- };
1685
- const se_QQueryCardInput = (input, context) => {
1686
- return smithyClient.take(input, {
1687
- attributeFilter: (_) => se_AttributeFilter(_),
1688
- id: [],
1689
- outputSource: [],
1690
- prompt: [],
1691
- title: [],
1692
- type: [],
1693
- });
1694
- };
1695
- const de_AppDefinition = (output, context) => {
1696
- return smithyClient.take(output, {
1697
- appDefinitionVersion: smithyClient.expectString,
1698
- canEdit: smithyClient.expectBoolean,
1699
- cards: (_) => de_CardModelList(_),
1700
- });
1701
- };
1702
- const de_AppDefinitionInput = (output, context) => {
1703
- return smithyClient.take(output, {
1704
- cards: (_) => de_CardList(_),
1705
- initialPrompt: smithyClient.expectString,
1706
- });
1707
- };
1708
- const de_AttributeFilter = (output, context) => {
1709
- return smithyClient.take(output, {
1710
- andAllFilters: (_) => de_AttributeFilters(_),
1711
- containsAll: (_) => de_DocumentAttribute(_),
1712
- containsAny: (_) => de_DocumentAttribute(_),
1713
- equalsTo: (_) => de_DocumentAttribute(_),
1714
- greaterThan: (_) => de_DocumentAttribute(_),
1715
- greaterThanOrEquals: (_) => de_DocumentAttribute(_),
1716
- lessThan: (_) => de_DocumentAttribute(_),
1717
- lessThanOrEquals: (_) => de_DocumentAttribute(_),
1718
- notFilter: (_) => de_AttributeFilter(_),
1719
- orAllFilters: (_) => de_AttributeFilters(_),
1720
- });
1721
- };
1722
- const de_AttributeFilters = (output, context) => {
1723
- const retVal = (output || [])
1724
- .filter((e) => e != null)
1725
- .map((entry) => {
1726
- return de_AttributeFilter(entry);
1727
- });
1728
- return retVal;
1729
- };
1730
- const de_Card = (output, context) => {
1731
- if (output.fileUpload != null) {
1732
- return {
1733
- fileUpload: smithyClient._json(output.fileUpload),
1734
- };
1735
- }
1736
- if (output.formInput != null) {
1737
- return {
1738
- formInput: de_FormInputCard(output.formInput),
1739
- };
1740
- }
1741
- if (output.qPlugin != null) {
1742
- return {
1743
- qPlugin: smithyClient._json(output.qPlugin),
1744
- };
1745
- }
1746
- if (output.qQuery != null) {
1747
- return {
1748
- qQuery: de_QQueryCard(output.qQuery),
1749
- };
1750
- }
1751
- if (output.textInput != null) {
1752
- return {
1753
- textInput: smithyClient._json(output.textInput),
1754
- };
1755
- }
1756
- return { $unknown: Object.entries(output)[0] };
1757
- };
1758
- const de_CardInput = (output, context) => {
1759
- if (output.fileUpload != null) {
1760
- return {
1761
- fileUpload: smithyClient._json(output.fileUpload),
1762
- };
1763
- }
1764
- if (output.formInput != null) {
1765
- return {
1766
- formInput: de_FormInputCardInput(output.formInput),
1767
- };
1768
- }
1769
- if (output.qPlugin != null) {
1770
- return {
1771
- qPlugin: smithyClient._json(output.qPlugin),
1772
- };
1773
- }
1774
- if (output.qQuery != null) {
1775
- return {
1776
- qQuery: de_QQueryCardInput(output.qQuery),
1777
- };
1778
- }
1779
- if (output.textInput != null) {
1780
- return {
1781
- textInput: smithyClient._json(output.textInput),
1782
- };
1783
- }
1784
- return { $unknown: Object.entries(output)[0] };
1785
- };
1786
- const de_CardList = (output, context) => {
1787
- const retVal = (output || [])
1788
- .filter((e) => e != null)
1789
- .map((entry) => {
1790
- return de_CardInput(core$1.awsExpectUnion(entry));
1791
- });
1792
- return retVal;
1793
- };
1794
- const de_CardModelList = (output, context) => {
1795
- const retVal = (output || [])
1796
- .filter((e) => e != null)
1797
- .map((entry) => {
1798
- return de_Card(core$1.awsExpectUnion(entry));
1799
- });
1800
- return retVal;
1801
- };
1802
- const de_CardStatus = (output, context) => {
1803
- return smithyClient.take(output, {
1804
- currentState: smithyClient.expectString,
1805
- currentValue: smithyClient.expectString,
1806
- submissions: (_) => de_SubmissionList(_),
1807
- });
1808
- };
1809
- const de_CardStatusMap = (output, context) => {
1810
- return Object.entries(output).reduce((acc, [key, value]) => {
1811
- if (value === null) {
1812
- return acc;
1813
- }
1814
- acc[key] = de_CardStatus(value);
1815
- return acc;
1816
- }, {});
1817
- };
1818
- const de_DocumentAttribute = (output, context) => {
1819
- return smithyClient.take(output, {
1820
- name: smithyClient.expectString,
1821
- value: (_) => de_DocumentAttributeValue(core$1.awsExpectUnion(_)),
1822
- });
1823
- };
1824
- const de_DocumentAttributeValue = (output, context) => {
1825
- if (output.dateValue != null) {
1826
- return {
1827
- dateValue: smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(output.dateValue))),
1828
- };
1829
- }
1830
- if (smithyClient.expectLong(output.longValue) !== undefined) {
1831
- return { longValue: smithyClient.expectLong(output.longValue) };
1832
- }
1833
- if (output.stringListValue != null) {
1834
- return {
1835
- stringListValue: smithyClient._json(output.stringListValue),
1836
- };
1837
- }
1838
- if (smithyClient.expectString(output.stringValue) !== undefined) {
1839
- return { stringValue: smithyClient.expectString(output.stringValue) };
1840
- }
1841
- return { $unknown: Object.entries(output)[0] };
1842
- };
1843
- const de_FormInputCard = (output, context) => {
1844
- return smithyClient.take(output, {
1845
- computeMode: smithyClient.expectString,
1846
- dependencies: smithyClient._json,
1847
- id: smithyClient.expectString,
1848
- metadata: (_) => de_FormInputCardMetadata(_),
1849
- title: smithyClient.expectString,
1850
- type: smithyClient.expectString,
1851
- });
1852
- };
1853
- const de_FormInputCardInput = (output, context) => {
1854
- return smithyClient.take(output, {
1855
- computeMode: smithyClient.expectString,
1856
- id: smithyClient.expectString,
1857
- metadata: (_) => de_FormInputCardMetadata(_),
1858
- title: smithyClient.expectString,
1859
- type: smithyClient.expectString,
1860
- });
1861
- };
1862
- const de_FormInputCardMetadata = (output, context) => {
1863
- return smithyClient.take(output, {
1864
- schema: (_) => de_FormInputCardMetadataSchema(_),
1865
- });
1866
- };
1867
- const de_FormInputCardMetadataSchema = (output, context) => {
1868
- return output;
1869
- };
1870
- const de_LibraryItemList = (output, context) => {
1871
- const retVal = (output || [])
1872
- .filter((e) => e != null)
1873
- .map((entry) => {
1874
- return de_LibraryItemMember(entry);
1875
- });
1876
- return retVal;
1877
- };
1878
- const de_LibraryItemMember = (output, context) => {
1879
- return smithyClient.take(output, {
1880
- appId: smithyClient.expectString,
1881
- appVersion: smithyClient.expectInt32,
1882
- categories: smithyClient._json,
1883
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1884
- createdBy: smithyClient.expectString,
1885
- isRatedByUser: smithyClient.expectBoolean,
1886
- isVerified: smithyClient.expectBoolean,
1887
- libraryItemId: smithyClient.expectString,
1888
- ratingCount: smithyClient.expectInt32,
1889
- status: smithyClient.expectString,
1890
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1891
- updatedBy: smithyClient.expectString,
1892
- userCount: smithyClient.expectInt32,
1893
- });
1894
- };
1895
- const de_PredictAppDefinition = (output, context) => {
1896
- return smithyClient.take(output, {
1897
- appDefinition: (_) => de_AppDefinitionInput(_),
1898
- description: smithyClient.expectString,
1899
- title: smithyClient.expectString,
1900
- });
1901
- };
1902
- const de_QAppSessionData = (output, context) => {
1903
- return smithyClient.take(output, {
1904
- cardId: smithyClient.expectString,
1905
- submissionId: smithyClient.expectString,
1906
- timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1907
- user: smithyClient._json,
1908
- value: (_) => de_Document(_),
1909
- });
1910
- };
1911
- const de_QAppSessionDataList = (output, context) => {
1912
- const retVal = (output || [])
1913
- .filter((e) => e != null)
1914
- .map((entry) => {
1915
- return de_QAppSessionData(entry);
1916
- });
1917
- return retVal;
1918
- };
1919
- const de_QQueryCard = (output, context) => {
1920
- return smithyClient.take(output, {
1921
- attributeFilter: (_) => de_AttributeFilter(_),
1922
- dependencies: smithyClient._json,
1923
- id: smithyClient.expectString,
1924
- memoryReferences: smithyClient._json,
1925
- outputSource: smithyClient.expectString,
1926
- prompt: smithyClient.expectString,
1927
- title: smithyClient.expectString,
1928
- type: smithyClient.expectString,
1929
- });
1930
- };
1931
- const de_QQueryCardInput = (output, context) => {
1932
- return smithyClient.take(output, {
1933
- attributeFilter: (_) => de_AttributeFilter(_),
1934
- id: smithyClient.expectString,
1935
- outputSource: smithyClient.expectString,
1936
- prompt: smithyClient.expectString,
1937
- title: smithyClient.expectString,
1938
- type: smithyClient.expectString,
1939
- });
1940
- };
1941
- const de_Submission = (output, context) => {
1942
- return smithyClient.take(output, {
1943
- submissionId: smithyClient.expectString,
1944
- timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1945
- value: (_) => de_Document(_),
1946
- });
1947
- };
1948
- const de_SubmissionList = (output, context) => {
1949
- const retVal = (output || [])
1950
- .filter((e) => e != null)
1951
- .map((entry) => {
1952
- return de_Submission(entry);
1953
- });
1954
- return retVal;
1955
- };
1956
- const de_UserAppItem = (output, context) => {
1957
- return smithyClient.take(output, {
1958
- appArn: smithyClient.expectString,
1959
- appId: smithyClient.expectString,
1960
- canEdit: smithyClient.expectBoolean,
1961
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1962
- description: smithyClient.expectString,
1963
- isVerified: smithyClient.expectBoolean,
1964
- status: smithyClient.expectString,
1965
- title: smithyClient.expectString,
1966
- });
1967
- };
1968
- const de_UserAppsList = (output, context) => {
1969
- const retVal = (output || [])
1970
- .filter((e) => e != null)
1971
- .map((entry) => {
1972
- return de_UserAppItem(entry);
1973
- });
1974
- return retVal;
1975
- };
1976
- const de_Document = (output, context) => {
1977
- return output;
1978
- };
1979
- const deserializeMetadata = (output) => ({
1980
- httpStatusCode: output.statusCode,
1981
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1982
- extendedRequestId: output.headers["x-amz-id-2"],
1983
- cfId: output.headers["x-amz-cf-id"],
1984
- });
336
+ const _AD = "AppDefinition";
337
+ const _ADE = "AccessDeniedException";
338
+ const _ADI = "AppDefinitionInput";
339
+ const _AF = "AttributeFilter";
340
+ const _AFt = "AttributeFilters";
341
+ const _ALIR = "AssociateLibraryItemReview";
342
+ const _ALIRI = "AssociateLibraryItemReviewInput";
343
+ const _AQAWU = "AssociateQAppWithUser";
344
+ const _AQAWUI = "AssociateQAppWithUserInput";
345
+ const _BCC = "BatchCreateCategory";
346
+ const _BCCI = "BatchCreateCategoryInput";
347
+ const _BCCIC = "BatchCreateCategoryInputCategory";
348
+ const _BCCICL = "BatchCreateCategoryInputCategoryList";
349
+ const _BDC = "BatchDeleteCategory";
350
+ const _BDCI = "BatchDeleteCategoryInput";
351
+ const _BUC = "BatchUpdateCategory";
352
+ const _BUCI = "BatchUpdateCategoryInput";
353
+ const _C = "Category";
354
+ const _CE = "ConflictException";
355
+ const _CI = "CategoryInput";
356
+ const _CIa = "CardInput";
357
+ const _CL = "CardList";
358
+ const _CLI = "CategoryListInput";
359
+ const _CLII = "CreateLibraryItemInput";
360
+ const _CLIO = "CreateLibraryItemOutput";
361
+ const _CLIr = "CreateLibraryItem";
362
+ const _CLa = "CategoriesList";
363
+ const _CLat = "CategoryList";
364
+ const _CM = "ConversationMessage";
365
+ const _CML = "CardModelList";
366
+ const _CPU = "CreatePresignedUrl";
367
+ const _CPUI = "CreatePresignedUrlInput";
368
+ const _CPUO = "CreatePresignedUrlOutput";
369
+ const _CQA = "CreateQApp";
370
+ const _CQAI = "CreateQAppInput";
371
+ const _CQAO = "CreateQAppOutput";
372
+ const _CS = "CardStatus";
373
+ const _CSM = "CardStatusMap";
374
+ const _CTLE = "ContentTooLargeException";
375
+ const _CV = "CardValue";
376
+ const _CVL = "CardValueList";
377
+ const _Ca = "Card";
378
+ const _DA = "DocumentAttribute";
379
+ const _DAV = "DocumentAttributeValue";
380
+ const _DLI = "DeleteLibraryItem";
381
+ const _DLII = "DeleteLibraryItemInput";
382
+ const _DLIR = "DisassociateLibraryItemReview";
383
+ const _DLIRI = "DisassociateLibraryItemReviewInput";
384
+ const _DQA = "DeleteQApp";
385
+ const _DQAFU = "DisassociateQAppFromUser";
386
+ const _DQAFUI = "DisassociateQAppFromUserInput";
387
+ const _DQAI = "DeleteQAppInput";
388
+ const _DQAP = "DescribeQAppPermissions";
389
+ const _DQAPI = "DescribeQAppPermissionsInput";
390
+ const _DQAPO = "DescribeQAppPermissionsOutput";
391
+ const _EQASD = "ExportQAppSessionData";
392
+ const _EQASDI = "ExportQAppSessionDataInput";
393
+ const _EQASDO = "ExportQAppSessionDataOutput";
394
+ const _FIC = "FormInputCard";
395
+ const _FICI = "FormInputCardInput";
396
+ const _FICM = "FormInputCardMetadata";
397
+ const _FUC = "FileUploadCard";
398
+ const _FUCI = "FileUploadCardInput";
399
+ const _GLI = "GetLibraryItem";
400
+ const _GLII = "GetLibraryItemInput";
401
+ const _GLIO = "GetLibraryItemOutput";
402
+ const _GQA = "GetQApp";
403
+ const _GQAI = "GetQAppInput";
404
+ const _GQAO = "GetQAppOutput";
405
+ const _GQAS = "GetQAppSession";
406
+ const _GQASI = "GetQAppSessionInput";
407
+ const _GQASM = "GetQAppSessionMetadata";
408
+ const _GQASMI = "GetQAppSessionMetadataInput";
409
+ const _GQASMO = "GetQAppSessionMetadataOutput";
410
+ const _GQASO = "GetQAppSessionOutput";
411
+ const _ID = "ImportDocument";
412
+ const _IDI = "ImportDocumentInput";
413
+ const _IDO = "ImportDocumentOutput";
414
+ const _ISE = "InternalServerException";
415
+ const _LC = "ListCategories";
416
+ const _LCI = "ListCategoriesInput";
417
+ const _LCO = "ListCategoriesOutput";
418
+ const _LIL = "LibraryItemList";
419
+ const _LIM = "LibraryItemMember";
420
+ const _LLI = "ListLibraryItems";
421
+ const _LLII = "ListLibraryItemsInput";
422
+ const _LLIO = "ListLibraryItemsOutput";
423
+ const _LQA = "ListQApps";
424
+ const _LQAI = "ListQAppsInput";
425
+ const _LQAO = "ListQAppsOutput";
426
+ const _LQASD = "ListQAppSessionData";
427
+ const _LQASDI = "ListQAppSessionDataInput";
428
+ const _LQASDO = "ListQAppSessionDataOutput";
429
+ const _LTFR = "ListTagsForResource";
430
+ const _LTFRR = "ListTagsForResourceRequest";
431
+ const _LTFRRi = "ListTagsForResourceResponse";
432
+ const _ML = "MessageList";
433
+ const _PAD = "PredictAppDefinition";
434
+ const _PI = "PermissionInput";
435
+ const _PIL = "PermissionsInputList";
436
+ const _PO = "PermissionOutput";
437
+ const _POL = "PermissionsOutputList";
438
+ const _POr = "PrincipalOutput";
439
+ const _PQA = "PredictQApp";
440
+ const _PQAI = "PredictQAppInput";
441
+ const _PQAIO = "PredictQAppInputOptions";
442
+ const _PQAO = "PredictQAppOutput";
443
+ const _QASD = "QAppSessionData";
444
+ const _QASDL = "QAppSessionDataList";
445
+ const _QPC = "QPluginCard";
446
+ const _QPCI = "QPluginCardInput";
447
+ const _QQC = "QQueryCard";
448
+ const _QQCI = "QQueryCardInput";
449
+ const _RA = "Retry-After";
450
+ const _RNFE = "ResourceNotFoundException";
451
+ const _S = "Submission";
452
+ const _SL = "SubmissionList";
453
+ const _SM = "SubmissionMutation";
454
+ const _SQAS = "StartQAppSession";
455
+ const _SQASI = "StartQAppSessionInput";
456
+ const _SQASIt = "StopQAppSessionInput";
457
+ const _SQASO = "StartQAppSessionOutput";
458
+ const _SQASt = "StopQAppSession";
459
+ const _SQEE = "ServiceQuotaExceededException";
460
+ const _SSC = "SessionSharingConfiguration";
461
+ const _TE = "ThrottlingException";
462
+ const _TIC = "TextInputCard";
463
+ const _TICI = "TextInputCardInput";
464
+ const _TR = "TagResource";
465
+ const _TRR = "TagResourceRequest";
466
+ const _TRRa = "TagResourceResponse";
467
+ const _U = "User";
468
+ const _UAI = "UserAppItem";
469
+ const _UAL = "UserAppsList";
470
+ const _UE = "UnauthorizedException";
471
+ const _ULI = "UpdateLibraryItem";
472
+ const _ULII = "UpdateLibraryItemInput";
473
+ const _ULIM = "UpdateLibraryItemMetadata";
474
+ const _ULIMI = "UpdateLibraryItemMetadataInput";
475
+ const _ULIO = "UpdateLibraryItemOutput";
476
+ const _UQA = "UpdateQApp";
477
+ const _UQAI = "UpdateQAppInput";
478
+ const _UQAO = "UpdateQAppOutput";
479
+ const _UQAP = "UpdateQAppPermissions";
480
+ const _UQAPI = "UpdateQAppPermissionsInput";
481
+ const _UQAPO = "UpdateQAppPermissionsOutput";
482
+ const _UQAS = "UpdateQAppSession";
483
+ const _UQASI = "UpdateQAppSessionInput";
484
+ const _UQASM = "UpdateQAppSessionMetadata";
485
+ const _UQASMI = "UpdateQAppSessionMetadataInput";
486
+ const _UQASMO = "UpdateQAppSessionMetadataOutput";
487
+ const _UQASO = "UpdateQAppSessionOutput";
488
+ const _UR = "UntagResource";
489
+ const _URR = "UntagResourceRequest";
490
+ const _URRn = "UntagResourceResponse";
491
+ const _VE = "ValidationException";
492
+ const _a = "apps";
493
+ const _aA = "appArn";
494
+ const _aAF = "andAllFilters";
495
+ const _aC = "appCount";
496
+ const _aD = "appDefinition";
497
+ const _aDV = "appDefinitionVersion";
498
+ const _aF = "attributeFilter";
1985
499
  const _aI = "appId";
500
+ const _aIc = "actionIdentifier";
501
+ const _aO = "allowOverride";
502
+ const _aR = "acceptResponses";
1986
503
  const _aV = "appVersion";
1987
- const _cI = "categoryId";
504
+ const _ac = "action";
505
+ const _ap = "app";
506
+ const _b = "body";
507
+ const _c = "client";
508
+ const _cA = "containsAll";
509
+ const _cAo = "containsAny";
510
+ const _cAr = "createdAt";
511
+ const _cB = "createdBy";
512
+ const _cE = "canEdit";
513
+ const _cFL = "csvFileLink";
514
+ const _cI = "cardId";
515
+ const _cIa = "categoryId";
516
+ const _cM = "computeMode";
517
+ const _cS = "currentState";
518
+ const _cSa = "cardStatus";
519
+ const _cV = "currentValue";
520
+ const _ca = "cards";
521
+ const _cat = "categories";
522
+ const _co = "color";
523
+ const _con = "conversation";
524
+ const _d = "description";
525
+ const _dV = "defaultValue";
526
+ const _dVa = "dateValue";
527
+ const _de = "dependencies";
528
+ const _e = "error";
529
+ const _eA = "expiresAt";
530
+ const _eT = "equalsTo";
531
+ const _em = "email";
532
+ const _en = "enabled";
533
+ const _f = "filename";
534
+ const _fCB = "fileContentsBase64";
535
+ const _fCS = "fileContentsSha256";
536
+ const _fI = "fileId";
537
+ const _fIo = "formInput";
538
+ const _fN = "fileName";
539
+ const _fU = "fileUpload";
540
+ const _gP = "grantPermissions";
541
+ const _gT = "greaterThan";
542
+ const _gTOE = "greaterThanOrEquals";
543
+ const _h = "http";
544
+ const _hE = "httpError";
545
+ const _hH = "httpHeader";
546
+ const _hQ = "httpQuery";
547
+ const _i = "id";
1988
548
  const _iI = "instanceId";
549
+ const _iP = "initialPrompt";
550
+ const _iRBU = "isRatedByUser";
551
+ const _iV = "isVerified";
552
+ const _iVn = "initialValues";
1989
553
  const _ii = "instance-id";
1990
554
  const _l = "limit";
555
+ const _lI = "libraryItems";
1991
556
  const _lII = "libraryItemId";
557
+ const _lPAV = "latestPublishedAppVersion";
558
+ const _lT = "lessThan";
559
+ const _lTOE = "lessThanOrEquals";
560
+ const _lV = "longValue";
561
+ const _m = "message";
562
+ const _mR = "memoryReferences";
563
+ const _mT = "mutationType";
564
+ const _me = "metadata";
565
+ const _n = "name";
566
+ const _nF = "notFilter";
1992
567
  const _nT = "nextToken";
568
+ const _o = "options";
569
+ const _oAF = "orAllFilters";
570
+ const _oS = "outputSource";
571
+ const _p = "permissions";
572
+ const _pI = "pluginId";
573
+ const _pS = "problemStatement";
574
+ const _pT = "pluginType";
575
+ const _pU = "presignedUrl";
576
+ const _pUE = "presignedUrlExpiration";
577
+ const _pUF = "presignedUrlFields";
578
+ const _pl = "placeholder";
579
+ const _pr = "principal";
580
+ const _pro = "prompt";
581
+ const _qC = "quotaCode";
582
+ const _qP = "qPlugin";
583
+ const _qQ = "qQuery";
584
+ const _rA = "resourceArn";
585
+ const _rARN = "resourceARN";
1993
586
  const _rAS = "retryAfterSeconds";
1994
- const _ra = "retry-after";
587
+ const _rC = "ratingCount";
588
+ const _rCe = "requiredCapabilities";
589
+ const _rCev = "revealCards";
590
+ const _rI = "resourceId";
591
+ const _rP = "revokePermissions";
592
+ const _rT = "resourceType";
593
+ const _s = "submissions";
594
+ const _sA = "sessionArn";
595
+ const _sC = "sharingConfiguration";
596
+ const _sCe = "serviceCode";
597
+ const _sD = "sessionData";
1995
598
  const _sI = "sessionId";
599
+ const _sIu = "submissionId";
600
+ const _sLV = "stringListValue";
601
+ const _sM = "submissionMutation";
602
+ const _sN = "sessionName";
603
+ const _sO = "sessionOwner";
604
+ const _sV = "stringValue";
605
+ const _sc = "scope";
606
+ const _sch = "schema";
607
+ const _se = "server";
608
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.qapps";
609
+ const _st = "status";
610
+ const _t = "title";
611
+ const _tI = "textInput";
1996
612
  const _tK = "tagKeys";
613
+ const _ta = "tags";
614
+ const _ti = "timestamp";
615
+ const _ty = "type";
616
+ const _u = "user";
617
+ const _uA = "updatedAt";
618
+ const _uB = "updatedBy";
619
+ const _uC = "userCount";
620
+ const _uI = "userId";
621
+ const _uIH = "userIsHost";
622
+ const _uT = "userType";
623
+ const _v = "value";
624
+ const _va = "values";
625
+ const n0 = "com.amazonaws.qapps";
626
+ var AccessDeniedException = [
627
+ -3,
628
+ n0,
629
+ _ADE,
630
+ {
631
+ [_e]: _c,
632
+ [_hE]: 403,
633
+ },
634
+ [_m],
635
+ [0],
636
+ ];
637
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
638
+ var AppDefinition = [3, n0, _AD, 0, [_aDV, _ca, _cE], [0, () => CardModelList, 2]];
639
+ var AppDefinitionInput = [3, n0, _ADI, 0, [_ca, _iP], [() => CardList, 0]];
640
+ var AssociateLibraryItemReviewInput = [
641
+ 3,
642
+ n0,
643
+ _ALIRI,
644
+ 0,
645
+ [_iI, _lII],
646
+ [
647
+ [
648
+ 0,
649
+ {
650
+ [_hH]: _ii,
651
+ },
652
+ ],
653
+ 0,
654
+ ],
655
+ ];
656
+ var AssociateQAppWithUserInput = [
657
+ 3,
658
+ n0,
659
+ _AQAWUI,
660
+ 0,
661
+ [_iI, _aI],
662
+ [
663
+ [
664
+ 0,
665
+ {
666
+ [_hH]: _ii,
667
+ },
668
+ ],
669
+ 0,
670
+ ],
671
+ ];
672
+ var AttributeFilter = [
673
+ 3,
674
+ n0,
675
+ _AF,
676
+ 0,
677
+ [_aAF, _oAF, _nF, _eT, _cA, _cAo, _gT, _gTOE, _lT, _lTOE],
678
+ [
679
+ () => AttributeFilters,
680
+ () => AttributeFilters,
681
+ () => AttributeFilter,
682
+ () => DocumentAttribute,
683
+ () => DocumentAttribute,
684
+ () => DocumentAttribute,
685
+ () => DocumentAttribute,
686
+ () => DocumentAttribute,
687
+ () => DocumentAttribute,
688
+ () => DocumentAttribute,
689
+ ],
690
+ ];
691
+ var BatchCreateCategoryInput = [
692
+ 3,
693
+ n0,
694
+ _BCCI,
695
+ 0,
696
+ [_iI, _cat],
697
+ [
698
+ [
699
+ 0,
700
+ {
701
+ [_hH]: _ii,
702
+ },
703
+ ],
704
+ () => BatchCreateCategoryInputCategoryList,
705
+ ],
706
+ ];
707
+ var BatchCreateCategoryInputCategory = [3, n0, _BCCIC, 0, [_i, _t, _co], [0, 0, 0]];
708
+ var BatchDeleteCategoryInput = [
709
+ 3,
710
+ n0,
711
+ _BDCI,
712
+ 0,
713
+ [_iI, _cat],
714
+ [
715
+ [
716
+ 0,
717
+ {
718
+ [_hH]: _ii,
719
+ },
720
+ ],
721
+ 64 | 0,
722
+ ],
723
+ ];
724
+ var BatchUpdateCategoryInput = [
725
+ 3,
726
+ n0,
727
+ _BUCI,
728
+ 0,
729
+ [_iI, _cat],
730
+ [
731
+ [
732
+ 0,
733
+ {
734
+ [_hH]: _ii,
735
+ },
736
+ ],
737
+ () => CategoryListInput,
738
+ ],
739
+ ];
740
+ var CardStatus = [3, n0, _CS, 0, [_cS, _cV, _s], [0, 0, () => SubmissionList]];
741
+ var CardValue = [3, n0, _CV, 0, [_cI, _v, _sM], [0, 0, () => SubmissionMutation]];
742
+ var Category = [3, n0, _C, 0, [_i, _t, _co, _aC], [0, 0, 0, 1]];
743
+ var CategoryInput = [3, n0, _CI, 0, [_i, _t, _co], [0, 0, 0]];
744
+ var ConflictException = [
745
+ -3,
746
+ n0,
747
+ _CE,
748
+ {
749
+ [_e]: _c,
750
+ [_hE]: 409,
751
+ },
752
+ [_m, _rI, _rT],
753
+ [0, 0, 0],
754
+ ];
755
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
756
+ var ContentTooLargeException = [
757
+ -3,
758
+ n0,
759
+ _CTLE,
760
+ {
761
+ [_e]: _c,
762
+ [_hE]: 413,
763
+ },
764
+ [_m, _rI, _rT],
765
+ [0, 0, 0],
766
+ ];
767
+ schema.TypeRegistry.for(n0).registerError(ContentTooLargeException, ContentTooLargeException$1);
768
+ var ConversationMessage = [3, n0, _CM, 0, [_b, _ty], [0, 0]];
769
+ var CreateLibraryItemInput = [
770
+ 3,
771
+ n0,
772
+ _CLII,
773
+ 0,
774
+ [_iI, _aI, _aV, _cat],
775
+ [
776
+ [
777
+ 0,
778
+ {
779
+ [_hH]: _ii,
780
+ },
781
+ ],
782
+ 0,
783
+ 1,
784
+ 64 | 0,
785
+ ],
786
+ ];
787
+ var CreateLibraryItemOutput = [
788
+ 3,
789
+ n0,
790
+ _CLIO,
791
+ 0,
792
+ [_lII, _st, _cAr, _cB, _uA, _uB, _rC, _iV],
793
+ [0, 0, 5, 0, 5, 0, 1, 2],
794
+ ];
795
+ var CreatePresignedUrlInput = [
796
+ 3,
797
+ n0,
798
+ _CPUI,
799
+ 0,
800
+ [_iI, _cI, _aI, _fCS, _fN, _sc, _sI],
801
+ [
802
+ [
803
+ 0,
804
+ {
805
+ [_hH]: _ii,
806
+ },
807
+ ],
808
+ 0,
809
+ 0,
810
+ 0,
811
+ 0,
812
+ 0,
813
+ 0,
814
+ ],
815
+ ];
816
+ var CreatePresignedUrlOutput = [
817
+ 3,
818
+ n0,
819
+ _CPUO,
820
+ 0,
821
+ [_fI, _pU, _pUF, _pUE],
822
+ [0, 0, 128 | 0, 5],
823
+ ];
824
+ var CreateQAppInput = [
825
+ 3,
826
+ n0,
827
+ _CQAI,
828
+ 0,
829
+ [_iI, _t, _d, _aD, _ta],
830
+ [
831
+ [
832
+ 0,
833
+ {
834
+ [_hH]: _ii,
835
+ },
836
+ ],
837
+ 0,
838
+ 0,
839
+ () => AppDefinitionInput,
840
+ 128 | 0,
841
+ ],
842
+ ];
843
+ var CreateQAppOutput = [
844
+ 3,
845
+ n0,
846
+ _CQAO,
847
+ 0,
848
+ [_aI, _aA, _t, _d, _iP, _aV, _st, _cAr, _cB, _uA, _uB, _rCe],
849
+ [0, 0, 0, 0, 0, 1, 0, 5, 0, 5, 0, 64 | 0],
850
+ ];
851
+ var DeleteLibraryItemInput = [
852
+ 3,
853
+ n0,
854
+ _DLII,
855
+ 0,
856
+ [_iI, _lII],
857
+ [
858
+ [
859
+ 0,
860
+ {
861
+ [_hH]: _ii,
862
+ },
863
+ ],
864
+ 0,
865
+ ],
866
+ ];
867
+ var DeleteQAppInput = [
868
+ 3,
869
+ n0,
870
+ _DQAI,
871
+ 0,
872
+ [_iI, _aI],
873
+ [
874
+ [
875
+ 0,
876
+ {
877
+ [_hH]: _ii,
878
+ },
879
+ ],
880
+ 0,
881
+ ],
882
+ ];
883
+ var DescribeQAppPermissionsInput = [
884
+ 3,
885
+ n0,
886
+ _DQAPI,
887
+ 0,
888
+ [_iI, _aI],
889
+ [
890
+ [
891
+ 0,
892
+ {
893
+ [_hH]: _ii,
894
+ },
895
+ ],
896
+ [
897
+ 0,
898
+ {
899
+ [_hQ]: _aI,
900
+ },
901
+ ],
902
+ ],
903
+ ];
904
+ var DescribeQAppPermissionsOutput = [
905
+ 3,
906
+ n0,
907
+ _DQAPO,
908
+ 0,
909
+ [_rA, _aI, _p],
910
+ [0, 0, () => PermissionsOutputList],
911
+ ];
912
+ var DisassociateLibraryItemReviewInput = [
913
+ 3,
914
+ n0,
915
+ _DLIRI,
916
+ 0,
917
+ [_iI, _lII],
918
+ [
919
+ [
920
+ 0,
921
+ {
922
+ [_hH]: _ii,
923
+ },
924
+ ],
925
+ 0,
926
+ ],
927
+ ];
928
+ var DisassociateQAppFromUserInput = [
929
+ 3,
930
+ n0,
931
+ _DQAFUI,
932
+ 0,
933
+ [_iI, _aI],
934
+ [
935
+ [
936
+ 0,
937
+ {
938
+ [_hH]: _ii,
939
+ },
940
+ ],
941
+ 0,
942
+ ],
943
+ ];
944
+ var DocumentAttribute = [3, n0, _DA, 0, [_n, _v], [0, () => DocumentAttributeValue]];
945
+ var ExportQAppSessionDataInput = [
946
+ 3,
947
+ n0,
948
+ _EQASDI,
949
+ 0,
950
+ [_iI, _sI],
951
+ [
952
+ [
953
+ 0,
954
+ {
955
+ [_hH]: _ii,
956
+ },
957
+ ],
958
+ 0,
959
+ ],
960
+ ];
961
+ var ExportQAppSessionDataOutput = [3, n0, _EQASDO, 0, [_cFL, _eA, _sA], [0, 5, 0]];
962
+ var FileUploadCard = [
963
+ 3,
964
+ n0,
965
+ _FUC,
966
+ 0,
967
+ [_i, _t, _de, _ty, _f, _fI, _aO],
968
+ [0, 0, 64 | 0, 0, 0, 0, 2],
969
+ ];
970
+ var FileUploadCardInput = [
971
+ 3,
972
+ n0,
973
+ _FUCI,
974
+ 0,
975
+ [_t, _i, _ty, _f, _fI, _aO],
976
+ [0, 0, 0, 0, 0, 2],
977
+ ];
978
+ var FormInputCard = [
979
+ 3,
980
+ n0,
981
+ _FIC,
982
+ 0,
983
+ [_i, _t, _de, _ty, _me, _cM],
984
+ [0, 0, 64 | 0, 0, () => FormInputCardMetadata, 0],
985
+ ];
986
+ var FormInputCardInput = [
987
+ 3,
988
+ n0,
989
+ _FICI,
990
+ 0,
991
+ [_t, _i, _ty, _me, _cM],
992
+ [0, 0, 0, () => FormInputCardMetadata, 0],
993
+ ];
994
+ var FormInputCardMetadata = [3, n0, _FICM, 0, [_sch], [15]];
995
+ var GetLibraryItemInput = [
996
+ 3,
997
+ n0,
998
+ _GLII,
999
+ 0,
1000
+ [_iI, _lII, _aI],
1001
+ [
1002
+ [
1003
+ 0,
1004
+ {
1005
+ [_hH]: _ii,
1006
+ },
1007
+ ],
1008
+ [
1009
+ 0,
1010
+ {
1011
+ [_hQ]: _lII,
1012
+ },
1013
+ ],
1014
+ [
1015
+ 0,
1016
+ {
1017
+ [_hQ]: _aI,
1018
+ },
1019
+ ],
1020
+ ],
1021
+ ];
1022
+ var GetLibraryItemOutput = [
1023
+ 3,
1024
+ n0,
1025
+ _GLIO,
1026
+ 0,
1027
+ [_lII, _aI, _aV, _cat, _st, _cAr, _cB, _uA, _uB, _rC, _iRBU, _uC, _iV],
1028
+ [0, 0, 1, () => CategoryList, 0, 5, 0, 5, 0, 1, 2, 1, 2],
1029
+ ];
1030
+ var GetQAppInput = [
1031
+ 3,
1032
+ n0,
1033
+ _GQAI,
1034
+ 0,
1035
+ [_iI, _aI, _aV],
1036
+ [
1037
+ [
1038
+ 0,
1039
+ {
1040
+ [_hH]: _ii,
1041
+ },
1042
+ ],
1043
+ [
1044
+ 0,
1045
+ {
1046
+ [_hQ]: _aI,
1047
+ },
1048
+ ],
1049
+ [
1050
+ 1,
1051
+ {
1052
+ [_hQ]: _aV,
1053
+ },
1054
+ ],
1055
+ ],
1056
+ ];
1057
+ var GetQAppOutput = [
1058
+ 3,
1059
+ n0,
1060
+ _GQAO,
1061
+ 0,
1062
+ [_aI, _aA, _t, _d, _iP, _aV, _st, _cAr, _cB, _uA, _uB, _rCe, _aD],
1063
+ [0, 0, 0, 0, 0, 1, 0, 5, 0, 5, 0, 64 | 0, () => AppDefinition],
1064
+ ];
1065
+ var GetQAppSessionInput = [
1066
+ 3,
1067
+ n0,
1068
+ _GQASI,
1069
+ 0,
1070
+ [_iI, _sI],
1071
+ [
1072
+ [
1073
+ 0,
1074
+ {
1075
+ [_hH]: _ii,
1076
+ },
1077
+ ],
1078
+ [
1079
+ 0,
1080
+ {
1081
+ [_hQ]: _sI,
1082
+ },
1083
+ ],
1084
+ ],
1085
+ ];
1086
+ var GetQAppSessionMetadataInput = [
1087
+ 3,
1088
+ n0,
1089
+ _GQASMI,
1090
+ 0,
1091
+ [_iI, _sI],
1092
+ [
1093
+ [
1094
+ 0,
1095
+ {
1096
+ [_hH]: _ii,
1097
+ },
1098
+ ],
1099
+ [
1100
+ 0,
1101
+ {
1102
+ [_hQ]: _sI,
1103
+ },
1104
+ ],
1105
+ ],
1106
+ ];
1107
+ var GetQAppSessionMetadataOutput = [
1108
+ 3,
1109
+ n0,
1110
+ _GQASMO,
1111
+ 0,
1112
+ [_sI, _sA, _sN, _sC, _sO],
1113
+ [0, 0, 0, () => SessionSharingConfiguration, 2],
1114
+ ];
1115
+ var GetQAppSessionOutput = [
1116
+ 3,
1117
+ n0,
1118
+ _GQASO,
1119
+ 0,
1120
+ [_sI, _sA, _sN, _aV, _lPAV, _st, _cSa, _uIH],
1121
+ [0, 0, 0, 1, 1, 0, () => CardStatusMap, 2],
1122
+ ];
1123
+ var ImportDocumentInput = [
1124
+ 3,
1125
+ n0,
1126
+ _IDI,
1127
+ 0,
1128
+ [_iI, _cI, _aI, _fCB, _fN, _sc, _sI],
1129
+ [
1130
+ [
1131
+ 0,
1132
+ {
1133
+ [_hH]: _ii,
1134
+ },
1135
+ ],
1136
+ 0,
1137
+ 0,
1138
+ 0,
1139
+ 0,
1140
+ 0,
1141
+ 0,
1142
+ ],
1143
+ ];
1144
+ var ImportDocumentOutput = [3, n0, _IDO, 0, [_fI], [0]];
1145
+ var InternalServerException = [
1146
+ -3,
1147
+ n0,
1148
+ _ISE,
1149
+ {
1150
+ [_e]: _se,
1151
+ [_hE]: 500,
1152
+ },
1153
+ [_m, _rAS],
1154
+ [
1155
+ 0,
1156
+ [
1157
+ 1,
1158
+ {
1159
+ [_hH]: _RA,
1160
+ },
1161
+ ],
1162
+ ],
1163
+ ];
1164
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1165
+ var LibraryItemMember = [
1166
+ 3,
1167
+ n0,
1168
+ _LIM,
1169
+ 0,
1170
+ [_lII, _aI, _aV, _cat, _st, _cAr, _cB, _uA, _uB, _rC, _iRBU, _uC, _iV],
1171
+ [0, 0, 1, () => CategoryList, 0, 5, 0, 5, 0, 1, 2, 1, 2],
1172
+ ];
1173
+ var ListCategoriesInput = [
1174
+ 3,
1175
+ n0,
1176
+ _LCI,
1177
+ 0,
1178
+ [_iI],
1179
+ [
1180
+ [
1181
+ 0,
1182
+ {
1183
+ [_hH]: _ii,
1184
+ },
1185
+ ],
1186
+ ],
1187
+ ];
1188
+ var ListCategoriesOutput = [3, n0, _LCO, 0, [_cat], [() => CategoriesList]];
1189
+ var ListLibraryItemsInput = [
1190
+ 3,
1191
+ n0,
1192
+ _LLII,
1193
+ 0,
1194
+ [_iI, _l, _nT, _cIa],
1195
+ [
1196
+ [
1197
+ 0,
1198
+ {
1199
+ [_hH]: _ii,
1200
+ },
1201
+ ],
1202
+ [
1203
+ 1,
1204
+ {
1205
+ [_hQ]: _l,
1206
+ },
1207
+ ],
1208
+ [
1209
+ 0,
1210
+ {
1211
+ [_hQ]: _nT,
1212
+ },
1213
+ ],
1214
+ [
1215
+ 0,
1216
+ {
1217
+ [_hQ]: _cIa,
1218
+ },
1219
+ ],
1220
+ ],
1221
+ ];
1222
+ var ListLibraryItemsOutput = [3, n0, _LLIO, 0, [_lI, _nT], [() => LibraryItemList, 0]];
1223
+ var ListQAppSessionDataInput = [
1224
+ 3,
1225
+ n0,
1226
+ _LQASDI,
1227
+ 0,
1228
+ [_iI, _sI],
1229
+ [
1230
+ [
1231
+ 0,
1232
+ {
1233
+ [_hH]: _ii,
1234
+ },
1235
+ ],
1236
+ [
1237
+ 0,
1238
+ {
1239
+ [_hQ]: _sI,
1240
+ },
1241
+ ],
1242
+ ],
1243
+ ];
1244
+ var ListQAppSessionDataOutput = [
1245
+ 3,
1246
+ n0,
1247
+ _LQASDO,
1248
+ 0,
1249
+ [_sI, _sA, _sD, _nT],
1250
+ [0, 0, () => QAppSessionDataList, 0],
1251
+ ];
1252
+ var ListQAppsInput = [
1253
+ 3,
1254
+ n0,
1255
+ _LQAI,
1256
+ 0,
1257
+ [_iI, _l, _nT],
1258
+ [
1259
+ [
1260
+ 0,
1261
+ {
1262
+ [_hH]: _ii,
1263
+ },
1264
+ ],
1265
+ [
1266
+ 1,
1267
+ {
1268
+ [_hQ]: _l,
1269
+ },
1270
+ ],
1271
+ [
1272
+ 0,
1273
+ {
1274
+ [_hQ]: _nT,
1275
+ },
1276
+ ],
1277
+ ],
1278
+ ];
1279
+ var ListQAppsOutput = [3, n0, _LQAO, 0, [_a, _nT], [() => UserAppsList, 0]];
1280
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rARN], [[0, 1]]];
1281
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [128 | 0]];
1282
+ var PermissionInput = [3, n0, _PI, 0, [_ac, _pr], [0, 0]];
1283
+ var PermissionOutput = [3, n0, _PO, 0, [_ac, _pr], [0, () => PrincipalOutput]];
1284
+ var PredictAppDefinition = [
1285
+ 3,
1286
+ n0,
1287
+ _PAD,
1288
+ 0,
1289
+ [_t, _d, _aD],
1290
+ [0, 0, () => AppDefinitionInput],
1291
+ ];
1292
+ var PredictQAppInput = [
1293
+ 3,
1294
+ n0,
1295
+ _PQAI,
1296
+ 0,
1297
+ [_iI, _o],
1298
+ [
1299
+ [
1300
+ 0,
1301
+ {
1302
+ [_hH]: _ii,
1303
+ },
1304
+ ],
1305
+ () => PredictQAppInputOptions,
1306
+ ],
1307
+ ];
1308
+ var PredictQAppOutput = [3, n0, _PQAO, 0, [_ap, _pS], [() => PredictAppDefinition, 0]];
1309
+ var PrincipalOutput = [3, n0, _POr, 0, [_uI, _uT, _em], [0, 0, 0]];
1310
+ var QAppSessionData = [
1311
+ 3,
1312
+ n0,
1313
+ _QASD,
1314
+ 0,
1315
+ [_cI, _v, _u, _sIu, _ti],
1316
+ [0, 15, () => User, 0, 5],
1317
+ ];
1318
+ var QPluginCard = [
1319
+ 3,
1320
+ n0,
1321
+ _QPC,
1322
+ 0,
1323
+ [_i, _t, _de, _ty, _pro, _pT, _pI, _aIc],
1324
+ [0, 0, 64 | 0, 0, 0, 0, 0, 0],
1325
+ ];
1326
+ var QPluginCardInput = [
1327
+ 3,
1328
+ n0,
1329
+ _QPCI,
1330
+ 0,
1331
+ [_t, _i, _ty, _pro, _pI, _aIc],
1332
+ [0, 0, 0, 0, 0, 0],
1333
+ ];
1334
+ var QQueryCard = [
1335
+ 3,
1336
+ n0,
1337
+ _QQC,
1338
+ 0,
1339
+ [_i, _t, _de, _ty, _pro, _oS, _aF, _mR],
1340
+ [0, 0, 64 | 0, 0, 0, 0, () => AttributeFilter, 64 | 0],
1341
+ ];
1342
+ var QQueryCardInput = [
1343
+ 3,
1344
+ n0,
1345
+ _QQCI,
1346
+ 0,
1347
+ [_t, _i, _ty, _pro, _oS, _aF],
1348
+ [0, 0, 0, 0, 0, () => AttributeFilter],
1349
+ ];
1350
+ var ResourceNotFoundException = [
1351
+ -3,
1352
+ n0,
1353
+ _RNFE,
1354
+ {
1355
+ [_e]: _c,
1356
+ [_hE]: 404,
1357
+ },
1358
+ [_m, _rI, _rT],
1359
+ [0, 0, 0],
1360
+ ];
1361
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1362
+ var ServiceQuotaExceededException = [
1363
+ -3,
1364
+ n0,
1365
+ _SQEE,
1366
+ {
1367
+ [_e]: _c,
1368
+ [_hE]: 402,
1369
+ },
1370
+ [_m, _rI, _rT, _sCe, _qC],
1371
+ [0, 0, 0, 0, 0],
1372
+ ];
1373
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1374
+ var SessionSharingConfiguration = [3, n0, _SSC, 0, [_en, _aR, _rCev], [2, 2, 2]];
1375
+ var StartQAppSessionInput = [
1376
+ 3,
1377
+ n0,
1378
+ _SQASI,
1379
+ 0,
1380
+ [_iI, _aI, _aV, _iVn, _sI, _ta],
1381
+ [
1382
+ [
1383
+ 0,
1384
+ {
1385
+ [_hH]: _ii,
1386
+ },
1387
+ ],
1388
+ 0,
1389
+ 1,
1390
+ () => CardValueList,
1391
+ 0,
1392
+ 128 | 0,
1393
+ ],
1394
+ ];
1395
+ var StartQAppSessionOutput = [3, n0, _SQASO, 0, [_sI, _sA], [0, 0]];
1396
+ var StopQAppSessionInput = [
1397
+ 3,
1398
+ n0,
1399
+ _SQASIt,
1400
+ 0,
1401
+ [_iI, _sI],
1402
+ [
1403
+ [
1404
+ 0,
1405
+ {
1406
+ [_hH]: _ii,
1407
+ },
1408
+ ],
1409
+ 0,
1410
+ ],
1411
+ ];
1412
+ var Submission = [3, n0, _S, 0, [_v, _sIu, _ti], [15, 0, 5]];
1413
+ var SubmissionMutation = [3, n0, _SM, 0, [_sIu, _mT], [0, 0]];
1414
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rARN, _ta], [[0, 1], 128 | 0]];
1415
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1416
+ var TextInputCard = [
1417
+ 3,
1418
+ n0,
1419
+ _TIC,
1420
+ 0,
1421
+ [_i, _t, _de, _ty, _pl, _dV],
1422
+ [0, 0, 64 | 0, 0, 0, 0],
1423
+ ];
1424
+ var TextInputCardInput = [3, n0, _TICI, 0, [_t, _i, _ty, _pl, _dV], [0, 0, 0, 0, 0]];
1425
+ var ThrottlingException = [
1426
+ -3,
1427
+ n0,
1428
+ _TE,
1429
+ {
1430
+ [_e]: _c,
1431
+ [_hE]: 429,
1432
+ },
1433
+ [_m, _sCe, _qC, _rAS],
1434
+ [
1435
+ 0,
1436
+ 0,
1437
+ 0,
1438
+ [
1439
+ 1,
1440
+ {
1441
+ [_hH]: _RA,
1442
+ },
1443
+ ],
1444
+ ],
1445
+ ];
1446
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1447
+ var UnauthorizedException = [
1448
+ -3,
1449
+ n0,
1450
+ _UE,
1451
+ {
1452
+ [_e]: _c,
1453
+ [_hE]: 401,
1454
+ },
1455
+ [_m],
1456
+ [0],
1457
+ ];
1458
+ schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
1459
+ var UntagResourceRequest = [
1460
+ 3,
1461
+ n0,
1462
+ _URR,
1463
+ 0,
1464
+ [_rARN, _tK],
1465
+ [
1466
+ [0, 1],
1467
+ [
1468
+ 64 | 0,
1469
+ {
1470
+ [_hQ]: _tK,
1471
+ },
1472
+ ],
1473
+ ],
1474
+ ];
1475
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1476
+ var UpdateLibraryItemInput = [
1477
+ 3,
1478
+ n0,
1479
+ _ULII,
1480
+ 0,
1481
+ [_iI, _lII, _st, _cat],
1482
+ [
1483
+ [
1484
+ 0,
1485
+ {
1486
+ [_hH]: _ii,
1487
+ },
1488
+ ],
1489
+ 0,
1490
+ 0,
1491
+ 64 | 0,
1492
+ ],
1493
+ ];
1494
+ var UpdateLibraryItemMetadataInput = [
1495
+ 3,
1496
+ n0,
1497
+ _ULIMI,
1498
+ 0,
1499
+ [_iI, _lII, _iV],
1500
+ [
1501
+ [
1502
+ 0,
1503
+ {
1504
+ [_hH]: _ii,
1505
+ },
1506
+ ],
1507
+ 0,
1508
+ 2,
1509
+ ],
1510
+ ];
1511
+ var UpdateLibraryItemOutput = [
1512
+ 3,
1513
+ n0,
1514
+ _ULIO,
1515
+ 0,
1516
+ [_lII, _aI, _aV, _cat, _st, _cAr, _cB, _uA, _uB, _rC, _iRBU, _uC, _iV],
1517
+ [0, 0, 1, () => CategoryList, 0, 5, 0, 5, 0, 1, 2, 1, 2],
1518
+ ];
1519
+ var UpdateQAppInput = [
1520
+ 3,
1521
+ n0,
1522
+ _UQAI,
1523
+ 0,
1524
+ [_iI, _aI, _t, _d, _aD],
1525
+ [
1526
+ [
1527
+ 0,
1528
+ {
1529
+ [_hH]: _ii,
1530
+ },
1531
+ ],
1532
+ 0,
1533
+ 0,
1534
+ 0,
1535
+ () => AppDefinitionInput,
1536
+ ],
1537
+ ];
1538
+ var UpdateQAppOutput = [
1539
+ 3,
1540
+ n0,
1541
+ _UQAO,
1542
+ 0,
1543
+ [_aI, _aA, _t, _d, _iP, _aV, _st, _cAr, _cB, _uA, _uB, _rCe],
1544
+ [0, 0, 0, 0, 0, 1, 0, 5, 0, 5, 0, 64 | 0],
1545
+ ];
1546
+ var UpdateQAppPermissionsInput = [
1547
+ 3,
1548
+ n0,
1549
+ _UQAPI,
1550
+ 0,
1551
+ [_iI, _aI, _gP, _rP],
1552
+ [
1553
+ [
1554
+ 0,
1555
+ {
1556
+ [_hH]: _ii,
1557
+ },
1558
+ ],
1559
+ 0,
1560
+ () => PermissionsInputList,
1561
+ () => PermissionsInputList,
1562
+ ],
1563
+ ];
1564
+ var UpdateQAppPermissionsOutput = [
1565
+ 3,
1566
+ n0,
1567
+ _UQAPO,
1568
+ 0,
1569
+ [_rA, _aI, _p],
1570
+ [0, 0, () => PermissionsOutputList],
1571
+ ];
1572
+ var UpdateQAppSessionInput = [
1573
+ 3,
1574
+ n0,
1575
+ _UQASI,
1576
+ 0,
1577
+ [_iI, _sI, _va],
1578
+ [
1579
+ [
1580
+ 0,
1581
+ {
1582
+ [_hH]: _ii,
1583
+ },
1584
+ ],
1585
+ 0,
1586
+ () => CardValueList,
1587
+ ],
1588
+ ];
1589
+ var UpdateQAppSessionMetadataInput = [
1590
+ 3,
1591
+ n0,
1592
+ _UQASMI,
1593
+ 0,
1594
+ [_iI, _sI, _sN, _sC],
1595
+ [
1596
+ [
1597
+ 0,
1598
+ {
1599
+ [_hH]: _ii,
1600
+ },
1601
+ ],
1602
+ 0,
1603
+ 0,
1604
+ () => SessionSharingConfiguration,
1605
+ ],
1606
+ ];
1607
+ var UpdateQAppSessionMetadataOutput = [
1608
+ 3,
1609
+ n0,
1610
+ _UQASMO,
1611
+ 0,
1612
+ [_sI, _sA, _sN, _sC],
1613
+ [0, 0, 0, () => SessionSharingConfiguration],
1614
+ ];
1615
+ var UpdateQAppSessionOutput = [3, n0, _UQASO, 0, [_sI, _sA], [0, 0]];
1616
+ var User = [3, n0, _U, 0, [_uI], [0]];
1617
+ var UserAppItem = [
1618
+ 3,
1619
+ n0,
1620
+ _UAI,
1621
+ 0,
1622
+ [_aI, _aA, _t, _d, _cAr, _cE, _st, _iV],
1623
+ [0, 0, 0, 0, 5, 2, 0, 2],
1624
+ ];
1625
+ var ValidationException = [
1626
+ -3,
1627
+ n0,
1628
+ _VE,
1629
+ {
1630
+ [_e]: _c,
1631
+ [_hE]: 400,
1632
+ },
1633
+ [_m],
1634
+ [0],
1635
+ ];
1636
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1637
+ var __Unit = "unit";
1638
+ var QAppsServiceException = [-3, _sm, "QAppsServiceException", 0, [], []];
1639
+ schema.TypeRegistry.for(_sm).registerError(QAppsServiceException, QAppsServiceException$1);
1640
+ var AttributeFilters = [1, n0, _AFt, 0, () => AttributeFilter];
1641
+ var BatchCreateCategoryInputCategoryList = [
1642
+ 1,
1643
+ n0,
1644
+ _BCCICL,
1645
+ 0,
1646
+ () => BatchCreateCategoryInputCategory,
1647
+ ];
1648
+ var CardList = [1, n0, _CL, 0, () => CardInput];
1649
+ var CardModelList = [1, n0, _CML, 0, () => Card];
1650
+ var CardValueList = [1, n0, _CVL, 0, () => CardValue];
1651
+ var CategoriesList = [1, n0, _CLa, 0, () => Category];
1652
+ var CategoryList = [1, n0, _CLat, 0, () => Category];
1653
+ var CategoryListInput = [1, n0, _CLI, 0, () => CategoryInput];
1654
+ var LibraryItemList = [1, n0, _LIL, 0, () => LibraryItemMember];
1655
+ var MessageList = [1, n0, _ML, 0, () => ConversationMessage];
1656
+ var PermissionsInputList = [1, n0, _PIL, 0, () => PermissionInput];
1657
+ var PermissionsOutputList = [1, n0, _POL, 0, () => PermissionOutput];
1658
+ var QAppSessionDataList = [1, n0, _QASDL, 0, () => QAppSessionData];
1659
+ var SubmissionList = [1, n0, _SL, 0, () => Submission];
1660
+ var UserAppsList = [1, n0, _UAL, 0, () => UserAppItem];
1661
+ var CardStatusMap = [2, n0, _CSM, 0, 0, () => CardStatus];
1662
+ var Card = [
1663
+ 3,
1664
+ n0,
1665
+ _Ca,
1666
+ 0,
1667
+ [_tI, _qQ, _qP, _fU, _fIo],
1668
+ [() => TextInputCard, () => QQueryCard, () => QPluginCard, () => FileUploadCard, () => FormInputCard],
1669
+ ];
1670
+ var CardInput = [
1671
+ 3,
1672
+ n0,
1673
+ _CIa,
1674
+ 0,
1675
+ [_tI, _qQ, _qP, _fU, _fIo],
1676
+ [
1677
+ () => TextInputCardInput,
1678
+ () => QQueryCardInput,
1679
+ () => QPluginCardInput,
1680
+ () => FileUploadCardInput,
1681
+ () => FormInputCardInput,
1682
+ ],
1683
+ ];
1684
+ var DocumentAttributeValue = [3, n0, _DAV, 0, [_sV, _sLV, _lV, _dVa], [0, 64 | 0, 1, 4]];
1685
+ var PredictQAppInputOptions = [3, n0, _PQAIO, 0, [_con, _pS], [() => MessageList, 0]];
1686
+ var AssociateLibraryItemReview = [
1687
+ 9,
1688
+ n0,
1689
+ _ALIR,
1690
+ {
1691
+ [_h]: ["POST", "/catalog.associateItemRating", 200],
1692
+ },
1693
+ () => AssociateLibraryItemReviewInput,
1694
+ () => __Unit,
1695
+ ];
1696
+ var AssociateQAppWithUser = [
1697
+ 9,
1698
+ n0,
1699
+ _AQAWU,
1700
+ {
1701
+ [_h]: ["POST", "/apps.install", 200],
1702
+ },
1703
+ () => AssociateQAppWithUserInput,
1704
+ () => __Unit,
1705
+ ];
1706
+ var BatchCreateCategory = [
1707
+ 9,
1708
+ n0,
1709
+ _BCC,
1710
+ {
1711
+ [_h]: ["POST", "/catalog.createCategories", 200],
1712
+ },
1713
+ () => BatchCreateCategoryInput,
1714
+ () => __Unit,
1715
+ ];
1716
+ var BatchDeleteCategory = [
1717
+ 9,
1718
+ n0,
1719
+ _BDC,
1720
+ {
1721
+ [_h]: ["POST", "/catalog.deleteCategories", 200],
1722
+ },
1723
+ () => BatchDeleteCategoryInput,
1724
+ () => __Unit,
1725
+ ];
1726
+ var BatchUpdateCategory = [
1727
+ 9,
1728
+ n0,
1729
+ _BUC,
1730
+ {
1731
+ [_h]: ["POST", "/catalog.updateCategories", 200],
1732
+ },
1733
+ () => BatchUpdateCategoryInput,
1734
+ () => __Unit,
1735
+ ];
1736
+ var CreateLibraryItem = [
1737
+ 9,
1738
+ n0,
1739
+ _CLIr,
1740
+ {
1741
+ [_h]: ["POST", "/catalog.createItem", 200],
1742
+ },
1743
+ () => CreateLibraryItemInput,
1744
+ () => CreateLibraryItemOutput,
1745
+ ];
1746
+ var CreatePresignedUrl = [
1747
+ 9,
1748
+ n0,
1749
+ _CPU,
1750
+ {
1751
+ [_h]: ["POST", "/apps.createPresignedUrl", 200],
1752
+ },
1753
+ () => CreatePresignedUrlInput,
1754
+ () => CreatePresignedUrlOutput,
1755
+ ];
1756
+ var CreateQApp = [
1757
+ 9,
1758
+ n0,
1759
+ _CQA,
1760
+ {
1761
+ [_h]: ["POST", "/apps.create", 200],
1762
+ },
1763
+ () => CreateQAppInput,
1764
+ () => CreateQAppOutput,
1765
+ ];
1766
+ var DeleteLibraryItem = [
1767
+ 9,
1768
+ n0,
1769
+ _DLI,
1770
+ {
1771
+ [_h]: ["POST", "/catalog.deleteItem", 200],
1772
+ },
1773
+ () => DeleteLibraryItemInput,
1774
+ () => __Unit,
1775
+ ];
1776
+ var DeleteQApp = [
1777
+ 9,
1778
+ n0,
1779
+ _DQA,
1780
+ {
1781
+ [_h]: ["POST", "/apps.delete", 200],
1782
+ },
1783
+ () => DeleteQAppInput,
1784
+ () => __Unit,
1785
+ ];
1786
+ var DescribeQAppPermissions = [
1787
+ 9,
1788
+ n0,
1789
+ _DQAP,
1790
+ {
1791
+ [_h]: ["GET", "/apps.describeQAppPermissions", 200],
1792
+ },
1793
+ () => DescribeQAppPermissionsInput,
1794
+ () => DescribeQAppPermissionsOutput,
1795
+ ];
1796
+ var DisassociateLibraryItemReview = [
1797
+ 9,
1798
+ n0,
1799
+ _DLIR,
1800
+ {
1801
+ [_h]: ["POST", "/catalog.disassociateItemRating", 200],
1802
+ },
1803
+ () => DisassociateLibraryItemReviewInput,
1804
+ () => __Unit,
1805
+ ];
1806
+ var DisassociateQAppFromUser = [
1807
+ 9,
1808
+ n0,
1809
+ _DQAFU,
1810
+ {
1811
+ [_h]: ["POST", "/apps.uninstall", 200],
1812
+ },
1813
+ () => DisassociateQAppFromUserInput,
1814
+ () => __Unit,
1815
+ ];
1816
+ var ExportQAppSessionData = [
1817
+ 9,
1818
+ n0,
1819
+ _EQASD,
1820
+ {
1821
+ [_h]: ["POST", "/runtime.exportQAppSessionData", 200],
1822
+ },
1823
+ () => ExportQAppSessionDataInput,
1824
+ () => ExportQAppSessionDataOutput,
1825
+ ];
1826
+ var GetLibraryItem = [
1827
+ 9,
1828
+ n0,
1829
+ _GLI,
1830
+ {
1831
+ [_h]: ["GET", "/catalog.getItem", 200],
1832
+ },
1833
+ () => GetLibraryItemInput,
1834
+ () => GetLibraryItemOutput,
1835
+ ];
1836
+ var GetQApp = [
1837
+ 9,
1838
+ n0,
1839
+ _GQA,
1840
+ {
1841
+ [_h]: ["GET", "/apps.get", 200],
1842
+ },
1843
+ () => GetQAppInput,
1844
+ () => GetQAppOutput,
1845
+ ];
1846
+ var GetQAppSession = [
1847
+ 9,
1848
+ n0,
1849
+ _GQAS,
1850
+ {
1851
+ [_h]: ["GET", "/runtime.getQAppSession", 200],
1852
+ },
1853
+ () => GetQAppSessionInput,
1854
+ () => GetQAppSessionOutput,
1855
+ ];
1856
+ var GetQAppSessionMetadata = [
1857
+ 9,
1858
+ n0,
1859
+ _GQASM,
1860
+ {
1861
+ [_h]: ["GET", "/runtime.getQAppSessionMetadata", 200],
1862
+ },
1863
+ () => GetQAppSessionMetadataInput,
1864
+ () => GetQAppSessionMetadataOutput,
1865
+ ];
1866
+ var ImportDocument = [
1867
+ 9,
1868
+ n0,
1869
+ _ID,
1870
+ {
1871
+ [_h]: ["POST", "/apps.importDocument", 200],
1872
+ },
1873
+ () => ImportDocumentInput,
1874
+ () => ImportDocumentOutput,
1875
+ ];
1876
+ var ListCategories = [
1877
+ 9,
1878
+ n0,
1879
+ _LC,
1880
+ {
1881
+ [_h]: ["GET", "/catalog.listCategories", 200],
1882
+ },
1883
+ () => ListCategoriesInput,
1884
+ () => ListCategoriesOutput,
1885
+ ];
1886
+ var ListLibraryItems = [
1887
+ 9,
1888
+ n0,
1889
+ _LLI,
1890
+ {
1891
+ [_h]: ["GET", "/catalog.list", 200],
1892
+ },
1893
+ () => ListLibraryItemsInput,
1894
+ () => ListLibraryItemsOutput,
1895
+ ];
1896
+ var ListQApps = [
1897
+ 9,
1898
+ n0,
1899
+ _LQA,
1900
+ {
1901
+ [_h]: ["GET", "/apps.list", 200],
1902
+ },
1903
+ () => ListQAppsInput,
1904
+ () => ListQAppsOutput,
1905
+ ];
1906
+ var ListQAppSessionData = [
1907
+ 9,
1908
+ n0,
1909
+ _LQASD,
1910
+ {
1911
+ [_h]: ["GET", "/runtime.listQAppSessionData", 200],
1912
+ },
1913
+ () => ListQAppSessionDataInput,
1914
+ () => ListQAppSessionDataOutput,
1915
+ ];
1916
+ var ListTagsForResource = [
1917
+ 9,
1918
+ n0,
1919
+ _LTFR,
1920
+ {
1921
+ [_h]: ["GET", "/tags/{resourceARN}", 200],
1922
+ },
1923
+ () => ListTagsForResourceRequest,
1924
+ () => ListTagsForResourceResponse,
1925
+ ];
1926
+ var PredictQApp = [
1927
+ 9,
1928
+ n0,
1929
+ _PQA,
1930
+ {
1931
+ [_h]: ["POST", "/apps.predictQApp", 200],
1932
+ },
1933
+ () => PredictQAppInput,
1934
+ () => PredictQAppOutput,
1935
+ ];
1936
+ var StartQAppSession = [
1937
+ 9,
1938
+ n0,
1939
+ _SQAS,
1940
+ {
1941
+ [_h]: ["POST", "/runtime.startQAppSession", 200],
1942
+ },
1943
+ () => StartQAppSessionInput,
1944
+ () => StartQAppSessionOutput,
1945
+ ];
1946
+ var StopQAppSession = [
1947
+ 9,
1948
+ n0,
1949
+ _SQASt,
1950
+ {
1951
+ [_h]: ["POST", "/runtime.deleteMiniAppRun", 200],
1952
+ },
1953
+ () => StopQAppSessionInput,
1954
+ () => __Unit,
1955
+ ];
1956
+ var TagResource = [
1957
+ 9,
1958
+ n0,
1959
+ _TR,
1960
+ {
1961
+ [_h]: ["POST", "/tags/{resourceARN}", 200],
1962
+ },
1963
+ () => TagResourceRequest,
1964
+ () => TagResourceResponse,
1965
+ ];
1966
+ var UntagResource = [
1967
+ 9,
1968
+ n0,
1969
+ _UR,
1970
+ {
1971
+ [_h]: ["DELETE", "/tags/{resourceARN}", 200],
1972
+ },
1973
+ () => UntagResourceRequest,
1974
+ () => UntagResourceResponse,
1975
+ ];
1976
+ var UpdateLibraryItem = [
1977
+ 9,
1978
+ n0,
1979
+ _ULI,
1980
+ {
1981
+ [_h]: ["POST", "/catalog.updateItem", 200],
1982
+ },
1983
+ () => UpdateLibraryItemInput,
1984
+ () => UpdateLibraryItemOutput,
1985
+ ];
1986
+ var UpdateLibraryItemMetadata = [
1987
+ 9,
1988
+ n0,
1989
+ _ULIM,
1990
+ {
1991
+ [_h]: ["POST", "/catalog.updateItemMetadata", 200],
1992
+ },
1993
+ () => UpdateLibraryItemMetadataInput,
1994
+ () => __Unit,
1995
+ ];
1996
+ var UpdateQApp = [
1997
+ 9,
1998
+ n0,
1999
+ _UQA,
2000
+ {
2001
+ [_h]: ["POST", "/apps.update", 200],
2002
+ },
2003
+ () => UpdateQAppInput,
2004
+ () => UpdateQAppOutput,
2005
+ ];
2006
+ var UpdateQAppPermissions = [
2007
+ 9,
2008
+ n0,
2009
+ _UQAP,
2010
+ {
2011
+ [_h]: ["POST", "/apps.updateQAppPermissions", 200],
2012
+ },
2013
+ () => UpdateQAppPermissionsInput,
2014
+ () => UpdateQAppPermissionsOutput,
2015
+ ];
2016
+ var UpdateQAppSession = [
2017
+ 9,
2018
+ n0,
2019
+ _UQAS,
2020
+ {
2021
+ [_h]: ["POST", "/runtime.updateQAppSession", 200],
2022
+ },
2023
+ () => UpdateQAppSessionInput,
2024
+ () => UpdateQAppSessionOutput,
2025
+ ];
2026
+ var UpdateQAppSessionMetadata = [
2027
+ 9,
2028
+ n0,
2029
+ _UQASM,
2030
+ {
2031
+ [_h]: ["POST", "/runtime.updateQAppSessionMetadata", 200],
2032
+ },
2033
+ () => UpdateQAppSessionMetadataInput,
2034
+ () => UpdateQAppSessionMetadataOutput,
2035
+ ];
1997
2036
 
1998
2037
  class AssociateLibraryItemReviewCommand extends smithyClient.Command
1999
2038
  .classBuilder()
2000
2039
  .ep(commonParams)
2001
2040
  .m(function (Command, cs, config, o) {
2002
- return [
2003
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2004
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2005
- ];
2041
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2006
2042
  })
2007
2043
  .s("QAppsService", "AssociateLibraryItemReview", {})
2008
2044
  .n("QAppsClient", "AssociateLibraryItemReviewCommand")
2009
- .f(void 0, void 0)
2010
- .ser(se_AssociateLibraryItemReviewCommand)
2011
- .de(de_AssociateLibraryItemReviewCommand)
2045
+ .sc(AssociateLibraryItemReview)
2012
2046
  .build() {
2013
2047
  }
2014
2048
 
@@ -2016,16 +2050,11 @@ class AssociateQAppWithUserCommand extends smithyClient.Command
2016
2050
  .classBuilder()
2017
2051
  .ep(commonParams)
2018
2052
  .m(function (Command, cs, config, o) {
2019
- return [
2020
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2021
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2022
- ];
2053
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2023
2054
  })
2024
2055
  .s("QAppsService", "AssociateQAppWithUser", {})
2025
2056
  .n("QAppsClient", "AssociateQAppWithUserCommand")
2026
- .f(void 0, void 0)
2027
- .ser(se_AssociateQAppWithUserCommand)
2028
- .de(de_AssociateQAppWithUserCommand)
2057
+ .sc(AssociateQAppWithUser)
2029
2058
  .build() {
2030
2059
  }
2031
2060
 
@@ -2033,16 +2062,11 @@ class BatchCreateCategoryCommand extends smithyClient.Command
2033
2062
  .classBuilder()
2034
2063
  .ep(commonParams)
2035
2064
  .m(function (Command, cs, config, o) {
2036
- return [
2037
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2038
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2039
- ];
2065
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2040
2066
  })
2041
2067
  .s("QAppsService", "BatchCreateCategory", {})
2042
2068
  .n("QAppsClient", "BatchCreateCategoryCommand")
2043
- .f(void 0, void 0)
2044
- .ser(se_BatchCreateCategoryCommand)
2045
- .de(de_BatchCreateCategoryCommand)
2069
+ .sc(BatchCreateCategory)
2046
2070
  .build() {
2047
2071
  }
2048
2072
 
@@ -2050,16 +2074,11 @@ class BatchDeleteCategoryCommand extends smithyClient.Command
2050
2074
  .classBuilder()
2051
2075
  .ep(commonParams)
2052
2076
  .m(function (Command, cs, config, o) {
2053
- return [
2054
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2055
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2056
- ];
2077
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2057
2078
  })
2058
2079
  .s("QAppsService", "BatchDeleteCategory", {})
2059
2080
  .n("QAppsClient", "BatchDeleteCategoryCommand")
2060
- .f(void 0, void 0)
2061
- .ser(se_BatchDeleteCategoryCommand)
2062
- .de(de_BatchDeleteCategoryCommand)
2081
+ .sc(BatchDeleteCategory)
2063
2082
  .build() {
2064
2083
  }
2065
2084
 
@@ -2067,16 +2086,11 @@ class BatchUpdateCategoryCommand extends smithyClient.Command
2067
2086
  .classBuilder()
2068
2087
  .ep(commonParams)
2069
2088
  .m(function (Command, cs, config, o) {
2070
- return [
2071
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2072
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2073
- ];
2089
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2074
2090
  })
2075
2091
  .s("QAppsService", "BatchUpdateCategory", {})
2076
2092
  .n("QAppsClient", "BatchUpdateCategoryCommand")
2077
- .f(void 0, void 0)
2078
- .ser(se_BatchUpdateCategoryCommand)
2079
- .de(de_BatchUpdateCategoryCommand)
2093
+ .sc(BatchUpdateCategory)
2080
2094
  .build() {
2081
2095
  }
2082
2096
 
@@ -2084,16 +2098,11 @@ class CreateLibraryItemCommand extends smithyClient.Command
2084
2098
  .classBuilder()
2085
2099
  .ep(commonParams)
2086
2100
  .m(function (Command, cs, config, o) {
2087
- return [
2088
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2089
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2090
- ];
2101
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2091
2102
  })
2092
2103
  .s("QAppsService", "CreateLibraryItem", {})
2093
2104
  .n("QAppsClient", "CreateLibraryItemCommand")
2094
- .f(void 0, void 0)
2095
- .ser(se_CreateLibraryItemCommand)
2096
- .de(de_CreateLibraryItemCommand)
2105
+ .sc(CreateLibraryItem)
2097
2106
  .build() {
2098
2107
  }
2099
2108
 
@@ -2101,16 +2110,11 @@ class CreatePresignedUrlCommand extends smithyClient.Command
2101
2110
  .classBuilder()
2102
2111
  .ep(commonParams)
2103
2112
  .m(function (Command, cs, config, o) {
2104
- return [
2105
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2106
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2107
- ];
2113
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2108
2114
  })
2109
2115
  .s("QAppsService", "CreatePresignedUrl", {})
2110
2116
  .n("QAppsClient", "CreatePresignedUrlCommand")
2111
- .f(void 0, void 0)
2112
- .ser(se_CreatePresignedUrlCommand)
2113
- .de(de_CreatePresignedUrlCommand)
2117
+ .sc(CreatePresignedUrl)
2114
2118
  .build() {
2115
2119
  }
2116
2120
 
@@ -2118,16 +2122,11 @@ class CreateQAppCommand extends smithyClient.Command
2118
2122
  .classBuilder()
2119
2123
  .ep(commonParams)
2120
2124
  .m(function (Command, cs, config, o) {
2121
- return [
2122
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2123
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2124
- ];
2125
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2125
2126
  })
2126
2127
  .s("QAppsService", "CreateQApp", {})
2127
2128
  .n("QAppsClient", "CreateQAppCommand")
2128
- .f(void 0, void 0)
2129
- .ser(se_CreateQAppCommand)
2130
- .de(de_CreateQAppCommand)
2129
+ .sc(CreateQApp)
2131
2130
  .build() {
2132
2131
  }
2133
2132
 
@@ -2135,16 +2134,11 @@ class DeleteLibraryItemCommand extends smithyClient.Command
2135
2134
  .classBuilder()
2136
2135
  .ep(commonParams)
2137
2136
  .m(function (Command, cs, config, o) {
2138
- return [
2139
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2140
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2141
- ];
2137
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2142
2138
  })
2143
2139
  .s("QAppsService", "DeleteLibraryItem", {})
2144
2140
  .n("QAppsClient", "DeleteLibraryItemCommand")
2145
- .f(void 0, void 0)
2146
- .ser(se_DeleteLibraryItemCommand)
2147
- .de(de_DeleteLibraryItemCommand)
2141
+ .sc(DeleteLibraryItem)
2148
2142
  .build() {
2149
2143
  }
2150
2144
 
@@ -2152,16 +2146,11 @@ class DeleteQAppCommand extends smithyClient.Command
2152
2146
  .classBuilder()
2153
2147
  .ep(commonParams)
2154
2148
  .m(function (Command, cs, config, o) {
2155
- return [
2156
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2157
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2158
- ];
2149
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2159
2150
  })
2160
2151
  .s("QAppsService", "DeleteQApp", {})
2161
2152
  .n("QAppsClient", "DeleteQAppCommand")
2162
- .f(void 0, void 0)
2163
- .ser(se_DeleteQAppCommand)
2164
- .de(de_DeleteQAppCommand)
2153
+ .sc(DeleteQApp)
2165
2154
  .build() {
2166
2155
  }
2167
2156
 
@@ -2169,16 +2158,11 @@ class DescribeQAppPermissionsCommand extends smithyClient.Command
2169
2158
  .classBuilder()
2170
2159
  .ep(commonParams)
2171
2160
  .m(function (Command, cs, config, o) {
2172
- return [
2173
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2174
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2175
- ];
2161
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2176
2162
  })
2177
2163
  .s("QAppsService", "DescribeQAppPermissions", {})
2178
2164
  .n("QAppsClient", "DescribeQAppPermissionsCommand")
2179
- .f(void 0, void 0)
2180
- .ser(se_DescribeQAppPermissionsCommand)
2181
- .de(de_DescribeQAppPermissionsCommand)
2165
+ .sc(DescribeQAppPermissions)
2182
2166
  .build() {
2183
2167
  }
2184
2168
 
@@ -2186,16 +2170,11 @@ class DisassociateLibraryItemReviewCommand extends smithyClient.Command
2186
2170
  .classBuilder()
2187
2171
  .ep(commonParams)
2188
2172
  .m(function (Command, cs, config, o) {
2189
- return [
2190
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2191
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2192
- ];
2173
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2193
2174
  })
2194
2175
  .s("QAppsService", "DisassociateLibraryItemReview", {})
2195
2176
  .n("QAppsClient", "DisassociateLibraryItemReviewCommand")
2196
- .f(void 0, void 0)
2197
- .ser(se_DisassociateLibraryItemReviewCommand)
2198
- .de(de_DisassociateLibraryItemReviewCommand)
2177
+ .sc(DisassociateLibraryItemReview)
2199
2178
  .build() {
2200
2179
  }
2201
2180
 
@@ -2203,16 +2182,11 @@ class DisassociateQAppFromUserCommand extends smithyClient.Command
2203
2182
  .classBuilder()
2204
2183
  .ep(commonParams)
2205
2184
  .m(function (Command, cs, config, o) {
2206
- return [
2207
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2208
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2209
- ];
2185
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2210
2186
  })
2211
2187
  .s("QAppsService", "DisassociateQAppFromUser", {})
2212
2188
  .n("QAppsClient", "DisassociateQAppFromUserCommand")
2213
- .f(void 0, void 0)
2214
- .ser(se_DisassociateQAppFromUserCommand)
2215
- .de(de_DisassociateQAppFromUserCommand)
2189
+ .sc(DisassociateQAppFromUser)
2216
2190
  .build() {
2217
2191
  }
2218
2192
 
@@ -2220,16 +2194,11 @@ class ExportQAppSessionDataCommand extends smithyClient.Command
2220
2194
  .classBuilder()
2221
2195
  .ep(commonParams)
2222
2196
  .m(function (Command, cs, config, o) {
2223
- return [
2224
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2225
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2226
- ];
2197
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2227
2198
  })
2228
2199
  .s("QAppsService", "ExportQAppSessionData", {})
2229
2200
  .n("QAppsClient", "ExportQAppSessionDataCommand")
2230
- .f(void 0, void 0)
2231
- .ser(se_ExportQAppSessionDataCommand)
2232
- .de(de_ExportQAppSessionDataCommand)
2201
+ .sc(ExportQAppSessionData)
2233
2202
  .build() {
2234
2203
  }
2235
2204
 
@@ -2237,16 +2206,11 @@ class GetLibraryItemCommand extends smithyClient.Command
2237
2206
  .classBuilder()
2238
2207
  .ep(commonParams)
2239
2208
  .m(function (Command, cs, config, o) {
2240
- return [
2241
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2242
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2243
- ];
2209
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2244
2210
  })
2245
2211
  .s("QAppsService", "GetLibraryItem", {})
2246
2212
  .n("QAppsClient", "GetLibraryItemCommand")
2247
- .f(void 0, void 0)
2248
- .ser(se_GetLibraryItemCommand)
2249
- .de(de_GetLibraryItemCommand)
2213
+ .sc(GetLibraryItem)
2250
2214
  .build() {
2251
2215
  }
2252
2216
 
@@ -2254,16 +2218,11 @@ class GetQAppCommand extends smithyClient.Command
2254
2218
  .classBuilder()
2255
2219
  .ep(commonParams)
2256
2220
  .m(function (Command, cs, config, o) {
2257
- return [
2258
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2259
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2260
- ];
2221
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2261
2222
  })
2262
2223
  .s("QAppsService", "GetQApp", {})
2263
2224
  .n("QAppsClient", "GetQAppCommand")
2264
- .f(void 0, void 0)
2265
- .ser(se_GetQAppCommand)
2266
- .de(de_GetQAppCommand)
2225
+ .sc(GetQApp)
2267
2226
  .build() {
2268
2227
  }
2269
2228
 
@@ -2271,16 +2230,11 @@ class GetQAppSessionCommand extends smithyClient.Command
2271
2230
  .classBuilder()
2272
2231
  .ep(commonParams)
2273
2232
  .m(function (Command, cs, config, o) {
2274
- return [
2275
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2276
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2277
- ];
2233
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2278
2234
  })
2279
2235
  .s("QAppsService", "GetQAppSession", {})
2280
2236
  .n("QAppsClient", "GetQAppSessionCommand")
2281
- .f(void 0, void 0)
2282
- .ser(se_GetQAppSessionCommand)
2283
- .de(de_GetQAppSessionCommand)
2237
+ .sc(GetQAppSession)
2284
2238
  .build() {
2285
2239
  }
2286
2240
 
@@ -2288,16 +2242,11 @@ class GetQAppSessionMetadataCommand extends smithyClient.Command
2288
2242
  .classBuilder()
2289
2243
  .ep(commonParams)
2290
2244
  .m(function (Command, cs, config, o) {
2291
- return [
2292
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2293
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2294
- ];
2245
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2295
2246
  })
2296
2247
  .s("QAppsService", "GetQAppSessionMetadata", {})
2297
2248
  .n("QAppsClient", "GetQAppSessionMetadataCommand")
2298
- .f(void 0, void 0)
2299
- .ser(se_GetQAppSessionMetadataCommand)
2300
- .de(de_GetQAppSessionMetadataCommand)
2249
+ .sc(GetQAppSessionMetadata)
2301
2250
  .build() {
2302
2251
  }
2303
2252
 
@@ -2305,16 +2254,11 @@ class ImportDocumentCommand extends smithyClient.Command
2305
2254
  .classBuilder()
2306
2255
  .ep(commonParams)
2307
2256
  .m(function (Command, cs, config, o) {
2308
- return [
2309
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2310
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2311
- ];
2257
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2312
2258
  })
2313
2259
  .s("QAppsService", "ImportDocument", {})
2314
2260
  .n("QAppsClient", "ImportDocumentCommand")
2315
- .f(void 0, void 0)
2316
- .ser(se_ImportDocumentCommand)
2317
- .de(de_ImportDocumentCommand)
2261
+ .sc(ImportDocument)
2318
2262
  .build() {
2319
2263
  }
2320
2264
 
@@ -2322,16 +2266,11 @@ class ListCategoriesCommand extends smithyClient.Command
2322
2266
  .classBuilder()
2323
2267
  .ep(commonParams)
2324
2268
  .m(function (Command, cs, config, o) {
2325
- return [
2326
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2327
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2328
- ];
2269
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2329
2270
  })
2330
2271
  .s("QAppsService", "ListCategories", {})
2331
2272
  .n("QAppsClient", "ListCategoriesCommand")
2332
- .f(void 0, void 0)
2333
- .ser(se_ListCategoriesCommand)
2334
- .de(de_ListCategoriesCommand)
2273
+ .sc(ListCategories)
2335
2274
  .build() {
2336
2275
  }
2337
2276
 
@@ -2339,16 +2278,11 @@ class ListLibraryItemsCommand extends smithyClient.Command
2339
2278
  .classBuilder()
2340
2279
  .ep(commonParams)
2341
2280
  .m(function (Command, cs, config, o) {
2342
- return [
2343
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2344
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2345
- ];
2281
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2346
2282
  })
2347
2283
  .s("QAppsService", "ListLibraryItems", {})
2348
2284
  .n("QAppsClient", "ListLibraryItemsCommand")
2349
- .f(void 0, void 0)
2350
- .ser(se_ListLibraryItemsCommand)
2351
- .de(de_ListLibraryItemsCommand)
2285
+ .sc(ListLibraryItems)
2352
2286
  .build() {
2353
2287
  }
2354
2288
 
@@ -2356,16 +2290,11 @@ class ListQAppsCommand extends smithyClient.Command
2356
2290
  .classBuilder()
2357
2291
  .ep(commonParams)
2358
2292
  .m(function (Command, cs, config, o) {
2359
- return [
2360
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2361
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2362
- ];
2293
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2363
2294
  })
2364
2295
  .s("QAppsService", "ListQApps", {})
2365
2296
  .n("QAppsClient", "ListQAppsCommand")
2366
- .f(void 0, void 0)
2367
- .ser(se_ListQAppsCommand)
2368
- .de(de_ListQAppsCommand)
2297
+ .sc(ListQApps)
2369
2298
  .build() {
2370
2299
  }
2371
2300
 
@@ -2373,16 +2302,11 @@ class ListQAppSessionDataCommand extends smithyClient.Command
2373
2302
  .classBuilder()
2374
2303
  .ep(commonParams)
2375
2304
  .m(function (Command, cs, config, o) {
2376
- return [
2377
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2378
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2379
- ];
2305
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2380
2306
  })
2381
2307
  .s("QAppsService", "ListQAppSessionData", {})
2382
2308
  .n("QAppsClient", "ListQAppSessionDataCommand")
2383
- .f(void 0, void 0)
2384
- .ser(se_ListQAppSessionDataCommand)
2385
- .de(de_ListQAppSessionDataCommand)
2309
+ .sc(ListQAppSessionData)
2386
2310
  .build() {
2387
2311
  }
2388
2312
 
@@ -2390,16 +2314,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2390
2314
  .classBuilder()
2391
2315
  .ep(commonParams)
2392
2316
  .m(function (Command, cs, config, o) {
2393
- return [
2394
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2395
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2396
- ];
2317
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2397
2318
  })
2398
2319
  .s("QAppsService", "ListTagsForResource", {})
2399
2320
  .n("QAppsClient", "ListTagsForResourceCommand")
2400
- .f(void 0, void 0)
2401
- .ser(se_ListTagsForResourceCommand)
2402
- .de(de_ListTagsForResourceCommand)
2321
+ .sc(ListTagsForResource)
2403
2322
  .build() {
2404
2323
  }
2405
2324
 
@@ -2407,16 +2326,11 @@ class PredictQAppCommand extends smithyClient.Command
2407
2326
  .classBuilder()
2408
2327
  .ep(commonParams)
2409
2328
  .m(function (Command, cs, config, o) {
2410
- return [
2411
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2412
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2413
- ];
2329
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2414
2330
  })
2415
2331
  .s("QAppsService", "PredictQApp", {})
2416
2332
  .n("QAppsClient", "PredictQAppCommand")
2417
- .f(void 0, void 0)
2418
- .ser(se_PredictQAppCommand)
2419
- .de(de_PredictQAppCommand)
2333
+ .sc(PredictQApp)
2420
2334
  .build() {
2421
2335
  }
2422
2336
 
@@ -2424,16 +2338,11 @@ class StartQAppSessionCommand extends smithyClient.Command
2424
2338
  .classBuilder()
2425
2339
  .ep(commonParams)
2426
2340
  .m(function (Command, cs, config, o) {
2427
- return [
2428
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2429
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2430
- ];
2341
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2431
2342
  })
2432
2343
  .s("QAppsService", "StartQAppSession", {})
2433
2344
  .n("QAppsClient", "StartQAppSessionCommand")
2434
- .f(void 0, void 0)
2435
- .ser(se_StartQAppSessionCommand)
2436
- .de(de_StartQAppSessionCommand)
2345
+ .sc(StartQAppSession)
2437
2346
  .build() {
2438
2347
  }
2439
2348
 
@@ -2441,16 +2350,11 @@ class StopQAppSessionCommand extends smithyClient.Command
2441
2350
  .classBuilder()
2442
2351
  .ep(commonParams)
2443
2352
  .m(function (Command, cs, config, o) {
2444
- return [
2445
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2446
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2447
- ];
2353
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2448
2354
  })
2449
2355
  .s("QAppsService", "StopQAppSession", {})
2450
2356
  .n("QAppsClient", "StopQAppSessionCommand")
2451
- .f(void 0, void 0)
2452
- .ser(se_StopQAppSessionCommand)
2453
- .de(de_StopQAppSessionCommand)
2357
+ .sc(StopQAppSession)
2454
2358
  .build() {
2455
2359
  }
2456
2360
 
@@ -2458,16 +2362,11 @@ class TagResourceCommand extends smithyClient.Command
2458
2362
  .classBuilder()
2459
2363
  .ep(commonParams)
2460
2364
  .m(function (Command, cs, config, o) {
2461
- return [
2462
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2463
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2464
- ];
2365
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2465
2366
  })
2466
2367
  .s("QAppsService", "TagResource", {})
2467
2368
  .n("QAppsClient", "TagResourceCommand")
2468
- .f(void 0, void 0)
2469
- .ser(se_TagResourceCommand)
2470
- .de(de_TagResourceCommand)
2369
+ .sc(TagResource)
2471
2370
  .build() {
2472
2371
  }
2473
2372
 
@@ -2475,16 +2374,11 @@ class UntagResourceCommand extends smithyClient.Command
2475
2374
  .classBuilder()
2476
2375
  .ep(commonParams)
2477
2376
  .m(function (Command, cs, config, o) {
2478
- return [
2479
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2480
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2481
- ];
2377
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2482
2378
  })
2483
2379
  .s("QAppsService", "UntagResource", {})
2484
2380
  .n("QAppsClient", "UntagResourceCommand")
2485
- .f(void 0, void 0)
2486
- .ser(se_UntagResourceCommand)
2487
- .de(de_UntagResourceCommand)
2381
+ .sc(UntagResource)
2488
2382
  .build() {
2489
2383
  }
2490
2384
 
@@ -2492,16 +2386,11 @@ class UpdateLibraryItemCommand extends smithyClient.Command
2492
2386
  .classBuilder()
2493
2387
  .ep(commonParams)
2494
2388
  .m(function (Command, cs, config, o) {
2495
- return [
2496
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2497
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2498
- ];
2389
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2499
2390
  })
2500
2391
  .s("QAppsService", "UpdateLibraryItem", {})
2501
2392
  .n("QAppsClient", "UpdateLibraryItemCommand")
2502
- .f(void 0, void 0)
2503
- .ser(se_UpdateLibraryItemCommand)
2504
- .de(de_UpdateLibraryItemCommand)
2393
+ .sc(UpdateLibraryItem)
2505
2394
  .build() {
2506
2395
  }
2507
2396
 
@@ -2509,16 +2398,11 @@ class UpdateLibraryItemMetadataCommand extends smithyClient.Command
2509
2398
  .classBuilder()
2510
2399
  .ep(commonParams)
2511
2400
  .m(function (Command, cs, config, o) {
2512
- return [
2513
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2514
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2515
- ];
2401
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2516
2402
  })
2517
2403
  .s("QAppsService", "UpdateLibraryItemMetadata", {})
2518
2404
  .n("QAppsClient", "UpdateLibraryItemMetadataCommand")
2519
- .f(void 0, void 0)
2520
- .ser(se_UpdateLibraryItemMetadataCommand)
2521
- .de(de_UpdateLibraryItemMetadataCommand)
2405
+ .sc(UpdateLibraryItemMetadata)
2522
2406
  .build() {
2523
2407
  }
2524
2408
 
@@ -2526,16 +2410,11 @@ class UpdateQAppCommand extends smithyClient.Command
2526
2410
  .classBuilder()
2527
2411
  .ep(commonParams)
2528
2412
  .m(function (Command, cs, config, o) {
2529
- return [
2530
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2531
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2532
- ];
2413
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2533
2414
  })
2534
2415
  .s("QAppsService", "UpdateQApp", {})
2535
2416
  .n("QAppsClient", "UpdateQAppCommand")
2536
- .f(void 0, void 0)
2537
- .ser(se_UpdateQAppCommand)
2538
- .de(de_UpdateQAppCommand)
2417
+ .sc(UpdateQApp)
2539
2418
  .build() {
2540
2419
  }
2541
2420
 
@@ -2543,16 +2422,11 @@ class UpdateQAppPermissionsCommand extends smithyClient.Command
2543
2422
  .classBuilder()
2544
2423
  .ep(commonParams)
2545
2424
  .m(function (Command, cs, config, o) {
2546
- return [
2547
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2548
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2549
- ];
2425
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2550
2426
  })
2551
2427
  .s("QAppsService", "UpdateQAppPermissions", {})
2552
2428
  .n("QAppsClient", "UpdateQAppPermissionsCommand")
2553
- .f(void 0, void 0)
2554
- .ser(se_UpdateQAppPermissionsCommand)
2555
- .de(de_UpdateQAppPermissionsCommand)
2429
+ .sc(UpdateQAppPermissions)
2556
2430
  .build() {
2557
2431
  }
2558
2432
 
@@ -2560,16 +2434,11 @@ class UpdateQAppSessionCommand extends smithyClient.Command
2560
2434
  .classBuilder()
2561
2435
  .ep(commonParams)
2562
2436
  .m(function (Command, cs, config, o) {
2563
- return [
2564
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2565
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2566
- ];
2437
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2567
2438
  })
2568
2439
  .s("QAppsService", "UpdateQAppSession", {})
2569
2440
  .n("QAppsClient", "UpdateQAppSessionCommand")
2570
- .f(void 0, void 0)
2571
- .ser(se_UpdateQAppSessionCommand)
2572
- .de(de_UpdateQAppSessionCommand)
2441
+ .sc(UpdateQAppSession)
2573
2442
  .build() {
2574
2443
  }
2575
2444
 
@@ -2577,16 +2446,11 @@ class UpdateQAppSessionMetadataCommand extends smithyClient.Command
2577
2446
  .classBuilder()
2578
2447
  .ep(commonParams)
2579
2448
  .m(function (Command, cs, config, o) {
2580
- return [
2581
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2582
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2583
- ];
2449
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2584
2450
  })
2585
2451
  .s("QAppsService", "UpdateQAppSessionMetadata", {})
2586
2452
  .n("QAppsClient", "UpdateQAppSessionMetadataCommand")
2587
- .f(void 0, void 0)
2588
- .ser(se_UpdateQAppSessionMetadataCommand)
2589
- .de(de_UpdateQAppSessionMetadataCommand)
2453
+ .sc(UpdateQAppSessionMetadata)
2590
2454
  .build() {
2591
2455
  }
2592
2456
 
@@ -2643,7 +2507,7 @@ Object.defineProperty(exports, "__Client", {
2643
2507
  enumerable: true,
2644
2508
  get: function () { return smithyClient.Client; }
2645
2509
  });
2646
- exports.AccessDeniedException = AccessDeniedException;
2510
+ exports.AccessDeniedException = AccessDeniedException$1;
2647
2511
  exports.Action = Action;
2648
2512
  exports.AppRequiredCapability = AppRequiredCapability;
2649
2513
  exports.AppStatus = AppStatus;
@@ -2654,8 +2518,8 @@ exports.BatchDeleteCategoryCommand = BatchDeleteCategoryCommand;
2654
2518
  exports.BatchUpdateCategoryCommand = BatchUpdateCategoryCommand;
2655
2519
  exports.CardOutputSource = CardOutputSource;
2656
2520
  exports.CardType = CardType;
2657
- exports.ConflictException = ConflictException;
2658
- exports.ContentTooLargeException = ContentTooLargeException;
2521
+ exports.ConflictException = ConflictException$1;
2522
+ exports.ContentTooLargeException = ContentTooLargeException$1;
2659
2523
  exports.CreateLibraryItemCommand = CreateLibraryItemCommand;
2660
2524
  exports.CreatePresignedUrlCommand = CreatePresignedUrlCommand;
2661
2525
  exports.CreateQAppCommand = CreateQAppCommand;
@@ -2673,7 +2537,7 @@ exports.GetQAppSessionCommand = GetQAppSessionCommand;
2673
2537
  exports.GetQAppSessionMetadataCommand = GetQAppSessionMetadataCommand;
2674
2538
  exports.ImportDocumentCommand = ImportDocumentCommand;
2675
2539
  exports.InputCardComputeMode = InputCardComputeMode;
2676
- exports.InternalServerException = InternalServerException;
2540
+ exports.InternalServerException = InternalServerException$1;
2677
2541
  exports.LibraryItemStatus = LibraryItemStatus;
2678
2542
  exports.ListCategoriesCommand = ListCategoriesCommand;
2679
2543
  exports.ListLibraryItemsCommand = ListLibraryItemsCommand;
@@ -2684,16 +2548,16 @@ exports.PluginType = PluginType;
2684
2548
  exports.PredictQAppCommand = PredictQAppCommand;
2685
2549
  exports.QApps = QApps;
2686
2550
  exports.QAppsClient = QAppsClient;
2687
- exports.QAppsServiceException = QAppsServiceException;
2688
- exports.ResourceNotFoundException = ResourceNotFoundException;
2551
+ exports.QAppsServiceException = QAppsServiceException$1;
2552
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2689
2553
  exports.Sender = Sender;
2690
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2554
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2691
2555
  exports.StartQAppSessionCommand = StartQAppSessionCommand;
2692
2556
  exports.StopQAppSessionCommand = StopQAppSessionCommand;
2693
2557
  exports.SubmissionMutationKind = SubmissionMutationKind;
2694
2558
  exports.TagResourceCommand = TagResourceCommand;
2695
- exports.ThrottlingException = ThrottlingException;
2696
- exports.UnauthorizedException = UnauthorizedException;
2559
+ exports.ThrottlingException = ThrottlingException$1;
2560
+ exports.UnauthorizedException = UnauthorizedException$1;
2697
2561
  exports.UntagResourceCommand = UntagResourceCommand;
2698
2562
  exports.UpdateLibraryItemCommand = UpdateLibraryItemCommand;
2699
2563
  exports.UpdateLibraryItemMetadataCommand = UpdateLibraryItemMetadataCommand;
@@ -2702,6 +2566,6 @@ exports.UpdateQAppPermissionsCommand = UpdateQAppPermissionsCommand;
2702
2566
  exports.UpdateQAppSessionCommand = UpdateQAppSessionCommand;
2703
2567
  exports.UpdateQAppSessionMetadataCommand = UpdateQAppSessionMetadataCommand;
2704
2568
  exports.UserType = UserType;
2705
- exports.ValidationException = ValidationException;
2569
+ exports.ValidationException = ValidationException$1;
2706
2570
  exports.paginateListLibraryItems = paginateListLibraryItems;
2707
2571
  exports.paginateListQApps = paginateListQApps;