@aws-sdk/client-bedrock-agent-runtime 3.929.0 → 3.931.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.
@@ -59,12 +59,15 @@ export declare namespace ActionGroupExecutor {
59
59
  customControl?: never;
60
60
  $unknown: [string, any];
61
61
  }
62
+ /**
63
+ * @deprecated unused in schema-serde mode.
64
+ *
65
+ */
62
66
  interface Visitor<T> {
63
67
  lambda: (value: string) => T;
64
68
  customControl: (value: CustomControlMethod) => T;
65
69
  _: (name: string, value: any) => T;
66
70
  }
67
- const visit: <T>(value: ActionGroupExecutor, visitor: Visitor<T>) => T;
68
71
  }
69
72
  /**
70
73
  * @public
@@ -303,12 +306,15 @@ export declare namespace APISchema {
303
306
  payload?: never;
304
307
  $unknown: [string, any];
305
308
  }
309
+ /**
310
+ * @deprecated unused in schema-serde mode.
311
+ *
312
+ */
306
313
  interface Visitor<T> {
307
314
  s3: (value: S3Identifier) => T;
308
315
  payload: (value: string) => T;
309
316
  _: (name: string, value: any) => T;
310
317
  }
311
- const visit: <T>(value: APISchema, visitor: Visitor<T>) => T;
312
318
  }
313
319
  /**
314
320
  * @public
@@ -408,11 +414,14 @@ export declare namespace FunctionSchema {
408
414
  functions?: never;
409
415
  $unknown: [string, any];
410
416
  }
417
+ /**
418
+ * @deprecated unused in schema-serde mode.
419
+ *
420
+ */
411
421
  interface Visitor<T> {
412
422
  functions: (value: FunctionDefinition[]) => T;
413
423
  _: (name: string, value: any) => T;
414
424
  }
415
- const visit: <T>(value: FunctionSchema, visitor: Visitor<T>) => T;
416
425
  }
417
426
  /**
418
427
  * <p> Contains details of the inline agent's action group. </p>
@@ -518,11 +527,14 @@ export declare namespace ImageInputSource {
518
527
  bytes?: never;
519
528
  $unknown: [string, any];
520
529
  }
530
+ /**
531
+ * @deprecated unused in schema-serde mode.
532
+ *
533
+ */
521
534
  interface Visitor<T> {
522
535
  bytes: (value: Uint8Array) => T;
523
536
  _: (name: string, value: any) => T;
524
537
  }
525
- const visit: <T>(value: ImageInputSource, visitor: Visitor<T>) => T;
526
538
  }
527
539
  /**
528
540
  * <p>Details about an image in the result from a function in the action group invocation. You can specify images only when the function is a computer use action. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.</p>
@@ -685,12 +697,15 @@ export declare namespace InvocationResultMember {
685
697
  functionResult?: never;
686
698
  $unknown: [string, any];
687
699
  }
700
+ /**
701
+ * @deprecated unused in schema-serde mode.
702
+ *
703
+ */
688
704
  interface Visitor<T> {
689
705
  apiResult: (value: ApiResult) => T;
690
706
  functionResult: (value: FunctionResult) => T;
691
707
  _: (name: string, value: any) => T;
692
708
  }
693
- const visit: <T>(value: InvocationResultMember, visitor: Visitor<T>) => T;
694
709
  }
695
710
  /**
696
711
  * <p>An action invocation result.</p>
@@ -943,12 +958,15 @@ export declare namespace InvocationInputMember {
943
958
  functionInvocationInput?: never;
944
959
  $unknown: [string, any];
945
960
  }
961
+ /**
962
+ * @deprecated unused in schema-serde mode.
963
+ *
964
+ */
946
965
  interface Visitor<T> {
947
966
  apiInvocationInput: (value: ApiInvocationInput) => T;
948
967
  functionInvocationInput: (value: FunctionInvocationInput) => T;
949
968
  _: (name: string, value: any) => T;
950
969
  }
