@aws-sdk/client-qapps 3.682.0 → 3.687.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 (38) hide show
  1. package/README.md +33 -1
  2. package/dist-cjs/QApps.js +8 -0
  3. package/dist-cjs/commands/BatchCreateCategoryCommand.js +26 -0
  4. package/dist-cjs/commands/BatchDeleteCategoryCommand.js +26 -0
  5. package/dist-cjs/commands/BatchUpdateCategoryCommand.js +26 -0
  6. package/dist-cjs/commands/ListCategoriesCommand.js +26 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/protocols/Aws_restJson1.js +106 -1
  9. package/dist-es/QApps.js +8 -0
  10. package/dist-es/commands/BatchCreateCategoryCommand.js +22 -0
  11. package/dist-es/commands/BatchDeleteCategoryCommand.js +22 -0
  12. package/dist-es/commands/BatchUpdateCategoryCommand.js +22 -0
  13. package/dist-es/commands/ListCategoriesCommand.js +22 -0
  14. package/dist-es/commands/index.js +4 -0
  15. package/dist-es/protocols/Aws_restJson1.js +96 -0
  16. package/dist-types/QApps.d.ts +28 -0
  17. package/dist-types/QAppsClient.d.ts +6 -2
  18. package/dist-types/commands/BatchCreateCategoryCommand.d.ts +120 -0
  19. package/dist-types/commands/BatchDeleteCategoryCommand.d.ts +109 -0
  20. package/dist-types/commands/BatchUpdateCategoryCommand.d.ts +120 -0
  21. package/dist-types/commands/GetLibraryItemCommand.d.ts +2 -0
  22. package/dist-types/commands/GetQAppSessionCommand.d.ts +2 -2
  23. package/dist-types/commands/ListCategoriesCommand.d.ts +126 -0
  24. package/dist-types/commands/ListLibraryItemsCommand.d.ts +2 -0
  25. package/dist-types/commands/UpdateLibraryItemCommand.d.ts +2 -0
  26. package/dist-types/commands/index.d.ts +4 -0
  27. package/dist-types/models/models_0.d.ts +117 -0
  28. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  29. package/dist-types/ts3.4/QApps.d.ts +68 -0
  30. package/dist-types/ts3.4/QAppsClient.d.ts +24 -0
  31. package/dist-types/ts3.4/commands/BatchCreateCategoryCommand.d.ts +46 -0
  32. package/dist-types/ts3.4/commands/BatchDeleteCategoryCommand.d.ts +46 -0
  33. package/dist-types/ts3.4/commands/BatchUpdateCategoryCommand.d.ts +46 -0
  34. package/dist-types/ts3.4/commands/ListCategoriesCommand.d.ts +47 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +30 -0
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  38. package/package.json +35 -35
@@ -572,6 +572,93 @@ export interface AssociateQAppWithUserInput {
572
572
  */
573
573
  appId: string | undefined;
574
574
  }
