@aws-sdk/client-qconnect 3.600.0 → 3.609.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 (36) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +242 -0
  3. package/dist-es/QConnect.js +8 -0
  4. package/dist-es/commands/CreateContentAssociationCommand.js +24 -0
  5. package/dist-es/commands/DeleteContentAssociationCommand.js +24 -0
  6. package/dist-es/commands/GetContentAssociationCommand.js +24 -0
  7. package/dist-es/commands/ListContentAssociationsCommand.js +24 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +24 -0
  10. package/dist-es/pagination/ListContentAssociationsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_restJson1.js +124 -1
  13. package/dist-types/QConnect.d.ts +28 -0
  14. package/dist-types/QConnectClient.d.ts +6 -2
  15. package/dist-types/commands/CreateContentAssociationCommand.d.ts +128 -0
  16. package/dist-types/commands/DeleteContentAssociationCommand.d.ts +72 -0
  17. package/dist-types/commands/GetContentAssociationCommand.d.ts +90 -0
  18. package/dist-types/commands/ListContentAssociationsCommand.d.ts +94 -0
  19. package/dist-types/commands/UpdateSessionCommand.d.ts +3 -3
  20. package/dist-types/commands/index.d.ts +4 -0
  21. package/dist-types/models/models_0.d.ts +322 -7
  22. package/dist-types/pagination/ListContentAssociationsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  25. package/dist-types/ts3.4/QConnect.d.ts +68 -0
  26. package/dist-types/ts3.4/QConnectClient.d.ts +24 -0
  27. package/dist-types/ts3.4/commands/CreateContentAssociationCommand.d.ts +40 -0
  28. package/dist-types/ts3.4/commands/DeleteContentAssociationCommand.d.ts +40 -0
  29. package/dist-types/ts3.4/commands/GetContentAssociationCommand.d.ts +40 -0
  30. package/dist-types/ts3.4/commands/ListContentAssociationsCommand.d.ts +40 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +93 -0
  33. package/dist-types/ts3.4/pagination/ListContentAssociationsPaginator.d.ts +11 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  36. package/package.json +35 -35
@@ -2,18 +2,21 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput } from "../commands/CreateAssistantAssociationCommand";
4
4
  import { CreateAssistantCommandInput, CreateAssistantCommandOutput } from "../commands/CreateAssistantCommand";
5
+ import { CreateContentAssociationCommandInput, CreateContentAssociationCommandOutput } from "../commands/CreateContentAssociationCommand";
5
6
  import { CreateContentCommandInput, CreateContentCommandOutput } from "../commands/CreateContentCommand";
6
7
  import { CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput } from "../commands/CreateKnowledgeBaseCommand";
7
8
  import { CreateQuickResponseCommandInput, CreateQuickResponseCommandOutput } from "../commands/CreateQuickResponseCommand";
8
9
  import { CreateSessionCommandInput, CreateSessionCommandOutput } from "../commands/CreateSessionCommand";
9
10
  import { DeleteAssistantAssociationCommandInput, DeleteAssistantAssociationCommandOutput } from "../commands/DeleteAssistantAssociationCommand";
10
11
  import { DeleteAssistantCommandInput, DeleteAssistantCommandOutput } from "../commands/DeleteAssistantCommand";
12
+ import { DeleteContentAssociationCommandInput, DeleteContentAssociationCommandOutput } from "../commands/DeleteContentAssociationCommand";
11
13
  import { DeleteContentCommandInput, DeleteContentCommandOutput } from "../commands/DeleteContentCommand";
12
14
  import { DeleteImportJobCommandInput, DeleteImportJobCommandOutput } from "../commands/DeleteImportJobCommand";
13
15
  import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "../commands/DeleteKnowledgeBaseCommand";
14
16
  import { DeleteQuickResponseCommandInput, DeleteQuickResponseCommandOutput } from "../commands/DeleteQuickResponseCommand";
15
17
  import { GetAssistantAssociationCommandInput, GetAssistantAssociationCommandOutput } from "../commands/GetAssistantAssociationCommand";
16
18
  import { GetAssistantCommandInput, GetAssistantCommandOutput } from "../commands/GetAssistantCommand";
19
+ import { GetContentAssociationCommandInput, GetContentAssociationCommandOutput } from "../commands/GetContentAssociationCommand";
17
20
  import { GetContentCommandInput, GetContentCommandOutput } from "../commands/GetContentCommand";
