@aws-sdk/client-bedrock-agent 3.702.0 → 3.705.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 +72 -0
- package/dist-cjs/index.js +772 -28
- package/dist-es/BedrockAgent.js +18 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
- package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +23 -0
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
- package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +75 -18
- package/dist-es/models/models_1.js +71 -1
- package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
- package/dist-es/pagination/ListKnowledgeBaseDocumentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +392 -0
- package/dist-types/BedrockAgent.d.ts +63 -0
- package/dist-types/BedrockAgentClient.d.ts +11 -2
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +119 -0
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
- package/dist-types/commands/GetAgentCommand.d.ts +2 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +118 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +161 -0
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +110 -0
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +589 -475
- package/dist-types/models/models_1.d.ts +923 -1
- package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +153 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -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/DisassociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
- 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/ListAgentCollaboratorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +185 -153
- package/dist-types/ts3.4/models/models_1.d.ts +270 -4
- package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +1 -1
|
@@ -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
|
+
UpdateAgentCollaboratorRequest,
|
|
10
|
+
UpdateAgentCollaboratorResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateAgentCollaboratorCommandInput
|
|
15
|
+
extends UpdateAgentCollaboratorRequest {}
|
|
16
|
+
export interface UpdateAgentCollaboratorCommandOutput
|
|
17
|
+
extends UpdateAgentCollaboratorResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateAgentCollaboratorCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateAgentCollaboratorCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateAgentCollaboratorCommandInput,
|
|
24
|
+
UpdateAgentCollaboratorCommandOutput,
|
|
25
|
+
BedrockAgentClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: UpdateAgentCollaboratorCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateAgentCollaboratorCommandInput,
|
|
33
|
+
UpdateAgentCollaboratorCommandOutput,
|
|
34
|
+
BedrockAgentClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateAgentCollaboratorCommand extends UpdateAgentCollaboratorCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateAgentCollaboratorRequest;
|
|
44
|
+
output: UpdateAgentCollaboratorResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateAgentCollaboratorCommandInput;
|
|
48
|
+
output: UpdateAgentCollaboratorCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AssociateAgentCollaboratorCommand";
|
|
1
2
|
export * from "./AssociateAgentKnowledgeBaseCommand";
|
|
2
3
|
export * from "./CreateAgentActionGroupCommand";
|
|
3
4
|
export * from "./CreateAgentAliasCommand";
|
|
@@ -18,10 +19,13 @@ export * from "./DeleteFlowAliasCommand";
|
|
|
18
19
|
export * from "./DeleteFlowCommand";
|
|
19
20
|
export * from "./DeleteFlowVersionCommand";
|
|
20
21
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
22
|
+
export * from "./DeleteKnowledgeBaseDocumentsCommand";
|
|
21
23
|
export * from "./DeletePromptCommand";
|
|
24
|
+
export * from "./DisassociateAgentCollaboratorCommand";
|
|
22
25
|
export * from "./DisassociateAgentKnowledgeBaseCommand";
|
|
23
26
|
export * from "./GetAgentActionGroupCommand";
|
|
24
27
|
export * from "./GetAgentAliasCommand";
|
|
28
|
+
export * from "./GetAgentCollaboratorCommand";
|
|
25
29
|
export * from "./GetAgentCommand";
|
|
26
30
|
export * from "./GetAgentKnowledgeBaseCommand";
|
|
27
31
|
export * from "./GetAgentVersionCommand";
|
|
@@ -31,9 +35,12 @@ export * from "./GetFlowCommand";
|
|
|
31
35
|
export * from "./GetFlowVersionCommand";
|
|
32
36
|
export * from "./GetIngestionJobCommand";
|
|
33
37
|
export * from "./GetKnowledgeBaseCommand";
|
|
38
|
+
export * from "./GetKnowledgeBaseDocumentsCommand";
|
|
34
39
|
export * from "./GetPromptCommand";
|
|
40
|
+
export * from "./IngestKnowledgeBaseDocumentsCommand";
|
|
35
41
|
export * from "./ListAgentActionGroupsCommand";
|
|
36
42
|
export * from "./ListAgentAliasesCommand";
|
|
43
|
+
export * from "./ListAgentCollaboratorsCommand";
|
|
37
44
|
export * from "./ListAgentKnowledgeBasesCommand";
|
|
38
45
|
export * from "./ListAgentVersionsCommand";
|
|
39
46
|
export * from "./ListAgentsCommand";
|
|
@@ -42,6 +49,7 @@ export * from "./ListFlowAliasesCommand";
|
|
|
42
49
|
export * from "./ListFlowVersionsCommand";
|
|
43
50
|
export * from "./ListFlowsCommand";
|
|
44
51
|
export * from "./ListIngestionJobsCommand";
|
|
52
|
+
export * from "./ListKnowledgeBaseDocumentsCommand";
|
|
45
53
|
export * from "./ListKnowledgeBasesCommand";
|
|
46
54
|
export * from "./ListPromptsCommand";
|
|
47
55
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -53,6 +61,7 @@ export * from "./TagResourceCommand";
|
|
|
53
61
|
export * from "./UntagResourceCommand";
|
|
54
62
|
export * from "./UpdateAgentActionGroupCommand";
|
|
55
63
|
export * from "./UpdateAgentAliasCommand";
|
|
64
|
+
export * from "./UpdateAgentCollaboratorCommand";
|
|
56
65
|
export * from "./UpdateAgentCommand";
|
|
57
66
|
export * from "./UpdateAgentKnowledgeBaseCommand";
|
|
58
67
|
export * from "./UpdateDataSourceCommand";
|
|
@@ -248,6 +248,13 @@ export interface UpdateAgentActionGroupRequest {
|
|
|
248
248
|
export interface UpdateAgentActionGroupResponse {
|
|
249
249
|
agentActionGroup: AgentActionGroup | undefined;
|
|
250
250
|
}
|
|
251
|
+
export declare const AgentCollaboration: {
|
|
252
|
+
readonly DISABLED: "DISABLED";
|
|
253
|
+
readonly SUPERVISOR: "SUPERVISOR";
|
|
254
|
+
readonly SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER";
|
|
255
|
+
};
|
|
256
|
+
export type AgentCollaboration =
|
|
257
|
+
(typeof AgentCollaboration)[keyof typeof AgentCollaboration];
|
|
251
258
|
export declare const AgentStatus: {
|
|
252
259
|
readonly CREATING: "CREATING";
|
|
253
260
|
readonly DELETING: "DELETING";
|
|
@@ -329,6 +336,7 @@ export interface PromptConfiguration {
|
|
|
329
336
|
basePromptTemplate?: string | undefined;
|
|
330
337
|
inferenceConfiguration?: InferenceConfiguration | undefined;
|
|
331
338
|
parserMode?: CreationMode | undefined;
|
|
339
|
+
foundationModel?: string | undefined;
|
|
332
340
|
}
|
|
333
341
|
export interface PromptOverrideConfiguration {
|
|
334
342
|
promptConfigurations: PromptConfiguration[] | undefined;
|
|
@@ -357,6 +365,7 @@ export interface Agent {
|
|
|
357
365
|
promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
|
|
358
366
|
guardrailConfiguration?: GuardrailConfiguration | undefined;
|
|
359
367
|
memoryConfiguration?: MemoryConfiguration | undefined;
|
|
368
|
+
agentCollaboration?: AgentCollaboration | undefined;
|
|
360
369
|
}
|
|
361
370
|
export interface AgentAliasRoutingConfigurationListItem {
|
|
362
371
|
agentVersion?: string | undefined;
|
|
@@ -399,6 +408,86 @@ export interface AgentAliasSummary {
|
|
|
399
408
|
createdAt: Date | undefined;
|
|
400
409
|
updatedAt: Date | undefined;
|
|
401
410
|
}
|
|
411
|
+
export interface AgentDescriptor {
|
|
412
|
+
aliasArn?: string | undefined;
|
|
413
|
+
}
|
|
414
|
+
export declare const RelayConversationHistory: {
|
|
415
|
+
readonly DISABLED: "DISABLED";
|
|
416
|
+
readonly TO_COLLABORATOR: "TO_COLLABORATOR";
|
|
417
|
+
};
|
|
418
|
+
export type RelayConversationHistory =
|
|
419
|
+
(typeof RelayConversationHistory)[keyof typeof RelayConversationHistory];
|
|
420
|
+
export interface AgentCollaborator {
|
|
421
|
+
agentId: string | undefined;
|
|
422
|
+
agentVersion: string | undefined;
|
|
423
|
+
agentDescriptor: AgentDescriptor | undefined;
|
|
424
|
+
collaboratorId: string | undefined;
|
|
425
|
+
collaborationInstruction: string | undefined;
|
|
426
|
+
collaboratorName: string | undefined;
|
|
427
|
+
createdAt: Date | undefined;
|
|
428
|
+
lastUpdatedAt: Date | undefined;
|
|
429
|
+
relayConversationHistory?: RelayConversationHistory | undefined;
|
|
430
|
+
clientToken?: string | undefined;
|
|
431
|
+
}
|
|
432
|
+
export interface AssociateAgentCollaboratorRequest {
|
|
433
|
+
agentId: string | undefined;
|
|
434
|
+
agentVersion: string | undefined;
|
|
435
|
+
agentDescriptor: AgentDescriptor | undefined;
|
|
436
|
+
collaboratorName: string | undefined;
|
|
437
|
+
collaborationInstruction: string | undefined;
|
|
438
|
+
relayConversationHistory?: RelayConversationHistory | undefined;
|
|
439
|
+
clientToken?: string | undefined;
|
|
440
|
+
}
|
|
441
|
+
export interface AssociateAgentCollaboratorResponse {
|
|
442
|
+
agentCollaborator: AgentCollaborator | undefined;
|
|
443
|
+
}
|
|
444
|
+
export interface DisassociateAgentCollaboratorRequest {
|
|
445
|
+
agentId: string | undefined;
|
|
446
|
+
agentVersion: string | undefined;
|
|
447
|
+
collaboratorId: string | undefined;
|
|
448
|
+
}
|
|
449
|
+
export interface DisassociateAgentCollaboratorResponse {}
|
|
450
|
+
export interface GetAgentCollaboratorRequest {
|
|
451
|
+
agentId: string | undefined;
|
|
452
|
+
agentVersion: string | undefined;
|
|
453
|
+
collaboratorId: string | undefined;
|
|
454
|
+
}
|
|
455
|
+
export interface GetAgentCollaboratorResponse {
|
|
456
|
+
agentCollaborator: AgentCollaborator | undefined;
|
|
457
|
+
}
|
|
458
|
+
export interface ListAgentCollaboratorsRequest {
|
|
459
|
+
agentId: string | undefined;
|
|
460
|
+
agentVersion: string | undefined;
|
|
461
|
+
maxResults?: number | undefined;
|
|
462
|
+
nextToken?: string | undefined;
|
|
463
|
+
}
|
|
464
|
+
export interface AgentCollaboratorSummary {
|
|
465
|
+
agentId: string | undefined;
|
|
466
|
+
agentVersion: string | undefined;
|
|
467
|
+
collaboratorId: string | undefined;
|
|
468
|
+
agentDescriptor: AgentDescriptor | undefined;
|
|
469
|
+
collaborationInstruction: string | undefined;
|
|
470
|
+
relayConversationHistory: RelayConversationHistory | undefined;
|
|
471
|
+
collaboratorName: string | undefined;
|
|
472
|
+
createdAt: Date | undefined;
|
|
473
|
+
lastUpdatedAt: Date | undefined;
|
|
474
|
+
}
|
|
475
|
+
export interface ListAgentCollaboratorsResponse {
|
|
476
|
+
agentCollaboratorSummaries: AgentCollaboratorSummary[] | undefined;
|
|
477
|
+
nextToken?: string | undefined;
|
|
478
|
+
}
|
|
479
|
+
export interface UpdateAgentCollaboratorRequest {
|
|
480
|
+
agentId: string | undefined;
|
|
481
|
+
agentVersion: string | undefined;
|
|
482
|
+
collaboratorId: string | undefined;
|
|
483
|
+
agentDescriptor: AgentDescriptor | undefined;
|
|
484
|
+
collaboratorName: string | undefined;
|
|
485
|
+
collaborationInstruction: string | undefined;
|
|
486
|
+
relayConversationHistory?: RelayConversationHistory | undefined;
|
|
487
|
+
}
|
|
488
|
+
export interface UpdateAgentCollaboratorResponse {
|
|
489
|
+
agentCollaborator: AgentCollaborator | undefined;
|
|
490
|
+
}
|
|
402
491
|
export interface AgentFlowNodeConfiguration {
|
|
403
492
|
agentAliasArn: string | undefined;
|
|
404
493
|
}
|
|
@@ -438,6 +527,7 @@ export interface CreateAgentRequest {
|
|
|
438
527
|
promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
|
|
439
528
|
guardrailConfiguration?: GuardrailConfiguration | undefined;
|
|
440
529
|
memoryConfiguration?: MemoryConfiguration | undefined;
|
|
530
|
+
agentCollaboration?: AgentCollaboration | undefined;
|
|
441
531
|
}
|
|
442
532
|
export interface CreateAgentResponse {
|
|
443
533
|
agent: Agent | undefined;
|
|
@@ -496,6 +586,7 @@ export interface UpdateAgentRequest {
|
|
|
496
586
|
promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
|
|
497
587
|
guardrailConfiguration?: GuardrailConfiguration | undefined;
|
|
498
588
|
memoryConfiguration?: MemoryConfiguration | undefined;
|
|
589
|
+
agentCollaboration?: AgentCollaboration | undefined;
|
|
499
590
|
}
|
|
500
591
|
export interface UpdateAgentResponse {
|
|
501
592
|
agent: Agent | undefined;
|
|
@@ -519,6 +610,7 @@ export interface AgentVersion {
|
|
|
519
610
|
promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
|
|
520
611
|
guardrailConfiguration?: GuardrailConfiguration | undefined;
|
|
521
612
|
memoryConfiguration?: MemoryConfiguration | undefined;
|
|
613
|
+
agentCollaboration?: AgentCollaboration | undefined;
|
|
522
614
|
}
|
|
523
615
|
export interface AgentVersionSummary {
|
|
524
616
|
agentName: string | undefined;
|
|
@@ -671,6 +763,7 @@ export interface SharePointDataSourceConfiguration {
|
|
|
671
763
|
}
|
|
672
764
|
export declare const DataSourceType: {
|
|
673
765
|
readonly CONFLUENCE: "CONFLUENCE";
|
|
766
|
+
readonly CUSTOM: "CUSTOM";
|
|
674
767
|
readonly S3: "S3";
|
|
675
768
|
readonly SALESFORCE: "SALESFORCE";
|
|
676
769
|
readonly SHAREPOINT: "SHAREPOINT";
|
|
@@ -2826,173 +2919,79 @@ export interface StopIngestionJobRequest {
|
|
|
2826
2919
|
export interface StopIngestionJobResponse {
|
|
2827
2920
|
ingestionJob: IngestionJob | undefined;
|
|
2828
2921
|
}
|
|
2829
|
-
export interface
|
|
2830
|
-
|
|
2831
|
-
agentVersion: string | undefined;
|
|
2832
|
-
knowledgeBaseId: string | undefined;
|
|
2833
|
-
description: string | undefined;
|
|
2834
|
-
knowledgeBaseState?: KnowledgeBaseState | undefined;
|
|
2835
|
-
}
|
|
2836
|
-
export interface AssociateAgentKnowledgeBaseResponse {
|
|
2837
|
-
agentKnowledgeBase: AgentKnowledgeBase | undefined;
|
|
2838
|
-
}
|
|
2839
|
-
export declare const KnowledgeBaseType: {
|
|
2840
|
-
readonly VECTOR: "VECTOR";
|
|
2841
|
-
};
|
|
2842
|
-
export type KnowledgeBaseType =
|
|
2843
|
-
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
2844
|
-
export declare const EmbeddingDataType: {
|
|
2845
|
-
readonly BINARY: "BINARY";
|
|
2846
|
-
readonly FLOAT32: "FLOAT32";
|
|
2847
|
-
};
|
|
2848
|
-
export type EmbeddingDataType =
|
|
2849
|
-
(typeof EmbeddingDataType)[keyof typeof EmbeddingDataType];
|
|
2850
|
-
export interface BedrockEmbeddingModelConfiguration {
|
|
2851
|
-
dimensions?: number | undefined;
|
|
2852
|
-
embeddingDataType?: EmbeddingDataType | undefined;
|
|
2853
|
-
}
|
|
2854
|
-
export interface EmbeddingModelConfiguration {
|
|
2855
|
-
bedrockEmbeddingModelConfiguration?:
|
|
2856
|
-
| BedrockEmbeddingModelConfiguration
|
|
2857
|
-
| undefined;
|
|
2858
|
-
}
|
|
2859
|
-
export interface VectorKnowledgeBaseConfiguration {
|
|
2860
|
-
embeddingModelArn: string | undefined;
|
|
2861
|
-
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
|
2862
|
-
}
|
|
2863
|
-
export interface KnowledgeBaseConfiguration {
|
|
2864
|
-
type: KnowledgeBaseType | undefined;
|
|
2865
|
-
vectorKnowledgeBaseConfiguration?:
|
|
2866
|
-
| VectorKnowledgeBaseConfiguration
|
|
2867
|
-
| undefined;
|
|
2868
|
-
}
|
|
2869
|
-
export interface MongoDbAtlasFieldMapping {
|
|
2870
|
-
vectorField: string | undefined;
|
|
2871
|
-
textField: string | undefined;
|
|
2872
|
-
metadataField: string | undefined;
|
|
2873
|
-
}
|
|
2874
|
-
export interface MongoDbAtlasConfiguration {
|
|
2875
|
-
endpoint: string | undefined;
|
|
2876
|
-
databaseName: string | undefined;
|
|
2877
|
-
collectionName: string | undefined;
|
|
2878
|
-
vectorIndexName: string | undefined;
|
|
2879
|
-
credentialsSecretArn: string | undefined;
|
|
2880
|
-
fieldMapping: MongoDbAtlasFieldMapping | undefined;
|
|
2881
|
-
endpointServiceName?: string | undefined;
|
|
2882
|
-
}
|
|
2883
|
-
export interface OpenSearchServerlessFieldMapping {
|
|
2884
|
-
vectorField: string | undefined;
|
|
2885
|
-
textField: string | undefined;
|
|
2886
|
-
metadataField: string | undefined;
|
|
2887
|
-
}
|
|
2888
|
-
export interface OpenSearchServerlessConfiguration {
|
|
2889
|
-
collectionArn: string | undefined;
|
|
2890
|
-
vectorIndexName: string | undefined;
|
|
2891
|
-
fieldMapping: OpenSearchServerlessFieldMapping | undefined;
|
|
2892
|
-
}
|
|
2893
|
-
export interface PineconeFieldMapping {
|
|
2894
|
-
textField: string | undefined;
|
|
2895
|
-
metadataField: string | undefined;
|
|
2896
|
-
}
|
|
2897
|
-
export interface PineconeConfiguration {
|
|
2898
|
-
connectionString: string | undefined;
|
|
2899
|
-
credentialsSecretArn: string | undefined;
|
|
2900
|
-
namespace?: string | undefined;
|
|
2901
|
-
fieldMapping: PineconeFieldMapping | undefined;
|
|
2902
|
-
}
|
|
2903
|
-
export interface RdsFieldMapping {
|
|
2904
|
-
primaryKeyField: string | undefined;
|
|
2905
|
-
vectorField: string | undefined;
|
|
2906
|
-
textField: string | undefined;
|
|
2907
|
-
metadataField: string | undefined;
|
|
2922
|
+
export interface CustomDocumentIdentifier {
|
|
2923
|
+
id: string | undefined;
|
|
2908
2924
|
}
|
|
2909
|
-
export
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
databaseName: string | undefined;
|
|
2913
|
-
tableName: string | undefined;
|
|
2914
|
-
fieldMapping: RdsFieldMapping | undefined;
|
|
2915
|
-
}
|
|
2916
|
-
export interface RedisEnterpriseCloudFieldMapping {
|
|
2917
|
-
vectorField: string | undefined;
|
|
2918
|
-
textField: string | undefined;
|
|
2919
|
-
metadataField: string | undefined;
|
|
2920
|
-
}
|
|
2921
|
-
export interface RedisEnterpriseCloudConfiguration {
|
|
2922
|
-
endpoint: string | undefined;
|
|
2923
|
-
vectorIndexName: string | undefined;
|
|
2924
|
-
credentialsSecretArn: string | undefined;
|
|
2925
|
-
fieldMapping: RedisEnterpriseCloudFieldMapping | undefined;
|
|
2926
|
-
}
|
|
2927
|
-
export declare const KnowledgeBaseStorageType: {
|
|
2928
|
-
readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
|
|
2929
|
-
readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
|
|
2930
|
-
readonly PINECONE: "PINECONE";
|
|
2931
|
-
readonly RDS: "RDS";
|
|
2932
|
-
readonly REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD";
|
|
2925
|
+
export declare const ContentDataSourceType: {
|
|
2926
|
+
readonly CUSTOM: "CUSTOM";
|
|
2927
|
+
readonly S3: "S3";
|
|
2933
2928
|
};
|
|
2934
|
-
export type
|
|
2935
|
-
(typeof
|
|
2936
|
-
export interface
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
| undefined;
|
|
2945
|
-
rdsConfiguration?: RdsConfiguration | undefined;
|
|
2946
|
-
mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration | undefined;
|
|
2947
|
-
}
|
|
2948
|
-
export interface CreateKnowledgeBaseRequest {
|
|
2929
|
+
export type ContentDataSourceType =
|
|
2930
|
+
(typeof ContentDataSourceType)[keyof typeof ContentDataSourceType];
|
|
2931
|
+
export interface DocumentIdentifier {
|
|
2932
|
+
dataSourceType: ContentDataSourceType | undefined;
|
|
2933
|
+
s3?: S3Location | undefined;
|
|
2934
|
+
custom?: CustomDocumentIdentifier | undefined;
|
|
2935
|
+
}
|
|
2936
|
+
export interface DeleteKnowledgeBaseDocumentsRequest {
|
|
2937
|
+
knowledgeBaseId: string | undefined;
|
|
2938
|
+
dataSourceId: string | undefined;
|
|
2949
2939
|
clientToken?: string | undefined;
|
|
2950
|
-
|
|
2951
|
-
description?: string | undefined;
|
|
2952
|
-
roleArn: string | undefined;
|
|
2953
|
-
knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
|
|
2954
|
-
storageConfiguration: StorageConfiguration | undefined;
|
|
2955
|
-
tags?: Record<string, string> | undefined;
|
|
2940
|
+
documentIdentifiers: DocumentIdentifier[] | undefined;
|
|
2956
2941
|
}
|
|
2957
|
-
export declare const
|
|
2958
|
-
readonly
|
|
2959
|
-
readonly CREATING: "CREATING";
|
|
2960
|
-
readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
|
|
2942
|
+
export declare const DocumentStatus: {
|
|
2943
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
2961
2944
|
readonly DELETING: "DELETING";
|
|
2962
2945
|
readonly FAILED: "FAILED";
|
|
2963
|
-
readonly
|
|
2946
|
+
readonly IGNORED: "IGNORED";
|
|
2947
|
+
readonly INDEXED: "INDEXED";
|
|
2948
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
2949
|
+
readonly METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED";
|
|
2950
|
+
readonly METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED";
|
|
2951
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
2952
|
+
readonly PARTIALLY_INDEXED: "PARTIALLY_INDEXED";
|
|
2953
|
+
readonly PENDING: "PENDING";
|
|
2954
|
+
readonly STARTING: "STARTING";
|
|
2964
2955
|
};
|
|
2965
|
-
export type
|
|
2966
|
-
(typeof
|
|
2967
|
-
export interface
|
|
2956
|
+
export type DocumentStatus =
|
|
2957
|
+
(typeof DocumentStatus)[keyof typeof DocumentStatus];
|
|
2958
|
+
export interface KnowledgeBaseDocumentDetail {
|
|
2968
2959
|
knowledgeBaseId: string | undefined;
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
storageConfiguration: StorageConfiguration | undefined;
|
|
2975
|
-
status: KnowledgeBaseStatus | undefined;
|
|
2976
|
-
createdAt: Date | undefined;
|
|
2977
|
-
updatedAt: Date | undefined;
|
|
2978
|
-
failureReasons?: string[] | undefined;
|
|
2960
|
+
dataSourceId: string | undefined;
|
|
2961
|
+
status: DocumentStatus | undefined;
|
|
2962
|
+
identifier: DocumentIdentifier | undefined;
|
|
2963
|
+
statusReason?: string | undefined;
|
|
2964
|
+
updatedAt?: Date | undefined;
|
|
2979
2965
|
}
|
|
2980
|
-
export interface
|
|
2981
|
-
|
|
2966
|
+
export interface DeleteKnowledgeBaseDocumentsResponse {
|
|
2967
|
+
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
2982
2968
|
}
|
|
2983
|
-
export interface
|
|
2969
|
+
export interface GetKnowledgeBaseDocumentsRequest {
|
|
2984
2970
|
knowledgeBaseId: string | undefined;
|
|
2971
|
+
dataSourceId: string | undefined;
|
|
2972
|
+
documentIdentifiers: DocumentIdentifier[] | undefined;
|
|
2985
2973
|
}
|
|
2986
|
-
export interface
|
|
2987
|
-
|
|
2988
|
-
status: KnowledgeBaseStatus | undefined;
|
|
2974
|
+
export interface GetKnowledgeBaseDocumentsResponse {
|
|
2975
|
+
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
2989
2976
|
}
|
|
2990
|
-
export interface
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2977
|
+
export interface ByteContentDoc {
|
|
2978
|
+
mimeType: string | undefined;
|
|
2979
|
+
data: Uint8Array | undefined;
|
|
2980
|
+
}
|
|
2981
|
+
export interface TextContentDoc {
|
|
2982
|
+
data: string | undefined;
|
|
2983
|
+
}
|
|
2984
|
+
export declare const InlineContentType: {
|
|
2985
|
+
readonly BYTE: "BYTE";
|
|
2986
|
+
readonly TEXT: "TEXT";
|
|
2987
|
+
};
|
|
2988
|
+
export type InlineContentType =
|
|
2989
|
+
(typeof InlineContentType)[keyof typeof InlineContentType];
|
|
2990
|
+
export interface InlineContent {
|
|
2991
|
+
type: InlineContentType | undefined;
|
|
2992
|
+
byteContent?: ByteContentDoc | undefined;
|
|
2993
|
+
textContent?: TextContentDoc | undefined;
|
|
2994
2994
|
}
|
|
2995
|
-
export interface DisassociateAgentKnowledgeBaseResponse {}
|
|
2996
2995
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
2997
2996
|
export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
|
|
2998
2997
|
obj: CreateAgentActionGroupRequest
|
|
@@ -3019,6 +3018,30 @@ export declare const PromptOverrideConfigurationFilterSensitiveLog: (
|
|
|
3019
3018
|
obj: PromptOverrideConfiguration
|
|
3020
3019
|
) => any;
|
|
3021
3020
|
export declare const AgentFilterSensitiveLog: (obj: Agent) => any;
|
|
3021
|
+
export declare const AgentCollaboratorFilterSensitiveLog: (
|
|
3022
|
+
obj: AgentCollaborator
|
|
3023
|
+
) => any;
|
|
3024
|
+
export declare const AssociateAgentCollaboratorRequestFilterSensitiveLog: (
|
|
3025
|
+
obj: AssociateAgentCollaboratorRequest
|
|
3026
|
+
) => any;
|
|
3027
|
+
export declare const AssociateAgentCollaboratorResponseFilterSensitiveLog: (
|
|
3028
|
+
obj: AssociateAgentCollaboratorResponse
|
|
3029
|
+
) => any;
|
|
3030
|
+
export declare const GetAgentCollaboratorResponseFilterSensitiveLog: (
|
|
3031
|
+
obj: GetAgentCollaboratorResponse
|
|
3032
|
+
) => any;
|
|
3033
|
+
export declare const AgentCollaboratorSummaryFilterSensitiveLog: (
|
|
3034
|
+
obj: AgentCollaboratorSummary
|
|
3035
|
+
) => any;
|
|
3036
|
+
export declare const ListAgentCollaboratorsResponseFilterSensitiveLog: (
|
|
3037
|
+
obj: ListAgentCollaboratorsResponse
|
|
3038
|
+
) => any;
|
|
3039
|
+
export declare const UpdateAgentCollaboratorRequestFilterSensitiveLog: (
|
|
3040
|
+
obj: UpdateAgentCollaboratorRequest
|
|
3041
|
+
) => any;
|
|
3042
|
+
export declare const UpdateAgentCollaboratorResponseFilterSensitiveLog: (
|
|
3043
|
+
obj: UpdateAgentCollaboratorResponse
|
|
3044
|
+
) => any;
|
|
3022
3045
|
export declare const CreateAgentRequestFilterSensitiveLog: (
|
|
3023
3046
|
obj: CreateAgentRequest
|
|
3024
3047
|
) => any;
|
|
@@ -3163,3 +3186,12 @@ export declare const UpdateFlowRequestFilterSensitiveLog: (
|
|
|
3163
3186
|
export declare const UpdateFlowResponseFilterSensitiveLog: (
|
|
3164
3187
|
obj: UpdateFlowResponse
|
|
3165
3188
|
) => any;
|
|
3189
|
+
export declare const ByteContentDocFilterSensitiveLog: (
|
|
3190
|
+
obj: ByteContentDoc
|
|
3191
|
+
) => any;
|
|
3192
|
+
export declare const TextContentDocFilterSensitiveLog: (
|
|
3193
|
+
obj: TextContentDoc
|
|
3194
|
+
) => any;
|
|
3195
|
+
export declare const InlineContentFilterSensitiveLog: (
|
|
3196
|
+
obj: InlineContent
|
|
3197
|
+
) => any;
|