@aws-sdk/client-qapps 3.699.0 → 3.702.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 +161 -0
  27. package/dist-types/commands/CreateQAppCommand.d.ts +13 -4
  28. package/dist-types/commands/DescribeQAppPermissionsCommand.d.ts +136 -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 +128 -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 +187 -0
  38. package/dist-types/commands/UpdateQAppSessionCommand.d.ts +4 -0
  39. package/dist-types/commands/UpdateQAppSessionMetadataCommand.d.ts +138 -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,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ExportQAppSessionDataCommand, se_ExportQAppSessionDataCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ExportQAppSessionDataCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("QAppsService", "ExportQAppSessionData", {})
17
+ .n("QAppsClient", "ExportQAppSessionDataCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ExportQAppSessionDataCommand)
20
+ .de(de_ExportQAppSessionDataCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetQAppSessionMetadataCommand, se_GetQAppSessionMetadataCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetQAppSessionMetadataCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("QAppsService", "GetQAppSessionMetadata", {})
17
+ .n("QAppsClient", "GetQAppSessionMetadataCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetQAppSessionMetadataCommand)
20
+ .de(de_GetQAppSessionMetadataCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListQAppSessionDataCommand, se_ListQAppSessionDataCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListQAppSessionDataCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("QAppsService", "ListQAppSessionData", {})
17
+ .n("QAppsClient", "ListQAppSessionDataCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListQAppSessionDataCommand)
20
+ .de(de_ListQAppSessionDataCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateQAppPermissionsCommand, se_UpdateQAppPermissionsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateQAppPermissionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("QAppsService", "UpdateQAppPermissions", {})
17
+ .n("QAppsClient", "UpdateQAppPermissionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateQAppPermissionsCommand)
20
+ .de(de_UpdateQAppPermissionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateQAppSessionMetadataCommand, se_UpdateQAppSessionMetadataCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateQAppSessionMetadataCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("QAppsService", "UpdateQAppSessionMetadata", {})
17
+ .n("QAppsClient", "UpdateQAppSessionMetadataCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateQAppSessionMetadataCommand)
20
+ .de(de_UpdateQAppSessionMetadataCommand)
21
+ .build() {
22
+ }
@@ -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";
@@ -11,12 +11,21 @@ export class AccessDeniedException extends __BaseException {
11
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
12
  }
13
13
  }
14
+ export const Action = {
15
+ READ: "read",
16
+ WRITE: "write",
17
+ };
14
18
  export const CardType = {
15
19
  FILE_UPLOAD: "file-upload",
20
+ FORM_INPUT: "form-input",
16
21
  Q_PLUGIN: "q-plugin",
17
22
  Q_QUERY: "q-query",
18
23
  TEXT_INPUT: "text-input",
19
24
  };
25
+ export const InputCardComputeMode = {
26
+ APPEND: "append",
27
+ REPLACE: "replace",
28
+ };
20
29
  export const PluginType = {
21
30
  CUSTOM: "CUSTOM",
22
31
  JIRA: "JIRA",
@@ -155,9 +164,15 @@ export class ValidationException extends __BaseException {
155
164
  }
156
165
  export const ExecutionStatus = {
157
166
  COMPLETED: "COMPLETED",
167
+ ERROR: "ERROR",
158
168
  IN_PROGRESS: "IN_PROGRESS",
159
169
  WAITING: "WAITING",
160
170
  };
171
+ export const SubmissionMutationKind = {
172
+ add: "add",
173
+ delete: "delete",
174
+ edit: "edit",
175
+ };
161
176
  export class ContentTooLargeException extends __BaseException {
162
177
  constructor(opts) {
163
178
  super({
@@ -180,6 +195,10 @@ export const DocumentScope = {
180
195
  APPLICATION: "APPLICATION",
181
196
  SESSION: "SESSION",
182
197
  };
198
+ export const UserType = {
199
+ OWNER: "owner",
200
+ USER: "user",
201
+ };
183
202
  export const LibraryItemStatus = {
184
203
  DISABLED: "DISABLED",
185
204
  PUBLISHED: "PUBLISHED",
@@ -205,6 +224,8 @@ export var Card;
205
224
  return visitor.qPlugin(value.qPlugin);
206
225
  if (value.fileUpload !== undefined)
207
226
  return visitor.fileUpload(value.fileUpload);
227
+ if (value.formInput !== undefined)
228
+ return visitor.formInput(value.formInput);
208
229
  return visitor._(value.$unknown[0], value.$unknown[1]);
209
230
  };
210
231
  })(Card || (Card = {}));
@@ -219,6 +240,8 @@ export var CardInput;
219
240
  return visitor.qPlugin(value.qPlugin);
220
241
  if (value.fileUpload !== undefined)
221
242
  return visitor.fileUpload(value.fileUpload);
243
+ if (value.formInput !== undefined)
244
+ return visitor.formInput(value.formInput);
222
245
  return visitor._(value.$unknown[0], value.$unknown[1]);
223
246
  };
224
247
  })(CardInput || (CardInput = {}));