951
- const visit: <T>(value: InvocationInputMember, visitor: Visitor<T>) => T;
952
970
  }
953
971
  /**
954
972
  * <p>Contains information to return from the action group that the agent has predicted to invoke.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax">InvokeAgent response</a> </p> </li> </ul>
@@ -1037,11 +1055,14 @@ export declare namespace Caller {
1037
1055
  agentAliasArn?: never;
1038
1056
  $unknown: [string, any];
1039
1057
  }
1058
+ /**
1059
+ * @deprecated unused in schema-serde mode.
1060
+ *
1061
+ */
1040
1062
  interface Visitor<T> {
1041
1063
  agentAliasArn: (value: string) => T;
1042
1064
  _: (name: string, value: any) => T;
1043
1065
  }
1044
- const visit: <T>(value: Caller, visitor: Visitor<T>) => T;
1045
1066
  }
1046
1067
  /**
1047
1068
  * <p> The event in the custom orchestration sequence. Events are the responses which the custom orchestration Lambda function sends as response to the agent. </p>
@@ -1732,12 +1753,15 @@ export declare namespace ReasoningContentBlock {
1732
1753
  redactedContent?: never;
1733
1754
  $unknown: [string, any];
1734
1755
  }
1756
+ /**
1757
+ * @deprecated unused in schema-serde mode.
1758
+ *
1759
+ */
1735
1760
  interface Visitor<T> {
1736
1761
  reasoningText: (value: ReasoningTextBlock) => T;
1737
1762
  redactedContent: (value: Uint8Array) => T;
1738
1763
  _: (name: string, value: any) => T;
1739
1764
  }
1740
- const visit: <T>(value: ReasoningContentBlock, visitor: Visitor<T>) => T;
1741
1765
  }
1742
1766
  /**
1743
1767
  * <p>The foundation model output from the orchestration step.</p>
@@ -2269,6 +2293,10 @@ export declare namespace OrchestrationTrace {
2269
2293
  modelInvocationOutput?: never;
2270
2294
  $unknown: [string, any];
2271
2295
  }
2296
+ /**
2297
+ * @deprecated unused in schema-serde mode.
2298
+ *
2299
+ */
2272
2300
  interface Visitor<T> {
2273
2301
  rationale: (value: Rationale) => T;
2274
2302
  invocationInput: (value: InvocationInput) => T;
@@ -2277,7 +2305,6 @@ export declare namespace OrchestrationTrace {
2277
2305
  modelInvocationOutput: (value: OrchestrationModelInvocationOutput) => T;
2278
2306
  _: (name: string, value: any) => T;
2279
2307
  }
2280
- const visit: <T>(value: OrchestrationTrace, visitor: Visitor<T>) => T;
2281
2308
  }
2282
2309
  /**
2283
2310
  * <p>Details about the response from the Lambda parsing of the output from the post-processing step.</p>
@@ -2356,12 +2383,15 @@ export declare namespace PostProcessingTrace {
2356
2383
  modelInvocationOutput?: never;
2357
2384
  $unknown: [string, any];
2358
2385
  }
2386
+ /**
2387
+ * @deprecated unused in schema-serde mode.
2388
+ *
2389
+ */
2359
2390
  interface Visitor<T> {
2360
2391
  modelInvocationInput: (value: ModelInvocationInput) => T;
2361
2392
  modelInvocationOutput: (value: PostProcessingModelInvocationOutput) => T;
2362
2393
  _: (name: string, value: any) => T;
2363
2394
  }
2364
- const visit: <T>(value: PostProcessingTrace, visitor: Visitor<T>) => T;
2365
2395
  }
