@aws-sdk/client-bedrock-runtime 3.929.0 → 3.930.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.
@@ -32,10 +32,6 @@ export declare namespace AsyncInvokeOutputDataConfig {
32
32
  s3OutputDataConfig: (value: AsyncInvokeS3OutputDataConfig) => T;
33
33
  _: (name: string, value: any) => T;
34
34
  }
35
- const visit: <T>(
36
- value: AsyncInvokeOutputDataConfig,
37
- visitor: Visitor<T>
38
- ) => T;
39
35
  }
40
36
  export declare const AsyncInvokeStatus: {
41
37
  readonly COMPLETED: "Completed";
@@ -172,7 +168,6 @@ export declare namespace GuardrailImageSource {
172
168
  bytes: (value: Uint8Array) => T;
173
169
  _: (name: string, value: any) => T;
174
170
  }
175
- const visit: <T>(value: GuardrailImageSource, visitor: Visitor<T>) => T;
176
171
  }
177
172
  export interface GuardrailImageBlock {
178
173
  format: GuardrailImageFormat | undefined;
@@ -214,7 +209,6 @@ export declare namespace GuardrailContentBlock {
214
209
  image: (value: GuardrailImageBlock) => T;
215
210
  _: (name: string, value: any) => T;
216
211
  }
217
- const visit: <T>(value: GuardrailContentBlock, visitor: Visitor<T>) => T;
218
212
  }
219
213
  export declare const GuardrailOutputScope: {
220
214
  readonly FULL: "FULL";
@@ -412,10 +406,6 @@ export declare namespace GuardrailAutomatedReasoningFinding {
412
406
  ) => T;
413
407
  _: (name: string, value: any) => T;
414
408
  }
415
- const visit: <T>(
416
- value: GuardrailAutomatedReasoningFinding,
417
- visitor: Visitor<T>
418
- ) => T;
419
409
  }
420
410
  export interface GuardrailAutomatedReasoningPolicyAssessment {
421
411
  findings?: GuardrailAutomatedReasoningFinding[] | undefined;
@@ -737,7 +727,6 @@ export declare namespace CitationLocation {
737
727
  documentChunk: (value: DocumentChunkLocation) => T;
738
728
  _: (name: string, value: any) => T;
739
729
  }
740
- const visit: <T>(value: CitationLocation, visitor: Visitor<T>) => T;
741
730
  }
742
731
  export type CitationSourceContent =
743
732
  | CitationSourceContent.TextMember
@@ -755,7 +744,6 @@ export declare namespace CitationSourceContent {
755
744
  text: (value: string) => T;
756
745
  _: (name: string, value: any) => T;
757
746
  }
758
- const visit: <T>(value: CitationSourceContent, visitor: Visitor<T>) => T;
759
747
  }
760
748
  export interface Citation {
761
749
  title?: string | undefined;
@@ -778,7 +766,6 @@ export declare namespace CitationGeneratedContent {
778
766
  text: (value: string) => T;
779
767
  _: (name: string, value: any) => T;
780
768
  }
781
- const visit: <T>(value: CitationGeneratedContent, visitor: Visitor<T>) => T;
782
769
  }
783
770
  export interface CitationsContentBlock {
784
771
  content?: CitationGeneratedContent[] | undefined;
@@ -816,7 +803,6 @@ export declare namespace DocumentContentBlock {
816
803
  text: (value: string) => T;
817
804
  _: (name: string, value: any) => T;
818
805
  }
819
- const visit: <T>(value: DocumentContentBlock, visitor: Visitor<T>) => T;
820
806
  }
821
807
  export interface S3Location {
822
808
  uri: string | undefined;
@@ -871,7 +857,6 @@ export declare namespace DocumentSource {
871
857
  content: (value: DocumentContentBlock[]) => T;
872
858
  _: (name: string, value: any) => T;
873
859
  }
874
- const visit: <T>(value: DocumentSource, visitor: Visitor<T>) => T;
875
860
  }
