@aws-sdk/client-bedrock-runtime 3.1077.0 → 3.1078.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/dist-cjs/index.js +25 -132
- package/dist-es/commandBuilder.js +14 -0
- package/dist-es/commands/ApplyGuardrailCommand.js +2 -14
- package/dist-es/commands/ConverseCommand.js +2 -14
- package/dist-es/commands/ConverseStreamCommand.js +2 -18
- package/dist-es/commands/CountTokensCommand.js +2 -14
- package/dist-es/commands/GetAsyncInvokeCommand.js +2 -14
- package/dist-es/commands/InvokeGuardrailChecksCommand.js +2 -14
- package/dist-es/commands/InvokeModelCommand.js +2 -14
- package/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -27
- package/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -18
- package/dist-es/commands/ListAsyncInvokesCommand.js +2 -14
- package/dist-es/commands/StartAsyncInvokeCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/ApplyGuardrailCommand.d.ts +3 -8
- package/dist-types/commands/ConverseCommand.d.ts +3 -8
- package/dist-types/commands/ConverseStreamCommand.d.ts +3 -8
- package/dist-types/commands/CountTokensCommand.d.ts +3 -8
- package/dist-types/commands/GetAsyncInvokeCommand.d.ts +3 -8
- package/dist-types/commands/InvokeGuardrailChecksCommand.d.ts +3 -8
- package/dist-types/commands/InvokeModelCommand.d.ts +3 -8
- package/dist-types/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +3 -8
- package/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +3 -8
- package/dist-types/commands/ListAsyncInvokesCommand.d.ts +3 -8
- package/dist-types/commands/StartAsyncInvokeCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
- package/dist-types/ts3.4/commands/ApplyGuardrailCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ConverseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ConverseStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CountTokensCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAsyncInvokeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeGuardrailChecksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAsyncInvokesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartAsyncInvokeCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +13 -13
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import {
|
|
3
2
|
BlobPayloadInputTypes,
|
|
4
3
|
MetadataBearer as __MetadataBearer,
|
|
5
4
|
} from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
BedrockRuntimeClientResolvedConfig,
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
} from "../BedrockRuntimeClient";
|
|
11
5
|
import {
|
|
12
6
|
InvokeModelWithResponseStreamRequest,
|
|
13
7
|
InvokeModelWithResponseStreamResponse,
|
|
14
8
|
} from "../models/models_0";
|
|
15
9
|
export { __MetadataBearer };
|
|
16
|
-
export { $Command };
|
|
17
10
|
export type InvokeModelWithResponseStreamCommandInputType = Pick<
|
|
18
11
|
InvokeModelWithResponseStreamRequest,
|
|
19
12
|
Exclude<keyof InvokeModelWithResponseStreamRequest, "body">
|
|
@@ -31,22 +24,20 @@ declare const InvokeModelWithResponseStreamCommand_base: {
|
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
InvokeModelWithResponseStreamCommandInput,
|
|
33
26
|
InvokeModelWithResponseStreamCommandOutput,
|
|
34
|
-
BedrockRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
31
|
new (
|
|
39
32
|
input: InvokeModelWithResponseStreamCommandInput
|
|
40
33
|
): import("@smithy/core/client").CommandImpl<
|
|
41
34
|
InvokeModelWithResponseStreamCommandInput,
|
|
42
35
|
InvokeModelWithResponseStreamCommandOutput,
|
|
43
|
-
BedrockRuntimeClientResolvedConfig,
|
|
44
|
-
ServiceInputTypes,
|
|
45
|
-
ServiceOutputTypes
|
|
36
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
37
|
+
import("..").ServiceInputTypes,
|
|
38
|
+
import("..").ServiceOutputTypes
|
|
46
39
|
>;
|
|
47
|
-
getEndpointParameterInstructions():
|
|
48
|
-
[x: string]: unknown;
|
|
49
|
-
};
|
|
40
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
50
41
|
};
|
|
51
42
|
export declare class InvokeModelWithResponseStreamCommand extends InvokeModelWithResponseStreamCommand_base {
|
|
52
43
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import {
|
|
9
3
|
ListAsyncInvokesRequest,
|
|
10
4
|
ListAsyncInvokesResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface ListAsyncInvokesCommandInput extends ListAsyncInvokesRequest {}
|
|
15
8
|
export interface ListAsyncInvokesCommandOutput
|
|
16
9
|
extends ListAsyncInvokesResponse,
|
|
@@ -21,22 +14,20 @@ declare const ListAsyncInvokesCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
ListAsyncInvokesCommandInput,
|
|
23
16
|
ListAsyncInvokesCommandOutput,
|
|
24
|
-
BedrockRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
...[input]: [] | [ListAsyncInvokesCommandInput]
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
ListAsyncInvokesCommandInput,
|
|
32
25
|
ListAsyncInvokesCommandOutput,
|
|
33
|
-
BedrockRuntimeClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class ListAsyncInvokesCommand extends ListAsyncInvokesCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import {
|
|
9
3
|
StartAsyncInvokeRequest,
|
|
10
4
|
StartAsyncInvokeResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface StartAsyncInvokeCommandInput extends StartAsyncInvokeRequest {}
|
|
15
8
|
export interface StartAsyncInvokeCommandOutput
|
|
16
9
|
extends StartAsyncInvokeResponse,
|
|
@@ -21,22 +14,20 @@ declare const StartAsyncInvokeCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
StartAsyncInvokeCommandInput,
|
|
23
16
|
StartAsyncInvokeCommandOutput,
|
|
24
|
-
BedrockRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: StartAsyncInvokeCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
StartAsyncInvokeCommandInput,
|
|
32
25
|
StartAsyncInvokeCommandOutput,
|
|
33
|
-
BedrockRuntimeClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class StartAsyncInvokeCommand extends StartAsyncInvokeCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { BedrockRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./pagination";
|
|
9
10
|
export * from "./models/enums";
|
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.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "^3.974.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
32
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
33
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
34
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
35
|
-
"@aws-sdk/token-providers": "3.
|
|
36
|
-
"@aws-sdk/types": "^3.973.
|
|
37
|
-
"@smithy/core": "^3.
|
|
38
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
39
|
-
"@smithy/node-http-handler": "^4.9.
|
|
40
|
-
"@smithy/types": "^4.15.
|
|
30
|
+
"@aws-sdk/core": "^3.974.26",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
32
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.25",
|
|
33
|
+
"@aws-sdk/middleware-eventstream": "^3.972.21",
|
|
34
|
+
"@aws-sdk/middleware-websocket": "^3.972.34",
|
|
35
|
+
"@aws-sdk/token-providers": "3.1078.0",
|
|
36
|
+
"@aws-sdk/types": "^3.973.15",
|
|
37
|
+
"@smithy/core": "^3.29.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
39
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
40
|
+
"@smithy/types": "^4.15.1",
|
|
41
41
|
"tslib": "^2.6.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
44
|
+
"@smithy/snapshot-testing": "^2.2.5",
|
|
45
45
|
"@tsconfig/node20": "20.1.8",
|
|
46
46
|
"@types/node": "^20.14.8",
|
|
47
47
|
"concurrently": "7.0.0",
|