2366
2396
  /**
2367
2397
  * <p>Details about the response from the Lambda parsing of the output from the pre-processing step.</p>
@@ -2445,12 +2475,15 @@ export declare namespace PreProcessingTrace {
2445
2475
  modelInvocationOutput?: never;
2446
2476
  $unknown: [string, any];
2447
2477
  }
2478
+ /**
2479
+ * @deprecated unused in schema-serde mode.
2480
+ *
2481
+ */
2448
2482
  interface Visitor<T> {
2449
2483
  modelInvocationInput: (value: ModelInvocationInput) => T;
2450
2484
  modelInvocationOutput: (value: PreProcessingModelInvocationOutput) => T;
2451
2485
  _: (name: string, value: any) => T;
2452
2486
  }
2453
- const visit: <T>(value: PreProcessingTrace, visitor: Visitor<T>) => T;
2454
2487
  }
2455
2488
  /**
2456
2489
  * <p>Invocation output from a routing classifier model.</p>
@@ -2536,6 +2569,10 @@ export declare namespace RoutingClassifierTrace {
2536
2569
  modelInvocationOutput?: never;
2537
2570
  $unknown: [string, any];
2538
2571
  }
2572
+ /**
2573
+ * @deprecated unused in schema-serde mode.
2574
+ *
2575
+ */
2539
2576
  interface Visitor<T> {
2540
2577
  invocationInput: (value: InvocationInput) => T;
2541
2578
  observation: (value: Observation) => T;
@@ -2543,7 +2580,6 @@ export declare namespace RoutingClassifierTrace {
2543
2580
  modelInvocationOutput: (value: RoutingClassifierModelInvocationOutput) => T;
2544
2581
  _: (name: string, value: any) => T;
2545
2582
  }
2546
- const visit: <T>(value: RoutingClassifierTrace, visitor: Visitor<T>) => T;
2547
2583
  }
2548
2584
  /**
2549
2585
  * <p>Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement">Trace enablement</a>.</p>
@@ -2665,6 +2701,10 @@ export declare namespace Trace {
2665
2701
  customOrchestrationTrace?: never;
2666
2702
  $unknown: [string, any];
2667
2703
  }
2704
+ /**
2705
+ * @deprecated unused in schema-serde mode.
2706
+ *
2707
+ */
2668
2708
  interface Visitor<T> {
2669
2709
  guardrailTrace: (value: GuardrailTrace) => T;
2670
2710
  preProcessingTrace: (value: PreProcessingTrace) => T;
@@ -2675,7 +2715,6 @@ export declare namespace Trace {
2675
2715
  customOrchestrationTrace: (value: CustomOrchestrationTrace) => T;
2676
2716
  _: (name: string, value: any) => T;
2677
2717
  }
2678
- const visit: <T>(value: Trace, visitor: Visitor<T>) => T;
2679
2718
  }
2680
2719
  /**
2681
2720
  * <p>Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement">Trace enablement</a>.</p>
@@ -3080,11 +3119,14 @@ export declare namespace FlowExecutionContent {
3080
3119
  document?: never;
3081
3120
  $unknown: [string, any];
3082
3121
  }
3122
+ /**
3123
+ * @deprecated unused in schema-serde mode.
3124
+ *
3125
+ */
3083
3126
  interface Visitor<T> {
3084
3127
  document: (value: __DocumentType) => T;
3085
3128
  _: (name: string, value: any) => T;
3086
3129
  }
3087
- const visit: <T>(value: FlowExecutionContent, visitor: Visitor<T>) => T;
3088
3130
  }
3089
3131
  /**
3090
3132
  * <p>Represents an input field provided to a flow during a flow execution.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
@@ -3225,11 +3267,14 @@ export declare namespace NodeTraceElements {
3225
3267
  agentTraces?: never;
3226
3268
  $unknown: [string, any];
3227
3269
  }
3270
+ /**
3271
+ * @deprecated unused in schema-serde mode.
3272
+ *
3273
+ */
3228
3274
  interface Visitor<T> {
3229
3275
  agentTraces: (value: TracePart[]) => T;
3230
3276
  _: (name: string, value: any) => T;
3231
3277
  }
