@aws-sdk/client-qapps 3.699.0 → 3.701.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/README.md +56 -0
- package/dist-cjs/QApps.js +14 -0
- package/dist-cjs/commands/CreatePresignedUrlCommand.js +26 -0
- package/dist-cjs/commands/DescribeQAppPermissionsCommand.js +26 -0
- package/dist-cjs/commands/ExportQAppSessionDataCommand.js +26 -0
- package/dist-cjs/commands/GetQAppSessionMetadataCommand.js +26 -0
- package/dist-cjs/commands/ListQAppSessionDataCommand.js +26 -0
- package/dist-cjs/commands/UpdateQAppPermissionsCommand.js +26 -0
- package/dist-cjs/commands/UpdateQAppSessionMetadataCommand.js +26 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +24 -1
- package/dist-cjs/protocols/Aws_restJson1.js +352 -3
- package/dist-es/QApps.js +14 -0
- package/dist-es/commands/CreatePresignedUrlCommand.js +22 -0
- package/dist-es/commands/DescribeQAppPermissionsCommand.js +22 -0
- package/dist-es/commands/ExportQAppSessionDataCommand.js +22 -0
- package/dist-es/commands/GetQAppSessionMetadataCommand.js +22 -0
- package/dist-es/commands/ListQAppSessionDataCommand.js +22 -0
- package/dist-es/commands/UpdateQAppPermissionsCommand.js +22 -0
- package/dist-es/commands/UpdateQAppSessionMetadataCommand.js +22 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +336 -1
- package/dist-types/QApps.d.ts +49 -0
- package/dist-types/QAppsClient.d.ts +9 -2
- package/dist-types/commands/CreatePresignedUrlCommand.d.ts +102 -0
- package/dist-types/commands/CreateQAppCommand.d.ts +13 -4
- package/dist-types/commands/DescribeQAppPermissionsCommand.d.ts +102 -0
- package/dist-types/commands/ExportQAppSessionDataCommand.d.ts +101 -0
- package/dist-types/commands/GetQAppCommand.d.ts +20 -4
- package/dist-types/commands/GetQAppSessionCommand.d.ts +13 -2
- package/dist-types/commands/GetQAppSessionMetadataCommand.d.ts +103 -0
- package/dist-types/commands/ListQAppSessionDataCommand.d.ts +108 -0
- package/dist-types/commands/PredictQAppCommand.d.ts +13 -4
- package/dist-types/commands/StartQAppSessionCommand.d.ts +5 -0
- package/dist-types/commands/UpdateQAppCommand.d.ts +13 -4
- package/dist-types/commands/UpdateQAppPermissionsCommand.d.ts +114 -0
- package/dist-types/commands/UpdateQAppSessionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateQAppSessionMetadataCommand.d.ts +108 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +704 -11
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/QApps.d.ts +119 -0
- package/dist-types/ts3.4/QAppsClient.d.ts +44 -2
- package/dist-types/ts3.4/commands/CreatePresignedUrlCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeQAppPermissionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ExportQAppSessionDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQAppSessionMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListQAppSessionDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateQAppPermissionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateQAppSessionMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +202 -5
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetQAppSessionMetadataInput,
|
|
5
|
+
GetQAppSessionMetadataOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
QAppsClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QAppsClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetQAppSessionMetadataCommandInput
|
|
15
|
+
extends GetQAppSessionMetadataInput {}
|
|
16
|
+
export interface GetQAppSessionMetadataCommandOutput
|
|
17
|
+
extends GetQAppSessionMetadataOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetQAppSessionMetadataCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetQAppSessionMetadataCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetQAppSessionMetadataCommandInput,
|
|
24
|
+
GetQAppSessionMetadataCommandOutput,
|
|
25
|
+
QAppsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetQAppSessionMetadataCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetQAppSessionMetadataCommandInput,
|
|
33
|
+
GetQAppSessionMetadataCommandOutput,
|
|
34
|
+
QAppsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetQAppSessionMetadataCommand extends GetQAppSessionMetadataCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetQAppSessionMetadataInput;
|
|
44
|
+
output: GetQAppSessionMetadataOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetQAppSessionMetadataCommandInput;
|
|
48
|
+
output: GetQAppSessionMetadataCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListQAppSessionDataInput,
|
|
5
|
+
ListQAppSessionDataOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
QAppsClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QAppsClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListQAppSessionDataCommandInput
|
|
15
|
+
extends ListQAppSessionDataInput {}
|
|
16
|
+
export interface ListQAppSessionDataCommandOutput
|
|
17
|
+
extends ListQAppSessionDataOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListQAppSessionDataCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListQAppSessionDataCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListQAppSessionDataCommandInput,
|
|
24
|
+
ListQAppSessionDataCommandOutput,
|
|
25
|
+
QAppsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListQAppSessionDataCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListQAppSessionDataCommandInput,
|
|
33
|
+
ListQAppSessionDataCommandOutput,
|
|
34
|
+
QAppsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListQAppSessionDataCommand extends ListQAppSessionDataCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListQAppSessionDataInput;
|
|
44
|
+
output: ListQAppSessionDataOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListQAppSessionDataCommandInput;
|
|
48
|
+
output: ListQAppSessionDataCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateQAppPermissionsInput,
|
|
5
|
+
UpdateQAppPermissionsOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
QAppsClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QAppsClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateQAppPermissionsCommandInput
|
|
15
|
+
extends UpdateQAppPermissionsInput {}
|
|
16
|
+
export interface UpdateQAppPermissionsCommandOutput
|
|
17
|
+
extends UpdateQAppPermissionsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateQAppPermissionsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateQAppPermissionsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateQAppPermissionsCommandInput,
|
|
24
|
+
UpdateQAppPermissionsCommandOutput,
|
|
25
|
+
QAppsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: UpdateQAppPermissionsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateQAppPermissionsCommandInput,
|
|
33
|
+
UpdateQAppPermissionsCommandOutput,
|
|
34
|
+
QAppsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateQAppPermissionsCommand extends UpdateQAppPermissionsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateQAppPermissionsInput;
|
|
44
|
+
output: UpdateQAppPermissionsOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateQAppPermissionsCommandInput;
|
|
48
|
+
output: UpdateQAppPermissionsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateQAppSessionMetadataInput,
|
|
5
|
+
UpdateQAppSessionMetadataOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
QAppsClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QAppsClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateQAppSessionMetadataCommandInput
|
|
15
|
+
extends UpdateQAppSessionMetadataInput {}
|
|
16
|
+
export interface UpdateQAppSessionMetadataCommandOutput
|
|
17
|
+
extends UpdateQAppSessionMetadataOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateQAppSessionMetadataCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateQAppSessionMetadataCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateQAppSessionMetadataCommandInput,
|
|
24
|
+
UpdateQAppSessionMetadataCommandOutput,
|
|
25
|
+
QAppsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: UpdateQAppSessionMetadataCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateQAppSessionMetadataCommandInput,
|
|
33
|
+
UpdateQAppSessionMetadataCommandOutput,
|
|
34
|
+
QAppsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateQAppSessionMetadataCommand extends UpdateQAppSessionMetadataCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateQAppSessionMetadataInput;
|
|
44
|
+
output: UpdateQAppSessionMetadataOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateQAppSessionMetadataCommandInput;
|
|
48
|
+
output: UpdateQAppSessionMetadataCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -4,17 +4,22 @@ export * from "./BatchCreateCategoryCommand";
|
|
|
4
4
|
export * from "./BatchDeleteCategoryCommand";
|
|
5
5
|
export * from "./BatchUpdateCategoryCommand";
|
|
6
6
|
export * from "./CreateLibraryItemCommand";
|
|
7
|
+
export * from "./CreatePresignedUrlCommand";
|
|
7
8
|
export * from "./CreateQAppCommand";
|
|
8
9
|
export * from "./DeleteLibraryItemCommand";
|
|
9
10
|
export * from "./DeleteQAppCommand";
|
|
11
|
+
export * from "./DescribeQAppPermissionsCommand";
|
|
10
12
|
export * from "./DisassociateLibraryItemReviewCommand";
|
|
11
13
|
export * from "./DisassociateQAppFromUserCommand";
|
|
14
|
+
export * from "./ExportQAppSessionDataCommand";
|
|
12
15
|
export * from "./GetLibraryItemCommand";
|
|
13
16
|
export * from "./GetQAppCommand";
|
|
14
17
|
export * from "./GetQAppSessionCommand";
|
|
18
|
+
export * from "./GetQAppSessionMetadataCommand";
|
|
15
19
|
export * from "./ImportDocumentCommand";
|
|
16
20
|
export * from "./ListCategoriesCommand";
|
|
17
21
|
export * from "./ListLibraryItemsCommand";
|
|
22
|
+
export * from "./ListQAppSessionDataCommand";
|
|
18
23
|
export * from "./ListQAppsCommand";
|
|
19
24
|
export * from "./ListTagsForResourceCommand";
|
|
20
25
|
export * from "./PredictQAppCommand";
|
|
@@ -25,4 +30,6 @@ export * from "./UntagResourceCommand";
|
|
|
25
30
|
export * from "./UpdateLibraryItemCommand";
|
|
26
31
|
export * from "./UpdateLibraryItemMetadataCommand";
|
|
27
32
|
export * from "./UpdateQAppCommand";
|
|
33
|
+
export * from "./UpdateQAppPermissionsCommand";
|
|
28
34
|
export * from "./UpdateQAppSessionCommand";
|
|
35
|
+
export * from "./UpdateQAppSessionMetadataCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
3
|
import { QAppsServiceException as __BaseException } from "./QAppsServiceException";
|
|
3
4
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
5
|
readonly name: "AccessDeniedException";
|
|
@@ -7,8 +8,14 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
9
|
);
|
|
9
10
|
}
|
|
11
|
+
export declare const Action: {
|
|
12
|
+
readonly READ: "read";
|
|
13
|
+
readonly WRITE: "write";
|
|
14
|
+
};
|
|
15
|
+
export type Action = (typeof Action)[keyof typeof Action];
|
|
10
16
|
export declare const CardType: {
|
|
11
17
|
readonly FILE_UPLOAD: "file-upload";
|
|
18
|
+
readonly FORM_INPUT: "form-input";
|
|
12
19
|
readonly Q_PLUGIN: "q-plugin";
|
|
13
20
|
readonly Q_QUERY: "q-query";
|
|
14
21
|
readonly TEXT_INPUT: "text-input";
|
|
@@ -23,6 +30,23 @@ export interface FileUploadCard {
|
|
|
23
30
|
fileId?: string | undefined;
|
|
24
31
|
allowOverride?: boolean | undefined;
|
|
25
32
|
}
|
|
33
|
+
export declare const InputCardComputeMode: {
|
|
34
|
+
readonly APPEND: "append";
|
|
35
|
+
readonly REPLACE: "replace";
|
|
36
|
+
};
|
|
37
|
+
export type InputCardComputeMode =
|
|
38
|
+
(typeof InputCardComputeMode)[keyof typeof InputCardComputeMode];
|
|
39
|
+
export interface FormInputCardMetadata {
|
|
40
|
+
schema: __DocumentType | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface FormInputCard {
|
|
43
|
+
id: string | undefined;
|
|
44
|
+
title: string | undefined;
|
|
45
|
+
dependencies: string[] | undefined;
|
|
46
|
+
type: CardType | undefined;
|
|
47
|
+
metadata: FormInputCardMetadata | undefined;
|
|
48
|
+
computeMode?: InputCardComputeMode | undefined;
|
|
49
|
+
}
|
|
26
50
|
export declare const PluginType: {
|
|
27
51
|
readonly CUSTOM: "CUSTOM";
|
|
28
52
|
readonly JIRA: "JIRA";
|
|
@@ -117,6 +141,13 @@ export interface FileUploadCardInput {
|
|
|
117
141
|
fileId?: string | undefined;
|
|
118
142
|
allowOverride?: boolean | undefined;
|
|
119
143
|
}
|
|
144
|
+
export interface FormInputCardInput {
|
|
145
|
+
title: string | undefined;
|
|
146
|
+
id: string | undefined;
|
|
147
|
+
type: CardType | undefined;
|
|
148
|
+
metadata: FormInputCardMetadata | undefined;
|
|
149
|
+
computeMode?: InputCardComputeMode | undefined;
|
|
150
|
+
}
|
|
120
151
|
export interface QPluginCardInput {
|
|
121
152
|
title: string | undefined;
|
|
122
153
|
id: string | undefined;
|
|
@@ -240,18 +271,37 @@ export interface BatchUpdateCategoryInput {
|
|
|
240
271
|
}
|
|
241
272
|
export declare const ExecutionStatus: {
|
|
242
273
|
readonly COMPLETED: "COMPLETED";
|
|
274
|
+
readonly ERROR: "ERROR";
|
|
243
275
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
244
276
|
readonly WAITING: "WAITING";
|
|
245
277
|
};
|
|
246
278
|
export type ExecutionStatus =
|
|
247
279
|
(typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
280
|
+
export interface Submission {
|
|
281
|
+
value?: __DocumentType | undefined;
|
|
282
|
+
submissionId?: string | undefined;
|
|
283
|
+
timestamp?: Date | undefined;
|
|
284
|
+
}
|
|
248
285
|
export interface CardStatus {
|
|
249
286
|
currentState: ExecutionStatus | undefined;
|
|
250
287
|
currentValue: string | undefined;
|
|
288
|
+
submissions?: Submission[] | undefined;
|
|
289
|
+
}
|
|
290
|
+
export declare const SubmissionMutationKind: {
|
|
291
|
+
readonly add: "add";
|
|
292
|
+
readonly delete: "delete";
|
|
293
|
+
readonly edit: "edit";
|
|
294
|
+
};
|
|
295
|
+
export type SubmissionMutationKind =
|
|
296
|
+
(typeof SubmissionMutationKind)[keyof typeof SubmissionMutationKind];
|
|
297
|
+
export interface SubmissionMutation {
|
|
298
|
+
submissionId: string | undefined;
|
|
299
|
+
mutationType: SubmissionMutationKind | undefined;
|
|
251
300
|
}
|
|
252
301
|
export interface CardValue {
|
|
253
302
|
cardId: string | undefined;
|
|
254
303
|
value: string | undefined;
|
|
304
|
+
submissionMutation?: SubmissionMutation | undefined;
|
|
255
305
|
}
|
|
256
306
|
export interface Category {
|
|
257
307
|
id: string | undefined;
|
|
@@ -293,6 +343,26 @@ export interface CreateLibraryItemOutput {
|
|
|
293
343
|
ratingCount: number | undefined;
|
|
294
344
|
isVerified?: boolean | undefined;
|
|
295
345
|
}
|
|
346
|
+
export declare const DocumentScope: {
|
|
347
|
+
readonly APPLICATION: "APPLICATION";
|
|
348
|
+
readonly SESSION: "SESSION";
|
|
349
|
+
};
|
|
350
|
+
export type DocumentScope = (typeof DocumentScope)[keyof typeof DocumentScope];
|
|
351
|
+
export interface CreatePresignedUrlInput {
|
|
352
|
+
instanceId: string | undefined;
|
|
353
|
+
cardId: string | undefined;
|
|
354
|
+
appId: string | undefined;
|
|
355
|
+
fileContentsSha256: string | undefined;
|
|
356
|
+
fileName: string | undefined;
|
|
357
|
+
scope: DocumentScope | undefined;
|
|
358
|
+
sessionId?: string | undefined;
|
|
359
|
+
}
|
|
360
|
+
export interface CreatePresignedUrlOutput {
|
|
361
|
+
fileId: string | undefined;
|
|
362
|
+
presignedUrl: string | undefined;
|
|
363
|
+
presignedUrlFields: Record<string, string> | undefined;
|
|
364
|
+
presignedUrlExpiration: Date | undefined;
|
|
365
|
+
}
|
|
296
366
|
export interface CreateQAppOutput {
|
|
297
367
|
appId: string | undefined;
|
|
298
368
|
appArn: string | undefined;
|
|
@@ -315,6 +385,29 @@ export interface DeleteQAppInput {
|
|
|
315
385
|
instanceId: string | undefined;
|
|
316
386
|
appId: string | undefined;
|
|
317
387
|
}
|
|
388
|
+
export interface DescribeQAppPermissionsInput {
|
|
389
|
+
instanceId: string | undefined;
|
|
390
|
+
appId: string | undefined;
|
|
391
|
+
}
|
|
392
|
+
export declare const UserType: {
|
|
393
|
+
readonly OWNER: "owner";
|
|
394
|
+
readonly USER: "user";
|
|
395
|
+
};
|
|
396
|
+
export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
397
|
+
export interface PrincipalOutput {
|
|
398
|
+
userId?: string | undefined;
|
|
399
|
+
userType?: UserType | undefined;
|
|
400
|
+
email?: string | undefined;
|
|
401
|
+
}
|
|
402
|
+
export interface PermissionOutput {
|
|
403
|
+
action: Action | undefined;
|
|
404
|
+
principal: PrincipalOutput | undefined;
|
|
405
|
+
}
|
|
406
|
+
export interface DescribeQAppPermissionsOutput {
|
|
407
|
+
resourceArn?: string | undefined;
|
|
408
|
+
appId?: string | undefined;
|
|
409
|
+
permissions?: PermissionOutput[] | undefined;
|
|
410
|
+
}
|
|
318
411
|
export interface DisassociateLibraryItemReviewInput {
|
|
319
412
|
instanceId: string | undefined;
|
|
320
413
|
libraryItemId: string | undefined;
|
|
@@ -323,11 +416,15 @@ export interface DisassociateQAppFromUserInput {
|
|
|
323
416
|
instanceId: string | undefined;
|
|
324
417
|
appId: string | undefined;
|
|
325
418
|
}
|
|
326
|
-
export
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
}
|
|
330
|
-
export
|
|
419
|
+
export interface ExportQAppSessionDataInput {
|
|
420
|
+
instanceId: string | undefined;
|
|
421
|
+
sessionId: string | undefined;
|
|
422
|
+
}
|
|
423
|
+
export interface ExportQAppSessionDataOutput {
|
|
424
|
+
csvFileLink: string | undefined;
|
|
425
|
+
expiresAt: Date | undefined;
|
|
426
|
+
sessionArn: string | undefined;
|
|
427
|
+
}
|
|
331
428
|
export interface GetLibraryItemInput {
|
|
332
429
|
instanceId: string | undefined;
|
|
333
430
|
libraryItemId: string | undefined;
|
|
@@ -351,6 +448,7 @@ export interface GetLibraryItemOutput {
|
|
|
351
448
|
export interface GetQAppInput {
|
|
352
449
|
instanceId: string | undefined;
|
|
353
450
|
appId: string | undefined;
|
|
451
|
+
appVersion?: number | undefined;
|
|
354
452
|
}
|
|
355
453
|
export interface GetQAppSessionInput {
|
|
356
454
|
instanceId: string | undefined;
|
|
@@ -359,8 +457,28 @@ export interface GetQAppSessionInput {
|
|
|
359
457
|
export interface GetQAppSessionOutput {
|
|
360
458
|
sessionId: string | undefined;
|
|
361
459
|
sessionArn: string | undefined;
|
|
460
|
+
sessionName?: string | undefined;
|
|
461
|
+
appVersion?: number | undefined;
|
|
462
|
+
latestPublishedAppVersion?: number | undefined;
|
|
362
463
|
status: ExecutionStatus | undefined;
|
|
363
464
|
cardStatus: Record<string, CardStatus> | undefined;
|
|
465
|
+
userIsHost?: boolean | undefined;
|
|
466
|
+
}
|
|
467
|
+
export interface GetQAppSessionMetadataInput {
|
|
468
|
+
instanceId: string | undefined;
|
|
469
|
+
sessionId: string | undefined;
|
|
470
|
+
}
|
|
471
|
+
export interface SessionSharingConfiguration {
|
|
472
|
+
enabled: boolean | undefined;
|
|
473
|
+
acceptResponses?: boolean | undefined;
|
|
474
|
+
revealCards?: boolean | undefined;
|
|
475
|
+
}
|
|
476
|
+
export interface GetQAppSessionMetadataOutput {
|
|
477
|
+
sessionId: string | undefined;
|
|
478
|
+
sessionArn: string | undefined;
|
|
479
|
+
sessionName?: string | undefined;
|
|
480
|
+
sharingConfiguration: SessionSharingConfiguration | undefined;
|
|
481
|
+
sessionOwner?: boolean | undefined;
|
|
364
482
|
}
|
|
365
483
|
export interface ImportDocumentInput {
|
|
366
484
|
instanceId: string | undefined;
|
|
@@ -430,12 +548,36 @@ export interface ListQAppsOutput {
|
|
|
430
548
|
apps: UserAppItem[] | undefined;
|
|
431
549
|
nextToken?: string | undefined;
|
|
432
550
|
}
|
|
551
|
+
export interface ListQAppSessionDataInput {
|
|
552
|
+
instanceId: string | undefined;
|
|
553
|
+
sessionId: string | undefined;
|
|
554
|
+
}
|
|
555
|
+
export interface User {
|
|
556
|
+
userId?: string | undefined;
|
|
557
|
+
}
|
|
558
|
+
export interface QAppSessionData {
|
|
559
|
+
cardId: string | undefined;
|
|
560
|
+
value?: __DocumentType | undefined;
|
|
561
|
+
user: User | undefined;
|
|
562
|
+
submissionId?: string | undefined;
|
|
563
|
+
timestamp?: Date | undefined;
|
|
564
|
+
}
|
|
565
|
+
export interface ListQAppSessionDataOutput {
|
|
566
|
+
sessionId: string | undefined;
|
|
567
|
+
sessionArn: string | undefined;
|
|
568
|
+
sessionData?: QAppSessionData[] | undefined;
|
|
569
|
+
nextToken?: string | undefined;
|
|
570
|
+
}
|
|
433
571
|
export interface ListTagsForResourceRequest {
|
|
434
572
|
resourceARN: string | undefined;
|
|
435
573
|
}
|
|
436
574
|
export interface ListTagsForResourceResponse {
|
|
437
575
|
tags?: Record<string, string> | undefined;
|
|
438
576
|
}
|
|
577
|
+
export interface PermissionInput {
|
|
578
|
+
action: Action | undefined;
|
|
579
|
+
principal: string | undefined;
|
|
580
|
+
}
|
|
439
581
|
export type PredictQAppInputOptions =
|
|
440
582
|
| PredictQAppInputOptions.ConversationMember
|
|
441
583
|
| PredictQAppInputOptions.ProblemStatementMember
|
|
@@ -472,6 +614,7 @@ export interface StartQAppSessionInput {
|
|
|
472
614
|
appId: string | undefined;
|
|
473
615
|
appVersion: number | undefined;
|
|
474
616
|
initialValues?: CardValue[] | undefined;
|
|
617
|
+
sessionId?: string | undefined;
|
|
475
618
|
tags?: Record<string, string> | undefined;
|
|
476
619
|
}
|
|
477
620
|
export interface StartQAppSessionOutput {
|
|
@@ -532,6 +675,17 @@ export interface UpdateQAppOutput {
|
|
|
532
675
|
updatedBy: string | undefined;
|
|
533
676
|
requiredCapabilities?: AppRequiredCapability[] | undefined;
|
|
534
677
|
}
|
|
678
|
+
export interface UpdateQAppPermissionsInput {
|
|
679
|
+
instanceId: string | undefined;
|
|
680
|
+
appId: string | undefined;
|
|
681
|
+
grantPermissions?: PermissionInput[] | undefined;
|
|
682
|
+
revokePermissions?: PermissionInput[] | undefined;
|
|
683
|
+
}
|
|
684
|
+
export interface UpdateQAppPermissionsOutput {
|
|
685
|
+
resourceArn?: string | undefined;
|
|
686
|
+
appId?: string | undefined;
|
|
687
|
+
permissions?: PermissionOutput[] | undefined;
|
|
688
|
+
}
|
|
535
689
|
export interface UpdateQAppSessionInput {
|
|
536
690
|
instanceId: string | undefined;
|
|
537
691
|
sessionId: string | undefined;
|
|
@@ -541,6 +695,18 @@ export interface UpdateQAppSessionOutput {
|
|
|
541
695
|
sessionId: string | undefined;
|
|
542
696
|
sessionArn: string | undefined;
|
|
543
697
|
}
|
|
698
|
+
export interface UpdateQAppSessionMetadataInput {
|
|
699
|
+
instanceId: string | undefined;
|
|
700
|
+
sessionId: string | undefined;
|
|
701
|
+
sessionName?: string | undefined;
|
|
702
|
+
sharingConfiguration: SessionSharingConfiguration | undefined;
|
|
703
|
+
}
|
|
704
|
+
export interface UpdateQAppSessionMetadataOutput {
|
|
705
|
+
sessionId: string | undefined;
|
|
706
|
+
sessionArn: string | undefined;
|
|
707
|
+
sessionName?: string | undefined;
|
|
708
|
+
sharingConfiguration: SessionSharingConfiguration | undefined;
|
|
709
|
+
}
|
|
544
710
|
export interface AttributeFilter {
|
|
545
711
|
andAllFilters?: AttributeFilter[] | undefined;
|
|
546
712
|
orAllFilters?: AttributeFilter[] | undefined;
|
|
@@ -561,6 +727,7 @@ export interface QQueryCard {
|
|
|
561
727
|
prompt: string | undefined;
|
|
562
728
|
outputSource: CardOutputSource | undefined;
|
|
563
729
|
attributeFilter?: AttributeFilter | undefined;
|
|
730
|
+
memoryReferences?: string[] | undefined;
|
|
564
731
|
}
|
|
565
732
|
export interface QQueryCardInput {
|
|
566
733
|
title: string | undefined;
|
|
@@ -572,6 +739,7 @@ export interface QQueryCardInput {
|
|
|
572
739
|
}
|
|
573
740
|
export type Card =
|
|
574
741
|
| Card.FileUploadMember
|
|
742
|
+
| Card.FormInputMember
|
|
575
743
|
| Card.QPluginMember
|
|
576
744
|
| Card.QQueryMember
|
|
577
745
|
| Card.TextInputMember
|
|
@@ -582,6 +750,7 @@ export declare namespace Card {
|
|
|
582
750
|
qQuery?: never;
|
|
583
751
|
qPlugin?: never;
|
|
584
752
|
fileUpload?: never;
|
|
753
|
+
formInput?: never;
|
|
585
754
|
$unknown?: never;
|
|
586
755
|
}
|
|
587
756
|
interface QQueryMember {
|
|
@@ -589,6 +758,7 @@ export declare namespace Card {
|
|
|
589
758
|
qQuery: QQueryCard;
|
|
590
759
|
qPlugin?: never;
|
|
591
760
|
fileUpload?: never;
|
|
761
|
+
formInput?: never;
|
|
592
762
|
$unknown?: never;
|
|
593
763
|
}
|
|
594
764
|
interface QPluginMember {
|
|
@@ -596,6 +766,7 @@ export declare namespace Card {
|
|
|
596
766
|
qQuery?: never;
|
|
597
767
|
qPlugin: QPluginCard;
|
|
598
768
|
fileUpload?: never;
|
|
769
|
+
formInput?: never;
|
|
599
770
|
$unknown?: never;
|
|
600
771
|
}
|
|
601
772
|
interface FileUploadMember {
|
|
@@ -603,6 +774,15 @@ export declare namespace Card {
|
|
|
603
774
|
qQuery?: never;
|
|
604
775
|
qPlugin?: never;
|
|
605
776
|
fileUpload: FileUploadCard;
|
|
777
|
+
formInput?: never;
|
|
778
|
+
$unknown?: never;
|
|
779
|
+
}
|
|
780
|
+
interface FormInputMember {
|
|
781
|
+
textInput?: never;
|
|
782
|
+
qQuery?: never;
|
|
783
|
+
qPlugin?: never;
|
|
784
|
+
fileUpload?: never;
|
|
785
|
+
formInput: FormInputCard;
|
|
606
786
|
$unknown?: never;
|
|
607
787
|
}
|
|
608
788
|
interface $UnknownMember {
|
|
@@ -610,6 +790,7 @@ export declare namespace Card {
|
|
|
610
790
|
qQuery?: never;
|
|
611
791
|
qPlugin?: never;
|
|
612
792
|
fileUpload?: never;
|
|
793
|
+
formInput?: never;
|
|
613
794
|
$unknown: [string, any];
|
|
614
795
|
}
|
|
615
796
|
interface Visitor<T> {
|
|
@@ -617,12 +798,14 @@ export declare namespace Card {
|
|
|
617
798
|
qQuery: (value: QQueryCard) => T;
|
|
618
799
|
qPlugin: (value: QPluginCard) => T;
|
|
619
800
|
fileUpload: (value: FileUploadCard) => T;
|
|
801
|
+
formInput: (value: FormInputCard) => T;
|
|
620
802
|
_: (name: string, value: any) => T;
|
|
621
803
|
}
|
|
622
804
|
const visit: <T>(value: Card, visitor: Visitor<T>) => T;
|
|
623
805
|
}
|
|
624
806
|
export type CardInput =
|
|
625
807
|
| CardInput.FileUploadMember
|
|
808
|
+
| CardInput.FormInputMember
|
|
626
809
|
| CardInput.QPluginMember
|
|
627
810
|
| CardInput.QQueryMember
|
|
628
811
|
| CardInput.TextInputMember
|
|
@@ -633,6 +816,7 @@ export declare namespace CardInput {
|
|
|
633
816
|
qQuery?: never;
|
|
634
817
|
qPlugin?: never;
|
|
635
818
|
fileUpload?: never;
|
|
819
|
+
formInput?: never;
|
|
636
820
|
$unknown?: never;
|
|
637
821
|
}
|
|
638
822
|
interface QQueryMember {
|
|
@@ -640,6 +824,7 @@ export declare namespace CardInput {
|
|
|
640
824
|
qQuery: QQueryCardInput;
|
|
641
825
|
qPlugin?: never;
|
|
642
826
|
fileUpload?: never;
|
|
827
|
+
formInput?: never;
|
|
643
828
|
$unknown?: never;
|
|
644
829
|
}
|
|
645
830
|
interface QPluginMember {
|
|
@@ -647,6 +832,7 @@ export declare namespace CardInput {
|
|
|
647
832
|
qQuery?: never;
|
|
648
833
|
qPlugin: QPluginCardInput;
|
|
649
834
|
fileUpload?: never;
|
|
835
|
+
formInput?: never;
|
|
650
836
|
$unknown?: never;
|
|
651
837
|
}
|
|
652
838
|
interface FileUploadMember {
|
|
@@ -654,6 +840,15 @@ export declare namespace CardInput {
|
|
|
654
840
|
qQuery?: never;
|
|
655
841
|
qPlugin?: never;
|
|
656
842
|
fileUpload: FileUploadCardInput;
|
|
843
|
+
formInput?: never;
|
|
844
|
+
$unknown?: never;
|
|
845
|
+
}
|
|
846
|
+
interface FormInputMember {
|
|
847
|
+
textInput?: never;
|
|
848
|
+
qQuery?: never;
|
|
849
|
+
qPlugin?: never;
|
|
850
|
+
fileUpload?: never;
|
|
851
|
+
formInput: FormInputCardInput;
|
|
657
852
|
$unknown?: never;
|
|
658
853
|
}
|
|
659
854
|
interface $UnknownMember {
|
|
@@ -661,6 +856,7 @@ export declare namespace CardInput {
|
|
|
661
856
|
qQuery?: never;
|
|
662
857
|
qPlugin?: never;
|
|
663
858
|
fileUpload?: never;
|
|
859
|
+
formInput?: never;
|
|
664
860
|
$unknown: [string, any];
|
|
665
861
|
}
|
|
666
862
|
interface Visitor<T> {
|
|
@@ -668,6 +864,7 @@ export declare namespace CardInput {
|
|
|
668
864
|
qQuery: (value: QQueryCardInput) => T;
|
|
669
865
|
qPlugin: (value: QPluginCardInput) => T;
|
|
670
866
|
fileUpload: (value: FileUploadCardInput) => T;
|
|
867
|
+
formInput: (value: FormInputCardInput) => T;
|
|
671
868
|
_: (name: string, value: any) => T;
|
|
672
869
|
}
|
|
673
870
|
const visit: <T>(value: CardInput, visitor: Visitor<T>) => T;
|