@aws-sdk/client-bedrock-runtime 3.704.0 → 3.706.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/README.md +31 -7
- package/dist-cjs/index.js +711 -135
- package/dist-es/BedrockRuntime.js +6 -0
- package/dist-es/commands/ApplyGuardrailCommand.js +2 -1
- package/dist-es/commands/ConverseCommand.js +2 -2
- package/dist-es/commands/GetAsyncInvokeCommand.js +23 -0
- package/dist-es/commands/ListAsyncInvokesCommand.js +23 -0
- package/dist-es/commands/StartAsyncInvokeCommand.js +23 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +264 -76
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAsyncInvokesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +283 -7
- package/dist-types/BedrockRuntime.d.ts +22 -0
- package/dist-types/BedrockRuntimeClient.d.ts +5 -2
- package/dist-types/commands/ApplyGuardrailCommand.d.ts +16 -0
- package/dist-types/commands/ConverseCommand.d.ts +72 -0
- package/dist-types/commands/ConverseStreamCommand.d.ts +46 -0
- package/dist-types/commands/GetAsyncInvokeCommand.d.ts +101 -0
- package/dist-types/commands/ListAsyncInvokesCommand.d.ts +112 -0
- package/dist-types/commands/StartAsyncInvokeCommand.d.ts +124 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +828 -119
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAsyncInvokesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/BedrockRuntime.d.ts +52 -0
- package/dist-types/ts3.4/BedrockRuntimeClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/GetAsyncInvokeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAsyncInvokesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartAsyncInvokeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +356 -42
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAsyncInvokesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +4 -2
|
@@ -18,6 +18,10 @@ import {
|
|
|
18
18
|
ConverseStreamCommandInput,
|
|
19
19
|
ConverseStreamCommandOutput,
|
|
20
20
|
} from "../commands/ConverseStreamCommand";
|
|
21
|
+
import {
|
|
22
|
+
GetAsyncInvokeCommandInput,
|
|
23
|
+
GetAsyncInvokeCommandOutput,
|
|
24
|
+
} from "../commands/GetAsyncInvokeCommand";
|
|
21
25
|
import {
|
|
22
26
|
InvokeModelCommandInput,
|
|
23
27
|
InvokeModelCommandOutput,
|
|
@@ -26,6 +30,14 @@ import {
|
|
|
26
30
|
InvokeModelWithResponseStreamCommandInput,
|
|
27
31
|
InvokeModelWithResponseStreamCommandOutput,
|
|
28
32
|
} from "../commands/InvokeModelWithResponseStreamCommand";
|
|
33
|
+
import {
|
|
34
|
+
ListAsyncInvokesCommandInput,
|
|
35
|
+
ListAsyncInvokesCommandOutput,
|
|
36
|
+
} from "../commands/ListAsyncInvokesCommand";
|
|
37
|
+
import {
|
|
38
|
+
StartAsyncInvokeCommandInput,
|
|
39
|
+
StartAsyncInvokeCommandOutput,
|
|
40
|
+
} from "../commands/StartAsyncInvokeCommand";
|
|
29
41
|
export declare const se_ApplyGuardrailCommand: (
|
|
30
42
|
input: ApplyGuardrailCommandInput,
|
|
31
43
|
context: __SerdeContext
|
|
@@ -38,6 +50,10 @@ export declare const se_ConverseStreamCommand: (
|
|
|
38
50
|
input: ConverseStreamCommandInput,
|
|
39
51
|
context: __SerdeContext
|
|
40
52
|
) => Promise<__HttpRequest>;
|
|
53
|
+
export declare const se_GetAsyncInvokeCommand: (
|
|
54
|
+
input: GetAsyncInvokeCommandInput,
|
|
55
|
+
context: __SerdeContext
|
|
56
|
+
) => Promise<__HttpRequest>;
|
|
41
57
|
export declare const se_InvokeModelCommand: (
|
|
42
58
|
input: InvokeModelCommandInput,
|
|
43
59
|
context: __SerdeContext
|
|
@@ -46,6 +62,14 @@ export declare const se_InvokeModelWithResponseStreamCommand: (
|
|
|
46
62
|
input: InvokeModelWithResponseStreamCommandInput,
|
|
47
63
|
context: __SerdeContext
|
|
48
64
|
) => Promise<__HttpRequest>;
|
|
65
|
+
export declare const se_ListAsyncInvokesCommand: (
|
|
66
|
+
input: ListAsyncInvokesCommandInput,
|
|
67
|
+
context: __SerdeContext
|
|
68
|
+
) => Promise<__HttpRequest>;
|
|
69
|
+
export declare const se_StartAsyncInvokeCommand: (
|
|
70
|
+
input: StartAsyncInvokeCommandInput,
|
|
71
|
+
context: __SerdeContext
|
|
72
|
+
) => Promise<__HttpRequest>;
|
|
49
73
|
export declare const de_ApplyGuardrailCommand: (
|
|
50
74
|
output: __HttpResponse,
|
|
51
75
|
context: __SerdeContext
|
|
@@ -58,6 +82,10 @@ export declare const de_ConverseStreamCommand: (
|
|
|
58
82
|
output: __HttpResponse,
|
|
59
83
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
60
84
|
) => Promise<ConverseStreamCommandOutput>;
|
|
85
|
+
export declare const de_GetAsyncInvokeCommand: (
|
|
86
|
+
output: __HttpResponse,
|
|
87
|
+
context: __SerdeContext
|
|
88
|
+
) => Promise<GetAsyncInvokeCommandOutput>;
|
|
61
89
|
export declare const de_InvokeModelCommand: (
|
|
62
90
|
output: __HttpResponse,
|
|
63
91
|
context: __SerdeContext
|
|
@@ -66,3 +94,11 @@ export declare const de_InvokeModelWithResponseStreamCommand: (
|
|
|
66
94
|
output: __HttpResponse,
|
|
67
95
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
68
96
|
) => Promise<InvokeModelWithResponseStreamCommandOutput>;
|
|
97
|
+
export declare const de_ListAsyncInvokesCommand: (
|
|
98
|
+
output: __HttpResponse,
|
|
99
|
+
context: __SerdeContext
|
|
100
|
+
) => Promise<ListAsyncInvokesCommandOutput>;
|
|
101
|
+
export declare const de_StartAsyncInvokeCommand: (
|
|
102
|
+
output: __HttpResponse,
|
|
103
|
+
context: __SerdeContext
|
|
104
|
+
) => Promise<StartAsyncInvokeCommandOutput>;
|
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.
|
|
4
|
+
"version": "3.706.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",
|
|
@@ -62,7 +62,9 @@
|
|
|
62
62
|
"@smithy/util-retry": "^3.0.10",
|
|
63
63
|
"@smithy/util-stream": "^3.3.1",
|
|
64
64
|
"@smithy/util-utf8": "^3.0.0",
|
|
65
|
-
"
|
|
65
|
+
"@types/uuid": "^9.0.1",
|
|
66
|
+
"tslib": "^2.6.2",
|
|
67
|
+
"uuid": "^9.0.1"
|
|
66
68
|
},
|
|
67
69
|
"devDependencies": {
|
|
68
70
|
"@tsconfig/node16": "16.1.3",
|