@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.
@@ -38,7 +38,6 @@ export declare namespace ActionGroupExecutor {
38
38
  customControl: (value: CustomControlMethod) => T;
39
39
  _: (name: string, value: any) => T;
40
40
  }
41
- const visit: <T>(value: ActionGroupExecutor, visitor: Visitor<T>) => T;
42
41
  }
43
42
  export declare const ExecutionType: {
44
43
  readonly LAMBDA: "LAMBDA";
@@ -124,7 +123,6 @@ export declare namespace APISchema {
124
123
  payload: (value: string) => T;
125
124
  _: (name: string, value: any) => T;
126
125
  }
127
- const visit: <T>(value: APISchema, visitor: Visitor<T>) => T;
128
126
  }
129
127
  export declare const ParameterType: {
130
128
  readonly ARRAY: "array";
@@ -167,7 +165,6 @@ export declare namespace FunctionSchema {
167
165
  functions: (value: FunctionDefinition[]) => T;
168
166
  _: (name: string, value: any) => T;
169
167
  }
170
- const visit: <T>(value: FunctionSchema, visitor: Visitor<T>) => T;
171
168
  }
172
169
  export interface AgentActionGroup {
173
170
  actionGroupName: string | undefined;
@@ -215,7 +212,6 @@ export declare namespace ImageInputSource {
215
212
  bytes: (value: Uint8Array) => T;
216
213
  _: (name: string, value: any) => T;
217
214
  }
218
- const visit: <T>(value: ImageInputSource, visitor: Visitor<T>) => T;
219
215
  }
220
216
  export interface ImageInput {
221
217
  format: ImageInputFormat | undefined;
@@ -273,7 +269,6 @@ export declare namespace InvocationResultMember {
273
269
  functionResult: (value: FunctionResult) => T;
274
270
  _: (name: string, value: any) => T;
275
271
  }
276
- const visit: <T>(value: InvocationResultMember, visitor: Visitor<T>) => T;
277
272
  }
278
273
  export interface ReturnControlResults {
279
274
  invocationId?: string | undefined;
@@ -353,7 +348,6 @@ export declare namespace InvocationInputMember {
353
348
  functionInvocationInput: (value: FunctionInvocationInput) => T;
354
349
  _: (name: string, value: any) => T;
355
350
  }
356
- const visit: <T>(value: InvocationInputMember, visitor: Visitor<T>) => T;
357
351
  }
358
352
  export interface ReturnControlPayload {
359
353
  invocationInputs?: InvocationInputMember[] | undefined;
@@ -384,7 +378,6 @@ export declare namespace Caller {
384
378
  agentAliasArn: (value: string) => T;
385
379
  _: (name: string, value: any) => T;
386
380
  }
387
- const visit: <T>(value: Caller, visitor: Visitor<T>) => T;
388
381
  }
389
382
  export interface CustomOrchestrationTraceEvent {
390
383
  text?: string | undefined;
@@ -637,7 +630,6 @@ export declare namespace ReasoningContentBlock {
637
630
  redactedContent: (value: Uint8Array) => T;
638
631
  _: (name: string, value: any) => T;
639
632
  }
640
- const visit: <T>(value: ReasoningContentBlock, visitor: Visitor<T>) => T;
641
633
  }
642
634
  export interface OrchestrationModelInvocationOutput {
643
635
  traceId?: string | undefined;
@@ -839,7 +831,6 @@ export declare namespace OrchestrationTrace {
839
831
  modelInvocationOutput: (value: OrchestrationModelInvocationOutput) => T;
840
832
  _: (name: string, value: any) => T;
841
833
  }
842
- const visit: <T>(value: OrchestrationTrace, visitor: Visitor<T>) => T;
843
834
  }
844
835
  export interface PostProcessingParsedResponse {
845
836
  text?: string | undefined;
@@ -876,7 +867,6 @@ export declare namespace PostProcessingTrace {
876
867
  modelInvocationOutput: (value: PostProcessingModelInvocationOutput) => T;
877
868
  _: (name: string, value: any) => T;
878
869
  }
879
- const visit: <T>(value: PostProcessingTrace, visitor: Visitor<T>) => T;
880
870
  }
