@aws-sdk/client-qapps 3.1076.0 → 3.1078.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 (125) hide show
  1. package/dist-cjs/index.js +46 -355
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateLibraryItemReviewCommand.js +2 -14
  4. package/dist-es/commands/AssociateQAppWithUserCommand.js +2 -14
  5. package/dist-es/commands/BatchCreateCategoryCommand.js +2 -14
  6. package/dist-es/commands/BatchDeleteCategoryCommand.js +2 -14
  7. package/dist-es/commands/BatchUpdateCategoryCommand.js +2 -14
  8. package/dist-es/commands/CreateLibraryItemCommand.js +2 -14
  9. package/dist-es/commands/CreatePresignedUrlCommand.js +2 -14
  10. package/dist-es/commands/CreateQAppCommand.js +2 -14
  11. package/dist-es/commands/DeleteLibraryItemCommand.js +2 -14
  12. package/dist-es/commands/DeleteQAppCommand.js +2 -14
  13. package/dist-es/commands/DescribeQAppPermissionsCommand.js +2 -14
  14. package/dist-es/commands/DisassociateLibraryItemReviewCommand.js +2 -14
  15. package/dist-es/commands/DisassociateQAppFromUserCommand.js +2 -14
  16. package/dist-es/commands/ExportQAppSessionDataCommand.js +2 -14
  17. package/dist-es/commands/GetLibraryItemCommand.js +2 -14
  18. package/dist-es/commands/GetQAppCommand.js +2 -14
  19. package/dist-es/commands/GetQAppSessionCommand.js +2 -14
  20. package/dist-es/commands/GetQAppSessionMetadataCommand.js +2 -14
  21. package/dist-es/commands/ImportDocumentCommand.js +2 -14
  22. package/dist-es/commands/ListCategoriesCommand.js +2 -14
  23. package/dist-es/commands/ListLibraryItemsCommand.js +2 -14
  24. package/dist-es/commands/ListQAppSessionDataCommand.js +2 -14
  25. package/dist-es/commands/ListQAppsCommand.js +2 -14
  26. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  27. package/dist-es/commands/PredictQAppCommand.js +2 -14
  28. package/dist-es/commands/StartQAppSessionCommand.js +2 -14
  29. package/dist-es/commands/StopQAppSessionCommand.js +2 -14
  30. package/dist-es/commands/TagResourceCommand.js +2 -14
  31. package/dist-es/commands/UntagResourceCommand.js +2 -14
  32. package/dist-es/commands/UpdateLibraryItemCommand.js +2 -14
  33. package/dist-es/commands/UpdateLibraryItemMetadataCommand.js +2 -14
  34. package/dist-es/commands/UpdateQAppCommand.js +2 -14
  35. package/dist-es/commands/UpdateQAppPermissionsCommand.js +2 -14
  36. package/dist-es/commands/UpdateQAppSessionCommand.js +2 -14
  37. package/dist-es/commands/UpdateQAppSessionMetadataCommand.js +2 -14
  38. package/dist-es/index.js +1 -0
  39. package/dist-es/runtimeConfig.browser.js +0 -2
  40. package/dist-es/runtimeConfig.js +1 -2
  41. package/dist-es/runtimeConfig.native.js +0 -2
  42. package/dist-es/runtimeConfig.shared.js +2 -0
  43. package/dist-types/commandBuilder.d.ts +18 -0
  44. package/dist-types/commands/AssociateLibraryItemReviewCommand.d.ts +3 -8
  45. package/dist-types/commands/AssociateQAppWithUserCommand.d.ts +3 -8
  46. package/dist-types/commands/BatchCreateCategoryCommand.d.ts +3 -8
  47. package/dist-types/commands/BatchDeleteCategoryCommand.d.ts +3 -8
  48. package/dist-types/commands/BatchUpdateCategoryCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateLibraryItemCommand.d.ts +3 -8
  50. package/dist-types/commands/CreatePresignedUrlCommand.d.ts +3 -8
  51. package/dist-types/commands/CreateQAppCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteLibraryItemCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteQAppCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeQAppPermissionsCommand.d.ts +3 -8
  55. package/dist-types/commands/DisassociateLibraryItemReviewCommand.d.ts +3 -8
  56. package/dist-types/commands/DisassociateQAppFromUserCommand.d.ts +3 -8
  57. package/dist-types/commands/ExportQAppSessionDataCommand.d.ts +3 -8
  58. package/dist-types/commands/GetLibraryItemCommand.d.ts +3 -8
  59. package/dist-types/commands/GetQAppCommand.d.ts +3 -8
  60. package/dist-types/commands/GetQAppSessionCommand.d.ts +3 -8
  61. package/dist-types/commands/GetQAppSessionMetadataCommand.d.ts +3 -8
  62. package/dist-types/commands/ImportDocumentCommand.d.ts +3 -8
  63. package/dist-types/commands/ListCategoriesCommand.d.ts +3 -8
  64. package/dist-types/commands/ListLibraryItemsCommand.d.ts +3 -8
  65. package/dist-types/commands/ListQAppSessionDataCommand.d.ts +3 -8
  66. package/dist-types/commands/ListQAppsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/PredictQAppCommand.d.ts +3 -8
  69. package/dist-types/commands/StartQAppSessionCommand.d.ts +3 -8
  70. package/dist-types/commands/StopQAppSessionCommand.d.ts +3 -8
  71. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  72. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  73. package/dist-types/commands/UpdateLibraryItemCommand.d.ts +3 -8
  74. package/dist-types/commands/UpdateLibraryItemMetadataCommand.d.ts +3 -8
  75. package/dist-types/commands/UpdateQAppCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdateQAppPermissionsCommand.d.ts +3 -8
  77. package/dist-types/commands/UpdateQAppSessionCommand.d.ts +3 -8
  78. package/dist-types/commands/UpdateQAppSessionMetadataCommand.d.ts +3 -8
  79. package/dist-types/index.d.ts +1 -0
  80. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  81. package/dist-types/runtimeConfig.d.ts +1 -1
  82. package/dist-types/runtimeConfig.native.d.ts +1 -1
  83. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  84. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  85. package/dist-types/ts3.4/commands/AssociateLibraryItemReviewCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/AssociateQAppWithUserCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/BatchCreateCategoryCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/BatchDeleteCategoryCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/BatchUpdateCategoryCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/CreateLibraryItemCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/CreatePresignedUrlCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/CreateQAppCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DeleteLibraryItemCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DeleteQAppCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DescribeQAppPermissionsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DisassociateLibraryItemReviewCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DisassociateQAppFromUserCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ExportQAppSessionDataCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetLibraryItemCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetQAppCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetQAppSessionCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetQAppSessionMetadataCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ImportDocumentCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListCategoriesCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListLibraryItemsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListQAppSessionDataCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListQAppsCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/PredictQAppCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/StartQAppSessionCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/StopQAppSessionCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/UpdateLibraryItemCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/UpdateLibraryItemMetadataCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/UpdateQAppCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/UpdateQAppPermissionsCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/UpdateQAppSessionCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/UpdateQAppSessionMetadataCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/index.d.ts +1 -0
  121. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  122. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  123. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  124. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  125. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultQAppsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1284,6 +1286,7 @@ const getRuntimeConfig$1 = (config) => {
1284
1286
  serviceTarget: "QAppsService",
1285
1287
  },
