@aws-sdk/client-bedrock-runtime 3.583.0 → 3.588.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 +23 -7
- package/dist-cjs/index.js +653 -31
- package/dist-es/BedrockRuntime.js +4 -0
- package/dist-es/commands/ConverseCommand.js +24 -0
- package/dist-es/commands/ConverseStreamCommand.js +29 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +187 -16
- package/dist-es/protocols/Aws_restJson1.js +381 -6
- package/dist-types/BedrockRuntime.d.ts +14 -0
- package/dist-types/BedrockRuntimeClient.d.ts +4 -2
- package/dist-types/commands/ConverseCommand.d.ts +208 -0
- package/dist-types/commands/ConverseStreamCommand.d.ts +221 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1413 -108
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/BedrockRuntime.d.ts +34 -0
- package/dist-types/ts3.4/BedrockRuntimeClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ConverseCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ConverseStreamCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +602 -33
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +18 -18
|
@@ -6,6 +6,14 @@ import {
|
|
|
6
6
|
EventStreamSerdeContext as __EventStreamSerdeContext,
|
|
7
7
|
SerdeContext as __SerdeContext,
|
|
8
8
|
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ConverseCommandInput,
|
|
11
|
+
ConverseCommandOutput,
|
|
12
|
+
} from "../commands/ConverseCommand";
|
|
13
|
+
import {
|
|
14
|
+
ConverseStreamCommandInput,
|
|
15
|
+
ConverseStreamCommandOutput,
|
|
16
|
+
} from "../commands/ConverseStreamCommand";
|
|
9
17
|
import {
|
|
10
18
|
InvokeModelCommandInput,
|
|
11
19
|
InvokeModelCommandOutput,
|
|
@@ -14,6 +22,14 @@ import {
|
|
|
14
22
|
InvokeModelWithResponseStreamCommandInput,
|
|
15
23
|
InvokeModelWithResponseStreamCommandOutput,
|
|
16
24
|
} from "../commands/InvokeModelWithResponseStreamCommand";
|
|
25
|
+
export declare const se_ConverseCommand: (
|
|
26
|
+
input: ConverseCommandInput,
|
|
27
|
+
context: __SerdeContext
|
|
28
|
+
) => Promise<__HttpRequest>;
|
|
29
|
+
export declare const se_ConverseStreamCommand: (
|
|
30
|
+
input: ConverseStreamCommandInput,
|
|
31
|
+
context: __SerdeContext
|
|
32
|
+
) => Promise<__HttpRequest>;
|
|
17
33
|
export declare const se_InvokeModelCommand: (
|
|
18
34
|
input: InvokeModelCommandInput,
|
|
19
35
|
context: __SerdeContext
|
|
@@ -22,6 +38,14 @@ export declare const se_InvokeModelWithResponseStreamCommand: (
|
|
|
22
38
|
input: InvokeModelWithResponseStreamCommandInput,
|
|
23
39
|
context: __SerdeContext
|
|
24
40
|
) => Promise<__HttpRequest>;
|
|
41
|
+
export declare const de_ConverseCommand: (
|
|
42
|
+
output: __HttpResponse,
|
|
43
|
+
context: __SerdeContext
|
|
44
|
+
) => Promise<ConverseCommandOutput>;
|
|
45
|
+
export declare const de_ConverseStreamCommand: (
|
|
46
|
+
output: __HttpResponse,
|
|
47
|
+
context: __SerdeContext & __EventStreamSerdeContext
|
|
48
|
+
) => Promise<ConverseStreamCommandOutput>;
|
|
25
49
|
export declare const de_InvokeModelCommand: (
|
|
26
50
|
output: __HttpResponse,
|
|
27
51
|
context: __SerdeContext
|
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.588.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,21 +20,21 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.588.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.588.0",
|
|
25
|
+
"@aws-sdk/core": "3.588.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.588.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.587.0",
|
|
32
32
|
"@aws-sdk/types": "3.577.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.587.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
37
|
+
"@smithy/core": "^2.1.1",
|
|
38
38
|
"@smithy/eventstream-serde-browser": "^3.0.0",
|
|
39
39
|
"@smithy/eventstream-serde-config-resolver": "^3.0.0",
|
|
40
40
|
"@smithy/eventstream-serde-node": "^3.0.0",
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
"@smithy/hash-node": "^3.0.0",
|
|
43
43
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
44
44
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
45
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
46
|
-
"@smithy/middleware-retry": "^3.0.
|
|
45
|
+
"@smithy/middleware-endpoint": "^3.0.1",
|
|
46
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
47
47
|
"@smithy/middleware-serde": "^3.0.0",
|
|
48
48
|
"@smithy/middleware-stack": "^3.0.0",
|
|
49
|
-
"@smithy/node-config-provider": "^3.
|
|
49
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
50
50
|
"@smithy/node-http-handler": "^3.0.0",
|
|
51
51
|
"@smithy/protocol-http": "^4.0.0",
|
|
52
|
-
"@smithy/smithy-client": "^3.
|
|
52
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
53
53
|
"@smithy/types": "^3.0.0",
|
|
54
54
|
"@smithy/url-parser": "^3.0.0",
|
|
55
55
|
"@smithy/util-base64": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
60
|
-
"@smithy/util-endpoints": "^2.0.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
60
|
+
"@smithy/util-endpoints": "^2.0.1",
|
|
61
61
|
"@smithy/util-middleware": "^3.0.0",
|
|
62
62
|
"@smithy/util-retry": "^3.0.0",
|
|
63
63
|
"@smithy/util-stream": "^3.0.1",
|