@aws-sdk/client-bedrock-agent-runtime 3.758.0 → 3.765.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.
@@ -1,6 +1,8 @@
1
1
  import {
2
2
  AgentActionGroup,
3
+ AgentCollaboration,
3
4
  BedrockModelConfigurations,
5
+ CollaboratorConfiguration,
4
6
  ConversationHistory,
5
7
  ExternalSourcesRetrieveAndGenerateConfiguration,
6
8
  FilterAttribute,
@@ -22,6 +24,22 @@ import {
22
24
  StreamingConfigurations,
23
25
  VectorSearchRerankingConfiguration,
24
26
  } from "./models_0";
27
+ export interface ListTagsForResourceRequest {
28
+ resourceArn: string | undefined;
29
+ }
30
+ export interface ListTagsForResourceResponse {
31
+ tags?: Record<string, string> | undefined;
32
+ }
33
+ export interface TagResourceRequest {
34
+ resourceArn: string | undefined;
35
+ tags: Record<string, string> | undefined;
36
+ }
37
+ export interface TagResourceResponse {}
38
+ export interface UntagResourceRequest {
39
+ resourceArn: string | undefined;
40
+ tagKeys: string[] | undefined;
41
+ }
42
+ export interface UntagResourceResponse {}
25
43
  export type RetrievalFilter =
26
44
  | RetrievalFilter.AndAllMember
27
45
  | RetrievalFilter.EqualsMember
@@ -322,13 +340,8 @@ export interface RetrieveAndGenerateConfiguration {
322
340
  | ExternalSourcesRetrieveAndGenerateConfiguration
323
341
  | undefined;
324
342
  }
325
- export interface InvokeInlineAgentRequest {
326
- sessionId: string | undefined;
343
+ export interface Collaborator {
327
344
  customerEncryptionKeyArn?: string | undefined;
328
- endSession?: boolean | undefined;
329
- enableTrace?: boolean | undefined;
330
- inputText?: string | undefined;
331
- inlineSessionState?: InlineSessionState | undefined;
332
345
  foundationModel: string | undefined;
333
346
  instruction: string | undefined;
334
347
  idleSessionTTLInSeconds?: number | undefined;
@@ -336,8 +349,9 @@ export interface InvokeInlineAgentRequest {
336
349
  knowledgeBases?: KnowledgeBase[] | undefined;
337
350
  guardrailConfiguration?: GuardrailConfigurationWithArn | undefined;
338
351
  promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
339
- bedrockModelConfigurations?: InlineBedrockModelConfigurations | undefined;
340
- streamingConfigurations?: StreamingConfigurations | undefined;
352
+ agentCollaboration?: AgentCollaboration | undefined;
353
+ collaboratorConfigurations?: CollaboratorConfiguration[] | undefined;
354
+ agentName?: string | undefined;
341
355
  }
342
356
  export interface RetrieveAndGenerateRequest {
343
357
  sessionId?: string | undefined;
@@ -377,6 +391,26 @@ export interface InvokeAgentRequest {
377
391
  streamingConfigurations?: StreamingConfigurations | undefined;
378
392
  sourceArn?: string | undefined;
379
393
  }
394
+ export interface InvokeInlineAgentRequest {
395
+ customerEncryptionKeyArn?: string | undefined;
396
+ foundationModel: string | undefined;
397
+ instruction: string | undefined;
398
+ idleSessionTTLInSeconds?: number | undefined;
399
+ actionGroups?: AgentActionGroup[] | undefined;
400
+ knowledgeBases?: KnowledgeBase[] | undefined;
401
+ guardrailConfiguration?: GuardrailConfigurationWithArn | undefined;
402
+ promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
403
+ agentCollaboration?: AgentCollaboration | undefined;
404
+ collaboratorConfigurations?: CollaboratorConfiguration[] | undefined;
405
+ sessionId: string | undefined;
406
+ endSession?: boolean | undefined;
407
+ enableTrace?: boolean | undefined;
408
+ inputText?: string | undefined;
409
+ streamingConfigurations?: StreamingConfigurations | undefined;
410
+ inlineSessionState?: InlineSessionState | undefined;
411
+ collaborators?: Collaborator[] | undefined;
412
+ bedrockModelConfigurations?: InlineBedrockModelConfigurations | undefined;
413
+ }
380
414
  export declare const RetrievalFilterFilterSensitiveLog: (
381
415
  obj: RetrievalFilter
382
416
  ) => any;
@@ -401,9 +435,7 @@ export declare const RetrieveRequestFilterSensitiveLog: (
401
435
  export declare const RetrieveAndGenerateConfigurationFilterSensitiveLog: (
402
436
  obj: RetrieveAndGenerateConfiguration
403
437
  ) => any;
404
- export declare const InvokeInlineAgentRequestFilterSensitiveLog: (
405
- obj: InvokeInlineAgentRequest
406
- ) => any;
438
+ export declare const CollaboratorFilterSensitiveLog: (obj: Collaborator) => any;
407
439
  export declare const RetrieveAndGenerateRequestFilterSensitiveLog: (
408
440
  obj: RetrieveAndGenerateRequest
409
441
  ) => any;
@@ -414,3 +446,6 @@ export declare const SessionStateFilterSensitiveLog: (obj: SessionState) => any;
414
446
  export declare const InvokeAgentRequestFilterSensitiveLog: (
415
447
  obj: InvokeAgentRequest
416
448
  ) => any;
449
+ export declare const InvokeInlineAgentRequestFilterSensitiveLog: (
450
+ obj: InvokeInlineAgentRequest
451
+ ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.765.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",