@aws-sdk/client-bedrock-agent-runtime 3.624.0 → 3.625.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.
package/dist-cjs/index.js CHANGED
@@ -108,9 +108,11 @@ __export(src_exports, {
108
108
  KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog: () => KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog,
109
109
  Memory: () => Memory,
110
110
  MemoryType: () => MemoryType,
111
+ MetadataFilterSensitiveLog: () => MetadataFilterSensitiveLog,
111
112
  ModelInvocationInputFilterSensitiveLog: () => ModelInvocationInputFilterSensitiveLog,
112
113
  NodeType: () => NodeType,
113
114
  ObservationFilterSensitiveLog: () => ObservationFilterSensitiveLog,
115
+ OrchestrationModelInvocationOutputFilterSensitiveLog: () => OrchestrationModelInvocationOutputFilterSensitiveLog,
114
116
  OrchestrationTrace: () => OrchestrationTrace,
115
117
  OrchestrationTraceFilterSensitiveLog: () => OrchestrationTraceFilterSensitiveLog,
116
118
  OutputFileFilterSensitiveLog: () => OutputFileFilterSensitiveLog,
@@ -127,6 +129,7 @@ __export(src_exports, {
127
129
  PromptType: () => PromptType,
128
130
  QueryTransformationType: () => QueryTransformationType,
129
131
  RationaleFilterSensitiveLog: () => RationaleFilterSensitiveLog,
132
+ RawResponseFilterSensitiveLog: () => RawResponseFilterSensitiveLog,
130
133
  RepromptResponseFilterSensitiveLog: () => RepromptResponseFilterSensitiveLog,
131
134
  ResourceNotFoundException: () => ResourceNotFoundException,
132
135
  ResponseState: () => ResponseState,
@@ -159,6 +162,7 @@ __export(src_exports, {
159
162
  TraceFilterSensitiveLog: () => TraceFilterSensitiveLog,
160
163
  TracePartFilterSensitiveLog: () => TracePartFilterSensitiveLog,
161
164
  Type: () => Type,
165
+ UsageFilterSensitiveLog: () => UsageFilterSensitiveLog,
162
166
  ValidationException: () => ValidationException,
163
167
  __Client: () => import_smithy_client.Client,
164
168
  paginateGetAgentMemory: () => paginateGetAgentMemory,
@@ -701,6 +705,8 @@ var OrchestrationTrace;
701
705
  return visitor.observation(value.observation);
702
706
  if (value.modelInvocationInput !== void 0)
703
707
  return visitor.modelInvocationInput(value.modelInvocationInput);
708
+ if (value.modelInvocationOutput !== void 0)
709
+ return visitor.modelInvocationOutput(value.modelInvocationOutput);
704
710
  return visitor._(value.$unknown[0], value.$unknown[1]);
705
711
  }, "visit");
706
712
  })(OrchestrationTrace || (OrchestrationTrace = {}));
@@ -1049,6 +1055,21 @@ var ModelInvocationInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1049
1055
  ...obj,
1050
1056
  ...obj.text && { text: import_smithy_client.SENSITIVE_STRING }
1051
1057
  }), "ModelInvocationInputFilterSensitiveLog");
1058
+ var UsageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1059
+ ...obj
1060
+ }), "UsageFilterSensitiveLog");
1061
+ var MetadataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1062
+ ...obj,
1063
+ ...obj.usage && { usage: import_smithy_client.SENSITIVE_STRING }
1064
+ }), "MetadataFilterSensitiveLog");
1065
+ var RawResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1066
+ ...obj
1067
+ }), "RawResponseFilterSensitiveLog");
1068
+ var OrchestrationModelInvocationOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1069
+ ...obj,
1070
+ ...obj.rawResponse && { rawResponse: import_smithy_client.SENSITIVE_STRING },
1071
+ ...obj.metadata && { metadata: import_smithy_client.SENSITIVE_STRING }
1072
+ }), "OrchestrationModelInvocationOutputFilterSensitiveLog");
1052
1073
  var FinalResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1053
1074
  ...obj,
1054
1075
  ...obj.text && { text: import_smithy_client.SENSITIVE_STRING }
@@ -1087,6 +1108,8 @@ var OrchestrationTraceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1087
1108
  return { observation: import_smithy_client.SENSITIVE_STRING };
1088
1109
  if (obj.modelInvocationInput !== void 0)
1089
1110
  return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1111
