Skip to content

Commit 29558b0

Browse files
author
awstools
committed
feat(client-bedrock-agent): Releasing SDK for Multi-Agent Collaboration.
1 parent 9169d69 commit 29558b0

21 files changed

+6382
-3943
lines changed

clients/client-bedrock-agent/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,14 @@ see LICENSE for more information.
203203

204204
## Client Commands (Operations List)
205205

206+
<details>
207+
<summary>
208+
AssociateAgentCollaborator
209+
</summary>
210+
211+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/AssociateAgentCollaboratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/AssociateAgentCollaboratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/AssociateAgentCollaboratorCommandOutput/)
212+
213+
</details>
206214
<details>
207215
<summary>
208216
AssociateAgentKnowledgeBase
@@ -378,6 +386,14 @@ DeletePrompt
378386

379387
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/DeletePromptCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/DeletePromptCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/DeletePromptCommandOutput/)
380388

389+
</details>
390+
<details>
391+
<summary>
392+
DisassociateAgentCollaborator
393+
</summary>
394+
395+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/DisassociateAgentCollaboratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/DisassociateAgentCollaboratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/DisassociateAgentCollaboratorCommandOutput/)
396+
381397
</details>
382398
<details>
383399
<summary>
@@ -410,6 +426,14 @@ GetAgentAlias
410426

411427
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/GetAgentAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/GetAgentAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/GetAgentAliasCommandOutput/)
412428

429+
</details>
430+
<details>
431+
<summary>
432+
GetAgentCollaborator
433+
</summary>
434+
435+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/GetAgentCollaboratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/GetAgentCollaboratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/GetAgentCollaboratorCommandOutput/)
436+
413437
</details>
414438
<details>
415439
<summary>
@@ -514,6 +538,14 @@ ListAgentAliases
514538

515539
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/ListAgentAliasesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListAgentAliasesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListAgentAliasesCommandOutput/)
516540

541+
</details>
542+
<details>
543+
<summary>
544+
ListAgentCollaborators
545+
</summary>
546+
547+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/ListAgentCollaboratorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListAgentCollaboratorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/ListAgentCollaboratorsCommandOutput/)
548+
517549
</details>
518550
<details>
519551
<summary>
@@ -682,6 +714,14 @@ UpdateAgentAlias
682714

683715
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/UpdateAgentAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/UpdateAgentAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/UpdateAgentAliasCommandOutput/)
684716

717+
</details>
718+
<details>
719+
<summary>
720+
UpdateAgentCollaborator
721+
</summary>
722+
723+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agent/command/UpdateAgentCollaboratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/UpdateAgentCollaboratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agent/Interface/UpdateAgentCollaboratorCommandOutput/)
724+
685725
</details>
686726
<details>
687727
<summary>

clients/client-bedrock-agent/src/BedrockAgent.ts

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import { createAggregatedClient } from "@smithy/smithy-client";
33
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
44

