@aws-sdk/client-bedrock-agent-runtime 3.703.0 → 3.706.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.
@@ -161,6 +161,159 @@ export interface AgentActionGroup {
161
161
  apiSchema?: APISchema | undefined;
162
162
  functionSchema?: FunctionSchema | undefined;
163
163
  }
164
+ export declare const ConfirmationState: {
165
+ readonly CONFIRM: "CONFIRM";
166
+ readonly DENY: "DENY";
167
+ };
168
+ export type ConfirmationState =
169
+ (typeof ConfirmationState)[keyof typeof ConfirmationState];
170
+ export interface ContentBody {
171
+ body?: string | undefined;
172
+ }
173
+ export declare const ResponseState: {
174
+ readonly FAILURE: "FAILURE";
175
+ readonly REPROMPT: "REPROMPT";
176
+ };
177
+ export type ResponseState = (typeof ResponseState)[keyof typeof ResponseState];
178
+ export interface ApiResult {
179
+ actionGroup: string | undefined;
180
+ httpMethod?: string | undefined;
181
+ apiPath?: string | undefined;
182
+ confirmationState?: ConfirmationState | undefined;
183
+ responseBody?: Record<string, ContentBody> | undefined;
184
+ httpStatusCode?: number | undefined;
185
+ responseState?: ResponseState | undefined;
186
+ agentId?: string | undefined;
187
+ }
188
+ export interface FunctionResult {
189
+ actionGroup: string | undefined;
190
+ confirmationState?: ConfirmationState | undefined;
191
+ function?: string | undefined;
192
+ responseBody?: Record<string, ContentBody> | undefined;
193
+ responseState?: ResponseState | undefined;
194
+ agentId?: string | undefined;
195
+ }
196
+ export type InvocationResultMember =
197
+ | InvocationResultMember.ApiResultMember
198
+ | InvocationResultMember.FunctionResultMember
199
+ | InvocationResultMember.$UnknownMember;
200
+ export declare namespace InvocationResultMember {
201
+ interface ApiResultMember {
202
+ apiResult: ApiResult;
203
+ functionResult?: never;
204
+ $unknown?: never;
205
+ }
206
+ interface FunctionResultMember {
207
+ apiResult?: never;
208
+ functionResult: FunctionResult;
209
+ $unknown?: never;
210
+ }
211
+ interface $UnknownMember {
212
+ apiResult?: never;
213
+ functionResult?: never;
214
+ $unknown: [string, any];
215
+ }
216
+ interface Visitor<T> {
217
+ apiResult: (value: ApiResult) => T;
218
+ functionResult: (value: FunctionResult) => T;
219
+ _: (name: string, value: any) => T;
220
+ }
221
+ const visit: <T>(value: InvocationResultMember, visitor: Visitor<T>) => T;
222
+ }
223
+ export interface ReturnControlResults {
224
+ invocationId?: string | undefined;
225
+ returnControlInvocationResults?: InvocationResultMember[] | undefined;
226
+ }
227
+ export declare const PayloadType: {
228
+ readonly RETURN_CONTROL: "RETURN_CONTROL";
229
+ readonly TEXT: "TEXT";
230
+ };
231
+ export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
232
+ export interface AgentCollaboratorInputPayload {
233
+ type?: PayloadType | undefined;
234
+ text?: string | undefined;
235
+ returnControlResults?: ReturnControlResults | undefined;
236
+ }
237
+ export interface AgentCollaboratorInvocationInput {
238
+ agentCollaboratorName?: string | undefined;
239
+ agentCollaboratorAliasArn?: string | undefined;
240
+ input?: AgentCollaboratorInputPayload | undefined;
241
+ }
242
+ export interface ApiParameter {
243
+ name?: string | undefined;
244
+ type?: string | undefined;
245
+ value?: string | undefined;
246
+ }
247
+ export interface PropertyParameters {
248
+ properties?: Parameter[] | undefined;
249
+ }
250
+ export interface ApiRequestBody {
251
+ content?: Record<string, PropertyParameters> | undefined;
252
+ }
253
+ export interface ApiInvocationInput {
254
+ actionGroup: string | undefined;
255
+ httpMethod?: string | undefined;
256
+ apiPath?: string | undefined;
257
+ parameters?: ApiParameter[] | undefined;
258
+ requestBody?: ApiRequestBody | undefined;
259
+ actionInvocationType?: ActionInvocationType | undefined;
260
+ agentId?: string | undefined;
261
+ collaboratorName?: string | undefined;
262
+ }
263
+ export interface FunctionParameter {
264
+ name?: string | undefined;
265
+ type?: string | undefined;
266
+ value?: string | undefined;
267
+ }
268
+ export interface FunctionInvocationInput {
269
+ actionGroup: string | undefined;
270
+ parameters?: FunctionParameter[] | undefined;
271
+ function?: string | undefined;
272
+ actionInvocationType?: ActionInvocationType | undefined;
273
+ agentId?: string | undefined;
274
+ collaboratorName?: string | undefined;
275
+ }
276
+ export type InvocationInputMember =
277
+ | InvocationInputMember.ApiInvocationInputMember
278
+ | InvocationInputMember.FunctionInvocationInputMember
279
+ | InvocationInputMember.$UnknownMember;
280
+ export declare namespace InvocationInputMember {
281
+ interface ApiInvocationInputMember {
282
+ apiInvocationInput: ApiInvocationInput;
283
+ functionInvocationInput?: never;
284
+ $unknown?: never;
285
+ }
286
+ interface FunctionInvocationInputMember {
287
+ apiInvocationInput?: never;
288
+ functionInvocationInput: FunctionInvocationInput;
289
+ $unknown?: never;
290
+ }
291
+ interface $UnknownMember {
292
+ apiInvocationInput?: never;
293
+ functionInvocationInput?: never;
294
+ $unknown: [string, any];
295
+ }
296
+ interface Visitor<T> {
297
+ apiInvocationInput: (value: ApiInvocationInput) => T;
298
+ functionInvocationInput: (value: FunctionInvocationInput) => T;
299
+ _: (name: string, value: any) => T;
300
+ }
301
+ const visit: <T>(value: InvocationInputMember, visitor: Visitor<T>) => T;
302
+ }
303
+ export interface ReturnControlPayload {
304
+ invocationInputs?: InvocationInputMember[] | undefined;
305
+ invocationId?: string | undefined;
306
+ }
307
+ export interface AgentCollaboratorOutputPayload {
308
+ type?: PayloadType | undefined;
309
+ text?: string | undefined;
310
+ returnControlPayload?: ReturnControlPayload | undefined;
311
+ }
312
+ export interface AgentCollaboratorInvocationOutput {
313
+ agentCollaboratorName?: string | undefined;
314
+ agentCollaboratorAliasArn?: string | undefined;
315
+ output?: AgentCollaboratorOutputPayload | undefined;
316
+ }
164
317
  export declare class BadGatewayException extends __BaseException {
165
318
  readonly name: "BadGatewayException";
166
319
  readonly $fault: "server";
@@ -620,6 +773,83 @@ export declare namespace FlowResponseStream {
620
773
  export interface InvokeFlowResponse {
621
774
  responseStream: AsyncIterable<FlowResponseStream> | undefined;
622
775
  }
776
+ export declare const InputQueryType: {
777
+ readonly TEXT: "TEXT";
778
+ };
779
+ export type InputQueryType =
780
+ (typeof InputQueryType)[keyof typeof InputQueryType];
781
+ export interface QueryGenerationInput {
782
+ type: InputQueryType | undefined;
783
+ text: string | undefined;
784
+ }
785
+ export declare const QueryTransformationMode: {
786
+ readonly TEXT_TO_SQL: "TEXT_TO_SQL";
787
+ };
788
+ export type QueryTransformationMode =
789
+ (typeof QueryTransformationMode)[keyof typeof QueryTransformationMode];
790
+ export interface TextToSqlKnowledgeBaseConfiguration {
791
+ knowledgeBaseArn: string | undefined;
792
+ }
793
+ export declare const TextToSqlConfigurationType: {
794
+ readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
795
+ };
796
+ export type TextToSqlConfigurationType =
797
+ (typeof TextToSqlConfigurationType)[keyof typeof TextToSqlConfigurationType];
798
+ export interface TextToSqlConfiguration {
799
+ type: TextToSqlConfigurationType | undefined;
800
+ knowledgeBaseConfiguration?: TextToSqlKnowledgeBaseConfiguration | undefined;
801
+ }
802
+ export interface TransformationConfiguration {
803
+ mode: QueryTransformationMode | undefined;
804
+ textToSqlConfiguration?: TextToSqlConfiguration | undefined;
805
+ }
806
+ export interface GenerateQueryRequest {
807
+ queryGenerationInput: QueryGenerationInput | undefined;
808
+ transformationConfiguration: TransformationConfiguration | undefined;
809
+ }
810
+ export declare const GeneratedQueryType: {
811
+ readonly REDSHIFT_SQL: "REDSHIFT_SQL";
812
+ };
813
+ export type GeneratedQueryType =
814
+ (typeof GeneratedQueryType)[keyof typeof GeneratedQueryType];
815
+ export interface GeneratedQuery {
816
+ type?: GeneratedQueryType | undefined;
817
+ sql?: string | undefined;
818
+ }
819
+ export interface GenerateQueryResponse {
820
+ queries?: GeneratedQuery[] | undefined;
821
+ }
822
+ export type ContentBlock =
823
+ | ContentBlock.TextMember
824
+ | ContentBlock.$UnknownMember;
825
+ export declare namespace ContentBlock {
826
+ interface TextMember {
827
+ text: string;
828
+ $unknown?: never;
829
+ }
830
+ interface $UnknownMember {
831
+ text?: never;
832
+ $unknown: [string, any];
833
+ }
834
+ interface Visitor<T> {
835
+ text: (value: string) => T;
836
+ _: (name: string, value: any) => T;
837
+ }
838
+ const visit: <T>(value: ContentBlock, visitor: Visitor<T>) => T;
839
+ }
840
+ export declare const ConversationRole: {
841
+ readonly ASSISTANT: "assistant";
842
+ readonly USER: "user";
843
+ };
844
+ export type ConversationRole =
845
+ (typeof ConversationRole)[keyof typeof ConversationRole];
846
+ export interface Message {
847
+ role: ConversationRole | undefined;
848
+ content: ContentBlock[] | undefined;
849
+ }
850
+ export interface ConversationHistory {
851
+ messages?: Message[] | undefined;
852
+ }
623
853
  export interface ByteContentFile {
624
854
  mediaType: string | undefined;
625
855
  data: Uint8Array | undefined;
@@ -740,63 +970,6 @@ export interface VectorSearchRerankingConfiguration {
740
970
  | VectorSearchBedrockRerankingConfiguration
741
971
  | undefined;
742
972
  }
743
- export declare const ConfirmationState: {
744
- readonly CONFIRM: "CONFIRM";
745
- readonly DENY: "DENY";
746
- };
747
- export type ConfirmationState =
748
- (typeof ConfirmationState)[keyof typeof ConfirmationState];
749
- export interface ContentBody {
750
- body?: string | undefined;
751
- }
752
- export declare const ResponseState: {
753
- readonly FAILURE: "FAILURE";
754
- readonly REPROMPT: "REPROMPT";
755
- };
756
- export type ResponseState = (typeof ResponseState)[keyof typeof ResponseState];
757
- export interface ApiResult {
758
- actionGroup: string | undefined;
759
- httpMethod?: string | undefined;
760
- apiPath?: string | undefined;
761
- confirmationState?: ConfirmationState | undefined;
762
- responseBody?: Record<string, ContentBody> | undefined;
763
- httpStatusCode?: number | undefined;
764
- responseState?: ResponseState | undefined;
765
- }
766
- export interface FunctionResult {
767
- actionGroup: string | undefined;
768
- confirmationState?: ConfirmationState | undefined;
769
- function?: string | undefined;
770
- responseBody?: Record<string, ContentBody> | undefined;
771
- responseState?: ResponseState | undefined;
772
- }
773
- export type InvocationResultMember =
774
- | InvocationResultMember.ApiResultMember
775
- | InvocationResultMember.FunctionResultMember
776
- | InvocationResultMember.$UnknownMember;
777
- export declare namespace InvocationResultMember {
778
- interface ApiResultMember {
779
- apiResult: ApiResult;
780
- functionResult?: never;
781
- $unknown?: never;
782
- }
783
- interface FunctionResultMember {
784
- apiResult?: never;
785
- functionResult: FunctionResult;
786
- $unknown?: never;
787
- }
788
- interface $UnknownMember {
789
- apiResult?: never;
790
- functionResult?: never;
791
- $unknown: [string, any];
792
- }
793
- interface Visitor<T> {
794
- apiResult: (value: ApiResult) => T;
795
- functionResult: (value: FunctionResult) => T;
796
- _: (name: string, value: any) => T;
797
- }
798
- const visit: <T>(value: InvocationResultMember, visitor: Visitor<T>) => T;
799
- }
800
973
  export interface StreamingConfigurations {
801
974
  streamFinalResponse?: boolean | undefined;
802
975
  applyGuardrailInterval?: number | undefined;
@@ -812,8 +985,33 @@ export interface TextResponsePart {
812
985
  export interface GeneratedResponsePart {
813
986
  textResponsePart?: TextResponsePart | undefined;
814
987
  }
988
+ export declare const RetrievalResultContentColumnType: {
989
+ readonly BLOB: "BLOB";
990
+ readonly BOOLEAN: "BOOLEAN";
991
+ readonly DOUBLE: "DOUBLE";
992
+ readonly LONG: "LONG";
993
+ readonly NULL: "NULL";
994
+ readonly STRING: "STRING";
995
+ };
996
+ export type RetrievalResultContentColumnType =
997
+ (typeof RetrievalResultContentColumnType)[keyof typeof RetrievalResultContentColumnType];
998
+ export interface RetrievalResultContentColumn {
999
+ columnName?: string | undefined;
1000
+ columnValue?: string | undefined;
1001
+ type?: RetrievalResultContentColumnType | undefined;
1002
+ }
1003
+ export declare const RetrievalResultContentType: {
1004
+ readonly IMAGE: "IMAGE";
1005
+ readonly ROW: "ROW";
1006
+ readonly TEXT: "TEXT";
1007
+ };
1008
+ export type RetrievalResultContentType =
1009
+ (typeof RetrievalResultContentType)[keyof typeof RetrievalResultContentType];
815
1010
  export interface RetrievalResultContent {
816
- text: string | undefined;
1011
+ type?: RetrievalResultContentType | undefined;
1012
+ text?: string | undefined;
1013
+ byteContent?: string | undefined;
1014
+ row?: RetrievalResultContentColumn[] | undefined;
817
1015
  }
818
1016
  export interface RetrievalResultConfluenceLocation {
819
1017
  url?: string | undefined;
@@ -821,6 +1019,9 @@ export interface RetrievalResultConfluenceLocation {
821
1019
  export interface RetrievalResultCustomDocumentLocation {
822
1020
  id?: string | undefined;
823
1021
  }
1022
+ export interface RetrievalResultKendraDocumentLocation {
1023
+ uri?: string | undefined;
1024
+ }
824
1025
  export interface RetrievalResultS3Location {
825
1026
  uri?: string | undefined;
826
1027
  }
@@ -830,12 +1031,17 @@ export interface RetrievalResultSalesforceLocation {
830
1031
  export interface RetrievalResultSharePointLocation {
831
1032
  url?: string | undefined;
832
1033
  }
1034
+ export interface RetrievalResultSqlLocation {
1035
+ query?: string | undefined;
1036
+ }
833
1037
  export declare const RetrievalResultLocationType: {
834
1038
  readonly CONFLUENCE: "CONFLUENCE";
835
1039
  readonly CUSTOM: "CUSTOM";
1040
+ readonly KENDRA: "KENDRA";
836
1041
  readonly S3: "S3";
837
1042
  readonly SALESFORCE: "SALESFORCE";
838
1043
  readonly SHAREPOINT: "SHAREPOINT";
1044
+ readonly SQL: "SQL";
839
1045
  readonly WEB: "WEB";
840
1046
  };
841
1047
  export type RetrievalResultLocationType =
@@ -851,6 +1057,8 @@ export interface RetrievalResultLocation {
851
1057
  salesforceLocation?: RetrievalResultSalesforceLocation | undefined;
852
1058
  sharePointLocation?: RetrievalResultSharePointLocation | undefined;
853
1059
  customDocumentLocation?: RetrievalResultCustomDocumentLocation | undefined;
1060
+ kendraDocumentLocation?: RetrievalResultKendraDocumentLocation | undefined;
1061
+ sqlLocation?: RetrievalResultSqlLocation | undefined;
854
1062
  }
855
1063
  export interface RetrievedReference {
856
1064
  content?: RetrievalResultContent | undefined;
@@ -876,66 +1084,21 @@ export interface OutputFile {
876
1084
  export interface FilePart {
877
1085
  files?: OutputFile[] | undefined;
878
1086
  }
879
- export interface ApiParameter {
880
- name?: string | undefined;
881
- type?: string | undefined;
882
- value?: string | undefined;
883
- }
884
- export interface PropertyParameters {
885
- properties?: Parameter[] | undefined;
886
- }
887
- export interface ApiRequestBody {
888
- content?: Record<string, PropertyParameters> | undefined;
889
- }
890
- export interface ApiInvocationInput {
891
- actionGroup: string | undefined;
892
- httpMethod?: string | undefined;
893
- apiPath?: string | undefined;
894
- parameters?: ApiParameter[] | undefined;
895
- requestBody?: ApiRequestBody | undefined;
896
- actionInvocationType?: ActionInvocationType | undefined;
897
- }
898
- export interface FunctionParameter {
899
- name?: string | undefined;
900
- type?: string | undefined;
901
- value?: string | undefined;
902
- }
903
- export interface FunctionInvocationInput {
904
- actionGroup: string | undefined;
905
- parameters?: FunctionParameter[] | undefined;
906
- function?: string | undefined;
907
- actionInvocationType?: ActionInvocationType | undefined;
908
- }
909
- export type InvocationInputMember =
910
- | InvocationInputMember.ApiInvocationInputMember
911
- | InvocationInputMember.FunctionInvocationInputMember
912
- | InvocationInputMember.$UnknownMember;
913
- export declare namespace InvocationInputMember {
914
- interface ApiInvocationInputMember {
915
- apiInvocationInput: ApiInvocationInput;
916
- functionInvocationInput?: never;
917
- $unknown?: never;
918
- }
919
- interface FunctionInvocationInputMember {
920
- apiInvocationInput?: never;
921
- functionInvocationInput: FunctionInvocationInput;
1087
+ export type Caller = Caller.AgentAliasArnMember | Caller.$UnknownMember;
1088
+ export declare namespace Caller {
1089
+ interface AgentAliasArnMember {
1090
+ agentAliasArn: string;
922
1091
  $unknown?: never;
923
1092
  }
924
1093
  interface $UnknownMember {
925
- apiInvocationInput?: never;
926
- functionInvocationInput?: never;
1094
+ agentAliasArn?: never;
927
1095
  $unknown: [string, any];
928
1096
  }
929
1097
  interface Visitor<T> {
930
- apiInvocationInput: (value: ApiInvocationInput) => T;
931
- functionInvocationInput: (value: FunctionInvocationInput) => T;
1098
+ agentAliasArn: (value: string) => T;
932
1099
  _: (name: string, value: any) => T;
933
1100
  }
934
- const visit: <T>(value: InvocationInputMember, visitor: Visitor<T>) => T;
935
- }
936
- export interface ReturnControlPayload {
937
- invocationInputs?: InvocationInputMember[] | undefined;
938
- invocationId?: string | undefined;
1101
+ const visit: <T>(value: Caller, visitor: Visitor<T>) => T;
939
1102
  }
940
1103
  export interface CustomOrchestrationTraceEvent {
941
1104
  text?: string | undefined;
@@ -1103,6 +1266,7 @@ export interface CodeInterpreterInvocationInput {
1103
1266
  export declare const InvocationType: {
1104
1267
  readonly ACTION_GROUP: "ACTION_GROUP";
1105
1268
  readonly ACTION_GROUP_CODE_INTERPRETER: "ACTION_GROUP_CODE_INTERPRETER";
1269
+ readonly AGENT_COLLABORATOR: "AGENT_COLLABORATOR";
1106
1270
  readonly FINISH: "FINISH";
1107
1271
  readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
1108
1272
  };
@@ -1118,6 +1282,9 @@ export interface InvocationInput {
1118
1282
  actionGroupInvocationInput?: ActionGroupInvocationInput | undefined;
1119
1283
  knowledgeBaseLookupInput?: KnowledgeBaseLookupInput | undefined;
1120
1284
  codeInterpreterInvocationInput?: CodeInterpreterInvocationInput | undefined;
1285
+ agentCollaboratorInvocationInput?:
1286
+ | AgentCollaboratorInvocationInput
1287
+ | undefined;
1121
1288
  }
1122
1289
  export interface InferenceConfiguration {
1123
1290
  temperature?: number | undefined;
@@ -1147,6 +1314,7 @@ export interface ModelInvocationInput {
1147
1314
  promptCreationMode?: CreationMode | undefined;
1148
1315
  inferenceConfiguration?: InferenceConfiguration | undefined;
1149
1316
  parserMode?: CreationMode | undefined;
1317
+ foundationModel?: string | undefined;
1150
1318
  }
1151
1319
  export interface Usage {
1152
1320
  inputTokens?: number | undefined;
@@ -1187,6 +1355,7 @@ export interface RepromptResponse {
1187
1355
  }
1188
1356
  export declare const Type: {
1189
1357
  readonly ACTION_GROUP: "ACTION_GROUP";
1358
+ readonly AGENT_COLLABORATOR: "AGENT_COLLABORATOR";
1190
1359
  readonly ASK_USER: "ASK_USER";
1191
1360
  readonly FINISH: "FINISH";
1192
1361
  readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
@@ -1197,6 +1366,9 @@ export interface Observation {
1197
1366
  traceId?: string | undefined;
1198
1367
  type?: Type | undefined;
1199
1368
  actionGroupInvocationOutput?: ActionGroupInvocationOutput | undefined;
1369
+ agentCollaboratorInvocationOutput?:
1370
+ | AgentCollaboratorInvocationOutput
1371
+ | undefined;
1200
1372
  knowledgeBaseLookupOutput?: KnowledgeBaseLookupOutput | undefined;
1201
1373
  finalResponse?: FinalResponse | undefined;
1202
1374
  repromptResponse?: RepromptResponse | undefined;
@@ -1345,6 +1517,62 @@ export declare namespace PreProcessingTrace {
1345
1517
  }
1346
1518
  const visit: <T>(value: PreProcessingTrace, visitor: Visitor<T>) => T;
1347
1519
  }
1520
+ export interface RoutingClassifierModelInvocationOutput {
1521
+ traceId?: string | undefined;
1522
+ rawResponse?: RawResponse | undefined;
1523
+ metadata?: Metadata | undefined;
1524
+ }
1525
+ export type RoutingClassifierTrace =
1526
+ | RoutingClassifierTrace.InvocationInputMember
1527
+ | RoutingClassifierTrace.ModelInvocationInputMember
1528
+ | RoutingClassifierTrace.ModelInvocationOutputMember
1529
+ | RoutingClassifierTrace.ObservationMember
1530
+ | RoutingClassifierTrace.$UnknownMember;
1531
+ export declare namespace RoutingClassifierTrace {
1532
+ interface InvocationInputMember {
1533
+ invocationInput: InvocationInput;
1534
+ observation?: never;
1535
+ modelInvocationInput?: never;
1536
+ modelInvocationOutput?: never;
1537
+ $unknown?: never;
1538
+ }
1539
+ interface ObservationMember {
1540
+ invocationInput?: never;
1541
+ observation: Observation;
1542
+ modelInvocationInput?: never;
1543
+ modelInvocationOutput?: never;
1544
+ $unknown?: never;
1545
+ }
1546
+ interface ModelInvocationInputMember {
1547
+ invocationInput?: never;
1548
+ observation?: never;
1549
+ modelInvocationInput: ModelInvocationInput;
1550
+ modelInvocationOutput?: never;
1551
+ $unknown?: never;
1552
+ }
1553
+ interface ModelInvocationOutputMember {
1554
+ invocationInput?: never;
1555
+ observation?: never;
1556
+ modelInvocationInput?: never;
1557
+ modelInvocationOutput: RoutingClassifierModelInvocationOutput;
1558
+ $unknown?: never;
1559
+ }
1560
+ interface $UnknownMember {
1561
+ invocationInput?: never;
1562
+ observation?: never;
1563
+ modelInvocationInput?: never;
1564
+ modelInvocationOutput?: never;
1565
+ $unknown: [string, any];
1566
+ }
1567
+ interface Visitor<T> {
1568
+ invocationInput: (value: InvocationInput) => T;
1569
+ observation: (value: Observation) => T;
1570
+ modelInvocationInput: (value: ModelInvocationInput) => T;
1571
+ modelInvocationOutput: (value: RoutingClassifierModelInvocationOutput) => T;
1572
+ _: (name: string, value: any) => T;
1573
+ }
1574
+ const visit: <T>(value: RoutingClassifierTrace, visitor: Visitor<T>) => T;
1575
+ }
1348
1576
  export type Trace =
1349
1577
  | Trace.CustomOrchestrationTraceMember
1350
1578
  | Trace.FailureTraceMember
@@ -1352,6 +1580,7 @@ export type Trace =
1352
1580
  | Trace.OrchestrationTraceMember
1353
1581
  | Trace.PostProcessingTraceMember
1354
1582
  | Trace.PreProcessingTraceMember
1583
+ | Trace.RoutingClassifierTraceMember
1355
1584
  | Trace.$UnknownMember;
1356
1585
  export declare namespace Trace {
1357
1586
  interface GuardrailTraceMember {
@@ -1359,6 +1588,7 @@ export declare namespace Trace {
1359
1588
  preProcessingTrace?: never;
1360
1589
  orchestrationTrace?: never;
1361
1590
  postProcessingTrace?: never;
1591
+ routingClassifierTrace?: never;
1362
1592
  failureTrace?: never;
1363
1593
  customOrchestrationTrace?: never;
1364
1594
  $unknown?: never;
@@ -1368,6 +1598,7 @@ export declare namespace Trace {
1368
1598
  preProcessingTrace: PreProcessingTrace;
1369
1599
  orchestrationTrace?: never;
1370
1600
  postProcessingTrace?: never;
1601
+ routingClassifierTrace?: never;
1371
1602
  failureTrace?: never;
1372
1603
  customOrchestrationTrace?: never;
1373
1604
  $unknown?: never;
@@ -1377,6 +1608,7 @@ export declare namespace Trace {
1377
1608
  preProcessingTrace?: never;
1378
1609
  orchestrationTrace: OrchestrationTrace;
1379
1610
  postProcessingTrace?: never;
1611
+ routingClassifierTrace?: never;
1380
1612
  failureTrace?: never;
1381
1613
  customOrchestrationTrace?: never;
1382
1614
  $unknown?: never;
@@ -1386,6 +1618,17 @@ export declare namespace Trace {
1386
1618
  preProcessingTrace?: never;
1387
1619
  orchestrationTrace?: never;
1388
1620
  postProcessingTrace: PostProcessingTrace;
1621
+ routingClassifierTrace?: never;
1622
+ failureTrace?: never;
1623
+ customOrchestrationTrace?: never;
1624
+ $unknown?: never;
1625
+ }
1626
+ interface RoutingClassifierTraceMember {
1627
+ guardrailTrace?: never;
1628
+ preProcessingTrace?: never;
1629
+ orchestrationTrace?: never;
1630
+ postProcessingTrace?: never;
1631
+ routingClassifierTrace: RoutingClassifierTrace;
1389
1632
  failureTrace?: never;
1390
1633
  customOrchestrationTrace?: never;
1391
1634
  $unknown?: never;
@@ -1395,6 +1638,7 @@ export declare namespace Trace {
1395
1638
  preProcessingTrace?: never;
1396
1639
  orchestrationTrace?: never;
1397
1640
  postProcessingTrace?: never;
1641
+ routingClassifierTrace?: never;
1398
1642
  failureTrace: FailureTrace;
1399
1643
  customOrchestrationTrace?: never;
1400
1644
  $unknown?: never;
@@ -1404,6 +1648,7 @@ export declare namespace Trace {
1404
1648
  preProcessingTrace?: never;
1405
1649
  orchestrationTrace?: never;
1406
1650
  postProcessingTrace?: never;
1651
+ routingClassifierTrace?: never;
1407
1652
  failureTrace?: never;
1408
1653
  customOrchestrationTrace: CustomOrchestrationTrace;
1409
1654
  $unknown?: never;
@@ -1413,6 +1658,7 @@ export declare namespace Trace {
1413
1658
  preProcessingTrace?: never;
1414
1659
  orchestrationTrace?: never;
1415
1660
  postProcessingTrace?: never;
1661
+ routingClassifierTrace?: never;
1416
1662
  failureTrace?: never;
1417
1663
  customOrchestrationTrace?: never;
1418
1664
  $unknown: [string, any];
@@ -1422,6 +1668,7 @@ export declare namespace Trace {
1422
1668
  preProcessingTrace: (value: PreProcessingTrace) => T;
1423
1669
  orchestrationTrace: (value: OrchestrationTrace) => T;
1424
1670
  postProcessingTrace: (value: PostProcessingTrace) => T;
1671
+ routingClassifierTrace: (value: RoutingClassifierTrace) => T;
1425
1672
  failureTrace: (value: FailureTrace) => T;
1426
1673
  customOrchestrationTrace: (value: CustomOrchestrationTrace) => T;
1427
1674
  _: (name: string, value: any) => T;
@@ -1434,6 +1681,8 @@ export interface TracePart {
1434
1681
  agentId?: string | undefined;
1435
1682
  agentAliasId?: string | undefined;
1436
1683
  agentVersion?: string | undefined;
1684
+ callerChain?: Caller[] | undefined;
1685
+ collaboratorName?: string | undefined;
1437
1686
  }
1438
1687
  export type ResponseStream =
1439
1688
  | ResponseStream.AccessDeniedExceptionMember
@@ -2979,6 +3228,7 @@ export interface SessionState {
2979
3228
  invocationId?: string | undefined;
2980
3229
  files?: InputFile[] | undefined;
2981
3230
  knowledgeBaseConfigurations?: KnowledgeBaseConfiguration[] | undefined;
3231
+ conversationHistory?: ConversationHistory | undefined;
2982
3232
  }
2983
3233
  export interface InvokeAgentRequest {
2984
3234
  sessionState?: SessionState | undefined;
@@ -2990,6 +3240,7 @@ export interface InvokeAgentRequest {
2990
3240
  inputText?: string | undefined;
2991
3241
  memoryId?: string | undefined;
2992
3242
  streamingConfigurations?: StreamingConfigurations | undefined;
3243
+ sourceArn?: string | undefined;
2993
3244
  }
2994
3245
  export declare const ActionGroupInvocationInputFilterSensitiveLog: (
2995
3246
  obj: ActionGroupInvocationInput
@@ -3007,6 +3258,37 @@ export declare const FunctionSchemaFilterSensitiveLog: (
3007
3258
  export declare const AgentActionGroupFilterSensitiveLog: (
3008
3259
  obj: AgentActionGroup
3009
3260
  ) => any;
3261
+ export declare const ApiResultFilterSensitiveLog: (obj: ApiResult) => any;
3262
+ export declare const InvocationResultMemberFilterSensitiveLog: (
3263
+ obj: InvocationResultMember
3264
+ ) => any;
3265
+ export declare const ReturnControlResultsFilterSensitiveLog: (
3266
+ obj: ReturnControlResults
3267
+ ) => any;
3268
+ export declare const AgentCollaboratorInputPayloadFilterSensitiveLog: (
3269
+ obj: AgentCollaboratorInputPayload
3270
+ ) => any;
3271
+ export declare const AgentCollaboratorInvocationInputFilterSensitiveLog: (
3272
+ obj: AgentCollaboratorInvocationInput
3273
+ ) => any;
3274
+ export declare const ApiInvocationInputFilterSensitiveLog: (
3275
+ obj: ApiInvocationInput
3276
+ ) => any;
3277
+ export declare const FunctionInvocationInputFilterSensitiveLog: (
3278
+ obj: FunctionInvocationInput
3279
+ ) => any;
3280
+ export declare const InvocationInputMemberFilterSensitiveLog: (
3281
+ obj: InvocationInputMember
3282
+ ) => any;
3283
+ export declare const ReturnControlPayloadFilterSensitiveLog: (
3284
+ obj: ReturnControlPayload
3285
+ ) => any;
3286
+ export declare const AgentCollaboratorOutputPayloadFilterSensitiveLog: (
3287
+ obj: AgentCollaboratorOutputPayload
3288
+ ) => any;
3289
+ export declare const AgentCollaboratorInvocationOutputFilterSensitiveLog: (
3290
+ obj: AgentCollaboratorInvocationOutput
3291
+ ) => any;
3010
3292
  export declare const FlowInputContentFilterSensitiveLog: (
3011
3293
  obj: FlowInputContent
3012
3294
  ) => any;
@@ -3051,6 +3333,23 @@ export declare const FlowResponseStreamFilterSensitiveLog: (
3051
3333
  export declare const InvokeFlowResponseFilterSensitiveLog: (
3052
3334
  obj: InvokeFlowResponse
3053
3335
  ) => any;
3336
+ export declare const QueryGenerationInputFilterSensitiveLog: (
3337
+ obj: QueryGenerationInput
3338
+ ) => any;
3339
+ export declare const GenerateQueryRequestFilterSensitiveLog: (
3340
+ obj: GenerateQueryRequest
3341
+ ) => any;
3342
+ export declare const GeneratedQueryFilterSensitiveLog: (
3343
+ obj: GeneratedQuery
3344
+ ) => any;
3345
+ export declare const GenerateQueryResponseFilterSensitiveLog: (
3346
+ obj: GenerateQueryResponse
3347
+ ) => any;
3348
+ export declare const ContentBlockFilterSensitiveLog: (obj: ContentBlock) => any;
3349
+ export declare const MessageFilterSensitiveLog: (obj: Message) => any;
3350
+ export declare const ConversationHistoryFilterSensitiveLog: (
3351
+ obj: ConversationHistory
3352
+ ) => any;
3054
3353
  export declare const ByteContentFileFilterSensitiveLog: (
3055
3354
  obj: ByteContentFile
3056
3355
  ) => any;
@@ -3074,16 +3373,15 @@ export declare const VectorSearchBedrockRerankingConfigurationFilterSensitiveLog
3074
3373
  export declare const VectorSearchRerankingConfigurationFilterSensitiveLog: (
3075
3374
  obj: VectorSearchRerankingConfiguration
3076
3375
  ) => any;
3077
- export declare const ApiResultFilterSensitiveLog: (obj: ApiResult) => any;
3078
- export declare const InvocationResultMemberFilterSensitiveLog: (
3079
- obj: InvocationResultMember
3080
- ) => any;
3081
3376
  export declare const TextResponsePartFilterSensitiveLog: (
3082
3377
  obj: TextResponsePart
3083
3378
  ) => any;
3084
3379
  export declare const GeneratedResponsePartFilterSensitiveLog: (
3085
3380
  obj: GeneratedResponsePart
3086
3381
  ) => any;
3382
+ export declare const RetrievalResultContentColumnFilterSensitiveLog: (
3383
+ obj: RetrievalResultContentColumn
3384
+ ) => any;
3087
3385
  export declare const RetrievalResultContentFilterSensitiveLog: (
3088
3386
  obj: RetrievalResultContent
3089
3387
  ) => any;
@@ -3098,15 +3396,6 @@ export declare const AttributionFilterSensitiveLog: (obj: Attribution) => any;
3098
3396
  export declare const PayloadPartFilterSensitiveLog: (obj: PayloadPart) => any;
3099
3397
  export declare const OutputFileFilterSensitiveLog: (obj: OutputFile) => any;
3100
3398
  export declare const FilePartFilterSensitiveLog: (obj: FilePart) => any;
3101
- export declare const ApiInvocationInputFilterSensitiveLog: (
3102
- obj: ApiInvocationInput
3103
- ) => any;
3104
- export declare const InvocationInputMemberFilterSensitiveLog: (
3105
- obj: InvocationInputMember
3106
- ) => any;
3107
- export declare const ReturnControlPayloadFilterSensitiveLog: (
3108
- obj: ReturnControlPayload
3109
- ) => any;
3110
3399
  export declare const CustomOrchestrationTraceEventFilterSensitiveLog: (
3111
3400
  obj: CustomOrchestrationTraceEvent
3112
3401
  ) => any;
@@ -3197,6 +3486,12 @@ export declare const PreProcessingModelInvocationOutputFilterSensitiveLog: (
3197
3486
  export declare const PreProcessingTraceFilterSensitiveLog: (
3198
3487
  obj: PreProcessingTrace
3199
3488
  ) => any;
3489
+ export declare const RoutingClassifierModelInvocationOutputFilterSensitiveLog: (
3490
+ obj: RoutingClassifierModelInvocationOutput
3491
+ ) => any;
3492
+ export declare const RoutingClassifierTraceFilterSensitiveLog: (
3493
+ obj: RoutingClassifierTrace
3494
+ ) => any;
3200
3495
  export declare const TraceFilterSensitiveLog: (obj: Trace) => any;
3201
3496
  export declare const TracePartFilterSensitiveLog: (obj: TracePart) => any;
3202
3497
  export declare const ResponseStreamFilterSensitiveLog: (