876
861
  export interface DocumentBlock {
877
862
  format?: DocumentFormat | undefined;
@@ -902,10 +887,6 @@ export declare namespace GuardrailConverseImageSource {
902
887
  bytes: (value: Uint8Array) => T;
903
888
  _: (name: string, value: any) => T;
904
889
  }
905
- const visit: <T>(
906
- value: GuardrailConverseImageSource,
907
- visitor: Visitor<T>
908
- ) => T;
909
890
  }
910
891
  export interface GuardrailConverseImageBlock {
911
892
  format: GuardrailConverseImageFormat | undefined;
@@ -947,10 +928,6 @@ export declare namespace GuardrailConverseContentBlock {
947
928
  image: (value: GuardrailConverseImageBlock) => T;
948
929
  _: (name: string, value: any) => T;
949
930
  }
950
- const visit: <T>(
951
- value: GuardrailConverseContentBlock,
952
- visitor: Visitor<T>
953
- ) => T;
954
931
  }
955
932
  export declare const ImageFormat: {
956
933
  readonly GIF: "gif";
@@ -984,7 +961,6 @@ export declare namespace ImageSource {
984
961
  s3Location: (value: S3Location) => T;
985
962
  _: (name: string, value: any) => T;
986
963
  }
987
- const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
988
964
  }
989
965
  export interface ImageBlock {
990
966
  format: ImageFormat | undefined;
@@ -1019,7 +995,6 @@ export declare namespace ReasoningContentBlock {
1019
995
  redactedContent: (value: Uint8Array) => T;
1020
996
  _: (name: string, value: any) => T;
1021
997
  }
1022
- const visit: <T>(value: ReasoningContentBlock, visitor: Visitor<T>) => T;
1023
998
  }
1024
999
  export declare const VideoFormat: {
1025
1000
  readonly FLV: "flv";
@@ -1058,7 +1033,6 @@ export declare namespace VideoSource {
1058
1033
  s3Location: (value: S3Location) => T;
1059
1034
  _: (name: string, value: any) => T;
1060
1035
  }
1061
- const visit: <T>(value: VideoSource, visitor: Visitor<T>) => T;
1062
1036
  }
1063
1037
  export interface VideoBlock {
1064
1038
  format: VideoFormat | undefined;
@@ -1128,7 +1102,6 @@ export declare namespace ToolResultContentBlock {
1128
1102
  video: (value: VideoBlock) => T;
1129
1103
  _: (name: string, value: any) => T;
1130
1104
  }
1131
- const visit: <T>(value: ToolResultContentBlock, visitor: Visitor<T>) => T;
1132
1105
  }
1133
1106
  export declare const ToolResultStatus: {
1134
1107
  readonly ERROR: "error";
@@ -1321,7 +1294,6 @@ export declare namespace ContentBlock {
1321
1294
  citationsContent: (value: CitationsContentBlock) => T;
1322
1295
  _: (name: string, value: any) => T;
1323
1296
  }
1324
- const visit: <T>(value: ContentBlock, visitor: Visitor<T>) => T;
1325
1297
  }
1326
1298
  export declare const ConversationRole: {
1327
1299
  readonly ASSISTANT: "assistant";
@@ -1358,7 +1330,6 @@ export declare namespace PromptVariableValues {
1358
1330
  text: (value: string) => T;
1359
1331
  _: (name: string, value: any) => T;
1360
1332
  }
1361
- const visit: <T>(value: PromptVariableValues, visitor: Visitor<T>) => T;
1362
1333
  }
1363
1334
  export type SystemContentBlock =
1364
1335
  | SystemContentBlock.CachePointMember
@@ -1396,7 +1367,6 @@ export declare namespace SystemContentBlock {
1396
1367
  cachePoint: (value: CachePointBlock) => T;
1397
1368
  _: (name: string, value: any) => T;
1398
1369
  }
