@aws-sdk/client-bedrock-agent-runtime 3.701.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 (33) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +791 -66
  3. package/dist-es/BedrockAgentRuntime.js +4 -0
  4. package/dist-es/commands/RerankCommand.js +23 -0
  5. package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +27 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +345 -48
  8. package/dist-es/pagination/RerankPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/protocols/Aws_restJson1.js +277 -3
  11. package/dist-types/BedrockAgentRuntime.d.ts +14 -0
  12. package/dist-types/BedrockAgentRuntimeClient.d.ts +4 -2
  13. package/dist-types/commands/InvokeAgentCommand.d.ts +396 -22
  14. package/dist-types/commands/InvokeInlineAgentCommand.d.ts +376 -21
  15. package/dist-types/commands/RerankCommand.d.ts +143 -0
  16. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +42 -2
  17. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +371 -0
  18. package/dist-types/commands/RetrieveCommand.d.ts +46 -1
  19. package/dist-types/commands/index.d.ts +2 -0
  20. package/dist-types/models/models_0.d.ts +1713 -404
  21. package/dist-types/pagination/RerankPaginator.d.ts +7 -0
  22. package/dist-types/pagination/index.d.ts +1 -0
  23. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  24. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
  25. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/RerankCommand.d.ts +41 -0
  27. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +764 -110
  30. package/dist-types/ts3.4/pagination/RerankPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  33. package/package.json +1 -1
@@ -88,6 +88,7 @@ declare const InvokeAgentCommand_base: {
88
88
  * },
89
89
  * httpStatusCode: Number("int"),
90
90
  * responseState: "FAILURE" || "REPROMPT",
91
+ * agentId: "STRING_VALUE",
91
92
  * },
92
93
  * functionResult: { // FunctionResult
93
94
  * actionGroup: "STRING_VALUE", // required
@@ -99,6 +100,7 @@ declare const InvokeAgentCommand_base: {
99
100
  * },
100
101
  * },
101
102
  * responseState: "FAILURE" || "REPROMPT",
103
+ * agentId: "STRING_VALUE",
102
104
  * },
103
105
  * },
104
106
  * ],
@@ -178,10 +180,59 @@ declare const InvokeAgentCommand_base: {
178
180
  * "<RetrievalFilter>",
179
181
  * ],
180
182
  * },
183
+ * rerankingConfiguration: { // VectorSearchRerankingConfiguration
184
+ * type: "BEDROCK_RERANKING_MODEL", // required
185
+ * bedrockRerankingConfiguration: { // VectorSearchBedrockRerankingConfiguration
186
+ * modelConfiguration: { // VectorSearchBedrockRerankingModelConfiguration
187
+ * modelArn: "STRING_VALUE", // required
188
+ * additionalModelRequestFields: { // AdditionalModelRequestFields
189
+ * "<keys>": "DOCUMENT_VALUE",
190
+ * },
191
+ * },
192
+ * numberOfRerankedResults: Number("int"),
193
+ * metadataConfiguration: { // MetadataConfigurationForReranking
194
+ * selectionMode: "SELECTIVE" || "ALL", // required
195
+ * selectiveModeConfiguration: { // RerankingMetadataSelectiveModeConfiguration Union: only one key present
196
+ * fieldsToInclude: [ // FieldsForReranking
197
+ * { // FieldForReranking
198
+ * fieldName: "STRING_VALUE", // required
199
+ * },
200
+ * ],
201
+ * fieldsToExclude: [
202
+ * {
203
+ * fieldName: "STRING_VALUE", // required
204
+ * },
205
+ * ],
206
+ * },
207
+ * },
208
+ * },
209
+ * },
210
+ * implicitFilterConfiguration: { // ImplicitFilterConfiguration
211
+ * metadataAttributes: [ // MetadataAttributeSchemaList // required
212
+ * { // MetadataAttributeSchema
213
+ * key: "STRING_VALUE", // required
214
+ * type: "STRING" || "NUMBER" || "BOOLEAN" || "STRING_LIST", // required
215
+ * description: "STRING_VALUE", // required
216
+ * },
217
+ * ],
218
+ * modelArn: "STRING_VALUE", // required
219
+ * },
181
220
  * },
