@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,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ImportDocumentInput, ImportDocumentOutput } from "../models/models_0";
|
|
4
|
+
import { QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QAppsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ImportDocumentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ImportDocumentCommandInput extends ImportDocumentInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ImportDocumentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ImportDocumentCommandOutput extends ImportDocumentOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ImportDocumentCommand_base: {
|
|
25
|
+
new (input: ImportDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<ImportDocumentCommandInput, ImportDocumentCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ImportDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<ImportDocumentCommandInput, ImportDocumentCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Uploads a file that can then be used either as a default in a
|
|
31
|
+
* <code>FileUploadCard</code> from Q App definition or as a file that
|
|
32
|
+
* is used inside a single Q App run. The purpose of the document is
|
|
33
|
+
* determined by a scope parameter that indicates whether it is at the
|
|
34
|
+
* app definition level or at the app session level.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { QAppsClient, ImportDocumentCommand } from "@aws-sdk/client-qapps"; // ES Modules import
|
|
39
|
+
* // const { QAppsClient, ImportDocumentCommand } = require("@aws-sdk/client-qapps"); // CommonJS import
|
|
40
|
+
* const client = new QAppsClient(config);
|
|
41
|
+
* const input = { // ImportDocumentInput
|
|
42
|
+
* instanceId: "STRING_VALUE", // required
|
|
43
|
+
* cardId: "STRING_VALUE", // required
|
|
44
|
+
* appId: "STRING_VALUE", // required
|
|
45
|
+
* fileContentsBase64: "STRING_VALUE", // required
|
|
46
|
+
* fileName: "STRING_VALUE", // required
|
|
47
|
+
* scope: "APPLICATION" || "SESSION", // required
|
|
48
|
+
* sessionId: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ImportDocumentCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ImportDocumentOutput
|
|
53
|
+
* // fileId: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ImportDocumentCommandInput - {@link ImportDocumentCommandInput}
|
|
59
|
+
* @returns {@link ImportDocumentCommandOutput}
|
|
60
|
+
* @see {@link ImportDocumentCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ImportDocumentCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link QAppsClientResolvedConfig | config} for QAppsClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>The client is not authorized to perform the requested operation.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ContentTooLargeException} (client fault)
|
|
68
|
+
* <p>The requested operation could not be completed because
|
|
69
|
+
* the content exceeds the maximum allowed size.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>An internal service error occurred while processing the request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The requested resource could not be found.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
78
|
+
* <p>The requested operation could not be completed because
|
|
79
|
+
* it would exceed the service's quota or limit.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The requested operation could not be completed because too many
|
|
83
|
+
* requests were sent at once. Wait a bit and try again later.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
86
|
+
* <p>The client is not authenticated or authorized to perform the requested operation.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ValidationException} (client fault)
|
|
89
|
+
* <p>The input failed to satisfy the constraints specified by the service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link QAppsServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from QApps service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ImportDocumentCommand extends ImportDocumentCommand_base {
|
|
97
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListLibraryItemsInput, ListLibraryItemsOutput } from "../models/models_0";
|
|
4
|
+
import { QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QAppsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListLibraryItemsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListLibraryItemsCommandInput extends ListLibraryItemsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListLibraryItemsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListLibraryItemsCommandOutput extends ListLibraryItemsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListLibraryItemsCommand_base: {
|
|
25
|
+
new (input: ListLibraryItemsCommandInput): import("@smithy/smithy-client").CommandImpl<ListLibraryItemsCommandInput, ListLibraryItemsCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListLibraryItemsCommandInput): import("@smithy/smithy-client").CommandImpl<ListLibraryItemsCommandInput, ListLibraryItemsCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QAppsClient, ListLibraryItemsCommand } from "@aws-sdk/client-qapps"; // ES Modules import
|
|
35
|
+
* // const { QAppsClient, ListLibraryItemsCommand } = require("@aws-sdk/client-qapps"); // CommonJS import
|
|
36
|
+
* const client = new QAppsClient(config);
|
|
37
|
+
* const input = { // ListLibraryItemsInput
|
|
38
|
+
* instanceId: "STRING_VALUE", // required
|
|
39
|
+
* limit: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* categoryId: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListLibraryItemsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListLibraryItemsOutput
|
|
46
|
+
* // libraryItems: [ // LibraryItemList
|
|
47
|
+
* // { // LibraryItemMember
|
|
48
|
+
* // libraryItemId: "STRING_VALUE", // required
|
|
49
|
+
* // appId: "STRING_VALUE", // required
|
|
50
|
+
* // appVersion: Number("int"), // required
|
|
51
|
+
* // categories: [ // CategoryList // required
|
|
52
|
+
* // { // Category
|
|
53
|
+
* // id: "STRING_VALUE", // required
|
|
54
|
+
* // title: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // status: "STRING_VALUE", // required
|
|
58
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // createdBy: "STRING_VALUE", // required
|
|
60
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // updatedBy: "STRING_VALUE",
|
|
62
|
+
* // ratingCount: Number("int"), // required
|
|
63
|
+
* // isRatedByUser: true || false,
|
|
64
|
+
* // userCount: Number("int"),
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // nextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param ListLibraryItemsCommandInput - {@link ListLibraryItemsCommandInput}
|
|
73
|
+
* @returns {@link ListLibraryItemsCommandOutput}
|
|
74
|
+
* @see {@link ListLibraryItemsCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link ListLibraryItemsCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link QAppsClientResolvedConfig | config} for QAppsClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>The client is not authorized to perform the requested operation.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>An internal service error occurred while processing the request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>The requested resource could not be found.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>The requested operation could not be completed because too many
|
|
89
|
+
* requests were sent at once. Wait a bit and try again later.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
92
|
+
* <p>The client is not authenticated or authorized to perform the requested operation.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The input failed to satisfy the constraints specified by the service.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link QAppsServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from QApps service.</p>
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class ListLibraryItemsCommand extends ListLibraryItemsCommand_base {
|
|
103
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListQAppsInput, ListQAppsOutput } from "../models/models_0";
|
|
4
|
+
import { QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QAppsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListQAppsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListQAppsCommandInput extends ListQAppsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListQAppsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListQAppsCommandOutput extends ListQAppsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListQAppsCommand_base: {
|
|
25
|
+
new (input: ListQAppsCommandInput): import("@smithy/smithy-client").CommandImpl<ListQAppsCommandInput, ListQAppsCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListQAppsCommandInput): import("@smithy/smithy-client").CommandImpl<ListQAppsCommandInput, ListQAppsCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the Amazon Q Apps owned by or associated with the user either because
|
|
31
|
+
* they created it or because they used it from the library in the past. The user
|
|
32
|
+
* identity is extracted from the credentials used to invoke this operation..</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { QAppsClient, ListQAppsCommand } from "@aws-sdk/client-qapps"; // ES Modules import
|
|
37
|
+
* // const { QAppsClient, ListQAppsCommand } = require("@aws-sdk/client-qapps"); // CommonJS import
|
|
38
|
+
* const client = new QAppsClient(config);
|
|
39
|
+
* const input = { // ListQAppsInput
|
|
40
|
+
* instanceId: "STRING_VALUE", // required
|
|
41
|
+
* limit: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListQAppsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListQAppsOutput
|
|
47
|
+
* // apps: [ // UserAppsList // required
|
|
48
|
+
* // { // UserAppItem
|
|
49
|
+
* // appId: "STRING_VALUE", // required
|
|
50
|
+
* // appArn: "STRING_VALUE", // required
|
|
51
|
+
* // title: "STRING_VALUE", // required
|
|
52
|
+
* // description: "STRING_VALUE",
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // canEdit: true || false,
|
|
55
|
+
* // status: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListQAppsCommandInput - {@link ListQAppsCommandInput}
|
|
64
|
+
* @returns {@link ListQAppsCommandOutput}
|
|
65
|
+
* @see {@link ListQAppsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListQAppsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link QAppsClientResolvedConfig | config} for QAppsClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>The client is not authorized to perform the requested operation.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>An internal service error occurred while processing the request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The requested operation could not be completed because too many
|
|
77
|
+
* requests were sent at once. Wait a bit and try again later.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
80
|
+
* <p>The client is not authenticated or authorized to perform the requested operation.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input failed to satisfy the constraints specified by the service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link QAppsServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from QApps service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListQAppsCommand extends ListQAppsCommand_base {
|
|
91
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
+
import { QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QAppsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the tags associated with an Amazon Q Apps resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { QAppsClient, ListTagsForResourceCommand } from "@aws-sdk/client-qapps"; // ES Modules import
|
|
35
|
+
* // const { QAppsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-qapps"); // CommonJS import
|
|
36
|
+
* const client = new QAppsClient(config);
|
|
37
|
+
* const input = { // ListTagsForResourceRequest
|
|
38
|
+
* resourceARN: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListTagsForResourceResponse
|
|
43
|
+
* // tags: { // Tags
|
|
44
|
+
* // "<keys>": "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
51
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
52
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link QAppsClientResolvedConfig | config} for QAppsClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>The client is not authorized to perform the requested operation.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>An internal service error occurred while processing the request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The requested resource could not be found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The requested operation could not be completed because too many
|
|
67
|
+
* requests were sent at once. Wait a bit and try again later.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The input failed to satisfy the constraints specified by the service.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link QAppsServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from QApps service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
78
|
+
}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PredictQAppInput, PredictQAppOutput } from "../models/models_0";
|
|
4
|
+
import { QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QAppsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PredictQAppCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PredictQAppCommandInput extends PredictQAppInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PredictQAppCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PredictQAppCommandOutput extends PredictQAppOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PredictQAppCommand_base: {
|
|
25
|
+
new (input: PredictQAppCommandInput): import("@smithy/smithy-client").CommandImpl<PredictQAppCommandInput, PredictQAppCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PredictQAppCommandInput): import("@smithy/smithy-client").CommandImpl<PredictQAppCommandInput, PredictQAppCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Generates an Amazon Q App definition based on either a conversation or
|
|
31
|
+
* a problem statement provided as input.The resulting app definition
|
|
32
|
+
* can be used to call <code>CreateQApp</code>. This API doesn't create
|
|
33
|
+
* Amazon Q Apps directly.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { QAppsClient, PredictQAppCommand } from "@aws-sdk/client-qapps"; // ES Modules import
|
|
38
|
+
* // const { QAppsClient, PredictQAppCommand } = require("@aws-sdk/client-qapps"); // CommonJS import
|
|
39
|
+
* const client = new QAppsClient(config);
|
|
40
|
+
* const input = { // PredictQAppInput
|
|
41
|
+
* instanceId: "STRING_VALUE", // required
|
|
42
|
+
* options: { // PredictQAppInputOptions Union: only one key present
|
|
43
|
+
* conversation: [ // MessageList
|
|
44
|
+
* { // ConversationMessage
|
|
45
|
+
* body: "STRING_VALUE", // required
|
|
46
|
+
* type: "USER" || "SYSTEM", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* problemStatement: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
52
|
+
* const command = new PredictQAppCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // PredictQAppOutput
|
|
55
|
+
* // app: { // PredictAppDefinition
|
|
56
|
+
* // title: "STRING_VALUE", // required
|
|
57
|
+
* // description: "STRING_VALUE",
|
|
58
|
+
* // appDefinition: { // AppDefinitionInput
|
|
59
|
+
* // cards: [ // CardList // required
|
|
60
|
+
* // { // CardInput Union: only one key present
|
|
61
|
+
* // textInput: { // TextInputCardInput
|
|
62
|
+
* // title: "STRING_VALUE", // required
|
|
63
|
+
* // id: "STRING_VALUE", // required
|
|
64
|
+
* // type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
|
|
65
|
+
* // placeholder: "STRING_VALUE",
|
|
66
|
+
* // defaultValue: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // qQuery: { // QQueryCardInput
|
|
69
|
+
* // title: "STRING_VALUE", // required
|
|
70
|
+
* // id: "STRING_VALUE", // required
|
|
71
|
+
* // type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
|
|
72
|
+
* // prompt: "STRING_VALUE", // required
|
|
73
|
+
* // outputSource: "approved-sources" || "llm",
|
|
74
|
+
* // attributeFilter: { // AttributeFilter
|
|
75
|
+
* // andAllFilters: [ // AttributeFilters
|
|
76
|
+
* // {
|
|
77
|
+
* // andAllFilters: [
|
|
78
|
+
* // "<AttributeFilter>",
|
|
79
|
+
* // ],
|
|
80
|
+
* // orAllFilters: [
|
|
81
|
+
* // "<AttributeFilter>",
|
|
82
|
+
* // ],
|
|
83
|
+
* // notFilter: "<AttributeFilter>",
|
|
84
|
+
* // equalsTo: { // DocumentAttribute
|
|
85
|
+
* // name: "STRING_VALUE", // required
|
|
86
|
+
* // value: { // DocumentAttributeValue Union: only one key present
|
|
87
|
+
* // stringValue: "STRING_VALUE",
|
|
88
|
+
* // stringListValue: [ // DocumentAttributeStringListValue
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // longValue: Number("long"),
|
|
92
|
+
* // dateValue: new Date("TIMESTAMP"),
|
|
93
|
+
* // },
|
|
94
|
+
* // },
|
|
95
|
+
* // containsAll: {
|
|
96
|
+
* // name: "STRING_VALUE", // required
|
|
97
|
+
* // value: {// Union: only one key present
|
|
98
|
+
* // stringValue: "STRING_VALUE",
|
|
99
|
+
* // stringListValue: [
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // longValue: Number("long"),
|
|
103
|
+
* // dateValue: new Date("TIMESTAMP"),
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // containsAny: {
|
|
107
|
+
* // name: "STRING_VALUE", // required
|
|
108
|
+
* // value: {// Union: only one key present
|
|
109
|
+
* // stringValue: "STRING_VALUE",
|
|
110
|
+
* // stringListValue: [
|
|
111
|
+
* // "STRING_VALUE",
|
|
112
|
+
* // ],
|
|
113
|
+
* // longValue: Number("long"),
|
|
114
|
+
* // dateValue: new Date("TIMESTAMP"),
|
|
115
|
+
* // },
|
|
116
|
+
* // },
|
|
117
|
+
* // greaterThan: {
|
|
118
|
+
* // name: "STRING_VALUE", // required
|
|
119
|
+
* // value: {// Union: only one key present
|
|
120
|
+
* // stringValue: "STRING_VALUE",
|
|
121
|
+
* // stringListValue: [
|
|
122
|
+
* // "STRING_VALUE",
|
|
123
|
+
* // ],
|
|
124
|
+
* // longValue: Number("long"),
|
|
125
|
+
* // dateValue: new Date("TIMESTAMP"),
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // greaterThanOrEquals: {
|
|
129
|
+
* // name: "STRING_VALUE", // required
|
|
130
|
+
* // value: {// Union: only one key present
|
|
131
|
+
* // stringValue: "STRING_VALUE",
|
|
132
|
+
* // stringListValue: [
|
|
133
|
+
* // "STRING_VALUE",
|
|
134
|
+
* // ],
|
|
135
|
+
* // longValue: Number("long"),
|
|
136
|
+
* // dateValue: new Date("TIMESTAMP"),
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // lessThan: "<DocumentAttribute>",
|
|
140
|
+
* // lessThanOrEquals: "<DocumentAttribute>",
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
143
|
+
* // orAllFilters: [
|
|
144
|
+
* // "<AttributeFilter>",
|
|
145
|
+
* // ],
|
|
146
|
+
* // notFilter: "<AttributeFilter>",
|
|
147
|
+
* // equalsTo: "<DocumentAttribute>",
|
|
148
|
+
* // containsAll: "<DocumentAttribute>",
|
|
149
|
+
* // containsAny: "<DocumentAttribute>",
|
|
150
|
+
* // greaterThan: "<DocumentAttribute>",
|
|
151
|
+
* // greaterThanOrEquals: "<DocumentAttribute>",
|
|
152
|
+
* // lessThan: "<DocumentAttribute>",
|
|
153
|
+
* // lessThanOrEquals: "<DocumentAttribute>",
|
|
154
|
+
* // },
|
|
155
|
+
* // },
|
|
156
|
+
* // qPlugin: { // QPluginCardInput
|
|
157
|
+
* // title: "STRING_VALUE", // required
|
|
158
|
+
* // id: "STRING_VALUE", // required
|
|
159
|
+
* // type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
|
|
160
|
+
* // prompt: "STRING_VALUE", // required
|
|
161
|
+
* // pluginId: "STRING_VALUE", // required
|
|
162
|
+
* // },
|
|
163
|
+
* // fileUpload: { // FileUploadCardInput
|
|
164
|
+
* // title: "STRING_VALUE", // required
|
|
165
|
+
* // id: "STRING_VALUE", // required
|
|
166
|
+
* // type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
|
|
167
|
+
* // filename: "STRING_VALUE",
|
|
168
|
+
* // fileId: "STRING_VALUE",
|
|
169
|
+
* // allowOverride: true || false,
|
|
170
|
+
* // },
|
|
171
|
+
* // },
|
|
172
|
+
* // ],
|
|
173
|
+
* // initialPrompt: "STRING_VALUE",
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // problemStatement: "STRING_VALUE", // required
|
|
177
|
+
* // };
|
|
178
|
+
*
|
|
179
|
+
* ```
|
|
180
|
+
*
|
|
181
|
+
* @param PredictQAppCommandInput - {@link PredictQAppCommandInput}
|
|
182
|
+
* @returns {@link PredictQAppCommandOutput}
|
|
183
|
+
* @see {@link PredictQAppCommandInput} for command's `input` shape.
|
|
184
|
+
* @see {@link PredictQAppCommandOutput} for command's `response` shape.
|
|
185
|
+
* @see {@link QAppsClientResolvedConfig | config} for QAppsClient's `config` shape.
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
188
|
+
* <p>The client is not authorized to perform the requested operation.</p>
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link InternalServerException} (server fault)
|
|
191
|
+
* <p>An internal service error occurred while processing the request.</p>
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
194
|
+
* <p>The requested operation could not be completed because too many
|
|
195
|
+
* requests were sent at once. Wait a bit and try again later.</p>
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
198
|
+
* <p>The client is not authenticated or authorized to perform the requested operation.</p>
|
|
199
|
+
*
|
|
200
|
+
* @throws {@link ValidationException} (client fault)
|
|
201
|
+
* <p>The input failed to satisfy the constraints specified by the service.</p>
|
|
202
|
+
*
|
|
203
|
+
* @throws {@link QAppsServiceException}
|
|
204
|
+
* <p>Base exception class for all service exceptions from QApps service.</p>
|
|
205
|
+
*
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export declare class PredictQAppCommand extends PredictQAppCommand_base {
|
|
209
|
+
}
|