1399
- const visit: <T>(value: SystemContentBlock, visitor: Visitor<T>) => T;
1400
1370
  }
1401
1371
  export interface AnyToolChoice {}
1402
1372
  export interface AutoToolChoice {}
@@ -1439,7 +1409,6 @@ export declare namespace ToolChoice {
1439
1409
  tool: (value: SpecificToolChoice) => T;
1440
1410
  _: (name: string, value: any) => T;
1441
1411
  }
1442
- const visit: <T>(value: ToolChoice, visitor: Visitor<T>) => T;
1443
1412
  }
1444
1413
  export interface SystemTool {
1445
1414
  name: string | undefined;
@@ -1460,7 +1429,6 @@ export declare namespace ToolInputSchema {
1460
1429
  json: (value: __DocumentType) => T;
1461
1430
  _: (name: string, value: any) => T;
1462
1431
  }
1463
- const visit: <T>(value: ToolInputSchema, visitor: Visitor<T>) => T;
1464
1432
  }
1465
1433
  export interface ToolSpecification {
1466
1434
  name: string | undefined;
@@ -1503,7 +1471,6 @@ export declare namespace Tool {
1503
1471
  cachePoint: (value: CachePointBlock) => T;
1504
1472
  _: (name: string, value: any) => T;
1505
1473
  }
1506
- const visit: <T>(value: Tool, visitor: Visitor<T>) => T;
1507
1474
  }
1508
1475
  export interface ToolConfiguration {
1509
1476
  tools: Tool[] | undefined;
@@ -1541,7 +1508,6 @@ export declare namespace ConverseOutput {
1541
1508
  message: (value: Message) => T;
1542
1509
  _: (name: string, value: any) => T;
1543
1510
  }
1544
- const visit: <T>(value: ConverseOutput, visitor: Visitor<T>) => T;
1545
1511
  }
1546
1512
  export declare const StopReason: {
1547
1513
  readonly CONTENT_FILTERED: "content_filtered";
@@ -1675,7 +1641,6 @@ export declare namespace ReasoningContentBlockDelta {
1675
1641
  signature: (value: string) => T;
1676
1642
  _: (name: string, value: any) => T;
1677
1643
  }
1678
- const visit: <T>(value: ReasoningContentBlockDelta, visitor: Visitor<T>) => T;
1679
1644
  }
1680
1645
  export type ToolResultBlockDelta =
1681
1646
  | ToolResultBlockDelta.TextMember
@@ -1693,7 +1658,6 @@ export declare namespace ToolResultBlockDelta {
1693
1658
  text: (value: string) => T;
1694
1659
  _: (name: string, value: any) => T;
1695
1660
  }
1696
- const visit: <T>(value: ToolResultBlockDelta, visitor: Visitor<T>) => T;
1697
1661
  }
1698
1662
  export interface ToolUseBlockDelta {
1699
1663
  input: string | undefined;
@@ -1762,7 +1726,6 @@ export declare namespace ContentBlockDelta {
1762
1726
  citation: (value: CitationsDelta) => T;
1763
1727
  _: (name: string, value: any) => T;
1764
1728
  }
1765
- const visit: <T>(value: ContentBlockDelta, visitor: Visitor<T>) => T;
1766
1729
  }
1767
1730
  export interface ContentBlockDeltaEvent {
1768
1731
  delta: ContentBlockDelta | undefined;
@@ -1803,7 +1766,6 @@ export declare namespace ContentBlockStart {
1803
1766
  toolResult: (value: ToolResultBlockStart) => T;
1804
1767
  _: (name: string, value: any) => T;
1805
1768
  }
1806
- const visit: <T>(value: ContentBlockStart, visitor: Visitor<T>) => T;
1807
1769
  }
