@aws-sdk/client-bedrock-runtime 3.1045.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +38 -39
- package/dist-cjs/models/BedrockRuntimeServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +14 -16
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.native.js +2 -2
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/BedrockRuntime.js +1 -1
- package/dist-es/BedrockRuntimeClient.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/ApplyGuardrailCommand.js +2 -2
- package/dist-es/commands/ConverseCommand.js +2 -2
- package/dist-es/commands/ConverseStreamCommand.js +2 -2
- package/dist-es/commands/CountTokensCommand.js +2 -2
- package/dist-es/commands/GetAsyncInvokeCommand.js +2 -2
- package/dist-es/commands/InvokeModelCommand.js +2 -2
- package/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -2
- package/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -2
- package/dist-es/commands/ListAsyncInvokesCommand.js +2 -2
- package/dist-es/commands/StartAsyncInvokeCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/BedrockRuntimeServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +5 -7
- package/dist-es/runtimeConfig.js +5 -9
- package/dist-es/runtimeConfig.native.js +1 -1
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/BedrockRuntimeClient.d.ts +6 -6
- package/dist-types/commands/ApplyGuardrailCommand.d.ts +6 -4
- package/dist-types/commands/ConverseCommand.d.ts +6 -4
- package/dist-types/commands/ConverseStreamCommand.d.ts +6 -4
- package/dist-types/commands/CountTokensCommand.d.ts +6 -4
- package/dist-types/commands/GetAsyncInvokeCommand.d.ts +6 -4
- package/dist-types/commands/InvokeModelCommand.d.ts +7 -5
- package/dist-types/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +6 -4
- package/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +6 -4
- package/dist-types/commands/ListAsyncInvokesCommand.d.ts +6 -4
- package/dist-types/commands/StartAsyncInvokeCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/BedrockRuntimeServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/BedrockRuntimeClient.d.ts +12 -18
- package/dist-types/ts3.4/commands/ApplyGuardrailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ConverseCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ConverseStreamCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CountTokensCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAsyncInvokeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAsyncInvokesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartAsyncInvokeCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/BedrockRuntimeServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/package.json +18 -43
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -13,25 +13,23 @@ export interface ConverseCommandOutput
|
|
|
13
13
|
extends ConverseResponse,
|
|
14
14
|
__MetadataBearer {}
|
|
15
15
|
declare const ConverseCommand_base: {
|
|
16
|
-
new (
|
|
17
|
-
input: ConverseCommandInput
|
|
18
|
-
): import("@smithy/smithy-client").CommandImpl<
|
|
16
|
+
new (input: ConverseCommandInput): import("@smithy/core/client").CommandImpl<
|
|
19
17
|
ConverseCommandInput,
|
|
20
18
|
ConverseCommandOutput,
|
|
21
19
|
BedrockRuntimeClientResolvedConfig,
|
|
22
20
|
ServiceInputTypes,
|
|
23
21
|
ServiceOutputTypes
|
|
24
22
|
>;
|
|
25
|
-
new (
|
|
26
|
-
input: ConverseCommandInput
|
|
27
|
-
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
new (input: ConverseCommandInput): import("@smithy/core/client").CommandImpl<
|
|
28
24
|
ConverseCommandInput,
|
|
29
25
|
ConverseCommandOutput,
|
|
30
26
|
BedrockRuntimeClientResolvedConfig,
|
|
31
27
|
ServiceInputTypes,
|
|
32
28
|
ServiceOutputTypes
|
|
33
29
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
30
|
+
getEndpointParameterInstructions(): {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
};
|
|
35
33
|
};
|
|
36
34
|
export declare class ConverseCommand extends ConverseCommand_base {
|
|
37
35
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -18,7 +18,7 @@ export interface ConverseStreamCommandOutput
|
|
|
18
18
|
declare const ConverseStreamCommand_base: {
|
|
19
19
|
new (
|
|
20
20
|
input: ConverseStreamCommandInput
|
|
21
|
-
): import("@smithy/
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
ConverseStreamCommandInput,
|
|
23
23
|
ConverseStreamCommandOutput,
|
|
24
24
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -27,14 +27,16 @@ declare const ConverseStreamCommand_base: {
|
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
29
|
input: ConverseStreamCommandInput
|
|
30
|
-
): import("@smithy/
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
31
|
ConverseStreamCommandInput,
|
|
32
32
|
ConverseStreamCommandOutput,
|
|
33
33
|
BedrockRuntimeClientResolvedConfig,
|
|
34
34
|
ServiceInputTypes,
|
|
35
35
|
ServiceOutputTypes
|
|
36
36
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
38
40
|
};
|
|
39
41
|
export declare class ConverseStreamCommand extends ConverseStreamCommand_base {
|
|
40
42
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -15,7 +15,7 @@ export interface CountTokensCommandOutput
|
|
|
15
15
|
declare const CountTokensCommand_base: {
|
|
16
16
|
new (
|
|
17
17
|
input: CountTokensCommandInput
|
|
18
|
-
): import("@smithy/
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
19
|
CountTokensCommandInput,
|
|
20
20
|
CountTokensCommandOutput,
|
|
21
21
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -24,14 +24,16 @@ declare const CountTokensCommand_base: {
|
|
|
24
24
|
>;
|
|
25
25
|
new (
|
|
26
26
|
input: CountTokensCommandInput
|
|
27
|
-
): import("@smithy/
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
28
|
CountTokensCommandInput,
|
|
29
29
|
CountTokensCommandOutput,
|
|
30
30
|
BedrockRuntimeClientResolvedConfig,
|
|
31
31
|
ServiceInputTypes,
|
|
32
32
|
ServiceOutputTypes
|
|
33
33
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
35
37
|
};
|
|
36
38
|
export declare class CountTokensCommand extends CountTokensCommand_base {
|
|
37
39
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -18,7 +18,7 @@ export interface GetAsyncInvokeCommandOutput
|
|
|
18
18
|
declare const GetAsyncInvokeCommand_base: {
|
|
19
19
|
new (
|
|
20
20
|
input: GetAsyncInvokeCommandInput
|
|
21
|
-
): import("@smithy/
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
GetAsyncInvokeCommandInput,
|
|
23
23
|
GetAsyncInvokeCommandOutput,
|
|
24
24
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -27,14 +27,16 @@ declare const GetAsyncInvokeCommand_base: {
|
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
29
|
input: GetAsyncInvokeCommandInput
|
|
30
|
-
): import("@smithy/
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
31
|
GetAsyncInvokeCommandInput,
|
|
32
32
|
GetAsyncInvokeCommandOutput,
|
|
33
33
|
BedrockRuntimeClientResolvedConfig,
|
|
34
34
|
ServiceInputTypes,
|
|
35
35
|
ServiceOutputTypes
|
|
36
36
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
38
40
|
};
|
|
39
41
|
export declare class GetAsyncInvokeCommand extends GetAsyncInvokeCommand_base {
|
|
40
42
|
protected static __types: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
|
|
2
3
|
import {
|
|
3
4
|
BlobPayloadInputTypes,
|
|
4
5
|
MetadataBearer as __MetadataBearer,
|
|
5
6
|
} from "@smithy/types";
|
|
6
|
-
import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
|
|
7
7
|
import {
|
|
8
8
|
BedrockRuntimeClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|
|
@@ -31,7 +31,7 @@ export interface InvokeModelCommandOutput
|
|
|
31
31
|
declare const InvokeModelCommand_base: {
|
|
32
32
|
new (
|
|
33
33
|
input: InvokeModelCommandInput
|
|
34
|
-
): import("@smithy/
|
|
34
|
+
): import("@smithy/core/client").CommandImpl<
|
|
35
35
|
InvokeModelCommandInput,
|
|
36
36
|
InvokeModelCommandOutput,
|
|
37
37
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -40,14 +40,16 @@ declare const InvokeModelCommand_base: {
|
|
|
40
40
|
>;
|
|
41
41
|
new (
|
|
42
42
|
input: InvokeModelCommandInput
|
|
43
|
-
): import("@smithy/
|
|
43
|
+
): import("@smithy/core/client").CommandImpl<
|
|
44
44
|
InvokeModelCommandInput,
|
|
45
45
|
InvokeModelCommandOutput,
|
|
46
46
|
BedrockRuntimeClientResolvedConfig,
|
|
47
47
|
ServiceInputTypes,
|
|
48
48
|
ServiceOutputTypes
|
|
49
49
|
>;
|
|
50
|
-
getEndpointParameterInstructions():
|
|
50
|
+
getEndpointParameterInstructions(): {
|
|
51
|
+
[x: string]: unknown;
|
|
52
|
+
};
|
|
51
53
|
};
|
|
52
54
|
export declare class InvokeModelCommand extends InvokeModelCommand_base {
|
|
53
55
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -19,7 +19,7 @@ export interface InvokeModelWithBidirectionalStreamCommandOutput
|
|
|
19
19
|
declare const InvokeModelWithBidirectionalStreamCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: InvokeModelWithBidirectionalStreamCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
InvokeModelWithBidirectionalStreamCommandInput,
|
|
24
24
|
InvokeModelWithBidirectionalStreamCommandOutput,
|
|
25
25
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const InvokeModelWithBidirectionalStreamCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: InvokeModelWithBidirectionalStreamCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
InvokeModelWithBidirectionalStreamCommandInput,
|
|
33
33
|
InvokeModelWithBidirectionalStreamCommandOutput,
|
|
34
34
|
BedrockRuntimeClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class InvokeModelWithBidirectionalStreamCommand extends InvokeModelWithBidirectionalStreamCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import {
|
|
3
3
|
BlobPayloadInputTypes,
|
|
4
4
|
MetadataBearer as __MetadataBearer,
|
|
@@ -28,7 +28,7 @@ export interface InvokeModelWithResponseStreamCommandOutput
|
|
|
28
28
|
declare const InvokeModelWithResponseStreamCommand_base: {
|
|
29
29
|
new (
|
|
30
30
|
input: InvokeModelWithResponseStreamCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
InvokeModelWithResponseStreamCommandInput,
|
|
33
33
|
InvokeModelWithResponseStreamCommandOutput,
|
|
34
34
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -37,14 +37,16 @@ declare const InvokeModelWithResponseStreamCommand_base: {
|
|
|
37
37
|
>;
|
|
38
38
|
new (
|
|
39
39
|
input: InvokeModelWithResponseStreamCommandInput
|
|
40
|
-
): import("@smithy/
|
|
40
|
+
): import("@smithy/core/client").CommandImpl<
|
|
41
41
|
InvokeModelWithResponseStreamCommandInput,
|
|
42
42
|
InvokeModelWithResponseStreamCommandOutput,
|
|
43
43
|
BedrockRuntimeClientResolvedConfig,
|
|
44
44
|
ServiceInputTypes,
|
|
45
45
|
ServiceOutputTypes
|
|
46
46
|
>;
|
|
47
|
-
getEndpointParameterInstructions():
|
|
47
|
+
getEndpointParameterInstructions(): {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
};
|
|
48
50
|
};
|
|
49
51
|
export declare class InvokeModelWithResponseStreamCommand extends InvokeModelWithResponseStreamCommand_base {
|
|
50
52
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -18,7 +18,7 @@ export interface ListAsyncInvokesCommandOutput
|
|
|
18
18
|
declare const ListAsyncInvokesCommand_base: {
|
|
19
19
|
new (
|
|
20
20
|
input: ListAsyncInvokesCommandInput
|
|
21
|
-
): import("@smithy/
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
ListAsyncInvokesCommandInput,
|
|
23
23
|
ListAsyncInvokesCommandOutput,
|
|
24
24
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -27,14 +27,16 @@ declare const ListAsyncInvokesCommand_base: {
|
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
29
|
...[input]: [] | [ListAsyncInvokesCommandInput]
|
|
30
|
-
): import("@smithy/
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
31
|
ListAsyncInvokesCommandInput,
|
|
32
32
|
ListAsyncInvokesCommandOutput,
|
|
33
33
|
BedrockRuntimeClientResolvedConfig,
|
|
34
34
|
ServiceInputTypes,
|
|
35
35
|
ServiceOutputTypes
|
|
36
36
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
38
40
|
};
|
|
39
41
|
export declare class ListAsyncInvokesCommand extends ListAsyncInvokesCommand_base {
|
|
40
42
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -18,7 +18,7 @@ export interface StartAsyncInvokeCommandOutput
|
|
|
18
18
|
declare const StartAsyncInvokeCommand_base: {
|
|
19
19
|
new (
|
|
20
20
|
input: StartAsyncInvokeCommandInput
|
|
21
|
-
): import("@smithy/
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
StartAsyncInvokeCommandInput,
|
|
23
23
|
StartAsyncInvokeCommandOutput,
|
|
24
24
|
BedrockRuntimeClientResolvedConfig,
|
|
@@ -27,14 +27,16 @@ declare const StartAsyncInvokeCommand_base: {
|
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
29
|
input: StartAsyncInvokeCommandInput
|
|
30
|
-
): import("@smithy/
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
31
|
StartAsyncInvokeCommandInput,
|
|
32
32
|
StartAsyncInvokeCommandOutput,
|
|
33
33
|
BedrockRuntimeClientResolvedConfig,
|
|
34
34
|
ServiceInputTypes,
|
|
35
35
|
ServiceOutputTypes
|
|
36
36
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
38
40
|
};
|
|
39
41
|
export declare class StartAsyncInvokeCommand extends StartAsyncInvokeCommand_base {
|
|
40
42
|
protected static __types: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface BedrockRuntimeExtensionConfiguration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
3
|
ServiceException as __ServiceException,
|
|
4
|
-
} from "@smithy/
|
|
4
|
+
} from "@smithy/core/client";
|
|
5
5
|
export { __ServiceExceptionOptions };
|
|
6
6
|
export { __ServiceException };
|
|
7
7
|
export declare class BedrockRuntimeServiceException extends __ServiceException {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { BedrockRuntimeServiceException as __BaseException } from "./BedrockRuntimeServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
@@ -3,7 +3,7 @@ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
|
|
|
3
3
|
export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
4
4
|
runtime: string;
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
-
import("@smithy/
|
|
6
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
@@ -6,7 +6,7 @@ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<
|
|
9
|
-
import("@smithy/
|
|
9
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
10
10
|
>;
|
|
11
11
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
12
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -48,7 +48,7 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
48
48
|
region: string | import("@smithy/types").Provider<string>;
|
|
49
49
|
requestHandler:
|
|
50
50
|
| RequestHandler
|
|
51
|
-
| import("@smithy/
|
|
51
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
52
52
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
53
|
sha256: import("@smithy/types").HashConstructor;
|
|
54
54
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -13,8 +13,8 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
13
13
|
import("@smithy/types").HttpHandlerOptions
|
|
14
14
|
> &
|
|
15
15
|
import("@smithy/types").RequestHandler<
|
|
16
|
-
import("@smithy/
|
|
17
|
-
import("@smithy/
|
|
16
|
+
import("@smithy/core/protocols").HttpRequest,
|
|
17
|
+
import("@smithy/core/protocols").HttpResponse,
|
|
18
18
|
import("@smithy/types").HttpHandlerOptions
|
|
19
19
|
> & {
|
|
20
20
|
updateHttpClientConfig(key: never, value: never): void;
|
|
@@ -60,9 +60,9 @@ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
|
|
|
60
60
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
61
61
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
62
62
|
defaultsMode:
|
|
63
|
-
| import("@smithy/
|
|
63
|
+
| import("@smithy/core/client").DefaultsMode
|
|
64
64
|
| import("@smithy/types").Provider<
|
|
65
|
-
import("@smithy/
|
|
65
|
+
import("@smithy/core/client").DefaultsMode
|
|
66
66
|
>;
|
|
67
67
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
68
68
|
userAgentAppId?:
|
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.1046.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 client-bedrock-runtime",
|
|
@@ -29,54 +29,29 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "^3.974.
|
|
33
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
34
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
32
|
+
"@aws-sdk/core": "^3.974.9",
|
|
33
|
+
"@aws-sdk/credential-provider-node": "^3.972.40",
|
|
34
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.15",
|
|
35
|
+
"@aws-sdk/middleware-eventstream": "^3.972.11",
|
|
36
|
+
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
37
37
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
38
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
40
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
41
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
42
|
-
"@aws-sdk/token-providers": "3.
|
|
38
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "^3.972.39",
|
|
40
|
+
"@aws-sdk/middleware-websocket": "^3.972.17",
|
|
41
|
+
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
42
|
+
"@aws-sdk/token-providers": "3.1046.0",
|
|
43
43
|
"@aws-sdk/types": "^3.973.8",
|
|
44
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
45
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
46
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
47
|
-
"@smithy/
|
|
48
|
-
"@smithy/
|
|
49
|
-
"@smithy/
|
|
50
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.14",
|
|
51
|
-
"@smithy/eventstream-serde-node": "^4.2.14",
|
|
52
|
-
"@smithy/fetch-http-handler": "^5.3.17",
|
|
53
|
-
"@smithy/hash-node": "^4.2.14",
|
|
54
|
-
"@smithy/invalid-dependency": "^4.2.14",
|
|
55
|
-
"@smithy/middleware-content-length": "^4.2.14",
|
|
56
|
-
"@smithy/middleware-endpoint": "^4.4.32",
|
|
57
|
-
"@smithy/middleware-retry": "^4.5.7",
|
|
58
|
-
"@smithy/middleware-serde": "^4.2.20",
|
|
59
|
-
"@smithy/middleware-stack": "^4.2.14",
|
|
60
|
-
"@smithy/node-config-provider": "^4.3.14",
|
|
61
|
-
"@smithy/node-http-handler": "^4.6.1",
|
|
62
|
-
"@smithy/protocol-http": "^5.3.14",
|
|
63
|
-
"@smithy/smithy-client": "^4.12.13",
|
|
44
|
+
"@aws-sdk/util-endpoints": "^3.996.9",
|
|
45
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.11",
|
|
46
|
+
"@aws-sdk/util-user-agent-node": "^3.973.25",
|
|
47
|
+
"@smithy/core": "^3.24.1",
|
|
48
|
+
"@smithy/fetch-http-handler": "^5.4.1",
|
|
49
|
+
"@smithy/node-http-handler": "^4.7.1",
|
|
64
50
|
"@smithy/types": "^4.14.1",
|
|
65
|
-
"@smithy/url-parser": "^4.2.14",
|
|
66
|
-
"@smithy/util-base64": "^4.3.2",
|
|
67
|
-
"@smithy/util-body-length-browser": "^4.2.2",
|
|
68
|
-
"@smithy/util-body-length-node": "^4.2.3",
|
|
69
|
-
"@smithy/util-defaults-mode-browser": "^4.3.49",
|
|
70
|
-
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
71
|
-
"@smithy/util-endpoints": "^3.4.2",
|
|
72
|
-
"@smithy/util-middleware": "^4.2.14",
|
|
73
|
-
"@smithy/util-retry": "^4.3.6",
|
|
74
|
-
"@smithy/util-stream": "^4.5.25",
|
|
75
|
-
"@smithy/util-utf8": "^4.2.2",
|
|
76
51
|
"tslib": "^2.6.2"
|
|
77
52
|
},
|
|
78
53
|
"devDependencies": {
|
|
79
|
-
"@smithy/snapshot-testing": "^2.
|
|
54
|
+
"@smithy/snapshot-testing": "^2.1.1",
|
|
80
55
|
"@tsconfig/node20": "20.1.8",
|
|
81
56
|
"@types/node": "^20.14.8",
|
|
82
57
|
"concurrently": "7.0.0",
|