3232
- const visit: <T>(value: NodeTraceElements, visitor: Visitor<T>) => T;
3233
3278
  }
3234
3279
  /**
3235
3280
  * <p>Contains information about an internal trace of a specific node during execution.</p>
@@ -3329,11 +3374,14 @@ export declare namespace NodeExecutionContent {
3329
3374
  document?: never;
3330
3375
  $unknown: [string, any];
3331
3376
  }
3377
+ /**
3378
+ * @deprecated unused in schema-serde mode.
3379
+ *
3380
+ */
3332
3381
  interface Visitor<T> {
3333
3382
  document: (value: __DocumentType) => T;
3334
3383
  _: (name: string, value: any) => T;
3335
3384
  }
3336
- const visit: <T>(value: NodeExecutionContent, visitor: Visitor<T>) => T;
3337
3385
  }
3338
3386
  /**
3339
3387
  * @public
@@ -3692,6 +3740,10 @@ export declare namespace FlowExecutionEvent {
3692
3740
  nodeDependencyEvent?: never;
3693
3741
  $unknown: [string, any];
3694
3742
  }
3743
+ /**
3744
+ * @deprecated unused in schema-serde mode.
3745
+ *
3746
+ */
3695
3747
  interface Visitor<T> {
3696
3748
  flowInputEvent: (value: FlowExecutionInputEvent) => T;
3697
3749
  flowOutputEvent: (value: FlowExecutionOutputEvent) => T;
@@ -3704,7 +3756,6 @@ export declare namespace FlowExecutionEvent {
3704
3756
  nodeDependencyEvent: (value: NodeDependencyEvent) => T;
3705
3757
  _: (name: string, value: any) => T;
3706
3758
  }
3707
- const visit: <T>(value: FlowExecutionEvent, visitor: Visitor<T>) => T;
3708
3759
  }
3709
3760
  /**
3710
3761
  * @public
@@ -3884,11 +3935,14 @@ export declare namespace FlowInputContent {
3884
3935
  document?: never;
3885
3936
  $unknown: [string, any];
3886
3937
  }
3938
+ /**
3939
+ * @deprecated unused in schema-serde mode.
3940
+ *
3941
+ */
3887
3942
  interface Visitor<T> {
3888
3943
  document: (value: __DocumentType) => T;
3889
3944
  _: (name: string, value: any) => T;
3890
3945
  }
3891
- const visit: <T>(value: FlowInputContent, visitor: Visitor<T>) => T;
3892
3946
  }
3893
3947
  /**
3894
3948
  * <p>Contains information about an input into the prompt flow and where to send it.</p>
@@ -4107,11 +4161,14 @@ export declare namespace FlowMultiTurnInputContent {
4107
4161
  document?: never;
4108
4162
  $unknown: [string, any];
4109
4163
  }
4164
+ /**
4165
+ * @deprecated unused in schema-serde mode.
4166
+ *
4167
+ */
4110
4168
  interface Visitor<T> {
4111
4169
  document: (value: __DocumentType) => T;
4112
4170
  _: (name: string, value: any) => T;
4113
4171
  }
4114
- const visit: <T>(value: FlowMultiTurnInputContent, visitor: Visitor<T>) => T;
4115
4172
  }
4116
4173
  /**
4117
4174
  * @public
@@ -4175,11 +4232,14 @@ export declare namespace FlowOutputContent {
4175
4232
  document?: never;
4176
4233
  $unknown: [string, any];
4177
4234
  }
4235
+ /**
4236
+ * @deprecated unused in schema-serde mode.
4237
+ *
4238
+ */
4178
4239
  interface Visitor<T> {
4179
4240
  document: (value: __DocumentType) => T;
4180
4241
  _: (name: string, value: any) => T;
4181
4242
  }
4182
- const visit: <T>(value: FlowOutputContent, visitor: Visitor<T>) => T;
4183
4243
  }