18
21
  import { GetContentSummaryCommandInput, GetContentSummaryCommandOutput } from "../commands/GetContentSummaryCommand";
19
22
  import { GetImportJobCommandInput, GetImportJobCommandOutput } from "../commands/GetImportJobCommand";
@@ -23,6 +26,7 @@ import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from
23
26
  import { GetSessionCommandInput, GetSessionCommandOutput } from "../commands/GetSessionCommand";
24
27
  import { ListAssistantAssociationsCommandInput, ListAssistantAssociationsCommandOutput } from "../commands/ListAssistantAssociationsCommand";
25
28
  import { ListAssistantsCommandInput, ListAssistantsCommandOutput } from "../commands/ListAssistantsCommand";
29
+ import { ListContentAssociationsCommandInput, ListContentAssociationsCommandOutput } from "../commands/ListContentAssociationsCommand";
26
30
  import { ListContentsCommandInput, ListContentsCommandOutput } from "../commands/ListContentsCommand";
27
31
  import { ListImportJobsCommandInput, ListImportJobsCommandOutput } from "../commands/ListImportJobsCommand";
28
32
  import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "../commands/ListKnowledgeBasesCommand";
@@ -55,6 +59,10 @@ export declare const se_CreateAssistantAssociationCommand: (input: CreateAssista
55
59
  * serializeAws_restJson1CreateContentCommand
56
60
  */
57
61
  export declare const se_CreateContentCommand: (input: CreateContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
+ /**
63
+ * serializeAws_restJson1CreateContentAssociationCommand
64
+ */
65
+ export declare const se_CreateContentAssociationCommand: (input: CreateContentAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
66
  /**
59
67
  * serializeAws_restJson1CreateKnowledgeBaseCommand
60
68
  */
@@ -79,6 +87,10 @@ export declare const se_DeleteAssistantAssociationCommand: (input: DeleteAssista
79
87
  * serializeAws_restJson1DeleteContentCommand
80
88
  */
81
89
  export declare const se_DeleteContentCommand: (input: DeleteContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
+ /**
91
+ * serializeAws_restJson1DeleteContentAssociationCommand
92
+ */
93
+ export declare const se_DeleteContentAssociationCommand: (input: DeleteContentAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
94
  /**
83
95
  * serializeAws_restJson1DeleteImportJobCommand
84
96
  */
@@ -103,6 +115,10 @@ export declare const se_GetAssistantAssociationCommand: (input: GetAssistantAsso
103
115
  * serializeAws_restJson1GetContentCommand
104
116
  */
105
117
  export declare const se_GetContentCommand: (input: GetContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
+ /**
119
+ * serializeAws_restJson1GetContentAssociationCommand
120
+ */
121
+ export declare const se_GetContentAssociationCommand: (input: GetContentAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
106
122
  /**
107
123
  * serializeAws_restJson1GetContentSummaryCommand
108
124
  */
@@ -135,6 +151,10 @@ export declare const se_ListAssistantAssociationsCommand: (input: ListAssistantA
135
151
  * serializeAws_restJson1ListAssistantsCommand
136
152
  */
137
153
  export declare const se_ListAssistantsCommand: (input: ListAssistantsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
154
+ /**
155
+ * serializeAws_restJson1ListContentAssociationsCommand
156
+ */
157
+ export declare const se_ListContentAssociationsCommand: (input: ListContentAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
138
158
  /**
139
159
  * serializeAws_restJson1ListContentsCommand
140
160
  */
@@ -227,6 +247,10 @@ export declare const de_CreateAssistantAssociationCommand: (output: __HttpRespon
227
247
  * deserializeAws_restJson1CreateContentCommand
228
248
  */
229
249
  export declare const de_CreateContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateContentCommandOutput>;
250
+ /**
251
+ * deserializeAws_restJson1CreateContentAssociationCommand
252
+ */
253
+ export declare const de_CreateContentAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateContentAssociationCommandOutput>;
230
254
  /**
231
255
  * deserializeAws_restJson1CreateKnowledgeBaseCommand
232
256
  */
@@ -251,6 +275,10 @@ export declare const de_DeleteAssistantAssociationCommand: (output: __HttpRespon
251
275
  * deserializeAws_restJson1DeleteContentCommand
252
276
  */
253
277
  export declare const de_DeleteContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteContentCommandOutput>;
278
+ /**
279
+ * deserializeAws_restJson1DeleteContentAssociationCommand
280
+ */
281
+ export declare const de_DeleteContentAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteContentAssociationCommandOutput>;
254
282
  /**
255
283
  * deserializeAws_restJson1DeleteImportJobCommand
256
284
  */
@@ -275,6 +303,10 @@ export declare const de_GetAssistantAssociationCommand: (output: __HttpResponse,
275
303
  * deserializeAws_restJson1GetContentCommand
276
304
  */
277
305
  export declare const de_GetContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContentCommandOutput>;
306
+ /**
307
+ * deserializeAws_restJson1GetContentAssociationCommand
308
+ */
309
+ export declare const de_GetContentAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContentAssociationCommandOutput>;
278
310
  /**
279
311
  * deserializeAws_restJson1GetContentSummaryCommand
280
312
  */
@@ -307,6 +339,10 @@ export declare const de_ListAssistantAssociationsCommand: (output: __HttpRespons
307
339
  * deserializeAws_restJson1ListAssistantsCommand
308
340
  */
309
341
  export declare const de_ListAssistantsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssistantsCommandOutput>;
342
+ /**
343
+ * deserializeAws_restJson1ListContentAssociationsCommand
344
+ */
345
+ export declare const de_ListContentAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContentAssociationsCommandOutput>;
310
346
  /**
311
347
  * deserializeAws_restJson1ListContentsCommand
312
348
  */
@@ -7,6 +7,10 @@ import {
7
7
  CreateAssistantCommandInput,
8
8
  CreateAssistantCommandOutput,
9
9
  } from "./commands/CreateAssistantCommand";
10
+ import {
11
+ CreateContentAssociationCommandInput,
12
+ CreateContentAssociationCommandOutput,
13
+ } from "./commands/CreateContentAssociationCommand";
10
14
  import {
11
15
  CreateContentCommandInput,
12
16
  CreateContentCommandOutput,
@@ -31,6 +35,10 @@ import {
31
35
  DeleteAssistantCommandInput,
32
36
  DeleteAssistantCommandOutput,
33
37
  } from "./commands/DeleteAssistantCommand";
38
+ import {
39
+ DeleteContentAssociationCommandInput,
40
+ DeleteContentAssociationCommandOutput,
41
+ } from "./commands/DeleteContentAssociationCommand";
34
42
  import {
35
43
  DeleteContentCommandInput,
36
44
  DeleteContentCommandOutput,
@@ -55,6 +63,10 @@ import {
55
63
  GetAssistantCommandInput,
56
64
  GetAssistantCommandOutput,
57
65
  } from "./commands/GetAssistantCommand";
66
+ import {
67
+ GetContentAssociationCommandInput,
68
+ GetContentAssociationCommandOutput,
69
+ } from "./commands/GetContentAssociationCommand";
58
70
  import {
59
71
  GetContentCommandInput,
60
72
  GetContentCommandOutput,
@@ -91,6 +103,10 @@ import {
91
103
  ListAssistantsCommandInput,
92
104
  ListAssistantsCommandOutput,
93
105
  } from "./commands/ListAssistantsCommand";
106
+ import {
107
+ ListContentAssociationsCommandInput,
108
+ ListContentAssociationsCommandOutput,
109
+ } from "./commands/ListContentAssociationsCommand";
94
110
  import {
95
111
  ListContentsCommandInput,
96
112
  ListContentsCommandOutput,
@@ -212,6 +228,19 @@ export interface QConnect {
212
228
  options: __HttpHandlerOptions,
213
229
  cb: (err: any, data?: CreateContentCommandOutput) => void
214
230
  ): void;
231
+ createContentAssociation(
232
+ args: CreateContentAssociationCommandInput,
233
+ options?: __HttpHandlerOptions
234
+ ): Promise<CreateContentAssociationCommandOutput>;
235
+ createContentAssociation(
236
+ args: CreateContentAssociationCommandInput,
237
+ cb: (err: any, data?: CreateContentAssociationCommandOutput) => void
238
+ ): void;
239
+ createContentAssociation(
240
+ args: CreateContentAssociationCommandInput,
241
+ options: __HttpHandlerOptions,
242
+ cb: (err: any, data?: CreateContentAssociationCommandOutput) => void
243
+ ): void;
215
244
  createKnowledgeBase(
216
245
  args: CreateKnowledgeBaseCommandInput,
217
246
  options?: __HttpHandlerOptions
@@ -290,6 +319,19 @@ export interface QConnect {
290
319
  options: __HttpHandlerOptions,
291
320
  cb: (err: any, data?: DeleteContentCommandOutput) => void
292
321
  ): void;
322
+ deleteContentAssociation(
323
+ args: DeleteContentAssociationCommandInput,
324
+ options?: __HttpHandlerOptions
325
+ ): Promise<DeleteContentAssociationCommandOutput>;
326
+ deleteContentAssociation(
327
+ args: DeleteContentAssociationCommandInput,
328
+ cb: (err: any, data?: DeleteContentAssociationCommandOutput) => void
329
+ ): void;
330
+ deleteContentAssociation(
331
+ args: DeleteContentAssociationCommandInput,
332
+ options: __HttpHandlerOptions,
333
+ cb: (err: any, data?: DeleteContentAssociationCommandOutput) => void
334
+ ): void;
293
335
  deleteImportJob(
294
336
  args: DeleteImportJobCommandInput,
295
337
  options?: __HttpHandlerOptions
@@ -368,6 +410,19 @@ export interface QConnect {
368
410
  options: __HttpHandlerOptions,
369
411
  cb: (err: any, data?: GetContentCommandOutput) => void
370
412
  ): void;
413
+ getContentAssociation(
414
+ args: GetContentAssociationCommandInput,
415
+ options?: __HttpHandlerOptions
416
+ ): Promise<GetContentAssociationCommandOutput>;
417
+ getContentAssociation(
418
+ args: GetContentAssociationCommandInput,
419
+ cb: (err: any, data?: GetContentAssociationCommandOutput) => void
420
+ ): void;
421
+ getContentAssociation(
422
+ args: GetContentAssociationCommandInput,
423
+ options: __HttpHandlerOptions,
424
+ cb: (err: any, data?: GetContentAssociationCommandOutput) => void
425
+ ): void;
371
426
  getContentSummary(
372
427
  args: GetContentSummaryCommandInput,
373
428
  options?: __HttpHandlerOptions
@@ -473,6 +528,19 @@ export interface QConnect {
473
528
  options: __HttpHandlerOptions,
474
529
  cb: (err: any, data?: ListAssistantsCommandOutput) => void
475
530
  ): void;
531
+ listContentAssociations(
532
+ args: ListContentAssociationsCommandInput,
533
+ options?: __HttpHandlerOptions
534
+ ): Promise<ListContentAssociationsCommandOutput>;
535
+ listContentAssociations(
536
+ args: ListContentAssociationsCommandInput,
537
+ cb: (err: any, data?: ListContentAssociationsCommandOutput) => void
538
+ ): void;
539
+ listContentAssociations(
540
+ args: ListContentAssociationsCommandInput,
541
+ options: __HttpHandlerOptions,
542
+ cb: (err: any, data?: ListContentAssociationsCommandOutput) => void
543
+ ): void;
476
544
  listContents(
477
545
  args: ListContentsCommandInput,
478
546
  options?: __HttpHandlerOptions
@@ -53,6 +53,10 @@ import {
53
53
  CreateAssistantCommandInput,
54
54
  CreateAssistantCommandOutput,
55
55
  } from "./commands/CreateAssistantCommand";
56
+ import {
57
+ CreateContentAssociationCommandInput,
58
+ CreateContentAssociationCommandOutput,
59
+ } from "./commands/CreateContentAssociationCommand";
56
60
  import {
57
61
  CreateContentCommandInput,
58
62
  CreateContentCommandOutput,
@@ -77,6 +81,10 @@ import {
77
81
  DeleteAssistantCommandInput,
78
82
  DeleteAssistantCommandOutput,
79
83
  } from "./commands/DeleteAssistantCommand";
84
+ import {
85
+ DeleteContentAssociationCommandInput,
86
+ DeleteContentAssociationCommandOutput,
87
+ } from "./commands/DeleteContentAssociationCommand";
80
88
  import {
81
89
  DeleteContentCommandInput,
82
90
  DeleteContentCommandOutput,
@@ -101,6 +109,10 @@ import {
101
109
  GetAssistantCommandInput,
102
110
  GetAssistantCommandOutput,
103
111
  } from "./commands/GetAssistantCommand";
112
+ import {
113
+ GetContentAssociationCommandInput,
114
+ GetContentAssociationCommandOutput,
115
+ } from "./commands/GetContentAssociationCommand";
104
116
  import {
105
117
  GetContentCommandInput,
106
118
  GetContentCommandOutput,
@@ -137,6 +149,10 @@ import {
137
149
  ListAssistantsCommandInput,
138
150
  ListAssistantsCommandOutput,
139
151
  } from "./commands/ListAssistantsCommand";
152
+ import {
153
+ ListContentAssociationsCommandInput,
154
+ ListContentAssociationsCommandOutput,
155
+ } from "./commands/ListContentAssociationsCommand";
140
156
  import {
141
157
  ListContentsCommandInput,
142
158
  ListContentsCommandOutput,
@@ -227,18 +243,21 @@ export { __Client };
227
243
  export type ServiceInputTypes =
228
244
  | CreateAssistantAssociationCommandInput
229
245
  | CreateAssistantCommandInput
246
+ | CreateContentAssociationCommandInput
230
247
  | CreateContentCommandInput
231
248
  | CreateKnowledgeBaseCommandInput
232
249
  | CreateQuickResponseCommandInput
233
250
  | CreateSessionCommandInput
234
251
  | DeleteAssistantAssociationCommandInput
235
252
  | DeleteAssistantCommandInput
253
+ | DeleteContentAssociationCommandInput
236
254
  | DeleteContentCommandInput
237
255
  | DeleteImportJobCommandInput
238
256
  | DeleteKnowledgeBaseCommandInput
239
257
  | DeleteQuickResponseCommandInput
240
258
  | GetAssistantAssociationCommandInput
241
259
  | GetAssistantCommandInput
260
+ | GetContentAssociationCommandInput
242
261
  | GetContentCommandInput
243
262
  | GetContentSummaryCommandInput
244
263
  | GetImportJobCommandInput
@@ -248,6 +267,7 @@ export type ServiceInputTypes =
248
267
  | GetSessionCommandInput
249
268
  | ListAssistantAssociationsCommandInput
250
269
  | ListAssistantsCommandInput
270
+ | ListContentAssociationsCommandInput
251
271
  | ListContentsCommandInput
252
272
  | ListImportJobsCommandInput
253
273
  | ListKnowledgeBasesCommandInput
@@ -271,18 +291,21 @@ export type ServiceInputTypes =
271
291
  export type ServiceOutputTypes =
272
292
  | CreateAssistantAssociationCommandOutput
273
293
  | CreateAssistantCommandOutput
294
+ | CreateContentAssociationCommandOutput
274
295
  | CreateContentCommandOutput
275
296
  | CreateKnowledgeBaseCommandOutput
276
297
  | CreateQuickResponseCommandOutput
277
298
  | CreateSessionCommandOutput
278
299
  | DeleteAssistantAssociationCommandOutput
279
300
  | DeleteAssistantCommandOutput
301
+ | DeleteContentAssociationCommandOutput
280
302
  | DeleteContentCommandOutput
281
303
  | DeleteImportJobCommandOutput
282
304
  | DeleteKnowledgeBaseCommandOutput
283
305
  | DeleteQuickResponseCommandOutput
284
306
  | GetAssistantAssociationCommandOutput
285
307
  | GetAssistantCommandOutput
308
+ | GetContentAssociationCommandOutput
286
309
  | GetContentCommandOutput
287
310
  | GetContentSummaryCommandOutput
288
311
  | GetImportJobCommandOutput
@@ -292,6 +315,7 @@ export type ServiceOutputTypes =
292
315
  | GetSessionCommandOutput
293
316
  | ListAssistantAssociationsCommandOutput
294
317
  | ListAssistantsCommandOutput
318
+ | ListContentAssociationsCommandOutput
295
319
  | ListContentsCommandOutput
296
320
  | ListImportJobsCommandOutput
297
321
  | ListKnowledgeBasesCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateContentAssociationRequest,
5
+ CreateContentAssociationResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateContentAssociationCommandInput
15
+ extends CreateContentAssociationRequest {}
16
+ export interface CreateContentAssociationCommandOutput
17
+ extends CreateContentAssociationResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateContentAssociationCommand_base: {
20
+ new (
21
+ input: CreateContentAssociationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateContentAssociationCommandInput,
24
+ CreateContentAssociationCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateContentAssociationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateContentAssociationCommandInput,
33
+ CreateContentAssociationCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateContentAssociationCommand extends CreateContentAssociationCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteContentAssociationRequest,
5
+ DeleteContentAssociationResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteContentAssociationCommandInput
15
+ extends DeleteContentAssociationRequest {}
16
+ export interface DeleteContentAssociationCommandOutput
17
+ extends DeleteContentAssociationResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteContentAssociationCommand_base: {
20
+ new (
21
+ input: DeleteContentAssociationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteContentAssociationCommandInput,
24
+ DeleteContentAssociationCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeleteContentAssociationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteContentAssociationCommandInput,
33
+ DeleteContentAssociationCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteContentAssociationCommand extends DeleteContentAssociationCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetContentAssociationRequest,
5
+ GetContentAssociationResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetContentAssociationCommandInput
15
+ extends GetContentAssociationRequest {}
16
+ export interface GetContentAssociationCommandOutput
17
+ extends GetContentAssociationResponse,
18
+ __MetadataBearer {}
19
+ declare const GetContentAssociationCommand_base: {
20
+ new (
21
+ input: GetContentAssociationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetContentAssociationCommandInput,
24
+ GetContentAssociationCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetContentAssociationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetContentAssociationCommandInput,
33
+ GetContentAssociationCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetContentAssociationCommand extends GetContentAssociationCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListContentAssociationsRequest,
5
+ ListContentAssociationsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ QConnectClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../QConnectClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListContentAssociationsCommandInput
15
+ extends ListContentAssociationsRequest {}
16
+ export interface ListContentAssociationsCommandOutput
17
+ extends ListContentAssociationsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListContentAssociationsCommand_base: {
20
+ new (
21
+ input: ListContentAssociationsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListContentAssociationsCommandInput,
24
+ ListContentAssociationsCommandOutput,
25
+ QConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListContentAssociationsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListContentAssociationsCommandInput,
33
+ ListContentAssociationsCommandOutput,
34
+ QConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListContentAssociationsCommand extends ListContentAssociationsCommand_base {}
@@ -1,17 +1,20 @@
1
1
  export * from "./CreateAssistantAssociationCommand";
2
2
  export * from "./CreateAssistantCommand";
3
+ export * from "./CreateContentAssociationCommand";
3
4
  export * from "./CreateContentCommand";
4
5
  export * from "./CreateKnowledgeBaseCommand";
5
6
  export * from "./CreateQuickResponseCommand";
6
7
  export * from "./CreateSessionCommand";
7
8
  export * from "./DeleteAssistantAssociationCommand";
8
9
  export * from "./DeleteAssistantCommand";
10
+ export * from "./DeleteContentAssociationCommand";
9
11
  export * from "./DeleteContentCommand";
10
12
  export * from "./DeleteImportJobCommand";
11
13
  export * from "./DeleteKnowledgeBaseCommand";
12
14
  export * from "./DeleteQuickResponseCommand";
13
15
  export * from "./GetAssistantAssociationCommand";
14
16
  export * from "./GetAssistantCommand";
17
+ export * from "./GetContentAssociationCommand";
15
18
  export * from "./GetContentCommand";
16
19
  export * from "./GetContentSummaryCommand";
17
20
  export * from "./GetImportJobCommand";
@@ -21,6 +24,7 @@ export * from "./GetRecommendationsCommand";
21
24
  export * from "./GetSessionCommand";
22
25
  export * from "./ListAssistantAssociationsCommand";
23
26
  export * from "./ListAssistantsCommand";
27
+ export * from "./ListContentAssociationsCommand";
24
28
  export * from "./ListContentsCommand";
25
29
  export * from "./ListImportJobsCommand";
26
30
  export * from "./ListKnowledgeBasesCommand";
@@ -7,6 +7,9 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
+ export interface AmazonConnectGuideAssociationData {
11
+ flowId?: string;
12
+ }
10
13
  export interface TagCondition {
11
14
  key: string | undefined;
12
15
  value?: string;
@@ -628,6 +631,96 @@ export declare namespace Configuration {
628
631
  }
629
632
  const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
630
633
  }
634
+ export type ContentAssociationContents =
635
+ | ContentAssociationContents.AmazonConnectGuideAssociationMember
636
+ | ContentAssociationContents.$UnknownMember;
637
+ export declare namespace ContentAssociationContents {
638
+ interface AmazonConnectGuideAssociationMember {
639
+ amazonConnectGuideAssociation: AmazonConnectGuideAssociationData;
640
+ $unknown?: never;
641
+ }
642
+ interface $UnknownMember {
643
+ amazonConnectGuideAssociation?: never;
644
+ $unknown: [string, any];
645
+ }
646
+ interface Visitor<T> {
647
+ amazonConnectGuideAssociation: (
648
+ value: AmazonConnectGuideAssociationData
649
+ ) => T;
650
+ _: (name: string, value: any) => T;
651
+ }
652
+ const visit: <T>(value: ContentAssociationContents, visitor: Visitor<T>) => T;
653
+ }
654
+ export declare const ContentAssociationType: {
655
+ readonly AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE";
656
+ };
657
+ export type ContentAssociationType =
658
+ (typeof ContentAssociationType)[keyof typeof ContentAssociationType];
659
+ export interface CreateContentAssociationRequest {
660
+ clientToken?: string;
661
+ knowledgeBaseId: string | undefined;
662
+ contentId: string | undefined;
663
+ associationType: ContentAssociationType | undefined;
664
+ association: ContentAssociationContents | undefined;
665
+ tags?: Record<string, string>;
666
+ }
667
+ export interface ContentAssociationData {
668
+ knowledgeBaseId: string | undefined;
669
+ knowledgeBaseArn: string | undefined;
670
+ contentId: string | undefined;
671
+ contentArn: string | undefined;
672
+ contentAssociationId: string | undefined;
673
+ contentAssociationArn: string | undefined;
674
+ associationType: ContentAssociationType | undefined;
675
+ associationData: ContentAssociationContents | undefined;
676
+ tags?: Record<string, string>;
677
+ }
678
+ export interface CreateContentAssociationResponse {
679
+ contentAssociation?: ContentAssociationData;
680
+ }
681
+ export declare class ThrottlingException extends __BaseException {
682
+ readonly name: "ThrottlingException";
683
+ readonly $fault: "client";
684
+ $retryable: {};
685
+ constructor(
686
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
687
+ );
688
+ }
689
+ export interface DeleteContentAssociationRequest {
690
+ knowledgeBaseId: string | undefined;
691
+ contentId: string | undefined;
692
+ contentAssociationId: string | undefined;
693
+ }
694
+ export interface DeleteContentAssociationResponse {}
695
+ export interface GetContentAssociationRequest {
696
+ knowledgeBaseId: string | undefined;
697
+ contentId: string | undefined;
698
+ contentAssociationId: string | undefined;
699
+ }
700
+ export interface GetContentAssociationResponse {
701
+ contentAssociation?: ContentAssociationData;
702
+ }
703
+ export interface ListContentAssociationsRequest {
704
+ nextToken?: string;
705
+ maxResults?: number;
706
+ knowledgeBaseId: string | undefined;
707
+ contentId: string | undefined;
708
+ }
709
+ export interface ContentAssociationSummary {
710
+ knowledgeBaseId: string | undefined;
711
+ knowledgeBaseArn: string | undefined;
712
+ contentId: string | undefined;
713
+ contentArn: string | undefined;
714
+ contentAssociationId: string | undefined;
715
+ contentAssociationArn: string | undefined;
716
+ associationType: ContentAssociationType | undefined;
717
+ associationData: ContentAssociationContents | undefined;
718
+ tags?: Record<string, string>;
719
+ }
720
+ export interface ListContentAssociationsResponse {
721
+ contentAssociationSummaries: ContentAssociationSummary[] | undefined;
722
+ nextToken?: string;
723
+ }
631
724
  export interface CreateContentRequest {
632
725
  knowledgeBaseId: string | undefined;
633
726
  name: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListContentAssociationsCommandInput,
4
+ ListContentAssociationsCommandOutput,
5
+ } from "../commands/ListContentAssociationsCommand";
6
+ import { QConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListContentAssociations: (
8
+ config: QConnectPaginationConfiguration,
9
+ input: ListContentAssociationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListContentAssociationsCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAssistantAssociationsPaginator";
3
3
  export * from "./ListAssistantsPaginator";
4
+ export * from "./ListContentAssociationsPaginator";
4
5
  export * from "./ListContentsPaginator";
5
6
  export * from "./ListImportJobsPaginator";
6
7
  export * from "./ListKnowledgeBasesPaginator";