@@ -424,6 +424,17 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
424
424
* // },
425
425
* // },
426
426
* // ],
427
+ * // metadata: { // Metadata
428
+ * // startTime: new Date("TIMESTAMP"),
429
+ * // endTime: new Date("TIMESTAMP"),
430
+ * // totalTimeMs: Number("long"),
431
+ * // operationTotalTimeMs: Number("long"),
432
+ * // clientRequestId: "STRING_VALUE",
433
+ * // usage: { // Usage
434
+ * // inputTokens: Number("int"),
435
+ * // outputTokens: Number("int"),
436
+ * // },
437
+ * // },
427
438
* // },
428
439
* // preProcessingTrace: { // PreProcessingTrace Union: only one key present
429
440
* // modelInvocationInput: { // ModelInvocationInput
@@ -453,8 +464,13 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
453
464
* // rawResponse: { // RawResponse
454
465
* // content: "STRING_VALUE",
455
466
* // },
456
- * // metadata: { // Metadata
457
- * // usage: { // Usage
467
+ * // metadata: {
468
+ * // startTime: new Date("TIMESTAMP"),
469
+ * // endTime: new Date("TIMESTAMP"),
470
+ * // totalTimeMs: Number("long"),
471
+ * // operationTotalTimeMs: Number("long"),
472
+ * // clientRequestId: "STRING_VALUE",
473
+ * // usage: {
458
474
* // inputTokens: Number("int"),
459
475
* // outputTokens: Number("int"),
460
476
* // },
@@ -575,6 +591,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
575
591
* // type: "ACTION_GROUP" || "AGENT_COLLABORATOR" || "KNOWLEDGE_BASE" || "FINISH" || "ASK_USER" || "REPROMPT",
576
592
* // actionGroupInvocationOutput: { // ActionGroupInvocationOutput
577
593
* // text: "STRING_VALUE",
594
+ * // metadata: "<Metadata>",
578
595
* // },
579
596
* // agentCollaboratorInvocationOutput: { // AgentCollaboratorInvocationOutput
580
597
* // agentCollaboratorName: "STRING_VALUE",
@@ -628,6 +645,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
628
645
* // invocationId: "STRING_VALUE",
629
646
* // },
630
647
* // },
648
+ * // metadata: "<Metadata>",
631
649
* // },
632
650
* // knowledgeBaseLookupOutput: { // KnowledgeBaseLookupOutput
633
651
* // retrievedReferences: [
@@ -676,9 +694,11 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
676
694
* // },
677
695
* // },
678
696
* // ],
697
+ * // metadata: "<Metadata>",
679
698
* // },
680
699
* // finalResponse: { // FinalResponse
681
700
* // text: "STRING_VALUE",
701
+ * // metadata: "<Metadata>",
682
702
* // },
683
703
* // repromptResponse: { // RepromptResponse
684
704
* // text: "STRING_VALUE",
@@ -691,6 +711,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
691
711
* // "STRING_VALUE",
692
712
* // ],
693
713
* // executionTimeout: true || false,
714
+ * // metadata: "<Metadata>",
694
715
* // },
695
716
* // },
696
717
* // modelInvocationInput: {
@@ -716,12 +737,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
716
737
* // rawResponse: {
717
738
* // content: "STRING_VALUE",
718
739
* // },
719
- * // metadata: {
720
- * // usage: {
721
- * // inputTokens: Number("int"),
722
- * // outputTokens: Number("int"),
723
- * // },
724
- * // },
740
+ * // metadata: "<Metadata>",
725
741
* // reasoningContent: {// Union: only one key present
726
742
* // reasoningText: {
727
743
* // text: "STRING_VALUE", // required
@@ -758,12 +774,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
758
774
* // rawResponse: {
759
775
* // content: "STRING_VALUE",
760
776
* // },
761
- * // metadata: {
762
- * // usage: {
763
- * // inputTokens: Number("int"),
764
- * // outputTokens: Number("int"),
765
- * // },
766
- * // },
777
+ * // metadata: "<Metadata>",
767
778
* // reasoningContent: {// Union: only one key present
768
779
* // reasoningText: {
769
780
* // text: "STRING_VALUE", // required
@@ -868,6 +879,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
868
879
* // type: "ACTION_GROUP" || "AGENT_COLLABORATOR" || "KNOWLEDGE_BASE" || "FINISH" || "ASK_USER" || "REPROMPT",
869
880
* // actionGroupInvocationOutput: {
870
881
* // text: "STRING_VALUE",
882
+ * // metadata: "<Metadata>",
871
883
* // },
872
884
* // agentCollaboratorInvocationOutput: {
873
885
* // agentCollaboratorName: "STRING_VALUE",
@@ -921,6 +933,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
921
933
* // invocationId: "STRING_VALUE",
922
934
* // },
923
935
* // },
936
+ * // metadata: "<Metadata>",
924
937
* // },
925
938
* // knowledgeBaseLookupOutput: {
926
939
* // retrievedReferences: [
@@ -969,9 +982,11 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
969
982
* // },
970
983
* // },
971
984
* // ],
985
+ * // metadata: "<Metadata>",
972
986
* // },
973
987
* // finalResponse: {
974
988
* // text: "STRING_VALUE",
989
+ * // metadata: "<Metadata>",
975
990
* // },
976
991
* // repromptResponse: {
977
992
* // text: "STRING_VALUE",
@@ -984,6 +999,7 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
984
999
* // "STRING_VALUE",
985
1000
* // ],
986
1001
* // executionTimeout: true || false,
1002
+ * // metadata: "<Metadata>",
987
1003
* // },
988
1004
* // },
989
1005
* // modelInvocationInput: {
@@ -1009,17 +1025,14 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
1009
1025
* // rawResponse: {
1010
1026
* // content: "STRING_VALUE",
1011
1027
* // },
1012
- * // metadata: {
1013
- * // usage: {
1014
- * // inputTokens: Number("int"),
1015
- * // outputTokens: Number("int"),
1016
- * // },
1017
- * // },
1028
+ * // metadata: "<Metadata>",
1018
1029
* // },
1019
1030
* // },
1020
1031
* // failureTrace: { // FailureTrace
1021
1032
* // traceId: "STRING_VALUE",
1022
1033
* // failureReason: "STRING_VALUE",
1034
+ * // failureCode: Number("int"),
1035
+ * // metadata: "<Metadata>",
1023
1036
* // },
1024
1037
* // customOrchestrationTrace: { // CustomOrchestrationTrace
1025
1038
* // traceId: "STRING_VALUE",
0 commit comments