881
871
  export interface PreProcessingParsedResponse {
882
872
  rationale?: string | undefined;
@@ -914,7 +904,6 @@ export declare namespace PreProcessingTrace {
914
904
  modelInvocationOutput: (value: PreProcessingModelInvocationOutput) => T;
915
905
  _: (name: string, value: any) => T;
916
906
  }
917
- const visit: <T>(value: PreProcessingTrace, visitor: Visitor<T>) => T;
918
907
  }
919
908
  export interface RoutingClassifierModelInvocationOutput {
920
909
  traceId?: string | undefined;
@@ -970,7 +959,6 @@ export declare namespace RoutingClassifierTrace {
970
959
  modelInvocationOutput: (value: RoutingClassifierModelInvocationOutput) => T;
971
960
  _: (name: string, value: any) => T;
972
961
  }
973
- const visit: <T>(value: RoutingClassifierTrace, visitor: Visitor<T>) => T;
974
962
  }
975
963
  export type Trace =
976
964
  | Trace.CustomOrchestrationTraceMember
@@ -1072,7 +1060,6 @@ export declare namespace Trace {
1072
1060
  customOrchestrationTrace: (value: CustomOrchestrationTrace) => T;
1073
1061
  _: (name: string, value: any) => T;
1074
1062
  }
1075
- const visit: <T>(value: Trace, visitor: Visitor<T>) => T;
1076
1063
  }
1077
1064
  export interface TracePart {
1078
1065
  sessionId?: string | undefined;
@@ -1209,7 +1196,6 @@ export declare namespace FlowExecutionContent {
1209
1196
  document: (value: __DocumentType) => T;
1210
1197
  _: (name: string, value: any) => T;
1211
1198
  }
1212
- const visit: <T>(value: FlowExecutionContent, visitor: Visitor<T>) => T;
1213
1199
  }
1214
1200
  export interface FlowInputField {
1215
1201
  name: string | undefined;
@@ -1254,7 +1240,6 @@ export declare namespace NodeTraceElements {
1254
1240
  agentTraces: (value: TracePart[]) => T;
1255
1241
  _: (name: string, value: any) => T;
1256
1242
  }
1257
- const visit: <T>(value: NodeTraceElements, visitor: Visitor<T>) => T;
1258
1243
  }
1259
1244
  export interface NodeDependencyEvent {
1260
1245
  nodeName: string | undefined;
@@ -1297,7 +1282,6 @@ export declare namespace NodeExecutionContent {
1297
1282
  document: (value: __DocumentType) => T;
1298
1283
  _: (name: string, value: any) => T;
1299
1284
  }
1300
- const visit: <T>(value: NodeExecutionContent, visitor: Visitor<T>) => T;
1301
1285
  }
1302
1286
  export declare const FlowControlNodeType: {
1303
1287
  readonly ITERATOR: "Iterator";
@@ -1496,7 +1480,6 @@ export declare namespace FlowExecutionEvent {
1496
1480
  nodeDependencyEvent: (value: NodeDependencyEvent) => T;
1497
1481
  _: (name: string, value: any) => T;
1498
1482
  }
1499
- const visit: <T>(value: FlowExecutionEvent, visitor: Visitor<T>) => T;
1500
1483
  }
1501
1484
  export interface ListFlowExecutionEventsResponse {
1502
1485
  flowExecutionEvents: FlowExecutionEvent[] | undefined;
@@ -1565,7 +1548,6 @@ export declare namespace FlowInputContent {
1565
1548
  document: (value: __DocumentType) => T;
1566
1549
  _: (name: string, value: any) => T;
1567
1550
  }
1568
- const visit: <T>(value: FlowInputContent, visitor: Visitor<T>) => T;
1569
1551
  }
1570
1552
  export interface FlowInput {
1571
1553
  nodeName: string | undefined;
@@ -1637,7 +1619,6 @@ export declare namespace FlowMultiTurnInputContent {
1637
1619
  document: (value: __DocumentType) => T;
1638
1620
  _: (name: string, value: any) => T;
1639
1621
  }
1640
- const visit: <T>(value: FlowMultiTurnInputContent, visitor: Visitor<T>) => T;
1641
1622
  }
