@aws-sdk/client-bedrock-runtime 3.1076.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 +28 -134
- 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-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -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/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.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/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +13 -15
|
@@ -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
|
GetAsyncInvokeRequest,
|
|
10
4
|
GetAsyncInvokeResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetAsyncInvokeCommandInput extends GetAsyncInvokeRequest {}
|
|
15
8
|
export interface GetAsyncInvokeCommandOutput
|
|
16
9
|
extends GetAsyncInvokeResponse,
|
|
@@ -21,22 +14,20 @@ declare const GetAsyncInvokeCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
GetAsyncInvokeCommandInput,
|
|
23
16
|
GetAsyncInvokeCommandOutput,
|
|
24
|
-
BedrockRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: GetAsyncInvokeCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
GetAsyncInvokeCommandInput,
|
|
32
25
|
GetAsyncInvokeCommandOutput,
|
|
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 GetAsyncInvokeCommand extends GetAsyncInvokeCommand_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
|
InvokeGuardrailChecksRequest,
|
|
10
4
|
InvokeGuardrailChecksResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface InvokeGuardrailChecksCommandInput
|
|
15
8
|
extends InvokeGuardrailChecksRequest {}
|
|
16
9
|
export interface InvokeGuardrailChecksCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const InvokeGuardrailChecksCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
InvokeGuardrailChecksCommandInput,
|
|
24
17
|
InvokeGuardrailChecksCommandOutput,
|
|
25
|
-
BedrockRuntimeClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: InvokeGuardrailChecksCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
InvokeGuardrailChecksCommandInput,
|
|
33
26
|
InvokeGuardrailChecksCommandOutput,
|
|
34
|
-
BedrockRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class InvokeGuardrailChecksCommand extends InvokeGuardrailChecksCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
|
|
3
2
|
import {
|
|
4
3
|
BlobPayloadInputTypes,
|
|
5
4
|
MetadataBearer as __MetadataBearer,
|
|
6
5
|
} from "@smithy/types";
|
|
7
|
-
import {
|
|
8
|
-
BedrockRuntimeClientResolvedConfig,
|
|
9
|
-
ServiceInputTypes,
|
|
10
|
-
ServiceOutputTypes,
|
|
11
|
-
} from "../BedrockRuntimeClient";
|
|
12
6
|
import { InvokeModelRequest, InvokeModelResponse } from "../models/models_0";
|
|
13
7
|
export { __MetadataBearer };
|
|
14
|
-
export { $Command };
|
|
15
8
|
export type InvokeModelCommandInputType = Pick<
|
|
16
9
|
InvokeModelRequest,
|
|
17
10
|
Exclude<keyof InvokeModelRequest, "body">
|
|
@@ -34,22 +27,20 @@ declare const InvokeModelCommand_base: {
|
|
|
34
27
|
): import("@smithy/core/client").CommandImpl<
|
|
35
28
|
InvokeModelCommandInput,
|
|
36
29
|
InvokeModelCommandOutput,
|
|
37
|
-
BedrockRuntimeClientResolvedConfig,
|
|
38
|
-
ServiceInputTypes,
|
|
39
|
-
ServiceOutputTypes
|
|
30
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
31
|
+
import("..").ServiceInputTypes,
|
|
32
|
+
import("..").ServiceOutputTypes
|
|
40
33
|
>;
|
|
41
34
|
new (
|
|
42
35
|
input: InvokeModelCommandInput
|
|
43
36
|
): import("@smithy/core/client").CommandImpl<
|
|
44
37
|
InvokeModelCommandInput,
|
|
45
38
|
InvokeModelCommandOutput,
|
|
46
|
-
BedrockRuntimeClientResolvedConfig,
|
|
47
|
-
ServiceInputTypes,
|
|
48
|
-
ServiceOutputTypes
|
|
39
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
40
|
+
import("..").ServiceInputTypes,
|
|
41
|
+
import("..").ServiceOutputTypes
|
|
49
42
|
>;
|
|
50
|
-
getEndpointParameterInstructions():
|
|
51
|
-
[x: string]: unknown;
|
|
52
|
-
};
|
|
43
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
53
44
|
};
|
|
54
45
|
export declare class InvokeModelCommand extends InvokeModelCommand_base {
|
|
55
46
|
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
|
InvokeModelWithBidirectionalStreamRequest,
|
|
10
4
|
InvokeModelWithBidirectionalStreamResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface InvokeModelWithBidirectionalStreamCommandInput
|
|
15
8
|
extends InvokeModelWithBidirectionalStreamRequest {}
|
|
16
9
|
export interface InvokeModelWithBidirectionalStreamCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const InvokeModelWithBidirectionalStreamCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
InvokeModelWithBidirectionalStreamCommandInput,
|
|
24
17
|
InvokeModelWithBidirectionalStreamCommandOutput,
|
|
25
|
-
BedrockRuntimeClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: InvokeModelWithBidirectionalStreamCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
InvokeModelWithBidirectionalStreamCommandInput,
|
|
33
26
|
InvokeModelWithBidirectionalStreamCommandOutput,
|
|
34
|
-
BedrockRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class InvokeModelWithBidirectionalStreamCommand extends InvokeModelWithBidirectionalStreamCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -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";
|
|
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
20
20
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
21
|
requestHandler: WebSocketRequestHandler;
|
|
22
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
24
23
|
streamCollector: (
|
|
25
24
|
stream:
|
|
26
25
|
| import("stream").Readable
|
|
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
42
41
|
[setting: string]: unknown;
|
|
43
42
|
};
|
|
44
43
|
apiVersion: string;
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
45
45
|
urlParser: import("@smithy/types").UrlParser;
|
|
46
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
47
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -50,7 +50,6 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
50
50
|
| RequestHandler
|
|
51
51
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
52
52
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
54
53
|
streamCollector: (
|
|
55
54
|
stream:
|
|
56
55
|
| import("stream").Readable
|
|
@@ -71,6 +70,7 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
71
70
|
[setting: string]: unknown;
|
|
72
71
|
};
|
|
73
72
|
apiVersion: string;
|
|
73
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
74
74
|
urlParser: import("@smithy/types").UrlParser;
|
|
75
75
|
base64Decoder: import("@smithy/types").Decoder;
|
|
76
76
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -2,7 +2,6 @@ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
|
|
|
2
2
|
export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
3
3
|
runtime: string;
|
|
4
4
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
5
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
6
5
|
requestHandler:
|
|
7
6
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
8
7
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -31,6 +30,7 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
31
30
|
[setting: string]: unknown;
|
|
32
31
|
};
|
|
33
32
|
apiVersion: string;
|
|
33
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
34
34
|
urlParser: import("@smithy/types").UrlParser;
|
|
35
35
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
36
36
|
streamCollector: (
|
|
@@ -50,6 +50,7 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
50
50
|
defaultNamespace?: string;
|
|
51
51
|
};
|
|
52
52
|
serviceId: string;
|
|
53
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
53
54
|
urlParser: import("@smithy/types").UrlParser;
|
|
54
55
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
55
56
|
utf8Encoder: (input: Uint8Array | string) => string;
|
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,23 +27,21 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-
|
|
31
|
-
"@aws-
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/
|
|
34
|
-
"@aws-sdk/
|
|
35
|
-
"@aws-sdk/
|
|
36
|
-
"@aws-sdk/
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/
|
|
41
|
-
"@smithy/node-http-handler": "^4.9.0",
|
|
42
|
-
"@smithy/types": "^4.15.0",
|
|
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",
|
|
43
41
|
"tslib": "^2.6.2"
|
|
44
42
|
},
|
|
45
43
|
"devDependencies": {
|
|
46
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
44
|
+
"@smithy/snapshot-testing": "^2.2.5",
|
|
47
45
|
"@tsconfig/node20": "20.1.8",
|
|
48
46
|
"@types/node": "^20.14.8",
|
|
49
47
|
"concurrently": "7.0.0",
|