1286
1288
  serviceId: config?.serviceId ?? "QApps",
1289
+ sha256: config?.sha256 ?? Sha256,
1287
1290
  urlParser: config?.urlParser ?? parseUrl,
1288
1291
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1289
1292
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1317,7 +1320,6 @@ const getRuntimeConfig = (config) => {
1317
1320
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1318
1321
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1319
1322
  }, config),
1320
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1321
1323
  streamCollector: config?.streamCollector ?? streamCollector,
1322
1324
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1323
1325
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1405,424 +1407,113 @@ class QAppsClient extends Client {
1405
1407
  }
1406
1408
  }
1407
1409
 
1408
- class AssociateLibraryItemReviewCommand extends Command
1409
- .classBuilder()
1410
- .ep(commonParams)
1411
- .m(function (Command, cs, config, o) {
1412
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1413
- })
1414
- .s("QAppsService", "AssociateLibraryItemReview", {})
1415
- .n("QAppsClient", "AssociateLibraryItemReviewCommand")
1416
- .sc(AssociateLibraryItemReview$)
1417
- .build() {
1410
+ const command = makeBuilder(commonParams, "QAppsService", "QAppsClient", getEndpointPlugin);
1411
+ const _ep0 = {};
1412
+ const _mw0 = (Command, cs, config, o) => [];
1413
+
1414
+ class AssociateLibraryItemReviewCommand extends command(_ep0, _mw0, "AssociateLibraryItemReview", AssociateLibraryItemReview$) {
1418
1415
  }
1419
1416
 
1420
- class AssociateQAppWithUserCommand extends Command
1421
- .classBuilder()
1422
- .ep(commonParams)
1423
- .m(function (Command, cs, config, o) {
1424
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
- })
1426
- .s("QAppsService", "AssociateQAppWithUser", {})
1427
- .n("QAppsClient", "AssociateQAppWithUserCommand")
1428
- .sc(AssociateQAppWithUser$)
1429
- .build() {
1417
+ class AssociateQAppWithUserCommand extends command(_ep0, _mw0, "AssociateQAppWithUser", AssociateQAppWithUser$) {
1430
1418
  }
1431
1419
 
1432
- class BatchCreateCategoryCommand extends Command
1433
- .classBuilder()
1434
- .ep(commonParams)
1435
- .m(function (Command, cs, config, o) {
1436
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1437
- })
1438
- .s("QAppsService", "BatchCreateCategory", {})
1439
- .n("QAppsClient", "BatchCreateCategoryCommand")
1440
- .sc(BatchCreateCategory$)
1441
- .build() {
1420
+ class BatchCreateCategoryCommand extends command(_ep0, _mw0, "BatchCreateCategory", BatchCreateCategory$) {
1442
1421
  }
1443
1422
 
1444
- class BatchDeleteCategoryCommand extends Command
1445
- .classBuilder()
1446
- .ep(commonParams)
1447
- .m(function (Command, cs, config, o) {
1448
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1449
- })
1450
- .s("QAppsService", "BatchDeleteCategory", {})
1451
- .n("QAppsClient", "BatchDeleteCategoryCommand")
1452
- .sc(BatchDeleteCategory$)
1453
- .build() {
1423
+ class BatchDeleteCategoryCommand extends command(_ep0, _mw0, "BatchDeleteCategory", BatchDeleteCategory$) {
1454
1424
  }
1455
1425
 
1456
- class BatchUpdateCategoryCommand extends Command
1457
- .classBuilder()
1458
- .ep(commonParams)
1459
- .m(function (Command, cs, config, o) {
1460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1461
- })
1462
- .s("QAppsService", "BatchUpdateCategory", {})
1463
- .n("QAppsClient", "BatchUpdateCategoryCommand")
1464
- .sc(BatchUpdateCategory$)
1465
- .build() {
1426
+ class BatchUpdateCategoryCommand extends command(_ep0, _mw0, "BatchUpdateCategory", BatchUpdateCategory$) {
1466
1427
  }
1467
1428
 
1468
- class CreateLibraryItemCommand extends Command
1469
- .classBuilder()
1470
- .ep(commonParams)
1471
- .m(function (Command, cs, config, o) {
1472
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
- })
1474
- .s("QAppsService", "CreateLibraryItem", {})
1475
- .n("QAppsClient", "CreateLibraryItemCommand")
1476
- .sc(CreateLibraryItem$)
1477
- .build() {
1429
+ class CreateLibraryItemCommand extends command(_ep0, _mw0, "CreateLibraryItem", CreateLibraryItem$) {
1478
1430
  }
1479
1431
 
1480
- class CreatePresignedUrlCommand extends Command
1481
- .classBuilder()
1482
- .ep(commonParams)
1483
- .m(function (Command, cs, config, o) {
1484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1485
- })
1486
- .s("QAppsService", "CreatePresignedUrl", {})
1487
- .n("QAppsClient", "CreatePresignedUrlCommand")
1488
- .sc(CreatePresignedUrl$)
1489
- .build() {
1432
+ class CreatePresignedUrlCommand extends command(_ep0, _mw0, "CreatePresignedUrl", CreatePresignedUrl$) {
1490
1433
  }
1491
1434
 
1492
- class CreateQAppCommand extends Command
1493
- .classBuilder()
1494
- .ep(commonParams)
1495
- .m(function (Command, cs, config, o) {
1496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
- })
1498
- .s("QAppsService", "CreateQApp", {})
1499
- .n("QAppsClient", "CreateQAppCommand")
1500
- .sc(CreateQApp$)
1501
- .build() {
1435
+ class CreateQAppCommand extends command(_ep0, _mw0, "CreateQApp", CreateQApp$) {
1502
1436
  }
1503
1437
 
1504
- class DeleteLibraryItemCommand extends Command
1505
- .classBuilder()
1506
- .ep(commonParams)
1507
- .m(function (Command, cs, config, o) {
1508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
- })
1510
- .s("QAppsService", "DeleteLibraryItem", {})
1511
- .n("QAppsClient", "DeleteLibraryItemCommand")
1512
- .sc(DeleteLibraryItem$)
1513
- .build() {
1438
+ class DeleteLibraryItemCommand extends command(_ep0, _mw0, "DeleteLibraryItem", DeleteLibraryItem$) {
1514
1439
  }
1515
1440
 
1516
- class DeleteQAppCommand extends Command
1517
- .classBuilder()
1518
- .ep(commonParams)
1519
- .m(function (Command, cs, config, o) {
1520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
- })
1522
- .s("QAppsService", "DeleteQApp", {})
1523
- .n("QAppsClient", "DeleteQAppCommand")
1524
- .sc(DeleteQApp$)
1525
- .build() {
1441
+ class DeleteQAppCommand extends command(_ep0, _mw0, "DeleteQApp", DeleteQApp$) {
1526
1442
  }
1527
1443
 
1528
- class DescribeQAppPermissionsCommand extends Command
1529
- .classBuilder()
1530
- .ep(commonParams)
1531
- .m(function (Command, cs, config, o) {
1532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1533
- })
1534
- .s("QAppsService", "DescribeQAppPermissions", {})
1535
- .n("QAppsClient", "DescribeQAppPermissionsCommand")
1536
- .sc(DescribeQAppPermissions$)
1537
- .build() {
1444
+ class DescribeQAppPermissionsCommand extends command(_ep0, _mw0, "DescribeQAppPermissions", DescribeQAppPermissions$) {
1538
1445
  }
1539
1446
 
1540
- class DisassociateLibraryItemReviewCommand extends Command
1541
- .classBuilder()
1542
- .ep(commonParams)
1543
- .m(function (Command, cs, config, o) {
1544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
- })
1546
- .s("QAppsService", "DisassociateLibraryItemReview", {})
1547
- .n("QAppsClient", "DisassociateLibraryItemReviewCommand")
1548
- .sc(DisassociateLibraryItemReview$)
1549
- .build() {
1447
+ class DisassociateLibraryItemReviewCommand extends command(_ep0, _mw0, "DisassociateLibraryItemReview", DisassociateLibraryItemReview$) {
1550
1448
  }
1551
1449
 
1552
- class DisassociateQAppFromUserCommand extends Command
1553
- .classBuilder()
1554
- .ep(commonParams)
1555
- .m(function (Command, cs, config, o) {
1556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1557
- })
1558
- .s("QAppsService", "DisassociateQAppFromUser", {})
1559
- .n("QAppsClient", "DisassociateQAppFromUserCommand")
1560
- .sc(DisassociateQAppFromUser$)
1561
- .build() {
1450
+ class DisassociateQAppFromUserCommand extends command(_ep0, _mw0, "DisassociateQAppFromUser", DisassociateQAppFromUser$) {
1562
1451
  }
1563
1452
 
1564
- class ExportQAppSessionDataCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("QAppsService", "ExportQAppSessionData", {})
1571
- .n("QAppsClient", "ExportQAppSessionDataCommand")
1572
- .sc(ExportQAppSessionData$)
1573
- .build() {
1453
+ class ExportQAppSessionDataCommand extends command(_ep0, _mw0, "ExportQAppSessionData", ExportQAppSessionData$) {
1574
1454
  }
1575
1455
 
1576
- class GetLibraryItemCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("QAppsService", "GetLibraryItem", {})
1583
- .n("QAppsClient", "GetLibraryItemCommand")
1584
- .sc(GetLibraryItem$)
1585
- .build() {
1456
+ class GetLibraryItemCommand extends command(_ep0, _mw0, "GetLibraryItem", GetLibraryItem$) {
1586
1457
  }
1587
1458
 
1588
- class GetQAppCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("QAppsService", "GetQApp", {})
1595
- .n("QAppsClient", "GetQAppCommand")
1596
- .sc(GetQApp$)
1597
- .build() {
1459
+ class GetQAppCommand extends command(_ep0, _mw0, "GetQApp", GetQApp$) {
1598
1460
  }
1599
1461
 
1600
- class GetQAppSessionCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("QAppsService", "GetQAppSession", {})
1607
- .n("QAppsClient", "GetQAppSessionCommand")
1608
- .sc(GetQAppSession$)
1609
- .build() {
1462
+ class GetQAppSessionCommand extends command(_ep0, _mw0, "GetQAppSession", GetQAppSession$) {
1610
1463
  }
1611
1464
 
1612
- class GetQAppSessionMetadataCommand extends Command
1613
- .classBuilder()
1614
- .ep(commonParams)
1615
- .m(function (Command, cs, config, o) {
1616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
- })
1618
- .s("QAppsService", "GetQAppSessionMetadata", {})
1619
- .n("QAppsClient", "GetQAppSessionMetadataCommand")
1620
- .sc(GetQAppSessionMetadata$)
1621
- .build() {
1465
+ class GetQAppSessionMetadataCommand extends command(_ep0, _mw0, "GetQAppSessionMetadata", GetQAppSessionMetadata$) {
1622
1466
  }
1623
1467
 
1624
- class ImportDocumentCommand extends Command
1625
- .classBuilder()
1626
- .ep(commonParams)
1627
- .m(function (Command, cs, config, o) {
1628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
- })
1630
- .s("QAppsService", "ImportDocument", {})
1631
- .n("QAppsClient", "ImportDocumentCommand")
1632
- .sc(ImportDocument$)
1633
- .build() {
1468
+ class ImportDocumentCommand extends command(_ep0, _mw0, "ImportDocument", ImportDocument$) {
1634
1469
  }
1635
1470
 
1636
- class ListCategoriesCommand extends Command
1637
- .classBuilder()
1638
- .ep(commonParams)
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("QAppsService", "ListCategories", {})
1643
- .n("QAppsClient", "ListCategoriesCommand")
1644
- .sc(ListCategories$)
1645
- .build() {
1471
+ class ListCategoriesCommand extends command(_ep0, _mw0, "ListCategories", ListCategories$) {
1646
1472
  }
1647
1473
 
1648
- class ListLibraryItemsCommand extends Command
1649
- .classBuilder()
1650
- .ep(commonParams)
1651
- .m(function (Command, cs, config, o) {
1652
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1653
- })
1654
- .s("QAppsService", "ListLibraryItems", {})
1655
- .n("QAppsClient", "ListLibraryItemsCommand")
1656
- .sc(ListLibraryItems$)
1657
- .build() {
1474
+ class ListLibraryItemsCommand extends command(_ep0, _mw0, "ListLibraryItems", ListLibraryItems$) {
1658
1475
  }
1659
1476
 
1660
- class ListQAppsCommand extends Command
1661
- .classBuilder()
1662
- .ep(commonParams)
1663
- .m(function (Command, cs, config, o) {
1664
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
- })
1666
- .s("QAppsService", "ListQApps", {})
1667
- .n("QAppsClient", "ListQAppsCommand")
1668
- .sc(ListQApps$)
1669
- .build() {
1477
+ class ListQAppsCommand extends command(_ep0, _mw0, "ListQApps", ListQApps$) {
1670
1478
  }
1671
1479
 
1672
- class ListQAppSessionDataCommand extends Command
1673
- .classBuilder()
1674
- .ep(commonParams)
1675
- .m(function (Command, cs, config, o) {
1676
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
- })
1678
- .s("QAppsService", "ListQAppSessionData", {})
1679
- .n("QAppsClient", "ListQAppSessionDataCommand")
1680
- .sc(ListQAppSessionData$)
1681
- .build() {
1480
+ class ListQAppSessionDataCommand extends command(_ep0, _mw0, "ListQAppSessionData", ListQAppSessionData$) {
1682
1481
  }
1683
1482
 
1684
- class ListTagsForResourceCommand extends Command
1685
- .classBuilder()
1686
- .ep(commonParams)
1687
- .m(function (Command, cs, config, o) {
1688
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1689
- })
1690
- .s("QAppsService", "ListTagsForResource", {})
1691
- .n("QAppsClient", "ListTagsForResourceCommand")
1692
- .sc(ListTagsForResource$)
1693
- .build() {
1483
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1694
1484
  }
1695
1485
 
1696
- class PredictQAppCommand extends Command
1697
- .classBuilder()
1698
- .ep(commonParams)
1699
- .m(function (Command, cs, config, o) {
1700
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
- })
1702
- .s("QAppsService", "PredictQApp", {})
1703
- .n("QAppsClient", "PredictQAppCommand")
1704
- .sc(PredictQApp$)
1705
- .build() {
1486
+ class PredictQAppCommand extends command(_ep0, _mw0, "PredictQApp", PredictQApp$) {
1706
1487
  }
1707
1488
 
1708
- class StartQAppSessionCommand extends Command
1709
- .classBuilder()
1710
- .ep(commonParams)
1711
- .m(function (Command, cs, config, o) {
1712
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1713
- })
1714
- .s("QAppsService", "StartQAppSession", {})
1715
- .n("QAppsClient", "StartQAppSessionCommand")
1716
- .sc(StartQAppSession$)
1717
- .build() {
1489
+ class StartQAppSessionCommand extends command(_ep0, _mw0, "StartQAppSession", StartQAppSession$) {
1718
1490
  }
1719
1491
 
1720
- class StopQAppSessionCommand extends Command
1721
- .classBuilder()
1722
- .ep(commonParams)
1723
- .m(function (Command, cs, config, o) {
1724
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1725
- })
1726
- .s("QAppsService", "StopQAppSession", {})
1727
- .n("QAppsClient", "StopQAppSessionCommand")
1728
- .sc(StopQAppSession$)
1729
- .build() {
1492
+ class StopQAppSessionCommand extends command(_ep0, _mw0, "StopQAppSession", StopQAppSession$) {
1730
1493
  }
1731
1494
 
1732
- class TagResourceCommand extends Command
1733
- .classBuilder()
1734
- .ep(commonParams)
1735
- .m(function (Command, cs, config, o) {
1736
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1737
- })
1738
- .s("QAppsService", "TagResource", {})
1739
- .n("QAppsClient", "TagResourceCommand")
1740
- .sc(TagResource$)
1741
- .build() {
1495
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1742
1496
  }
1743
1497
 
1744
- class UntagResourceCommand extends Command
1745
- .classBuilder()
1746
- .ep(commonParams)
1747
- .m(function (Command, cs, config, o) {
1748
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1749
- })
1750
- .s("QAppsService", "UntagResource", {})
1751
- .n("QAppsClient", "UntagResourceCommand")
1752
- .sc(UntagResource$)
1753
- .build() {
1498
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1754
1499
  }
1755
1500
 
1756
- class UpdateLibraryItemCommand extends Command
1757
- .classBuilder()
1758
- .ep(commonParams)
1759
- .m(function (Command, cs, config, o) {
1760
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1761
- })
1762
- .s("QAppsService", "UpdateLibraryItem", {})
1763
- .n("QAppsClient", "UpdateLibraryItemCommand")
1764
- .sc(UpdateLibraryItem$)
1765
- .build() {
1501
+ class UpdateLibraryItemCommand extends command(_ep0, _mw0, "UpdateLibraryItem", UpdateLibraryItem$) {
1766
1502
  }
1767
1503
 
1768
- class UpdateLibraryItemMetadataCommand extends Command
1769
- .classBuilder()
1770
- .ep(commonParams)
1771
- .m(function (Command, cs, config, o) {
1772
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1773
- })
1774
- .s("QAppsService", "UpdateLibraryItemMetadata", {})
1775
- .n("QAppsClient", "UpdateLibraryItemMetadataCommand")
1776
- .sc(UpdateLibraryItemMetadata$)
1777
- .build() {
1504
+ class UpdateLibraryItemMetadataCommand extends command(_ep0, _mw0, "UpdateLibraryItemMetadata", UpdateLibraryItemMetadata$) {
1778
1505
  }
1779
1506
 
1780
- class UpdateQAppCommand extends Command
1781
- .classBuilder()
1782
- .ep(commonParams)
1783
- .m(function (Command, cs, config, o) {
1784
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1785
- })
1786
- .s("QAppsService", "UpdateQApp", {})
1787
- .n("QAppsClient", "UpdateQAppCommand")
1788
- .sc(UpdateQApp$)
1789
- .build() {
1507
+ class UpdateQAppCommand extends command(_ep0, _mw0, "UpdateQApp", UpdateQApp$) {
1790
1508
  }
1791
1509
 
1792
- class UpdateQAppPermissionsCommand extends Command
1793
- .classBuilder()
1794
- .ep(commonParams)
1795
- .m(function (Command, cs, config, o) {
1796
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
- })
1798
- .s("QAppsService", "UpdateQAppPermissions", {})
1799
- .n("QAppsClient", "UpdateQAppPermissionsCommand")
1800
- .sc(UpdateQAppPermissions$)
1801
- .build() {
1510
+ class UpdateQAppPermissionsCommand extends command(_ep0, _mw0, "UpdateQAppPermissions", UpdateQAppPermissions$) {
1802
1511
  }
1803
1512
 
1804
- class UpdateQAppSessionCommand extends Command
1805
- .classBuilder()
1806
- .ep(commonParams)
1807
- .m(function (Command, cs, config, o) {
1808
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1809
- })
1810
- .s("QAppsService", "UpdateQAppSession", {})
1811
- .n("QAppsClient", "UpdateQAppSessionCommand")
1812
- .sc(UpdateQAppSession$)
1813
- .build() {
1513
+ class UpdateQAppSessionCommand extends command(_ep0, _mw0, "UpdateQAppSession", UpdateQAppSession$) {
1814
1514
  }
1815
1515
 
1816
- class UpdateQAppSessionMetadataCommand extends Command
1817
- .classBuilder()
1818
- .ep(commonParams)
1819
- .m(function (Command, cs, config, o) {
1820
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1821
- })
1822
- .s("QAppsService", "UpdateQAppSessionMetadata", {})
1823
- .n("QAppsClient", "UpdateQAppSessionMetadataCommand")
1824
- .sc(UpdateQAppSessionMetadata$)
1825
- .build() {
1516
+ class UpdateQAppSessionMetadataCommand extends command(_ep0, _mw0, "UpdateQAppSessionMetadata", UpdateQAppSessionMetadata$) {
1826
1517
  }
1827
1518
 
1828
1519
  const paginateListLibraryItems = createPaginator(QAppsClient, ListLibraryItemsCommand, "nextToken", "nextToken", "limit");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "QAppsService", "QAppsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssociateLibraryItemReview$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateLibraryItemReviewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("QAppsService", "AssociateLibraryItemReview", {})
13
- .n("QAppsClient", "AssociateLibraryItemReviewCommand")
14
- .sc(AssociateLibraryItemReview$)
15
- .build() {
3
+ export class AssociateLibraryItemReviewCommand extends command(_ep0, _mw0, "AssociateLibraryItemReview", AssociateLibraryItemReview$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssociateQAppWithUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateQAppWithUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("QAppsService", "AssociateQAppWithUser", {})
13
- .n("QAppsClient", "AssociateQAppWithUserCommand")
14
- .sc(AssociateQAppWithUser$)
15
- .build() {
3
+ export class AssociateQAppWithUserCommand extends command(_ep0, _mw0, "AssociateQAppWithUser", AssociateQAppWithUser$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchCreateCategory$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchCreateCategoryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("QAppsService", "BatchCreateCategory", {})
13
- .n("QAppsClient", "BatchCreateCategoryCommand")
14
- .sc(BatchCreateCategory$)
15
- .build() {
3
+ export class BatchCreateCategoryCommand extends command(_ep0, _mw0, "BatchCreateCategory", BatchCreateCategory$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchDeleteCategory$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchDeleteCategoryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("QAppsService", "BatchDeleteCategory", {})
13
- .n("QAppsClient", "BatchDeleteCategoryCommand")
14
- .sc(BatchDeleteCategory$)
15
- .build() {
3
+ export class BatchDeleteCategoryCommand extends command(_ep0, _mw0, "BatchDeleteCategory", BatchDeleteCategory$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchUpdateCategory$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchUpdateCategoryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("QAppsService", "BatchUpdateCategory", {})
13
- .n("QAppsClient", "BatchUpdateCategoryCommand")
14
- .sc(BatchUpdateCategory$)
15
- .build() {
3
+ export class BatchUpdateCategoryCommand extends command(_ep0, _mw0, "BatchUpdateCategory", BatchUpdateCategory$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateLibraryItem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateLibraryItemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("QAppsService", "CreateLibraryItem", {})
13
- .n("QAppsClient", "CreateLibraryItemCommand")
14
- .sc(CreateLibraryItem$)
15
- .build() {
3
+ export class CreateLibraryItemCommand extends command(_ep0, _mw0, "CreateLibraryItem", CreateLibraryItem$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreatePresignedUrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePresignedUrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("QAppsService", "CreatePresignedUrl", {})
13
- .n("QAppsClient", "CreatePresignedUrlCommand")
14
- .sc(CreatePresignedUrl$)
15
- .build() {
3
+ export class CreatePresignedUrlCommand extends command(_ep0, _mw0, "CreatePresignedUrl", CreatePresignedUrl$) {
16
4
  }