@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
package/dist-cjs/index.js
CHANGED
|
@@ -29,13 +29,20 @@ __export(src_exports, {
|
|
|
29
29
|
ActionGroupState: () => ActionGroupState,
|
|
30
30
|
AgentActionGroupFilterSensitiveLog: () => AgentActionGroupFilterSensitiveLog,
|
|
31
31
|
AgentAliasStatus: () => AgentAliasStatus,
|
|
32
|
+
AgentCollaboration: () => AgentCollaboration,
|
|
33
|
+
AgentCollaboratorFilterSensitiveLog: () => AgentCollaboratorFilterSensitiveLog,
|
|
34
|
+
AgentCollaboratorSummaryFilterSensitiveLog: () => AgentCollaboratorSummaryFilterSensitiveLog,
|
|
32
35
|
AgentFilterSensitiveLog: () => AgentFilterSensitiveLog,
|
|
33
36
|
AgentStatus: () => AgentStatus,
|
|
34
37
|
AgentVersionFilterSensitiveLog: () => AgentVersionFilterSensitiveLog,
|
|
38
|
+
AssociateAgentCollaboratorCommand: () => AssociateAgentCollaboratorCommand,
|
|
39
|
+
AssociateAgentCollaboratorRequestFilterSensitiveLog: () => AssociateAgentCollaboratorRequestFilterSensitiveLog,
|
|
40
|
+
AssociateAgentCollaboratorResponseFilterSensitiveLog: () => AssociateAgentCollaboratorResponseFilterSensitiveLog,
|
|
35
41
|
AssociateAgentKnowledgeBaseCommand: () => AssociateAgentKnowledgeBaseCommand,
|
|
36
42
|
BedrockAgent: () => BedrockAgent,
|
|
37
43
|
BedrockAgentClient: () => BedrockAgentClient,
|
|
38
44
|
BedrockAgentServiceException: () => BedrockAgentServiceException,
|
|
45
|
+
ByteContentDocFilterSensitiveLog: () => ByteContentDocFilterSensitiveLog,
|
|
39
46
|
ChatPromptTemplateConfigurationFilterSensitiveLog: () => ChatPromptTemplateConfigurationFilterSensitiveLog,
|
|
40
47
|
ChunkingStrategy: () => ChunkingStrategy,
|
|
41
48
|
ConditionFlowNodeConfigurationFilterSensitiveLog: () => ConditionFlowNodeConfigurationFilterSensitiveLog,
|
|
@@ -46,6 +53,7 @@ __export(src_exports, {
|
|
|
46
53
|
ConfluenceHostType: () => ConfluenceHostType,
|
|
47
54
|
ContentBlock: () => ContentBlock,
|
|
48
55
|
ContentBlockFilterSensitiveLog: () => ContentBlockFilterSensitiveLog,
|
|
56
|
+
ContentDataSourceType: () => ContentDataSourceType,
|
|
49
57
|
ConversationRole: () => ConversationRole,
|
|
50
58
|
CrawlFilterConfigurationFilterSensitiveLog: () => CrawlFilterConfigurationFilterSensitiveLog,
|
|
51
59
|
CrawlFilterConfigurationType: () => CrawlFilterConfigurationType,
|
|
@@ -72,7 +80,9 @@ __export(src_exports, {
|
|
|
72
80
|
CreatePromptVersionCommand: () => CreatePromptVersionCommand,
|
|
73
81
|
CreatePromptVersionResponseFilterSensitiveLog: () => CreatePromptVersionResponseFilterSensitiveLog,
|
|
74
82
|
CreationMode: () => CreationMode,
|
|
83
|
+
CustomContentFilterSensitiveLog: () => CustomContentFilterSensitiveLog,
|
|
75
84
|
CustomControlMethod: () => CustomControlMethod,
|
|
85
|
+
CustomSourceType: () => CustomSourceType,
|
|
76
86
|
DataDeletionPolicy: () => DataDeletionPolicy,
|
|
77
87
|
DataSourceConfigurationFilterSensitiveLog: () => DataSourceConfigurationFilterSensitiveLog,
|
|
78
88
|
DataSourceFilterSensitiveLog: () => DataSourceFilterSensitiveLog,
|
|
@@ -87,8 +97,13 @@ __export(src_exports, {
|
|
|
87
97
|
DeleteFlowCommand: () => DeleteFlowCommand,
|
|
88
98
|
DeleteFlowVersionCommand: () => DeleteFlowVersionCommand,
|
|
89
99
|
DeleteKnowledgeBaseCommand: () => DeleteKnowledgeBaseCommand,
|
|
100
|
+
DeleteKnowledgeBaseDocumentsCommand: () => DeleteKnowledgeBaseDocumentsCommand,
|
|
90
101
|
DeletePromptCommand: () => DeletePromptCommand,
|
|
102
|
+
DisassociateAgentCollaboratorCommand: () => DisassociateAgentCollaboratorCommand,
|
|
91
103
|
DisassociateAgentKnowledgeBaseCommand: () => DisassociateAgentKnowledgeBaseCommand,
|
|
104
|
+
DocumentContentFilterSensitiveLog: () => DocumentContentFilterSensitiveLog,
|
|
105
|
+
DocumentMetadataFilterSensitiveLog: () => DocumentMetadataFilterSensitiveLog,
|
|
106
|
+
DocumentStatus: () => DocumentStatus,
|
|
92
107
|
DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog: () => DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog,
|
|
93
108
|
EmbeddingDataType: () => EmbeddingDataType,
|
|
94
109
|
FlowConditionFilterSensitiveLog: () => FlowConditionFilterSensitiveLog,
|
|
@@ -111,6 +126,8 @@ __export(src_exports, {
|
|
|
111
126
|
GetAgentActionGroupCommand: () => GetAgentActionGroupCommand,
|
|
112
127
|
GetAgentActionGroupResponseFilterSensitiveLog: () => GetAgentActionGroupResponseFilterSensitiveLog,
|
|
113
128
|
GetAgentAliasCommand: () => GetAgentAliasCommand,
|
|
129
|
+
GetAgentCollaboratorCommand: () => GetAgentCollaboratorCommand,
|
|
130
|
+
GetAgentCollaboratorResponseFilterSensitiveLog: () => GetAgentCollaboratorResponseFilterSensitiveLog,
|
|
114
131
|
GetAgentCommand: () => GetAgentCommand,
|
|
115
132
|
GetAgentKnowledgeBaseCommand: () => GetAgentKnowledgeBaseCommand,
|
|
116
133
|
GetAgentResponseFilterSensitiveLog: () => GetAgentResponseFilterSensitiveLog,
|
|
@@ -125,19 +142,27 @@ __export(src_exports, {
|
|
|
125
142
|
GetFlowVersionResponseFilterSensitiveLog: () => GetFlowVersionResponseFilterSensitiveLog,
|
|
126
143
|
GetIngestionJobCommand: () => GetIngestionJobCommand,
|
|
127
144
|
GetKnowledgeBaseCommand: () => GetKnowledgeBaseCommand,
|
|
145
|
+
GetKnowledgeBaseDocumentsCommand: () => GetKnowledgeBaseDocumentsCommand,
|
|
128
146
|
GetPromptCommand: () => GetPromptCommand,
|
|
129
147
|
GetPromptResponseFilterSensitiveLog: () => GetPromptResponseFilterSensitiveLog,
|
|
148
|
+
IngestKnowledgeBaseDocumentsCommand: () => IngestKnowledgeBaseDocumentsCommand,
|
|
149
|
+
IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: () => IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog,
|
|
130
150
|
IngestionJobFilterAttribute: () => IngestionJobFilterAttribute,
|
|
131
151
|
IngestionJobFilterOperator: () => IngestionJobFilterOperator,
|
|
132
152
|
IngestionJobSortByAttribute: () => IngestionJobSortByAttribute,
|
|
133
153
|
IngestionJobStatus: () => IngestionJobStatus,
|
|
154
|
+
InlineContentFilterSensitiveLog: () => InlineContentFilterSensitiveLog,
|
|
155
|
+
InlineContentType: () => InlineContentType,
|
|
134
156
|
InternalServerException: () => InternalServerException,
|
|
157
|
+
KnowledgeBaseDocumentFilterSensitiveLog: () => KnowledgeBaseDocumentFilterSensitiveLog,
|
|
135
158
|
KnowledgeBaseState: () => KnowledgeBaseState,
|
|
136
159
|
KnowledgeBaseStatus: () => KnowledgeBaseStatus,
|
|
137
160
|
KnowledgeBaseStorageType: () => KnowledgeBaseStorageType,
|
|
138
161
|
KnowledgeBaseType: () => KnowledgeBaseType,
|
|
139
162
|
ListAgentActionGroupsCommand: () => ListAgentActionGroupsCommand,
|
|
140
163
|
ListAgentAliasesCommand: () => ListAgentAliasesCommand,
|
|
164
|
+
ListAgentCollaboratorsCommand: () => ListAgentCollaboratorsCommand,
|
|
165
|
+
ListAgentCollaboratorsResponseFilterSensitiveLog: () => ListAgentCollaboratorsResponseFilterSensitiveLog,
|
|
141
166
|
ListAgentKnowledgeBasesCommand: () => ListAgentKnowledgeBasesCommand,
|
|
142
167
|
ListAgentVersionsCommand: () => ListAgentVersionsCommand,
|
|
143
168
|
ListAgentsCommand: () => ListAgentsCommand,
|
|
@@ -146,11 +171,16 @@ __export(src_exports, {
|
|
|
146
171
|
ListFlowVersionsCommand: () => ListFlowVersionsCommand,
|
|
147
172
|
ListFlowsCommand: () => ListFlowsCommand,
|
|
148
173
|
ListIngestionJobsCommand: () => ListIngestionJobsCommand,
|
|
174
|
+
ListKnowledgeBaseDocumentsCommand: () => ListKnowledgeBaseDocumentsCommand,
|
|
149
175
|
ListKnowledgeBasesCommand: () => ListKnowledgeBasesCommand,
|
|
150
176
|
ListPromptsCommand: () => ListPromptsCommand,
|
|
151
177
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
152
178
|
MemoryType: () => MemoryType,
|
|
153
179
|
MessageFilterSensitiveLog: () => MessageFilterSensitiveLog,
|
|
180
|
+
MetadataAttributeFilterSensitiveLog: () => MetadataAttributeFilterSensitiveLog,
|
|
181
|
+
MetadataAttributeValueFilterSensitiveLog: () => MetadataAttributeValueFilterSensitiveLog,
|
|
182
|
+
MetadataSourceType: () => MetadataSourceType,
|
|
183
|
+
MetadataValueType: () => MetadataValueType,
|
|
154
184
|
OrchestrationExecutor: () => OrchestrationExecutor,
|
|
155
185
|
OrchestrationType: () => OrchestrationType,
|
|
156
186
|
ParsingStrategy: () => ParsingStrategy,
|
|
@@ -175,6 +205,7 @@ __export(src_exports, {
|
|
|
175
205
|
PromptTemplateType: () => PromptTemplateType,
|
|
176
206
|
PromptType: () => PromptType,
|
|
177
207
|
PromptVariantFilterSensitiveLog: () => PromptVariantFilterSensitiveLog,
|
|
208
|
+
RelayConversationHistory: () => RelayConversationHistory,
|
|
178
209
|
RequireConfirmation: () => RequireConfirmation,
|
|
179
210
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
180
211
|
RetrievalFlowNodeServiceConfiguration: () => RetrievalFlowNodeServiceConfiguration,
|
|
@@ -195,6 +226,7 @@ __export(src_exports, {
|
|
|
195
226
|
SystemContentBlock: () => SystemContentBlock,
|
|
196
227
|
SystemContentBlockFilterSensitiveLog: () => SystemContentBlockFilterSensitiveLog,
|
|
197
228
|
TagResourceCommand: () => TagResourceCommand,
|
|
229
|
+
TextContentDocFilterSensitiveLog: () => TextContentDocFilterSensitiveLog,
|
|
198
230
|
TextPromptTemplateConfigurationFilterSensitiveLog: () => TextPromptTemplateConfigurationFilterSensitiveLog,
|
|
199
231
|
ThrottlingException: () => ThrottlingException,
|
|
200
232
|
Tool: () => Tool,
|
|
@@ -208,6 +240,9 @@ __export(src_exports, {
|
|
|
208
240
|
UpdateAgentActionGroupRequestFilterSensitiveLog: () => UpdateAgentActionGroupRequestFilterSensitiveLog,
|
|
209
241
|
UpdateAgentActionGroupResponseFilterSensitiveLog: () => UpdateAgentActionGroupResponseFilterSensitiveLog,
|
|
210
242
|
UpdateAgentAliasCommand: () => UpdateAgentAliasCommand,
|
|
243
|
+
UpdateAgentCollaboratorCommand: () => UpdateAgentCollaboratorCommand,
|
|
244
|
+
UpdateAgentCollaboratorRequestFilterSensitiveLog: () => UpdateAgentCollaboratorRequestFilterSensitiveLog,
|
|
245
|
+
UpdateAgentCollaboratorResponseFilterSensitiveLog: () => UpdateAgentCollaboratorResponseFilterSensitiveLog,
|
|
211
246
|
UpdateAgentCommand: () => UpdateAgentCommand,
|
|
212
247
|
UpdateAgentKnowledgeBaseCommand: () => UpdateAgentKnowledgeBaseCommand,
|
|
213
248
|
UpdateAgentRequestFilterSensitiveLog: () => UpdateAgentRequestFilterSensitiveLog,
|
|
@@ -233,6 +268,7 @@ __export(src_exports, {
|
|
|
233
268
|
__Client: () => import_smithy_client.Client,
|
|
234
269
|
paginateListAgentActionGroups: () => paginateListAgentActionGroups,
|
|
235
270
|
paginateListAgentAliases: () => paginateListAgentAliases,
|
|
271
|
+
paginateListAgentCollaborators: () => paginateListAgentCollaborators,
|
|
236
272
|
paginateListAgentKnowledgeBases: () => paginateListAgentKnowledgeBases,
|
|
237
273
|
paginateListAgentVersions: () => paginateListAgentVersions,
|
|
238
274
|
paginateListAgents: () => paginateListAgents,
|
|
@@ -241,6 +277,7 @@ __export(src_exports, {
|
|
|
241
277
|
paginateListFlowVersions: () => paginateListFlowVersions,
|
|
242
278
|
paginateListFlows: () => paginateListFlows,
|
|
243
279
|
paginateListIngestionJobs: () => paginateListIngestionJobs,
|
|
280
|
+
paginateListKnowledgeBaseDocuments: () => paginateListKnowledgeBaseDocuments,
|
|
244
281
|
paginateListKnowledgeBases: () => paginateListKnowledgeBases,
|
|
245
282
|
paginateListPrompts: () => paginateListPrompts
|
|
246
283
|
});
|
|
@@ -386,16 +423,13 @@ var BedrockAgentClient = _BedrockAgentClient;
|
|
|
386
423
|
// src/BedrockAgent.ts
|
|
387
424
|
|
|
388
425
|
|
|
389
|
-
// src/commands/
|
|
426
|
+
// src/commands/AssociateAgentCollaboratorCommand.ts
|
|
390
427
|
|
|
391
428
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
392
429
|
|
|
393
430
|
|
|
394
|
-
// src/
|
|
395
|
-
var import_core2 = require("@aws-sdk/core");
|
|
396
|
-
|
|
431
|
+
// src/models/models_0.ts
|
|
397
432
|
|
|
398
|
-
var import_uuid = require("uuid");
|
|
399
433
|
|
|
400
434
|
// src/models/BedrockAgentServiceException.ts
|
|
401
435
|
|
|
@@ -412,7 +446,6 @@ __name(_BedrockAgentServiceException, "BedrockAgentServiceException");
|
|
|
412
446
|
var BedrockAgentServiceException = _BedrockAgentServiceException;
|
|
413
447
|
|
|
414
448
|
// src/models/models_0.ts
|
|
415
|
-
|
|
416
449
|
var _AccessDeniedException = class _AccessDeniedException extends BedrockAgentServiceException {
|
|
417
450
|
/**
|
|
418
451
|
* @internal
|
|
@@ -583,6 +616,11 @@ var _ValidationException = class _ValidationException extends BedrockAgentServic
|
|
|
583
616
|
};
|
|
584
617
|
__name(_ValidationException, "ValidationException");
|
|
585
618
|
var ValidationException = _ValidationException;
|
|
619
|
+
var AgentCollaboration = {
|
|
620
|
+
DISABLED: "DISABLED",
|
|
621
|
+
SUPERVISOR: "SUPERVISOR",
|
|
622
|
+
SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER"
|
|
623
|
+
};
|
|
586
624
|
var AgentStatus = {
|
|
587
625
|
CREATING: "CREATING",
|
|
588
626
|
DELETING: "DELETING",
|
|
@@ -629,6 +667,10 @@ var AgentAliasStatus = {
|
|
|
629
667
|
PREPARED: "PREPARED",
|
|
630
668
|
UPDATING: "UPDATING"
|
|
631
669
|
};
|
|
670
|
+
var RelayConversationHistory = {
|
|
671
|
+
DISABLED: "DISABLED",
|
|
672
|
+
TO_COLLABORATOR: "TO_COLLABORATOR"
|
|
673
|
+
};
|
|
632
674
|
var KnowledgeBaseState = {
|
|
633
675
|
DISABLED: "DISABLED",
|
|
634
676
|
ENABLED: "ENABLED"
|
|
@@ -658,6 +700,7 @@ var SharePointHostType = {
|
|
|
658
700
|
};
|
|
659
701
|
var DataSourceType = {
|
|
660
702
|
CONFLUENCE: "CONFLUENCE",
|
|
703
|
+
CUSTOM: "CUSTOM",
|
|
661
704
|
S3: "S3",
|
|
662
705
|
SALESFORCE: "SALESFORCE",
|
|
663
706
|
SHAREPOINT: "SHAREPOINT",
|
|
@@ -960,27 +1003,27 @@ var SortOrder = {
|
|
|
960
1003
|
ASCENDING: "ASCENDING",
|
|
961
1004
|
DESCENDING: "DESCENDING"
|
|
962
1005
|
};
|
|
963
|
-
var
|
|
964
|
-
|
|
1006
|
+
var ContentDataSourceType = {
|
|
1007
|
+
CUSTOM: "CUSTOM",
|
|
1008
|
+
S3: "S3"
|
|
965
1009
|
};
|
|
966
|
-
var
|
|
967
|
-
|
|
968
|
-
FLOAT32: "FLOAT32"
|
|
969
|
-
};
|
|
970
|
-
var KnowledgeBaseStorageType = {
|
|
971
|
-
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
972
|
-
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
973
|
-
PINECONE: "PINECONE",
|
|
974
|
-
RDS: "RDS",
|
|
975
|
-
REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD"
|
|
976
|
-
};
|
|
977
|
-
var KnowledgeBaseStatus = {
|
|
978
|
-
ACTIVE: "ACTIVE",
|
|
979
|
-
CREATING: "CREATING",
|
|
980
|
-
DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
|
|
1010
|
+
var DocumentStatus = {
|
|
1011
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
981
1012
|
DELETING: "DELETING",
|
|
982
1013
|
FAILED: "FAILED",
|
|
983
|
-
|
|
1014
|
+
IGNORED: "IGNORED",
|
|
1015
|
+
INDEXED: "INDEXED",
|
|
1016
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1017
|
+
METADATA_PARTIALLY_INDEXED: "METADATA_PARTIALLY_INDEXED",
|
|
1018
|
+
METADATA_UPDATE_FAILED: "METADATA_UPDATE_FAILED",
|
|
1019
|
+
NOT_FOUND: "NOT_FOUND",
|
|
1020
|
+
PARTIALLY_INDEXED: "PARTIALLY_INDEXED",
|
|
1021
|
+
PENDING: "PENDING",
|
|
1022
|
+
STARTING: "STARTING"
|
|
1023
|
+
};
|
|
1024
|
+
var InlineContentType = {
|
|
1025
|
+
BYTE: "BYTE",
|
|
1026
|
+
TEXT: "TEXT"
|
|
984
1027
|
};
|
|
985
1028
|
var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
986
1029
|
if (obj.s3 !== void 0)
|
|
@@ -1036,6 +1079,42 @@ var AgentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
1036
1079
|
...obj.customOrchestration && { customOrchestration: obj.customOrchestration },
|
|
1037
1080
|
...obj.promptOverrideConfiguration && { promptOverrideConfiguration: import_smithy_client.SENSITIVE_STRING }
|
|
1038
1081
|
}), "AgentFilterSensitiveLog");
|
|
1082
|
+
var AgentCollaboratorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1083
|
+
...obj,
|
|
1084
|
+
...obj.collaborationInstruction && { collaborationInstruction: import_smithy_client.SENSITIVE_STRING }
|
|
1085
|
+
}), "AgentCollaboratorFilterSensitiveLog");
|
|
1086
|
+
var AssociateAgentCollaboratorRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1087
|
+
...obj,
|
|
1088
|
+
...obj.collaborationInstruction && { collaborationInstruction: import_smithy_client.SENSITIVE_STRING }
|
|
1089
|
+
}), "AssociateAgentCollaboratorRequestFilterSensitiveLog");
|
|
1090
|
+
var AssociateAgentCollaboratorResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1091
|
+
...obj,
|
|
1092
|
+
...obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }
|
|
1093
|
+
}), "AssociateAgentCollaboratorResponseFilterSensitiveLog");
|
|
1094
|
+
var GetAgentCollaboratorResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1095
|
+
...obj,
|
|
1096
|
+
...obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }
|
|
1097
|
+
}), "GetAgentCollaboratorResponseFilterSensitiveLog");
|
|
1098
|
+
var AgentCollaboratorSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1099
|
+
...obj,
|
|
1100
|
+
...obj.collaborationInstruction && { collaborationInstruction: import_smithy_client.SENSITIVE_STRING }
|
|
1101
|
+
}), "AgentCollaboratorSummaryFilterSensitiveLog");
|
|
1102
|
+
var ListAgentCollaboratorsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1103
|
+
...obj,
|
|
1104
|
+
...obj.agentCollaboratorSummaries && {
|
|
1105
|
+
agentCollaboratorSummaries: obj.agentCollaboratorSummaries.map(
|
|
1106
|
+
(item) => AgentCollaboratorSummaryFilterSensitiveLog(item)
|
|
1107
|
+
)
|
|
1108
|
+
}
|
|
1109
|
+
}), "ListAgentCollaboratorsResponseFilterSensitiveLog");
|
|
1110
|
+
var UpdateAgentCollaboratorRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1111
|
+
...obj,
|
|
1112
|
+
...obj.collaborationInstruction && { collaborationInstruction: import_smithy_client.SENSITIVE_STRING }
|
|
1113
|
+
}), "UpdateAgentCollaboratorRequestFilterSensitiveLog");
|
|
1114
|
+
var UpdateAgentCollaboratorResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1115
|
+
...obj,
|
|
1116
|
+
...obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }
|
|
1117
|
+
}), "UpdateAgentCollaboratorResponseFilterSensitiveLog");
|
|
1039
1118
|
var CreateAgentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1040
1119
|
...obj,
|
|
1041
1120
|
...obj.instruction && { instruction: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -1393,8 +1472,46 @@ var UpdateFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
1393
1472
|
...obj,
|
|
1394
1473
|
...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING }
|
|
1395
1474
|
}), "UpdateFlowResponseFilterSensitiveLog");
|
|
1475
|
+
var ByteContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1476
|
+
...obj,
|
|
1477
|
+
...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
|
|
1478
|
+
}), "ByteContentDocFilterSensitiveLog");
|
|
1479
|
+
var TextContentDocFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1480
|
+
...obj,
|
|
1481
|
+
...obj.data && { data: import_smithy_client.SENSITIVE_STRING }
|
|
1482
|
+
}), "TextContentDocFilterSensitiveLog");
|
|
1483
|
+
var InlineContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1484
|
+
...obj,
|
|
1485
|
+
...obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) },
|
|
1486
|
+
...obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }
|
|
1487
|
+
}), "InlineContentFilterSensitiveLog");
|
|
1396
1488
|
|
|
1397
1489
|
// src/protocols/Aws_restJson1.ts
|
|
1490
|
+
var import_core2 = require("@aws-sdk/core");
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
var import_uuid = require("uuid");
|
|
1494
|
+
var se_AssociateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1495
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1496
|
+
const headers = {
|
|
1497
|
+
"content-type": "application/json"
|
|
1498
|
+
};
|
|
1499
|
+
b.bp("/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators");
|
|
1500
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
1501
|
+
b.p("agentVersion", () => input.agentVersion, "{agentVersion}", false);
|
|
1502
|
+
let body;
|
|
1503
|
+
body = JSON.stringify(
|
|
1504
|
+
(0, import_smithy_client.take)(input, {
|
|
1505
|
+
agentDescriptor: (_) => (0, import_smithy_client._json)(_),
|
|
1506
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1507
|
+
collaborationInstruction: [],
|
|
1508
|
+
collaboratorName: [],
|
|
1509
|
+
relayConversationHistory: []
|
|
1510
|
+
})
|
|
1511
|
+
);
|
|
1512
|
+
b.m("PUT").h(headers).b(body);
|
|
1513
|
+
return b.build();
|
|
1514
|
+
}, "se_AssociateAgentCollaboratorCommand");
|
|
1398
1515
|
var se_AssociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1399
1516
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1400
1517
|
const headers = {
|
|
@@ -1423,6 +1540,7 @@ var se_CreateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1423
1540
|
let body;
|
|
1424
1541
|
body = JSON.stringify(
|
|
1425
1542
|
(0, import_smithy_client.take)(input, {
|
|
1543
|
+
agentCollaboration: [],
|
|
1426
1544
|
agentName: [],
|
|
1427
1545
|
agentResourceRoleArn: [],
|
|
1428
1546
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
@@ -1729,6 +1847,24 @@ var se_DeleteKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1729
1847
|
b.m("DELETE").h(headers).b(body);
|
|
1730
1848
|
return b.build();
|
|
1731
1849
|
}, "se_DeleteKnowledgeBaseCommand");
|
|
1850
|
+
var se_DeleteKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1851
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1852
|
+
const headers = {
|
|
1853
|
+
"content-type": "application/json"
|
|
1854
|
+
};
|
|
1855
|
+
b.bp("/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/deleteDocuments");
|
|
1856
|
+
b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
1857
|
+
b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
|
|
1858
|
+
let body;
|
|
1859
|
+
body = JSON.stringify(
|
|
1860
|
+
(0, import_smithy_client.take)(input, {
|
|
1861
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1862
|
+
documentIdentifiers: (_) => (0, import_smithy_client._json)(_)
|
|
1863
|
+
})
|
|
1864
|
+
);
|
|
1865
|
+
b.m("POST").h(headers).b(body);
|
|
1866
|
+
return b.build();
|
|
1867
|
+
}, "se_DeleteKnowledgeBaseDocumentsCommand");
|
|
1732
1868
|
var se_DeletePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1733
1869
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1734
1870
|
const headers = {};
|
|
@@ -1741,6 +1877,17 @@ var se_DeletePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1741
1877
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
1742
1878
|
return b.build();
|
|
1743
1879
|
}, "se_DeletePromptCommand");
|
|
1880
|
+
var se_DisassociateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1881
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1882
|
+
const headers = {};
|
|
1883
|
+
b.bp("/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}");
|
|
1884
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
1885
|
+
b.p("agentVersion", () => input.agentVersion, "{agentVersion}", false);
|
|
1886
|
+
b.p("collaboratorId", () => input.collaboratorId, "{collaboratorId}", false);
|
|
1887
|
+
let body;
|
|
1888
|
+
b.m("DELETE").h(headers).b(body);
|
|
1889
|
+
return b.build();
|
|
1890
|
+
}, "se_DisassociateAgentCollaboratorCommand");
|
|
1744
1891
|
var se_DisassociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1745
1892
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1746
1893
|
const headers = {};
|
|
@@ -1782,6 +1929,17 @@ var se_GetAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1782
1929
|
b.m("GET").h(headers).b(body);
|
|
1783
1930
|
return b.build();
|
|
1784
1931
|
}, "se_GetAgentAliasCommand");
|
|
1932
|
+
var se_GetAgentCollaboratorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1933
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1934
|
+
const headers = {};
|
|
1935
|
+
b.bp("/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}");
|
|
1936
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
1937
|
+
b.p("agentVersion", () => input.agentVersion, "{agentVersion}", false);
|
|
1938
|
+
b.p("collaboratorId", () => input.collaboratorId, "{collaboratorId}", false);
|
|
1939
|
+
let body;
|
|
1940
|
+
b.m("GET").h(headers).b(body);
|
|
1941
|
+
return b.build();
|
|
1942
|
+
}, "se_GetAgentCollaboratorCommand");
|
|
1785
1943
|
var se_GetAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1786
1944
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1787
1945
|
const headers = {};
|
|
@@ -1862,6 +2020,23 @@ var se_GetKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1862
2020
|
b.m("GET").h(headers).b(body);
|
|
1863
2021
|
return b.build();
|
|
1864
2022
|
}, "se_GetKnowledgeBaseCommand");
|
|
2023
|
+
var se_GetKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2024
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2025
|
+
const headers = {
|
|
2026
|
+
"content-type": "application/json"
|
|
2027
|
+
};
|
|
2028
|
+
b.bp("/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/getDocuments");
|
|
2029
|
+
b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
2030
|
+
b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
|
|
2031
|
+
let body;
|
|
2032
|
+
body = JSON.stringify(
|
|
2033
|
+
(0, import_smithy_client.take)(input, {
|
|
2034
|
+
documentIdentifiers: (_) => (0, import_smithy_client._json)(_)
|
|
2035
|
+
})
|
|
2036
|
+
);
|
|
2037
|
+
b.m("POST").h(headers).b(body);
|
|
2038
|
+
return b.build();
|
|
2039
|
+
}, "se_GetKnowledgeBaseDocumentsCommand");
|
|
1865
2040
|
var se_GetPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1866
2041
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1867
2042
|
const headers = {};
|
|
@@ -1874,6 +2049,24 @@ var se_GetPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1874
2049
|
b.m("GET").h(headers).q(query).b(body);
|
|
1875
2050
|
return b.build();
|
|
1876
2051
|
}, "se_GetPromptCommand");
|
|
2052
|
+
var se_IngestKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2053
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2054
|
+
const headers = {
|
|
2055
|
+
"content-type": "application/json"
|
|
2056
|
+
};
|
|
2057
|
+
b.bp("/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents");
|
|
2058
|
+
b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
2059
|
+
b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
|
|
2060
|
+
let body;
|
|
2061
|
+
body = JSON.stringify(
|
|
2062
|
+
(0, import_smithy_client.take)(input, {
|
|
2063
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2064
|
+
documents: (_) => se_KnowledgeBaseDocuments(_, context)
|
|
2065
|
+
})
|
|
2066
|
+
);
|
|
2067
|
+
b.m("PUT").h(headers).b(body);
|
|
2068
|
+
return b.build();
|
|
2069
|
+
}, "se_IngestKnowledgeBaseDocumentsCommand");
|
|
1877
2070
|
var se_ListAgentActionGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1878
2071
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1879
2072
|
const headers = {
|
|
@@ -1909,6 +2102,24 @@ var se_ListAgentAliasesCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1909
2102
|
b.m("POST").h(headers).b(body);
|
|
1910
2103
|
return b.build();
|
|
1911
2104
|
}, "se_ListAgentAliasesCommand");
|
|
2105
|
+
var se_ListAgentCollaboratorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2106
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2107
|
+
const headers = {
|
|
2108
|
+
"content-type": "application/json"
|
|
2109
|
+
};
|
|
2110
|
+
b.bp("/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators");
|
|
2111
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
2112
|
+
b.p("agentVersion", () => input.agentVersion, "{agentVersion}", false);
|
|
2113
|
+
let body;
|
|
2114
|
+
body = JSON.stringify(
|
|
2115
|
+
(0, import_smithy_client.take)(input, {
|
|
2116
|
+
maxResults: [],
|
|
2117
|
+
nextToken: []
|
|
2118
|
+
})
|
|
2119
|
+
);
|
|
2120
|
+
b.m("POST").h(headers).b(body);
|
|
2121
|
+
return b.build();
|
|
2122
|
+
}, "se_ListAgentCollaboratorsCommand");
|
|
1912
2123
|
var se_ListAgentKnowledgeBasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1913
2124
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1914
2125
|
const headers = {
|
|
@@ -2035,6 +2246,24 @@ var se_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2035
2246
|
b.m("POST").h(headers).b(body);
|
|
2036
2247
|
return b.build();
|
|
2037
2248
|
}, "se_ListIngestionJobsCommand");
|
|
2249
|
+
var se_ListKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2250
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2251
|
+
const headers = {
|
|
2252
|
+
"content-type": "application/json"
|
|
2253
|
+
};
|
|
2254
|
+
b.bp("/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents");
|
|
2255
|
+
b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
|
|
2256
|
+
b.p("dataSourceId", () => input.dataSourceId, "{dataSourceId}", false);
|
|
2257
|
+
let body;
|
|
2258
|
+
body = JSON.stringify(
|
|
2259
|
+
(0, import_smithy_client.take)(input, {
|
|
2260
|
+
maxResults: [],
|
|
2261
|
+
nextToken: []
|
|
2262
|
+
})
|
|
2263
|
+
);
|
|
2264
|
+
b.m("POST").h(headers).b(body);
|
|
2265
|
+
return b.build();
|
|
2266
|
+
}, "se_ListKnowledgeBaseDocumentsCommand");
|
|
2038
2267
|
var se_ListKnowledgeBasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2039
2268
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2040
2269
|
const headers = {
|
|
@@ -2158,6 +2387,7 @@ var se_UpdateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2158
2387
|
let body;
|
|
2159
2388
|
body = JSON.stringify(
|
|
2160
2389
|
(0, import_smithy_client.take)(input, {
|
|
2390
|
+
agentCollaboration: [],
|
|
2161
2391
|
agentName: [],
|
|
2162
2392
|
agentResourceRoleArn: [],
|
|
2163
2393
|
customOrchestration: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -2218,6 +2448,27 @@ var se_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
2218
2448
|
b.m("PUT").h(headers).b(body);
|
|
2219
2449
|
return b.build();
|
|
2220
2450
|
}, "se_UpdateAgentAliasCommand");
|
|
2451
|
+
var se_UpdateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2452
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2453
|
+
const headers = {
|
|
2454
|
+
"content-type": "application/json"
|
|
2455
|
+
};
|
|
2456
|
+
b.bp("/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}");
|
|
2457
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
2458
|
+
b.p("agentVersion", () => input.agentVersion, "{agentVersion}", false);
|
|
2459
|
+
b.p("collaboratorId", () => input.collaboratorId, "{collaboratorId}", false);
|
|
2460
|
+
let body;
|
|
2461
|
+
body = JSON.stringify(
|
|
2462
|
+
(0, import_smithy_client.take)(input, {
|
|
2463
|
+
agentDescriptor: (_) => (0, import_smithy_client._json)(_),
|
|
2464
|
+
collaborationInstruction: [],
|
|
2465
|
+
collaboratorName: [],
|
|
2466
|
+
relayConversationHistory: []
|
|
2467
|
+
})
|
|
2468
|
+
);
|
|
2469
|
+
b.m("PUT").h(headers).b(body);
|
|
2470
|
+
return b.build();
|
|
2471
|
+
}, "se_UpdateAgentCollaboratorCommand");
|
|
2221
2472
|
var se_UpdateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2222
2473
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2223
2474
|
const headers = {
|
|
@@ -2353,6 +2604,20 @@ var se_ValidateFlowDefinitionCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
2353
2604
|
b.m("POST").h(headers).b(body);
|
|
2354
2605
|
return b.build();
|
|
2355
2606
|
}, "se_ValidateFlowDefinitionCommand");
|
|
2607
|
+
var de_AssociateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2608
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2609
|
+
return de_CommandError(output, context);
|
|
2610
|
+
}
|
|
2611
|
+
const contents = (0, import_smithy_client.map)({
|
|
2612
|
+
$metadata: deserializeMetadata(output)
|
|
2613
|
+
});
|
|
2614
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2615
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2616
|
+
agentCollaborator: (_) => de_AgentCollaborator(_, context)
|
|
2617
|
+
});
|
|
2618
|
+
Object.assign(contents, doc);
|
|
2619
|
+
return contents;
|
|
2620
|
+
}, "de_AssociateAgentCollaboratorCommand");
|
|
2356
2621
|
var de_AssociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2357
2622
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2358
2623
|
return de_CommandError(output, context);
|
|
@@ -2683,6 +2948,20 @@ var de_DeleteKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2683
2948
|
Object.assign(contents, doc);
|
|
2684
2949
|
return contents;
|
|
2685
2950
|
}, "de_DeleteKnowledgeBaseCommand");
|
|
2951
|
+
var de_DeleteKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2952
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2953
|
+
return de_CommandError(output, context);
|
|
2954
|
+
}
|
|
2955
|
+
const contents = (0, import_smithy_client.map)({
|
|
2956
|
+
$metadata: deserializeMetadata(output)
|
|
2957
|
+
});
|
|
2958
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2959
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2960
|
+
documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
|
|
2961
|
+
});
|
|
2962
|
+
Object.assign(contents, doc);
|
|
2963
|
+
return contents;
|
|
2964
|
+
}, "de_DeleteKnowledgeBaseDocumentsCommand");
|
|
2686
2965
|
var de_DeletePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2687
2966
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2688
2967
|
return de_CommandError(output, context);
|
|
@@ -2698,6 +2977,16 @@ var de_DeletePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2698
2977
|
Object.assign(contents, doc);
|
|
2699
2978
|
return contents;
|
|
2700
2979
|
}, "de_DeletePromptCommand");
|
|
2980
|
+
var de_DisassociateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2981
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2982
|
+
return de_CommandError(output, context);
|
|
2983
|
+
}
|
|
2984
|
+
const contents = (0, import_smithy_client.map)({
|
|
2985
|
+
$metadata: deserializeMetadata(output)
|
|
2986
|
+
});
|
|
2987
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2988
|
+
return contents;
|
|
2989
|
+
}, "de_DisassociateAgentCollaboratorCommand");
|
|
2701
2990
|
var de_DisassociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2702
2991
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2703
2992
|
return de_CommandError(output, context);
|
|
@@ -2750,6 +3039,20 @@ var de_GetAgentAliasCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2750
3039
|
Object.assign(contents, doc);
|
|
2751
3040
|
return contents;
|
|
2752
3041
|
}, "de_GetAgentAliasCommand");
|
|
3042
|
+
var de_GetAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3043
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3044
|
+
return de_CommandError(output, context);
|
|
3045
|
+
}
|
|
3046
|
+
const contents = (0, import_smithy_client.map)({
|
|
3047
|
+
$metadata: deserializeMetadata(output)
|
|
3048
|
+
});
|
|
3049
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3050
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3051
|
+
agentCollaborator: (_) => de_AgentCollaborator(_, context)
|
|
3052
|
+
});
|
|
3053
|
+
Object.assign(contents, doc);
|
|
3054
|
+
return contents;
|
|
3055
|
+
}, "de_GetAgentCollaboratorCommand");
|
|
2753
3056
|
var de_GetAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2754
3057
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2755
3058
|
return de_CommandError(output, context);
|
|
@@ -2889,6 +3192,20 @@ var de_GetKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2889
3192
|
Object.assign(contents, doc);
|
|
2890
3193
|
return contents;
|
|
2891
3194
|
}, "de_GetKnowledgeBaseCommand");
|
|
3195
|
+
var de_GetKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3196
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3197
|
+
return de_CommandError(output, context);
|
|
3198
|
+
}
|
|
3199
|
+
const contents = (0, import_smithy_client.map)({
|
|
3200
|
+
$metadata: deserializeMetadata(output)
|
|
3201
|
+
});
|
|
3202
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3203
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3204
|
+
documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
|
|
3205
|
+
});
|
|
3206
|
+
Object.assign(contents, doc);
|
|
3207
|
+
return contents;
|
|
3208
|
+
}, "de_GetKnowledgeBaseDocumentsCommand");
|
|
2892
3209
|
var de_GetPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2893
3210
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2894
3211
|
return de_CommandError(output, context);
|
|
@@ -2912,6 +3229,20 @@ var de_GetPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2912
3229
|
Object.assign(contents, doc);
|
|
2913
3230
|
return contents;
|
|
2914
3231
|
}, "de_GetPromptCommand");
|
|
3232
|
+
var de_IngestKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3233
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
3234
|
+
return de_CommandError(output, context);
|
|
3235
|
+
}
|
|
3236
|
+
const contents = (0, import_smithy_client.map)({
|
|
3237
|
+
$metadata: deserializeMetadata(output)
|
|
3238
|
+
});
|
|
3239
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3240
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3241
|
+
documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
|
|
3242
|
+
});
|
|
3243
|
+
Object.assign(contents, doc);
|
|
3244
|
+
return contents;
|
|
3245
|
+
}, "de_IngestKnowledgeBaseDocumentsCommand");
|
|
2915
3246
|
var de_ListAgentActionGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2916
3247
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2917
3248
|
return de_CommandError(output, context);
|
|
@@ -2942,6 +3273,21 @@ var de_ListAgentAliasesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2942
3273
|
Object.assign(contents, doc);
|
|
2943
3274
|
return contents;
|
|
2944
3275
|
}, "de_ListAgentAliasesCommand");
|
|
3276
|
+
var de_ListAgentCollaboratorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3277
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3278
|
+
return de_CommandError(output, context);
|
|
3279
|
+
}
|
|
3280
|
+
const contents = (0, import_smithy_client.map)({
|
|
3281
|
+
$metadata: deserializeMetadata(output)
|
|
3282
|
+
});
|
|
3283
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3284
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3285
|
+
agentCollaboratorSummaries: (_) => de_AgentCollaboratorSummaries(_, context),
|
|
3286
|
+
nextToken: import_smithy_client.expectString
|
|
3287
|
+
});
|
|
3288
|
+
Object.assign(contents, doc);
|
|
3289
|
+
return contents;
|
|
3290
|
+
}, "de_ListAgentCollaboratorsCommand");
|
|
2945
3291
|
var de_ListAgentKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2946
3292
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2947
3293
|
return de_CommandError(output, context);
|
|
@@ -3062,6 +3408,21 @@ var de_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3062
3408
|
Object.assign(contents, doc);
|
|
3063
3409
|
return contents;
|
|
3064
3410
|
}, "de_ListIngestionJobsCommand");
|
|
3411
|
+
var de_ListKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3412
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3413
|
+
return de_CommandError(output, context);
|
|
3414
|
+
}
|
|
3415
|
+
const contents = (0, import_smithy_client.map)({
|
|
3416
|
+
$metadata: deserializeMetadata(output)
|
|
3417
|
+
});
|
|
3418
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3419
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3420
|
+
documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context),
|
|
3421
|
+
nextToken: import_smithy_client.expectString
|
|
3422
|
+
});
|
|
3423
|
+
Object.assign(contents, doc);
|
|
3424
|
+
return contents;
|
|
3425
|
+
}, "de_ListKnowledgeBaseDocumentsCommand");
|
|
3065
3426
|
var de_ListKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3066
3427
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3067
3428
|
return de_CommandError(output, context);
|
|
@@ -3228,6 +3589,20 @@ var de_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3228
3589
|
Object.assign(contents, doc);
|
|
3229
3590
|
return contents;
|
|
3230
3591
|
}, "de_UpdateAgentAliasCommand");
|
|
3592
|
+
var de_UpdateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3593
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3594
|
+
return de_CommandError(output, context);
|
|
3595
|
+
}
|
|
3596
|
+
const contents = (0, import_smithy_client.map)({
|
|
3597
|
+
$metadata: deserializeMetadata(output)
|
|
3598
|
+
});
|
|
3599
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3600
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3601
|
+
agentCollaborator: (_) => de_AgentCollaborator(_, context)
|
|
3602
|
+
});
|
|
3603
|
+
Object.assign(contents, doc);
|
|
3604
|
+
return contents;
|
|
3605
|
+
}, "de_UpdateAgentCollaboratorCommand");
|
|
3231
3606
|
var de_UpdateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3232
3607
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3233
3608
|
return de_CommandError(output, context);
|
|
@@ -3482,6 +3857,12 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
3482
3857
|
});
|
|
3483
3858
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3484
3859
|
}, "de_ValidationExceptionRes");
|
|
3860
|
+
var se_ByteContentDoc = /* @__PURE__ */ __name((input, context) => {
|
|
3861
|
+
return (0, import_smithy_client.take)(input, {
|
|
3862
|
+
data: context.base64Encoder,
|
|
3863
|
+
mimeType: []
|
|
3864
|
+
});
|
|
3865
|
+
}, "se_ByteContentDoc");
|
|
3485
3866
|
var se_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
3486
3867
|
return (0, import_smithy_client.take)(input, {
|
|
3487
3868
|
inputVariables: import_smithy_client._json,
|
|
@@ -3490,6 +3871,28 @@ var se_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((input, context)
|
|
|
3490
3871
|
toolConfiguration: (_) => se_ToolConfiguration(_, context)
|
|
3491
3872
|
});
|
|
3492
3873
|
}, "se_ChatPromptTemplateConfiguration");
|
|
3874
|
+
var se_CustomContent = /* @__PURE__ */ __name((input, context) => {
|
|
3875
|
+
return (0, import_smithy_client.take)(input, {
|
|
3876
|
+
customDocumentIdentifier: import_smithy_client._json,
|
|
3877
|
+
inlineContent: (_) => se_InlineContent(_, context),
|
|
3878
|
+
s3Location: import_smithy_client._json,
|
|
3879
|
+
sourceType: []
|
|
3880
|
+
});
|
|
3881
|
+
}, "se_CustomContent");
|
|
3882
|
+
var se_DocumentContent = /* @__PURE__ */ __name((input, context) => {
|
|
3883
|
+
return (0, import_smithy_client.take)(input, {
|
|
3884
|
+
custom: (_) => se_CustomContent(_, context),
|
|
3885
|
+
dataSourceType: [],
|
|
3886
|
+
s3: import_smithy_client._json
|
|
3887
|
+
});
|
|
3888
|
+
}, "se_DocumentContent");
|
|
3889
|
+
var se_DocumentMetadata = /* @__PURE__ */ __name((input, context) => {
|
|
3890
|
+
return (0, import_smithy_client.take)(input, {
|
|
3891
|
+
inlineAttributes: (_) => se_MetadataAttributes(_, context),
|
|
3892
|
+
s3Location: import_smithy_client._json,
|
|
3893
|
+
type: []
|
|
3894
|
+
});
|
|
3895
|
+
}, "se_DocumentMetadata");
|
|
3493
3896
|
var se_FlowDefinition = /* @__PURE__ */ __name((input, context) => {
|
|
3494
3897
|
return (0, import_smithy_client.take)(input, {
|
|
3495
3898
|
connections: import_smithy_client._json,
|
|
@@ -3536,9 +3939,48 @@ var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
3536
3939
|
topP: import_smithy_client.serializeFloat
|
|
3537
3940
|
});
|
|
3538
3941
|
}, "se_InferenceConfiguration");
|
|
3942
|
+
var se_InlineContent = /* @__PURE__ */ __name((input, context) => {
|
|
3943
|
+
return (0, import_smithy_client.take)(input, {
|
|
3944
|
+
byteContent: (_) => se_ByteContentDoc(_, context),
|
|
3945
|
+
textContent: import_smithy_client._json,
|
|
3946
|
+
type: []
|
|
3947
|
+
});
|
|
3948
|
+
}, "se_InlineContent");
|
|
3949
|
+
var se_KnowledgeBaseDocument = /* @__PURE__ */ __name((input, context) => {
|
|
3950
|
+
return (0, import_smithy_client.take)(input, {
|
|
3951
|
+
content: (_) => se_DocumentContent(_, context),
|
|
3952
|
+
metadata: (_) => se_DocumentMetadata(_, context)
|
|
3953
|
+
});
|
|
3954
|
+
}, "se_KnowledgeBaseDocument");
|
|
3955
|
+
var se_KnowledgeBaseDocuments = /* @__PURE__ */ __name((input, context) => {
|
|
3956
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3957
|
+
return se_KnowledgeBaseDocument(entry, context);
|
|
3958
|
+
});
|
|
3959
|
+
}, "se_KnowledgeBaseDocuments");
|
|
3960
|
+
var se_MetadataAttribute = /* @__PURE__ */ __name((input, context) => {
|
|
3961
|
+
return (0, import_smithy_client.take)(input, {
|
|
3962
|
+
key: [],
|
|
3963
|
+
value: (_) => se_MetadataAttributeValue(_, context)
|
|
3964
|
+
});
|
|
3965
|
+
}, "se_MetadataAttribute");
|
|
3966
|
+
var se_MetadataAttributes = /* @__PURE__ */ __name((input, context) => {
|
|
3967
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3968
|
+
return se_MetadataAttribute(entry, context);
|
|
3969
|
+
});
|
|
3970
|
+
}, "se_MetadataAttributes");
|
|
3971
|
+
var se_MetadataAttributeValue = /* @__PURE__ */ __name((input, context) => {
|
|
3972
|
+
return (0, import_smithy_client.take)(input, {
|
|
3973
|
+
booleanValue: [],
|
|
3974
|
+
numberValue: import_smithy_client.serializeFloat,
|
|
3975
|
+
stringListValue: import_smithy_client._json,
|
|
3976
|
+
stringValue: [],
|
|
3977
|
+
type: []
|
|
3978
|
+
});
|
|
3979
|
+
}, "se_MetadataAttributeValue");
|
|
3539
3980
|
var se_PromptConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
3540
3981
|
return (0, import_smithy_client.take)(input, {
|
|
3541
3982
|
basePromptTemplate: [],
|
|
3983
|
+
foundationModel: [],
|
|
3542
3984
|
inferenceConfiguration: (_) => se_InferenceConfiguration(_, context),
|
|
3543
3985
|
parserMode: [],
|
|
3544
3986
|
promptCreationMode: [],
|
|
@@ -3668,6 +4110,7 @@ var de_ActionGroupSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
3668
4110
|
var de_Agent = /* @__PURE__ */ __name((output, context) => {
|
|
3669
4111
|
return (0, import_smithy_client.take)(output, {
|
|
3670
4112
|
agentArn: import_smithy_client.expectString,
|
|
4113
|
+
agentCollaboration: import_smithy_client.expectString,
|
|
3671
4114
|
agentId: import_smithy_client.expectString,
|
|
3672
4115
|
agentName: import_smithy_client.expectString,
|
|
3673
4116
|
agentResourceRoleArn: import_smithy_client.expectString,
|
|
@@ -3754,6 +4197,39 @@ var de_AgentAliasSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
3754
4197
|
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
3755
4198
|
});
|
|
3756
4199
|
}, "de_AgentAliasSummary");
|
|
4200
|
+
var de_AgentCollaborator = /* @__PURE__ */ __name((output, context) => {
|
|
4201
|
+
return (0, import_smithy_client.take)(output, {
|
|
4202
|
+
agentDescriptor: import_smithy_client._json,
|
|
4203
|
+
agentId: import_smithy_client.expectString,
|
|
4204
|
+
agentVersion: import_smithy_client.expectString,
|
|
4205
|
+
clientToken: import_smithy_client.expectString,
|
|
4206
|
+
collaborationInstruction: import_smithy_client.expectString,
|
|
4207
|
+
collaboratorId: import_smithy_client.expectString,
|
|
4208
|
+
collaboratorName: import_smithy_client.expectString,
|
|
4209
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4210
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4211
|
+
relayConversationHistory: import_smithy_client.expectString
|
|
4212
|
+
});
|
|
4213
|
+
}, "de_AgentCollaborator");
|
|
4214
|
+
var de_AgentCollaboratorSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
4215
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4216
|
+
return de_AgentCollaboratorSummary(entry, context);
|
|
4217
|
+
});
|
|
4218
|
+
return retVal;
|
|
4219
|
+
}, "de_AgentCollaboratorSummaries");
|
|
4220
|
+
var de_AgentCollaboratorSummary = /* @__PURE__ */ __name((output, context) => {
|
|
4221
|
+
return (0, import_smithy_client.take)(output, {
|
|
4222
|
+
agentDescriptor: import_smithy_client._json,
|
|
4223
|
+
agentId: import_smithy_client.expectString,
|
|
4224
|
+
agentVersion: import_smithy_client.expectString,
|
|
4225
|
+
collaborationInstruction: import_smithy_client.expectString,
|
|
4226
|
+
collaboratorId: import_smithy_client.expectString,
|
|
4227
|
+
collaboratorName: import_smithy_client.expectString,
|
|
4228
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4229
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4230
|
+
relayConversationHistory: import_smithy_client.expectString
|
|
4231
|
+
});
|
|
4232
|
+
}, "de_AgentCollaboratorSummary");
|
|
3757
4233
|
var de_AgentKnowledgeBase = /* @__PURE__ */ __name((output, context) => {
|
|
3758
4234
|
return (0, import_smithy_client.take)(output, {
|
|
3759
4235
|
agentId: import_smithy_client.expectString,
|
|
@@ -3799,6 +4275,7 @@ var de_AgentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
3799
4275
|
var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
|
|
3800
4276
|
return (0, import_smithy_client.take)(output, {
|
|
3801
4277
|
agentArn: import_smithy_client.expectString,
|
|
4278
|
+
agentCollaboration: import_smithy_client.expectString,
|
|
3802
4279
|
agentId: import_smithy_client.expectString,
|
|
3803
4280
|
agentName: import_smithy_client.expectString,
|
|
3804
4281
|
agentResourceRoleArn: import_smithy_client.expectString,
|
|
@@ -4065,6 +4542,22 @@ var de_KnowledgeBase = /* @__PURE__ */ __name((output, context) => {
|
|
|
4065
4542
|
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
4066
4543
|
});
|
|
4067
4544
|
}, "de_KnowledgeBase");
|
|
4545
|
+
var de_KnowledgeBaseDocumentDetail = /* @__PURE__ */ __name((output, context) => {
|
|
4546
|
+
return (0, import_smithy_client.take)(output, {
|
|
4547
|
+
dataSourceId: import_smithy_client.expectString,
|
|
4548
|
+
identifier: import_smithy_client._json,
|
|
4549
|
+
knowledgeBaseId: import_smithy_client.expectString,
|
|
4550
|
+
status: import_smithy_client.expectString,
|
|
4551
|
+
statusReason: import_smithy_client.expectString,
|
|
4552
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
4553
|
+
});
|
|
4554
|
+
}, "de_KnowledgeBaseDocumentDetail");
|
|
4555
|
+
var de_KnowledgeBaseDocumentDetails = /* @__PURE__ */ __name((output, context) => {
|
|
4556
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4557
|
+
return de_KnowledgeBaseDocumentDetail(entry, context);
|
|
4558
|
+
});
|
|
4559
|
+
return retVal;
|
|
4560
|
+
}, "de_KnowledgeBaseDocumentDetails");
|
|
4068
4561
|
var de_KnowledgeBaseSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
4069
4562
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4070
4563
|
return de_KnowledgeBaseSummary(entry, context);
|
|
@@ -4083,6 +4576,7 @@ var de_KnowledgeBaseSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
4083
4576
|
var de_PromptConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
4084
4577
|
return (0, import_smithy_client.take)(output, {
|
|
4085
4578
|
basePromptTemplate: import_smithy_client.expectString,
|
|
4579
|
+
foundationModel: import_smithy_client.expectString,
|
|
4086
4580
|
inferenceConfiguration: (_) => de_InferenceConfiguration(_, context),
|
|
4087
4581
|
parserMode: import_smithy_client.expectString,
|
|
4088
4582
|
promptCreationMode: import_smithy_client.expectString,
|
|
@@ -4245,7 +4739,21 @@ var _pV = "promptVersion";
|
|
|
4245
4739
|
var _sRIUC = "skipResourceInUseCheck";
|
|
4246
4740
|
var _tK = "tagKeys";
|
|
4247
4741
|
|
|
4742
|
+
// src/commands/AssociateAgentCollaboratorCommand.ts
|
|
4743
|
+
var _AssociateAgentCollaboratorCommand = class _AssociateAgentCollaboratorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4744
|
+
return [
|
|
4745
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4746
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4747
|
+
];
|
|
4748
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "AssociateAgentCollaborator", {}).n("BedrockAgentClient", "AssociateAgentCollaboratorCommand").f(AssociateAgentCollaboratorRequestFilterSensitiveLog, AssociateAgentCollaboratorResponseFilterSensitiveLog).ser(se_AssociateAgentCollaboratorCommand).de(de_AssociateAgentCollaboratorCommand).build() {
|
|
4749
|
+
};
|
|
4750
|
+
__name(_AssociateAgentCollaboratorCommand, "AssociateAgentCollaboratorCommand");
|
|
4751
|
+
var AssociateAgentCollaboratorCommand = _AssociateAgentCollaboratorCommand;
|
|
4752
|
+
|
|
4248
4753
|
// src/commands/AssociateAgentKnowledgeBaseCommand.ts
|
|
4754
|
+
|
|
4755
|
+
|
|
4756
|
+
|
|
4249
4757
|
var _AssociateAgentKnowledgeBaseCommand = class _AssociateAgentKnowledgeBaseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4250
4758
|
return [
|
|
4251
4759
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -4375,6 +4883,42 @@ var CreateKnowledgeBaseCommand = _CreateKnowledgeBaseCommand;
|
|
|
4375
4883
|
|
|
4376
4884
|
// src/models/models_1.ts
|
|
4377
4885
|
|
|
4886
|
+
var CustomSourceType = {
|
|
4887
|
+
IN_LINE: "IN_LINE",
|
|
4888
|
+
S3_LOCATION: "S3_LOCATION"
|
|
4889
|
+
};
|
|
4890
|
+
var MetadataValueType = {
|
|
4891
|
+
BOOLEAN: "BOOLEAN",
|
|
4892
|
+
NUMBER: "NUMBER",
|
|
4893
|
+
STRING: "STRING",
|
|
4894
|
+
STRING_LIST: "STRING_LIST"
|
|
4895
|
+
};
|
|
4896
|
+
var MetadataSourceType = {
|
|
4897
|
+
IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
|
|
4898
|
+
S3_LOCATION: "S3_LOCATION"
|
|
4899
|
+
};
|
|
4900
|
+
var KnowledgeBaseType = {
|
|
4901
|
+
VECTOR: "VECTOR"
|
|
4902
|
+
};
|
|
4903
|
+
var EmbeddingDataType = {
|
|
4904
|
+
BINARY: "BINARY",
|
|
4905
|
+
FLOAT32: "FLOAT32"
|
|
4906
|
+
};
|
|
4907
|
+
var KnowledgeBaseStorageType = {
|
|
4908
|
+
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
4909
|
+
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
4910
|
+
PINECONE: "PINECONE",
|
|
4911
|
+
RDS: "RDS",
|
|
4912
|
+
REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD"
|
|
4913
|
+
};
|
|
4914
|
+
var KnowledgeBaseStatus = {
|
|
4915
|
+
ACTIVE: "ACTIVE",
|
|
4916
|
+
CREATING: "CREATING",
|
|
4917
|
+
DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
|
|
4918
|
+
DELETING: "DELETING",
|
|
4919
|
+
FAILED: "FAILED",
|
|
4920
|
+
UPDATING: "UPDATING"
|
|
4921
|
+
};
|
|
4378
4922
|
var PromptGenAiResource;
|
|
4379
4923
|
((PromptGenAiResource2) => {
|
|
4380
4924
|
PromptGenAiResource2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -4383,6 +4927,40 @@ var PromptGenAiResource;
|
|
|
4383
4927
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
4384
4928
|
}, "visit");
|
|
4385
4929
|
})(PromptGenAiResource || (PromptGenAiResource = {}));
|
|
4930
|
+
var CustomContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
4931
|
+
...obj,
|
|
4932
|
+
...obj.inlineContent && { inlineContent: InlineContentFilterSensitiveLog(obj.inlineContent) }
|
|
4933
|
+
}), "CustomContentFilterSensitiveLog");
|
|
4934
|
+
var DocumentContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
4935
|
+
...obj,
|
|
4936
|
+
...obj.custom && { custom: CustomContentFilterSensitiveLog(obj.custom) }
|
|
4937
|
+
}), "DocumentContentFilterSensitiveLog");
|
|
4938
|
+
var MetadataAttributeValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
4939
|
+
...obj,
|
|
4940
|
+
...obj.numberValue && { numberValue: import_smithy_client.SENSITIVE_STRING },
|
|
4941
|
+
...obj.stringValue && { stringValue: import_smithy_client.SENSITIVE_STRING },
|
|
4942
|
+
...obj.stringListValue && { stringListValue: import_smithy_client.SENSITIVE_STRING }
|
|
4943
|
+
}), "MetadataAttributeValueFilterSensitiveLog");
|
|
4944
|
+
var MetadataAttributeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
4945
|
+
...obj,
|
|
4946
|
+
...obj.key && { key: import_smithy_client.SENSITIVE_STRING },
|
|
4947
|
+
...obj.value && { value: MetadataAttributeValueFilterSensitiveLog(obj.value) }
|
|
4948
|
+
}), "MetadataAttributeFilterSensitiveLog");
|
|
4949
|
+
var DocumentMetadataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
4950
|
+
...obj,
|
|
4951
|
+
...obj.inlineAttributes && {
|
|
4952
|
+
inlineAttributes: obj.inlineAttributes.map((item) => MetadataAttributeFilterSensitiveLog(item))
|
|
4953
|
+
}
|
|
4954
|
+
}), "DocumentMetadataFilterSensitiveLog");
|
|
4955
|
+
var KnowledgeBaseDocumentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
4956
|
+
...obj,
|
|
4957
|
+
...obj.metadata && { metadata: DocumentMetadataFilterSensitiveLog(obj.metadata) },
|
|
4958
|
+
...obj.content && { content: DocumentContentFilterSensitiveLog(obj.content) }
|
|
4959
|
+
}), "KnowledgeBaseDocumentFilterSensitiveLog");
|
|
4960
|
+
var IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
4961
|
+
...obj,
|
|
4962
|
+
...obj.documents && { documents: obj.documents.map((item) => KnowledgeBaseDocumentFilterSensitiveLog(item)) }
|
|
4963
|
+
}), "IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog");
|
|
4386
4964
|
var PromptAgentResourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
4387
4965
|
...obj
|
|
4388
4966
|
}), "PromptAgentResourceFilterSensitiveLog");
|
|
@@ -4594,6 +5172,20 @@ var _DeleteKnowledgeBaseCommand = class _DeleteKnowledgeBaseCommand extends impo
|
|
|
4594
5172
|
__name(_DeleteKnowledgeBaseCommand, "DeleteKnowledgeBaseCommand");
|
|
4595
5173
|
var DeleteKnowledgeBaseCommand = _DeleteKnowledgeBaseCommand;
|
|
4596
5174
|
|
|
5175
|
+
// src/commands/DeleteKnowledgeBaseDocumentsCommand.ts
|
|
5176
|
+
|
|
5177
|
+
|
|
5178
|
+
|
|
5179
|
+
var _DeleteKnowledgeBaseDocumentsCommand = class _DeleteKnowledgeBaseDocumentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5180
|
+
return [
|
|
5181
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5182
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5183
|
+
];
|
|
5184
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "DeleteKnowledgeBaseDocuments", {}).n("BedrockAgentClient", "DeleteKnowledgeBaseDocumentsCommand").f(void 0, void 0).ser(se_DeleteKnowledgeBaseDocumentsCommand).de(de_DeleteKnowledgeBaseDocumentsCommand).build() {
|
|
5185
|
+
};
|
|
5186
|
+
__name(_DeleteKnowledgeBaseDocumentsCommand, "DeleteKnowledgeBaseDocumentsCommand");
|
|
5187
|
+
var DeleteKnowledgeBaseDocumentsCommand = _DeleteKnowledgeBaseDocumentsCommand;
|
|
5188
|
+
|
|
4597
5189
|
// src/commands/DeletePromptCommand.ts
|
|
4598
5190
|
|
|
4599
5191
|
|
|
@@ -4608,6 +5200,20 @@ var _DeletePromptCommand = class _DeletePromptCommand extends import_smithy_clie
|
|
|
4608
5200
|
__name(_DeletePromptCommand, "DeletePromptCommand");
|
|
4609
5201
|
var DeletePromptCommand = _DeletePromptCommand;
|
|
4610
5202
|
|
|
5203
|
+
// src/commands/DisassociateAgentCollaboratorCommand.ts
|
|
5204
|
+
|
|
5205
|
+
|
|
5206
|
+
|
|
5207
|
+
var _DisassociateAgentCollaboratorCommand = class _DisassociateAgentCollaboratorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5208
|
+
return [
|
|
5209
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5210
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5211
|
+
];
|
|
5212
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "DisassociateAgentCollaborator", {}).n("BedrockAgentClient", "DisassociateAgentCollaboratorCommand").f(void 0, void 0).ser(se_DisassociateAgentCollaboratorCommand).de(de_DisassociateAgentCollaboratorCommand).build() {
|
|
5213
|
+
};
|
|
5214
|
+
__name(_DisassociateAgentCollaboratorCommand, "DisassociateAgentCollaboratorCommand");
|
|
5215
|
+
var DisassociateAgentCollaboratorCommand = _DisassociateAgentCollaboratorCommand;
|
|
5216
|
+
|
|
4611
5217
|
// src/commands/DisassociateAgentKnowledgeBaseCommand.ts
|
|
4612
5218
|
|
|
4613
5219
|
|
|
@@ -4650,6 +5256,20 @@ var _GetAgentAliasCommand = class _GetAgentAliasCommand extends import_smithy_cl
|
|
|
4650
5256
|
__name(_GetAgentAliasCommand, "GetAgentAliasCommand");
|
|
4651
5257
|
var GetAgentAliasCommand = _GetAgentAliasCommand;
|
|
4652
5258
|
|
|
5259
|
+
// src/commands/GetAgentCollaboratorCommand.ts
|
|
5260
|
+
|
|
5261
|
+
|
|
5262
|
+
|
|
5263
|
+
var _GetAgentCollaboratorCommand = class _GetAgentCollaboratorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5264
|
+
return [
|
|
5265
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5266
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5267
|
+
];
|
|
5268
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "GetAgentCollaborator", {}).n("BedrockAgentClient", "GetAgentCollaboratorCommand").f(void 0, GetAgentCollaboratorResponseFilterSensitiveLog).ser(se_GetAgentCollaboratorCommand).de(de_GetAgentCollaboratorCommand).build() {
|
|
5269
|
+
};
|
|
5270
|
+
__name(_GetAgentCollaboratorCommand, "GetAgentCollaboratorCommand");
|
|
5271
|
+
var GetAgentCollaboratorCommand = _GetAgentCollaboratorCommand;
|
|
5272
|
+
|
|
4653
5273
|
// src/commands/GetAgentCommand.ts
|
|
4654
5274
|
|
|
4655
5275
|
|
|
@@ -4776,6 +5396,20 @@ var _GetKnowledgeBaseCommand = class _GetKnowledgeBaseCommand extends import_smi
|
|
|
4776
5396
|
__name(_GetKnowledgeBaseCommand, "GetKnowledgeBaseCommand");
|
|
4777
5397
|
var GetKnowledgeBaseCommand = _GetKnowledgeBaseCommand;
|
|
4778
5398
|
|
|
5399
|
+
// src/commands/GetKnowledgeBaseDocumentsCommand.ts
|
|
5400
|
+
|
|
5401
|
+
|
|
5402
|
+
|
|
5403
|
+
var _GetKnowledgeBaseDocumentsCommand = class _GetKnowledgeBaseDocumentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5404
|
+
return [
|
|
5405
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5406
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5407
|
+
];
|
|
5408
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "GetKnowledgeBaseDocuments", {}).n("BedrockAgentClient", "GetKnowledgeBaseDocumentsCommand").f(void 0, void 0).ser(se_GetKnowledgeBaseDocumentsCommand).de(de_GetKnowledgeBaseDocumentsCommand).build() {
|
|
5409
|
+
};
|
|
5410
|
+
__name(_GetKnowledgeBaseDocumentsCommand, "GetKnowledgeBaseDocumentsCommand");
|
|
5411
|
+
var GetKnowledgeBaseDocumentsCommand = _GetKnowledgeBaseDocumentsCommand;
|
|
5412
|
+
|
|
4779
5413
|
// src/commands/GetPromptCommand.ts
|
|
4780
5414
|
|
|
4781
5415
|
|
|
@@ -4790,6 +5424,20 @@ var _GetPromptCommand = class _GetPromptCommand extends import_smithy_client.Com
|
|
|
4790
5424
|
__name(_GetPromptCommand, "GetPromptCommand");
|
|
4791
5425
|
var GetPromptCommand = _GetPromptCommand;
|
|
4792
5426
|
|
|
5427
|
+
// src/commands/IngestKnowledgeBaseDocumentsCommand.ts
|
|
5428
|
+
|
|
5429
|
+
|
|
5430
|
+
|
|
5431
|
+
var _IngestKnowledgeBaseDocumentsCommand = class _IngestKnowledgeBaseDocumentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5432
|
+
return [
|
|
5433
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5434
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5435
|
+
];
|
|
5436
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "IngestKnowledgeBaseDocuments", {}).n("BedrockAgentClient", "IngestKnowledgeBaseDocumentsCommand").f(IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog, void 0).ser(se_IngestKnowledgeBaseDocumentsCommand).de(de_IngestKnowledgeBaseDocumentsCommand).build() {
|
|
5437
|
+
};
|
|
5438
|
+
__name(_IngestKnowledgeBaseDocumentsCommand, "IngestKnowledgeBaseDocumentsCommand");
|
|
5439
|
+
var IngestKnowledgeBaseDocumentsCommand = _IngestKnowledgeBaseDocumentsCommand;
|
|
5440
|
+
|
|
4793
5441
|
// src/commands/ListAgentActionGroupsCommand.ts
|
|
4794
5442
|
|
|
4795
5443
|
|
|
@@ -4818,6 +5466,20 @@ var _ListAgentAliasesCommand = class _ListAgentAliasesCommand extends import_smi
|
|
|
4818
5466
|
__name(_ListAgentAliasesCommand, "ListAgentAliasesCommand");
|
|
4819
5467
|
var ListAgentAliasesCommand = _ListAgentAliasesCommand;
|
|
4820
5468
|
|
|
5469
|
+
// src/commands/ListAgentCollaboratorsCommand.ts
|
|
5470
|
+
|
|
5471
|
+
|
|
5472
|
+
|
|
5473
|
+
var _ListAgentCollaboratorsCommand = class _ListAgentCollaboratorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5474
|
+
return [
|
|
5475
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5476
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5477
|
+
];
|
|
5478
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "ListAgentCollaborators", {}).n("BedrockAgentClient", "ListAgentCollaboratorsCommand").f(void 0, ListAgentCollaboratorsResponseFilterSensitiveLog).ser(se_ListAgentCollaboratorsCommand).de(de_ListAgentCollaboratorsCommand).build() {
|
|
5479
|
+
};
|
|
5480
|
+
__name(_ListAgentCollaboratorsCommand, "ListAgentCollaboratorsCommand");
|
|
5481
|
+
var ListAgentCollaboratorsCommand = _ListAgentCollaboratorsCommand;
|
|
5482
|
+
|
|
4821
5483
|
// src/commands/ListAgentKnowledgeBasesCommand.ts
|
|
4822
5484
|
|
|
4823
5485
|
|
|
@@ -4930,6 +5592,20 @@ var _ListIngestionJobsCommand = class _ListIngestionJobsCommand extends import_s
|
|
|
4930
5592
|
__name(_ListIngestionJobsCommand, "ListIngestionJobsCommand");
|
|
4931
5593
|
var ListIngestionJobsCommand = _ListIngestionJobsCommand;
|
|
4932
5594
|
|
|
5595
|
+
// src/commands/ListKnowledgeBaseDocumentsCommand.ts
|
|
5596
|
+
|
|
5597
|
+
|
|
5598
|
+
|
|
5599
|
+
var _ListKnowledgeBaseDocumentsCommand = class _ListKnowledgeBaseDocumentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5600
|
+
return [
|
|
5601
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5602
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5603
|
+
];
|
|
5604
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "ListKnowledgeBaseDocuments", {}).n("BedrockAgentClient", "ListKnowledgeBaseDocumentsCommand").f(void 0, void 0).ser(se_ListKnowledgeBaseDocumentsCommand).de(de_ListKnowledgeBaseDocumentsCommand).build() {
|
|
5605
|
+
};
|
|
5606
|
+
__name(_ListKnowledgeBaseDocumentsCommand, "ListKnowledgeBaseDocumentsCommand");
|
|
5607
|
+
var ListKnowledgeBaseDocumentsCommand = _ListKnowledgeBaseDocumentsCommand;
|
|
5608
|
+
|
|
4933
5609
|
// src/commands/ListKnowledgeBasesCommand.ts
|
|
4934
5610
|
|
|
4935
5611
|
|
|
@@ -5084,6 +5760,20 @@ var _UpdateAgentAliasCommand = class _UpdateAgentAliasCommand extends import_smi
|
|
|
5084
5760
|
__name(_UpdateAgentAliasCommand, "UpdateAgentAliasCommand");
|
|
5085
5761
|
var UpdateAgentAliasCommand = _UpdateAgentAliasCommand;
|
|
5086
5762
|
|
|
5763
|
+
// src/commands/UpdateAgentCollaboratorCommand.ts
|
|
5764
|
+
|
|
5765
|
+
|
|
5766
|
+
|
|
5767
|
+
var _UpdateAgentCollaboratorCommand = class _UpdateAgentCollaboratorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5768
|
+
return [
|
|
5769
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5770
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5771
|
+
];
|
|
5772
|
+
}).s("AmazonBedrockAgentBuildTimeLambda", "UpdateAgentCollaborator", {}).n("BedrockAgentClient", "UpdateAgentCollaboratorCommand").f(UpdateAgentCollaboratorRequestFilterSensitiveLog, UpdateAgentCollaboratorResponseFilterSensitiveLog).ser(se_UpdateAgentCollaboratorCommand).de(de_UpdateAgentCollaboratorCommand).build() {
|
|
5773
|
+
};
|
|
5774
|
+
__name(_UpdateAgentCollaboratorCommand, "UpdateAgentCollaboratorCommand");
|
|
5775
|
+
var UpdateAgentCollaboratorCommand = _UpdateAgentCollaboratorCommand;
|
|
5776
|
+
|
|
5087
5777
|
// src/commands/UpdateAgentCommand.ts
|
|
5088
5778
|
|
|
5089
5779
|
|
|
@@ -5198,6 +5888,7 @@ var ValidateFlowDefinitionCommand = _ValidateFlowDefinitionCommand;
|
|
|
5198
5888
|
|
|
5199
5889
|
// src/BedrockAgent.ts
|
|
5200
5890
|
var commands = {
|
|
5891
|
+
AssociateAgentCollaboratorCommand,
|
|
5201
5892
|
AssociateAgentKnowledgeBaseCommand,
|
|
5202
5893
|
CreateAgentCommand,
|
|
5203
5894
|
CreateAgentActionGroupCommand,
|
|
@@ -5218,11 +5909,14 @@ var commands = {
|
|
|
5218
5909
|
DeleteFlowAliasCommand,
|
|
5219
5910
|
DeleteFlowVersionCommand,
|
|
5220
5911
|
DeleteKnowledgeBaseCommand,
|
|
5912
|
+
DeleteKnowledgeBaseDocumentsCommand,
|
|
5221
5913
|
DeletePromptCommand,
|
|
5914
|
+
DisassociateAgentCollaboratorCommand,
|
|
5222
5915
|
DisassociateAgentKnowledgeBaseCommand,
|
|
5223
5916
|
GetAgentCommand,
|
|
5224
5917
|
GetAgentActionGroupCommand,
|
|
5225
5918
|
GetAgentAliasCommand,
|
|
5919
|
+
GetAgentCollaboratorCommand,
|
|
5226
5920
|
GetAgentKnowledgeBaseCommand,
|
|
5227
5921
|
GetAgentVersionCommand,
|
|
5228
5922
|
GetDataSourceCommand,
|
|
@@ -5231,9 +5925,12 @@ var commands = {
|
|
|
5231
5925
|
GetFlowVersionCommand,
|
|
5232
5926
|
GetIngestionJobCommand,
|
|
5233
5927
|
GetKnowledgeBaseCommand,
|
|
5928
|
+
GetKnowledgeBaseDocumentsCommand,
|
|
5234
5929
|
GetPromptCommand,
|
|
5930
|
+
IngestKnowledgeBaseDocumentsCommand,
|
|
5235
5931
|
ListAgentActionGroupsCommand,
|
|
5236
5932
|
ListAgentAliasesCommand,
|
|
5933
|
+
ListAgentCollaboratorsCommand,
|
|
5237
5934
|
ListAgentKnowledgeBasesCommand,
|
|
5238
5935
|
ListAgentsCommand,
|
|
5239
5936
|
ListAgentVersionsCommand,
|
|
@@ -5242,6 +5939,7 @@ var commands = {
|
|
|
5242
5939
|
ListFlowsCommand,
|
|
5243
5940
|
ListFlowVersionsCommand,
|
|
5244
5941
|
ListIngestionJobsCommand,
|
|
5942
|
+
ListKnowledgeBaseDocumentsCommand,
|
|
5245
5943
|
ListKnowledgeBasesCommand,
|
|
5246
5944
|
ListPromptsCommand,
|
|
5247
5945
|
ListTagsForResourceCommand,
|
|
@@ -5254,6 +5952,7 @@ var commands = {
|
|
|
5254
5952
|
UpdateAgentCommand,
|
|
5255
5953
|
UpdateAgentActionGroupCommand,
|
|
5256
5954
|
UpdateAgentAliasCommand,
|
|
5955
|
+
UpdateAgentCollaboratorCommand,
|
|
5257
5956
|
UpdateAgentKnowledgeBaseCommand,
|
|
5258
5957
|
UpdateDataSourceCommand,
|
|
5259
5958
|
UpdateFlowCommand,
|
|
@@ -5276,6 +5975,10 @@ var paginateListAgentActionGroups = (0, import_core.createPaginator)(BedrockAgen
|
|
|
5276
5975
|
|
|
5277
5976
|
var paginateListAgentAliases = (0, import_core.createPaginator)(BedrockAgentClient, ListAgentAliasesCommand, "nextToken", "nextToken", "maxResults");
|
|
5278
5977
|
|
|
5978
|
+
// src/pagination/ListAgentCollaboratorsPaginator.ts
|
|
5979
|
+
|
|
5980
|
+
var paginateListAgentCollaborators = (0, import_core.createPaginator)(BedrockAgentClient, ListAgentCollaboratorsCommand, "nextToken", "nextToken", "maxResults");
|
|
5981
|
+
|
|
5279
5982
|
// src/pagination/ListAgentKnowledgeBasesPaginator.ts
|
|
5280
5983
|
|
|
5281
5984
|
var paginateListAgentKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentClient, ListAgentKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -5308,6 +6011,10 @@ var paginateListFlows = (0, import_core.createPaginator)(BedrockAgentClient, Lis
|
|
|
5308
6011
|
|
|
5309
6012
|
var paginateListIngestionJobs = (0, import_core.createPaginator)(BedrockAgentClient, ListIngestionJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
5310
6013
|
|
|
6014
|
+
// src/pagination/ListKnowledgeBaseDocumentsPaginator.ts
|
|
6015
|
+
|
|
6016
|
+
var paginateListKnowledgeBaseDocuments = (0, import_core.createPaginator)(BedrockAgentClient, ListKnowledgeBaseDocumentsCommand, "nextToken", "nextToken", "maxResults");
|
|
6017
|
+
|
|
5311
6018
|
// src/pagination/ListKnowledgeBasesPaginator.ts
|
|
5312
6019
|
|
|
5313
6020
|
var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentClient, ListKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -5323,6 +6030,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5323
6030
|
BedrockAgentClient,
|
|
5324
6031
|
BedrockAgent,
|
|
5325
6032
|
$Command,
|
|
6033
|
+
AssociateAgentCollaboratorCommand,
|
|
5326
6034
|
AssociateAgentKnowledgeBaseCommand,
|
|
5327
6035
|
CreateAgentActionGroupCommand,
|
|
5328
6036
|
CreateAgentAliasCommand,
|
|
@@ -5343,10 +6051,13 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5343
6051
|
DeleteFlowCommand,
|
|
5344
6052
|
DeleteFlowVersionCommand,
|
|
5345
6053
|
DeleteKnowledgeBaseCommand,
|
|
6054
|
+
DeleteKnowledgeBaseDocumentsCommand,
|
|
5346
6055
|
DeletePromptCommand,
|
|
6056
|
+
DisassociateAgentCollaboratorCommand,
|
|
5347
6057
|
DisassociateAgentKnowledgeBaseCommand,
|
|
5348
6058
|
GetAgentActionGroupCommand,
|
|
5349
6059
|
GetAgentAliasCommand,
|
|
6060
|
+
GetAgentCollaboratorCommand,
|
|
5350
6061
|
GetAgentCommand,
|
|
5351
6062
|
GetAgentKnowledgeBaseCommand,
|
|
5352
6063
|
GetAgentVersionCommand,
|
|
@@ -5356,9 +6067,12 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5356
6067
|
GetFlowVersionCommand,
|
|
5357
6068
|
GetIngestionJobCommand,
|
|
5358
6069
|
GetKnowledgeBaseCommand,
|
|
6070
|
+
GetKnowledgeBaseDocumentsCommand,
|
|
5359
6071
|
GetPromptCommand,
|
|
6072
|
+
IngestKnowledgeBaseDocumentsCommand,
|
|
5360
6073
|
ListAgentActionGroupsCommand,
|
|
5361
6074
|
ListAgentAliasesCommand,
|
|
6075
|
+
ListAgentCollaboratorsCommand,
|
|
5362
6076
|
ListAgentKnowledgeBasesCommand,
|
|
5363
6077
|
ListAgentVersionsCommand,
|
|
5364
6078
|
ListAgentsCommand,
|
|
@@ -5367,6 +6081,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5367
6081
|
ListFlowVersionsCommand,
|
|
5368
6082
|
ListFlowsCommand,
|
|
5369
6083
|
ListIngestionJobsCommand,
|
|
6084
|
+
ListKnowledgeBaseDocumentsCommand,
|
|
5370
6085
|
ListKnowledgeBasesCommand,
|
|
5371
6086
|
ListPromptsCommand,
|
|
5372
6087
|
ListTagsForResourceCommand,
|
|
@@ -5378,6 +6093,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5378
6093
|
UntagResourceCommand,
|
|
5379
6094
|
UpdateAgentActionGroupCommand,
|
|
5380
6095
|
UpdateAgentAliasCommand,
|
|
6096
|
+
UpdateAgentCollaboratorCommand,
|
|
5381
6097
|
UpdateAgentCommand,
|
|
5382
6098
|
UpdateAgentKnowledgeBaseCommand,
|
|
5383
6099
|
UpdateDataSourceCommand,
|
|
@@ -5388,6 +6104,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5388
6104
|
ValidateFlowDefinitionCommand,
|
|
5389
6105
|
paginateListAgentActionGroups,
|
|
5390
6106
|
paginateListAgentAliases,
|
|
6107
|
+
paginateListAgentCollaborators,
|
|
5391
6108
|
paginateListAgentKnowledgeBases,
|
|
5392
6109
|
paginateListAgentVersions,
|
|
5393
6110
|
paginateListAgents,
|
|
@@ -5396,6 +6113,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5396
6113
|
paginateListFlowVersions,
|
|
5397
6114
|
paginateListFlows,
|
|
5398
6115
|
paginateListIngestionJobs,
|
|
6116
|
+
paginateListKnowledgeBaseDocuments,
|
|
5399
6117
|
paginateListKnowledgeBases,
|
|
5400
6118
|
paginateListPrompts,
|
|
5401
6119
|
AccessDeniedException,
|
|
@@ -5413,6 +6131,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5413
6131
|
ServiceQuotaExceededException,
|
|
5414
6132
|
ThrottlingException,
|
|
5415
6133
|
ValidationException,
|
|
6134
|
+
AgentCollaboration,
|
|
5416
6135
|
AgentStatus,
|
|
5417
6136
|
OrchestrationExecutor,
|
|
5418
6137
|
MemoryType,
|
|
@@ -5421,6 +6140,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5421
6140
|
PromptState,
|
|
5422
6141
|
PromptType,
|
|
5423
6142
|
AgentAliasStatus,
|
|
6143
|
+
RelayConversationHistory,
|
|
5424
6144
|
KnowledgeBaseState,
|
|
5425
6145
|
DataDeletionPolicy,
|
|
5426
6146
|
CrawlFilterConfigurationType,
|
|
@@ -5461,10 +6181,9 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5461
6181
|
IngestionJobFilterOperator,
|
|
5462
6182
|
IngestionJobSortByAttribute,
|
|
5463
6183
|
SortOrder,
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
KnowledgeBaseStatus,
|
|
6184
|
+
ContentDataSourceType,
|
|
6185
|
+
DocumentStatus,
|
|
6186
|
+
InlineContentType,
|
|
5468
6187
|
APISchemaFilterSensitiveLog,
|
|
5469
6188
|
CreateAgentActionGroupRequestFilterSensitiveLog,
|
|
5470
6189
|
AgentActionGroupFilterSensitiveLog,
|
|
@@ -5475,6 +6194,14 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5475
6194
|
PromptConfigurationFilterSensitiveLog,
|
|
5476
6195
|
PromptOverrideConfigurationFilterSensitiveLog,
|
|
5477
6196
|
AgentFilterSensitiveLog,
|
|
6197
|
+
AgentCollaboratorFilterSensitiveLog,
|
|
6198
|
+
AssociateAgentCollaboratorRequestFilterSensitiveLog,
|
|
6199
|
+
AssociateAgentCollaboratorResponseFilterSensitiveLog,
|
|
6200
|
+
GetAgentCollaboratorResponseFilterSensitiveLog,
|
|
6201
|
+
AgentCollaboratorSummaryFilterSensitiveLog,
|
|
6202
|
+
ListAgentCollaboratorsResponseFilterSensitiveLog,
|
|
6203
|
+
UpdateAgentCollaboratorRequestFilterSensitiveLog,
|
|
6204
|
+
UpdateAgentCollaboratorResponseFilterSensitiveLog,
|
|
5478
6205
|
CreateAgentRequestFilterSensitiveLog,
|
|
5479
6206
|
CreateAgentResponseFilterSensitiveLog,
|
|
5480
6207
|
GetAgentResponseFilterSensitiveLog,
|
|
@@ -5527,7 +6254,24 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
5527
6254
|
GetFlowResponseFilterSensitiveLog,
|
|
5528
6255
|
UpdateFlowRequestFilterSensitiveLog,
|
|
5529
6256
|
UpdateFlowResponseFilterSensitiveLog,
|
|
6257
|
+
ByteContentDocFilterSensitiveLog,
|
|
6258
|
+
TextContentDocFilterSensitiveLog,
|
|
6259
|
+
InlineContentFilterSensitiveLog,
|
|
6260
|
+
CustomSourceType,
|
|
6261
|
+
MetadataValueType,
|
|
6262
|
+
MetadataSourceType,
|
|
6263
|
+
KnowledgeBaseType,
|
|
6264
|
+
EmbeddingDataType,
|
|
6265
|
+
KnowledgeBaseStorageType,
|
|
6266
|
+
KnowledgeBaseStatus,
|
|
5530
6267
|
PromptGenAiResource,
|
|
6268
|
+
CustomContentFilterSensitiveLog,
|
|
6269
|
+
DocumentContentFilterSensitiveLog,
|
|
6270
|
+
MetadataAttributeValueFilterSensitiveLog,
|
|
6271
|
+
MetadataAttributeFilterSensitiveLog,
|
|
6272
|
+
DocumentMetadataFilterSensitiveLog,
|
|
6273
|
+
KnowledgeBaseDocumentFilterSensitiveLog,
|
|
6274
|
+
IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog,
|
|
5531
6275
|
PromptAgentResourceFilterSensitiveLog,
|
|
5532
6276
|
PromptGenAiResourceFilterSensitiveLog,
|
|
5533
6277
|
PromptMetadataEntryFilterSensitiveLog,
|