@aws-sdk/client-bedrock-agentcore 3.929.0 → 3.931.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
|
@@ -246,28 +246,10 @@ const AutomationStreamStatus = {
|
|
|
246
246
|
DISABLED: "DISABLED",
|
|
247
247
|
ENABLED: "ENABLED",
|
|
248
248
|
};
|
|
249
|
-
exports.StreamUpdate = void 0;
|
|
250
|
-
(function (StreamUpdate) {
|
|
251
|
-
StreamUpdate.visit = (value, visitor) => {
|
|
252
|
-
if (value.automationStreamUpdate !== undefined)
|
|
253
|
-
return visitor.automationStreamUpdate(value.automationStreamUpdate);
|
|
254
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
255
|
-
};
|
|
256
|
-
})(exports.StreamUpdate || (exports.StreamUpdate = {}));
|
|
257
249
|
const CodeInterpreterSessionStatus = {
|
|
258
250
|
READY: "READY",
|
|
259
251
|
TERMINATED: "TERMINATED",
|
|
260
252
|
};
|
|
261
|
-
exports.UserIdentifier = void 0;
|
|
262
|
-
(function (UserIdentifier) {
|
|
263
|
-
UserIdentifier.visit = (value, visitor) => {
|
|
264
|
-
if (value.userToken !== undefined)
|
|
265
|
-
return visitor.userToken(value.userToken);
|
|
266
|
-
if (value.userId !== undefined)
|
|
267
|
-
return visitor.userId(value.userId);
|
|
268
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
269
|
-
};
|
|
270
|
-
})(exports.UserIdentifier || (exports.UserIdentifier = {}));
|
|
271
253
|
const Oauth2FlowType = {
|
|
272
254
|
M2M: "M2M",
|
|
273
255
|
USER_FEDERATION: "USER_FEDERATION",
|
|
@@ -309,36 +291,6 @@ const TaskStatus = {
|
|
|
309
291
|
SUBMITTED: "submitted",
|
|
310
292
|
WORKING: "working",
|
|
311
293
|
};
|
|
312
|
-
exports.CodeInterpreterStreamOutput = void 0;
|
|
313
|
-
(function (CodeInterpreterStreamOutput) {
|
|
314
|
-
CodeInterpreterStreamOutput.visit = (value, visitor) => {
|
|
315
|
-
if (value.result !== undefined)
|
|
316
|
-
return visitor.result(value.result);
|
|
317
|
-
if (value.accessDeniedException !== undefined)
|
|
318
|
-
return visitor.accessDeniedException(value.accessDeniedException);
|
|
319
|
-
if (value.conflictException !== undefined)
|
|
320
|
-
return visitor.conflictException(value.conflictException);
|
|
321
|
-
if (value.internalServerException !== undefined)
|
|
322
|
-
return visitor.internalServerException(value.internalServerException);
|
|
323
|
-
if (value.resourceNotFoundException !== undefined)
|
|
324
|
-
return visitor.resourceNotFoundException(value.resourceNotFoundException);
|
|
325
|
-
if (value.serviceQuotaExceededException !== undefined)
|
|
326
|
-
return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
|
|
327
|
-
if (value.throttlingException !== undefined)
|
|
328
|
-
return visitor.throttlingException(value.throttlingException);
|
|
329
|
-
if (value.validationException !== undefined)
|
|
330
|
-
return visitor.validationException(value.validationException);
|
|
331
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
332
|
-
};
|
|
333
|
-
})(exports.CodeInterpreterStreamOutput || (exports.CodeInterpreterStreamOutput = {}));
|
|
334
|
-
exports.MemoryContent = void 0;
|
|
335
|
-
(function (MemoryContent) {
|
|
336
|
-
MemoryContent.visit = (value, visitor) => {
|
|
337
|
-
if (value.text !== undefined)
|
|
338
|
-
return visitor.text(value.text);
|
|
339
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
340
|
-
};
|
|
341
|
-
})(exports.MemoryContent || (exports.MemoryContent = {}));
|
|
342
294
|
const MemoryRecordStatus = {
|
|
343
295
|
FAILED: "FAILED",
|
|
344
296
|
SUCCEEDED: "SUCCEEDED",
|
|
@@ -367,38 +319,12 @@ let ThrottledException$1 = class ThrottledException extends BedrockAgentCoreServ
|
|
|
367
319
|
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
368
320
|
}
|
|
369
321
|
};
|
|
370
|
-
exports.MetadataValue = void 0;
|
|
371
|
-
(function (MetadataValue) {
|
|
372
|
-
MetadataValue.visit = (value, visitor) => {
|
|
373
|
-
if (value.stringValue !== undefined)
|
|
374
|
-
return visitor.stringValue(value.stringValue);
|
|
375
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
376
|
-
};
|
|
377
|
-
})(exports.MetadataValue || (exports.MetadataValue = {}));
|
|
378
|
-
exports.Content = void 0;
|
|
379
|
-
(function (Content) {
|
|
380
|
-
Content.visit = (value, visitor) => {
|
|
381
|
-
if (value.text !== undefined)
|
|
382
|
-
return visitor.text(value.text);
|
|
383
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
384
|
-
};
|
|
385
|
-
})(exports.Content || (exports.Content = {}));
|
|
386
322
|
const Role = {
|
|
387
323
|
ASSISTANT: "ASSISTANT",
|
|
388
324
|
OTHER: "OTHER",
|
|
389
325
|
TOOL: "TOOL",
|
|
390
326
|
USER: "USER",
|
|
391
327
|
};
|
|
392
|
-
exports.PayloadType = void 0;
|
|
393
|
-
(function (PayloadType) {
|
|
394
|
-
PayloadType.visit = (value, visitor) => {
|
|
395
|
-
if (value.conversational !== undefined)
|
|
396
|
-
return visitor.conversational(value.conversational);
|
|
397
|
-
if (value.blob !== undefined)
|
|
398
|
-
return visitor.blob(value.blob);
|
|
399
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
400
|
-
};
|
|
401
|
-
})(exports.PayloadType || (exports.PayloadType = {}));
|
|
402
328
|
let InvalidInputException$1 = class InvalidInputException extends BedrockAgentCoreServiceException$1 {
|
|
403
329
|
name = "InvalidInputException";
|
|
404
330
|
$fault = "client";
|
|
@@ -411,27 +337,11 @@ let InvalidInputException$1 = class InvalidInputException extends BedrockAgentCo
|
|
|
411
337
|
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
412
338
|
}
|
|
413
339
|
};
|
|
414
|
-
exports.LeftExpression = void 0;
|
|
415
|
-
(function (LeftExpression) {
|
|
416
|
-
LeftExpression.visit = (value, visitor) => {
|
|
417
|
-
if (value.metadataKey !== undefined)
|
|
418
|
-
return visitor.metadataKey(value.metadataKey);
|
|
419
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
420
|
-
};
|
|
421
|
-
})(exports.LeftExpression || (exports.LeftExpression = {}));
|
|
422
340
|
const OperatorType = {
|
|
423
341
|
EQUALS_TO: "EQUALS_TO",
|
|
424
342
|
EXISTS: "EXISTS",
|
|
425
343
|
NOT_EXISTS: "NOT_EXISTS",
|
|
426
344
|
};
|
|
427
|
-
exports.RightExpression = void 0;
|
|
428
|
-
(function (RightExpression) {
|
|
429
|
-
RightExpression.visit = (value, visitor) => {
|
|
430
|
-
if (value.metadataValue !== undefined)
|
|
431
|
-
return visitor.metadataValue(value.metadataValue);
|
|
432
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
433
|
-
};
|
|
434
|
-
})(exports.RightExpression || (exports.RightExpression = {}));
|
|
435
345
|
|
|
436
346
|
const _A = "Accept";
|
|
437
347
|
const _ADE = "AccessDeniedException";
|
|
@@ -126,28 +126,10 @@ export const AutomationStreamStatus = {
|
|
|
126
126
|
DISABLED: "DISABLED",
|
|
127
127
|
ENABLED: "ENABLED",
|
|
128
128
|
};
|
|
129
|
-
export var StreamUpdate;
|
|
130
|
-
(function (StreamUpdate) {
|
|
131
|
-
StreamUpdate.visit = (value, visitor) => {
|
|
132
|
-
if (value.automationStreamUpdate !== undefined)
|
|
133
|
-
return visitor.automationStreamUpdate(value.automationStreamUpdate);
|
|
134
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
135
|
-
};
|
|
136
|
-
})(StreamUpdate || (StreamUpdate = {}));
|
|
137
129
|
export const CodeInterpreterSessionStatus = {
|
|
138
130
|
READY: "READY",
|
|
139
131
|
TERMINATED: "TERMINATED",
|
|
140
132
|
};
|
|
141
|
-
export var UserIdentifier;
|
|
142
|
-
(function (UserIdentifier) {
|
|
143
|
-
UserIdentifier.visit = (value, visitor) => {
|
|
144
|
-
if (value.userToken !== undefined)
|
|
145
|
-
return visitor.userToken(value.userToken);
|
|
146
|
-
if (value.userId !== undefined)
|
|
147
|
-
return visitor.userId(value.userId);
|
|
148
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
149
|
-
};
|
|
150
|
-
})(UserIdentifier || (UserIdentifier = {}));
|
|
151
133
|
export const Oauth2FlowType = {
|
|
152
134
|
M2M: "M2M",
|
|
153
135
|
USER_FEDERATION: "USER_FEDERATION",
|
|
@@ -189,36 +171,6 @@ export const TaskStatus = {
|
|
|
189
171
|
SUBMITTED: "submitted",
|
|
190
172
|
WORKING: "working",
|
|
191
173
|
};
|
|
192
|
-
export var CodeInterpreterStreamOutput;
|
|
193
|
-
(function (CodeInterpreterStreamOutput) {
|
|
194
|
-
CodeInterpreterStreamOutput.visit = (value, visitor) => {
|
|
195
|
-
if (value.result !== undefined)
|
|
196
|
-
return visitor.result(value.result);
|
|
197
|
-
if (value.accessDeniedException !== undefined)
|
|
198
|
-
return visitor.accessDeniedException(value.accessDeniedException);
|
|
199
|
-
if (value.conflictException !== undefined)
|
|
200
|
-
return visitor.conflictException(value.conflictException);
|
|
201
|
-
if (value.internalServerException !== undefined)
|
|
202
|
-
return visitor.internalServerException(value.internalServerException);
|
|
203
|
-
if (value.resourceNotFoundException !== undefined)
|
|
204
|
-
return visitor.resourceNotFoundException(value.resourceNotFoundException);
|
|
205
|
-
if (value.serviceQuotaExceededException !== undefined)
|
|
206
|
-
return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
|
|
207
|
-
if (value.throttlingException !== undefined)
|
|
208
|
-
return visitor.throttlingException(value.throttlingException);
|
|
209
|
-
if (value.validationException !== undefined)
|
|
210
|
-
return visitor.validationException(value.validationException);
|
|
211
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
212
|
-
};
|
|
213
|
-
})(CodeInterpreterStreamOutput || (CodeInterpreterStreamOutput = {}));
|
|
214
|
-
export var MemoryContent;
|
|
215
|
-
(function (MemoryContent) {
|
|
216
|
-
MemoryContent.visit = (value, visitor) => {
|
|
217
|
-
if (value.text !== undefined)
|
|
218
|
-
return visitor.text(value.text);
|
|
219
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
220
|
-
};
|
|
221
|
-
})(MemoryContent || (MemoryContent = {}));
|
|
222
174
|
export const MemoryRecordStatus = {
|
|
223
175
|
FAILED: "FAILED",
|
|
224
176
|
SUCCEEDED: "SUCCEEDED",
|
|
@@ -247,38 +199,12 @@ export class ThrottledException extends __BaseException {
|
|
|
247
199
|
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
248
200
|
}
|
|
249
201
|
}
|
|
250
|
-
export var MetadataValue;
|
|
251
|
-
(function (MetadataValue) {
|
|
252
|
-
MetadataValue.visit = (value, visitor) => {
|
|
253
|
-
if (value.stringValue !== undefined)
|
|
254
|
-
return visitor.stringValue(value.stringValue);
|
|
255
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
256
|
-
};
|
|
257
|
-
})(MetadataValue || (MetadataValue = {}));
|
|
258
|
-
export var Content;
|
|
259
|
-
(function (Content) {
|
|
260
|
-
Content.visit = (value, visitor) => {
|
|
261
|
-
if (value.text !== undefined)
|
|
262
|
-
return visitor.text(value.text);
|
|
263
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
264
|
-
};
|
|
265
|
-
})(Content || (Content = {}));
|
|
266
202
|
export const Role = {
|
|
267
203
|
ASSISTANT: "ASSISTANT",
|
|
268
204
|
OTHER: "OTHER",
|
|
269
205
|
TOOL: "TOOL",
|
|
270
206
|
USER: "USER",
|
|
271
207
|
};
|
|
272
|
-
export var PayloadType;
|
|
273
|
-
(function (PayloadType) {
|
|
274
|
-
PayloadType.visit = (value, visitor) => {
|
|
275
|
-
if (value.conversational !== undefined)
|
|
276
|
-
return visitor.conversational(value.conversational);
|
|
277
|
-
if (value.blob !== undefined)
|
|
278
|
-
return visitor.blob(value.blob);
|
|
279
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
280
|
-
};
|
|
281
|
-
})(PayloadType || (PayloadType = {}));
|
|
282
208
|
export class InvalidInputException extends __BaseException {
|
|
283
209
|
name = "InvalidInputException";
|
|
284
210
|
$fault = "client";
|
|
@@ -291,24 +217,8 @@ export class InvalidInputException extends __BaseException {
|
|
|
291
217
|
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
292
218
|
}
|
|
293
219
|
}
|
|
294
|
-
export var LeftExpression;
|
|
295
|
-
(function (LeftExpression) {
|
|
296
|
-
LeftExpression.visit = (value, visitor) => {
|
|
297
|
-
if (value.metadataKey !== undefined)
|
|
298
|
-
return visitor.metadataKey(value.metadataKey);
|
|
299
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
300
|
-
};
|
|
301
|
-
})(LeftExpression || (LeftExpression = {}));
|
|
302
220
|
export const OperatorType = {
|
|
303
221
|
EQUALS_TO: "EQUALS_TO",
|
|
304
222
|
EXISTS: "EXISTS",
|
|
305
223
|
NOT_EXISTS: "NOT_EXISTS",
|
|
306
224
|
};
|
|
307
|
-
export var RightExpression;
|
|
308
|
-
(function (RightExpression) {
|
|
309
|
-
RightExpression.visit = (value, visitor) => {
|
|
310
|
-
if (value.metadataValue !== undefined)
|
|
311
|
-
return visitor.metadataValue(value.metadataValue);
|
|
312
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
313
|
-
};
|
|
314
|
-
})(RightExpression || (RightExpression = {}));
|
|
@@ -742,11 +742,14 @@ export declare namespace StreamUpdate {
|
|
|
742
742
|
automationStreamUpdate?: never;
|
|
743
743
|
$unknown: [string, any];
|
|
744
744
|
}
|
|
745
|
+
/**
|
|
746
|
+
* @deprecated unused in schema-serde mode.
|
|
747
|
+
*
|
|
748
|
+
*/
|
|
745
749
|
interface Visitor<T> {
|
|
746
750
|
automationStreamUpdate: (value: AutomationStreamUpdate) => T;
|
|
747
751
|
_: (name: string, value: any) => T;
|
|
748
752
|
}
|
|
749
|
-
const visit: <T>(value: StreamUpdate, visitor: Visitor<T>) => T;
|
|
750
753
|
}
|
|
751
754
|
/**
|
|
752
755
|
* @public
|
|
@@ -1076,12 +1079,15 @@ export declare namespace UserIdentifier {
|
|
|
1076
1079
|
userId?: never;
|
|
1077
1080
|
$unknown: [string, any];
|
|
1078
1081
|
}
|
|
1082
|
+
/**
|
|
1083
|
+
* @deprecated unused in schema-serde mode.
|
|
1084
|
+
*
|
|
1085
|
+
*/
|
|
1079
1086
|
interface Visitor<T> {
|
|
1080
1087
|
userToken: (value: string) => T;
|
|
1081
1088
|
userId: (value: string) => T;
|
|
1082
1089
|
_: (name: string, value: any) => T;
|
|
1083
1090
|
}
|
|
1084
|
-
const visit: <T>(value: UserIdentifier, visitor: Visitor<T>) => T;
|
|
1085
1091
|
}
|
|
1086
1092
|
/**
|
|
1087
1093
|
* @public
|
|
@@ -1759,6 +1765,10 @@ export declare namespace CodeInterpreterStreamOutput {
|
|
|
1759
1765
|
validationException?: never;
|
|
1760
1766
|
$unknown: [string, any];
|
|
1761
1767
|
}
|
|
1768
|
+
/**
|
|
1769
|
+
* @deprecated unused in schema-serde mode.
|
|
1770
|
+
*
|
|
1771
|
+
*/
|
|
1762
1772
|
interface Visitor<T> {
|
|
1763
1773
|
result: (value: CodeInterpreterResult) => T;
|
|
1764
1774
|
accessDeniedException: (value: AccessDeniedException) => T;
|
|
@@ -1770,7 +1780,6 @@ export declare namespace CodeInterpreterStreamOutput {
|
|
|
1770
1780
|
validationException: (value: ValidationException) => T;
|
|
1771
1781
|
_: (name: string, value: any) => T;
|
|
1772
1782
|
}
|
|
1773
|
-
const visit: <T>(value: CodeInterpreterStreamOutput, visitor: Visitor<T>) => T;
|
|
1774
1783
|
}
|
|
1775
1784
|
/**
|
|
1776
1785
|
* @public
|
|
@@ -1811,11 +1820,14 @@ export declare namespace MemoryContent {
|
|
|
1811
1820
|
text?: never;
|
|
1812
1821
|
$unknown: [string, any];
|
|
1813
1822
|
}
|
|
1823
|
+
/**
|
|
1824
|
+
* @deprecated unused in schema-serde mode.
|
|
1825
|
+
*
|
|
1826
|
+
*/
|
|
1814
1827
|
interface Visitor<T> {
|
|
1815
1828
|
text: (value: string) => T;
|
|
1816
1829
|
_: (name: string, value: any) => T;
|
|
1817
1830
|
}
|
|
1818
|
-
const visit: <T>(value: MemoryContent, visitor: Visitor<T>) => T;
|
|
1819
1831
|
}
|
|
1820
1832
|
/**
|
|
1821
1833
|
* <p>Input structure to create a new memory record.</p>
|
|
@@ -2092,11 +2104,14 @@ export declare namespace MetadataValue {
|
|
|
2092
2104
|
stringValue?: never;
|
|
2093
2105
|
$unknown: [string, any];
|
|
2094
2106
|
}
|
|
2107
|
+
/**
|
|
2108
|
+
* @deprecated unused in schema-serde mode.
|
|
2109
|
+
*
|
|
2110
|
+
*/
|
|
2095
2111
|
interface Visitor<T> {
|
|
2096
2112
|
stringValue: (value: string) => T;
|
|
2097
2113
|
_: (name: string, value: any) => T;
|
|
2098
2114
|
}
|
|
2099
|
-
const visit: <T>(value: MetadataValue, visitor: Visitor<T>) => T;
|
|
2100
2115
|
}
|
|
2101
2116
|
/**
|
|
2102
2117
|
* <p>Contains the content of a memory item.</p>
|
|
@@ -2122,11 +2137,14 @@ export declare namespace Content {
|
|
|
2122
2137
|
text?: never;
|
|
2123
2138
|
$unknown: [string, any];
|
|
2124
2139
|
}
|
|
2140
|
+
/**
|
|
2141
|
+
* @deprecated unused in schema-serde mode.
|
|
2142
|
+
*
|
|
2143
|
+
*/
|
|
2125
2144
|
interface Visitor<T> {
|
|
2126
2145
|
text: (value: string) => T;
|
|
2127
2146
|
_: (name: string, value: any) => T;
|
|
2128
2147
|
}
|
|
2129
|
-
const visit: <T>(value: Content, visitor: Visitor<T>) => T;
|
|
2130
2148
|
}
|
|
2131
2149
|
/**
|
|
2132
2150
|
* @public
|
|
@@ -2193,12 +2211,15 @@ export declare namespace PayloadType {
|
|
|
2193
2211
|
blob?: never;
|
|
2194
2212
|
$unknown: [string, any];
|
|
2195
2213
|
}
|
|
2214
|
+
/**
|
|
2215
|
+
* @deprecated unused in schema-serde mode.
|
|
2216
|
+
*
|
|
2217
|
+
*/
|
|
2196
2218
|
interface Visitor<T> {
|
|
2197
2219
|
conversational: (value: Conversational) => T;
|
|
2198
2220
|
blob: (value: __DocumentType) => T;
|
|
2199
2221
|
_: (name: string, value: any) => T;
|
|
2200
2222
|
}
|
|
2201
|
-
const visit: <T>(value: PayloadType, visitor: Visitor<T>) => T;
|
|
2202
2223
|
}
|
|
2203
2224
|
/**
|
|
2204
2225
|
* @public
|
|
@@ -2539,11 +2560,14 @@ export declare namespace LeftExpression {
|
|
|
2539
2560
|
metadataKey?: never;
|
|
2540
2561
|
$unknown: [string, any];
|
|
2541
2562
|
}
|
|
2563
|
+
/**
|
|
2564
|
+
* @deprecated unused in schema-serde mode.
|
|
2565
|
+
*
|
|
2566
|
+
*/
|
|
2542
2567
|
interface Visitor<T> {
|
|
2543
2568
|
metadataKey: (value: string) => T;
|
|
2544
2569
|
_: (name: string, value: any) => T;
|
|
2545
2570
|
}
|
|
2546
|
-
const visit: <T>(value: LeftExpression, visitor: Visitor<T>) => T;
|
|
2547
2571
|
}
|
|
2548
2572
|
/**
|
|
2549
2573
|
* @public
|
|
@@ -2582,11 +2606,14 @@ export declare namespace RightExpression {
|
|
|
2582
2606
|
metadataValue?: never;
|
|
2583
2607
|
$unknown: [string, any];
|
|
2584
2608
|
}
|
|
2609
|
+
/**
|
|
2610
|
+
* @deprecated unused in schema-serde mode.
|
|
2611
|
+
*
|
|
2612
|
+
*/
|
|
2585
2613
|
interface Visitor<T> {
|
|
2586
2614
|
metadataValue: (value: MetadataValue) => T;
|
|
2587
2615
|
_: (name: string, value: any) => T;
|
|
2588
2616
|
}
|
|
2589
|
-
const visit: <T>(value: RightExpression, visitor: Visitor<T>) => T;
|
|
2590
2617
|
}
|
|
2591
2618
|
/**
|
|
2592
2619
|
* <p>Filter expression for retrieving events based on metadata associated with an event.</p>
|
|
@@ -236,7 +236,6 @@ export declare namespace StreamUpdate {
|
|
|
236
236
|
automationStreamUpdate: (value: AutomationStreamUpdate) => T;
|
|
237
237
|
_: (name: string, value: any) => T;
|
|
238
238
|
}
|
|
239
|
-
const visit: <T>(value: StreamUpdate, visitor: Visitor<T>) => T;
|
|
240
239
|
}
|
|
241
240
|
export interface UpdateBrowserStreamRequest {
|
|
242
241
|
browserIdentifier: string | undefined;
|
|
@@ -336,7 +335,6 @@ export declare namespace UserIdentifier {
|
|
|
336
335
|
userId: (value: string) => T;
|
|
337
336
|
_: (name: string, value: any) => T;
|
|
338
337
|
}
|
|
339
|
-
const visit: <T>(value: UserIdentifier, visitor: Visitor<T>) => T;
|
|
340
338
|
}
|
|
341
339
|
export interface CompleteResourceTokenAuthRequest {
|
|
342
340
|
userIdentifier: UserIdentifier | undefined;
|
|
@@ -615,10 +613,6 @@ export declare namespace CodeInterpreterStreamOutput {
|
|
|
615
613
|
validationException: (value: ValidationException) => T;
|
|
616
614
|
_: (name: string, value: any) => T;
|
|
617
615
|
}
|
|
618
|
-
const visit: <T>(
|
|
619
|
-
value: CodeInterpreterStreamOutput,
|
|
620
|
-
visitor: Visitor<T>
|
|
621
|
-
) => T;
|
|
622
616
|
}
|
|
623
617
|
export interface InvokeCodeInterpreterResponse {
|
|
624
618
|
sessionId?: string | undefined;
|
|
@@ -640,7 +634,6 @@ export declare namespace MemoryContent {
|
|
|
640
634
|
text: (value: string) => T;
|
|
641
635
|
_: (name: string, value: any) => T;
|
|
642
636
|
}
|
|
643
|
-
const visit: <T>(value: MemoryContent, visitor: Visitor<T>) => T;
|
|
644
637
|
}
|
|
645
638
|
export interface MemoryRecordCreateInput {
|
|
646
639
|
requestIdentifier: string | undefined;
|
|
@@ -727,7 +720,6 @@ export declare namespace MetadataValue {
|
|
|
727
720
|
stringValue: (value: string) => T;
|
|
728
721
|
_: (name: string, value: any) => T;
|
|
729
722
|
}
|
|
730
|
-
const visit: <T>(value: MetadataValue, visitor: Visitor<T>) => T;
|
|
731
723
|
}
|
|
732
724
|
export type Content = Content.TextMember | Content.$UnknownMember;
|
|
733
725
|
export declare namespace Content {
|
|
@@ -743,7 +735,6 @@ export declare namespace Content {
|
|
|
743
735
|
text: (value: string) => T;
|
|
744
736
|
_: (name: string, value: any) => T;
|
|
745
737
|
}
|
|
746
|
-
const visit: <T>(value: Content, visitor: Visitor<T>) => T;
|
|
747
738
|
}
|
|
748
739
|
export declare const Role: {
|
|
749
740
|
readonly ASSISTANT: "ASSISTANT";
|
|
@@ -781,7 +772,6 @@ export declare namespace PayloadType {
|
|
|
781
772
|
blob: (value: __DocumentType) => T;
|
|
782
773
|
_: (name: string, value: any) => T;
|
|
783
774
|
}
|
|
784
|
-
const visit: <T>(value: PayloadType, visitor: Visitor<T>) => T;
|
|
785
775
|
}
|
|
786
776
|
export interface CreateEventInput {
|
|
787
777
|
memoryId: string | undefined;
|
|
@@ -881,7 +871,6 @@ export declare namespace LeftExpression {
|
|
|
881
871
|
metadataKey: (value: string) => T;
|
|
882
872
|
_: (name: string, value: any) => T;
|
|
883
873
|
}
|
|
884
|
-
const visit: <T>(value: LeftExpression, visitor: Visitor<T>) => T;
|
|
885
874
|
}
|
|
886
875
|
export declare const OperatorType: {
|
|
887
876
|
readonly EQUALS_TO: "EQUALS_TO";
|
|
@@ -905,7 +894,6 @@ export declare namespace RightExpression {
|
|
|
905
894
|
metadataValue: (value: MetadataValue) => T;
|
|
906
895
|
_: (name: string, value: any) => T;
|
|
907
896
|
}
|
|
908
|
-
const visit: <T>(value: RightExpression, visitor: Visitor<T>) => T;
|
|
909
897
|
}
|
|
910
898
|
export interface EventMetadataFilterExpression {
|
|
911
899
|
left: LeftExpression | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.931.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-agentcore",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/eventstream-serde-browser": "^4.2.
|
|
37
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.
|
|
38
|
-
"@smithy/eventstream-serde-node": "^4.2.
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
40
|
-
"@smithy/hash-node": "^4.2.
|
|
41
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
42
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
-
"@smithy/middleware-stack": "^4.2.
|
|
47
|
-
"@smithy/node-config-provider": "^4.3.
|
|
48
|
-
"@smithy/node-http-handler": "^4.4.
|
|
49
|
-
"@smithy/protocol-http": "^5.3.
|
|
50
|
-
"@smithy/smithy-client": "^4.9.
|
|
51
|
-
"@smithy/types": "^4.
|
|
52
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.931.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.931.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.931.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.931.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/eventstream-serde-browser": "^4.2.5",
|
|
37
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.5",
|
|
38
|
+
"@smithy/eventstream-serde-node": "^4.2.5",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
40
|
+
"@smithy/hash-node": "^4.2.5",
|
|
41
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
42
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
46
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
47
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
48
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
49
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
50
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
51
|
+
"@smithy/types": "^4.9.0",
|
|
52
|
+
"@smithy/url-parser": "^4.2.5",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
58
|
-
"@smithy/util-endpoints": "^3.2.
|
|
59
|
-
"@smithy/util-middleware": "^4.2.
|
|
60
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
-
"@smithy/util-stream": "^4.5.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
58
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
59
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
60
|
+
"@smithy/util-retry": "^4.2.5",
|
|
61
|
+
"@smithy/util-stream": "^4.5.6",
|
|
62
62
|
"@smithy/util-utf8": "^4.2.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|