575
+ /**
576
+ * <p>The category object to be created.</p>
577
+ * @public
578
+ */
579
+ export interface BatchCreateCategoryInputCategory {
580
+ /**
581
+ * <p>The unique identifier to be associated with a category. If you don't include a value, the category is automatically assigned a unique identifier.</p>
582
+ * @public
583
+ */
584
+ id?: string;
585
+ /**
586
+ * <p>The name of the category.</p>
587
+ * @public
588
+ */
589
+ title: string | undefined;
590
+ /**
591
+ * <p>The color to be associated with a category. The color must be a hexadecimal value of either 3 or 6 digits.</p>
592
+ * @public
593
+ */
594
+ color?: string;
595
+ }
596
+ /**
597
+ * @public
598
+ */
599
+ export interface BatchCreateCategoryInput {
600
+ /**
601
+ * <p>The unique identifier of the Amazon Q Business application environment instance.</p>
602
+ * @public
603
+ */
604
+ instanceId: string | undefined;
605
+ /**
606
+ * <p>The list of category objects to be created</p>
607
+ * @public
608
+ */
609
+ categories: BatchCreateCategoryInputCategory[] | undefined;
610
+ }
611
+ /**
612
+ * @public
613
+ */
614
+ export interface BatchDeleteCategoryInput {
615
+ /**
616
+ * <p>The unique identifier of the Amazon Q Business application environment instance.</p>
617
+ * @public
618
+ */
619
+ instanceId: string | undefined;
620
+ /**
621
+ * <p>The list of IDs of the categories to be deleted.</p>
622
+ * @public
623
+ */
624
+ categories: string[] | undefined;
625
+ }
626
+ /**
627
+ * <p>A label that web experience users associate with a library item. Web experience users use Categories to tag and filter library items.</p>
628
+ * @public
629
+ */
630
+ export interface CategoryInput {
631
+ /**
632
+ * <p>The unique identifier of the category.</p>
633
+ * @public
634
+ */
635
+ id: string | undefined;
636
+ /**
637
+ * <p>The name of the category.</p>
638
+ * @public
639
+ */
640
+ title: string | undefined;
641
+ /**
642
+ * <p>The color of the category, represented as a hexadecimal value of either 3 or 6 digits.</p>
643
+ * @public
644
+ */
645
+ color?: string;
646
+ }
647
+ /**
648
+ * @public
649
+ */
650
+ export interface BatchUpdateCategoryInput {
651
+ /**
652
+ * <p>The unique identifier of the Amazon Q Business application environment instance.</p>
653
+ * @public
654
+ */
655
+ instanceId: string | undefined;
656
+ /**
657
+ * <p>The list of categories to be updated with their new values.</p>
658
+ * @public
659
+ */
660
+ categories: CategoryInput[] | undefined;
661
+ }
575
662
  /**
576
663
  * @public
577
664
  * @enum
@@ -632,6 +719,16 @@ export interface Category {
632
719
  * @public
633
720
  */
634
721
  title: string | undefined;
722
+ /**
723
+ * <p>The color of the category</p>
724
+ * @public
725
+ */
726
+ color?: string;
727
+ /**
728
+ * <p>The number of published Amazon Q Apps associated with a category</p>
729
+ * @public
730
+ */
731
+ appCount?: number;
635
732
  }
636
733
  /**
637
734
  * <p>The requested operation could not be completed because
@@ -1171,6 +1268,26 @@ export declare const LibraryItemStatus: {
1171
1268
  * @public
1172
1269
  */
1173
1270
  export type LibraryItemStatus = (typeof LibraryItemStatus)[keyof typeof LibraryItemStatus];
1271
+ /**
1272
+ * @public
1273
+ */
1274
+ export interface ListCategoriesInput {
1275
+ /**
1276
+ * <p>The unique identifier of the Amazon Q Business application environment instance.</p>
1277
+ * @public
1278
+ */
1279
+ instanceId: string | undefined;
1280
+ }
1281
+ /**
1282
+ * @public
1283
+ */
1284
+ export interface ListCategoriesOutput {
1285
+ /**
1286
+ * <p>The categories of a Amazon Q Business application environment instance.</p>
1287
+ * @public
1288
+ */
1289
+ categories?: Category[];
1290
+ }
1174
1291
  /**
1175
1292
  * @public
1176
1293
  */
@@ -2,6 +2,9 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AssociateLibraryItemReviewCommandInput, AssociateLibraryItemReviewCommandOutput } from "../commands/AssociateLibraryItemReviewCommand";
4
4
  import { AssociateQAppWithUserCommandInput, AssociateQAppWithUserCommandOutput } from "../commands/AssociateQAppWithUserCommand";
5
+ import { BatchCreateCategoryCommandInput, BatchCreateCategoryCommandOutput } from "../commands/BatchCreateCategoryCommand";
6
+ import { BatchDeleteCategoryCommandInput, BatchDeleteCategoryCommandOutput } from "../commands/BatchDeleteCategoryCommand";
7
+ import { BatchUpdateCategoryCommandInput, BatchUpdateCategoryCommandOutput } from "../commands/BatchUpdateCategoryCommand";
5
8
  import { CreateLibraryItemCommandInput, CreateLibraryItemCommandOutput } from "../commands/CreateLibraryItemCommand";
