@aws-sdk/client-bedrock-agent 3.703.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 +40 -0
- package/dist-cjs/index.js +406 -62
- package/dist-es/BedrockAgent.js +10 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
- package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +43 -48
- package/dist-es/models/models_1.js +49 -1
- package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +184 -0
- package/dist-types/BedrockAgent.d.ts +35 -0
- package/dist-types/BedrockAgentClient.d.ts +7 -2
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
- 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/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +389 -294
- package/dist-types/models/models_1.d.ts +301 -1
- package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +116 -98
- package/dist-types/ts3.4/models/models_1.d.ts +103 -0
- package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.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 +60 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -2900,83 +2992,6 @@ export interface InlineContent {
|
|
|
2900
2992
|
byteContent?: ByteContentDoc | undefined;
|
|
2901
2993
|
textContent?: TextContentDoc | undefined;
|
|
2902
2994
|
}
|
|
2903
|
-
export interface CustomS3Location {
|
|
2904
|
-
uri: string | undefined;
|
|
2905
|
-
bucketOwnerAccountId?: string | undefined;
|
|
2906
|
-
}
|
|
2907
|
-
export declare const CustomSourceType: {
|
|
2908
|
-
readonly IN_LINE: "IN_LINE";
|
|
2909
|
-
readonly S3_LOCATION: "S3_LOCATION";
|
|
2910
|
-
};
|
|
2911
|
-
export type CustomSourceType =
|
|
2912
|
-
(typeof CustomSourceType)[keyof typeof CustomSourceType];
|
|
2913
|
-
export interface CustomContent {
|
|
2914
|
-
customDocumentIdentifier: CustomDocumentIdentifier | undefined;
|
|
2915
|
-
sourceType: CustomSourceType | undefined;
|
|
2916
|
-
s3Location?: CustomS3Location | undefined;
|
|
2917
|
-
inlineContent?: InlineContent | undefined;
|
|
2918
|
-
}
|
|
2919
|
-
export interface S3Content {
|
|
2920
|
-
s3Location: S3Location | undefined;
|
|
2921
|
-
}
|
|
2922
|
-
export interface DocumentContent {
|
|
2923
|
-
dataSourceType: ContentDataSourceType | undefined;
|
|
2924
|
-
custom?: CustomContent | undefined;
|
|
2925
|
-
s3?: S3Content | undefined;
|
|
2926
|
-
}
|
|
2927
|
-
export declare const MetadataValueType: {
|
|
2928
|
-
readonly BOOLEAN: "BOOLEAN";
|
|
2929
|
-
readonly NUMBER: "NUMBER";
|
|
2930
|
-
readonly STRING: "STRING";
|
|
2931
|
-
readonly STRING_LIST: "STRING_LIST";
|
|
2932
|
-
};
|
|
2933
|
-
export type MetadataValueType =
|
|
2934
|
-
(typeof MetadataValueType)[keyof typeof MetadataValueType];
|
|
2935
|
-
export interface MetadataAttributeValue {
|
|
2936
|
-
type: MetadataValueType | undefined;
|
|
2937
|
-
numberValue?: number | undefined;
|
|
2938
|
-
booleanValue?: boolean | undefined;
|
|
2939
|
-
stringValue?: string | undefined;
|
|
2940
|
-
stringListValue?: string[] | undefined;
|
|
2941
|
-
}
|
|
2942
|
-
export interface MetadataAttribute {
|
|
2943
|
-
key: string | undefined;
|
|
2944
|
-
value: MetadataAttributeValue | undefined;
|
|
2945
|
-
}
|
|
2946
|
-
export declare const MetadataSourceType: {
|
|
2947
|
-
readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
|
|
2948
|
-
readonly S3_LOCATION: "S3_LOCATION";
|
|
2949
|
-
};
|
|
2950
|
-
export type MetadataSourceType =
|
|
2951
|
-
(typeof MetadataSourceType)[keyof typeof MetadataSourceType];
|
|
2952
|
-
export interface DocumentMetadata {
|
|
2953
|
-
type: MetadataSourceType | undefined;
|
|
2954
|
-
inlineAttributes?: MetadataAttribute[] | undefined;
|
|
2955
|
-
s3Location?: CustomS3Location | undefined;
|
|
2956
|
-
}
|
|
2957
|
-
export interface KnowledgeBaseDocument {
|
|
2958
|
-
metadata?: DocumentMetadata | undefined;
|
|
2959
|
-
content: DocumentContent | undefined;
|
|
2960
|
-
}
|
|
2961
|
-
export interface IngestKnowledgeBaseDocumentsRequest {
|
|
2962
|
-
knowledgeBaseId: string | undefined;
|
|
2963
|
-
dataSourceId: string | undefined;
|
|
2964
|
-
clientToken?: string | undefined;
|
|
2965
|
-
documents: KnowledgeBaseDocument[] | undefined;
|
|
2966
|
-
}
|
|
2967
|
-
export interface IngestKnowledgeBaseDocumentsResponse {
|
|
2968
|
-
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
2969
|
-
}
|
|
2970
|
-
export interface ListKnowledgeBaseDocumentsRequest {
|
|
2971
|
-
knowledgeBaseId: string | undefined;
|
|
2972
|
-
dataSourceId: string | undefined;
|
|
2973
|
-
maxResults?: number | undefined;
|
|
2974
|
-
nextToken?: string | undefined;
|
|
2975
|
-
}
|
|
2976
|
-
export interface ListKnowledgeBaseDocumentsResponse {
|
|
2977
|
-
documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
|
|
2978
|
-
nextToken?: string | undefined;
|
|
2979
|
-
}
|
|
2980
2995
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
2981
2996
|
export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
|
|
2982
2997
|
obj: CreateAgentActionGroupRequest
|
|
@@ -3003,6 +3018,30 @@ export declare const PromptOverrideConfigurationFilterSensitiveLog: (
|
|
|
3003
3018
|
obj: PromptOverrideConfiguration
|
|
3004
3019
|
) => any;
|
|
3005
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;
|
|
3006
3045
|
export declare const CreateAgentRequestFilterSensitiveLog: (
|
|
3007
3046
|
obj: CreateAgentRequest
|
|
3008
3047
|
) => any;
|
|
@@ -3156,24 +3195,3 @@ export declare const TextContentDocFilterSensitiveLog: (
|
|
|
3156
3195
|
export declare const InlineContentFilterSensitiveLog: (
|
|
3157
3196
|
obj: InlineContent
|
|
3158
3197
|
) => any;
|
|
3159
|
-
export declare const CustomContentFilterSensitiveLog: (
|
|
3160
|
-
obj: CustomContent
|
|
3161
|
-
) => any;
|
|
3162
|
-
export declare const DocumentContentFilterSensitiveLog: (
|
|
3163
|
-
obj: DocumentContent
|
|
3164
|
-
) => any;
|
|
3165
|
-
export declare const MetadataAttributeValueFilterSensitiveLog: (
|
|
3166
|
-
obj: MetadataAttributeValue
|
|
3167
|
-
) => any;
|
|
3168
|
-
export declare const MetadataAttributeFilterSensitiveLog: (
|
|
3169
|
-
obj: MetadataAttribute
|
|
3170
|
-
) => any;
|
|
3171
|
-
export declare const DocumentMetadataFilterSensitiveLog: (
|
|
3172
|
-
obj: DocumentMetadata
|
|
3173
|
-
) => any;
|
|
3174
|
-
export declare const KnowledgeBaseDocumentFilterSensitiveLog: (
|
|
3175
|
-
obj: KnowledgeBaseDocument
|
|
3176
|
-
) => any;
|
|
3177
|
-
export declare const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: (
|
|
3178
|
-
obj: IngestKnowledgeBaseDocumentsRequest
|
|
3179
|
-
) => any;
|
|
@@ -5,13 +5,95 @@ import {
|
|
|
5
5
|
AgentStatus,
|
|
6
6
|
AgentVersion,
|
|
7
7
|
AgentVersionSummary,
|
|
8
|
+
ContentDataSourceType,
|
|
9
|
+
CustomDocumentIdentifier,
|
|
8
10
|
FlowDefinition,
|
|
9
11
|
FlowValidation,
|
|
12
|
+
InlineContent,
|
|
13
|
+
KnowledgeBaseDocumentDetail,
|
|
10
14
|
KnowledgeBaseState,
|
|
11
15
|
PromptInferenceConfiguration,
|
|
12
16
|
PromptTemplateConfiguration,
|
|
13
17
|
PromptTemplateType,
|
|
18
|
+
S3Location,
|
|
14
19
|
} from "./models_0";
|
|
20
|
+
export interface CustomS3Location {
|
|
21
|
+
uri: string | undefined;
|
|
22
|
+
bucketOwnerAccountId?: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
export declare const CustomSourceType: {
|
|
25
|
+
readonly IN_LINE: "IN_LINE";
|
|
26
|
+
readonly S3_LOCATION: "S3_LOCATION";
|
|
27
|
+
};
|
|
28
|
+
export type CustomSourceType =
|
|
29
|
+
(typeof CustomSourceType)[keyof typeof CustomSourceType];
|
|
30
|
+
export interface CustomContent {
|
|
31
|
+
customDocumentIdentifier: CustomDocumentIdentifier | undefined;
|
|
32
|
+
sourceType: CustomSourceType | undefined;
|
|
33
|
+
s3Location?: CustomS3Location | undefined;
|
|
34
|
+
inlineContent?: InlineContent | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface S3Content {
|
|
37
|
+
s3Location: S3Location | undefined;
|
|
38
|
+
}
|
|
39
|
+
export interface DocumentContent {
|
|
40
|
+
dataSourceType: ContentDataSourceType | undefined;
|
|
41
|
+
custom?: CustomContent | undefined;
|
|
42
|
+
s3?: S3Content | undefined;
|
|
43
|
+
}
|
|
44
|
+
export declare const MetadataValueType: {
|
|
45
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
46
|
+
readonly NUMBER: "NUMBER";
|
|
47
|
+
readonly STRING: "STRING";
|
|
48
|
+
readonly STRING_LIST: "STRING_LIST";
|
|
49
|
+
};
|
|
50
|
+
export type MetadataValueType =
|
|
51
|
+
(typeof MetadataValueType)[keyof typeof MetadataValueType];
|
|
52
|
+
export interface MetadataAttributeValue {
|
|
53
|
+
type: MetadataValueType | undefined;
|
|
54
|
+
numberValue?: number | undefined;
|
|
55
|
+
booleanValue?: boolean | undefined;
|
|
56
|
+
stringValue?: string | undefined;
|
|
57
|
+
stringListValue?: string[] | undefined;
|
|
58
|
+
}
|
|
59
|
+
export interface MetadataAttribute {
|
|
60
|
+
key: string | undefined;
|
|
61
|
+
value: MetadataAttributeValue | undefined;
|
|
62
|
+
}
|
|
63
|
+
export declare const MetadataSourceType: {
|
|
64
|
+
readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
|
|
65
|
+
readonly S3_LOCATION: "S3_LOCATION";
|
|
66
|
+
};
|
|
67
|
+
export type MetadataSourceType =
|
|
68
|
+
(typeof MetadataSourceType)[keyof typeof MetadataSourceType];
|
|
69
|
+
export interface DocumentMetadata {
|
|
70
|
+
type: MetadataSourceType | undefined;
|
|
71
|
+
inlineAttributes?: MetadataAttribute[] | undefined;
|
|
72
|
+
s3Location?: CustomS3Location | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface KnowledgeBaseDocument {
|
|
75
|
+
metadata?: DocumentMetadata | undefined;
|
|
76
|
+
content: DocumentContent | undefined;
|
|
77
|
+
}
|
|
78
|
+
export interface IngestKnowledgeBaseDocumentsRequest {
|
|
79
|
+
knowledgeBaseId: string | undefined;
|
|
80
|
+
dataSourceId: string | undefined;
|
|
81
|
+
clientToken?: string | undefined;
|
|
82
|
+
documents: KnowledgeBaseDocument[] | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface IngestKnowledgeBaseDocumentsResponse {
|
|
85
|
+
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface ListKnowledgeBaseDocumentsRequest {
|
|
88
|
+
knowledgeBaseId: string | undefined;
|
|
89
|
+
dataSourceId: string | undefined;
|
|
90
|
+
maxResults?: number | undefined;
|
|
91
|
+
nextToken?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface ListKnowledgeBaseDocumentsResponse {
|
|
94
|
+
documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
|
|
95
|
+
nextToken?: string | undefined;
|
|
96
|
+
}
|
|
15
97
|
export interface AssociateAgentKnowledgeBaseRequest {
|
|
16
98
|
agentId: string | undefined;
|
|
17
99
|
agentVersion: string | undefined;
|
|
@@ -423,6 +505,27 @@ export interface ListAgentVersionsResponse {
|
|
|
423
505
|
agentVersionSummaries: AgentVersionSummary[] | undefined;
|
|
424
506
|
nextToken?: string | undefined;
|
|
425
507
|
}
|
|
508
|
+
export declare const CustomContentFilterSensitiveLog: (
|
|
509
|
+
obj: CustomContent
|
|
510
|
+
) => any;
|
|
511
|
+
export declare const DocumentContentFilterSensitiveLog: (
|
|
512
|
+
obj: DocumentContent
|
|
513
|
+
) => any;
|
|
514
|
+
export declare const MetadataAttributeValueFilterSensitiveLog: (
|
|
515
|
+
obj: MetadataAttributeValue
|
|
516
|
+
) => any;
|
|
517
|
+
export declare const MetadataAttributeFilterSensitiveLog: (
|
|
518
|
+
obj: MetadataAttribute
|
|
519
|
+
) => any;
|
|
520
|
+
export declare const DocumentMetadataFilterSensitiveLog: (
|
|
521
|
+
obj: DocumentMetadata
|
|
522
|
+
) => any;
|
|
523
|
+
export declare const KnowledgeBaseDocumentFilterSensitiveLog: (
|
|
524
|
+
obj: KnowledgeBaseDocument
|
|
525
|
+
) => any;
|
|
526
|
+
export declare const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: (
|
|
527
|
+
obj: IngestKnowledgeBaseDocumentsRequest
|
|
528
|
+
) => any;
|
|
426
529
|
export declare const PromptAgentResourceFilterSensitiveLog: (
|
|
427
530
|
obj: PromptAgentResource
|
|
428
531
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAgentCollaboratorsCommandInput,
|
|
4
|
+
ListAgentCollaboratorsCommandOutput,
|
|
5
|
+
} from "../commands/ListAgentCollaboratorsCommand";
|
|
6
|
+
import { BedrockAgentPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListAgentCollaborators: (
|
|
8
|
+
config: BedrockAgentPaginationConfiguration,
|
|
9
|
+
input: ListAgentCollaboratorsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAgentCollaboratorsCommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAgentActionGroupsPaginator";
|
|
3
3
|
export * from "./ListAgentAliasesPaginator";
|
|
4
|
+
export * from "./ListAgentCollaboratorsPaginator";
|
|
4
5
|
export * from "./ListAgentKnowledgeBasesPaginator";
|
|
5
6
|
export * from "./ListAgentVersionsPaginator";
|
|
6
7
|
export * from "./ListAgentsPaginator";
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
AssociateAgentCollaboratorCommandInput,
|
|
8
|
+
AssociateAgentCollaboratorCommandOutput,
|
|
9
|
+
} from "../commands/AssociateAgentCollaboratorCommand";
|
|
6
10
|
import {
|
|
7
11
|
AssociateAgentKnowledgeBaseCommandInput,
|
|
8
12
|
AssociateAgentKnowledgeBaseCommandOutput,
|
|
@@ -91,6 +95,10 @@ import {
|
|
|
91
95
|
DeletePromptCommandInput,
|
|
92
96
|
DeletePromptCommandOutput,
|
|
93
97
|
} from "../commands/DeletePromptCommand";
|
|
98
|
+
import {
|
|
99
|
+
DisassociateAgentCollaboratorCommandInput,
|
|
100
|
+
DisassociateAgentCollaboratorCommandOutput,
|
|
101
|
+
} from "../commands/DisassociateAgentCollaboratorCommand";
|
|
94
102
|
import {
|
|
95
103
|
DisassociateAgentKnowledgeBaseCommandInput,
|
|
96
104
|
DisassociateAgentKnowledgeBaseCommandOutput,
|
|
@@ -103,6 +111,10 @@ import {
|
|
|
103
111
|
GetAgentAliasCommandInput,
|
|
104
112
|
GetAgentAliasCommandOutput,
|
|
105
113
|
} from "../commands/GetAgentAliasCommand";
|
|
114
|
+
import {
|
|
115
|
+
GetAgentCollaboratorCommandInput,
|
|
116
|
+
GetAgentCollaboratorCommandOutput,
|
|
117
|
+
} from "../commands/GetAgentCollaboratorCommand";
|
|
106
118
|
import {
|
|
107
119
|
GetAgentCommandInput,
|
|
108
120
|
GetAgentCommandOutput,
|
|
@@ -159,6 +171,10 @@ import {
|
|
|
159
171
|
ListAgentAliasesCommandInput,
|
|
160
172
|
ListAgentAliasesCommandOutput,
|
|
161
173
|
} from "../commands/ListAgentAliasesCommand";
|
|
174
|
+
import {
|
|
175
|
+
ListAgentCollaboratorsCommandInput,
|
|
176
|
+
ListAgentCollaboratorsCommandOutput,
|
|
177
|
+
} from "../commands/ListAgentCollaboratorsCommand";
|
|
162
178
|
import {
|
|
163
179
|
ListAgentKnowledgeBasesCommandInput,
|
|
164
180
|
ListAgentKnowledgeBasesCommandOutput,
|
|
@@ -239,6 +255,10 @@ import {
|
|
|
239
255
|
UpdateAgentAliasCommandInput,
|
|
240
256
|
UpdateAgentAliasCommandOutput,
|
|
241
257
|
} from "../commands/UpdateAgentAliasCommand";
|
|
258
|
+
import {
|
|
259
|
+
UpdateAgentCollaboratorCommandInput,
|
|
260
|
+
UpdateAgentCollaboratorCommandOutput,
|
|
261
|
+
} from "../commands/UpdateAgentCollaboratorCommand";
|
|
242
262
|
import {
|
|
243
263
|
UpdateAgentCommandInput,
|
|
244
264
|
UpdateAgentCommandOutput,
|
|
@@ -271,6 +291,10 @@ import {
|
|
|
271
291
|
ValidateFlowDefinitionCommandInput,
|
|
272
292
|
ValidateFlowDefinitionCommandOutput,
|
|
273
293
|
} from "../commands/ValidateFlowDefinitionCommand";
|
|
294
|
+
export declare const se_AssociateAgentCollaboratorCommand: (
|
|
295
|
+
input: AssociateAgentCollaboratorCommandInput,
|
|
296
|
+
context: __SerdeContext
|
|
297
|
+
) => Promise<__HttpRequest>;
|
|
274
298
|
export declare const se_AssociateAgentKnowledgeBaseCommand: (
|
|
275
299
|
input: AssociateAgentKnowledgeBaseCommandInput,
|
|
276
300
|
context: __SerdeContext
|
|
@@ -359,6 +383,10 @@ export declare const se_DeletePromptCommand: (
|
|
|
359
383
|
input: DeletePromptCommandInput,
|
|
360
384
|
context: __SerdeContext
|
|
361
385
|
) => Promise<__HttpRequest>;
|
|
386
|
+
export declare const se_DisassociateAgentCollaboratorCommand: (
|
|
387
|
+
input: DisassociateAgentCollaboratorCommandInput,
|
|
388
|
+
context: __SerdeContext
|
|
389
|
+
) => Promise<__HttpRequest>;
|
|
362
390
|
export declare const se_DisassociateAgentKnowledgeBaseCommand: (
|
|
363
391
|
input: DisassociateAgentKnowledgeBaseCommandInput,
|
|
364
392
|
context: __SerdeContext
|
|
@@ -375,6 +403,10 @@ export declare const se_GetAgentAliasCommand: (
|
|
|
375
403
|
input: GetAgentAliasCommandInput,
|
|
376
404
|
context: __SerdeContext
|
|
377
405
|
) => Promise<__HttpRequest>;
|
|
406
|
+
export declare const se_GetAgentCollaboratorCommand: (
|
|
407
|
+
input: GetAgentCollaboratorCommandInput,
|
|
408
|
+
context: __SerdeContext
|
|
409
|
+
) => Promise<__HttpRequest>;
|
|
378
410
|
export declare const se_GetAgentKnowledgeBaseCommand: (
|
|
379
411
|
input: GetAgentKnowledgeBaseCommandInput,
|
|
380
412
|
context: __SerdeContext
|
|
@@ -427,6 +459,10 @@ export declare const se_ListAgentAliasesCommand: (
|
|
|
427
459
|
input: ListAgentAliasesCommandInput,
|
|
428
460
|
context: __SerdeContext
|
|
429
461
|
) => Promise<__HttpRequest>;
|
|
462
|
+
export declare const se_ListAgentCollaboratorsCommand: (
|
|
463
|
+
input: ListAgentCollaboratorsCommandInput,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<__HttpRequest>;
|
|
430
466
|
export declare const se_ListAgentKnowledgeBasesCommand: (
|
|
431
467
|
input: ListAgentKnowledgeBasesCommandInput,
|
|
432
468
|
context: __SerdeContext
|
|
@@ -511,6 +547,10 @@ export declare const se_UpdateAgentAliasCommand: (
|
|
|
511
547
|
input: UpdateAgentAliasCommandInput,
|
|
512
548
|
context: __SerdeContext
|
|
513
549
|
) => Promise<__HttpRequest>;
|
|
550
|
+
export declare const se_UpdateAgentCollaboratorCommand: (
|
|
551
|
+
input: UpdateAgentCollaboratorCommandInput,
|
|
552
|
+
context: __SerdeContext
|
|
553
|
+
) => Promise<__HttpRequest>;
|
|
514
554
|
export declare const se_UpdateAgentKnowledgeBaseCommand: (
|
|
515
555
|
input: UpdateAgentKnowledgeBaseCommandInput,
|
|
516
556
|
context: __SerdeContext
|
|
@@ -539,6 +579,10 @@ export declare const se_ValidateFlowDefinitionCommand: (
|
|
|
539
579
|
input: ValidateFlowDefinitionCommandInput,
|
|
540
580
|
context: __SerdeContext
|
|
541
581
|
) => Promise<__HttpRequest>;
|
|
582
|
+
export declare const de_AssociateAgentCollaboratorCommand: (
|
|
583
|
+
output: __HttpResponse,
|
|
584
|
+
context: __SerdeContext
|
|
585
|
+
) => Promise<AssociateAgentCollaboratorCommandOutput>;
|
|
542
586
|
export declare const de_AssociateAgentKnowledgeBaseCommand: (
|
|
543
587
|
output: __HttpResponse,
|
|
544
588
|
context: __SerdeContext
|
|
@@ -627,6 +671,10 @@ export declare const de_DeletePromptCommand: (
|
|
|
627
671
|
output: __HttpResponse,
|
|
628
672
|
context: __SerdeContext
|
|
629
673
|
) => Promise<DeletePromptCommandOutput>;
|
|
674
|
+
export declare const de_DisassociateAgentCollaboratorCommand: (
|
|
675
|
+
output: __HttpResponse,
|
|
676
|
+
context: __SerdeContext
|
|
677
|
+
) => Promise<DisassociateAgentCollaboratorCommandOutput>;
|
|
630
678
|
export declare const de_DisassociateAgentKnowledgeBaseCommand: (
|
|
631
679
|
output: __HttpResponse,
|
|
632
680
|
context: __SerdeContext
|
|
@@ -643,6 +691,10 @@ export declare const de_GetAgentAliasCommand: (
|
|
|
643
691
|
output: __HttpResponse,
|
|
644
692
|
context: __SerdeContext
|
|
645
693
|
) => Promise<GetAgentAliasCommandOutput>;
|
|
694
|
+
export declare const de_GetAgentCollaboratorCommand: (
|
|
695
|
+
output: __HttpResponse,
|
|
696
|
+
context: __SerdeContext
|
|
697
|
+
) => Promise<GetAgentCollaboratorCommandOutput>;
|
|
646
698
|
export declare const de_GetAgentKnowledgeBaseCommand: (
|
|
647
699
|
output: __HttpResponse,
|
|
648
700
|
context: __SerdeContext
|
|
@@ -695,6 +747,10 @@ export declare const de_ListAgentAliasesCommand: (
|
|
|
695
747
|
output: __HttpResponse,
|
|
696
748
|
context: __SerdeContext
|
|
697
749
|
) => Promise<ListAgentAliasesCommandOutput>;
|
|
750
|
+
export declare const de_ListAgentCollaboratorsCommand: (
|
|
751
|
+
output: __HttpResponse,
|
|
752
|
+
context: __SerdeContext
|
|
753
|
+
) => Promise<ListAgentCollaboratorsCommandOutput>;
|
|
698
754
|
export declare const de_ListAgentKnowledgeBasesCommand: (
|
|
699
755
|
output: __HttpResponse,
|
|
700
756
|
context: __SerdeContext
|
|
@@ -779,6 +835,10 @@ export declare const de_UpdateAgentAliasCommand: (
|
|
|
779
835
|
output: __HttpResponse,
|
|
780
836
|
context: __SerdeContext
|
|
781
837
|
) => Promise<UpdateAgentAliasCommandOutput>;
|
|
838
|
+
export declare const de_UpdateAgentCollaboratorCommand: (
|
|
839
|
+
output: __HttpResponse,
|
|
840
|
+
context: __SerdeContext
|
|
841
|
+
) => Promise<UpdateAgentCollaboratorCommandOutput>;
|
|
782
842
|
export declare const de_UpdateAgentKnowledgeBaseCommand: (
|
|
783
843
|
output: __HttpResponse,
|
|
784
844
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.705.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
|