@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.
Files changed (50) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +406 -62
  3. package/dist-es/BedrockAgent.js +10 -0
  4. package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
  5. package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
  6. package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
  7. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
  8. package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
  9. package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +43 -48
  12. package/dist-es/models/models_1.js +49 -1
  13. package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +184 -0
  16. package/dist-types/BedrockAgent.d.ts +35 -0
  17. package/dist-types/BedrockAgentClient.d.ts +7 -2
  18. package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
  19. package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
  20. package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
  21. package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
  22. package/dist-types/commands/GetAgentCommand.d.ts +2 -0
  23. package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
  24. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
  26. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
  28. package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/models/models_0.d.ts +389 -294
  31. package/dist-types/models/models_1.d.ts +301 -1
  32. package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  35. package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
  36. package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
  37. package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +116 -98
  46. package/dist-types/ts3.4/models/models_1.d.ts +103 -0
  47. package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  50. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -29,9 +29,15 @@ __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,
@@ -93,6 +99,7 @@ __export(src_exports, {
93
99
  DeleteKnowledgeBaseCommand: () => DeleteKnowledgeBaseCommand,
94
100
  DeleteKnowledgeBaseDocumentsCommand: () => DeleteKnowledgeBaseDocumentsCommand,
95
101
  DeletePromptCommand: () => DeletePromptCommand,
102
+ DisassociateAgentCollaboratorCommand: () => DisassociateAgentCollaboratorCommand,
96
103
  DisassociateAgentKnowledgeBaseCommand: () => DisassociateAgentKnowledgeBaseCommand,
97
104
  DocumentContentFilterSensitiveLog: () => DocumentContentFilterSensitiveLog,
98
105
  DocumentMetadataFilterSensitiveLog: () => DocumentMetadataFilterSensitiveLog,
@@ -119,6 +126,8 @@ __export(src_exports, {
119
126
  GetAgentActionGroupCommand: () => GetAgentActionGroupCommand,
120
127
  GetAgentActionGroupResponseFilterSensitiveLog: () => GetAgentActionGroupResponseFilterSensitiveLog,
121
128
  GetAgentAliasCommand: () => GetAgentAliasCommand,
129
+ GetAgentCollaboratorCommand: () => GetAgentCollaboratorCommand,
130
+ GetAgentCollaboratorResponseFilterSensitiveLog: () => GetAgentCollaboratorResponseFilterSensitiveLog,
122
131
  GetAgentCommand: () => GetAgentCommand,
123
132
  GetAgentKnowledgeBaseCommand: () => GetAgentKnowledgeBaseCommand,
124
133
  GetAgentResponseFilterSensitiveLog: () => GetAgentResponseFilterSensitiveLog,
@@ -152,6 +161,8 @@ __export(src_exports, {
152
161
  KnowledgeBaseType: () => KnowledgeBaseType,
153
162
  ListAgentActionGroupsCommand: () => ListAgentActionGroupsCommand,
154
163
  ListAgentAliasesCommand: () => ListAgentAliasesCommand,
164
+ ListAgentCollaboratorsCommand: () => ListAgentCollaboratorsCommand,
165
+ ListAgentCollaboratorsResponseFilterSensitiveLog: () => ListAgentCollaboratorsResponseFilterSensitiveLog,
155
166
  ListAgentKnowledgeBasesCommand: () => ListAgentKnowledgeBasesCommand,
156
167
  ListAgentVersionsCommand: () => ListAgentVersionsCommand,
157
168
  ListAgentsCommand: () => ListAgentsCommand,
@@ -194,6 +205,7 @@ __export(src_exports, {
194
205
  PromptTemplateType: () => PromptTemplateType,
195
206
  PromptType: () => PromptType,
196
207
  PromptVariantFilterSensitiveLog: () => PromptVariantFilterSensitiveLog,
208
+ RelayConversationHistory: () => RelayConversationHistory,
197
209
  RequireConfirmation: () => RequireConfirmation,
198
210
  ResourceNotFoundException: () => ResourceNotFoundException,
199
211
  RetrievalFlowNodeServiceConfiguration: () => RetrievalFlowNodeServiceConfiguration,
@@ -228,6 +240,9 @@ __export(src_exports, {
228
240
  UpdateAgentActionGroupRequestFilterSensitiveLog: () => UpdateAgentActionGroupRequestFilterSensitiveLog,
229
241
  UpdateAgentActionGroupResponseFilterSensitiveLog: () => UpdateAgentActionGroupResponseFilterSensitiveLog,
230
242
  UpdateAgentAliasCommand: () => UpdateAgentAliasCommand,
243
+ UpdateAgentCollaboratorCommand: () => UpdateAgentCollaboratorCommand,
244
+ UpdateAgentCollaboratorRequestFilterSensitiveLog: () => UpdateAgentCollaboratorRequestFilterSensitiveLog,
245
+ UpdateAgentCollaboratorResponseFilterSensitiveLog: () => UpdateAgentCollaboratorResponseFilterSensitiveLog,
231
246
  UpdateAgentCommand: () => UpdateAgentCommand,
232
247
  UpdateAgentKnowledgeBaseCommand: () => UpdateAgentKnowledgeBaseCommand,
233
248
  UpdateAgentRequestFilterSensitiveLog: () => UpdateAgentRequestFilterSensitiveLog,
@@ -253,6 +268,7 @@ __export(src_exports, {
253
268
  __Client: () => import_smithy_client.Client,
254
269
  paginateListAgentActionGroups: () => paginateListAgentActionGroups,
255
270
  paginateListAgentAliases: () => paginateListAgentAliases,
271
+ paginateListAgentCollaborators: () => paginateListAgentCollaborators,
256
272
  paginateListAgentKnowledgeBases: () => paginateListAgentKnowledgeBases,
257
273
  paginateListAgentVersions: () => paginateListAgentVersions,
258
274
  paginateListAgents: () => paginateListAgents,
@@ -407,16 +423,13 @@ var BedrockAgentClient = _BedrockAgentClient;
407
423
  // src/BedrockAgent.ts
408
424
 
409
425
 
410
- // src/commands/AssociateAgentKnowledgeBaseCommand.ts
426
+ // src/commands/AssociateAgentCollaboratorCommand.ts
411
427
 
412
428
  var import_middleware_serde = require("@smithy/middleware-serde");
413
429
 
414
430
 
415
- // src/protocols/Aws_restJson1.ts
416
- var import_core2 = require("@aws-sdk/core");
417
-
431
+ // src/models/models_0.ts
418
432
 
419
- var import_uuid = require("uuid");
420
433
 
421
434
  // src/models/BedrockAgentServiceException.ts
422
435
 
@@ -433,7 +446,6 @@ __name(_BedrockAgentServiceException, "BedrockAgentServiceException");
433
446
  var BedrockAgentServiceException = _BedrockAgentServiceException;
434
447
 
435
448
  // src/models/models_0.ts
436
-
437
449
  var _AccessDeniedException = class _AccessDeniedException extends BedrockAgentServiceException {
438
450
  /**
439
451
  * @internal
@@ -604,6 +616,11 @@ var _ValidationException = class _ValidationException extends BedrockAgentServic
604
616
  };
605
617
  __name(_ValidationException, "ValidationException");
606
618
  var ValidationException = _ValidationException;
619
+ var AgentCollaboration = {
620
+ DISABLED: "DISABLED",
621
+ SUPERVISOR: "SUPERVISOR",
622
+ SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER"
623
+ };
607
624
  var AgentStatus = {
608
625
  CREATING: "CREATING",
609
626
  DELETING: "DELETING",
@@ -650,6 +667,10 @@ var AgentAliasStatus = {
650
667
  PREPARED: "PREPARED",
651
668
  UPDATING: "UPDATING"
652
669
  };
670
+ var RelayConversationHistory = {
671
+ DISABLED: "DISABLED",
672
+ TO_COLLABORATOR: "TO_COLLABORATOR"
673
+ };
653
674
  var KnowledgeBaseState = {
654
675
  DISABLED: "DISABLED",
655
676
  ENABLED: "ENABLED"
@@ -1004,20 +1025,6 @@ var InlineContentType = {
1004
1025
  BYTE: "BYTE",
1005
1026
  TEXT: "TEXT"
1006
1027
  };
1007
- var CustomSourceType = {
1008
- IN_LINE: "IN_LINE",
1009
- S3_LOCATION: "S3_LOCATION"
1010
- };
1011
- var MetadataValueType = {
1012
- BOOLEAN: "BOOLEAN",
1013
- NUMBER: "NUMBER",
1014
- STRING: "STRING",
1015
- STRING_LIST: "STRING_LIST"
1016
- };
1017
- var MetadataSourceType = {
1018
- IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
1019
- S3_LOCATION: "S3_LOCATION"
1020
- };
1021
1028
  var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1022
1029
  if (obj.s3 !== void 0)
1023
1030
  return { s3: obj.s3 };
@@ -1072,6 +1079,42 @@ var AgentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1072
1079
  ...obj.customOrchestration && { customOrchestration: obj.customOrchestration },
1073
1080
  ...obj.promptOverrideConfiguration && { promptOverrideConfiguration: import_smithy_client.SENSITIVE_STRING }
1074
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");
1075
1118
  var CreateAgentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1076
1119
  ...obj,
1077
1120
  ...obj.instruction && { instruction: import_smithy_client.SENSITIVE_STRING },
@@ -1442,42 +1485,33 @@ var InlineContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1442
1485
  ...obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) },
1443
1486
  ...obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }
1444
1487
  }), "InlineContentFilterSensitiveLog");
1445
- var CustomContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1446
- ...obj,
1447
- ...obj.inlineContent && { inlineContent: InlineContentFilterSensitiveLog(obj.inlineContent) }
1448
- }), "CustomContentFilterSensitiveLog");
1449
- var DocumentContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1450
- ...obj,
1451
- ...obj.custom && { custom: CustomContentFilterSensitiveLog(obj.custom) }
1452
- }), "DocumentContentFilterSensitiveLog");
1453
- var MetadataAttributeValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1454
- ...obj,
1455
- ...obj.numberValue && { numberValue: import_smithy_client.SENSITIVE_STRING },
1456
- ...obj.stringValue && { stringValue: import_smithy_client.SENSITIVE_STRING },
1457
- ...obj.stringListValue && { stringListValue: import_smithy_client.SENSITIVE_STRING }
1458
- }), "MetadataAttributeValueFilterSensitiveLog");
1459
- var MetadataAttributeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1460
- ...obj,
1461
- ...obj.key && { key: import_smithy_client.SENSITIVE_STRING },
1462
- ...obj.value && { value: MetadataAttributeValueFilterSensitiveLog(obj.value) }
1463
- }), "MetadataAttributeFilterSensitiveLog");
1464
- var DocumentMetadataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1465
- ...obj,
1466
- ...obj.inlineAttributes && {
1467
- inlineAttributes: obj.inlineAttributes.map((item) => MetadataAttributeFilterSensitiveLog(item))
1468
- }
1469
- }), "DocumentMetadataFilterSensitiveLog");
1470
- var KnowledgeBaseDocumentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1471
- ...obj,
1472
- ...obj.metadata && { metadata: DocumentMetadataFilterSensitiveLog(obj.metadata) },
1473
- ...obj.content && { content: DocumentContentFilterSensitiveLog(obj.content) }
1474
- }), "KnowledgeBaseDocumentFilterSensitiveLog");
1475
- var IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1476
- ...obj,
1477
- ...obj.documents && { documents: obj.documents.map((item) => KnowledgeBaseDocumentFilterSensitiveLog(item)) }
1478
- }), "IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog");
1479
1488
 
1480
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");
1481
1515
  var se_AssociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
1482
1516
  const b = (0, import_core.requestBuilder)(input, context);
1483
1517
  const headers = {
@@ -1506,6 +1540,7 @@ var se_CreateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
1506
1540
  let body;
1507
1541
  body = JSON.stringify(
1508
1542
  (0, import_smithy_client.take)(input, {
1543
+ agentCollaboration: [],
1509
1544
  agentName: [],
1510
1545
  agentResourceRoleArn: [],
1511
1546
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
@@ -1842,6 +1877,17 @@ var se_DeletePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1842
1877
  b.m("DELETE").h(headers).q(query).b(body);
1843
1878
  return b.build();
1844
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");
1845
1891
  var se_DisassociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
1846
1892
  const b = (0, import_core.requestBuilder)(input, context);
1847
1893
  const headers = {};
@@ -1883,6 +1929,17 @@ var se_GetAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
1883
1929
  b.m("GET").h(headers).b(body);
1884
1930
  return b.build();
1885
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");
1886
1943
  var se_GetAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
1887
1944
  const b = (0, import_core.requestBuilder)(input, context);
1888
1945
  const headers = {};
@@ -2045,6 +2102,24 @@ var se_ListAgentAliasesCommand = /* @__PURE__ */ __name(async (input, context) =
2045
2102
  b.m("POST").h(headers).b(body);
2046
2103
  return b.build();
2047
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");
2048
2123
  var se_ListAgentKnowledgeBasesCommand = /* @__PURE__ */ __name(async (input, context) => {
2049
2124
  const b = (0, import_core.requestBuilder)(input, context);
2050
2125
  const headers = {
@@ -2312,6 +2387,7 @@ var se_UpdateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
2312
2387
  let body;
2313
2388
  body = JSON.stringify(
2314
2389
  (0, import_smithy_client.take)(input, {
2390
+ agentCollaboration: [],
2315
2391
  agentName: [],
2316
2392
  agentResourceRoleArn: [],
2317
2393
  customOrchestration: (_) => (0, import_smithy_client._json)(_),
@@ -2372,6 +2448,27 @@ var se_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) =
2372
2448
  b.m("PUT").h(headers).b(body);
2373
2449
  return b.build();
2374
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");
2375
2472
  var se_UpdateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
2376
2473
  const b = (0, import_core.requestBuilder)(input, context);
2377
2474
  const headers = {
@@ -2507,6 +2604,20 @@ var se_ValidateFlowDefinitionCommand = /* @__PURE__ */ __name(async (input, cont
2507
2604
  b.m("POST").h(headers).b(body);
2508
2605
  return b.build();
2509
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");
2510
2621
  var de_AssociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
2511
2622
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2512
2623
  return de_CommandError(output, context);
@@ -2866,6 +2977,16 @@ var de_DeletePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2866
2977
  Object.assign(contents, doc);
2867
2978
  return contents;
2868
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");
2869
2990
  var de_DisassociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
2870
2991
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2871
2992
  return de_CommandError(output, context);
@@ -2918,6 +3039,20 @@ var de_GetAgentAliasCommand = /* @__PURE__ */ __name(async (output, context) =>
2918
3039
  Object.assign(contents, doc);
2919
3040
  return contents;
2920
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");
2921
3056
  var de_GetAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
2922
3057
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2923
3058
  return de_CommandError(output, context);
@@ -3138,6 +3273,21 @@ var de_ListAgentAliasesCommand = /* @__PURE__ */ __name(async (output, context)
3138
3273
  Object.assign(contents, doc);
3139
3274
  return contents;
3140
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");
3141
3291
  var de_ListAgentKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, context) => {
3142
3292
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3143
3293
  return de_CommandError(output, context);
@@ -3439,6 +3589,20 @@ var de_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (output, context)
3439
3589
  Object.assign(contents, doc);
3440
3590
  return contents;
3441
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");
3442
3606
  var de_UpdateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
3443
3607
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3444
3608
  return de_CommandError(output, context);
@@ -3816,6 +3980,7 @@ var se_MetadataAttributeValue = /* @__PURE__ */ __name((input, context) => {
3816
3980
  var se_PromptConfiguration = /* @__PURE__ */ __name((input, context) => {
3817
3981
  return (0, import_smithy_client.take)(input, {
3818
3982
  basePromptTemplate: [],
3983
+ foundationModel: [],
3819
3984
  inferenceConfiguration: (_) => se_InferenceConfiguration(_, context),
3820
3985
  parserMode: [],
3821
3986
  promptCreationMode: [],
@@ -3945,6 +4110,7 @@ var de_ActionGroupSummary = /* @__PURE__ */ __name((output, context) => {
3945
4110
  var de_Agent = /* @__PURE__ */ __name((output, context) => {
3946
4111
  return (0, import_smithy_client.take)(output, {
3947
4112
  agentArn: import_smithy_client.expectString,
4113
+ agentCollaboration: import_smithy_client.expectString,
3948
4114
  agentId: import_smithy_client.expectString,
3949
4115
  agentName: import_smithy_client.expectString,
3950
4116
  agentResourceRoleArn: import_smithy_client.expectString,
@@ -4031,6 +4197,39 @@ var de_AgentAliasSummary = /* @__PURE__ */ __name((output, context) => {
4031
4197
  updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4032
4198
  });
4033
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");
4034
4233
  var de_AgentKnowledgeBase = /* @__PURE__ */ __name((output, context) => {
4035
4234
  return (0, import_smithy_client.take)(output, {
4036
4235
  agentId: import_smithy_client.expectString,
@@ -4076,6 +4275,7 @@ var de_AgentSummary = /* @__PURE__ */ __name((output, context) => {
4076
4275
  var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
4077
4276
  return (0, import_smithy_client.take)(output, {
4078
4277
  agentArn: import_smithy_client.expectString,
4278
+ agentCollaboration: import_smithy_client.expectString,
4079
4279
  agentId: import_smithy_client.expectString,
4080
4280
  agentName: import_smithy_client.expectString,
4081
4281
  agentResourceRoleArn: import_smithy_client.expectString,
@@ -4376,6 +4576,7 @@ var de_KnowledgeBaseSummary = /* @__PURE__ */ __name((output, context) => {
4376
4576
  var de_PromptConfiguration = /* @__PURE__ */ __name((output, context) => {
4377
4577
  return (0, import_smithy_client.take)(output, {
4378
4578
  basePromptTemplate: import_smithy_client.expectString,
4579
+ foundationModel: import_smithy_client.expectString,
4379
4580
  inferenceConfiguration: (_) => de_InferenceConfiguration(_, context),
4380
4581
  parserMode: import_smithy_client.expectString,
4381
4582
  promptCreationMode: import_smithy_client.expectString,
@@ -4538,7 +4739,21 @@ var _pV = "promptVersion";
4538
4739
  var _sRIUC = "skipResourceInUseCheck";
4539
4740
  var _tK = "tagKeys";
4540
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
+
4541
4753
  // src/commands/AssociateAgentKnowledgeBaseCommand.ts
4754
+
4755
+
4756
+
4542
4757
  var _AssociateAgentKnowledgeBaseCommand = class _AssociateAgentKnowledgeBaseCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4543
4758
  return [
4544
4759
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -4668,6 +4883,20 @@ var CreateKnowledgeBaseCommand = _CreateKnowledgeBaseCommand;
4668
4883
 
4669
4884
  // src/models/models_1.ts
4670
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
+ };
4671
4900
  var KnowledgeBaseType = {
4672
4901
  VECTOR: "VECTOR"
4673
4902
  };
@@ -4698,6 +4927,40 @@ var PromptGenAiResource;
4698
4927
  return visitor._(value.$unknown[0], value.$unknown[1]);
4699
4928
  }, "visit");
4700
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");
4701
4964
  var PromptAgentResourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
4702
4965
  ...obj
4703
4966
  }), "PromptAgentResourceFilterSensitiveLog");
@@ -4937,6 +5200,20 @@ var _DeletePromptCommand = class _DeletePromptCommand extends import_smithy_clie
4937
5200
  __name(_DeletePromptCommand, "DeletePromptCommand");
4938
5201
  var DeletePromptCommand = _DeletePromptCommand;
4939
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
+
4940
5217
  // src/commands/DisassociateAgentKnowledgeBaseCommand.ts
4941
5218
 
4942
5219
 
@@ -4979,6 +5256,20 @@ var _GetAgentAliasCommand = class _GetAgentAliasCommand extends import_smithy_cl
4979
5256
  __name(_GetAgentAliasCommand, "GetAgentAliasCommand");
4980
5257
  var GetAgentAliasCommand = _GetAgentAliasCommand;
4981
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
+
4982
5273
  // src/commands/GetAgentCommand.ts
4983
5274
 
4984
5275
 
@@ -5175,6 +5466,20 @@ var _ListAgentAliasesCommand = class _ListAgentAliasesCommand extends import_smi
5175
5466
  __name(_ListAgentAliasesCommand, "ListAgentAliasesCommand");
5176
5467
  var ListAgentAliasesCommand = _ListAgentAliasesCommand;
5177
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
+
5178
5483
  // src/commands/ListAgentKnowledgeBasesCommand.ts
5179
5484
 
5180
5485
 
@@ -5455,6 +5760,20 @@ var _UpdateAgentAliasCommand = class _UpdateAgentAliasCommand extends import_smi
5455
5760
  __name(_UpdateAgentAliasCommand, "UpdateAgentAliasCommand");
5456
5761
  var UpdateAgentAliasCommand = _UpdateAgentAliasCommand;
5457
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
+
5458
5777
  // src/commands/UpdateAgentCommand.ts
5459
5778
 
5460
5779
 
@@ -5569,6 +5888,7 @@ var ValidateFlowDefinitionCommand = _ValidateFlowDefinitionCommand;
5569
5888
 
5570
5889
  // src/BedrockAgent.ts
5571
5890
  var commands = {
5891
+ AssociateAgentCollaboratorCommand,
5572
5892
  AssociateAgentKnowledgeBaseCommand,
5573
5893
  CreateAgentCommand,
5574
5894
  CreateAgentActionGroupCommand,
@@ -5591,10 +5911,12 @@ var commands = {
5591
5911
  DeleteKnowledgeBaseCommand,
5592
5912
  DeleteKnowledgeBaseDocumentsCommand,
5593
5913
  DeletePromptCommand,
5914
+ DisassociateAgentCollaboratorCommand,
5594
5915
  DisassociateAgentKnowledgeBaseCommand,
5595
5916
  GetAgentCommand,
5596
5917
  GetAgentActionGroupCommand,
5597
5918
  GetAgentAliasCommand,
5919
+ GetAgentCollaboratorCommand,
5598
5920
  GetAgentKnowledgeBaseCommand,
5599
5921
  GetAgentVersionCommand,
5600
5922
  GetDataSourceCommand,
@@ -5608,6 +5930,7 @@ var commands = {
5608
5930
  IngestKnowledgeBaseDocumentsCommand,
5609
5931
  ListAgentActionGroupsCommand,
5610
5932
  ListAgentAliasesCommand,
5933
+ ListAgentCollaboratorsCommand,
5611
5934
  ListAgentKnowledgeBasesCommand,
5612
5935
  ListAgentsCommand,
5613
5936
  ListAgentVersionsCommand,
@@ -5629,6 +5952,7 @@ var commands = {
5629
5952
  UpdateAgentCommand,
5630
5953
  UpdateAgentActionGroupCommand,
5631
5954
  UpdateAgentAliasCommand,
5955
+ UpdateAgentCollaboratorCommand,
5632
5956
  UpdateAgentKnowledgeBaseCommand,
5633
5957
  UpdateDataSourceCommand,
5634
5958
  UpdateFlowCommand,
@@ -5651,6 +5975,10 @@ var paginateListAgentActionGroups = (0, import_core.createPaginator)(BedrockAgen
5651
5975
 
5652
5976
  var paginateListAgentAliases = (0, import_core.createPaginator)(BedrockAgentClient, ListAgentAliasesCommand, "nextToken", "nextToken", "maxResults");
5653
5977
 
5978
+ // src/pagination/ListAgentCollaboratorsPaginator.ts
5979
+
5980
+ var paginateListAgentCollaborators = (0, import_core.createPaginator)(BedrockAgentClient, ListAgentCollaboratorsCommand, "nextToken", "nextToken", "maxResults");
5981
+
5654
5982
  // src/pagination/ListAgentKnowledgeBasesPaginator.ts
5655
5983
 
5656
5984
  var paginateListAgentKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentClient, ListAgentKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
@@ -5702,6 +6030,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5702
6030
  BedrockAgentClient,
5703
6031
  BedrockAgent,
5704
6032
  $Command,
6033
+ AssociateAgentCollaboratorCommand,
5705
6034
  AssociateAgentKnowledgeBaseCommand,
5706
6035
  CreateAgentActionGroupCommand,
5707
6036
  CreateAgentAliasCommand,
@@ -5724,9 +6053,11 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5724
6053
  DeleteKnowledgeBaseCommand,
5725
6054
  DeleteKnowledgeBaseDocumentsCommand,
5726
6055
  DeletePromptCommand,
6056
+ DisassociateAgentCollaboratorCommand,
5727
6057
  DisassociateAgentKnowledgeBaseCommand,
5728
6058
  GetAgentActionGroupCommand,
5729
6059
  GetAgentAliasCommand,
6060
+ GetAgentCollaboratorCommand,
5730
6061
  GetAgentCommand,
5731
6062
  GetAgentKnowledgeBaseCommand,
5732
6063
  GetAgentVersionCommand,
@@ -5741,6 +6072,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5741
6072
  IngestKnowledgeBaseDocumentsCommand,
5742
6073
  ListAgentActionGroupsCommand,
5743
6074
  ListAgentAliasesCommand,
6075
+ ListAgentCollaboratorsCommand,
5744
6076
  ListAgentKnowledgeBasesCommand,
5745
6077
  ListAgentVersionsCommand,
5746
6078
  ListAgentsCommand,
@@ -5761,6 +6093,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5761
6093
  UntagResourceCommand,
5762
6094
  UpdateAgentActionGroupCommand,
5763
6095
  UpdateAgentAliasCommand,
6096
+ UpdateAgentCollaboratorCommand,
5764
6097
  UpdateAgentCommand,
5765
6098
  UpdateAgentKnowledgeBaseCommand,
5766
6099
  UpdateDataSourceCommand,
@@ -5771,6 +6104,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5771
6104
  ValidateFlowDefinitionCommand,
5772
6105
  paginateListAgentActionGroups,
5773
6106
  paginateListAgentAliases,
6107
+ paginateListAgentCollaborators,
5774
6108
  paginateListAgentKnowledgeBases,
5775
6109
  paginateListAgentVersions,
5776
6110
  paginateListAgents,
@@ -5797,6 +6131,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5797
6131
  ServiceQuotaExceededException,
5798
6132
  ThrottlingException,
5799
6133
  ValidationException,
6134
+ AgentCollaboration,
5800
6135
  AgentStatus,
5801
6136
  OrchestrationExecutor,
5802
6137
  MemoryType,
@@ -5805,6 +6140,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5805
6140
  PromptState,
5806
6141
  PromptType,
5807
6142
  AgentAliasStatus,
6143
+ RelayConversationHistory,
5808
6144
  KnowledgeBaseState,
5809
6145
  DataDeletionPolicy,
5810
6146
  CrawlFilterConfigurationType,
@@ -5848,9 +6184,6 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5848
6184
  ContentDataSourceType,
5849
6185
  DocumentStatus,
5850
6186
  InlineContentType,
5851
- CustomSourceType,
5852
- MetadataValueType,
5853
- MetadataSourceType,
5854
6187
  APISchemaFilterSensitiveLog,
5855
6188
  CreateAgentActionGroupRequestFilterSensitiveLog,
5856
6189
  AgentActionGroupFilterSensitiveLog,
@@ -5861,6 +6194,14 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5861
6194
  PromptConfigurationFilterSensitiveLog,
5862
6195
  PromptOverrideConfigurationFilterSensitiveLog,
5863
6196
  AgentFilterSensitiveLog,
6197
+ AgentCollaboratorFilterSensitiveLog,
6198
+ AssociateAgentCollaboratorRequestFilterSensitiveLog,
6199
+ AssociateAgentCollaboratorResponseFilterSensitiveLog,
6200
+ GetAgentCollaboratorResponseFilterSensitiveLog,
6201
+ AgentCollaboratorSummaryFilterSensitiveLog,
6202
+ ListAgentCollaboratorsResponseFilterSensitiveLog,
6203
+ UpdateAgentCollaboratorRequestFilterSensitiveLog,
6204
+ UpdateAgentCollaboratorResponseFilterSensitiveLog,
5864
6205
  CreateAgentRequestFilterSensitiveLog,
5865
6206
  CreateAgentResponseFilterSensitiveLog,
5866
6207
  GetAgentResponseFilterSensitiveLog,
@@ -5916,6 +6257,14 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5916
6257
  ByteContentDocFilterSensitiveLog,
5917
6258
  TextContentDocFilterSensitiveLog,
5918
6259
  InlineContentFilterSensitiveLog,
6260
+ CustomSourceType,
6261
+ MetadataValueType,
6262
+ MetadataSourceType,
6263
+ KnowledgeBaseType,
6264
+ EmbeddingDataType,
6265
+ KnowledgeBaseStorageType,
6266
+ KnowledgeBaseStatus,
6267
+ PromptGenAiResource,
5919
6268
  CustomContentFilterSensitiveLog,
5920
6269
  DocumentContentFilterSensitiveLog,
5921
6270
  MetadataAttributeValueFilterSensitiveLog,
@@ -5923,11 +6272,6 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
5923
6272
  DocumentMetadataFilterSensitiveLog,
5924
6273
  KnowledgeBaseDocumentFilterSensitiveLog,
5925
6274
  IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog,
5926
- KnowledgeBaseType,
5927
- EmbeddingDataType,
5928
- KnowledgeBaseStorageType,
5929
- KnowledgeBaseStatus,
5930
- PromptGenAiResource,
5931
6275
  PromptAgentResourceFilterSensitiveLog,
5932
6276
  PromptGenAiResourceFilterSensitiveLog,
5933
6277
  PromptMetadataEntryFilterSensitiveLog,