@aws-sdk/client-bedrock-agent-runtime 3.758.0 → 3.764.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,4 +1,29 @@
1
- import { AgentActionGroup, BedrockModelConfigurations, ConversationHistory, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailConfiguration, GuardrailConfigurationWithArn, ImplicitFilterConfiguration, InlineBedrockModelConfigurations, InlineSessionState, InputFile, InvocationResultMember, KnowledgeBaseQuery, OrchestrationConfiguration, PromptOverrideConfiguration, RetrieveAndGenerateInput, RetrieveAndGenerateSessionConfiguration, RetrieveAndGenerateType, SearchType, StreamingConfigurations, VectorSearchRerankingConfiguration } from "./models_0";
1
+ import { AgentActionGroup, AgentCollaboration, BedrockModelConfigurations, CollaboratorConfiguration, ConversationHistory, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailConfiguration, GuardrailConfigurationWithArn, ImplicitFilterConfiguration, InlineBedrockModelConfigurations, InlineSessionState, InputFile, InvocationResultMember, KnowledgeBaseQuery, OrchestrationConfiguration, PromptOverrideConfiguration, RetrieveAndGenerateInput, RetrieveAndGenerateSessionConfiguration, RetrieveAndGenerateType, SearchType, StreamingConfigurations, VectorSearchRerankingConfiguration } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface TagResourceResponse {
6
+ }
7
+ /**
8
+ * @public
9
+ */
10
+ export interface UntagResourceRequest {
11
+ /**
12
+ * <p>The Amazon Resource Name (ARN) of the resource from which to remove tags.</p>
13
+ * @public
14
+ */
15
+ resourceArn: string | undefined;
16
+ /**
17
+ * <p>A list of keys of the tags to remove from the resource.</p>
18
+ * @public
19
+ */
20
+ tagKeys: string[] | undefined;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface UntagResourceResponse {
26
+ }
2
27
  /**
3
28
  * <p>Specifies the filters to use on the metadata attributes in the knowledge base data sources before returning results. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>. See the examples below to see how to use these filters.</p>
4
29
  * <p>This data type is used in the following API operations:</p>
@@ -581,124 +606,90 @@ export interface RetrieveAndGenerateConfiguration {
581
606
  externalSourcesConfiguration?: ExternalSourcesRetrieveAndGenerateConfiguration | undefined;
582
607
  }
583
608
  /**
609
+ * <p>
610
+ * List of inline collaborators.
611
+ * </p>
584
612
  * @public
585
613
  */
586
- export interface InvokeInlineAgentRequest {
587
- /**
588
- * <p>
589
- * The unique identifier of the session. Use the same value across requests to continue the same conversation.
590
- * </p>
591
- * @public
592
- */
593
- sessionId: string | undefined;
614
+ export interface Collaborator {
594
615
  /**
595
616
  * <p>
596
- * The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent.
617
+ * The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the inline collaborator.
597
618
  * </p>
598
619
  * @public
599
620
  */
600
621
  customerEncryptionKeyArn?: string | undefined;
601
622
  /**
602
623
  * <p>
603
- * Specifies whether to end the session with the inline agent or not.
604
- * </p>
605
- * @public
606
- */
607
- endSession?: boolean | undefined;
608
- /**
609
- * <p>
610
- * Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html">Using trace</a>.
611
- *
612
- * </p>
613
- * @public
614
- */
615
- enableTrace?: boolean | undefined;
616
- /**
617
- * <p>
618
- * The prompt text to send to the agent.
619
- * </p>
620
- * <note>
621
- * <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p>
622
- * </note>
623
- * @public
624
- */
625
- inputText?: string | undefined;
626
- /**
627
- * <p>
628
- * Parameters that specify the various attributes of a sessions. You can include attributes for the session or prompt or, if you configured an
629
- * action group to return control, results from invocation of the action group. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html">Control session context</a>.
630
- * </p>
631
- * <note>
632
- * <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p>
633
- * </note>
634
- * @public
635
- */
636
- inlineSessionState?: InlineSessionState | undefined;
637
- /**
638
- * <p>
639
- * The <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns">model identifier (ID)</a> of the model to use for orchestration by the inline agent. For example, <code>meta.llama3-1-70b-instruct-v1:0</code>.
624
+ * The foundation model used by the inline collaborator agent.
640
625
  * </p>
641
626
  * @public
642
627
  */
643
628
  foundationModel: string | undefined;
644
629
  /**
645
630
  * <p>
646
- * The instructions that tell the inline agent what it should do and how it should interact with users.
631
+ * Instruction that tell the inline collaborator agent what it should do and how it should interact with users.
647
632
  * </p>
648
633
  * @public
649
634
  */
650
635
  instruction: string | undefined;
651
636
  /**
652
637
  * <p>
653
- * The number of seconds for which the inline agent should maintain session information. After this time expires, the subsequent <code>InvokeInlineAgent</code> request begins a new session.
638
+ * The number of seconds for which the Amazon Bedrock keeps information about the user's conversation with the inline collaborator agent.</p>
639
+ * <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
654
640
  * </p>
655
- * <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and the data provided before the timeout is deleted.</p>
656
641
  * @public
657
642
  */
658
643
  idleSessionTTLInSeconds?: number | undefined;
659
644
  /**
660
645
  * <p>
661
- * A list of action groups with each action group defining the action the inline agent needs to carry out.
646
+ * List of action groups with each action group defining tasks the inline collaborator agent needs to carry out.
662
647
  * </p>
663
648
  * @public
664
649
  */
665
650
  actionGroups?: AgentActionGroup[] | undefined;
666
651
  /**
667
652
  * <p>
668
- * Contains information of the knowledge bases to associate with.
653
+ * Knowledge base associated with the inline collaborator agent.
669
654
  * </p>
670
655
  * @public
671
656
  */
672
657
  knowledgeBases?: KnowledgeBase[] | undefined;
673
658
  /**
674
659
  * <p>
675
- * The <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">guardrails</a> to assign to the inline agent.
660
+ * Details of the guardwrail associated with the inline collaborator.
676
661
  * </p>
677
662
  * @public
678
663
  */
679
664
  guardrailConfiguration?: GuardrailConfigurationWithArn | undefined;
680
665
  /**
681
666
  * <p>
682
- * Configurations for advanced prompts used to override the default prompts to enhance the accuracy of the inline agent.
667
+ * Contains configurations to override prompt templates in different parts of an inline collaborator sequence. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>.
683
668
  * </p>
684
669
  * @public
685
670
  */
686
671
  promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
687
672
  /**
688
- * <p>Model settings for the request.</p>
673
+ * <p>
674
+ * Defines how the inline supervisor agent handles information across multiple collaborator agents to coordinate a final response.
675
+ * </p>
689
676
  * @public
690
677
  */
691
- bedrockModelConfigurations?: InlineBedrockModelConfigurations | undefined;
678
+ agentCollaboration?: AgentCollaboration | undefined;
692
679
  /**
693
680
  * <p>
694
- * Specifies the configurations for streaming.
681
+ * Settings of the collaborator agent.
695
682
  * </p>
696
- * <note>
697
- * <p>To use agent streaming, you need permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>
698
- * </note>
699
683
  * @public
700
684
  */
701
- streamingConfigurations?: StreamingConfigurations | undefined;
685
+ collaboratorConfigurations?: CollaboratorConfiguration[] | undefined;
686
+ /**
687
+ * <p>
688
+ * Name of the inline collaborator agent which must be the same name as specified for <code>collaboratorName</code>.
689
+ * </p>
690
+ * @public
691
+ */
692
+ agentName?: string | undefined;
702
693
  }
703
694
  /**
704
695
  * @public
@@ -865,6 +856,147 @@ export interface InvokeAgentRequest {
865
856
  */
866
857
  sourceArn?: string | undefined;
867
858
  }
859
+ /**
860
+ * @public
861
+ */
862
+ export interface InvokeInlineAgentRequest {
863
+ /**
864
+ * <p>
865
+ * The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent.
866
+ * </p>
867
+ * @public
868
+ */
869
+ customerEncryptionKeyArn?: string | undefined;
870
+ /**
871
+ * <p>
872
+ * The <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns">model identifier (ID)</a> of the model to use for orchestration by the inline agent. For example, <code>meta.llama3-1-70b-instruct-v1:0</code>.
873
+ * </p>
874
+ * @public
875
+ */
876
+ foundationModel: string | undefined;
877
+ /**
878
+ * <p>
879
+ * The instructions that tell the inline agent what it should do and how it should interact with users.
880
+ * </p>
881
+ * @public
882
+ */
883
+ instruction: string | undefined;
884
+ /**
885
+ * <p>
886
+ * The number of seconds for which the inline agent should maintain session information. After this time expires, the subsequent <code>InvokeInlineAgent</code> request begins a new session.
887
+ * </p>
888
+ * <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and the data provided before the timeout is deleted.</p>
889
+ * @public
890
+ */
891
+ idleSessionTTLInSeconds?: number | undefined;
892
+ /**
893
+ * <p>
894
+ * A list of action groups with each action group defining the action the inline agent needs to carry out.
895
+ * </p>
896
+ * @public
897
+ */
898
+ actionGroups?: AgentActionGroup[] | undefined;
899
+ /**
900
+ * <p>
901
+ * Contains information of the knowledge bases to associate with.
902
+ * </p>
903
+ * @public
904
+ */
905
+ knowledgeBases?: KnowledgeBase[] | undefined;
906
+ /**
907
+ * <p>
908
+ * The <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">guardrails</a> to assign to the inline agent.
909
+ * </p>
910
+ * @public
911
+ */
912
+ guardrailConfiguration?: GuardrailConfigurationWithArn | undefined;
913
+ /**
914
+ * <p>
915
+ * Configurations for advanced prompts used to override the default prompts to enhance the accuracy of the inline agent.
916
+ * </p>
917
+ * @public
918
+ */
919
+ promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
920
+ /**
921
+ * <p>
922
+ * Defines how the inline collaborator agent handles information across multiple collaborator agents to coordinate a final response. The inline collaborator agent can also be the supervisor.
923
+ * </p>
924
+ * @public
925
+ */
926
+ agentCollaboration?: AgentCollaboration | undefined;
927
+ /**
928
+ * <p>
929
+ * Settings for an inline agent collaborator called with <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeInlineAgent.html">InvokeInlineAgent</a>.
930
+ * </p>
931
+ * @public
932
+ */
933
+ collaboratorConfigurations?: CollaboratorConfiguration[] | undefined;
934
+ /**
935
+ * <p>
936
+ * The unique identifier of the session. Use the same value across requests to continue the same conversation.
937
+ * </p>
938
+ * @public
939
+ */
940
+ sessionId: string | undefined;
941
+ /**
942
+ * <p>
943
+ * Specifies whether to end the session with the inline agent or not.
944
+ * </p>
945
+ * @public
946
+ */
947
+ endSession?: boolean | undefined;
948
+ /**
949
+ * <p>
950
+ * Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html">Using trace</a>.
951
+ *
952
+ * </p>
953
+ * @public
954
+ */
955
+ enableTrace?: boolean | undefined;
956
+ /**
957
+ * <p>
958
+ * The prompt text to send to the agent.
959
+ * </p>
960
+ * <note>
961
+ * <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p>
962
+ * </note>
963
+ * @public
964
+ */
965
+ inputText?: string | undefined;
966
+ /**
967
+ * <p>
968
+ * Specifies the configurations for streaming.
969
+ * </p>
970
+ * <note>
971
+ * <p>To use agent streaming, you need permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>
972
+ * </note>
973
+ * @public
974
+ */
975
+ streamingConfigurations?: StreamingConfigurations | undefined;
976
+ /**
977
+ * <p>
978
+ * Parameters that specify the various attributes of a sessions. You can include attributes for the session or prompt or, if you configured an
979
+ * action group to return control, results from invocation of the action group. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html">Control session context</a>.
980
+ * </p>
981
+ * <note>
982
+ * <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p>
983
+ * </note>
984
+ * @public
985
+ */
986
+ inlineSessionState?: InlineSessionState | undefined;
987
+ /**
988
+ * <p>
989
+ * List of collaborator inline agents.
990
+ * </p>
991
+ * @public
992
+ */
993
+ collaborators?: Collaborator[] | undefined;
994
+ /**
995
+ * <p>Model settings for the request.</p>
996
+ * @public
997
+ */
998
+ bedrockModelConfigurations?: InlineBedrockModelConfigurations | undefined;
999
+ }
868
1000
  /**
869
1001
  * @internal
870
1002
  */
@@ -900,7 +1032,7 @@ export declare const RetrieveAndGenerateConfigurationFilterSensitiveLog: (obj: R
900
1032
  /**
901
1033
  * @internal
902
1034
  */
903
- export declare const InvokeInlineAgentRequestFilterSensitiveLog: (obj: InvokeInlineAgentRequest) => any;
1035
+ export declare const CollaboratorFilterSensitiveLog: (obj: Collaborator) => any;
904
1036
  /**
905
1037
  * @internal
906
1038
  */
@@ -917,3 +1049,7 @@ export declare const SessionStateFilterSensitiveLog: (obj: SessionState) => any;
917
1049
  * @internal
918
1050
  */
919
1051
  export declare const InvokeAgentRequestFilterSensitiveLog: (obj: InvokeAgentRequest) => any;
1052
+ /**
1053
+ * @internal
1054
+ */
1055
+ export declare const InvokeInlineAgentRequestFilterSensitiveLog: (obj: InvokeInlineAgentRequest) => any;
@@ -5,7 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
8
+ import { TagResourceRequest } from "../models/models_0";
9
+ import { TagResourceResponse } from "../models/models_1";
9
10
  export { __MetadataBearer };
10
11
  export { $Command };
11
12
  export interface TagResourceCommandInput extends TagResourceRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UntagResourceRequest,
10
10
  UntagResourceResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
@@ -161,6 +161,13 @@ export interface AgentActionGroup {
161
161
  apiSchema?: APISchema | undefined;
162
162
  functionSchema?: FunctionSchema | undefined;
163
163
  }
164
+ export declare const AgentCollaboration: {
165
+ readonly DISABLED: "DISABLED";
166
+ readonly SUPERVISOR: "SUPERVISOR";
167
+ readonly SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER";
168
+ };
169
+ export type AgentCollaboration =
170
+ (typeof AgentCollaboration)[keyof typeof AgentCollaboration];
164
171
  export declare const ConfirmationState: {
165
172
  readonly CONFIRM: "CONFIRM";
166
173
  readonly DENY: "DENY";
@@ -1800,6 +1807,7 @@ export interface TracePart {
1800
1807
  agentAliasId?: string | undefined;
1801
1808
  agentVersion?: string | undefined;
1802
1809
  callerChain?: Caller[] | undefined;
1810
+ eventTime?: Date | undefined;
1803
1811
  collaboratorName?: string | undefined;
1804
1812
  }
1805
1813
  export type ResponseStream =
@@ -2102,17 +2110,22 @@ export interface InvokeAgentResponse {
2102
2110
  export interface InlineBedrockModelConfigurations {
2103
2111
  performanceConfig?: PerformanceConfiguration | undefined;
2104
2112
  }
2113
+ export declare const RelayConversationHistory: {
2114
+ readonly DISABLED: "DISABLED";
2115
+ readonly TO_COLLABORATOR: "TO_COLLABORATOR";
2116
+ };
2117
+ export type RelayConversationHistory =
2118
+ (typeof RelayConversationHistory)[keyof typeof RelayConversationHistory];
2119
+ export interface CollaboratorConfiguration {
2120
+ collaboratorName: string | undefined;
2121
+ collaboratorInstruction: string | undefined;
2122
+ agentAliasArn?: string | undefined;
2123
+ relayConversationHistory?: RelayConversationHistory | undefined;
2124
+ }
2105
2125
  export interface GuardrailConfigurationWithArn {
2106
2126
  guardrailIdentifier: string | undefined;
2107
2127
  guardrailVersion: string | undefined;
2108
2128
  }
2109
- export interface InlineSessionState {
2110
- sessionAttributes?: Record<string, string> | undefined;
2111
- promptSessionAttributes?: Record<string, string> | undefined;
2112
- returnControlInvocationResults?: InvocationResultMember[] | undefined;
2113
- invocationId?: string | undefined;
2114
- files?: InputFile[] | undefined;
2115
- }
2116
2129
  export declare const PromptState: {
2117
2130
  readonly DISABLED: "DISABLED";
2118
2131
  readonly ENABLED: "ENABLED";
@@ -2125,12 +2138,21 @@ export interface PromptConfiguration {
2125
2138
  basePromptTemplate?: string | undefined;
2126
2139
  inferenceConfiguration?: InferenceConfiguration | undefined;
2127
2140
  parserMode?: CreationMode | undefined;
2141
+ foundationModel?: string | undefined;
2128
2142
  additionalModelRequestFields?: __DocumentType | undefined;
2129
2143
  }
2130
2144
  export interface PromptOverrideConfiguration {
2131
2145
  promptConfigurations: PromptConfiguration[] | undefined;
2132
2146
  overrideLambda?: string | undefined;
2133
2147
  }
2148
+ export interface InlineSessionState {
2149
+ sessionAttributes?: Record<string, string> | undefined;
2150
+ promptSessionAttributes?: Record<string, string> | undefined;
2151
+ returnControlInvocationResults?: InvocationResultMember[] | undefined;
2152
+ invocationId?: string | undefined;
2153
+ files?: InputFile[] | undefined;
2154
+ conversationHistory?: ConversationHistory | undefined;
2155
+ }
2134
2156
  export interface InlineAgentPayloadPart {
2135
2157
  bytes?: Uint8Array | undefined;
2136
2158
  attribution?: Attribution | undefined;
@@ -3279,12 +3301,6 @@ export interface TagResourceRequest {
3279
3301
  resourceArn: string | undefined;
3280
3302
  tags: Record<string, string> | undefined;
3281
3303
  }
3282
- export interface TagResourceResponse {}
3283
- export interface UntagResourceRequest {
3284
- resourceArn: string | undefined;
3285
- tagKeys: string[] | undefined;
3286
- }
3287
- export interface UntagResourceResponse {}
3288
3304
  export declare const ActionGroupInvocationInputFilterSensitiveLog: (
3289
3305
  obj: ActionGroupInvocationInput
3290
3306
  ) => any;
@@ -3552,8 +3568,8 @@ export declare const ResponseStreamFilterSensitiveLog: (
3552
3568
  export declare const InvokeAgentResponseFilterSensitiveLog: (
3553
3569
  obj: InvokeAgentResponse
3554
3570
  ) => any;
3555
- export declare const InlineSessionStateFilterSensitiveLog: (
3556
- obj: InlineSessionState
3571
+ export declare const CollaboratorConfigurationFilterSensitiveLog: (
3572
+ obj: CollaboratorConfiguration
3557
3573
  ) => any;
3558
3574
  export declare const PromptConfigurationFilterSensitiveLog: (
3559
3575
  obj: PromptConfiguration
@@ -3561,6 +3577,9 @@ export declare const PromptConfigurationFilterSensitiveLog: (
3561
3577
  export declare const PromptOverrideConfigurationFilterSensitiveLog: (
3562
3578
  obj: PromptOverrideConfiguration
3563
3579
  ) => any;
3580
+ export declare const InlineSessionStateFilterSensitiveLog: (
3581
+ obj: InlineSessionState
3582
+ ) => any;
3564
3583
  export declare const InlineAgentPayloadPartFilterSensitiveLog: (
3565
3584
  obj: InlineAgentPayloadPart
3566
3585
  ) => any;
@@ -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,12 @@ import {
22
24
  StreamingConfigurations,
23
25
  VectorSearchRerankingConfiguration,
24
26
  } from "./models_0";
27
+ export interface TagResourceResponse {}
28
+ export interface UntagResourceRequest {
29
+ resourceArn: string | undefined;
30
+ tagKeys: string[] | undefined;
31
+ }
32
+ export interface UntagResourceResponse {}
25
33
  export type RetrievalFilter =
26
34
  | RetrievalFilter.AndAllMember
27
35
  | RetrievalFilter.EqualsMember
@@ -322,13 +330,8 @@ export interface RetrieveAndGenerateConfiguration {
322
330
  | ExternalSourcesRetrieveAndGenerateConfiguration
323
331
  | undefined;
324
332
  }
325
- export interface InvokeInlineAgentRequest {
326
- sessionId: string | undefined;
333
+ export interface Collaborator {
327
334
  customerEncryptionKeyArn?: string | undefined;
328
- endSession?: boolean | undefined;
329
- enableTrace?: boolean | undefined;
330
- inputText?: string | undefined;
331
- inlineSessionState?: InlineSessionState | undefined;
332
335
  foundationModel: string | undefined;
333
336
  instruction: string | undefined;
334
337
  idleSessionTTLInSeconds?: number | undefined;
@@ -336,8 +339,9 @@ export interface InvokeInlineAgentRequest {
336
339
  knowledgeBases?: KnowledgeBase[] | undefined;
337
340
  guardrailConfiguration?: GuardrailConfigurationWithArn | undefined;
338
341
  promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
339
- bedrockModelConfigurations?: InlineBedrockModelConfigurations | undefined;
340
- streamingConfigurations?: StreamingConfigurations | undefined;
342
+ agentCollaboration?: AgentCollaboration | undefined;
343
+ collaboratorConfigurations?: CollaboratorConfiguration[] | undefined;
344
+ agentName?: string | undefined;
341
345
  }
342
346
  export interface RetrieveAndGenerateRequest {
343
347
  sessionId?: string | undefined;
@@ -377,6 +381,26 @@ export interface InvokeAgentRequest {
377
381
  streamingConfigurations?: StreamingConfigurations | undefined;
378
382
  sourceArn?: string | undefined;
379
383
  }
384
+ export interface InvokeInlineAgentRequest {
385
+ customerEncryptionKeyArn?: string | undefined;
386
+ foundationModel: string | undefined;
387
+ instruction: string | undefined;
388
+ idleSessionTTLInSeconds?: number | undefined;
389
+ actionGroups?: AgentActionGroup[] | undefined;
390
+ knowledgeBases?: KnowledgeBase[] | undefined;
391
+ guardrailConfiguration?: GuardrailConfigurationWithArn | undefined;
392
+ promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
393
+ agentCollaboration?: AgentCollaboration | undefined;
394
+ collaboratorConfigurations?: CollaboratorConfiguration[] | undefined;
395
+ sessionId: string | undefined;
396
+ endSession?: boolean | undefined;
397
+ enableTrace?: boolean | undefined;
398
+ inputText?: string | undefined;
399
+ streamingConfigurations?: StreamingConfigurations | undefined;
400
+ inlineSessionState?: InlineSessionState | undefined;
401
+ collaborators?: Collaborator[] | undefined;
402
+ bedrockModelConfigurations?: InlineBedrockModelConfigurations | undefined;
403
+ }
380
404
  export declare const RetrievalFilterFilterSensitiveLog: (
381
405
  obj: RetrievalFilter
382
406
  ) => any;
@@ -401,9 +425,7 @@ export declare const RetrieveRequestFilterSensitiveLog: (
401
425
  export declare const RetrieveAndGenerateConfigurationFilterSensitiveLog: (
402
426
  obj: RetrieveAndGenerateConfiguration
403
427
  ) => any;
404
- export declare const InvokeInlineAgentRequestFilterSensitiveLog: (
405
- obj: InvokeInlineAgentRequest
406
- ) => any;
428
+ export declare const CollaboratorFilterSensitiveLog: (obj: Collaborator) => any;
407
429
  export declare const RetrieveAndGenerateRequestFilterSensitiveLog: (
408
430
  obj: RetrieveAndGenerateRequest
409
431
  ) => any;
@@ -414,3 +436,6 @@ export declare const SessionStateFilterSensitiveLog: (obj: SessionState) => any;
414
436
  export declare const InvokeAgentRequestFilterSensitiveLog: (
415
437
  obj: InvokeAgentRequest
416
438
  ) => any;
439
+ export declare const InvokeInlineAgentRequestFilterSensitiveLog: (
440
+ obj: InvokeInlineAgentRequest
441
+ ) => 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.764.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",