1642
1623
  export declare const NodeType: {
1643
1624
  readonly CONDITION_NODE: "ConditionNode";
@@ -1670,7 +1651,6 @@ export declare namespace FlowOutputContent {
1670
1651
  document: (value: __DocumentType) => T;
1671
1652
  _: (name: string, value: any) => T;
1672
1653
  }
1673
- const visit: <T>(value: FlowOutputContent, visitor: Visitor<T>) => T;
1674
1654
  }
1675
1655
  export interface FlowOutputEvent {
1676
1656
  nodeName: string | undefined;
@@ -1710,7 +1690,6 @@ export declare namespace TraceElements {
1710
1690
  agentTraces: (value: TracePart[]) => T;
1711
1691
  _: (name: string, value: any) => T;
1712
1692
  }
1713
- const visit: <T>(value: TraceElements, visitor: Visitor<T>) => T;
1714
1693
  }
1715
1694
  export interface FlowTraceDependencyEvent {
1716
1695
  nodeName: string | undefined;
@@ -1733,7 +1712,6 @@ export declare namespace FlowTraceNodeInputContent {
1733
1712
  document: (value: __DocumentType) => T;
1734
1713
  _: (name: string, value: any) => T;
1735
1714
  }
1736
- const visit: <T>(value: FlowTraceNodeInputContent, visitor: Visitor<T>) => T;
1737
1715
  }
1738
1716
  export interface FlowTraceNodeInputExecutionChainItem {
1739
1717
  nodeName: string | undefined;
@@ -1774,7 +1752,6 @@ export declare namespace FlowTraceNodeOutputContent {
1774
1752
  document: (value: __DocumentType) => T;
1775
1753
  _: (name: string, value: any) => T;
1776
1754
  }
1777
- const visit: <T>(value: FlowTraceNodeOutputContent, visitor: Visitor<T>) => T;
1778
1755
  }
1779
1756
  export interface FlowTraceNodeOutputNext {
1780
1757
  nodeName: string | undefined;
@@ -1855,7 +1832,6 @@ export declare namespace FlowTrace {
1855
1832
  nodeDependencyTrace: (value: FlowTraceDependencyEvent) => T;
1856
1833
  _: (name: string, value: any) => T;
1857
1834
  }
1858
- const visit: <T>(value: FlowTrace, visitor: Visitor<T>) => T;
1859
1835
  }
1860
1836
  export interface FlowTraceEvent {
1861
1837
  trace: FlowTrace | undefined;
@@ -2118,7 +2094,6 @@ export declare namespace FlowResponseStream {
2118
2094
  ) => T;
2119
2095
  _: (name: string, value: any) => T;
2120
2096
  }
2121
- const visit: <T>(value: FlowResponseStream, visitor: Visitor<T>) => T;
2122
2097
  }
2123
2098
  export interface InvokeFlowResponse {
2124
2099
  responseStream: AsyncIterable<FlowResponseStream> | undefined;
@@ -2193,7 +2168,6 @@ export declare namespace ContentBlock {
2193
2168
  text: (value: string) => T;
2194
2169
  _: (name: string, value: any) => T;
2195
2170
  }
2196
- const visit: <T>(value: ContentBlock, visitor: Visitor<T>) => T;
2197
2171
  }
2198
2172
  export declare const ConversationRole: {
2199
2173
  readonly ASSISTANT: "assistant";
@@ -2295,10 +2269,6 @@ export declare namespace RerankingMetadataSelectiveModeConfiguration {
2295
2269
  fieldsToExclude: (value: FieldForReranking[]) => T;
2296
2270
  _: (name: string, value: any) => T;
2297
2271
  }
2298
- const visit: <T>(
2299
- value: RerankingMetadataSelectiveModeConfiguration,
2300
- visitor: Visitor<T>
2301
- ) => T;
2302
2272
  }
2303
2273
  export interface MetadataConfigurationForReranking {
2304
2274
  selectionMode: RerankingMetadataSelectionMode | undefined;
@@ -2658,7 +2628,6 @@ export declare namespace ResponseStream {
2658
2628
  files: (value: FilePart) => T;
2659
2629
  _: (name: string, value: any) => T;
2660
2630
  }
2661
- const visit: <T>(value: ResponseStream, visitor: Visitor<T>) => T;
2662
2631
  }