+ if (obj.modelInvocationOutput !== void 0)
1112
+ return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1090
1113
  if (obj.$unknown !== void 0)
1091
1114
  return { [obj.$unknown[0]]: "UNKNOWN" };
1092
1115
  }, "OrchestrationTraceFilterSensitiveLog");
@@ -2242,6 +2265,11 @@ var de_OrchestrationTrace = /* @__PURE__ */ __name((output, context) => {
2242
2265
  modelInvocationInput: de_ModelInvocationInput(output.modelInvocationInput, context)
2243
2266
  };
2244
2267
  }
2268
+ if (output.modelInvocationOutput != null) {
2269
+ return {
2270
+ modelInvocationOutput: (0, import_smithy_client._json)(output.modelInvocationOutput)
2271
+ };
2272
+ }
2245
2273
  if (output.observation != null) {
2246
2274
  return {
2247
2275
  observation: de_Observation(output.observation, context)
@@ -2617,6 +2645,10 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
2617
2645
  KnowledgeBaseLookupInputFilterSensitiveLog,
2618
2646
  InvocationInputFilterSensitiveLog,
2619
2647
  ModelInvocationInputFilterSensitiveLog,
2648
+ UsageFilterSensitiveLog,
2649
+ MetadataFilterSensitiveLog,
2650
+ RawResponseFilterSensitiveLog,
2651
+ OrchestrationModelInvocationOutputFilterSensitiveLog,
2620
2652
  FinalResponseFilterSensitiveLog,
2621
2653
  KnowledgeBaseLookupOutputFilterSensitiveLog,
2622
2654
  RepromptResponseFilterSensitiveLog,
@@ -322,6 +322,8 @@ export var OrchestrationTrace;
322
322
  return visitor.observation(value.observation);
323
323
  if (value.modelInvocationInput !== undefined)
324
324
  return visitor.modelInvocationInput(value.modelInvocationInput);
325
+ if (value.modelInvocationOutput !== undefined)
326
+ return visitor.modelInvocationOutput(value.modelInvocationOutput);
325
327
  return visitor._(value.$unknown[0], value.$unknown[1]);
326
328
  };
327
329
  })(OrchestrationTrace || (OrchestrationTrace = {}));
@@ -670,6 +672,21 @@ export const ModelInvocationInputFilterSensitiveLog = (obj) => ({
670
672
  ...obj,
671
673
  ...(obj.text && { text: SENSITIVE_STRING }),
672
674
  });
