@aws-sdk/client-bedrock-runtime 3.1137.0 → 3.1138.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
CHANGED
|
@@ -90,7 +90,7 @@ const commonParams = {
|
|
|
90
90
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
-
var version = "3.
|
|
93
|
+
var version = "3.1137.0";
|
|
94
94
|
var packageInfo = {
|
|
95
95
|
version: version};
|
|
96
96
|
|
|
@@ -832,10 +832,10 @@ const _w = "web";
|
|
|
832
832
|
const _wP = "wordPolicy";
|
|
833
833
|
const _wPU = "wordPolicyUnits";
|
|
834
834
|
const n0 = "com.amazonaws.bedrockruntime";
|
|
835
|
-
const _s_registry = TypeRegistry
|
|
835
|
+
const _s_registry = new TypeRegistry(_s);
|
|
836
836
|
var BedrockRuntimeServiceException$ = [-3, _s, "BedrockRuntimeServiceException", 0, [], []];
|
|
837
837
|
_s_registry.registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
|
|
838
|
-
const n0_registry = TypeRegistry
|
|
838
|
+
const n0_registry = new TypeRegistry(n0);
|
|
839
839
|
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
840
840
|
{ [_e]: _c, [_hE]: 403 },
|
|
841
841
|
[_m],
|
|
@@ -520,10 +520,10 @@ const n0 = "com.amazonaws.bedrockruntime";
|
|
|
520
520
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
521
521
|
import { BedrockRuntimeServiceException } from "../models/BedrockRuntimeServiceException";
|
|
522
522
|
import { AccessDeniedException, ConflictException, InternalServerException, ModelErrorException, ModelNotReadyException, ModelStreamErrorException, ModelTimeoutException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
523
|
-
const _s_registry = TypeRegistry
|
|
523
|
+
const _s_registry = new TypeRegistry(_s);
|
|
524
524
|
export var BedrockRuntimeServiceException$ = [-3, _s, "BedrockRuntimeServiceException", 0, [], []];
|
|
525
525
|
_s_registry.registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
|
|
526
|
-
const n0_registry = TypeRegistry
|
|
526
|
+
const n0_registry = new TypeRegistry(n0);
|
|
527
527
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
528
528
|
{ [_e]: _c, [_hE]: 403 },
|
|
529
529
|
[_m],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BedrockRuntimeClient } from "./BedrockRuntimeClient";
|
|
3
3
|
import { type ApplyGuardrailCommandInput, type ApplyGuardrailCommandOutput } from "./commands/ApplyGuardrailCommand";
|
|
4
4
|
import { type ConverseCommandInput, type ConverseCommandOutput } from "./commands/ConverseCommand";
|
|
@@ -11,74 +11,80 @@ import { type InvokeModelWithBidirectionalStreamCommandInput, type InvokeModelWi
|
|
|
11
11
|
import { type InvokeModelWithResponseStreamCommandInput, type InvokeModelWithResponseStreamCommandOutput } from "./commands/InvokeModelWithResponseStreamCommand";
|
|
12
12
|
import { type ListAsyncInvokesCommandInput, type ListAsyncInvokesCommandOutput } from "./commands/ListAsyncInvokesCommand";
|
|
13
13
|
import { type StartAsyncInvokeCommandInput, type StartAsyncInvokeCommandOutput } from "./commands/StartAsyncInvokeCommand";
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface BedrockRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
18
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
19
|
+
}
|
|
14
20
|
export interface BedrockRuntime {
|
|
15
21
|
/**
|
|
16
22
|
* @see {@link ApplyGuardrailCommand}
|
|
17
23
|
*/
|
|
18
|
-
applyGuardrail(args: ApplyGuardrailCommandInput, options?:
|
|
24
|
+
applyGuardrail(args: ApplyGuardrailCommandInput, options?: BedrockRuntimeRequestOptions): Promise<ApplyGuardrailCommandOutput>;
|
|
19
25
|
applyGuardrail(args: ApplyGuardrailCommandInput, cb: (err: any, data?: ApplyGuardrailCommandOutput) => void): void;
|
|
20
|
-
applyGuardrail(args: ApplyGuardrailCommandInput, options:
|
|
26
|
+
applyGuardrail(args: ApplyGuardrailCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: ApplyGuardrailCommandOutput) => void): void;
|
|
21
27
|
/**
|
|
22
28
|
* @see {@link ConverseCommand}
|
|
23
29
|
*/
|
|
24
|
-
converse(args: ConverseCommandInput, options?:
|
|
30
|
+
converse(args: ConverseCommandInput, options?: BedrockRuntimeRequestOptions): Promise<ConverseCommandOutput>;
|
|
25
31
|
converse(args: ConverseCommandInput, cb: (err: any, data?: ConverseCommandOutput) => void): void;
|
|
26
|
-
converse(args: ConverseCommandInput, options:
|
|
32
|
+
converse(args: ConverseCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: ConverseCommandOutput) => void): void;
|
|
27
33
|
/**
|
|
28
34
|
* @see {@link ConverseStreamCommand}
|
|
29
35
|
*/
|
|
30
|
-
converseStream(args: ConverseStreamCommandInput, options?:
|
|
36
|
+
converseStream(args: ConverseStreamCommandInput, options?: BedrockRuntimeRequestOptions): Promise<ConverseStreamCommandOutput>;
|
|
31
37
|
converseStream(args: ConverseStreamCommandInput, cb: (err: any, data?: ConverseStreamCommandOutput) => void): void;
|
|
32
|
-
converseStream(args: ConverseStreamCommandInput, options:
|
|
38
|
+
converseStream(args: ConverseStreamCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: ConverseStreamCommandOutput) => void): void;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link CountTokensCommand}
|
|
35
41
|
*/
|
|
36
|
-
countTokens(args: CountTokensCommandInput, options?:
|
|
42
|
+
countTokens(args: CountTokensCommandInput, options?: BedrockRuntimeRequestOptions): Promise<CountTokensCommandOutput>;
|
|
37
43
|
countTokens(args: CountTokensCommandInput, cb: (err: any, data?: CountTokensCommandOutput) => void): void;
|
|
38
|
-
countTokens(args: CountTokensCommandInput, options:
|
|
44
|
+
countTokens(args: CountTokensCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: CountTokensCommandOutput) => void): void;
|
|
39
45
|
/**
|
|
40
46
|
* @see {@link GetAsyncInvokeCommand}
|
|
41
47
|
*/
|
|
42
|
-
getAsyncInvoke(args: GetAsyncInvokeCommandInput, options?:
|
|
48
|
+
getAsyncInvoke(args: GetAsyncInvokeCommandInput, options?: BedrockRuntimeRequestOptions): Promise<GetAsyncInvokeCommandOutput>;
|
|
43
49
|
getAsyncInvoke(args: GetAsyncInvokeCommandInput, cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void): void;
|
|
44
|
-
getAsyncInvoke(args: GetAsyncInvokeCommandInput, options:
|
|
50
|
+
getAsyncInvoke(args: GetAsyncInvokeCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void): void;
|
|
45
51
|
/**
|
|
46
52
|
* @see {@link InvokeGuardrailChecksCommand}
|
|
47
53
|
*/
|
|
48
|
-
invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, options?:
|
|
54
|
+
invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, options?: BedrockRuntimeRequestOptions): Promise<InvokeGuardrailChecksCommandOutput>;
|
|
49
55
|
invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void): void;
|
|
50
|
-
invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, options:
|
|
56
|
+
invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void): void;
|
|
51
57
|
/**
|
|
52
58
|
* @see {@link InvokeModelCommand}
|
|
53
59
|
*/
|
|
54
|
-
invokeModel(args: InvokeModelCommandInput, options?:
|
|
60
|
+
invokeModel(args: InvokeModelCommandInput, options?: BedrockRuntimeRequestOptions): Promise<InvokeModelCommandOutput>;
|
|
55
61
|
invokeModel(args: InvokeModelCommandInput, cb: (err: any, data?: InvokeModelCommandOutput) => void): void;
|
|
56
|
-
invokeModel(args: InvokeModelCommandInput, options:
|
|
62
|
+
invokeModel(args: InvokeModelCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: InvokeModelCommandOutput) => void): void;
|
|
57
63
|
/**
|
|
58
64
|
* @see {@link InvokeModelWithBidirectionalStreamCommand}
|
|
59
65
|
*/
|
|
60
|
-
invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, options?:
|
|
66
|
+
invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, options?: BedrockRuntimeRequestOptions): Promise<InvokeModelWithBidirectionalStreamCommandOutput>;
|
|
61
67
|
invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void): void;
|
|
62
|
-
invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, options:
|
|
68
|
+
invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void): void;
|
|
63
69
|
/**
|
|
64
70
|
* @see {@link InvokeModelWithResponseStreamCommand}
|
|
65
71
|
*/
|
|
66
|
-
invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, options?:
|
|
72
|
+
invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, options?: BedrockRuntimeRequestOptions): Promise<InvokeModelWithResponseStreamCommandOutput>;
|
|
67
73
|
invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void): void;
|
|
68
|
-
invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, options:
|
|
74
|
+
invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void): void;
|
|
69
75
|
/**
|
|
70
76
|
* @see {@link ListAsyncInvokesCommand}
|
|
71
77
|
*/
|
|
72
78
|
listAsyncInvokes(): Promise<ListAsyncInvokesCommandOutput>;
|
|
73
|
-
listAsyncInvokes(args: ListAsyncInvokesCommandInput, options?:
|
|
79
|
+
listAsyncInvokes(args: ListAsyncInvokesCommandInput, options?: BedrockRuntimeRequestOptions): Promise<ListAsyncInvokesCommandOutput>;
|
|
74
80
|
listAsyncInvokes(args: ListAsyncInvokesCommandInput, cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void): void;
|
|
75
|
-
listAsyncInvokes(args: ListAsyncInvokesCommandInput, options:
|
|
81
|
+
listAsyncInvokes(args: ListAsyncInvokesCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void): void;
|
|
76
82
|
/**
|
|
77
83
|
* @see {@link StartAsyncInvokeCommand}
|
|
78
84
|
*/
|
|
79
|
-
startAsyncInvoke(args: StartAsyncInvokeCommandInput, options?:
|
|
85
|
+
startAsyncInvoke(args: StartAsyncInvokeCommandInput, options?: BedrockRuntimeRequestOptions): Promise<StartAsyncInvokeCommandOutput>;
|
|
80
86
|
startAsyncInvoke(args: StartAsyncInvokeCommandInput, cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void): void;
|
|
81
|
-
startAsyncInvoke(args: StartAsyncInvokeCommandInput, options:
|
|
87
|
+
startAsyncInvoke(args: StartAsyncInvokeCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void): void;
|
|
82
88
|
/**
|
|
83
89
|
* @see {@link ListAsyncInvokesCommand}
|
|
84
90
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -39,10 +40,13 @@ import {
|
|
|
39
40
|
StartAsyncInvokeCommandInput,
|
|
40
41
|
StartAsyncInvokeCommandOutput,
|
|
41
42
|
} from "./commands/StartAsyncInvokeCommand";
|
|
43
|
+
export interface BedrockRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
44
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
45
|
+
}
|
|
42
46
|
export interface BedrockRuntime {
|
|
43
47
|
applyGuardrail(
|
|
44
48
|
args: ApplyGuardrailCommandInput,
|
|
45
|
-
options?:
|
|
49
|
+
options?: BedrockRuntimeRequestOptions,
|
|
46
50
|
): Promise<ApplyGuardrailCommandOutput>;
|
|
47
51
|
applyGuardrail(
|
|
48
52
|
args: ApplyGuardrailCommandInput,
|
|
@@ -50,22 +54,22 @@ export interface BedrockRuntime {
|
|
|
50
54
|
): void;
|
|
51
55
|
applyGuardrail(
|
|
52
56
|
args: ApplyGuardrailCommandInput,
|
|
53
|
-
options:
|
|
57
|
+
options: BedrockRuntimeRequestOptions,
|
|
54
58
|
cb: (err: any, data?: ApplyGuardrailCommandOutput) => void,
|
|
55
59
|
): void;
|
|
56
60
|
converse(
|
|
57
61
|
args: ConverseCommandInput,
|
|
58
|
-
options?:
|
|
62
|
+
options?: BedrockRuntimeRequestOptions,
|
|
59
63
|
): Promise<ConverseCommandOutput>;
|
|
60
64
|
converse(args: ConverseCommandInput, cb: (err: any, data?: ConverseCommandOutput) => void): void;
|
|
61
65
|
converse(
|
|
62
66
|
args: ConverseCommandInput,
|
|
63
|
-
options:
|
|
67
|
+
options: BedrockRuntimeRequestOptions,
|
|
64
68
|
cb: (err: any, data?: ConverseCommandOutput) => void,
|
|
65
69
|
): void;
|
|
66
70
|
converseStream(
|
|
67
71
|
args: ConverseStreamCommandInput,
|
|
68
|
-
options?:
|
|
72
|
+
options?: BedrockRuntimeRequestOptions,
|
|
69
73
|
): Promise<ConverseStreamCommandOutput>;
|
|
70
74
|
converseStream(
|
|
71
75
|
args: ConverseStreamCommandInput,
|
|
@@ -73,12 +77,12 @@ export interface BedrockRuntime {
|
|
|
73
77
|
): void;
|
|
74
78
|
converseStream(
|
|
75
79
|
args: ConverseStreamCommandInput,
|
|
76
|
-
options:
|
|
80
|
+
options: BedrockRuntimeRequestOptions,
|
|
77
81
|
cb: (err: any, data?: ConverseStreamCommandOutput) => void,
|
|
78
82
|
): void;
|
|
79
83
|
countTokens(
|
|
80
84
|
args: CountTokensCommandInput,
|
|
81
|
-
options?:
|
|
85
|
+
options?: BedrockRuntimeRequestOptions,
|
|
82
86
|
): Promise<CountTokensCommandOutput>;
|
|
83
87
|
countTokens(
|
|
84
88
|
args: CountTokensCommandInput,
|
|
@@ -86,12 +90,12 @@ export interface BedrockRuntime {
|
|
|
86
90
|
): void;
|
|
87
91
|
countTokens(
|
|
88
92
|
args: CountTokensCommandInput,
|
|
89
|
-
options:
|
|
93
|
+
options: BedrockRuntimeRequestOptions,
|
|
90
94
|
cb: (err: any, data?: CountTokensCommandOutput) => void,
|
|
91
95
|
): void;
|
|
92
96
|
getAsyncInvoke(
|
|
93
97
|
args: GetAsyncInvokeCommandInput,
|
|
94
|
-
options?:
|
|
98
|
+
options?: BedrockRuntimeRequestOptions,
|
|
95
99
|
): Promise<GetAsyncInvokeCommandOutput>;
|
|
96
100
|
getAsyncInvoke(
|
|
97
101
|
args: GetAsyncInvokeCommandInput,
|
|
@@ -99,12 +103,12 @@ export interface BedrockRuntime {
|
|
|
99
103
|
): void;
|
|
100
104
|
getAsyncInvoke(
|
|
101
105
|
args: GetAsyncInvokeCommandInput,
|
|
102
|
-
options:
|
|
106
|
+
options: BedrockRuntimeRequestOptions,
|
|
103
107
|
cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void,
|
|
104
108
|
): void;
|
|
105
109
|
invokeGuardrailChecks(
|
|
106
110
|
args: InvokeGuardrailChecksCommandInput,
|
|
107
|
-
options?:
|
|
111
|
+
options?: BedrockRuntimeRequestOptions,
|
|
108
112
|
): Promise<InvokeGuardrailChecksCommandOutput>;
|
|
109
113
|
invokeGuardrailChecks(
|
|
110
114
|
args: InvokeGuardrailChecksCommandInput,
|
|
@@ -112,12 +116,12 @@ export interface BedrockRuntime {
|
|
|
112
116
|
): void;
|
|
113
117
|
invokeGuardrailChecks(
|
|
114
118
|
args: InvokeGuardrailChecksCommandInput,
|
|
115
|
-
options:
|
|
119
|
+
options: BedrockRuntimeRequestOptions,
|
|
116
120
|
cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void,
|
|
117
121
|
): void;
|
|
118
122
|
invokeModel(
|
|
119
123
|
args: InvokeModelCommandInput,
|
|
120
|
-
options?:
|
|
124
|
+
options?: BedrockRuntimeRequestOptions,
|
|
121
125
|
): Promise<InvokeModelCommandOutput>;
|
|
122
126
|
invokeModel(
|
|
123
127
|
args: InvokeModelCommandInput,
|
|
@@ -125,12 +129,12 @@ export interface BedrockRuntime {
|
|
|
125
129
|
): void;
|
|
126
130
|
invokeModel(
|
|
127
131
|
args: InvokeModelCommandInput,
|
|
128
|
-
options:
|
|
132
|
+
options: BedrockRuntimeRequestOptions,
|
|
129
133
|
cb: (err: any, data?: InvokeModelCommandOutput) => void,
|
|
130
134
|
): void;
|
|
131
135
|
invokeModelWithBidirectionalStream(
|
|
132
136
|
args: InvokeModelWithBidirectionalStreamCommandInput,
|
|
133
|
-
options?:
|
|
137
|
+
options?: BedrockRuntimeRequestOptions,
|
|
134
138
|
): Promise<InvokeModelWithBidirectionalStreamCommandOutput>;
|
|
135
139
|
invokeModelWithBidirectionalStream(
|
|
136
140
|
args: InvokeModelWithBidirectionalStreamCommandInput,
|
|
@@ -138,12 +142,12 @@ export interface BedrockRuntime {
|
|
|
138
142
|
): void;
|
|
139
143
|
invokeModelWithBidirectionalStream(
|
|
140
144
|
args: InvokeModelWithBidirectionalStreamCommandInput,
|
|
141
|
-
options:
|
|
145
|
+
options: BedrockRuntimeRequestOptions,
|
|
142
146
|
cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void,
|
|
143
147
|
): void;
|
|
144
148
|
invokeModelWithResponseStream(
|
|
145
149
|
args: InvokeModelWithResponseStreamCommandInput,
|
|
146
|
-
options?:
|
|
150
|
+
options?: BedrockRuntimeRequestOptions,
|
|
147
151
|
): Promise<InvokeModelWithResponseStreamCommandOutput>;
|
|
148
152
|
invokeModelWithResponseStream(
|
|
149
153
|
args: InvokeModelWithResponseStreamCommandInput,
|
|
@@ -151,13 +155,13 @@ export interface BedrockRuntime {
|
|
|
151
155
|
): void;
|
|
152
156
|
invokeModelWithResponseStream(
|
|
153
157
|
args: InvokeModelWithResponseStreamCommandInput,
|
|
154
|
-
options:
|
|
158
|
+
options: BedrockRuntimeRequestOptions,
|
|
155
159
|
cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void,
|
|
156
160
|
): void;
|
|
157
161
|
listAsyncInvokes(): Promise<ListAsyncInvokesCommandOutput>;
|
|
158
162
|
listAsyncInvokes(
|
|
159
163
|
args: ListAsyncInvokesCommandInput,
|
|
160
|
-
options?:
|
|
164
|
+
options?: BedrockRuntimeRequestOptions,
|
|
161
165
|
): Promise<ListAsyncInvokesCommandOutput>;
|
|
162
166
|
listAsyncInvokes(
|
|
163
167
|
args: ListAsyncInvokesCommandInput,
|
|
@@ -165,12 +169,12 @@ export interface BedrockRuntime {
|
|
|
165
169
|
): void;
|
|
166
170
|
listAsyncInvokes(
|
|
167
171
|
args: ListAsyncInvokesCommandInput,
|
|
168
|
-
options:
|
|
172
|
+
options: BedrockRuntimeRequestOptions,
|
|
169
173
|
cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void,
|
|
170
174
|
): void;
|
|
171
175
|
startAsyncInvoke(
|
|
172
176
|
args: StartAsyncInvokeCommandInput,
|
|
173
|
-
options?:
|
|
177
|
+
options?: BedrockRuntimeRequestOptions,
|
|
174
178
|
): Promise<StartAsyncInvokeCommandOutput>;
|
|
175
179
|
startAsyncInvoke(
|
|
176
180
|
args: StartAsyncInvokeCommandInput,
|
|
@@ -178,7 +182,7 @@ export interface BedrockRuntime {
|
|
|
178
182
|
): void;
|
|
179
183
|
startAsyncInvoke(
|
|
180
184
|
args: StartAsyncInvokeCommandInput,
|
|
181
|
-
options:
|
|
185
|
+
options: BedrockRuntimeRequestOptions,
|
|
182
186
|
cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void,
|
|
183
187
|
): void;
|
|
184
188
|
paginateListAsyncInvokes(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-runtime",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@aws-sdk/core": "^3.978.
|
|
58
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
59
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
60
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
61
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
62
|
-
"@aws-sdk/token-providers": "3.
|
|
63
|
-
"@aws-sdk/types": "^3.974.
|
|
64
|
-
"@smithy/core": "^3.
|
|
65
|
-
"@smithy/fetch-http-handler": "^5.
|
|
66
|
-
"@smithy/node-http-handler": "^4.
|
|
67
|
-
"@smithy/types": "^4.
|
|
57
|
+
"@aws-sdk/core": "^3.978.1",
|
|
58
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
59
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.35",
|
|
60
|
+
"@aws-sdk/middleware-eventstream": "^3.972.30",
|
|
61
|
+
"@aws-sdk/middleware-websocket": "^3.972.54",
|
|
62
|
+
"@aws-sdk/token-providers": "3.1138.0",
|
|
63
|
+
"@aws-sdk/types": "^3.974.6",
|
|
64
|
+
"@smithy/core": "^3.35.0",
|
|
65
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
66
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
67
|
+
"@smithy/types": "^4.19.0",
|
|
68
68
|
"tslib": "^2.6.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|