1808
1770
  export interface ContentBlockStartEvent {
1809
1771
  start: ContentBlockStart | undefined;
@@ -2037,7 +1999,6 @@ export declare namespace ConverseStreamOutput {
2037
1999
  serviceUnavailableException: (value: ServiceUnavailableException) => T;
2038
2000
  _: (name: string, value: any) => T;
2039
2001
  }
2040
- const visit: <T>(value: ConverseStreamOutput, visitor: Visitor<T>) => T;
2041
2002
  }
2042
2003
  export interface ConverseStreamResponse {
2043
2004
  stream?: AsyncIterable<ConverseStreamOutput> | undefined;
@@ -2082,10 +2043,6 @@ export declare namespace InvokeModelWithBidirectionalStreamInput {
2082
2043
  chunk: (value: BidirectionalInputPayloadPart) => T;
2083
2044
  _: (name: string, value: any) => T;
2084
2045
  }
2085
- const visit: <T>(
2086
- value: InvokeModelWithBidirectionalStreamInput,
2087
- visitor: Visitor<T>
2088
- ) => T;
2089
2046
  }
2090
2047
  export interface InvokeModelWithBidirectionalStreamRequest {
2091
2048
  modelId: string | undefined;
@@ -2194,10 +2151,6 @@ export declare namespace InvokeModelWithBidirectionalStreamOutput {
2194
2151
  serviceUnavailableException: (value: ServiceUnavailableException) => T;
2195
2152
  _: (name: string, value: any) => T;
2196
2153
  }
2197
- const visit: <T>(
2198
- value: InvokeModelWithBidirectionalStreamOutput,
2199
- visitor: Visitor<T>
2200
- ) => T;
2201
2154
  }
2202
2155
  export interface InvokeModelWithBidirectionalStreamResponse {
2203
2156
  body: AsyncIterable<InvokeModelWithBidirectionalStreamOutput> | undefined;
@@ -2315,7 +2268,6 @@ export declare namespace ResponseStream {
2315
2268
  serviceUnavailableException: (value: ServiceUnavailableException) => T;
2316
2269
  _: (name: string, value: any) => T;
2317
2270
  }
2318
- const visit: <T>(value: ResponseStream, visitor: Visitor<T>) => T;
2319
2271
  }
2320
2272
  export interface InvokeModelWithResponseStreamResponse {
2321
2273
  body: AsyncIterable<ResponseStream> | undefined;
@@ -2354,7 +2306,6 @@ export declare namespace CountTokensInput {
2354
2306
  converse: (value: ConverseTokensRequest) => T;
2355
2307
  _: (name: string, value: any) => T;
2356
2308
  }
2357
- const visit: <T>(value: CountTokensInput, visitor: Visitor<T>) => T;
2358
2309
  }