55
import { BedrockAgentClient, BedrockAgentClientConfig } from "./BedrockAgentClient";
6+
import {
7+
AssociateAgentCollaboratorCommand,
8+
AssociateAgentCollaboratorCommandInput,
9+
AssociateAgentCollaboratorCommandOutput,
10+
} from "./commands/AssociateAgentCollaboratorCommand";
611
import {
712
AssociateAgentKnowledgeBaseCommand,
813
AssociateAgentKnowledgeBaseCommandInput,
@@ -97,6 +102,11 @@ import {
97102
DeletePromptCommandInput,
98103
DeletePromptCommandOutput,
99104
} from "./commands/DeletePromptCommand";
105+
import {
106+
DisassociateAgentCollaboratorCommand,
107+
DisassociateAgentCollaboratorCommandInput,
108+
DisassociateAgentCollaboratorCommandOutput,
109+
} from "./commands/DisassociateAgentCollaboratorCommand";
100110
import {
101111
DisassociateAgentKnowledgeBaseCommand,
102112
DisassociateAgentKnowledgeBaseCommandInput,
@@ -112,6 +122,11 @@ import {
112122
GetAgentAliasCommandInput,
113123
GetAgentAliasCommandOutput,
114124
} from "./commands/GetAgentAliasCommand";
125+
import {
126+
GetAgentCollaboratorCommand,
127+
GetAgentCollaboratorCommandInput,
128+
GetAgentCollaboratorCommandOutput,
129+
} from "./commands/GetAgentCollaboratorCommand";
115130
import { GetAgentCommand, GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
116131
import {
117132
GetAgentKnowledgeBaseCommand,
@@ -170,6 +185,11 @@ import {
170185
ListAgentAliasesCommandInput,
171186
ListAgentAliasesCommandOutput,
172187
} from "./commands/ListAgentAliasesCommand";
188+
import {
189+
ListAgentCollaboratorsCommand,
190+
ListAgentCollaboratorsCommandInput,
191+
ListAgentCollaboratorsCommandOutput,
192+
} from "./commands/ListAgentCollaboratorsCommand";
173193
import {
174194
ListAgentKnowledgeBasesCommand,
175195
ListAgentKnowledgeBasesCommandInput,
@@ -250,6 +270,11 @@ import {
250270
UpdateAgentAliasCommandInput,
251271
UpdateAgentAliasCommandOutput,
252272
} from "./commands/UpdateAgentAliasCommand";
273+
import {
274+
UpdateAgentCollaboratorCommand,
275+
UpdateAgentCollaboratorCommandInput,
276+
UpdateAgentCollaboratorCommandOutput,
277+
} from "./commands/UpdateAgentCollaboratorCommand";
253278
import { UpdateAgentCommand, UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
254279
import {
255280
UpdateAgentKnowledgeBaseCommand,
@@ -284,6 +309,7 @@ import {
284309
} from "./commands/ValidateFlowDefinitionCommand";
285310

286311
const commands = {
312+
AssociateAgentCollaboratorCommand,
287313
AssociateAgentKnowledgeBaseCommand,
288314
CreateAgentCommand,
289315
CreateAgentActionGroupCommand,
@@ -306,10 +332,12 @@ const commands = {
306332
DeleteKnowledgeBaseCommand,
307333
DeleteKnowledgeBaseDocumentsCommand,
308334
DeletePromptCommand,
335+
DisassociateAgentCollaboratorCommand,
309336
DisassociateAgentKnowledgeBaseCommand,
310337
GetAgentCommand,
311338
GetAgentActionGroupCommand,
312339
GetAgentAliasCommand,
340+
GetAgentCollaboratorCommand,
313341
GetAgentKnowledgeBaseCommand,
314342
GetAgentVersionCommand,
315343
GetDataSourceCommand,
@@ -323,6 +351,7 @@ const commands = {
323351
IngestKnowledgeBaseDocumentsCommand,
324352
ListAgentActionGroupsCommand,
325353
ListAgentAliasesCommand,
354+
ListAgentCollaboratorsCommand,
326355
ListAgentKnowledgeBasesCommand,
327356
ListAgentsCommand,
328357
ListAgentVersionsCommand,
@@ -344,6 +373,7 @@ const commands = {
344373
UpdateAgentCommand,
345374
UpdateAgentActionGroupCommand,
346375
UpdateAgentAliasCommand,
376+
UpdateAgentCollaboratorCommand,
347377
UpdateAgentKnowledgeBaseCommand,
348378
UpdateDataSourceCommand,
349379
UpdateFlowCommand,
@@ -354,6 +384,23 @@ const commands = {
354384
};
355385

356386
export interface BedrockAgent {
387+
/**
388+
* @see {@link AssociateAgentCollaboratorCommand}
389+
*/
390+
associateAgentCollaborator(
391+
args: AssociateAgentCollaboratorCommandInput,
392+
options?: __HttpHandlerOptions
393+
): Promise<AssociateAgentCollaboratorCommandOutput>;
394+
associateAgentCollaborator(
395+
args: AssociateAgentCollaboratorCommandInput,
396+
cb: (err: any, data?: AssociateAgentCollaboratorCommandOutput) => void
397+
): void;
398+
associateAgentCollaborator(
399+
args: AssociateAgentCollaboratorCommandInput,
400+
options: __HttpHandlerOptions,
401+
cb: (err: any, data?: AssociateAgentCollaboratorCommandOutput) => void
402+
): void;
403+
357404
/**
358405
* @see {@link AssociateAgentKnowledgeBaseCommand}
359406
*/
@@ -686,6 +733,23 @@ export interface BedrockAgent {
686733
cb: (err: any, data?: DeletePromptCommandOutput) => void
687734
): void;
688735

736+
/**
737+
* @see {@link DisassociateAgentCollaboratorCommand}
738+
*/
739+
disassociateAgentCollaborator(
740+
args: DisassociateAgentCollaboratorCommandInput,
741+
options?: __HttpHandlerOptions
742+
): Promise<DisassociateAgentCollaboratorCommandOutput>;
743+
disassociateAgentCollaborator(
744+
args: DisassociateAgentCollaboratorCommandInput,
745+
cb: (err: any, data?: DisassociateAgentCollaboratorCommandOutput) => void
746+
): void;
747+
disassociateAgentCollaborator(
748+
args: DisassociateAgentCollaboratorCommandInput,
749+
options: __HttpHandlerOptions,
750+
cb: (err: any, data?: DisassociateAgentCollaboratorCommandOutput) => void
751+
): void;
752+
689753
/**
690754
* @see {@link DisassociateAgentKnowledgeBaseCommand}
691755
*/
@@ -742,6 +806,23 @@ export interface BedrockAgent {
742806
cb: (err: any, data?: GetAgentAliasCommandOutput) => void
743807
): void;
744808

809+
/**
810+
* @see {@link GetAgentCollaboratorCommand}
811+
*/
812+
getAgentCollaborator(
813+
args: GetAgentCollaboratorCommandInput,
814+
options?: __HttpHandlerOptions
815+
): Promise<GetAgentCollaboratorCommandOutput>;
816+
getAgentCollaborator(
817+
args: GetAgentCollaboratorCommandInput,
818+
cb: (err: any, data?: GetAgentCollaboratorCommandOutput) => void
819+
): void;
820+
getAgentCollaborator(
821+
args: GetAgentCollaboratorCommandInput,
822+
options: __HttpHandlerOptions,
823+
cb: (err: any, data?: GetAgentCollaboratorCommandOutput) => void
824+
): void;
825+
745826
/**
746827
* @see {@link GetAgentKnowledgeBaseCommand}
747828
*/
@@ -930,6 +1011,23 @@ export interface BedrockAgent {
9301011
cb: (err: any, data?: ListAgentAliasesCommandOutput) => void
9311012
): void;
9321013

1014+
/**
1015+
* @see {@link ListAgentCollaboratorsCommand}
1016+
*/
1017+
listAgentCollaborators(
1018+
args: ListAgentCollaboratorsCommandInput,
1019+
options?: __HttpHandlerOptions
1020+
): Promise<ListAgentCollaboratorsCommandOutput>;
1021+
listAgentCollaborators(
1022+
args: ListAgentCollaboratorsCommandInput,
1023+
cb: (err: any, data?: ListAgentCollaboratorsCommandOutput) => void
1024+
): void;
1025+
listAgentCollaborators(
1026+
args: ListAgentCollaboratorsCommandInput,
1027+
options: __HttpHandlerOptions,
1028+
cb: (err: any, data?: ListAgentCollaboratorsCommandOutput) => void
1029+
): void;
1030+
9331031
/**
9341032
* @see {@link ListAgentKnowledgeBasesCommand}
9351033
*/
@@ -1237,6 +1335,23 @@ export interface BedrockAgent {
12371335
cb: (err: any, data?: UpdateAgentAliasCommandOutput) => void
12381336
): void;
12391337

1338+
/**
1339+
* @see {@link UpdateAgentCollaboratorCommand}
1340+
*/
1341+
updateAgentCollaborator(
1342+
args: UpdateAgentCollaboratorCommandInput,
1343+
options?: __HttpHandlerOptions
1344+
): Promise<UpdateAgentCollaboratorCommandOutput>;
1345+
updateAgentCollaborator(
1346+
args: UpdateAgentCollaboratorCommandInput,
1347+
cb: (err: any, data?: UpdateAgentCollaboratorCommandOutput) => void
1348+
): void;
1349+
updateAgentCollaborator(
1350+
args: UpdateAgentCollaboratorCommandInput,
1351+
options: __HttpHandlerOptions,
1352+
cb: (err: any, data?: UpdateAgentCollaboratorCommandOutput) => void
1353+
): void;
1354+
12401355
/**
12411356
* @see {@link UpdateAgentKnowledgeBaseCommand}
12421357
*/

0 commit comments

Comments
 (0)