2663
2632
  export interface InvokeAgentResponse {
2664
2633
  completion: AsyncIterable<ResponseStream> | undefined;
@@ -2720,7 +2689,6 @@ export declare namespace OrchestrationExecutor {
2720
2689
  lambda: (value: string) => T;
2721
2690
  _: (name: string, value: any) => T;
2722
2691
  }
2723
- const visit: <T>(value: OrchestrationExecutor, visitor: Visitor<T>) => T;
2724
2692
  }
2725
2693
  export interface CustomOrchestration {
2726
2694
  executor?: OrchestrationExecutor | undefined;
@@ -3013,7 +2981,6 @@ export declare namespace InlineAgentResponseStream {
3013
2981
  files: (value: InlineAgentFilePart) => T;
3014
2982
  _: (name: string, value: any) => T;
3015
2983
  }
3016
- const visit: <T>(value: InlineAgentResponseStream, visitor: Visitor<T>) => T;
3017
2984
  }
3018
2985
  export interface InvokeInlineAgentResponse {
3019
2986
  completion: AsyncIterable<InlineAgentResponseStream> | undefined;
@@ -3060,7 +3027,6 @@ export declare namespace Memory {
3060
3027
  sessionSummary: (value: MemorySessionSummary) => T;
3061
3028
  _: (name: string, value: any) => T;
3062
3029
  }
3063
- const visit: <T>(value: Memory, visitor: Visitor<T>) => T;
3064
3030
  }
3065
3031
  export interface GetAgentMemoryResponse {
3066
3032
  nextToken?: string | undefined;
@@ -3085,7 +3051,6 @@ export declare namespace InputPrompt {
3085
3051
  textPrompt: (value: TextPrompt) => T;
3086
3052
  _: (name: string, value: any) => T;
3087
3053
  }
3088
- const visit: <T>(value: InputPrompt, visitor: Visitor<T>) => T;
3089
3054
  }
3090
3055
  export interface OptimizePromptRequest {
3091
3056
  input: InputPrompt | undefined;
@@ -3110,7 +3075,6 @@ export declare namespace OptimizedPrompt {
3110
3075
  textPrompt: (value: TextPrompt) => T;
3111
3076
  _: (name: string, value: any) => T;
3112
3077
  }
3113
- const visit: <T>(value: OptimizedPrompt, visitor: Visitor<T>) => T;
3114
3078
  }
3115
3079
  export interface OptimizedPromptEvent {
3116
3080
  optimizedPrompt?: OptimizedPrompt | undefined;
@@ -3236,7 +3200,6 @@ export declare namespace OptimizedPromptStream {
3236
3200
  badGatewayException: (value: BadGatewayException) => T;
3237
3201
  _: (name: string, value: any) => T;
3238
3202
  }
3239
- const visit: <T>(value: OptimizedPromptStream, visitor: Visitor<T>) => T;
3240
3203
  }
3241
3204
  export interface OptimizePromptResponse {
3242
3205
  optimizedPrompt: AsyncIterable<OptimizedPromptStream> | undefined;
@@ -342,10 +342,6 @@ export declare namespace RetrieveAndGenerateStreamResponseOutput {
342
342
  badGatewayException: (value: BadGatewayException) => T;
343
343
  _: (name: string, value: any) => T;
344
344
  }
345
- const visit: <T>(
346
- value: RetrieveAndGenerateStreamResponseOutput,
347
- visitor: Visitor<T>
348
- ) => T;
349
345
  }
350
346
  export interface RetrieveAndGenerateStreamResponse {
351
347
  stream: AsyncIterable<RetrieveAndGenerateStreamResponseOutput> | undefined;
@@ -470,7 +466,6 @@ export declare namespace ImageSource {
470
466
  s3Location: (value: S3Location) => T;
471
467
  _: (name: string, value: any) => T;
472
468
  }
473
- const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
474
469
  }
475
470
  export interface ImageBlock {
476
471
  format: ImageFormat | undefined;
@@ -501,7 +496,6 @@ export declare namespace BedrockSessionContentBlock {
501
496
  image: (value: ImageBlock) => T;
502
497
  _: (name: string, value: any) => T;
503
498
  }
504
- const visit: <T>(value: BedrockSessionContentBlock, visitor: Visitor<T>) => T;
505
499
  }