4184
4244
  /**
4185
4245
  * <p>Contains information about an output from prompt flow invoction.</p>
@@ -4299,11 +4359,14 @@ export declare namespace TraceElements {
4299
4359
  agentTraces?: never;
4300
4360
  $unknown: [string, any];
4301
4361
  }
4362
+ /**
4363
+ * @deprecated unused in schema-serde mode.
4364
+ *
4365
+ */
4302
4366
  interface Visitor<T> {
4303
4367
  agentTraces: (value: TracePart[]) => T;
4304
4368
  _: (name: string, value: any) => T;
4305
4369
  }
4306
- const visit: <T>(value: TraceElements, visitor: Visitor<T>) => T;
4307
4370
  }
4308
4371
  /**
4309
4372
  * <p>Contains information about a dependency trace event in the flow.</p>
@@ -4350,11 +4413,14 @@ export declare namespace FlowTraceNodeInputContent {
4350
4413
  document?: never;
4351
4414
  $unknown: [string, any];
4352
4415
  }
4416
+ /**
4417
+ * @deprecated unused in schema-serde mode.
4418
+ *
4419
+ */
4353
4420
  interface Visitor<T> {
4354
4421
  document: (value: __DocumentType) => T;
4355
4422
  _: (name: string, value: any) => T;
4356
4423
  }
4357
- const visit: <T>(value: FlowTraceNodeInputContent, visitor: Visitor<T>) => T;
4358
4424
  }
4359
4425
  /**
4360
4426
  * <p>Represents an item in the execution chain for flow trace node input tracking.</p>
@@ -4479,11 +4545,14 @@ export declare namespace FlowTraceNodeOutputContent {
4479
4545
  document?: never;
4480
4546
  $unknown: [string, any];
4481
4547
  }
4548
+ /**
4549
+ * @deprecated unused in schema-serde mode.
4550
+ *
4551
+ */
4482
4552
  interface Visitor<T> {
4483
4553
  document: (value: __DocumentType) => T;
4484
4554
  _: (name: string, value: any) => T;
4485
4555
  }
4486
- const visit: <T>(value: FlowTraceNodeOutputContent, visitor: Visitor<T>) => T;
4487
4556
  }
4488
4557
  /**
4489
4558
  * <p>Represents the next node that receives output data from a flow trace.</p>
@@ -4628,6 +4697,10 @@ export declare namespace FlowTrace {
4628
4697
  nodeDependencyTrace?: never;
4629
4698
  $unknown: [string, any];
4630
4699
  }
4700
+ /**
4701
+ * @deprecated unused in schema-serde mode.
4702
+ *
4703
+ */
4631
4704
  interface Visitor<T> {
4632
4705
  nodeInputTrace: (value: FlowTraceNodeInputEvent) => T;
4633
4706
  nodeOutputTrace: (value: FlowTraceNodeOutputEvent) => T;
@@ -4636,7 +4709,6 @@ export declare namespace FlowTrace {
4636
4709
  nodeDependencyTrace: (value: FlowTraceDependencyEvent) => T;
4637
4710
  _: (name: string, value: any) => T;
4638
4711
  }
4639
- const visit: <T>(value: FlowTrace, visitor: Visitor<T>) => T;
4640
4712
  }
4641
4713
  /**
4642
4714
  * <p>Contains information about a trace, which tracks an input or output for a node in the flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html">Track each step in your prompt flow by viewing its trace in Amazon Bedrock</a>.</p>
@@ -4937,6 +5009,10 @@ export declare namespace FlowResponseStream {
4937
5009
  flowMultiTurnInputRequestEvent?: never;
4938
5010
  $unknown: [string, any];
4939
5011
  }
5012
+ /**
5013
+ * @deprecated unused in schema-serde mode.
5014
+ *
5015
+ */
4940
5016
  interface Visitor<T> {
4941
5017
  flowOutputEvent: (value: FlowOutputEvent) => T;
4942
5018
  flowCompletionEvent: (value: FlowCompletionEvent) => T;
@@ -4953,7 +5029,6 @@ export declare namespace FlowResponseStream {
4953
5029
  flowMultiTurnInputRequestEvent: (value: FlowMultiTurnInputRequestEvent) => T;
4954
5030
  _: (name: string, value: any) => T;
4955
5031
  }
4956
- const visit: <T>(value: FlowResponseStream, visitor: Visitor<T>) => T;
4957
5032
  }