6
9
  import { CreateQAppCommandInput, CreateQAppCommandOutput } from "../commands/CreateQAppCommand";
7
10
  import { DeleteLibraryItemCommandInput, DeleteLibraryItemCommandOutput } from "../commands/DeleteLibraryItemCommand";
@@ -12,6 +15,7 @@ import { GetLibraryItemCommandInput, GetLibraryItemCommandOutput } from "../comm
12
15
  import { GetQAppCommandInput, GetQAppCommandOutput } from "../commands/GetQAppCommand";
13
16
  import { GetQAppSessionCommandInput, GetQAppSessionCommandOutput } from "../commands/GetQAppSessionCommand";
14
17
  import { ImportDocumentCommandInput, ImportDocumentCommandOutput } from "../commands/ImportDocumentCommand";
18
+ import { ListCategoriesCommandInput, ListCategoriesCommandOutput } from "../commands/ListCategoriesCommand";
15
19
  import { ListLibraryItemsCommandInput, ListLibraryItemsCommandOutput } from "../commands/ListLibraryItemsCommand";
16
20
  import { ListQAppsCommandInput, ListQAppsCommandOutput } from "../commands/ListQAppsCommand";
17
21
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
@@ -32,6 +36,18 @@ export declare const se_AssociateLibraryItemReviewCommand: (input: AssociateLibr
32
36
  * serializeAws_restJson1AssociateQAppWithUserCommand
33
37
  */
34
38
  export declare const se_AssociateQAppWithUserCommand: (input: AssociateQAppWithUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_restJson1BatchCreateCategoryCommand
41
+ */
42
+ export declare const se_BatchCreateCategoryCommand: (input: BatchCreateCategoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ /**
44
+ * serializeAws_restJson1BatchDeleteCategoryCommand
45
+ */
46
+ export declare const se_BatchDeleteCategoryCommand: (input: BatchDeleteCategoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ /**
48
+ * serializeAws_restJson1BatchUpdateCategoryCommand
49
+ */
50
+ export declare const se_BatchUpdateCategoryCommand: (input: BatchUpdateCategoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
51
  /**
36
52
  * serializeAws_restJson1CreateLibraryItemCommand
37
53
  */
@@ -72,6 +88,10 @@ export declare const se_GetQAppSessionCommand: (input: GetQAppSessionCommandInpu
72
88
  * serializeAws_restJson1ImportDocumentCommand
73
89
  */
74
90
  export declare const se_ImportDocumentCommand: (input: ImportDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
+ /**
92
+ * serializeAws_restJson1ListCategoriesCommand
93
+ */
94
+ export declare const se_ListCategoriesCommand: (input: ListCategoriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
95
  /**
76
96
  * serializeAws_restJson1ListLibraryItemsCommand
77
97
  */
@@ -128,6 +148,18 @@ export declare const de_AssociateLibraryItemReviewCommand: (output: __HttpRespon
128
148
  * deserializeAws_restJson1AssociateQAppWithUserCommand
129
149
  */
130
150
  export declare const de_AssociateQAppWithUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateQAppWithUserCommandOutput>;
151
+ /**
152
+ * deserializeAws_restJson1BatchCreateCategoryCommand
153
+ */
154
+ export declare const de_BatchCreateCategoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchCreateCategoryCommandOutput>;
155
+ /**
156
+ * deserializeAws_restJson1BatchDeleteCategoryCommand
157
+ */
158
+ export declare const de_BatchDeleteCategoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDeleteCategoryCommandOutput>;
159
+ /**
160
+ * deserializeAws_restJson1BatchUpdateCategoryCommand
161
+ */
162
+ export declare const de_BatchUpdateCategoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateCategoryCommandOutput>;
131
163
  /**
132
164
  * deserializeAws_restJson1CreateLibraryItemCommand
133
165
  */
@@ -168,6 +200,10 @@ export declare const de_GetQAppSessionCommand: (output: __HttpResponse, context:
168
200
  * deserializeAws_restJson1ImportDocumentCommand
169
201
  */
170
202
  export declare const de_ImportDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportDocumentCommandOutput>;
203
+ /**
204
+ * deserializeAws_restJson1ListCategoriesCommand
205
+ */
206
+ export declare const de_ListCategoriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCategoriesCommandOutput>;
171
207
  /**
172
208
  * deserializeAws_restJson1ListLibraryItemsCommand
173
209
  */
@@ -7,6 +7,18 @@ import {
7
7
  AssociateQAppWithUserCommandInput,
8
8
  AssociateQAppWithUserCommandOutput,
9
9
  } from "./commands/AssociateQAppWithUserCommand";
10
+ import {
11
+ BatchCreateCategoryCommandInput,
12
+ BatchCreateCategoryCommandOutput,
13
+ } from "./commands/BatchCreateCategoryCommand";
14
+ import {
15
+ BatchDeleteCategoryCommandInput,
16
+ BatchDeleteCategoryCommandOutput,
17
+ } from "./commands/BatchDeleteCategoryCommand";
18
+ import {
19
+ BatchUpdateCategoryCommandInput,
20
+ BatchUpdateCategoryCommandOutput,
21
+ } from "./commands/BatchUpdateCategoryCommand";
10
22
  import {
11
23
  CreateLibraryItemCommandInput,
12
24
  CreateLibraryItemCommandOutput,
@@ -47,6 +59,10 @@ import {
47
59
  ImportDocumentCommandInput,
48
60
  ImportDocumentCommandOutput,
49
61
  } from "./commands/ImportDocumentCommand";
62
+ import {
63
+ ListCategoriesCommandInput,
64
+ ListCategoriesCommandOutput,
65
+ } from "./commands/ListCategoriesCommand";
50
66
  import {
51
67
  ListLibraryItemsCommandInput,
52
68
  ListLibraryItemsCommandOutput,
@@ -123,6 +139,45 @@ export interface QApps {
123
139
  options: __HttpHandlerOptions,
124
140
  cb: (err: any, data?: AssociateQAppWithUserCommandOutput) => void
125
141
  ): void;
142
+ batchCreateCategory(
143
+ args: BatchCreateCategoryCommandInput,
144
+ options?: __HttpHandlerOptions
145
+ ): Promise<BatchCreateCategoryCommandOutput>;
146
+ batchCreateCategory(
147
+ args: BatchCreateCategoryCommandInput,
148
+ cb: (err: any, data?: BatchCreateCategoryCommandOutput) => void
149
+ ): void;
150
+ batchCreateCategory(
151
+ args: BatchCreateCategoryCommandInput,
152
+ options: __HttpHandlerOptions,
153
+ cb: (err: any, data?: BatchCreateCategoryCommandOutput) => void
154
+ ): void;
155
+ batchDeleteCategory(
156
+ args: BatchDeleteCategoryCommandInput,
157
+ options?: __HttpHandlerOptions
158
+ ): Promise<BatchDeleteCategoryCommandOutput>;
159
+ batchDeleteCategory(
160
+ args: BatchDeleteCategoryCommandInput,
161
+ cb: (err: any, data?: BatchDeleteCategoryCommandOutput) => void
162
+ ): void;
163
+ batchDeleteCategory(
164
+ args: BatchDeleteCategoryCommandInput,
165
+ options: __HttpHandlerOptions,
166
+ cb: (err: any, data?: BatchDeleteCategoryCommandOutput) => void
167
+ ): void;
168
+ batchUpdateCategory(
169
+ args: BatchUpdateCategoryCommandInput,
170
+ options?: __HttpHandlerOptions
171
+ ): Promise<BatchUpdateCategoryCommandOutput>;
172
+ batchUpdateCategory(
173
+ args: BatchUpdateCategoryCommandInput,
174
+ cb: (err: any, data?: BatchUpdateCategoryCommandOutput) => void
175
+ ): void;
176
+ batchUpdateCategory(
177
+ args: BatchUpdateCategoryCommandInput,
178
+ options: __HttpHandlerOptions,
179
+ cb: (err: any, data?: BatchUpdateCategoryCommandOutput) => void
180
+ ): void;
126
181
  createLibraryItem(
127
182
  args: CreateLibraryItemCommandInput,
128
183
  options?: __HttpHandlerOptions
@@ -253,6 +308,19 @@ export interface QApps {
253
308
  options: __HttpHandlerOptions,
254
309
  cb: (err: any, data?: ImportDocumentCommandOutput) => void
255
310
  ): void;
311
+ listCategories(
312
+ args: ListCategoriesCommandInput,
313
+ options?: __HttpHandlerOptions
314
+ ): Promise<ListCategoriesCommandOutput>;
315
+ listCategories(
316
+ args: ListCategoriesCommandInput,
317
+ cb: (err: any, data?: ListCategoriesCommandOutput) => void
318
+ ): void;
319
+ listCategories(
320
+ args: ListCategoriesCommandInput,
321
+ options: __HttpHandlerOptions,
322
+ cb: (err: any, data?: ListCategoriesCommandOutput) => void
323
+ ): void;
256
324
  listLibraryItems(
257
325
  args: ListLibraryItemsCommandInput,
258
326
  options?: __HttpHandlerOptions
@@ -53,6 +53,18 @@ import {
53
53
  AssociateQAppWithUserCommandInput,
54
54
  AssociateQAppWithUserCommandOutput,
55
55
  } from "./commands/AssociateQAppWithUserCommand";
56
+ import {
57
+ BatchCreateCategoryCommandInput,
58
+ BatchCreateCategoryCommandOutput,
59
+ } from "./commands/BatchCreateCategoryCommand";
60
+ import {
61
+ BatchDeleteCategoryCommandInput,
62
+ BatchDeleteCategoryCommandOutput,
63
+ } from "./commands/BatchDeleteCategoryCommand";
64
+ import {
65
+ BatchUpdateCategoryCommandInput,
66
+ BatchUpdateCategoryCommandOutput,
67
+ } from "./commands/BatchUpdateCategoryCommand";
56
68
  import {
57
69
  CreateLibraryItemCommandInput,
58
70
  CreateLibraryItemCommandOutput,
@@ -93,6 +105,10 @@ import {
93
105
  ImportDocumentCommandInput,
94
106
  ImportDocumentCommandOutput,
95
107
  } from "./commands/ImportDocumentCommand";
108
+ import {
109
+ ListCategoriesCommandInput,
110
+ ListCategoriesCommandOutput,
111
+ } from "./commands/ListCategoriesCommand";
96
112
  import {
97
113
  ListLibraryItemsCommandInput,
98
114
  ListLibraryItemsCommandOutput,
@@ -151,6 +167,9 @@ export { __Client };
151
167
  export type ServiceInputTypes =
152
168
  | AssociateLibraryItemReviewCommandInput
153
169
  | AssociateQAppWithUserCommandInput
170
+ | BatchCreateCategoryCommandInput
171
+ | BatchDeleteCategoryCommandInput
172
+ | BatchUpdateCategoryCommandInput
154
173
  | CreateLibraryItemCommandInput
155
174
  | CreateQAppCommandInput
156
175
  | DeleteLibraryItemCommandInput
@@ -161,6 +180,7 @@ export type ServiceInputTypes =
161
180
  | GetQAppCommandInput
162
181
  | GetQAppSessionCommandInput
163
182
  | ImportDocumentCommandInput
183
+ | ListCategoriesCommandInput
164
184
  | ListLibraryItemsCommandInput
165
185
  | ListQAppsCommandInput
166
186
  | ListTagsForResourceCommandInput
@@ -176,6 +196,9 @@ export type ServiceInputTypes =
176
196
  export type ServiceOutputTypes =
177
197
  | AssociateLibraryItemReviewCommandOutput
178
198
  | AssociateQAppWithUserCommandOutput
199
+ | BatchCreateCategoryCommandOutput
200
+ | BatchDeleteCategoryCommandOutput
201
+ | BatchUpdateCategoryCommandOutput
179
202
  | CreateLibraryItemCommandOutput
180
203
  | CreateQAppCommandOutput
181
204
  | DeleteLibraryItemCommandOutput
@@ -186,6 +209,7 @@ export type ServiceOutputTypes =
186
209
  | GetQAppCommandOutput
187
210
  | GetQAppSessionCommandOutput
188
211
  | ImportDocumentCommandOutput
212
+ | ListCategoriesCommandOutput
189
213
  | ListLibraryItemsCommandOutput
190
214
  | ListQAppsCommandOutput
191
215
  | ListTagsForResourceCommandOutput
@@ -0,0 +1,46 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BatchCreateCategoryInput } from "../models/models_0";
4
+ import {
5
+ QAppsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../QAppsClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface BatchCreateCategoryCommandInput
12
+ extends BatchCreateCategoryInput {}
13
+ export interface BatchCreateCategoryCommandOutput extends __MetadataBearer {}
14
+ declare const BatchCreateCategoryCommand_base: {
15
+ new (
16
+ input: BatchCreateCategoryCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ BatchCreateCategoryCommandInput,
19
+ BatchCreateCategoryCommandOutput,
20
+ QAppsClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ __0_0: BatchCreateCategoryCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ BatchCreateCategoryCommandInput,
28
+ BatchCreateCategoryCommandOutput,
29
+ QAppsClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class BatchCreateCategoryCommand extends BatchCreateCategoryCommand_base {
36
+ protected static __types: {
37
+ api: {
38
+ input: BatchCreateCategoryInput;
39
+ output: {};
40
+ };
41
+ sdk: {
42
+ input: BatchCreateCategoryCommandInput;
43
+ output: BatchCreateCategoryCommandOutput;
44
+ };
45
+ };
46
+ }
@@ -0,0 +1,46 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BatchDeleteCategoryInput } from "../models/models_0";
4
+ import {
5
+ QAppsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../QAppsClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface BatchDeleteCategoryCommandInput
12
+ extends BatchDeleteCategoryInput {}
13
+ export interface BatchDeleteCategoryCommandOutput extends __MetadataBearer {}
14
+ declare const BatchDeleteCategoryCommand_base: {
15
+ new (
16
+ input: BatchDeleteCategoryCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ BatchDeleteCategoryCommandInput,
19
+ BatchDeleteCategoryCommandOutput,
20
+ QAppsClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ __0_0: BatchDeleteCategoryCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ BatchDeleteCategoryCommandInput,
28
+ BatchDeleteCategoryCommandOutput,
29
+ QAppsClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class BatchDeleteCategoryCommand extends BatchDeleteCategoryCommand_base {
36
+ protected static __types: {
37
+ api: {
38
+ input: BatchDeleteCategoryInput;
39
+ output: {};
40
+ };
41
+ sdk: {
42
+ input: BatchDeleteCategoryCommandInput;
43
+ output: BatchDeleteCategoryCommandOutput;
44
+ };
45
+ };
46
+ }
@@ -0,0 +1,46 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BatchUpdateCategoryInput } from "../models/models_0";
4
+ import {
5
+ QAppsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../QAppsClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface BatchUpdateCategoryCommandInput
12
+ extends BatchUpdateCategoryInput {}
13
+ export interface BatchUpdateCategoryCommandOutput extends __MetadataBearer {}
14
+ declare const BatchUpdateCategoryCommand_base: {
15
+ new (
16
+ input: BatchUpdateCategoryCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ BatchUpdateCategoryCommandInput,
19
+ BatchUpdateCategoryCommandOutput,
20
+ QAppsClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ __0_0: BatchUpdateCategoryCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ BatchUpdateCategoryCommandInput,
28
+ BatchUpdateCategoryCommandOutput,
29
+ QAppsClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class BatchUpdateCategoryCommand extends BatchUpdateCategoryCommand_base {
36
+ protected static __types: {
37
+ api: {
38
+ input: BatchUpdateCategoryInput;
39
+ output: {};
40
+ };
41
+ sdk: {
42
+ input: BatchUpdateCategoryCommandInput;
43
+ output: BatchUpdateCategoryCommandOutput;
44
+ };
45
+ };
46
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListCategoriesInput, ListCategoriesOutput } from "../models/models_0";
4
+ import {
5
+ QAppsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../QAppsClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ListCategoriesCommandInput extends ListCategoriesInput {}
12
+ export interface ListCategoriesCommandOutput
13
+ extends ListCategoriesOutput,
14
+ __MetadataBearer {}
15
+ declare const ListCategoriesCommand_base: {
16
+ new (
17
+ input: ListCategoriesCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ListCategoriesCommandInput,
20
+ ListCategoriesCommandOutput,
21
+ QAppsClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: ListCategoriesCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ListCategoriesCommandInput,
29
+ ListCategoriesCommandOutput,
30
+ QAppsClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ListCategoriesCommand extends ListCategoriesCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ListCategoriesInput;
40
+ output: ListCategoriesOutput;
41
+ };
42
+ sdk: {
43
+ input: ListCategoriesCommandInput;
44
+ output: ListCategoriesCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -1,5 +1,8 @@
1
1
  export * from "./AssociateLibraryItemReviewCommand";
2
2
  export * from "./AssociateQAppWithUserCommand";
3
+ export * from "./BatchCreateCategoryCommand";
4
+ export * from "./BatchDeleteCategoryCommand";
5
+ export * from "./BatchUpdateCategoryCommand";
3
6
  export * from "./CreateLibraryItemCommand";
4
7
  export * from "./CreateQAppCommand";
5
8
  export * from "./DeleteLibraryItemCommand";
@@ -10,6 +13,7 @@ export * from "./GetLibraryItemCommand";
10
13
  export * from "./GetQAppCommand";
11
14
  export * from "./GetQAppSessionCommand";
12
15
  export * from "./ImportDocumentCommand";
16
+ export * from "./ListCategoriesCommand";
13
17
  export * from "./ListLibraryItemsCommand";
14
18
  export * from "./ListQAppsCommand";
15
19
  export * from "./ListTagsForResourceCommand";
@@ -216,6 +216,28 @@ export interface AssociateQAppWithUserInput {
216
216
  instanceId: string | undefined;
217
217
  appId: string | undefined;
218
218
  }
219
+ export interface BatchCreateCategoryInputCategory {
220
+ id?: string;
221
+ title: string | undefined;
222
+ color?: string;
223
+ }
224
+ export interface BatchCreateCategoryInput {
225
+ instanceId: string | undefined;
226
+ categories: BatchCreateCategoryInputCategory[] | undefined;
227
+ }
228
+ export interface BatchDeleteCategoryInput {
229
+ instanceId: string | undefined;
230
+ categories: string[] | undefined;
231
+ }
232
+ export interface CategoryInput {
233
+ id: string | undefined;
234
+ title: string | undefined;
235
+ color?: string;
236
+ }
237
+ export interface BatchUpdateCategoryInput {
238
+ instanceId: string | undefined;
239
+ categories: CategoryInput[] | undefined;
240
+ }
219
241
  export declare const ExecutionStatus: {
220
242
  readonly COMPLETED: "COMPLETED";
221
243
  readonly IN_PROGRESS: "IN_PROGRESS";
@@ -234,6 +256,8 @@ export interface CardValue {
234
256
  export interface Category {
235
257
  id: string | undefined;
236
258
  title: string | undefined;
259
+ color?: string;
260
+ appCount?: number;
237
261
  }
238
262
  export declare class ContentTooLargeException extends __BaseException {
239
263
  readonly name: "ContentTooLargeException";
@@ -371,6 +395,12 @@ export declare const LibraryItemStatus: {
371
395
  };
372
396
  export type LibraryItemStatus =
373
397
  (typeof LibraryItemStatus)[keyof typeof LibraryItemStatus];
398
+ export interface ListCategoriesInput {
399
+ instanceId: string | undefined;
400
+ }
401
+ export interface ListCategoriesOutput {
402
+ categories?: Category[];
403
+ }
374
404
  export interface ListLibraryItemsInput {
375
405
  instanceId: string | undefined;
376
406
  limit?: number;