@aws-sdk/client-qapps 3.612.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 (187) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +397 -0
  3. package/dist-cjs/QApps.js +57 -0
  4. package/dist-cjs/QAppsClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateLibraryItemReviewCommand.js +28 -0
  8. package/dist-cjs/commands/AssociateQAppWithUserCommand.js +28 -0
  9. package/dist-cjs/commands/CreateLibraryItemCommand.js +28 -0
  10. package/dist-cjs/commands/CreateQAppCommand.js +28 -0
  11. package/dist-cjs/commands/DeleteLibraryItemCommand.js +28 -0
  12. package/dist-cjs/commands/DeleteQAppCommand.js +28 -0
  13. package/dist-cjs/commands/DisassociateLibraryItemReviewCommand.js +28 -0
  14. package/dist-cjs/commands/DisassociateQAppFromUserCommand.js +28 -0
  15. package/dist-cjs/commands/GetLibraryItemCommand.js +28 -0
  16. package/dist-cjs/commands/GetQAppCommand.js +28 -0
  17. package/dist-cjs/commands/GetQAppSessionCommand.js +28 -0
  18. package/dist-cjs/commands/ImportDocumentCommand.js +28 -0
  19. package/dist-cjs/commands/ListLibraryItemsCommand.js +28 -0
  20. package/dist-cjs/commands/ListQAppsCommand.js +28 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  22. package/dist-cjs/commands/PredictQAppCommand.js +28 -0
  23. package/dist-cjs/commands/StartQAppSessionCommand.js +28 -0
  24. package/dist-cjs/commands/StopQAppSessionCommand.js +28 -0
  25. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  26. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  27. package/dist-cjs/commands/UpdateLibraryItemCommand.js +28 -0
  28. package/dist-cjs/commands/UpdateQAppCommand.js +28 -0
  29. package/dist-cjs/commands/UpdateQAppSessionCommand.js +28 -0
  30. package/dist-cjs/commands/index.js +26 -0
  31. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  32. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  33. package/dist-cjs/endpoint/ruleset.js +7 -0
  34. package/dist-cjs/extensionConfiguration.js +2 -0
  35. package/dist-cjs/index.js +11 -0
  36. package/dist-cjs/models/QAppsServiceException.js +12 -0
  37. package/dist-cjs/models/index.js +4 -0
  38. package/dist-cjs/models/models_0.js +236 -0
  39. package/dist-cjs/pagination/Interfaces.js +2 -0
  40. package/dist-cjs/pagination/ListLibraryItemsPaginator.js +7 -0
  41. package/dist-cjs/pagination/ListQAppsPaginator.js +7 -0
  42. package/dist-cjs/pagination/index.js +6 -0
  43. package/dist-cjs/protocols/Aws_restJson1.js +1207 -0
  44. package/dist-cjs/runtimeConfig.browser.js +39 -0
  45. package/dist-cjs/runtimeConfig.js +49 -0
  46. package/dist-cjs/runtimeConfig.native.js +15 -0
  47. package/dist-cjs/runtimeConfig.shared.js +34 -0
  48. package/dist-cjs/runtimeExtensions.js +25 -0
  49. package/dist-es/QApps.js +53 -0
  50. package/dist-es/QAppsClient.js +52 -0
  51. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  52. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  53. package/dist-es/commands/AssociateLibraryItemReviewCommand.js +24 -0
  54. package/dist-es/commands/AssociateQAppWithUserCommand.js +24 -0
  55. package/dist-es/commands/CreateLibraryItemCommand.js +24 -0
  56. package/dist-es/commands/CreateQAppCommand.js +24 -0
  57. package/dist-es/commands/DeleteLibraryItemCommand.js +24 -0
  58. package/dist-es/commands/DeleteQAppCommand.js +24 -0
  59. package/dist-es/commands/DisassociateLibraryItemReviewCommand.js +24 -0
  60. package/dist-es/commands/DisassociateQAppFromUserCommand.js +24 -0
  61. package/dist-es/commands/GetLibraryItemCommand.js +24 -0
  62. package/dist-es/commands/GetQAppCommand.js +24 -0
  63. package/dist-es/commands/GetQAppSessionCommand.js +24 -0
  64. package/dist-es/commands/ImportDocumentCommand.js +24 -0
  65. package/dist-es/commands/ListLibraryItemsCommand.js +24 -0
  66. package/dist-es/commands/ListQAppsCommand.js +24 -0
  67. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  68. package/dist-es/commands/PredictQAppCommand.js +24 -0
  69. package/dist-es/commands/StartQAppSessionCommand.js +24 -0
  70. package/dist-es/commands/StopQAppSessionCommand.js +24 -0
  71. package/dist-es/commands/TagResourceCommand.js +24 -0
  72. package/dist-es/commands/UntagResourceCommand.js +24 -0
  73. package/dist-es/commands/UpdateLibraryItemCommand.js +24 -0
  74. package/dist-es/commands/UpdateQAppCommand.js +24 -0
  75. package/dist-es/commands/UpdateQAppSessionCommand.js +24 -0
  76. package/dist-es/commands/index.js +23 -0
  77. package/dist-es/endpoint/EndpointParameters.js +14 -0
  78. package/dist-es/endpoint/endpointResolver.js +10 -0
  79. package/dist-es/endpoint/ruleset.js +4 -0
  80. package/dist-es/extensionConfiguration.js +1 -0
  81. package/dist-es/index.js +6 -0
  82. package/dist-es/models/QAppsServiceException.js +8 -0
  83. package/dist-es/models/index.js +1 -0
  84. package/dist-es/models/models_0.js +224 -0
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/dist-es/pagination/ListLibraryItemsPaginator.js +4 -0
  87. package/dist-es/pagination/ListQAppsPaginator.js +4 -0
  88. package/dist-es/pagination/index.js +3 -0
  89. package/dist-es/protocols/Aws_restJson1.js +1158 -0
  90. package/dist-es/runtimeConfig.browser.js +34 -0
  91. package/dist-es/runtimeConfig.js +44 -0
  92. package/dist-es/runtimeConfig.native.js +11 -0
  93. package/dist-es/runtimeConfig.shared.js +30 -0
  94. package/dist-es/runtimeExtensions.js +21 -0
  95. package/dist-types/QApps.d.ts +179 -0
  96. package/dist-types/QAppsClient.d.ts +202 -0
  97. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  98. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  99. package/dist-types/commands/AssociateLibraryItemReviewCommand.d.ts +83 -0
  100. package/dist-types/commands/AssociateQAppWithUserCommand.d.ts +85 -0
  101. package/dist-types/commands/CreateLibraryItemCommand.d.ts +95 -0
  102. package/dist-types/commands/CreateQAppCommand.d.ts +225 -0
  103. package/dist-types/commands/DeleteLibraryItemCommand.d.ts +83 -0
  104. package/dist-types/commands/DeleteQAppCommand.d.ts +78 -0
  105. package/dist-types/commands/DisassociateLibraryItemReviewCommand.d.ts +82 -0
  106. package/dist-types/commands/DisassociateQAppFromUserCommand.d.ts +79 -0
  107. package/dist-types/commands/GetLibraryItemCommand.d.ts +98 -0
  108. package/dist-types/commands/GetQAppCommand.d.ts +224 -0
  109. package/dist-types/commands/GetQAppSessionCommand.d.ts +92 -0
  110. package/dist-types/commands/ImportDocumentCommand.d.ts +97 -0
  111. package/dist-types/commands/ListLibraryItemsCommand.d.ts +103 -0
  112. package/dist-types/commands/ListQAppsCommand.d.ts +91 -0
  113. package/dist-types/commands/ListTagsForResourceCommand.d.ts +78 -0
  114. package/dist-types/commands/PredictQAppCommand.d.ts +209 -0
  115. package/dist-types/commands/StartQAppSessionCommand.d.ts +100 -0
  116. package/dist-types/commands/StopQAppSessionCommand.d.ts +84 -0
  117. package/dist-types/commands/TagResourceCommand.d.ts +81 -0
  118. package/dist-types/commands/UntagResourceCommand.d.ts +77 -0
  119. package/dist-types/commands/UpdateLibraryItemCommand.d.ts +100 -0
  120. package/dist-types/commands/UpdateQAppCommand.d.ts +216 -0
  121. package/dist-types/commands/UpdateQAppSessionCommand.d.ts +95 -0
  122. package/dist-types/commands/index.d.ts +23 -0
  123. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  124. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  125. package/dist-types/endpoint/ruleset.d.ts +2 -0
  126. package/dist-types/extensionConfiguration.d.ts +9 -0
  127. package/dist-types/index.d.ts +22 -0
  128. package/dist-types/models/QAppsServiceException.d.ts +14 -0
  129. package/dist-types/models/index.d.ts +1 -0
  130. package/dist-types/models/models_0.d.ts +2138 -0
  131. package/dist-types/pagination/Interfaces.d.ts +8 -0
  132. package/dist-types/pagination/ListLibraryItemsPaginator.d.ts +7 -0
  133. package/dist-types/pagination/ListQAppsPaginator.d.ts +7 -0
  134. package/dist-types/pagination/index.d.ts +3 -0
  135. package/dist-types/protocols/Aws_restJson1.d.ts +209 -0
  136. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  137. package/dist-types/runtimeConfig.d.ts +45 -0
  138. package/dist-types/runtimeConfig.native.d.ts +44 -0
  139. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  140. package/dist-types/runtimeExtensions.d.ts +17 -0
  141. package/dist-types/ts3.4/QApps.d.ts +396 -0
  142. package/dist-types/ts3.4/QAppsClient.d.ts +258 -0
  143. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  144. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  145. package/dist-types/ts3.4/commands/AssociateLibraryItemReviewCommand.d.ts +36 -0
  146. package/dist-types/ts3.4/commands/AssociateQAppWithUserCommand.d.ts +35 -0
  147. package/dist-types/ts3.4/commands/CreateLibraryItemCommand.d.ts +39 -0
  148. package/dist-types/ts3.4/commands/CreateQAppCommand.d.ts +36 -0
  149. package/dist-types/ts3.4/commands/DeleteLibraryItemCommand.d.ts +34 -0
  150. package/dist-types/ts3.4/commands/DeleteQAppCommand.d.ts +34 -0
  151. package/dist-types/ts3.4/commands/DisassociateLibraryItemReviewCommand.d.ts +36 -0
  152. package/dist-types/ts3.4/commands/DisassociateQAppFromUserCommand.d.ts +36 -0
  153. package/dist-types/ts3.4/commands/GetLibraryItemCommand.d.ts +36 -0
  154. package/dist-types/ts3.4/commands/GetQAppCommand.d.ts +30 -0
  155. package/dist-types/ts3.4/commands/GetQAppSessionCommand.d.ts +36 -0
  156. package/dist-types/ts3.4/commands/ImportDocumentCommand.d.ts +36 -0
  157. package/dist-types/ts3.4/commands/ListLibraryItemsCommand.d.ts +39 -0
  158. package/dist-types/ts3.4/commands/ListQAppsCommand.d.ts +36 -0
  159. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  160. package/dist-types/ts3.4/commands/PredictQAppCommand.d.ts +36 -0
  161. package/dist-types/ts3.4/commands/StartQAppSessionCommand.d.ts +39 -0
  162. package/dist-types/ts3.4/commands/StopQAppSessionCommand.d.ts +34 -0
  163. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
  164. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
  165. package/dist-types/ts3.4/commands/UpdateLibraryItemCommand.d.ts +39 -0
  166. package/dist-types/ts3.4/commands/UpdateQAppCommand.d.ts +36 -0
  167. package/dist-types/ts3.4/commands/UpdateQAppSessionCommand.d.ts +39 -0
  168. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  169. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  170. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  171. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  172. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  173. package/dist-types/ts3.4/index.d.ts +9 -0
  174. package/dist-types/ts3.4/models/QAppsServiceException.d.ts +9 -0
  175. package/dist-types/ts3.4/models/index.d.ts +1 -0
  176. package/dist-types/ts3.4/models/models_0.d.ts +681 -0
  177. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  178. package/dist-types/ts3.4/pagination/ListLibraryItemsPaginator.d.ts +11 -0
  179. package/dist-types/ts3.4/pagination/ListQAppsPaginator.d.ts +11 -0
  180. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  181. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +281 -0
  182. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  183. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  184. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  185. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  186. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  187. package/package.json +101 -0
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StopQAppSessionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class StopQAppSessionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("QAppsService", "StopQAppSession", {})
22
+ .n("QAppsClient", "StopQAppSessionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_StopQAppSessionCommand)
25
+ .de(Aws_restJson1_1.de_StopQAppSessionCommand)
26
+ .build() {
27
+ }
28
+ exports.StopQAppSessionCommand = StopQAppSessionCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("QAppsService", "TagResource", {})
22
+ .n("QAppsClient", "TagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_TagResourceCommand)
25
+ .de(Aws_restJson1_1.de_TagResourceCommand)
26
+ .build() {
27
+ }
28
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("QAppsService", "UntagResource", {})
22
+ .n("QAppsClient", "UntagResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UntagResourceCommand)
25
+ .de(Aws_restJson1_1.de_UntagResourceCommand)
26
+ .build() {
27
+ }
28
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateLibraryItemCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateLibraryItemCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("QAppsService", "UpdateLibraryItem", {})
22
+ .n("QAppsClient", "UpdateLibraryItemCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateLibraryItemCommand)
25
+ .de(Aws_restJson1_1.de_UpdateLibraryItemCommand)
26
+ .build() {
27
+ }
28
+ exports.UpdateLibraryItemCommand = UpdateLibraryItemCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateQAppCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateQAppCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("QAppsService", "UpdateQApp", {})
22
+ .n("QAppsClient", "UpdateQAppCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateQAppCommand)
25
+ .de(Aws_restJson1_1.de_UpdateQAppCommand)
26
+ .build() {
27
+ }
28
+ exports.UpdateQAppCommand = UpdateQAppCommand;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateQAppSessionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateQAppSessionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("QAppsService", "UpdateQAppSession", {})
22
+ .n("QAppsClient", "UpdateQAppSessionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateQAppSessionCommand)
25
+ .de(Aws_restJson1_1.de_UpdateQAppSessionCommand)
26
+ .build() {
27
+ }
28
+ exports.UpdateQAppSessionCommand = UpdateQAppSessionCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AssociateLibraryItemReviewCommand"), exports);
5
+ tslib_1.__exportStar(require("./AssociateQAppWithUserCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateLibraryItemCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateQAppCommand"), exports);
8
+ tslib_1.__exportStar(require("./DeleteLibraryItemCommand"), exports);
9
+ tslib_1.__exportStar(require("./DeleteQAppCommand"), exports);
10
+ tslib_1.__exportStar(require("./DisassociateLibraryItemReviewCommand"), exports);
11
+ tslib_1.__exportStar(require("./DisassociateQAppFromUserCommand"), exports);
12
+ tslib_1.__exportStar(require("./GetLibraryItemCommand"), exports);
13
+ tslib_1.__exportStar(require("./GetQAppCommand"), exports);
14
+ tslib_1.__exportStar(require("./GetQAppSessionCommand"), exports);
15
+ tslib_1.__exportStar(require("./ImportDocumentCommand"), exports);
16
+ tslib_1.__exportStar(require("./ListLibraryItemsCommand"), exports);
17
+ tslib_1.__exportStar(require("./ListQAppsCommand"), exports);
18
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
19
+ tslib_1.__exportStar(require("./PredictQAppCommand"), exports);
20
+ tslib_1.__exportStar(require("./StartQAppSessionCommand"), exports);
21
+ tslib_1.__exportStar(require("./StopQAppSessionCommand"), exports);
22
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
23
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
24
+ tslib_1.__exportStar(require("./UpdateLibraryItemCommand"), exports);
25
+ tslib_1.__exportStar(require("./UpdateQAppCommand"), exports);
26
+ tslib_1.__exportStar(require("./UpdateQAppSessionCommand"), exports);
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return {
6
+ ...options,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
9
+ defaultSigningName: "qapps",
10
+ };
11
+ };
12
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
6
+ const ruleset_1 = require("./ruleset");
7
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
9
+ endpointParams: endpointParams,
10
+ logger: context.logger,
11
+ });
12
+ };
13
+ exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://data.qapps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://data.qapps-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://data.qapps.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://data.qapps.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QAppsServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./QAppsClient"), exports);
6
+ tslib_1.__exportStar(require("./QApps"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ var QAppsServiceException_1 = require("./models/QAppsServiceException");
11
+ Object.defineProperty(exports, "QAppsServiceException", { enumerable: true, get: function () { return QAppsServiceException_1.QAppsServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QAppsServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class QAppsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, QAppsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.QAppsServiceException = QAppsServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);
@@ -0,0 +1,236 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CardInput = exports.Card = exports.PredictQAppInputOptions = exports.LibraryItemStatus = exports.DocumentScope = exports.Sender = exports.ContentTooLargeException = exports.ConflictException = exports.ExecutionStatus = exports.ValidationException = exports.UnauthorizedException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AppStatus = exports.AppRequiredCapability = exports.CardOutputSource = exports.DocumentAttributeValue = exports.PluginType = exports.CardType = exports.AccessDeniedException = void 0;
4
+ const QAppsServiceException_1 = require("./QAppsServiceException");
5
+ class AccessDeniedException extends QAppsServiceException_1.QAppsServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ this.name = "AccessDeniedException";
13
+ this.$fault = "client";
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ }
16
+ }
17
+ exports.AccessDeniedException = AccessDeniedException;
18
+ exports.CardType = {
19
+ FILE_UPLOAD: "file-upload",
20
+ Q_PLUGIN: "q-plugin",
21
+ Q_QUERY: "q-query",
22
+ TEXT_INPUT: "text-input",
23
+ };
24
+ exports.PluginType = {
25
+ CUSTOM: "CUSTOM",
26
+ JIRA: "JIRA",
27
+ SALESFORCE: "SALESFORCE",
28
+ SERVICE_NOW: "SERVICE_NOW",
29
+ ZENDESK: "ZENDESK",
30
+ };
31
+ var DocumentAttributeValue;
32
+ (function (DocumentAttributeValue) {
33
+ DocumentAttributeValue.visit = (value, visitor) => {
34
+ if (value.stringValue !== undefined)
35
+ return visitor.stringValue(value.stringValue);
36
+ if (value.stringListValue !== undefined)
37
+ return visitor.stringListValue(value.stringListValue);
38
+ if (value.longValue !== undefined)
39
+ return visitor.longValue(value.longValue);
40
+ if (value.dateValue !== undefined)
41
+ return visitor.dateValue(value.dateValue);
42
+ return visitor._(value.$unknown[0], value.$unknown[1]);
43
+ };
44
+ })(DocumentAttributeValue = exports.DocumentAttributeValue || (exports.DocumentAttributeValue = {}));
45
+ exports.CardOutputSource = {
46
+ APPROVED_SOURCES: "approved-sources",
47
+ LLM: "llm",
48
+ };
49
+ exports.AppRequiredCapability = {
50
+ CREATOR_MODE: "CreatorMode",
51
+ FILE_UPLOAD: "FileUpload",
52
+ PLUGIN_MODE: "PluginMode",
53
+ RETRIEVAL_MODE: "RetrievalMode",
54
+ };
55
+ exports.AppStatus = {
56
+ DELETED: "DELETED",
57
+ DRAFT: "DRAFT",
58
+ PUBLISHED: "PUBLISHED",
59
+ };
60
+ class InternalServerException extends QAppsServiceException_1.QAppsServiceException {
61
+ constructor(opts) {
62
+ super({
63
+ name: "InternalServerException",
64
+ $fault: "server",
65
+ ...opts,
66
+ });
67
+ this.name = "InternalServerException";
68
+ this.$fault = "server";
69
+ this.$retryable = {};
70
+ Object.setPrototypeOf(this, InternalServerException.prototype);
71
+ this.retryAfterSeconds = opts.retryAfterSeconds;
72
+ }
73
+ }
74
+ exports.InternalServerException = InternalServerException;
75
+ class ResourceNotFoundException extends QAppsServiceException_1.QAppsServiceException {
76
+ constructor(opts) {
77
+ super({
78
+ name: "ResourceNotFoundException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ this.name = "ResourceNotFoundException";
83
+ this.$fault = "client";
84
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
85
+ this.resourceId = opts.resourceId;
86
+ this.resourceType = opts.resourceType;
87
+ }
88
+ }
89
+ exports.ResourceNotFoundException = ResourceNotFoundException;
90
+ class ServiceQuotaExceededException extends QAppsServiceException_1.QAppsServiceException {
91
+ constructor(opts) {
92
+ super({
93
+ name: "ServiceQuotaExceededException",
94
+ $fault: "client",
95
+ ...opts,
96
+ });
97
+ this.name = "ServiceQuotaExceededException";
98
+ this.$fault = "client";
99
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
100
+ this.resourceId = opts.resourceId;
101
+ this.resourceType = opts.resourceType;
102
+ this.serviceCode = opts.serviceCode;
103
+ this.quotaCode = opts.quotaCode;
104
+ }
105
+ }
106
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
107
+ class ThrottlingException extends QAppsServiceException_1.QAppsServiceException {
108
+ constructor(opts) {
109
+ super({
110
+ name: "ThrottlingException",
111
+ $fault: "client",
112
+ ...opts,
113
+ });
114
+ this.name = "ThrottlingException";
115
+ this.$fault = "client";
116
+ this.$retryable = {
117
+ throttling: true,
118
+ };
119
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
120
+ this.serviceCode = opts.serviceCode;
121
+ this.quotaCode = opts.quotaCode;
122
+ this.retryAfterSeconds = opts.retryAfterSeconds;
123
+ }
124
+ }
125
+ exports.ThrottlingException = ThrottlingException;
126
+ class UnauthorizedException extends QAppsServiceException_1.QAppsServiceException {
127
+ constructor(opts) {
128
+ super({
129
+ name: "UnauthorizedException",
130
+ $fault: "client",
131
+ ...opts,
132
+ });
133
+ this.name = "UnauthorizedException";
134
+ this.$fault = "client";
135
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
136
+ }
137
+ }
138
+ exports.UnauthorizedException = UnauthorizedException;
139
+ class ValidationException extends QAppsServiceException_1.QAppsServiceException {
140
+ constructor(opts) {
141
+ super({
142
+ name: "ValidationException",
143
+ $fault: "client",
144
+ ...opts,
145
+ });
146
+ this.name = "ValidationException";
147
+ this.$fault = "client";
148
+ Object.setPrototypeOf(this, ValidationException.prototype);
149
+ }
150
+ }
151
+ exports.ValidationException = ValidationException;
152
+ exports.ExecutionStatus = {
153
+ COMPLETED: "COMPLETED",
154
+ IN_PROGRESS: "IN_PROGRESS",
155
+ WAITING: "WAITING",
156
+ };
157
+ class ConflictException extends QAppsServiceException_1.QAppsServiceException {
158
+ constructor(opts) {
159
+ super({
160
+ name: "ConflictException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ this.name = "ConflictException";
165
+ this.$fault = "client";
166
+ Object.setPrototypeOf(this, ConflictException.prototype);
167
+ this.resourceId = opts.resourceId;
168
+ this.resourceType = opts.resourceType;
169
+ }
170
+ }
171
+ exports.ConflictException = ConflictException;
172
+ class ContentTooLargeException extends QAppsServiceException_1.QAppsServiceException {
173
+ constructor(opts) {
174
+ super({
175
+ name: "ContentTooLargeException",
176
+ $fault: "client",
177
+ ...opts,
178
+ });
179
+ this.name = "ContentTooLargeException";
180
+ this.$fault = "client";
181
+ Object.setPrototypeOf(this, ContentTooLargeException.prototype);
182
+ this.resourceId = opts.resourceId;
183
+ this.resourceType = opts.resourceType;
184
+ }
185
+ }
186
+ exports.ContentTooLargeException = ContentTooLargeException;
187
+ exports.Sender = {
188
+ SYSTEM: "SYSTEM",
189
+ USER: "USER",
190
+ };
191
+ exports.DocumentScope = {
192
+ APPLICATION: "APPLICATION",
193
+ SESSION: "SESSION",
194
+ };
195
+ exports.LibraryItemStatus = {
196
+ DISABLED: "DISABLED",
197
+ PUBLISHED: "PUBLISHED",
198
+ };
199
+ var PredictQAppInputOptions;
200
+ (function (PredictQAppInputOptions) {
201
+ PredictQAppInputOptions.visit = (value, visitor) => {
202
+ if (value.conversation !== undefined)
203
+ return visitor.conversation(value.conversation);
204
+ if (value.problemStatement !== undefined)
205
+ return visitor.problemStatement(value.problemStatement);
206
+ return visitor._(value.$unknown[0], value.$unknown[1]);
207
+ };
208
+ })(PredictQAppInputOptions = exports.PredictQAppInputOptions || (exports.PredictQAppInputOptions = {}));
209
+ var Card;
210
+ (function (Card) {
211
+ Card.visit = (value, visitor) => {
212
+ if (value.textInput !== undefined)
213
+ return visitor.textInput(value.textInput);
214
+ if (value.qQuery !== undefined)
215
+ return visitor.qQuery(value.qQuery);
216
+ if (value.qPlugin !== undefined)
217
+ return visitor.qPlugin(value.qPlugin);
218
+ if (value.fileUpload !== undefined)
219
+ return visitor.fileUpload(value.fileUpload);
220
+ return visitor._(value.$unknown[0], value.$unknown[1]);
221
+ };
222
+ })(Card = exports.Card || (exports.Card = {}));
223
+ var CardInput;
224
+ (function (CardInput) {
225
+ CardInput.visit = (value, visitor) => {
226
+ if (value.textInput !== undefined)
227
+ return visitor.textInput(value.textInput);
228
+ if (value.qQuery !== undefined)
229
+ return visitor.qQuery(value.qQuery);
230
+ if (value.qPlugin !== undefined)
231
+ return visitor.qPlugin(value.qPlugin);
232
+ if (value.fileUpload !== undefined)
233
+ return visitor.fileUpload(value.fileUpload);
234
+ return visitor._(value.$unknown[0], value.$unknown[1]);
235
+ };
236
+ })(CardInput = exports.CardInput || (exports.CardInput = {}));
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListLibraryItems = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListLibraryItemsCommand_1 = require("../commands/ListLibraryItemsCommand");
6
+ const QAppsClient_1 = require("../QAppsClient");
7
+ exports.paginateListLibraryItems = (0, core_1.createPaginator)(QAppsClient_1.QAppsClient, ListLibraryItemsCommand_1.ListLibraryItemsCommand, "nextToken", "nextToken", "limit");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListQApps = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListQAppsCommand_1 = require("../commands/ListQAppsCommand");
6
+ const QAppsClient_1 = require("../QAppsClient");
7
+ exports.paginateListQApps = (0, core_1.createPaginator)(QAppsClient_1.QAppsClient, ListQAppsCommand_1.ListQAppsCommand, "nextToken", "nextToken", "limit");
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListLibraryItemsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListQAppsPaginator"), exports);