4958
5033
  /**
4959
5034
  * @public
@@ -5165,11 +5240,14 @@ export declare namespace ContentBlock {
5165
5240
  text?: never;
5166
5241
  $unknown: [string, any];
5167
5242
  }
5243
+ /**
5244
+ * @deprecated unused in schema-serde mode.
5245
+ *
5246
+ */
5168
5247
  interface Visitor<T> {
5169
5248
  text: (value: string) => T;
5170
5249
  _: (name: string, value: any) => T;
5171
5250
  }
5172
- const visit: <T>(value: ContentBlock, visitor: Visitor<T>) => T;
5173
5251
  }
5174
5252
  /**
5175
5253
  * @public
@@ -5440,12 +5518,15 @@ export declare namespace RerankingMetadataSelectiveModeConfiguration {
5440
5518
  fieldsToExclude?: never;
5441
5519
  $unknown: [string, any];
5442
5520
  }
5521
+ /**
5522
+ * @deprecated unused in schema-serde mode.
5523
+ *
5524
+ */
5443
5525
  interface Visitor<T> {
5444
5526
  fieldsToInclude: (value: FieldForReranking[]) => T;
5445
5527
  fieldsToExclude: (value: FieldForReranking[]) => T;
5446
5528
  _: (name: string, value: any) => T;
5447
5529
  }
5448
- const visit: <T>(value: RerankingMetadataSelectiveModeConfiguration, visitor: Visitor<T>) => T;
5449
5530
  }
5450
5531
  /**
5451
5532
  * <p>Contains configurations for the metadata to use in reranking.</p>
@@ -5996,6 +6077,10 @@ export declare namespace ResponseStream {
5996
6077
  files?: never;
5997
6078
  $unknown: [string, any];
5998
6079
  }
6080
+ /**
6081
+ * @deprecated unused in schema-serde mode.
6082
+ *
6083
+ */
5999
6084
  interface Visitor<T> {
6000
6085
  chunk: (value: PayloadPart) => T;
6001
6086
  trace: (value: TracePart) => T;
@@ -6013,7 +6098,6 @@ export declare namespace ResponseStream {
6013
6098
  files: (value: FilePart) => T;
6014
6099
  _: (name: string, value: any) => T;
6015
6100
  }
6016
- const visit: <T>(value: ResponseStream, visitor: Visitor<T>) => T;
6017
6101
  }
6018
6102
  /**
6019
6103
  * @public
@@ -6203,11 +6287,14 @@ export declare namespace OrchestrationExecutor {
6203
6287
  lambda?: never;
6204
6288
  $unknown: [string, any];
6205
6289
  }
6290
+ /**
6291
+ * @deprecated unused in schema-serde mode.
6292
+ *
6293
+ */
6206
6294
  interface Visitor<T> {
6207
6295
  lambda: (value: string) => T;
6208
6296
  _: (name: string, value: any) => T;
6209
6297
  }
6210
- const visit: <T>(value: OrchestrationExecutor, visitor: Visitor<T>) => T;
6211
6298
  }
