@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.
- package/LICENSE +201 -0
- package/README.md +397 -0
- package/dist-cjs/QApps.js +57 -0
- package/dist-cjs/QAppsClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateLibraryItemReviewCommand.js +28 -0
- package/dist-cjs/commands/AssociateQAppWithUserCommand.js +28 -0
- package/dist-cjs/commands/CreateLibraryItemCommand.js +28 -0
- package/dist-cjs/commands/CreateQAppCommand.js +28 -0
- package/dist-cjs/commands/DeleteLibraryItemCommand.js +28 -0
- package/dist-cjs/commands/DeleteQAppCommand.js +28 -0
- package/dist-cjs/commands/DisassociateLibraryItemReviewCommand.js +28 -0
- package/dist-cjs/commands/DisassociateQAppFromUserCommand.js +28 -0
- package/dist-cjs/commands/GetLibraryItemCommand.js +28 -0
- package/dist-cjs/commands/GetQAppCommand.js +28 -0
- package/dist-cjs/commands/GetQAppSessionCommand.js +28 -0
- package/dist-cjs/commands/ImportDocumentCommand.js +28 -0
- package/dist-cjs/commands/ListLibraryItemsCommand.js +28 -0
- package/dist-cjs/commands/ListQAppsCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/PredictQAppCommand.js +28 -0
- package/dist-cjs/commands/StartQAppSessionCommand.js +28 -0
- package/dist-cjs/commands/StopQAppSessionCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/UpdateLibraryItemCommand.js +28 -0
- package/dist-cjs/commands/UpdateQAppCommand.js +28 -0
- package/dist-cjs/commands/UpdateQAppSessionCommand.js +28 -0
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/QAppsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +236 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListLibraryItemsPaginator.js +7 -0
- package/dist-cjs/pagination/ListQAppsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1207 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/QApps.js +53 -0
- package/dist-es/QAppsClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateLibraryItemReviewCommand.js +24 -0
- package/dist-es/commands/AssociateQAppWithUserCommand.js +24 -0
- package/dist-es/commands/CreateLibraryItemCommand.js +24 -0
- package/dist-es/commands/CreateQAppCommand.js +24 -0
- package/dist-es/commands/DeleteLibraryItemCommand.js +24 -0
- package/dist-es/commands/DeleteQAppCommand.js +24 -0
- package/dist-es/commands/DisassociateLibraryItemReviewCommand.js +24 -0
- package/dist-es/commands/DisassociateQAppFromUserCommand.js +24 -0
- package/dist-es/commands/GetLibraryItemCommand.js +24 -0
- package/dist-es/commands/GetQAppCommand.js +24 -0
- package/dist-es/commands/GetQAppSessionCommand.js +24 -0
- package/dist-es/commands/ImportDocumentCommand.js +24 -0
- package/dist-es/commands/ListLibraryItemsCommand.js +24 -0
- package/dist-es/commands/ListQAppsCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/PredictQAppCommand.js +24 -0
- package/dist-es/commands/StartQAppSessionCommand.js +24 -0
- package/dist-es/commands/StopQAppSessionCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/UpdateLibraryItemCommand.js +24 -0
- package/dist-es/commands/UpdateQAppCommand.js +24 -0
- package/dist-es/commands/UpdateQAppSessionCommand.js +24 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/QAppsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +224 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListLibraryItemsPaginator.js +4 -0
- package/dist-es/pagination/ListQAppsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1158 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/QApps.d.ts +179 -0
- package/dist-types/QAppsClient.d.ts +202 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AssociateLibraryItemReviewCommand.d.ts +83 -0
- package/dist-types/commands/AssociateQAppWithUserCommand.d.ts +85 -0
- package/dist-types/commands/CreateLibraryItemCommand.d.ts +95 -0
- package/dist-types/commands/CreateQAppCommand.d.ts +225 -0
- package/dist-types/commands/DeleteLibraryItemCommand.d.ts +83 -0
- package/dist-types/commands/DeleteQAppCommand.d.ts +78 -0
- package/dist-types/commands/DisassociateLibraryItemReviewCommand.d.ts +82 -0
- package/dist-types/commands/DisassociateQAppFromUserCommand.d.ts +79 -0
- package/dist-types/commands/GetLibraryItemCommand.d.ts +98 -0
- package/dist-types/commands/GetQAppCommand.d.ts +224 -0
- package/dist-types/commands/GetQAppSessionCommand.d.ts +92 -0
- package/dist-types/commands/ImportDocumentCommand.d.ts +97 -0
- package/dist-types/commands/ListLibraryItemsCommand.d.ts +103 -0
- package/dist-types/commands/ListQAppsCommand.d.ts +91 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +78 -0
- package/dist-types/commands/PredictQAppCommand.d.ts +209 -0
- package/dist-types/commands/StartQAppSessionCommand.d.ts +100 -0
- package/dist-types/commands/StopQAppSessionCommand.d.ts +84 -0
- package/dist-types/commands/TagResourceCommand.d.ts +81 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +77 -0
- package/dist-types/commands/UpdateLibraryItemCommand.d.ts +100 -0
- package/dist-types/commands/UpdateQAppCommand.d.ts +216 -0
- package/dist-types/commands/UpdateQAppSessionCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +22 -0
- package/dist-types/models/QAppsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2138 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListLibraryItemsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListQAppsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +209 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/QApps.d.ts +396 -0
- package/dist-types/ts3.4/QAppsClient.d.ts +258 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AssociateLibraryItemReviewCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/AssociateQAppWithUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateLibraryItemCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateQAppCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteLibraryItemCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteQAppCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DisassociateLibraryItemReviewCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DisassociateQAppFromUserCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetLibraryItemCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetQAppCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetQAppSessionCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ImportDocumentCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListLibraryItemsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListQAppsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/PredictQAppCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/StartQAppSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StopQAppSessionCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateLibraryItemCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateQAppCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateQAppSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/QAppsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +681 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListLibraryItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListQAppsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +281 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- 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 {};
|
package/dist-es/index.js
ADDED
|
@@ -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");
|