506
500
  export type InvocationStepPayload =
507
501
  | InvocationStepPayload.ContentBlocksMember
@@ -519,7 +513,6 @@ export declare namespace InvocationStepPayload {
519
513
  contentBlocks: (value: BedrockSessionContentBlock[]) => T;
520
514
  _: (name: string, value: any) => T;
521
515
  }
522
- const visit: <T>(value: InvocationStepPayload, visitor: Visitor<T>) => T;
523
516
  }
524
517
  export interface InvocationStep {
525
518
  sessionId: string | undefined;
@@ -855,7 +848,6 @@ export declare namespace RetrievalFilter {
855
848
  orAll: (value: RetrievalFilter[]) => T;
856
849
  _: (name: string, value: any) => T;
857
850
  }
858
- const visit: <T>(value: RetrievalFilter, visitor: Visitor<T>) => T;
859
851
  }
860
852
  export interface KnowledgeBaseVectorSearchConfiguration {
861
853
  numberOfResults?: number | undefined;
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.929.0",
4
+ "version": "3.931.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",
@@ -20,44 +20,44 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/eventstream-serde-browser": "^4.2.4",
37
- "@smithy/eventstream-serde-config-resolver": "^4.3.4",
38
- "@smithy/eventstream-serde-node": "^4.2.4",
39
- "@smithy/fetch-http-handler": "^5.3.5",
40
- "@smithy/hash-node": "^4.2.4",
41
- "@smithy/invalid-dependency": "^4.2.4",
42
- "@smithy/middleware-content-length": "^4.2.4",
43
- "@smithy/middleware-endpoint": "^4.3.6",
44
- "@smithy/middleware-retry": "^4.4.6",
45
- "@smithy/middleware-serde": "^4.2.4",
46
- "@smithy/middleware-stack": "^4.2.4",
47
- "@smithy/node-config-provider": "^4.3.4",
48
- "@smithy/node-http-handler": "^4.4.4",
49
- "@smithy/protocol-http": "^5.3.4",
50
- "@smithy/smithy-client": "^4.9.2",
51
- "@smithy/types": "^4.8.1",
52
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/eventstream-serde-browser": "^4.2.5",
37
+ "@smithy/eventstream-serde-config-resolver": "^4.3.5",
38
+ "@smithy/eventstream-serde-node": "^4.2.5",
39
+ "@smithy/fetch-http-handler": "^5.3.6",
40
+ "@smithy/hash-node": "^4.2.5",
41
+ "@smithy/invalid-dependency": "^4.2.5",
42
+ "@smithy/middleware-content-length": "^4.2.5",
43
+ "@smithy/middleware-endpoint": "^4.3.9",
44
+ "@smithy/middleware-retry": "^4.4.9",
45
+ "@smithy/middleware-serde": "^4.2.5",
46
+ "@smithy/middleware-stack": "^4.2.5",
47
+ "@smithy/node-config-provider": "^4.3.5",
48
+ "@smithy/node-http-handler": "^4.4.5",
49
+ "@smithy/protocol-http": "^5.3.5",
50
+ "@smithy/smithy-client": "^4.9.5",
51
+ "@smithy/types": "^4.9.0",
52
+ "@smithy/url-parser": "^4.2.5",
53
53
  "@smithy/util-base64": "^4.3.0",
54
54
  "@smithy/util-body-length-browser": "^4.2.0",
55
55
  "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.5",
57
- "@smithy/util-defaults-mode-node": "^4.2.8",
58
- "@smithy/util-endpoints": "^3.2.4",
59
- "@smithy/util-middleware": "^4.2.4",
60
- "@smithy/util-retry": "^4.2.4",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
57
+ "@smithy/util-defaults-mode-node": "^4.2.11",
58
+ "@smithy/util-endpoints": "^3.2.5",
59
+ "@smithy/util-middleware": "^4.2.5",
60
+ "@smithy/util-retry": "^4.2.5",
61
61
  "@smithy/util-utf8": "^4.2.0",
62
62
  "tslib": "^2.6.2"
63
63
  },