6212
6299
  /**
6213
6300
  * <p>Contains details of the custom orchestration configured for the agent. </p>
@@ -6630,6 +6717,10 @@ export declare namespace InlineAgentResponseStream {
6630
6717
  files?: never;
6631
6718
  $unknown: [string, any];
6632
6719
  }
6720
+ /**
6721
+ * @deprecated unused in schema-serde mode.
6722
+ *
6723
+ */
6633
6724
  interface Visitor<T> {
6634
6725
  chunk: (value: InlineAgentPayloadPart) => T;
6635
6726
  trace: (value: InlineAgentTracePart) => T;
@@ -6646,7 +6737,6 @@ export declare namespace InlineAgentResponseStream {
6646
6737
  files: (value: InlineAgentFilePart) => T;
6647
6738
  _: (name: string, value: any) => T;
6648
6739
  }
6649
- const visit: <T>(value: InlineAgentResponseStream, visitor: Visitor<T>) => T;
6650
6740
  }
6651
6741
  /**
6652
6742
  * @public
@@ -6799,11 +6889,14 @@ export declare namespace Memory {
6799
6889
  sessionSummary?: never;
6800
6890
  $unknown: [string, any];
6801
6891
  }
6892
+ /**
6893
+ * @deprecated unused in schema-serde mode.
6894
+ *
6895
+ */
6802
6896
  interface Visitor<T> {
6803
6897
  sessionSummary: (value: MemorySessionSummary) => T;
6804
6898
  _: (name: string, value: any) => T;
6805
6899
  }
6806
- const visit: <T>(value: Memory, visitor: Visitor<T>) => T;
6807
6900
  }
6808
6901
  /**
6809
6902
  * @public
@@ -6855,11 +6948,14 @@ export declare namespace InputPrompt {
6855
6948
  textPrompt?: never;
6856
6949
  $unknown: [string, any];
6857
6950
  }
6951
+ /**
6952
+ * @deprecated unused in schema-serde mode.
6953
+ *
6954
+ */
6858
6955
  interface Visitor<T> {
6859
6956
  textPrompt: (value: TextPrompt) => T;
6860
6957
  _: (name: string, value: any) => T;
6861
6958
  }
6862
- const visit: <T>(value: InputPrompt, visitor: Visitor<T>) => T;
6863
6959
  }
6864
6960
  /**
6865
6961
  * @public
@@ -6911,11 +7007,14 @@ export declare namespace OptimizedPrompt {
6911
7007
  textPrompt?: never;
6912
7008
  $unknown: [string, any];
6913
7009
  }
7010
+ /**
7011
+ * @deprecated unused in schema-serde mode.
7012
+ *
7013
+ */
6914
7014
  interface Visitor<T> {
6915
7015
  textPrompt: (value: TextPrompt) => T;
6916
7016
  _: (name: string, value: any) => T;
6917
7017
  }
6918
- const visit: <T>(value: OptimizedPrompt, visitor: Visitor<T>) => T;
6919
7018
  }
6920
7019
  /**
6921
7020
  * <p>An event in which the prompt was optimized.</p>
@@ -7071,6 +7170,10 @@ export declare namespace OptimizedPromptStream {
7071
7170
  badGatewayException?: never;
7072
7171
  $unknown: [string, any];
7073
7172
  }
7173
+ /**
7174
+ * @deprecated unused in schema-serde mode.
7175
+ *
7176
+ */
7074
7177
  interface Visitor<T> {
7075
7178
  optimizedPromptEvent: (value: OptimizedPromptEvent) => T;
7076
7179
  analyzePromptEvent: (value: AnalyzePromptEvent) => T;
@@ -7082,7 +7185,6 @@ export declare namespace OptimizedPromptStream {
7082
7185
  badGatewayException: (value: BadGatewayException) => T;
7083
7186
  _: (name: string, value: any) => T;
7084
7187
  }
7085
- const visit: <T>(value: OptimizedPromptStream, visitor: Visitor<T>) => T;
7086
7188
  }
