@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.
Files changed (55) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/QApps.js +14 -0
  3. package/dist-cjs/commands/CreatePresignedUrlCommand.js +26 -0
  4. package/dist-cjs/commands/DescribeQAppPermissionsCommand.js +26 -0
  5. package/dist-cjs/commands/ExportQAppSessionDataCommand.js +26 -0
  6. package/dist-cjs/commands/GetQAppSessionMetadataCommand.js +26 -0
  7. package/dist-cjs/commands/ListQAppSessionDataCommand.js +26 -0
  8. package/dist-cjs/commands/UpdateQAppPermissionsCommand.js +26 -0
  9. package/dist-cjs/commands/UpdateQAppSessionMetadataCommand.js +26 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +24 -1
  12. package/dist-cjs/protocols/Aws_restJson1.js +352 -3
  13. package/dist-es/QApps.js +14 -0
  14. package/dist-es/commands/CreatePresignedUrlCommand.js +22 -0
  15. package/dist-es/commands/DescribeQAppPermissionsCommand.js +22 -0
  16. package/dist-es/commands/ExportQAppSessionDataCommand.js +22 -0
  17. package/dist-es/commands/GetQAppSessionMetadataCommand.js +22 -0
  18. package/dist-es/commands/ListQAppSessionDataCommand.js +22 -0
  19. package/dist-es/commands/UpdateQAppPermissionsCommand.js +22 -0
  20. package/dist-es/commands/UpdateQAppSessionMetadataCommand.js +22 -0
  21. package/dist-es/commands/index.js +7 -0
  22. package/dist-es/models/models_0.js +23 -0
  23. package/dist-es/protocols/Aws_restJson1.js +336 -1
  24. package/dist-types/QApps.d.ts +49 -0
  25. package/dist-types/QAppsClient.d.ts +9 -2
  26. package/dist-types/commands/CreatePresignedUrlCommand.d.ts +102 -0
  27. package/dist-types/commands/CreateQAppCommand.d.ts +13 -4
  28. package/dist-types/commands/DescribeQAppPermissionsCommand.d.ts +102 -0
  29. package/dist-types/commands/ExportQAppSessionDataCommand.d.ts +101 -0
  30. package/dist-types/commands/GetQAppCommand.d.ts +20 -4
  31. package/dist-types/commands/GetQAppSessionCommand.d.ts +13 -2
  32. package/dist-types/commands/GetQAppSessionMetadataCommand.d.ts +103 -0
  33. package/dist-types/commands/ListQAppSessionDataCommand.d.ts +108 -0
  34. package/dist-types/commands/PredictQAppCommand.d.ts +13 -4
  35. package/dist-types/commands/StartQAppSessionCommand.d.ts +5 -0
  36. package/dist-types/commands/UpdateQAppCommand.d.ts +13 -4
  37. package/dist-types/commands/UpdateQAppPermissionsCommand.d.ts +114 -0
  38. package/dist-types/commands/UpdateQAppSessionCommand.d.ts +4 -0
  39. package/dist-types/commands/UpdateQAppSessionMetadataCommand.d.ts +108 -0
  40. package/dist-types/commands/index.d.ts +7 -0
  41. package/dist-types/models/models_0.d.ts +704 -11
  42. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  43. package/dist-types/ts3.4/QApps.d.ts +119 -0
  44. package/dist-types/ts3.4/QAppsClient.d.ts +44 -2
  45. package/dist-types/ts3.4/commands/CreatePresignedUrlCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/DescribeQAppPermissionsCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/ExportQAppSessionDataCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/GetQAppSessionMetadataCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/ListQAppSessionDataCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/UpdateQAppPermissionsCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/UpdateQAppSessionMetadataCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +202 -5
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  55. package/package.json +1 -1
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListQAppSessionDataInput, ListQAppSessionDataOutput } 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 ListQAppSessionDataCommand}.
14
+ */
15
+ export interface ListQAppSessionDataCommandInput extends ListQAppSessionDataInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListQAppSessionDataCommand}.
21
+ */
22
+ export interface ListQAppSessionDataCommandOutput extends ListQAppSessionDataOutput, __MetadataBearer {
23
+ }
24
+ declare const ListQAppSessionDataCommand_base: {
25
+ new (input: ListQAppSessionDataCommandInput): import("@smithy/smithy-client").CommandImpl<ListQAppSessionDataCommandInput, ListQAppSessionDataCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListQAppSessionDataCommandInput): import("@smithy/smithy-client").CommandImpl<ListQAppSessionDataCommandInput, ListQAppSessionDataCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the collected data of a Q App data collection session.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { QAppsClient, ListQAppSessionDataCommand } from "@aws-sdk/client-qapps"; // ES Modules import
35
+ * // const { QAppsClient, ListQAppSessionDataCommand } = require("@aws-sdk/client-qapps"); // CommonJS import
36
+ * const client = new QAppsClient(config);
37
+ * const input = { // ListQAppSessionDataInput
38
+ * instanceId: "STRING_VALUE", // required
39
+ * sessionId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new ListQAppSessionDataCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListQAppSessionDataOutput
44
+ * // sessionId: "STRING_VALUE", // required
45
+ * // sessionArn: "STRING_VALUE", // required
46
+ * // sessionData: [ // QAppSessionDataList
47
+ * // { // QAppSessionData
48
+ * // cardId: "STRING_VALUE", // required
49
+ * // value: "DOCUMENT_VALUE",
50
+ * // user: { // User
51
+ * // userId: "STRING_VALUE",
52
+ * // },
53
+ * // submissionId: "STRING_VALUE",
54
+ * // timestamp: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListQAppSessionDataCommandInput - {@link ListQAppSessionDataCommandInput}
63
+ * @returns {@link ListQAppSessionDataCommandOutput}
64
+ * @see {@link ListQAppSessionDataCommandInput} for command's `input` shape.
65
+ * @see {@link ListQAppSessionDataCommandOutput} for command's `response` shape.
66
+ * @see {@link QAppsClientResolvedConfig | config} for QAppsClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>The client is not authorized to perform the requested operation.</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 ListQAppSessionDataCommand extends ListQAppSessionDataCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: ListQAppSessionDataInput;
101
+ output: ListQAppSessionDataOutput;
102
+ };
103
+ sdk: {
104
+ input: ListQAppSessionDataCommandInput;
105
+ output: ListQAppSessionDataCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -61,14 +61,14 @@ declare const PredictQAppCommand_base: {
61
61
  * // textInput: { // TextInputCardInput
62
62
  * // title: "STRING_VALUE", // required
63
63
  * // id: "STRING_VALUE", // required
64
- * // type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
64
+ * // type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
65
65
  * // placeholder: "STRING_VALUE",
66
66
  * // defaultValue: "STRING_VALUE",
67
67
  * // },
68
68
  * // qQuery: { // QQueryCardInput
69
69
  * // title: "STRING_VALUE", // required
70
70
  * // id: "STRING_VALUE", // required
71
- * // type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
71
+ * // type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
72
72
  * // prompt: "STRING_VALUE", // required
73
73
  * // outputSource: "approved-sources" || "llm",
74
74
  * // attributeFilter: { // AttributeFilter
@@ -156,18 +156,27 @@ declare const PredictQAppCommand_base: {
156
156
  * // qPlugin: { // QPluginCardInput
157
157
  * // title: "STRING_VALUE", // required
158
158
  * // id: "STRING_VALUE", // required
159
- * // type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
159
+ * // type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
160
160
  * // prompt: "STRING_VALUE", // required
161
161
  * // pluginId: "STRING_VALUE", // required
162
162
  * // },
163
163
  * // fileUpload: { // FileUploadCardInput
164
164
  * // title: "STRING_VALUE", // required
165
165
  * // id: "STRING_VALUE", // required
166
- * // type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
166
+ * // type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
167
167
  * // filename: "STRING_VALUE",
168
168
  * // fileId: "STRING_VALUE",
169
169
  * // allowOverride: true || false,
170
170
  * // },
171
+ * // formInput: { // FormInputCardInput
172
+ * // title: "STRING_VALUE", // required
173
+ * // id: "STRING_VALUE", // required
174
+ * // type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
175
+ * // metadata: { // FormInputCardMetadata
176
+ * // schema: "DOCUMENT_VALUE", // required
177
+ * // },
178
+ * // computeMode: "append" || "replace",
179
+ * // },
171
180
  * // },
172
181
  * // ],
173
182
  * // initialPrompt: "STRING_VALUE",
@@ -47,8 +47,13 @@ declare const StartQAppSessionCommand_base: {
47
47
  * { // CardValue
48
48
  * cardId: "STRING_VALUE", // required
49
49
  * value: "STRING_VALUE", // required
50
+ * submissionMutation: { // SubmissionMutation
51
+ * submissionId: "STRING_VALUE", // required
52
+ * mutationType: "edit" || "delete" || "add", // required
53
+ * },
50
54
  * },
51
55
  * ],
56
+ * sessionId: "STRING_VALUE",
52
57
  * tags: { // TagMap
53
58
  * "<keys>": "STRING_VALUE",
54
59
  * },
@@ -45,14 +45,14 @@ declare const UpdateQAppCommand_base: {
45
45
  * textInput: { // TextInputCardInput
46
46
  * title: "STRING_VALUE", // required
47
47
  * id: "STRING_VALUE", // required
48
- * type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
48
+ * type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
49
49
  * placeholder: "STRING_VALUE",
50
50
  * defaultValue: "STRING_VALUE",
51
51
  * },
52
52
  * qQuery: { // QQueryCardInput
53
53
  * title: "STRING_VALUE", // required
54
54
  * id: "STRING_VALUE", // required
55
- * type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
55
+ * type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
56
56
  * prompt: "STRING_VALUE", // required
57
57
  * outputSource: "approved-sources" || "llm",
58
58
  * attributeFilter: { // AttributeFilter
@@ -140,18 +140,27 @@ declare const UpdateQAppCommand_base: {
140
140
  * qPlugin: { // QPluginCardInput
141
141
  * title: "STRING_VALUE", // required
142
142
  * id: "STRING_VALUE", // required
143
- * type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
143
+ * type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
144
144
  * prompt: "STRING_VALUE", // required
145
145
  * pluginId: "STRING_VALUE", // required
146
146
  * },
147
147
  * fileUpload: { // FileUploadCardInput
148
148
  * title: "STRING_VALUE", // required
149
149
  * id: "STRING_VALUE", // required
150
- * type: "text-input" || "q-query" || "file-upload" || "q-plugin", // required
150
+ * type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
151
151
  * filename: "STRING_VALUE",
152
152
  * fileId: "STRING_VALUE",
153
153
  * allowOverride: true || false,
154
154
  * },
155
+ * formInput: { // FormInputCardInput
156
+ * title: "STRING_VALUE", // required
157
+ * id: "STRING_VALUE", // required
158
+ * type: "text-input" || "q-query" || "file-upload" || "q-plugin" || "form-input", // required
159
+ * metadata: { // FormInputCardMetadata
160
+ * schema: "DOCUMENT_VALUE", // required
161
+ * },
162
+ * computeMode: "append" || "replace",
163
+ * },
155
164
  * },
156
165
  * ],
157
166
  * initialPrompt: "STRING_VALUE",
@@ -0,0 +1,114 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateQAppPermissionsInput, UpdateQAppPermissionsOutput } 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 UpdateQAppPermissionsCommand}.
14
+ */
15
+ export interface UpdateQAppPermissionsCommandInput extends UpdateQAppPermissionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateQAppPermissionsCommand}.
21
+ */
22
+ export interface UpdateQAppPermissionsCommandOutput extends UpdateQAppPermissionsOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateQAppPermissionsCommand_base: {
25
+ new (input: UpdateQAppPermissionsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateQAppPermissionsCommandInput, UpdateQAppPermissionsCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateQAppPermissionsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateQAppPermissionsCommandInput, UpdateQAppPermissionsCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates read permissions for a Amazon Q App in Amazon Q Business application environment instance.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { QAppsClient, UpdateQAppPermissionsCommand } from "@aws-sdk/client-qapps"; // ES Modules import
35
+ * // const { QAppsClient, UpdateQAppPermissionsCommand } = require("@aws-sdk/client-qapps"); // CommonJS import
36
+ * const client = new QAppsClient(config);
37
+ * const input = { // UpdateQAppPermissionsInput
38
+ * instanceId: "STRING_VALUE", // required
39
+ * appId: "STRING_VALUE", // required
40
+ * grantPermissions: [ // PermissionsInputList
41
+ * { // PermissionInput
42
+ * action: "read" || "write", // required
43
+ * principal: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * revokePermissions: [
47
+ * {
48
+ * action: "read" || "write", // required
49
+ * principal: "STRING_VALUE", // required
50
+ * },
51
+ * ],
52
+ * };
53
+ * const command = new UpdateQAppPermissionsCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // UpdateQAppPermissionsOutput
56
+ * // resourceArn: "STRING_VALUE",
57
+ * // appId: "STRING_VALUE",
58
+ * // permissions: [ // PermissionsOutputList
59
+ * // { // PermissionOutput
60
+ * // action: "read" || "write", // required
61
+ * // principal: { // PrincipalOutput
62
+ * // userId: "STRING_VALUE",
63
+ * // userType: "owner" || "user",
64
+ * // email: "STRING_VALUE",
65
+ * // },
66
+ * // },
67
+ * // ],
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param UpdateQAppPermissionsCommandInput - {@link UpdateQAppPermissionsCommandInput}
73
+ * @returns {@link UpdateQAppPermissionsCommandOutput}
74
+ * @see {@link UpdateQAppPermissionsCommandInput} for command's `input` shape.
75
+ * @see {@link UpdateQAppPermissionsCommandOutput} 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 UpdateQAppPermissionsCommand extends UpdateQAppPermissionsCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: UpdateQAppPermissionsInput;
107
+ output: UpdateQAppPermissionsOutput;
108
+ };
109
+ sdk: {
110
+ input: UpdateQAppPermissionsCommandInput;
111
+ output: UpdateQAppPermissionsCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -45,6 +45,10 @@ declare const UpdateQAppSessionCommand_base: {
45
45
  * { // CardValue
46
46
  * cardId: "STRING_VALUE", // required
47
47
  * value: "STRING_VALUE", // required
48
+ * submissionMutation: { // SubmissionMutation
49
+ * submissionId: "STRING_VALUE", // required
50
+ * mutationType: "edit" || "delete" || "add", // required
51
+ * },
48
52
  * },
49
53
  * ],
50
54
  * };
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateQAppSessionMetadataInput, UpdateQAppSessionMetadataOutput } 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 UpdateQAppSessionMetadataCommand}.
14
+ */
15
+ export interface UpdateQAppSessionMetadataCommandInput extends UpdateQAppSessionMetadataInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateQAppSessionMetadataCommand}.
21
+ */
22
+ export interface UpdateQAppSessionMetadataCommandOutput extends UpdateQAppSessionMetadataOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateQAppSessionMetadataCommand_base: {
25
+ new (input: UpdateQAppSessionMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateQAppSessionMetadataCommandInput, UpdateQAppSessionMetadataCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateQAppSessionMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateQAppSessionMetadataCommandInput, UpdateQAppSessionMetadataCommandOutput, QAppsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the configuration metadata of a session for a given Q App <code>sessionId</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { QAppsClient, UpdateQAppSessionMetadataCommand } from "@aws-sdk/client-qapps"; // ES Modules import
35
+ * // const { QAppsClient, UpdateQAppSessionMetadataCommand } = require("@aws-sdk/client-qapps"); // CommonJS import
36
+ * const client = new QAppsClient(config);
37
+ * const input = { // UpdateQAppSessionMetadataInput
38
+ * instanceId: "STRING_VALUE", // required
39
+ * sessionId: "STRING_VALUE", // required
40
+ * sessionName: "STRING_VALUE",
41
+ * sharingConfiguration: { // SessionSharingConfiguration
42
+ * enabled: true || false, // required
43
+ * acceptResponses: true || false,
44
+ * revealCards: true || false,
45
+ * },
46
+ * };
47
+ * const command = new UpdateQAppSessionMetadataCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateQAppSessionMetadataOutput
50
+ * // sessionId: "STRING_VALUE", // required
51
+ * // sessionArn: "STRING_VALUE", // required
52
+ * // sessionName: "STRING_VALUE",
53
+ * // sharingConfiguration: { // SessionSharingConfiguration
54
+ * // enabled: true || false, // required
55
+ * // acceptResponses: true || false,
56
+ * // revealCards: true || false,
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param UpdateQAppSessionMetadataCommandInput - {@link UpdateQAppSessionMetadataCommandInput}
63
+ * @returns {@link UpdateQAppSessionMetadataCommandOutput}
64
+ * @see {@link UpdateQAppSessionMetadataCommandInput} for command's `input` shape.
65
+ * @see {@link UpdateQAppSessionMetadataCommandOutput} for command's `response` shape.
66
+ * @see {@link QAppsClientResolvedConfig | config} for QAppsClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>The client is not authorized to perform the requested operation.</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 UpdateQAppSessionMetadataCommand extends UpdateQAppSessionMetadataCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: UpdateQAppSessionMetadataInput;
101
+ output: UpdateQAppSessionMetadataOutput;
102
+ };
103
+ sdk: {
104
+ input: UpdateQAppSessionMetadataCommandInput;
105
+ output: UpdateQAppSessionMetadataCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -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";