2359
2310
  export interface CountTokensRequest {
2360
2311
  modelId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.930.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-runtime",
@@ -20,49 +20,49 @@
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/eventstream-handler-node": "3.922.0",
26
- "@aws-sdk/middleware-eventstream": "3.922.0",
27
- "@aws-sdk/middleware-host-header": "3.922.0",
28
- "@aws-sdk/middleware-logger": "3.922.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
30
- "@aws-sdk/middleware-user-agent": "3.928.0",
31
- "@aws-sdk/middleware-websocket": "3.922.0",
32
- "@aws-sdk/region-config-resolver": "3.925.0",
33
- "@aws-sdk/token-providers": "3.929.0",
34
- "@aws-sdk/types": "3.922.0",
35
- "@aws-sdk/util-endpoints": "3.922.0",
36
- "@aws-sdk/util-user-agent-browser": "3.922.0",
37
- "@aws-sdk/util-user-agent-node": "3.928.0",
38
- "@smithy/config-resolver": "^4.4.2",
39
- "@smithy/core": "^3.17.2",
40
- "@smithy/eventstream-serde-browser": "^4.2.4",
41
- "@smithy/eventstream-serde-config-resolver": "^4.3.4",
42
- "@smithy/eventstream-serde-node": "^4.2.4",
43
- "@smithy/fetch-http-handler": "^5.3.5",
44
- "@smithy/hash-node": "^4.2.4",
45
- "@smithy/invalid-dependency": "^4.2.4",
46
- "@smithy/middleware-content-length": "^4.2.4",
47
- "@smithy/middleware-endpoint": "^4.3.6",
48
- "@smithy/middleware-retry": "^4.4.6",
49
- "@smithy/middleware-serde": "^4.2.4",
50
- "@smithy/middleware-stack": "^4.2.4",
51
- "@smithy/node-config-provider": "^4.3.4",
52
- "@smithy/node-http-handler": "^4.4.4",
53
- "@smithy/protocol-http": "^5.3.4",
54
- "@smithy/smithy-client": "^4.9.2",
55
- "@smithy/types": "^4.8.1",
56
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/eventstream-handler-node": "3.930.0",
26
+ "@aws-sdk/middleware-eventstream": "3.930.0",
27
+ "@aws-sdk/middleware-host-header": "3.930.0",
28
+ "@aws-sdk/middleware-logger": "3.930.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
30
+ "@aws-sdk/middleware-user-agent": "3.930.0",
31
+ "@aws-sdk/middleware-websocket": "3.930.0",
32
+ "@aws-sdk/region-config-resolver": "3.930.0",
33
+ "@aws-sdk/token-providers": "3.930.0",
34
+ "@aws-sdk/types": "3.930.0",
35
+ "@aws-sdk/util-endpoints": "3.930.0",
36
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
37
+ "@aws-sdk/util-user-agent-node": "3.930.0",
38
+ "@smithy/config-resolver": "^4.4.3",
39
+ "@smithy/core": "^3.18.2",
40
+ "@smithy/eventstream-serde-browser": "^4.2.5",
41
+ "@smithy/eventstream-serde-config-resolver": "^4.3.5",
42
+ "@smithy/eventstream-serde-node": "^4.2.5",
43
+ "@smithy/fetch-http-handler": "^5.3.6",
44
+ "@smithy/hash-node": "^4.2.5",
45
+ "@smithy/invalid-dependency": "^4.2.5",
46
+ "@smithy/middleware-content-length": "^4.2.5",
47
+ "@smithy/middleware-endpoint": "^4.3.9",
48
+ "@smithy/middleware-retry": "^4.4.9",
49
+ "@smithy/middleware-serde": "^4.2.5",
50
+ "@smithy/middleware-stack": "^4.2.5",
51
+ "@smithy/node-config-provider": "^4.3.5",
52
+ "@smithy/node-http-handler": "^4.4.5",
53
+ "@smithy/protocol-http": "^5.3.5",
54
+ "@smithy/smithy-client": "^4.9.5",
55
+ "@smithy/types": "^4.9.0",
56
+ "@smithy/url-parser": "^4.2.5",
57
57
  "@smithy/util-base64": "^4.3.0",
58
58
  "@smithy/util-body-length-browser": "^4.2.0",
59
59
  "@smithy/util-body-length-node": "^4.2.1",
60
- "@smithy/util-defaults-mode-browser": "^4.3.5",
61
- "@smithy/util-defaults-mode-node": "^4.2.8",
62
- "@smithy/util-endpoints": "^3.2.4",
63
- "@smithy/util-middleware": "^4.2.4",
64
- "@smithy/util-retry": "^4.2.4",
65
- "@smithy/util-stream": "^4.5.5",
60
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
61
+ "@smithy/util-defaults-mode-node": "^4.2.11",
62
+ "@smithy/util-endpoints": "^3.2.5",
63
+ "@smithy/util-middleware": "^4.2.5",
64
+ "@smithy/util-retry": "^4.2.5",
65
+ "@smithy/util-stream": "^4.5.6",
66
66
  "@smithy/util-utf8": "^4.2.0",
67
67
  "tslib": "^2.6.2"
68
68
  },