182
221
  * },
183
222
  * },
184
223
  * ],
224
+ * conversationHistory: { // ConversationHistory
225
+ * messages: [ // Messages
226
+ * { // Message
227
+ * role: "user" || "assistant", // required
228
+ * content: [ // ContentBlocks // required
229
+ * { // ContentBlock Union: only one key present
230
+ * text: "STRING_VALUE",
231
+ * },
232
+ * ],
233
+ * },
234
+ * ],
235
+ * },
185
236
  * },
186
237
  * agentId: "STRING_VALUE", // required
187
238
  * agentAliasId: "STRING_VALUE", // required
@@ -194,6 +245,7 @@ declare const InvokeAgentCommand_base: {
194
245
  * streamFinalResponse: true || false,
195
246
  * applyGuardrailInterval: Number("int"),
196
247
  * },
248
+ * sourceArn: "STRING_VALUE",
197
249
  * };
198
250
  * const command = new InvokeAgentCommand(input);
199
251
  * const response = await client.send(command);
@@ -219,7 +271,7 @@ declare const InvokeAgentCommand_base: {
219
271
  * // text: "STRING_VALUE", // required
220
272
  * // },
221
273
  * // location: { // RetrievalResultLocation
222
- * // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
274
+ * // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
223
275
  * // s3Location: { // RetrievalResultS3Location
224
276
  * // uri: "STRING_VALUE",
225
277
  * // },
@@ -235,6 +287,9 @@ declare const InvokeAgentCommand_base: {
235
287
  * // sharePointLocation: { // RetrievalResultSharePointLocation
236
288
  * // url: "STRING_VALUE",
237
289
  * // },
290
+ * // customDocumentLocation: { // RetrievalResultCustomDocumentLocation
291
+ * // id: "STRING_VALUE",
292
+ * // },
238
293
  * // },
239
294
  * // metadata: { // RetrievalResultMetadata
240
295
  * // "<keys>": "DOCUMENT_VALUE",
@@ -377,6 +432,7 @@ declare const InvokeAgentCommand_base: {
377
432
  * // ],
378
433
  * // },
379
434
  * // parserMode: "DEFAULT" || "OVERRIDDEN",
435
+ * // foundationModel: "STRING_VALUE",
380
436
  * // },
381
437
  * // modelInvocationOutput: { // PreProcessingModelInvocationOutput
382
438
  * // traceId: "STRING_VALUE",
@@ -402,7 +458,7 @@ declare const InvokeAgentCommand_base: {
402
458
  * // },
403
459
  * // invocationInput: { // InvocationInput
404
460
  * // traceId: "STRING_VALUE",
405
- * // invocationType: "ACTION_GROUP" || "KNOWLEDGE_BASE" || "FINISH" || "ACTION_GROUP_CODE_INTERPRETER",
461
+ * // invocationType: "ACTION_GROUP" || "KNOWLEDGE_BASE" || "FINISH" || "ACTION_GROUP_CODE_INTERPRETER" || "AGENT_COLLABORATOR",
406
462
  * // actionGroupInvocationInput: { // ActionGroupInvocationInput
407
463
  * // actionGroupName: "STRING_VALUE",
408
464
  * // verb: "STRING_VALUE",
@@ -439,13 +495,107 @@ declare const InvokeAgentCommand_base: {
439
495
  * // "STRING_VALUE",
440
496
  * // ],
441
497
  * // },
498
+ * // agentCollaboratorInvocationInput: { // AgentCollaboratorInvocationInput
499
+ * // agentCollaboratorName: "STRING_VALUE",
500
+ * // agentCollaboratorAliasArn: "STRING_VALUE",
501
+ * // input: { // AgentCollaboratorInputPayload
502
+ * // type: "TEXT" || "RETURN_CONTROL",
503
+ * // text: "STRING_VALUE",
504
+ * // returnControlResults: { // ReturnControlResults
505
+ * // invocationId: "STRING_VALUE",
506
+ * // returnControlInvocationResults: [ // ReturnControlInvocationResults
507
+ * // { // InvocationResultMember Union: only one key present
508
+ * // apiResult: { // ApiResult
509
+ * // actionGroup: "STRING_VALUE", // required
510
+ * // httpMethod: "STRING_VALUE",
511
+ * // apiPath: "STRING_VALUE",
512
+ * // confirmationState: "CONFIRM" || "DENY",
513
+ * // responseBody: { // ResponseBody
514
+ * // "<keys>": { // ContentBody
515
+ * // body: "STRING_VALUE",
516
+ * // },
517
+ * // },
518
+ * // httpStatusCode: Number("int"),
519
+ * // responseState: "FAILURE" || "REPROMPT",
520
+ * // agentId: "STRING_VALUE",
521
+ * // },
522
+ * // functionResult: { // FunctionResult
523
+ * // actionGroup: "STRING_VALUE", // required
524
+ * // confirmationState: "CONFIRM" || "DENY",
525
+ * // function: "STRING_VALUE",
526
+ * // responseBody: {
527
+ * // "<keys>": {
528
+ * // body: "STRING_VALUE",
529
+ * // },
530
+ * // },
531
+ * // responseState: "FAILURE" || "REPROMPT",
532
+ * // agentId: "STRING_VALUE",
533
+ * // },
534
+ * // },
535
+ * // ],
536
+ * // },
537
+ * // },
538
+ * // },
442
539
  * // },
443
540
  * // observation: { // Observation
444
541
  * // traceId: "STRING_VALUE",
445
- * // type: "ACTION_GROUP" || "KNOWLEDGE_BASE" || "FINISH" || "ASK_USER" || "REPROMPT",
542
+ * // type: "ACTION_GROUP" || "AGENT_COLLABORATOR" || "KNOWLEDGE_BASE" || "FINISH" || "ASK_USER" || "REPROMPT",
446
543
  * // actionGroupInvocationOutput: { // ActionGroupInvocationOutput
447
544
  * // text: "STRING_VALUE",
448
545
  * // },
546
+ * // agentCollaboratorInvocationOutput: { // AgentCollaboratorInvocationOutput
547
+ * // agentCollaboratorName: "STRING_VALUE",
548
+ * // agentCollaboratorAliasArn: "STRING_VALUE",
549
+ * // output: { // AgentCollaboratorOutputPayload
550
+ * // type: "TEXT" || "RETURN_CONTROL",
551
+ * // text: "STRING_VALUE",
552
+ * // returnControlPayload: { // ReturnControlPayload
553
+ * // invocationInputs: [ // InvocationInputs
554
+ * // { // InvocationInputMember Union: only one key present
555
+ * // apiInvocationInput: { // ApiInvocationInput
556
+ * // actionGroup: "STRING_VALUE", // required
557
+ * // httpMethod: "STRING_VALUE",
558
+ * // apiPath: "STRING_VALUE",
559
+ * // parameters: [ // ApiParameters
560
+ * // { // ApiParameter
561
+ * // name: "STRING_VALUE",
562
+ * // type: "STRING_VALUE",
563
+ * // value: "STRING_VALUE",
564
+ * // },
565
+ * // ],
566
+ * // requestBody: { // ApiRequestBody
567
+ * // content: { // ApiContentMap
568
+ * // "<keys>": { // PropertyParameters
569
+ * // properties: [ // ParameterList
570
+ * // "<Parameter>",
571
+ * // ],
572
+ * // },
573
+ * // },
574
+ * // },
575
+ * // actionInvocationType: "RESULT" || "USER_CONFIRMATION" || "USER_CONFIRMATION_AND_RESULT",
576
+ * // agentId: "STRING_VALUE",
577
+ * // collaboratorName: "STRING_VALUE",
578
+ * // },
579
+ * // functionInvocationInput: { // FunctionInvocationInput
580
+ * // actionGroup: "STRING_VALUE", // required
581
+ * // parameters: [ // FunctionParameters
582
+ * // { // FunctionParameter
583
+ * // name: "STRING_VALUE",
584
+ * // type: "STRING_VALUE",
585
+ * // value: "STRING_VALUE",
586
+ * // },
587
+ * // ],
588
+ * // function: "STRING_VALUE",
589
+ * // actionInvocationType: "RESULT" || "USER_CONFIRMATION" || "USER_CONFIRMATION_AND_RESULT",
590
+ * // agentId: "STRING_VALUE",
591
+ * // collaboratorName: "STRING_VALUE",
592
+ * // },
593
+ * // },
594
+ * // ],
595
+ * // invocationId: "STRING_VALUE",
596
+ * // },
597
+ * // },
598
+ * // },
449
599
  * // knowledgeBaseLookupOutput: { // KnowledgeBaseLookupOutput
450
600
  * // retrievedReferences: [
451
601
  * // {
@@ -453,7 +603,7 @@ declare const InvokeAgentCommand_base: {
453
603
  * // text: "STRING_VALUE", // required
454
604
  * // },
455
605
  * // location: {
456
- * // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT", // required
606
+ * // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
457
607
  * // s3Location: {
458
608
  * // uri: "STRING_VALUE",
459
609
  * // },
@@ -469,6 +619,9 @@ declare const InvokeAgentCommand_base: {
469
619
  * // sharePointLocation: {
470
620
  * // url: "STRING_VALUE",
471
621
  * // },
622
+ * // customDocumentLocation: {
623
+ * // id: "STRING_VALUE",
624
+ * // },
472
625
  * // },
473
626
  * // metadata: {
474
627
  * // "<keys>": "DOCUMENT_VALUE",
@@ -508,6 +661,7 @@ declare const InvokeAgentCommand_base: {
508
661
  * // ],
509
662
  * // },
510
663
  * // parserMode: "DEFAULT" || "OVERRIDDEN",
664
+ * // foundationModel: "STRING_VALUE",
511
665
  * // },
512
666
  * // modelInvocationOutput: { // OrchestrationModelInvocationOutput
513
667
  * // traceId: "STRING_VALUE",
@@ -539,6 +693,7 @@ declare const InvokeAgentCommand_base: {
539
693
  * // ],
540
694
  * // },
541
695
  * // parserMode: "DEFAULT" || "OVERRIDDEN",
696
+ * // foundationModel: "STRING_VALUE",
542
697
  * // },
543
698
  * // modelInvocationOutput: { // PostProcessingModelInvocationOutput
544
699
  * // traceId: "STRING_VALUE",
@@ -556,6 +711,219 @@ declare const InvokeAgentCommand_base: {
556
711
  * // },
557
712
  * // },
558
713
  * // },
714
+ * // routingClassifierTrace: { // RoutingClassifierTrace Union: only one key present
715
+ * // invocationInput: {
716
+ * // traceId: "STRING_VALUE",
717
+ * // invocationType: "ACTION_GROUP" || "KNOWLEDGE_BASE" || "FINISH" || "ACTION_GROUP_CODE_INTERPRETER" || "AGENT_COLLABORATOR",
718
+ * // actionGroupInvocationInput: {
719
+ * // actionGroupName: "STRING_VALUE",
720
+ * // verb: "STRING_VALUE",
721
+ * // apiPath: "STRING_VALUE",
722
+ * // parameters: [
723
+ * // "<Parameter>",
724
+ * // ],
725
+ * // requestBody: {
726
+ * // content: {
727
+ * // "<keys>": [
728
+ * // "<Parameter>",
729
+ * // ],
730
+ * // },
731
+ * // },
732
+ * // function: "STRING_VALUE",
733
+ * // executionType: "LAMBDA" || "RETURN_CONTROL",
734
+ * // invocationId: "STRING_VALUE",
735
+ * // },
736
+ * // knowledgeBaseLookupInput: {
737
+ * // text: "STRING_VALUE",
738
+ * // knowledgeBaseId: "STRING_VALUE",
739
+ * // },
740
+ * // codeInterpreterInvocationInput: {
741
+ * // code: "STRING_VALUE",
742
+ * // files: [
743
+ * // "STRING_VALUE",
744
+ * // ],
745
+ * // },
746
+ * // agentCollaboratorInvocationInput: {
747
+ * // agentCollaboratorName: "STRING_VALUE",
748
+ * // agentCollaboratorAliasArn: "STRING_VALUE",
749
+ * // input: {
750
+ * // type: "TEXT" || "RETURN_CONTROL",
751
+ * // text: "STRING_VALUE",
752
+ * // returnControlResults: {
753
+ * // invocationId: "STRING_VALUE",
754
+ * // returnControlInvocationResults: [
755
+ * // {// Union: only one key present
756
+ * // apiResult: {
757
+ * // actionGroup: "STRING_VALUE", // required
758
+ * // httpMethod: "STRING_VALUE",
759
+ * // apiPath: "STRING_VALUE",
760
+ * // confirmationState: "CONFIRM" || "DENY",
761
+ * // responseBody: {
762
+ * // "<keys>": {
763
+ * // body: "STRING_VALUE",
764
+ * // },
765
+ * // },
766
+ * // httpStatusCode: Number("int"),
767
+ * // responseState: "FAILURE" || "REPROMPT",
768
+ * // agentId: "STRING_VALUE",
769
+ * // },
770
+ * // functionResult: {
771
+ * // actionGroup: "STRING_VALUE", // required
772
+ * // confirmationState: "CONFIRM" || "DENY",
773
+ * // function: "STRING_VALUE",
774
+ * // responseBody: {
775
+ * // "<keys>": {
776
+ * // body: "STRING_VALUE",
777
+ * // },
778
+ * // },
779
+ * // responseState: "FAILURE" || "REPROMPT",
780
+ * // agentId: "STRING_VALUE",
781
+ * // },
782
+ * // },
783
+ * // ],
784
+ * // },
785
+ * // },
786
+ * // },
787
+ * // },
788
+ * // observation: {
789
+ * // traceId: "STRING_VALUE",
790
+ * // type: "ACTION_GROUP" || "AGENT_COLLABORATOR" || "KNOWLEDGE_BASE" || "FINISH" || "ASK_USER" || "REPROMPT",
791
+ * // actionGroupInvocationOutput: {
792
+ * // text: "STRING_VALUE",
793
+ * // },
794
+ * // agentCollaboratorInvocationOutput: {
795
+ * // agentCollaboratorName: "STRING_VALUE",
796
+ * // agentCollaboratorAliasArn: "STRING_VALUE",
797
+ * // output: {
798
+ * // type: "TEXT" || "RETURN_CONTROL",
799
+ * // text: "STRING_VALUE",
800
+ * // returnControlPayload: {
801
+ * // invocationInputs: [
802
+ * // {// Union: only one key present
803
+ * // apiInvocationInput: {
804
+ * // actionGroup: "STRING_VALUE", // required
805
+ * // httpMethod: "STRING_VALUE",
806
+ * // apiPath: "STRING_VALUE",
807
+ * // parameters: [
808
+ * // {
809
+ * // name: "STRING_VALUE",
810
+ * // type: "STRING_VALUE",
811
+ * // value: "STRING_VALUE",
812
+ * // },
813
+ * // ],
814
+ * // requestBody: {
815
+ * // content: {
816
+ * // "<keys>": {
817
+ * // properties: [
818
+ * // "<Parameter>",
819
+ * // ],
820
+ * // },
821
+ * // },
822
+ * // },
823
+ * // actionInvocationType: "RESULT" || "USER_CONFIRMATION" || "USER_CONFIRMATION_AND_RESULT",
824
+ * // agentId: "STRING_VALUE",
825
+ * // collaboratorName: "STRING_VALUE",
826
+ * // },
827
+ * // functionInvocationInput: {
828
+ * // actionGroup: "STRING_VALUE", // required
829
+ * // parameters: [
830
+ * // {
831
+ * // name: "STRING_VALUE",
832
+ * // type: "STRING_VALUE",
833
+ * // value: "STRING_VALUE",
834
+ * // },
835
+ * // ],
836
+ * // function: "STRING_VALUE",
837
+ * // actionInvocationType: "RESULT" || "USER_CONFIRMATION" || "USER_CONFIRMATION_AND_RESULT",
838
+ * // agentId: "STRING_VALUE",
839
+ * // collaboratorName: "STRING_VALUE",
840
+ * // },
841
+ * // },
842
+ * // ],
843
+ * // invocationId: "STRING_VALUE",
844
+ * // },
845
+ * // },
846
+ * // },
847
+ * // knowledgeBaseLookupOutput: {
848
+ * // retrievedReferences: [
849
+ * // {
850
+ * // content: {
851
+ * // text: "STRING_VALUE", // required
852
+ * // },
853
+ * // location: {
854
+ * // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
855
+ * // s3Location: {
856
+ * // uri: "STRING_VALUE",
857
+ * // },
858
+ * // webLocation: {
859
+ * // url: "STRING_VALUE",
860
+ * // },
861
+ * // confluenceLocation: {
862
+ * // url: "STRING_VALUE",
863
+ * // },
864
+ * // salesforceLocation: {
865
+ * // url: "STRING_VALUE",
866
+ * // },
867
+ * // sharePointLocation: {
868
+ * // url: "STRING_VALUE",
869
+ * // },
870
+ * // customDocumentLocation: {
871
+ * // id: "STRING_VALUE",
872
+ * // },
873
+ * // },
874
+ * // metadata: {
875
+ * // "<keys>": "DOCUMENT_VALUE",
876
+ * // },
877
+ * // },
878
+ * // ],
879
+ * // },
880
+ * // finalResponse: {
881
+ * // text: "STRING_VALUE",
882
+ * // },
883
+ * // repromptResponse: {
884
+ * // text: "STRING_VALUE",
885
+ * // source: "ACTION_GROUP" || "KNOWLEDGE_BASE" || "PARSER",
886
+ * // },
887
+ * // codeInterpreterInvocationOutput: {
888
+ * // executionOutput: "STRING_VALUE",
889
+ * // executionError: "STRING_VALUE",
890
+ * // files: [
891
+ * // "STRING_VALUE",
892
+ * // ],
893
+ * // executionTimeout: true || false,
894
+ * // },
895
+ * // },
896
+ * // modelInvocationInput: {
897
+ * // traceId: "STRING_VALUE",
898
+ * // text: "STRING_VALUE",
899
+ * // type: "PRE_PROCESSING" || "ORCHESTRATION" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "POST_PROCESSING" || "ROUTING_CLASSIFIER",
900
+ * // overrideLambda: "STRING_VALUE",
901
+ * // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
902
+ * // inferenceConfiguration: {
903
+ * // temperature: Number("float"),
904
+ * // topP: Number("float"),
905
+ * // topK: Number("int"),
906
+ * // maximumLength: Number("int"),
907
+ * // stopSequences: [
908
+ * // "STRING_VALUE",
909
+ * // ],
910
+ * // },
911
+ * // parserMode: "DEFAULT" || "OVERRIDDEN",
912
+ * // foundationModel: "STRING_VALUE",
913
+ * // },
914
+ * // modelInvocationOutput: { // RoutingClassifierModelInvocationOutput
915
+ * // traceId: "STRING_VALUE",
916
+ * // rawResponse: {
917
+ * // content: "STRING_VALUE",
918
+ * // },
919
+ * // metadata: {
920
+ * // usage: {
921
+ * // inputTokens: Number("int"),
922
+ * // outputTokens: Number("int"),
923
+ * // },
924
+ * // },
925
+ * // },
926
+ * // },
559
927
  * // failureTrace: { // FailureTrace
560
928
  * // traceId: "STRING_VALUE",
561
929
  * // failureReason: "STRING_VALUE",
@@ -570,40 +938,44 @@ declare const InvokeAgentCommand_base: {
570
938
  * // agentId: "STRING_VALUE",
571
939
  * // agentAliasId: "STRING_VALUE",
572
940
  * // agentVersion: "STRING_VALUE",
941
+ * // callerChain: [ // CallerChain
942
+ * // { // Caller Union: only one key present
943
+ * // agentAliasArn: "STRING_VALUE",
944
+ * // },
945
+ * // ],
946
+ * // collaboratorName: "STRING_VALUE",
573
947
  * // },
574
- * // returnControl: { // ReturnControlPayload
575
- * // invocationInputs: [ // InvocationInputs
576
- * // { // InvocationInputMember Union: only one key present
577
- * // apiInvocationInput: { // ApiInvocationInput
948
+ * // returnControl: {
949
+ * // invocationInputs: [
950
+ * // {// Union: only one key present
951
+ * // apiInvocationInput: {
578
952
  * // actionGroup: "STRING_VALUE", // required
579
953
  * // httpMethod: "STRING_VALUE",
580
954
  * // apiPath: "STRING_VALUE",
581
- * // parameters: [ // ApiParameters
582
- * // { // ApiParameter
955
+ * // parameters: [
956
+ * // {
583
957
  * // name: "STRING_VALUE",
584
958
  * // type: "STRING_VALUE",
585
959
  * // value: "STRING_VALUE",
586
960
  * // },
587
961
  * // ],
588
- * // requestBody: { // ApiRequestBody
589
- * // content: { // ApiContentMap
590
- * // "<keys>": { // PropertyParameters
591
- * // properties: [ // ParameterList
592
- * // {
593
- * // name: "STRING_VALUE",
594
- * // type: "STRING_VALUE",
595
- * // value: "STRING_VALUE",
596
- * // },
962
+ * // requestBody: {
963
+ * // content: {
964
+ * // "<keys>": {
965
+ * // properties: [
966
+ * // "<Parameter>",
597
967
  * // ],
598
968
  * // },
599
969
  * // },
600
970
  * // },
601
971
  * // actionInvocationType: "RESULT" || "USER_CONFIRMATION" || "USER_CONFIRMATION_AND_RESULT",
972
+ * // agentId: "STRING_VALUE",
973
+ * // collaboratorName: "STRING_VALUE",
602
974
  * // },
603
- * // functionInvocationInput: { // FunctionInvocationInput
975
+ * // functionInvocationInput: {
604
976
  * // actionGroup: "STRING_VALUE", // required
605
- * // parameters: [ // FunctionParameters
606
- * // { // FunctionParameter
977
+ * // parameters: [
978
+ * // {
607
979
  * // name: "STRING_VALUE",
608
980
  * // type: "STRING_VALUE",
609
981
  * // value: "STRING_VALUE",
@@ -611,6 +983,8 @@ declare const InvokeAgentCommand_base: {
611
983
  * // ],
612
984
  * // function: "STRING_VALUE",
613
985
  * // actionInvocationType: "RESULT" || "USER_CONFIRMATION" || "USER_CONFIRMATION_AND_RESULT",
986
+ * // agentId: "STRING_VALUE",
987
+ * // collaboratorName: "STRING_VALUE",
614
988
  * // },
615
989
  * // },
616
990
  * // ],