675
+ export const UsageFilterSensitiveLog = (obj) => ({
676
+ ...obj,
677
+ });
678
+ export const MetadataFilterSensitiveLog = (obj) => ({
679
+ ...obj,
680
+ ...(obj.usage && { usage: SENSITIVE_STRING }),
681
+ });
682
+ export const RawResponseFilterSensitiveLog = (obj) => ({
683
+ ...obj,
684
+ });
685
+ export const OrchestrationModelInvocationOutputFilterSensitiveLog = (obj) => ({
686
+ ...obj,
687
+ ...(obj.rawResponse && { rawResponse: SENSITIVE_STRING }),
688
+ ...(obj.metadata && { metadata: SENSITIVE_STRING }),
689
+ });
673
690
  export const FinalResponseFilterSensitiveLog = (obj) => ({
674
691
  ...obj,
675
692
  ...(obj.text && { text: SENSITIVE_STRING }),
@@ -708,6 +725,8 @@ export const OrchestrationTraceFilterSensitiveLog = (obj) => {
708
725
  return { observation: SENSITIVE_STRING };
709
726
  if (obj.modelInvocationInput !== undefined)
710
727
  return { modelInvocationInput: SENSITIVE_STRING };
728
+ if (obj.modelInvocationOutput !== undefined)
729
+ return { modelInvocationOutput: SENSITIVE_STRING };
711
730
  if (obj.$unknown !== undefined)
712
731
  return { [obj.$unknown[0]]: "UNKNOWN" };
713
732
  };
@@ -904,6 +904,11 @@ const de_OrchestrationTrace = (output, context) => {
904
904
  modelInvocationInput: de_ModelInvocationInput(output.modelInvocationInput, context),
905
905
  };
906
906
  }
907
+ if (output.modelInvocationOutput != null) {
908
+ return {
909
+ modelInvocationOutput: _json(output.modelInvocationOutput),
910
+ };
911
+ }
907
912
  if (output.observation != null) {
908
913
  return {
909
914
  observation: de_Observation(output.observation, context),
@@ -497,6 +497,18 @@ declare const InvokeAgentCommand_base: {
497
497
  * // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
498
498
  * // parserMode: "DEFAULT" || "OVERRIDDEN",
499
499
  * // },
500
+ * // modelInvocationOutput: { // OrchestrationModelInvocationOutput
501
+ * // traceId: "STRING_VALUE",
502
+ * // rawResponse: { // RawResponse
503
+ * // content: "STRING_VALUE",
504
+ * // },
505
+ * // metadata: { // Metadata
506
+ * // usage: { // Usage
507
+ * // inputTokens: Number("int"),
508
+ * // outputTokens: Number("int"),
509
+ * // },
510
+ * // },
511
+ * // },
500
512
  * // },
501
513
  * // postProcessingTrace: { // PostProcessingTrace Union: only one key present
502
514
  * // modelInvocationInput: {
@@ -28,6 +28,9 @@ declare const InvokeFlowCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html">Test a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>
31
+ * <note>
32
+ * <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeFlow</code>.</p>
33
+ * </note>
31
34
  * @example
32
35
  * Use a bare-bones client and the command you need to make an API call.
33
36
  * ```javascript
@@ -190,7 +190,7 @@ export type FlowInputContent = FlowInputContent.DocumentMember | FlowInputConten
190
190
  */
191
191
  export declare namespace FlowInputContent {
192
192
  /**
193
- * <p>The input for the flow input node.</p>
193
+ * <p>The input to send to the prompt flow input node.</p>
194
194
  * @public
195
195
  */
196
196
  interface DocumentMember {
@@ -211,7 +211,7 @@ export declare namespace FlowInputContent {
211
211
  const visit: <T>(value: FlowInputContent, visitor: Visitor<T>) => T;
212
212
  }
213
213
  /**
214
- * <p>Contains information about an input into the flow and what to do with it.</p>
214
+ * <p>Contains information about an input into the prompt flow and where to send it.</p>
215
215
  * <p>This data type is used in the following API operations:</p>
216
216
  * <ul>
217
217
  * <li>
@@ -224,17 +224,17 @@ export declare namespace FlowInputContent {
224
224
  */
225
225
  export interface FlowInput {
226
226
  /**
227
- * <p>A name for the input of the flow input node.</p>
227
+ * <p>The name of the flow input node that begins the prompt flow.</p>
228
228
  * @public
229
229
  */
230
230
  nodeName: string | undefined;
231
231
  /**
232
- * <p>A name for the output of the flow input node.</p>
232
+ * <p>The name of the output from the flow input node that begins the prompt flow.</p>
233
233
  * @public
234
234
  */
235
235
  nodeOutputName: string | undefined;
236
236
  /**
237
- * <p>Contains information about an input into the flow.</p>
237
+ * <p>Contains information about an input into the prompt flow.</p>
238
238
  * @public
239
239
  */
240
240
  content: FlowInputContent | undefined;
@@ -290,7 +290,7 @@ export interface FlowCompletionEvent {
290
290
  completionReason: FlowCompletionReason | undefined;
291
291
  }
292
292
  /**
293
- * <p>Contains information about the output node.</p>
293
+ * <p>Contains information about the content in an output from prompt flow invocation.</p>
294
294
  * <p>This data type is used in the following API operations:</p>
295
295
  * <ul>
296
296
  * <li>
@@ -307,7 +307,7 @@ export type FlowOutputContent = FlowOutputContent.DocumentMember | FlowOutputCon
307
307
  */
308
308
  export declare namespace FlowOutputContent {
309
309
  /**
310
- * <p>A name for the output of the flow.</p>
310
+ * <p>The content in the output.</p>
311
311
  * @public
312
312
  */
313
313
  interface DocumentMember {
@@ -345,7 +345,7 @@ export declare const NodeType: {
345
345
  */
346
346
  export type NodeType = (typeof NodeType)[keyof typeof NodeType];
347
347
  /**
348
- * <p>Contains information about an output from flow invoction.</p>
348
+ * <p>Contains information about an output from prompt flow invoction.</p>
349
349
  * <p>This data type is used in the following API operations:</p>
350
350
  * <ul>
351
351
  * <li>
@@ -358,17 +358,17 @@ export type NodeType = (typeof NodeType)[keyof typeof NodeType];
358
358
  */
359
359
  export interface FlowOutputEvent {
360
360
  /**
361
- * <p>The name of the node to which input was provided.</p>
361
+ * <p>The name of the flow output node that the output is from.</p>
362
362
  * @public
363
363
  */
364
364
  nodeName: string | undefined;
365
365
  /**
366
- * <p>The type of node to which input was provided.</p>
366
+ * <p>The type of the node that the output is from.</p>
367
367
  * @public
368
368
  */
369
369
  nodeType: NodeType | undefined;
370
370
  /**
371
- * <p>The output of the node.</p>
371
+ * <p>The content in the output.</p>
372
372
  * @public
373
373
  */
374
374
  content: FlowOutputContent | undefined;
@@ -2032,7 +2032,7 @@ export interface InferenceConfiguration {
2032
2032
  */
2033
2033
  temperature?: number;
2034
2034
  /**
2035
- * <p>While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for <code>Top P</code> determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set <code>topP</code> to 80, the model only selects the next token from the top 80% of the probability distribution of next tokens.</p>
2035
+ * <p>While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for <code>Top P</code> determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set <code>topP</code> to 0.8, the model only selects the next token from the top 80% of the probability distribution of next tokens.</p>
2036
2036
  * @public
2037
2037
  */
2038
2038
  topP?: number;
@@ -2130,6 +2130,65 @@ export interface ModelInvocationInput {
2130
2130
  */
2131
2131
  parserMode?: CreationMode;
2132
2132
  }
2133
+ /**
2134
+ * <p>Contains information of the usage of the foundation model.</p>
2135
+ * @public
2136
+ */
2137
+ export interface Usage {
2138
+ /**
2139
+ * <p>Contains information about the input tokens from the foundation model usage.</p>
2140
+ * @public
2141
+ */
2142
+ inputTokens?: number;
2143
+ /**
2144
+ * <p>Contains information about the output tokens from the foundation model usage.</p>
2145
+ * @public
2146
+ */
2147
+ outputTokens?: number;
2148
+ }
2149
+ /**
2150
+ * <p>Provides details of the foundation model.</p>
2151
+ * @public
2152
+ */
2153
+ export interface Metadata {
2154
+ /**
2155
+ * <p>Contains details of the foundation model usage.</p>
2156
+ * @public
2157
+ */
2158
+ usage?: Usage;
2159
+ }
2160
+ /**
2161
+ * <p>Contains the raw output from the foundation model.</p>
2162
+ * @public
2163
+ */
2164
+ export interface RawResponse {
2165
+ /**
2166
+ * <p>The foundation model's raw output content.</p>
2167
+ * @public
2168
+ */
2169
+ content?: string;
2170
+ }
2171
+ /**
2172
+ * <p>The foundation model output from the orchestration step.</p>
2173
+ * @public
2174
+ */
2175
+ export interface OrchestrationModelInvocationOutput {
2176
+ /**
2177
+ * <p>The unique identifier of the trace.</p>
2178
+ * @public
2179
+ */
2180
+ traceId?: string;
2181
+ /**
2182
+ * <p>Contains details of the raw response from the foundation model output.</p>
2183
+ * @public
2184
+ */
2185
+ rawResponse?: RawResponse;
2186
+ /**
2187
+ * <p>Contains information about the foundation model output.</p>
2188
+ * @public
2189
+ */
2190
+ metadata?: Metadata;
2191
+ }
2133
2192
  /**
2134
2193
  * <p>Contains the JSON-formatted string returned by the API invoked by the code interpreter.</p>
2135
2194
  * @public
@@ -2305,7 +2364,7 @@ export interface Rationale {
2305
2364
  * <p>Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.</p>
2306
2365
  * @public
2307
2366
  */
2308
- export type OrchestrationTrace = OrchestrationTrace.InvocationInputMember | OrchestrationTrace.ModelInvocationInputMember | OrchestrationTrace.ObservationMember | OrchestrationTrace.RationaleMember | OrchestrationTrace.$UnknownMember;
2367
+ export type OrchestrationTrace = OrchestrationTrace.InvocationInputMember | OrchestrationTrace.ModelInvocationInputMember | OrchestrationTrace.ModelInvocationOutputMember | OrchestrationTrace.ObservationMember | OrchestrationTrace.RationaleMember | OrchestrationTrace.$UnknownMember;
2309
2368
  /**
2310
2369
  * @public
2311
2370
  */
@@ -2319,6 +2378,7 @@ export declare namespace OrchestrationTrace {
2319
2378
  invocationInput?: never;
2320
2379
  observation?: never;
2321
2380
  modelInvocationInput?: never;
2381
+ modelInvocationOutput?: never;
2322
2382
  $unknown?: never;
2323
2383
  }
2324
2384
  /**
@@ -2330,6 +2390,7 @@ export declare namespace OrchestrationTrace {
2330
2390
  invocationInput: InvocationInput;
2331
2391
  observation?: never;
2332
2392
  modelInvocationInput?: never;
2393
+ modelInvocationOutput?: never;
2333
2394
  $unknown?: never;
2334
2395
  }
2335
2396
  /**
@@ -2341,6 +2402,7 @@ export declare namespace OrchestrationTrace {
2341
2402
  invocationInput?: never;
2342
2403
  observation: Observation;
2343
2404
  modelInvocationInput?: never;
2405
+ modelInvocationOutput?: never;
2344
2406
  $unknown?: never;
2345
2407
  }
2346
2408
  /**
@@ -2363,6 +2425,19 @@ export declare namespace OrchestrationTrace {
2363
2425
  invocationInput?: never;
2364
2426
  observation?: never;
2365
2427
  modelInvocationInput: ModelInvocationInput;
2428
+ modelInvocationOutput?: never;
2429
+ $unknown?: never;
2430
+ }
2431
+ /**
2432
+ * <p>Contains information pertaining to the output from the foundation model that is being invoked.</p>
2433
+ * @public
2434
+ */
2435
+ interface ModelInvocationOutputMember {
2436
+ rationale?: never;
2437
+ invocationInput?: never;
2438
+ observation?: never;
2439
+ modelInvocationInput?: never;
2440
+ modelInvocationOutput: OrchestrationModelInvocationOutput;
2366
2441
  $unknown?: never;
2367
2442
  }
2368
2443
  /**
@@ -2373,6 +2448,7 @@ export declare namespace OrchestrationTrace {
2373
2448
  invocationInput?: never;
2374
2449
  observation?: never;
2375
2450
  modelInvocationInput?: never;
2451
+ modelInvocationOutput?: never;
2376
2452
  $unknown: [string, any];
2377
2453
  }
2378
2454
  interface Visitor<T> {
@@ -2380,6 +2456,7 @@ export declare namespace OrchestrationTrace {
2380
2456
  invocationInput: (value: InvocationInput) => T;
2381
2457
  observation: (value: Observation) => T;
2382
2458
  modelInvocationInput: (value: ModelInvocationInput) => T;
2459
+ modelInvocationOutput: (value: OrchestrationModelInvocationOutput) => T;
2383
2460
  _: (name: string, value: any) => T;
2384
2461
  }
2385
2462
  const visit: <T>(value: OrchestrationTrace, visitor: Visitor<T>) => T;
@@ -4422,6 +4499,22 @@ export declare const InvocationInputFilterSensitiveLog: (obj: InvocationInput) =
4422
4499
  * @internal
4423
4500
  */
4424
4501
  export declare const ModelInvocationInputFilterSensitiveLog: (obj: ModelInvocationInput) => any;
4502
+ /**
4503
+ * @internal
4504
+ */
4505
+ export declare const UsageFilterSensitiveLog: (obj: Usage) => any;
4506
+ /**
4507
+ * @internal
4508
+ */
4509
+ export declare const MetadataFilterSensitiveLog: (obj: Metadata) => any;
4510
+ /**
4511
+ * @internal
4512
+ */
4513
+ export declare const RawResponseFilterSensitiveLog: (obj: RawResponse) => any;
4514
+ /**
4515
+ * @internal
4516
+ */
4517
+ export declare const OrchestrationModelInvocationOutputFilterSensitiveLog: (obj: OrchestrationModelInvocationOutput) => any;
4425
4518
  /**
4426
4519
  * @internal
4427
4520
  */
@@ -776,6 +776,21 @@ export interface ModelInvocationInput {
776
776
  promptCreationMode?: CreationMode;
777
777
  parserMode?: CreationMode;
778
778
  }
779
+ export interface Usage {
780
+ inputTokens?: number;
781
+ outputTokens?: number;
782
+ }
783
+ export interface Metadata {
784
+ usage?: Usage;
785
+ }
786
+ export interface RawResponse {
787
+ content?: string;
788
+ }
789
+ export interface OrchestrationModelInvocationOutput {
790
+ traceId?: string;
791
+ rawResponse?: RawResponse;
792
+ metadata?: Metadata;
793
+ }
779
794
  export interface CodeInterpreterInvocationOutput {
780
795
  executionOutput?: string;
781
796
  executionError?: string;
@@ -822,6 +837,7 @@ export interface Rationale {
822
837
  export type OrchestrationTrace =
823
838
  | OrchestrationTrace.InvocationInputMember
824
839
  | OrchestrationTrace.ModelInvocationInputMember
840
+ | OrchestrationTrace.ModelInvocationOutputMember
825
841
  | OrchestrationTrace.ObservationMember
826
842
  | OrchestrationTrace.RationaleMember
827
843
  | OrchestrationTrace.$UnknownMember;
@@ -831,6 +847,7 @@ export declare namespace OrchestrationTrace {
831
847
  invocationInput?: never;
832
848
  observation?: never;
833
849
  modelInvocationInput?: never;
850
+ modelInvocationOutput?: never;
834
851
  $unknown?: never;
835
852
  }
836
853
  interface InvocationInputMember {
@@ -838,6 +855,7 @@ export declare namespace OrchestrationTrace {
838
855
  invocationInput: InvocationInput;
839
856
  observation?: never;
840
857
  modelInvocationInput?: never;
858
+ modelInvocationOutput?: never;
841
859
  $unknown?: never;
842
860
  }
843
861
  interface ObservationMember {
@@ -845,6 +863,7 @@ export declare namespace OrchestrationTrace {
845
863
  invocationInput?: never;
846
864
  observation: Observation;
847
865
  modelInvocationInput?: never;
866
+ modelInvocationOutput?: never;
848
867
  $unknown?: never;
849
868
  }
850
869
  interface ModelInvocationInputMember {
@@ -852,6 +871,15 @@ export declare namespace OrchestrationTrace {
852
871
  invocationInput?: never;
853
872
  observation?: never;
854
873
  modelInvocationInput: ModelInvocationInput;
874
+ modelInvocationOutput?: never;
875
+ $unknown?: never;
876
+ }
877
+ interface ModelInvocationOutputMember {
878
+ rationale?: never;
879
+ invocationInput?: never;
880
+ observation?: never;
881
+ modelInvocationInput?: never;
882
+ modelInvocationOutput: OrchestrationModelInvocationOutput;
855
883
  $unknown?: never;
856
884
  }
857
885
  interface $UnknownMember {
@@ -859,6 +887,7 @@ export declare namespace OrchestrationTrace {
859
887
  invocationInput?: never;
860
888
  observation?: never;
861
889
  modelInvocationInput?: never;
890
+ modelInvocationOutput?: never;
862
891
  $unknown: [string, any];
863
892
  }
864
893
  interface Visitor<T> {
@@ -866,6 +895,7 @@ export declare namespace OrchestrationTrace {
866
895
  invocationInput: (value: InvocationInput) => T;
867
896
  observation: (value: Observation) => T;
868
897
  modelInvocationInput: (value: ModelInvocationInput) => T;
898
+ modelInvocationOutput: (value: OrchestrationModelInvocationOutput) => T;
869
899
  _: (name: string, value: any) => T;
870
900
  }
871
901
  const visit: <T>(value: OrchestrationTrace, visitor: Visitor<T>) => T;
@@ -1847,6 +1877,12 @@ export declare const InvocationInputFilterSensitiveLog: (
1847
1877
  export declare const ModelInvocationInputFilterSensitiveLog: (
1848
1878
  obj: ModelInvocationInput
1849
1879
  ) => any;
1880
+ export declare const UsageFilterSensitiveLog: (obj: Usage) => any;
1881
+ export declare const MetadataFilterSensitiveLog: (obj: Metadata) => any;
1882
+ export declare const RawResponseFilterSensitiveLog: (obj: RawResponse) => any;
1883
+ export declare const OrchestrationModelInvocationOutputFilterSensitiveLog: (
1884
+ obj: OrchestrationModelInvocationOutput
1885
+ ) => any;
1850
1886
  export declare const FinalResponseFilterSensitiveLog: (
1851
1887
  obj: FinalResponse
1852
1888
  ) => 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.624.0",
4
+ "version": "3.625.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",