@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,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ImportDocumentCommand, se_ImportDocumentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ImportDocumentCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "ImportDocument", {})
19
+ .n("QAppsClient", "ImportDocumentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ImportDocumentCommand)
22
+ .de(de_ImportDocumentCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListLibraryItemsCommand, se_ListLibraryItemsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListLibraryItemsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "ListLibraryItems", {})
19
+ .n("QAppsClient", "ListLibraryItemsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListLibraryItemsCommand)
22
+ .de(de_ListLibraryItemsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListQAppsCommand, se_ListQAppsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListQAppsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "ListQApps", {})
19
+ .n("QAppsClient", "ListQAppsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListQAppsCommand)
22
+ .de(de_ListQAppsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "ListTagsForResource", {})
19
+ .n("QAppsClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_PredictQAppCommand, se_PredictQAppCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PredictQAppCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "PredictQApp", {})
19
+ .n("QAppsClient", "PredictQAppCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PredictQAppCommand)
22
+ .de(de_PredictQAppCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartQAppSessionCommand, se_StartQAppSessionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StartQAppSessionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "StartQAppSession", {})
19
+ .n("QAppsClient", "StartQAppSessionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartQAppSessionCommand)
22
+ .de(de_StartQAppSessionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StopQAppSessionCommand, se_StopQAppSessionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StopQAppSessionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "StopQAppSession", {})
19
+ .n("QAppsClient", "StopQAppSessionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopQAppSessionCommand)
22
+ .de(de_StopQAppSessionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "TagResource", {})
19
+ .n("QAppsClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "UntagResource", {})
19
+ .n("QAppsClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateLibraryItemCommand, se_UpdateLibraryItemCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateLibraryItemCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "UpdateLibraryItem", {})
19
+ .n("QAppsClient", "UpdateLibraryItemCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateLibraryItemCommand)
22
+ .de(de_UpdateLibraryItemCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateQAppCommand, se_UpdateQAppCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateQAppCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "UpdateQApp", {})
19
+ .n("QAppsClient", "UpdateQAppCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateQAppCommand)
22
+ .de(de_UpdateQAppCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateQAppSessionCommand, se_UpdateQAppSessionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateQAppSessionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("QAppsService", "UpdateQAppSession", {})
19
+ .n("QAppsClient", "UpdateQAppSessionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateQAppSessionCommand)
22
+ .de(de_UpdateQAppSessionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,23 @@
1
+ export * from "./AssociateLibraryItemReviewCommand";
2
+ export * from "./AssociateQAppWithUserCommand";
3
+ export * from "./CreateLibraryItemCommand";
4
+ export * from "./CreateQAppCommand";
5
+ export * from "./DeleteLibraryItemCommand";
6
+ export * from "./DeleteQAppCommand";
7
+ export * from "./DisassociateLibraryItemReviewCommand";
8
+ export * from "./DisassociateQAppFromUserCommand";
9
+ export * from "./GetLibraryItemCommand";
10
+ export * from "./GetQAppCommand";
11
+ export * from "./GetQAppSessionCommand";
12
+ export * from "./ImportDocumentCommand";
13
+ export * from "./ListLibraryItemsCommand";
14
+ export * from "./ListQAppsCommand";
15
+ export * from "./ListTagsForResourceCommand";
16
+ export * from "./PredictQAppCommand";
17
+ export * from "./StartQAppSessionCommand";
18
+ export * from "./StopQAppSessionCommand";
19
+ export * from "./TagResourceCommand";
20
+ export * from "./UntagResourceCommand";
21
+ export * from "./UpdateLibraryItemCommand";
22
+ export * from "./UpdateQAppCommand";
23
+ export * from "./UpdateQAppSessionCommand";
@@ -0,0 +1,14 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "qapps",
7
+ };
8
+ };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -0,0 +1,10 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
+ return resolveEndpoint(ruleSet, {
6
+ endpointParams: endpointParams,
7
+ logger: context.logger,
8
+ });
9
+ };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ 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" }];
3
+ 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 }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from "./QAppsClient";
2
+ export * from "./QApps";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ export { QAppsServiceException } from "./models/QAppsServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class QAppsServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, QAppsServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,224 @@
1
+ import { QAppsServiceException as __BaseException } from "./QAppsServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "AccessDeniedException",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "AccessDeniedException";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export const CardType = {
15
+ FILE_UPLOAD: "file-upload",
16
+ Q_PLUGIN: "q-plugin",
17
+ Q_QUERY: "q-query",
18
+ TEXT_INPUT: "text-input",
19
+ };
20
+ export const PluginType = {
21
+ CUSTOM: "CUSTOM",
22
+ JIRA: "JIRA",
23
+ SALESFORCE: "SALESFORCE",
24
+ SERVICE_NOW: "SERVICE_NOW",
25
+ ZENDESK: "ZENDESK",
26
+ };
27
+ export var DocumentAttributeValue;
28
+ (function (DocumentAttributeValue) {
29
+ DocumentAttributeValue.visit = (value, visitor) => {
30
+ if (value.stringValue !== undefined)
31
+ return visitor.stringValue(value.stringValue);
32
+ if (value.stringListValue !== undefined)
33
+ return visitor.stringListValue(value.stringListValue);
34
+ if (value.longValue !== undefined)
35
+ return visitor.longValue(value.longValue);
36
+ if (value.dateValue !== undefined)
37
+ return visitor.dateValue(value.dateValue);
38
+ return visitor._(value.$unknown[0], value.$unknown[1]);
39
+ };
40
+ })(DocumentAttributeValue || (DocumentAttributeValue = {}));
41
+ export const CardOutputSource = {
42
+ APPROVED_SOURCES: "approved-sources",
43
+ LLM: "llm",
44
+ };
45
+ export const AppRequiredCapability = {
46
+ CREATOR_MODE: "CreatorMode",
47
+ FILE_UPLOAD: "FileUpload",
48
+ PLUGIN_MODE: "PluginMode",
49
+ RETRIEVAL_MODE: "RetrievalMode",
50
+ };
51
+ export const AppStatus = {
52
+ DELETED: "DELETED",
53
+ DRAFT: "DRAFT",
54
+ PUBLISHED: "PUBLISHED",
55
+ };
56
+ export class InternalServerException extends __BaseException {
57
+ constructor(opts) {
58
+ super({
59
+ name: "InternalServerException",
60
+ $fault: "server",
61
+ ...opts,
62
+ });
63
+ this.name = "InternalServerException";
64
+ this.$fault = "server";
65
+ this.$retryable = {};
66
+ Object.setPrototypeOf(this, InternalServerException.prototype);
67
+ this.retryAfterSeconds = opts.retryAfterSeconds;
68
+ }
69
+ }
70
+ export class ResourceNotFoundException extends __BaseException {
71
+ constructor(opts) {
72
+ super({
73
+ name: "ResourceNotFoundException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ this.name = "ResourceNotFoundException";
78
+ this.$fault = "client";
79
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
80
+ this.resourceId = opts.resourceId;
81
+ this.resourceType = opts.resourceType;
82
+ }
83
+ }
84
+ export class ServiceQuotaExceededException extends __BaseException {
85
+ constructor(opts) {
86
+ super({
87
+ name: "ServiceQuotaExceededException",
88
+ $fault: "client",
89
+ ...opts,
90
+ });
91
+ this.name = "ServiceQuotaExceededException";
92
+ this.$fault = "client";
93
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
94
+ this.resourceId = opts.resourceId;
95
+ this.resourceType = opts.resourceType;
96
+ this.serviceCode = opts.serviceCode;
97
+ this.quotaCode = opts.quotaCode;
98
+ }
99
+ }
100
+ export class ThrottlingException extends __BaseException {
101
+ constructor(opts) {
102
+ super({
103
+ name: "ThrottlingException",
104
+ $fault: "client",
105
+ ...opts,
106
+ });
107
+ this.name = "ThrottlingException";
108
+ this.$fault = "client";
109
+ this.$retryable = {
110
+ throttling: true,
111
+ };
112
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
113
+ this.serviceCode = opts.serviceCode;
114
+ this.quotaCode = opts.quotaCode;
115
+ this.retryAfterSeconds = opts.retryAfterSeconds;
116
+ }
117
+ }
118
+ export class UnauthorizedException extends __BaseException {
119
+ constructor(opts) {
120
+ super({
121
+ name: "UnauthorizedException",
122
+ $fault: "client",
123
+ ...opts,
124
+ });
125
+ this.name = "UnauthorizedException";
126
+ this.$fault = "client";
127
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
128
+ }
129
+ }
130
+ export class ValidationException extends __BaseException {
131
+ constructor(opts) {
132
+ super({
133
+ name: "ValidationException",
134
+ $fault: "client",
135
+ ...opts,
136
+ });
137
+ this.name = "ValidationException";
138
+ this.$fault = "client";
139
+ Object.setPrototypeOf(this, ValidationException.prototype);
140
+ }
141
+ }
142
+ export const ExecutionStatus = {
143
+ COMPLETED: "COMPLETED",
144
+ IN_PROGRESS: "IN_PROGRESS",
145
+ WAITING: "WAITING",
146
+ };
147
+ export class ConflictException extends __BaseException {
148
+ constructor(opts) {
149
+ super({
150
+ name: "ConflictException",
151
+ $fault: "client",
152
+ ...opts,
153
+ });
154
+ this.name = "ConflictException";
155
+ this.$fault = "client";
156
+ Object.setPrototypeOf(this, ConflictException.prototype);
157
+ this.resourceId = opts.resourceId;
158
+ this.resourceType = opts.resourceType;
159
+ }
160
+ }
161
+ export class ContentTooLargeException extends __BaseException {
162
+ constructor(opts) {
163
+ super({
164
+ name: "ContentTooLargeException",
165
+ $fault: "client",
166
+ ...opts,
167
+ });
168
+ this.name = "ContentTooLargeException";
169
+ this.$fault = "client";
170
+ Object.setPrototypeOf(this, ContentTooLargeException.prototype);
171
+ this.resourceId = opts.resourceId;
172
+ this.resourceType = opts.resourceType;
173
+ }
174
+ }
175
+ export const Sender = {
176
+ SYSTEM: "SYSTEM",
177
+ USER: "USER",
178
+ };
179
+ export const DocumentScope = {
180
+ APPLICATION: "APPLICATION",
181
+ SESSION: "SESSION",
182
+ };
183
+ export const LibraryItemStatus = {
184
+ DISABLED: "DISABLED",
185
+ PUBLISHED: "PUBLISHED",
186
+ };
187
+ export var PredictQAppInputOptions;
188
+ (function (PredictQAppInputOptions) {
189
+ PredictQAppInputOptions.visit = (value, visitor) => {
190
+ if (value.conversation !== undefined)
191
+ return visitor.conversation(value.conversation);
192
+ if (value.problemStatement !== undefined)
193
+ return visitor.problemStatement(value.problemStatement);
194
+ return visitor._(value.$unknown[0], value.$unknown[1]);
195
+ };
196
+ })(PredictQAppInputOptions || (PredictQAppInputOptions = {}));
197
+ export var Card;
198
+ (function (Card) {
199
+ Card.visit = (value, visitor) => {
200
+ if (value.textInput !== undefined)
201
+ return visitor.textInput(value.textInput);
202
+ if (value.qQuery !== undefined)
203
+ return visitor.qQuery(value.qQuery);
204
+ if (value.qPlugin !== undefined)
205
+ return visitor.qPlugin(value.qPlugin);
206
+ if (value.fileUpload !== undefined)
207
+ return visitor.fileUpload(value.fileUpload);
208
+ return visitor._(value.$unknown[0], value.$unknown[1]);
209
+ };
210
+ })(Card || (Card = {}));
211
+ export var CardInput;
212
+ (function (CardInput) {
213
+ CardInput.visit = (value, visitor) => {
214
+ if (value.textInput !== undefined)
215
+ return visitor.textInput(value.textInput);
216
+ if (value.qQuery !== undefined)
217
+ return visitor.qQuery(value.qQuery);
218
+ if (value.qPlugin !== undefined)
219
+ return visitor.qPlugin(value.qPlugin);
220
+ if (value.fileUpload !== undefined)
221
+ return visitor.fileUpload(value.fileUpload);
222
+ return visitor._(value.$unknown[0], value.$unknown[1]);
223
+ };
224
+ })(CardInput || (CardInput = {}));
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListLibraryItemsCommand, } from "../commands/ListLibraryItemsCommand";
3
+ import { QAppsClient } from "../QAppsClient";
4
+ export const paginateListLibraryItems = createPaginator(QAppsClient, ListLibraryItemsCommand, "nextToken", "nextToken", "limit");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListQAppsCommand } from "../commands/ListQAppsCommand";
3
+ import { QAppsClient } from "../QAppsClient";
4
+ export const paginateListQApps = createPaginator(QAppsClient, ListQAppsCommand, "nextToken", "nextToken", "limit");
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListLibraryItemsPaginator";
3
+ export * from "./ListQAppsPaginator";