7087
7189
  /**
7088
7190
  * @public
@@ -509,6 +509,10 @@ export declare namespace RetrieveAndGenerateStreamResponseOutput {
509
509
  badGatewayException?: never;
510
510
  $unknown: [string, any];
511
511
  }
512
+ /**
513
+ * @deprecated unused in schema-serde mode.
514
+ *
515
+ */
512
516
  interface Visitor<T> {
513
517
  output: (value: RetrieveAndGenerateOutputEvent) => T;
514
518
  citation: (value: CitationEvent) => T;
@@ -524,7 +528,6 @@ export declare namespace RetrieveAndGenerateStreamResponseOutput {
524
528
  badGatewayException: (value: BadGatewayException) => T;
525
529
  _: (name: string, value: any) => T;
526
530
  }
527
- const visit: <T>(value: RetrieveAndGenerateStreamResponseOutput, visitor: Visitor<T>) => T;
528
531
  }
529
532
  /**
530
533
  * @public
@@ -927,12 +930,15 @@ export declare namespace ImageSource {
927
930
  s3Location?: never;
928
931
  $unknown: [string, any];
929
932
  }
933
+ /**
934
+ * @deprecated unused in schema-serde mode.
935
+ *
936
+ */
930
937
  interface Visitor<T> {
931
938
  bytes: (value: Uint8Array) => T;
932
939
  s3Location: (value: S3Location) => T;
933
940
  _: (name: string, value: any) => T;
934
941
  }
935
- const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
936
942
  }
937
943
  /**
938
944
  * <p>Image content for an invocation step.</p>
@@ -985,12 +991,15 @@ export declare namespace BedrockSessionContentBlock {
985
991
  image?: never;
986
992
  $unknown: [string, any];
987
993
  }
994
+ /**
995
+ * @deprecated unused in schema-serde mode.
996
+ *
997
+ */
988
998
  interface Visitor<T> {
989
999
  text: (value: string) => T;
990
1000
  image: (value: ImageBlock) => T;
991
1001
  _: (name: string, value: any) => T;
992
1002
  }
993
- const visit: <T>(value: BedrockSessionContentBlock, visitor: Visitor<T>) => T;
994
1003
  }
995
1004
  /**
996
1005
  * <p>Payload content, such as text and images, for the invocation step.</p>
@@ -1016,11 +1025,14 @@ export declare namespace InvocationStepPayload {
1016
1025
  contentBlocks?: never;
1017
1026
  $unknown: [string, any];
1018
1027
  }
1028
+ /**
1029
+ * @deprecated unused in schema-serde mode.
1030
+ *
1031
+ */
1019
1032
  interface Visitor<T> {
1020
1033
  contentBlocks: (value: BedrockSessionContentBlock[]) => T;
1021
1034
  _: (name: string, value: any) => T;
1022
1035
  }
1023
- const visit: <T>(value: InvocationStepPayload, visitor: Visitor<T>) => T;
1024
1036
  }
1025
1037
  /**
1026
1038
  * <p>Stores fine-grained state checkpoints, including text and images, for each interaction in an invocation in a session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>. </p>
@@ -1623,6 +1635,10 @@ export declare namespace RetrievalFilter {
1623
1635
  orAll?: never;
1624
1636
  $unknown: [string, any];
1625
1637
  }
1638
+ /**
1639
+ * @deprecated unused in schema-serde mode.
1640
+ *
1641
+ */
1626
1642
  interface Visitor<T> {
1627
1643
  equals: (value: FilterAttribute) => T;
1628
1644
  notEquals: (value: FilterAttribute) => T;
@@ -1639,7 +1655,6 @@ export declare namespace RetrievalFilter {
1639
1655
  orAll: (value: RetrievalFilter[]) => T;
1640
1656
  _: (name: string, value: any) => T;
1641
1657
  }
1642
- const visit: <T>(value: RetrievalFilter, visitor: Visitor<T>) => T;
1643
1658
  }
1644
1659
  /**
1645
1660
  * <p>Configurations for how to perform the search query and return results. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax">Retrieve request</a> – in the <code>vectorSearchConfiguration</code> field</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>vectorSearchConfiguration</code> field</p> </li> </ul>