@aws-sdk/client-bedrock-agent 3.701.0 → 3.703.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist-cjs/index.js +423 -17
- package/dist-es/BedrockAgent.js +8 -0
- package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +23 -0
- package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +80 -14
- package/dist-es/models/models_1.js +22 -0
- package/dist-es/pagination/ListKnowledgeBaseDocumentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +208 -0
- package/dist-types/BedrockAgent.d.ts +28 -0
- package/dist-types/BedrockAgentClient.d.ts +6 -2
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +3 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +119 -0
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +1 -2
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -0
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +118 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +161 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +110 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +370 -350
- package/dist-types/models/models_1.d.ts +643 -1
- package/dist-types/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +68 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAgentKnowledgeBaseCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +161 -145
- package/dist-types/ts3.4/models/models_1.d.ts +172 -4
- package/dist-types/ts3.4/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ import { DeleteFlowAliasCommandInput, DeleteFlowAliasCommandOutput } from "../co
|
|
|
20
20
|
import { DeleteFlowCommandInput, DeleteFlowCommandOutput } from "../commands/DeleteFlowCommand";
|
|
21
21
|
import { DeleteFlowVersionCommandInput, DeleteFlowVersionCommandOutput } from "../commands/DeleteFlowVersionCommand";
|
|
22
22
|
import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "../commands/DeleteKnowledgeBaseCommand";
|
|
23
|
+
import { DeleteKnowledgeBaseDocumentsCommandInput, DeleteKnowledgeBaseDocumentsCommandOutput } from "../commands/DeleteKnowledgeBaseDocumentsCommand";
|
|
23
24
|
import { DeletePromptCommandInput, DeletePromptCommandOutput } from "../commands/DeletePromptCommand";
|
|
24
25
|
import { DisassociateAgentKnowledgeBaseCommandInput, DisassociateAgentKnowledgeBaseCommandOutput } from "../commands/DisassociateAgentKnowledgeBaseCommand";
|
|
25
26
|
import { GetAgentActionGroupCommandInput, GetAgentActionGroupCommandOutput } from "../commands/GetAgentActionGroupCommand";
|
|
@@ -33,7 +34,9 @@ import { GetFlowCommandInput, GetFlowCommandOutput } from "../commands/GetFlowCo
|
|
|
33
34
|
import { GetFlowVersionCommandInput, GetFlowVersionCommandOutput } from "../commands/GetFlowVersionCommand";
|
|
34
35
|
import { GetIngestionJobCommandInput, GetIngestionJobCommandOutput } from "../commands/GetIngestionJobCommand";
|
|
35
36
|
import { GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput } from "../commands/GetKnowledgeBaseCommand";
|
|
37
|
+
import { GetKnowledgeBaseDocumentsCommandInput, GetKnowledgeBaseDocumentsCommandOutput } from "../commands/GetKnowledgeBaseDocumentsCommand";
|
|
36
38
|
import { GetPromptCommandInput, GetPromptCommandOutput } from "../commands/GetPromptCommand";
|
|
39
|
+
import { IngestKnowledgeBaseDocumentsCommandInput, IngestKnowledgeBaseDocumentsCommandOutput } from "../commands/IngestKnowledgeBaseDocumentsCommand";
|
|
37
40
|
import { ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput } from "../commands/ListAgentActionGroupsCommand";
|
|
38
41
|
import { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "../commands/ListAgentAliasesCommand";
|
|
39
42
|
import { ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput } from "../commands/ListAgentKnowledgeBasesCommand";
|
|
@@ -44,6 +47,7 @@ import { ListFlowAliasesCommandInput, ListFlowAliasesCommandOutput } from "../co
|
|
|
44
47
|
import { ListFlowsCommandInput, ListFlowsCommandOutput } from "../commands/ListFlowsCommand";
|
|
45
48
|
import { ListFlowVersionsCommandInput, ListFlowVersionsCommandOutput } from "../commands/ListFlowVersionsCommand";
|
|
46
49
|
import { ListIngestionJobsCommandInput, ListIngestionJobsCommandOutput } from "../commands/ListIngestionJobsCommand";
|
|
50
|
+
import { ListKnowledgeBaseDocumentsCommandInput, ListKnowledgeBaseDocumentsCommandOutput } from "../commands/ListKnowledgeBaseDocumentsCommand";
|
|
47
51
|
import { ListKnowledgeBasesCommandInput, ListKnowledgeBasesCommandOutput } from "../commands/ListKnowledgeBasesCommand";
|
|
48
52
|
import { ListPromptsCommandInput, ListPromptsCommandOutput } from "../commands/ListPromptsCommand";
|
|
49
53
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
@@ -143,6 +147,10 @@ export declare const se_DeleteFlowVersionCommand: (input: DeleteFlowVersionComma
|
|
|
143
147
|
* serializeAws_restJson1DeleteKnowledgeBaseCommand
|
|
144
148
|
*/
|
|
145
149
|
export declare const se_DeleteKnowledgeBaseCommand: (input: DeleteKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
150
|
+
/**
|
|
151
|
+
* serializeAws_restJson1DeleteKnowledgeBaseDocumentsCommand
|
|
152
|
+
*/
|
|
153
|
+
export declare const se_DeleteKnowledgeBaseDocumentsCommand: (input: DeleteKnowledgeBaseDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
146
154
|
/**
|
|
147
155
|
* serializeAws_restJson1DeletePromptCommand
|
|
148
156
|
*/
|
|
@@ -195,10 +203,18 @@ export declare const se_GetIngestionJobCommand: (input: GetIngestionJobCommandIn
|
|
|
195
203
|
* serializeAws_restJson1GetKnowledgeBaseCommand
|
|
196
204
|
*/
|
|
197
205
|
export declare const se_GetKnowledgeBaseCommand: (input: GetKnowledgeBaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
206
|
+
/**
|
|
207
|
+
* serializeAws_restJson1GetKnowledgeBaseDocumentsCommand
|
|
208
|
+
*/
|
|
209
|
+
export declare const se_GetKnowledgeBaseDocumentsCommand: (input: GetKnowledgeBaseDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
198
210
|
/**
|
|
199
211
|
* serializeAws_restJson1GetPromptCommand
|
|
200
212
|
*/
|
|
201
213
|
export declare const se_GetPromptCommand: (input: GetPromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
214
|
+
/**
|
|
215
|
+
* serializeAws_restJson1IngestKnowledgeBaseDocumentsCommand
|
|
216
|
+
*/
|
|
217
|
+
export declare const se_IngestKnowledgeBaseDocumentsCommand: (input: IngestKnowledgeBaseDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
202
218
|
/**
|
|
203
219
|
* serializeAws_restJson1ListAgentActionGroupsCommand
|
|
204
220
|
*/
|
|
@@ -239,6 +255,10 @@ export declare const se_ListFlowVersionsCommand: (input: ListFlowVersionsCommand
|
|
|
239
255
|
* serializeAws_restJson1ListIngestionJobsCommand
|
|
240
256
|
*/
|
|
241
257
|
export declare const se_ListIngestionJobsCommand: (input: ListIngestionJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
258
|
+
/**
|
|
259
|
+
* serializeAws_restJson1ListKnowledgeBaseDocumentsCommand
|
|
260
|
+
*/
|
|
261
|
+
export declare const se_ListKnowledgeBaseDocumentsCommand: (input: ListKnowledgeBaseDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
242
262
|
/**
|
|
243
263
|
* serializeAws_restJson1ListKnowledgeBasesCommand
|
|
244
264
|
*/
|
|
@@ -395,6 +415,10 @@ export declare const de_DeleteFlowVersionCommand: (output: __HttpResponse, conte
|
|
|
395
415
|
* deserializeAws_restJson1DeleteKnowledgeBaseCommand
|
|
396
416
|
*/
|
|
397
417
|
export declare const de_DeleteKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKnowledgeBaseCommandOutput>;
|
|
418
|
+
/**
|
|
419
|
+
* deserializeAws_restJson1DeleteKnowledgeBaseDocumentsCommand
|
|
420
|
+
*/
|
|
421
|
+
export declare const de_DeleteKnowledgeBaseDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKnowledgeBaseDocumentsCommandOutput>;
|
|
398
422
|
/**
|
|
399
423
|
* deserializeAws_restJson1DeletePromptCommand
|
|
400
424
|
*/
|
|
@@ -447,10 +471,18 @@ export declare const de_GetIngestionJobCommand: (output: __HttpResponse, context
|
|
|
447
471
|
* deserializeAws_restJson1GetKnowledgeBaseCommand
|
|
448
472
|
*/
|
|
449
473
|
export declare const de_GetKnowledgeBaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKnowledgeBaseCommandOutput>;
|
|
474
|
+
/**
|
|
475
|
+
* deserializeAws_restJson1GetKnowledgeBaseDocumentsCommand
|
|
476
|
+
*/
|
|
477
|
+
export declare const de_GetKnowledgeBaseDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKnowledgeBaseDocumentsCommandOutput>;
|
|
450
478
|
/**
|
|
451
479
|
* deserializeAws_restJson1GetPromptCommand
|
|
452
480
|
*/
|
|
453
481
|
export declare const de_GetPromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPromptCommandOutput>;
|
|
482
|
+
/**
|
|
483
|
+
* deserializeAws_restJson1IngestKnowledgeBaseDocumentsCommand
|
|
484
|
+
*/
|
|
485
|
+
export declare const de_IngestKnowledgeBaseDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<IngestKnowledgeBaseDocumentsCommandOutput>;
|
|
454
486
|
/**
|
|
455
487
|
* deserializeAws_restJson1ListAgentActionGroupsCommand
|
|
456
488
|
*/
|
|
@@ -491,6 +523,10 @@ export declare const de_ListFlowVersionsCommand: (output: __HttpResponse, contex
|
|
|
491
523
|
* deserializeAws_restJson1ListIngestionJobsCommand
|
|
492
524
|
*/
|
|
493
525
|
export declare const de_ListIngestionJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIngestionJobsCommandOutput>;
|
|
526
|
+
/**
|
|
527
|
+
* deserializeAws_restJson1ListKnowledgeBaseDocumentsCommand
|
|
528
|
+
*/
|
|
529
|
+
export declare const de_ListKnowledgeBaseDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListKnowledgeBaseDocumentsCommandOutput>;
|
|
494
530
|
/**
|
|
495
531
|
* deserializeAws_restJson1ListKnowledgeBasesCommand
|
|
496
532
|
*/
|
|
@@ -80,6 +80,10 @@ import {
|
|
|
80
80
|
DeleteKnowledgeBaseCommandInput,
|
|
81
81
|
DeleteKnowledgeBaseCommandOutput,
|
|
82
82
|
} from "./commands/DeleteKnowledgeBaseCommand";
|
|
83
|
+
import {
|
|
84
|
+
DeleteKnowledgeBaseDocumentsCommandInput,
|
|
85
|
+
DeleteKnowledgeBaseDocumentsCommandOutput,
|
|
86
|
+
} from "./commands/DeleteKnowledgeBaseDocumentsCommand";
|
|
83
87
|
import {
|
|
84
88
|
DeletePromptCommandInput,
|
|
85
89
|
DeletePromptCommandOutput,
|
|
@@ -132,10 +136,18 @@ import {
|
|
|
132
136
|
GetKnowledgeBaseCommandInput,
|
|
133
137
|
GetKnowledgeBaseCommandOutput,
|
|
134
138
|
} from "./commands/GetKnowledgeBaseCommand";
|
|
139
|
+
import {
|
|
140
|
+
GetKnowledgeBaseDocumentsCommandInput,
|
|
141
|
+
GetKnowledgeBaseDocumentsCommandOutput,
|
|
142
|
+
} from "./commands/GetKnowledgeBaseDocumentsCommand";
|
|
135
143
|
import {
|
|
136
144
|
GetPromptCommandInput,
|
|
137
145
|
GetPromptCommandOutput,
|
|
138
146
|
} from "./commands/GetPromptCommand";
|
|
147
|
+
import {
|
|
148
|
+
IngestKnowledgeBaseDocumentsCommandInput,
|
|
149
|
+
IngestKnowledgeBaseDocumentsCommandOutput,
|
|
150
|
+
} from "./commands/IngestKnowledgeBaseDocumentsCommand";
|
|
139
151
|
import {
|
|
140
152
|
ListAgentActionGroupsCommandInput,
|
|
141
153
|
ListAgentActionGroupsCommandOutput,
|
|
@@ -176,6 +188,10 @@ import {
|
|
|
176
188
|
ListIngestionJobsCommandInput,
|
|
177
189
|
ListIngestionJobsCommandOutput,
|
|
178
190
|
} from "./commands/ListIngestionJobsCommand";
|
|
191
|
+
import {
|
|
192
|
+
ListKnowledgeBaseDocumentsCommandInput,
|
|
193
|
+
ListKnowledgeBaseDocumentsCommandOutput,
|
|
194
|
+
} from "./commands/ListKnowledgeBaseDocumentsCommand";
|
|
179
195
|
import {
|
|
180
196
|
ListKnowledgeBasesCommandInput,
|
|
181
197
|
ListKnowledgeBasesCommandOutput,
|
|
@@ -513,6 +529,19 @@ export interface BedrockAgent {
|
|
|
513
529
|
options: __HttpHandlerOptions,
|
|
514
530
|
cb: (err: any, data?: DeleteKnowledgeBaseCommandOutput) => void
|
|
515
531
|
): void;
|
|
532
|
+
deleteKnowledgeBaseDocuments(
|
|
533
|
+
args: DeleteKnowledgeBaseDocumentsCommandInput,
|
|
534
|
+
options?: __HttpHandlerOptions
|
|
535
|
+
): Promise<DeleteKnowledgeBaseDocumentsCommandOutput>;
|
|
536
|
+
deleteKnowledgeBaseDocuments(
|
|
537
|
+
args: DeleteKnowledgeBaseDocumentsCommandInput,
|
|
538
|
+
cb: (err: any, data?: DeleteKnowledgeBaseDocumentsCommandOutput) => void
|
|
539
|
+
): void;
|
|
540
|
+
deleteKnowledgeBaseDocuments(
|
|
541
|
+
args: DeleteKnowledgeBaseDocumentsCommandInput,
|
|
542
|
+
options: __HttpHandlerOptions,
|
|
543
|
+
cb: (err: any, data?: DeleteKnowledgeBaseDocumentsCommandOutput) => void
|
|
544
|
+
): void;
|
|
516
545
|
deletePrompt(
|
|
517
546
|
args: DeletePromptCommandInput,
|
|
518
547
|
options?: __HttpHandlerOptions
|
|
@@ -682,6 +711,19 @@ export interface BedrockAgent {
|
|
|
682
711
|
options: __HttpHandlerOptions,
|
|
683
712
|
cb: (err: any, data?: GetKnowledgeBaseCommandOutput) => void
|
|
684
713
|
): void;
|
|
714
|
+
getKnowledgeBaseDocuments(
|
|
715
|
+
args: GetKnowledgeBaseDocumentsCommandInput,
|
|
716
|
+
options?: __HttpHandlerOptions
|
|
717
|
+
): Promise<GetKnowledgeBaseDocumentsCommandOutput>;
|
|
718
|
+
getKnowledgeBaseDocuments(
|
|
719
|
+
args: GetKnowledgeBaseDocumentsCommandInput,
|
|
720
|
+
cb: (err: any, data?: GetKnowledgeBaseDocumentsCommandOutput) => void
|
|
721
|
+
): void;
|
|
722
|
+
getKnowledgeBaseDocuments(
|
|
723
|
+
args: GetKnowledgeBaseDocumentsCommandInput,
|
|
724
|
+
options: __HttpHandlerOptions,
|
|
725
|
+
cb: (err: any, data?: GetKnowledgeBaseDocumentsCommandOutput) => void
|
|
726
|
+
): void;
|
|
685
727
|
getPrompt(
|
|
686
728
|
args: GetPromptCommandInput,
|
|
687
729
|
options?: __HttpHandlerOptions
|
|
@@ -695,6 +737,19 @@ export interface BedrockAgent {
|
|
|
695
737
|
options: __HttpHandlerOptions,
|
|
696
738
|
cb: (err: any, data?: GetPromptCommandOutput) => void
|
|
697
739
|
): void;
|
|
740
|
+
ingestKnowledgeBaseDocuments(
|
|
741
|
+
args: IngestKnowledgeBaseDocumentsCommandInput,
|
|
742
|
+
options?: __HttpHandlerOptions
|
|
743
|
+
): Promise<IngestKnowledgeBaseDocumentsCommandOutput>;
|
|
744
|
+
ingestKnowledgeBaseDocuments(
|
|
745
|
+
args: IngestKnowledgeBaseDocumentsCommandInput,
|
|
746
|
+
cb: (err: any, data?: IngestKnowledgeBaseDocumentsCommandOutput) => void
|
|
747
|
+
): void;
|
|
748
|
+
ingestKnowledgeBaseDocuments(
|
|
749
|
+
args: IngestKnowledgeBaseDocumentsCommandInput,
|
|
750
|
+
options: __HttpHandlerOptions,
|
|
751
|
+
cb: (err: any, data?: IngestKnowledgeBaseDocumentsCommandOutput) => void
|
|
752
|
+
): void;
|
|
698
753
|
listAgentActionGroups(
|
|
699
754
|
args: ListAgentActionGroupsCommandInput,
|
|
700
755
|
options?: __HttpHandlerOptions
|
|
@@ -827,6 +882,19 @@ export interface BedrockAgent {
|
|
|
827
882
|
options: __HttpHandlerOptions,
|
|
828
883
|
cb: (err: any, data?: ListIngestionJobsCommandOutput) => void
|
|
829
884
|
): void;
|
|
885
|
+
listKnowledgeBaseDocuments(
|
|
886
|
+
args: ListKnowledgeBaseDocumentsCommandInput,
|
|
887
|
+
options?: __HttpHandlerOptions
|
|
888
|
+
): Promise<ListKnowledgeBaseDocumentsCommandOutput>;
|
|
889
|
+
listKnowledgeBaseDocuments(
|
|
890
|
+
args: ListKnowledgeBaseDocumentsCommandInput,
|
|
891
|
+
cb: (err: any, data?: ListKnowledgeBaseDocumentsCommandOutput) => void
|
|
892
|
+
): void;
|
|
893
|
+
listKnowledgeBaseDocuments(
|
|
894
|
+
args: ListKnowledgeBaseDocumentsCommandInput,
|
|
895
|
+
options: __HttpHandlerOptions,
|
|
896
|
+
cb: (err: any, data?: ListKnowledgeBaseDocumentsCommandOutput) => void
|
|
897
|
+
): void;
|
|
830
898
|
listKnowledgeBases(): Promise<ListKnowledgeBasesCommandOutput>;
|
|
831
899
|
listKnowledgeBases(
|
|
832
900
|
args: ListKnowledgeBasesCommandInput,
|
|
@@ -125,6 +125,10 @@ import {
|
|
|
125
125
|
DeleteKnowledgeBaseCommandInput,
|
|
126
126
|
DeleteKnowledgeBaseCommandOutput,
|
|
127
127
|
} from "./commands/DeleteKnowledgeBaseCommand";
|
|
128
|
+
import {
|
|
129
|
+
DeleteKnowledgeBaseDocumentsCommandInput,
|
|
130
|
+
DeleteKnowledgeBaseDocumentsCommandOutput,
|
|
131
|
+
} from "./commands/DeleteKnowledgeBaseDocumentsCommand";
|
|
128
132
|
import {
|
|
129
133
|
DeletePromptCommandInput,
|
|
130
134
|
DeletePromptCommandOutput,
|
|
@@ -177,10 +181,18 @@ import {
|
|
|
177
181
|
GetKnowledgeBaseCommandInput,
|
|
178
182
|
GetKnowledgeBaseCommandOutput,
|
|
179
183
|
} from "./commands/GetKnowledgeBaseCommand";
|
|
184
|
+
import {
|
|
185
|
+
GetKnowledgeBaseDocumentsCommandInput,
|
|
186
|
+
GetKnowledgeBaseDocumentsCommandOutput,
|
|
187
|
+
} from "./commands/GetKnowledgeBaseDocumentsCommand";
|
|
180
188
|
import {
|
|
181
189
|
GetPromptCommandInput,
|
|
182
190
|
GetPromptCommandOutput,
|
|
183
191
|
} from "./commands/GetPromptCommand";
|
|
192
|
+
import {
|
|
193
|
+
IngestKnowledgeBaseDocumentsCommandInput,
|
|
194
|
+
IngestKnowledgeBaseDocumentsCommandOutput,
|
|
195
|
+
} from "./commands/IngestKnowledgeBaseDocumentsCommand";
|
|
184
196
|
import {
|
|
185
197
|
ListAgentActionGroupsCommandInput,
|
|
186
198
|
ListAgentActionGroupsCommandOutput,
|
|
@@ -221,6 +233,10 @@ import {
|
|
|
221
233
|
ListIngestionJobsCommandInput,
|
|
222
234
|
ListIngestionJobsCommandOutput,
|
|
223
235
|
} from "./commands/ListIngestionJobsCommand";
|
|
236
|
+
import {
|
|
237
|
+
ListKnowledgeBaseDocumentsCommandInput,
|
|
238
|
+
ListKnowledgeBaseDocumentsCommandOutput,
|
|
239
|
+
} from "./commands/ListKnowledgeBaseDocumentsCommand";
|
|
224
240
|
import {
|
|
225
241
|
ListKnowledgeBasesCommandInput,
|
|
226
242
|
ListKnowledgeBasesCommandOutput,
|
|
@@ -325,6 +341,7 @@ export type ServiceInputTypes =
|
|
|
325
341
|
| DeleteFlowCommandInput
|
|
326
342
|
| DeleteFlowVersionCommandInput
|
|
327
343
|
| DeleteKnowledgeBaseCommandInput
|
|
344
|
+
| DeleteKnowledgeBaseDocumentsCommandInput
|
|
328
345
|
| DeletePromptCommandInput
|
|
329
346
|
| DisassociateAgentKnowledgeBaseCommandInput
|
|
330
347
|
| GetAgentActionGroupCommandInput
|
|
@@ -338,7 +355,9 @@ export type ServiceInputTypes =
|
|
|
338
355
|
| GetFlowVersionCommandInput
|
|
339
356
|
| GetIngestionJobCommandInput
|
|
340
357
|
| GetKnowledgeBaseCommandInput
|
|
358
|
+
| GetKnowledgeBaseDocumentsCommandInput
|
|
341
359
|
| GetPromptCommandInput
|
|
360
|
+
| IngestKnowledgeBaseDocumentsCommandInput
|
|
342
361
|
| ListAgentActionGroupsCommandInput
|
|
343
362
|
| ListAgentAliasesCommandInput
|
|
344
363
|
| ListAgentKnowledgeBasesCommandInput
|
|
@@ -349,6 +368,7 @@ export type ServiceInputTypes =
|
|
|
349
368
|
| ListFlowVersionsCommandInput
|
|
350
369
|
| ListFlowsCommandInput
|
|
351
370
|
| ListIngestionJobsCommandInput
|
|
371
|
+
| ListKnowledgeBaseDocumentsCommandInput
|
|
352
372
|
| ListKnowledgeBasesCommandInput
|
|
353
373
|
| ListPromptsCommandInput
|
|
354
374
|
| ListTagsForResourceCommandInput
|
|
@@ -389,6 +409,7 @@ export type ServiceOutputTypes =
|
|
|
389
409
|
| DeleteFlowCommandOutput
|
|
390
410
|
| DeleteFlowVersionCommandOutput
|
|
391
411
|
| DeleteKnowledgeBaseCommandOutput
|
|
412
|
+
| DeleteKnowledgeBaseDocumentsCommandOutput
|
|
392
413
|
| DeletePromptCommandOutput
|
|
393
414
|
| DisassociateAgentKnowledgeBaseCommandOutput
|
|
394
415
|
| GetAgentActionGroupCommandOutput
|
|
@@ -402,7 +423,9 @@ export type ServiceOutputTypes =
|
|
|
402
423
|
| GetFlowVersionCommandOutput
|
|
403
424
|
| GetIngestionJobCommandOutput
|
|
404
425
|
| GetKnowledgeBaseCommandOutput
|
|
426
|
+
| GetKnowledgeBaseDocumentsCommandOutput
|
|
405
427
|
| GetPromptCommandOutput
|
|
428
|
+
| IngestKnowledgeBaseDocumentsCommandOutput
|
|
406
429
|
| ListAgentActionGroupsCommandOutput
|
|
407
430
|
| ListAgentAliasesCommandOutput
|
|
408
431
|
| ListAgentKnowledgeBasesCommandOutput
|
|
@@ -413,6 +436,7 @@ export type ServiceOutputTypes =
|
|
|
413
436
|
| ListFlowVersionsCommandOutput
|
|
414
437
|
| ListFlowsCommandOutput
|
|
415
438
|
| ListIngestionJobsCommandOutput
|
|
439
|
+
| ListKnowledgeBaseDocumentsCommandOutput
|
|
416
440
|
| ListKnowledgeBasesCommandOutput
|
|
417
441
|
| ListPromptsCommandOutput
|
|
418
442
|
| ListTagsForResourceCommandOutput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AssociateAgentKnowledgeBaseRequest,
|
|
10
10
|
AssociateAgentKnowledgeBaseResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface AssociateAgentKnowledgeBaseCommandInput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteKnowledgeBaseDocumentsRequest,
|
|
10
|
+
DeleteKnowledgeBaseDocumentsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteKnowledgeBaseDocumentsCommandInput
|
|
15
|
+
extends DeleteKnowledgeBaseDocumentsRequest {}
|
|
16
|
+
export interface DeleteKnowledgeBaseDocumentsCommandOutput
|
|
17
|
+
extends DeleteKnowledgeBaseDocumentsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteKnowledgeBaseDocumentsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteKnowledgeBaseDocumentsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteKnowledgeBaseDocumentsCommandInput,
|
|
24
|
+
DeleteKnowledgeBaseDocumentsCommandOutput,
|
|
25
|
+
BedrockAgentClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: DeleteKnowledgeBaseDocumentsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteKnowledgeBaseDocumentsCommandInput,
|
|
33
|
+
DeleteKnowledgeBaseDocumentsCommandOutput,
|
|
34
|
+
BedrockAgentClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteKnowledgeBaseDocumentsCommand extends DeleteKnowledgeBaseDocumentsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteKnowledgeBaseDocumentsRequest;
|
|
44
|
+
output: DeleteKnowledgeBaseDocumentsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteKnowledgeBaseDocumentsCommandInput;
|
|
48
|
+
output: DeleteKnowledgeBaseDocumentsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DisassociateAgentKnowledgeBaseRequest,
|
|
10
10
|
DisassociateAgentKnowledgeBaseResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DisassociateAgentKnowledgeBaseCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
GetAgentKnowledgeBaseRequest,
|
|
10
|
+
GetAgentKnowledgeBaseResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface GetAgentKnowledgeBaseCommandInput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentClient";
|
|
8
|
+
import {
|
|
9
|
+
GetKnowledgeBaseDocumentsRequest,
|
|
10
|
+
GetKnowledgeBaseDocumentsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetKnowledgeBaseDocumentsCommandInput
|
|
15
|
+
extends GetKnowledgeBaseDocumentsRequest {}
|
|
16
|
+
export interface GetKnowledgeBaseDocumentsCommandOutput
|
|
17
|
+
extends GetKnowledgeBaseDocumentsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetKnowledgeBaseDocumentsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetKnowledgeBaseDocumentsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetKnowledgeBaseDocumentsCommandInput,
|
|
24
|
+
GetKnowledgeBaseDocumentsCommandOutput,
|
|
25
|
+
BedrockAgentClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetKnowledgeBaseDocumentsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetKnowledgeBaseDocumentsCommandInput,
|
|
33
|
+
GetKnowledgeBaseDocumentsCommandOutput,
|
|
34
|
+
BedrockAgentClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetKnowledgeBaseDocumentsCommand extends GetKnowledgeBaseDocumentsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetKnowledgeBaseDocumentsRequest;
|
|
44
|
+
output: GetKnowledgeBaseDocumentsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetKnowledgeBaseDocumentsCommandInput;
|
|
48
|
+
output: GetKnowledgeBaseDocumentsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentClient";
|
|
8
|
+
import {
|
|
9
|
+
IngestKnowledgeBaseDocumentsRequest,
|
|
10
|
+
IngestKnowledgeBaseDocumentsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface IngestKnowledgeBaseDocumentsCommandInput
|
|
15
|
+
extends IngestKnowledgeBaseDocumentsRequest {}
|
|
16
|
+
export interface IngestKnowledgeBaseDocumentsCommandOutput
|
|
17
|
+
extends IngestKnowledgeBaseDocumentsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const IngestKnowledgeBaseDocumentsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: IngestKnowledgeBaseDocumentsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
IngestKnowledgeBaseDocumentsCommandInput,
|
|
24
|
+
IngestKnowledgeBaseDocumentsCommandOutput,
|
|
25
|
+
BedrockAgentClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: IngestKnowledgeBaseDocumentsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
IngestKnowledgeBaseDocumentsCommandInput,
|
|
33
|
+
IngestKnowledgeBaseDocumentsCommandOutput,
|
|
34
|
+
BedrockAgentClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class IngestKnowledgeBaseDocumentsCommand extends IngestKnowledgeBaseDocumentsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: IngestKnowledgeBaseDocumentsRequest;
|
|
44
|
+
output: IngestKnowledgeBaseDocumentsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: IngestKnowledgeBaseDocumentsCommandInput;
|
|
48
|
+
output: IngestKnowledgeBaseDocumentsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentClient";
|
|
8
|
+
import {
|
|
9
|
+
ListKnowledgeBaseDocumentsRequest,
|
|
10
|
+
ListKnowledgeBaseDocumentsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListKnowledgeBaseDocumentsCommandInput
|
|
15
|
+
extends ListKnowledgeBaseDocumentsRequest {}
|
|
16
|
+
export interface ListKnowledgeBaseDocumentsCommandOutput
|
|
17
|
+
extends ListKnowledgeBaseDocumentsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListKnowledgeBaseDocumentsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListKnowledgeBaseDocumentsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListKnowledgeBaseDocumentsCommandInput,
|
|
24
|
+
ListKnowledgeBaseDocumentsCommandOutput,
|
|
25
|
+
BedrockAgentClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListKnowledgeBaseDocumentsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListKnowledgeBaseDocumentsCommandInput,
|
|
33
|
+
ListKnowledgeBaseDocumentsCommandOutput,
|
|
34
|
+
BedrockAgentClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListKnowledgeBaseDocumentsCommand extends ListKnowledgeBaseDocumentsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListKnowledgeBaseDocumentsRequest;
|
|
44
|
+
output: ListKnowledgeBaseDocumentsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListKnowledgeBaseDocumentsCommandInput;
|
|
48
|
+
output: ListKnowledgeBaseDocumentsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -18,6 +18,7 @@ export * from "./DeleteFlowAliasCommand";
|
|
|
18
18
|
export * from "./DeleteFlowCommand";
|
|
19
19
|
export * from "./DeleteFlowVersionCommand";
|
|
20
20
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
21
|
+
export * from "./DeleteKnowledgeBaseDocumentsCommand";
|
|
21
22
|
export * from "./DeletePromptCommand";
|
|
22
23
|
export * from "./DisassociateAgentKnowledgeBaseCommand";
|
|
23
24
|
export * from "./GetAgentActionGroupCommand";
|
|
@@ -31,7 +32,9 @@ export * from "./GetFlowCommand";
|
|
|
31
32
|
export * from "./GetFlowVersionCommand";
|
|
32
33
|
export * from "./GetIngestionJobCommand";
|
|
33
34
|
export * from "./GetKnowledgeBaseCommand";
|
|
35
|
+
export * from "./GetKnowledgeBaseDocumentsCommand";
|
|
34
36
|
export * from "./GetPromptCommand";
|
|
37
|
+
export * from "./IngestKnowledgeBaseDocumentsCommand";
|
|
35
38
|
export * from "./ListAgentActionGroupsCommand";
|
|
36
39
|
export * from "./ListAgentAliasesCommand";
|
|
37
40
|
export * from "./ListAgentKnowledgeBasesCommand";
|
|
@@ -42,6 +45,7 @@ export * from "./ListFlowAliasesCommand";
|
|
|
42
45
|
export * from "./ListFlowVersionsCommand";
|
|
43
46
|
export * from "./ListFlowsCommand";
|
|
44
47
|
export * from "./ListIngestionJobsCommand";
|
|
48
|
+
export * from "./ListKnowledgeBaseDocumentsCommand";
|
|
45
49
|
export * from "./ListKnowledgeBasesCommand";
|
|
46
50
|
export * from "./ListPromptsCommand";
|
|
47
51
|
export * from "./ListTagsForResourceCommand";
|