@aws-sdk/client-bedrock-agentcore 3.1134.0 → 3.1135.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 +15 -3
- package/dist-es/schemas/schemas_0.js +14 -2
- package/dist-types/commands/DeleteMemoryRecordCommand.d.ts +2 -1
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +8 -0
- package/dist-types/commands/StartBatchEvaluationCommand.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +21 -10
- package/dist-types/models/models_1.d.ts +10 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteMemoryRecordCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -3
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1134.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -862,6 +862,8 @@ const _SS = "SensitiveString";
|
|
|
862
862
|
const _SSL = "SessionSummaryList";
|
|
863
863
|
const _SSe = "SessionSummary";
|
|
864
864
|
const _ST = "SensitiveText";
|
|
865
|
+
const _STI = "SessionTraceIds";
|
|
866
|
+
const _STIL = "SessionTraceIdsList";
|
|
865
867
|
const _SU = "StreamUpdate";
|
|
866
868
|
const _Sp = "Spans";
|
|
867
869
|
const _TA = "ToolArguments";
|
|
@@ -1355,6 +1357,7 @@ const _sSe = "sessionStatus";
|
|
|
1355
1357
|
const _sSes = "sessionSummaries";
|
|
1356
1358
|
const _sSess = "sessionSpans";
|
|
1357
1359
|
const _sT = "startTime";
|
|
1360
|
+
const _sTI = "sessionTraceIds";
|
|
1358
1361
|
const _sTS = "sessionTimeoutSeconds";
|
|
1359
1362
|
const _sU = "subscriptionUrl";
|
|
1360
1363
|
const _sUe = "sessionUri";
|
|
@@ -1731,8 +1734,8 @@ var Certificate$ = [3, n0, _C,
|
|
|
1731
1734
|
];
|
|
1732
1735
|
var CloudWatchFilterConfig$ = [3, n0, _CWFC,
|
|
1733
1736
|
0,
|
|
1734
|
-
[_sIe, _tR],
|
|
1735
|
-
[64 | 0, () => SessionFilterConfig
|
|
1737
|
+
[_sIe, _tR, _sTI],
|
|
1738
|
+
[64 | 0, () => SessionFilterConfig$, () => SessionTraceIdsList]
|
|
1736
1739
|
];
|
|
1737
1740
|
var CloudWatchLogsFilter$ = [3, n0, _CWLF,
|
|
1738
1741
|
0,
|
|
@@ -2994,6 +2997,11 @@ var SessionSummary$ = [3, n0, _SSe,
|
|
|
2994
2997
|
[_sI, _aI, _cA],
|
|
2995
2998
|
[0, 0, 4], 3
|
|
2996
2999
|
];
|
|
3000
|
+
var SessionTraceIds$ = [3, n0, _STI,
|
|
3001
|
+
0,
|
|
3002
|
+
[_sI, _tIr],
|
|
3003
|
+
[0, 64 | 0], 2
|
|
3004
|
+
];
|
|
2997
3005
|
var SkillDefinition$ = [3, n0, _SDk,
|
|
2998
3006
|
0,
|
|
2999
3007
|
[_sV, _iC],
|
|
@@ -3432,6 +3440,9 @@ var SessionMetadataList = [1, n0, _SMLe,
|
|
|
3432
3440
|
var SessionSummaryList = [1, n0, _SSL,
|
|
3433
3441
|
0, () => SessionSummary$
|
|
3434
3442
|
];
|
|
3443
|
+
var SessionTraceIdsList = [1, n0, _STIL,
|
|
3444
|
+
0, () => SessionTraceIds$
|
|
3445
|
+
];
|
|
3435
3446
|
var Spans = [1, n0, _Sp,
|
|
3436
3447
|
8, 15
|
|
3437
3448
|
];
|
|
@@ -5294,6 +5305,7 @@ exports.SessionLimits$ = SessionLimits$;
|
|
|
5294
5305
|
exports.SessionMetadataShape$ = SessionMetadataShape$;
|
|
5295
5306
|
exports.SessionStatus = SessionStatus;
|
|
5296
5307
|
exports.SessionSummary$ = SessionSummary$;
|
|
5308
|
+
exports.SessionTraceIds$ = SessionTraceIds$;
|
|
5297
5309
|
exports.SkillDefinition$ = SkillDefinition$;
|
|
5298
5310
|
exports.SkillMdDefinition$ = SkillMdDefinition$;
|
|
5299
5311
|
exports.SpanContext$ = SpanContext$;
|
|
@@ -531,6 +531,8 @@ const _SS = "SensitiveString";
|
|
|
531
531
|
const _SSL = "SessionSummaryList";
|
|
532
532
|
const _SSe = "SessionSummary";
|
|
533
533
|
const _ST = "SensitiveText";
|
|
534
|
+
const _STI = "SessionTraceIds";
|
|
535
|
+
const _STIL = "SessionTraceIdsList";
|
|
534
536
|
const _SU = "StreamUpdate";
|
|
535
537
|
const _Sp = "Spans";
|
|
536
538
|
const _TA = "ToolArguments";
|
|
@@ -1024,6 +1026,7 @@ const _sSe = "sessionStatus";
|
|
|
1024
1026
|
const _sSes = "sessionSummaries";
|
|
1025
1027
|
const _sSess = "sessionSpans";
|
|
1026
1028
|
const _sT = "startTime";
|
|
1029
|
+
const _sTI = "sessionTraceIds";
|
|
1027
1030
|
const _sTS = "sessionTimeoutSeconds";
|
|
1028
1031
|
const _sU = "subscriptionUrl";
|
|
1029
1032
|
const _sUe = "sessionUri";
|
|
@@ -1403,8 +1406,8 @@ export var Certificate$ = [3, n0, _C,
|
|
|
1403
1406
|
];
|
|
1404
1407
|
export var CloudWatchFilterConfig$ = [3, n0, _CWFC,
|
|
1405
1408
|
0,
|
|
1406
|
-
[_sIe, _tR],
|
|
1407
|
-
[64 | 0, () => SessionFilterConfig
|
|
1409
|
+
[_sIe, _tR, _sTI],
|
|
1410
|
+
[64 | 0, () => SessionFilterConfig$, () => SessionTraceIdsList]
|
|
1408
1411
|
];
|
|
1409
1412
|
export var CloudWatchLogsFilter$ = [3, n0, _CWLF,
|
|
1410
1413
|
0,
|
|
@@ -2666,6 +2669,11 @@ export var SessionSummary$ = [3, n0, _SSe,
|
|
|
2666
2669
|
[_sI, _aI, _cA],
|
|
2667
2670
|
[0, 0, 4], 3
|
|
2668
2671
|
];
|
|
2672
|
+
export var SessionTraceIds$ = [3, n0, _STI,
|
|
2673
|
+
0,
|
|
2674
|
+
[_sI, _tIr],
|
|
2675
|
+
[0, 64 | 0], 2
|
|
2676
|
+
];
|
|
2669
2677
|
export var SkillDefinition$ = [3, n0, _SDk,
|
|
2670
2678
|
0,
|
|
2671
2679
|
[_sV, _iC],
|
|
@@ -3122,6 +3130,9 @@ var SessionMetadataList = [1, n0, _SMLe,
|
|
|
3122
3130
|
var SessionSummaryList = [1, n0, _SSL,
|
|
3123
3131
|
0, () => SessionSummary$
|
|
3124
3132
|
];
|
|
3133
|
+
var SessionTraceIdsList = [1, n0, _STIL,
|
|
3134
|
+
0, () => SessionTraceIds$
|
|
3135
|
+
];
|
|
3125
3136
|
var SpanIds = 64 | 0;
|
|
3126
3137
|
var Spans = [1, n0, _Sp,
|
|
3127
3138
|
8, 15
|
|
@@ -3140,6 +3151,7 @@ var ToolDescriptionResultList = [1, n0, _TDRL,
|
|
|
3140
3151
|
var ToolsFileSystemConfigurations = [1, n0, _TFSC,
|
|
3141
3152
|
0, () => ToolsFileSystemConfiguration$
|
|
3142
3153
|
];
|
|
3154
|
+
var TraceIdList = 64 | 0;
|
|
3143
3155
|
var TraceIds = 64 | 0;
|
|
3144
3156
|
var UserIntentAffectedSessionList = [1, n0, _UIASL,
|
|
3145
3157
|
0, () => UserIntentAffectedSession$
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DeleteMemoryRecordInput
|
|
2
|
+
import type { DeleteMemoryRecordInput } from "../models/models_0";
|
|
3
|
+
import type { DeleteMemoryRecordOutput } from "../models/models_1";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -73,6 +73,14 @@ declare const GetBatchEvaluationCommand_base: {
|
|
|
73
73
|
* // startTime: new Date("TIMESTAMP"),
|
|
74
74
|
* // endTime: new Date("TIMESTAMP"),
|
|
75
75
|
* // },
|
|
76
|
+
* // sessionTraceIds: [ // SessionTraceIdsList
|
|
77
|
+
* // { // SessionTraceIds
|
|
78
|
+
* // sessionId: "STRING_VALUE", // required
|
|
79
|
+
* // traceIds: [ // TraceIdList // required
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
76
84
|
* // },
|
|
77
85
|
* // },
|
|
78
86
|
* // onlineEvaluationConfigSource: { // OnlineEvaluationConfigSource
|
|
@@ -64,6 +64,14 @@ declare const StartBatchEvaluationCommand_base: {
|
|
|
64
64
|
* startTime: new Date("TIMESTAMP"),
|
|
65
65
|
* endTime: new Date("TIMESTAMP"),
|
|
66
66
|
* },
|
|
67
|
+
* sessionTraceIds: [ // SessionTraceIdsList
|
|
68
|
+
* { // SessionTraceIds
|
|
69
|
+
* sessionId: "STRING_VALUE", // required
|
|
70
|
+
* traceIds: [ // TraceIdList // required
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
67
75
|
* },
|
|
68
76
|
* },
|
|
69
77
|
* onlineEvaluationConfigSource: { // OnlineEvaluationConfigSource
|
|
@@ -3767,6 +3767,22 @@ export interface GetBatchEvaluationRequest {
|
|
|
3767
3767
|
*/
|
|
3768
3768
|
batchEvaluationId: string | undefined;
|
|
3769
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
* <p>A pairing of a session with the specific trace IDs to evaluate within that session. Use this to evaluate individual traces rather than an entire session.</p>
|
|
3772
|
+
* @public
|
|
3773
|
+
*/
|
|
3774
|
+
export interface SessionTraceIds {
|
|
3775
|
+
/**
|
|
3776
|
+
* <p>The unique identifier of the session that contains the traces to evaluate.</p>
|
|
3777
|
+
* @public
|
|
3778
|
+
*/
|
|
3779
|
+
sessionId: string | undefined;
|
|
3780
|
+
/**
|
|
3781
|
+
* <p>The list of trace IDs within the session to evaluate.</p>
|
|
3782
|
+
* @public
|
|
3783
|
+
*/
|
|
3784
|
+
traceIds: string[] | undefined;
|
|
3785
|
+
}
|
|
3770
3786
|
/**
|
|
3771
3787
|
* <p>A time range filter for selecting sessions. Specifies the start and end times to narrow down which sessions are included.</p>
|
|
3772
3788
|
* @public
|
|
@@ -3798,6 +3814,11 @@ export interface CloudWatchFilterConfig {
|
|
|
3798
3814
|
* @public
|
|
3799
3815
|
*/
|
|
3800
3816
|
timeRange?: SessionFilterConfig | undefined;
|
|
3817
|
+
/**
|
|
3818
|
+
* <p>A list of session and trace ID pairs that restrict evaluation to specific traces within a session. If specified, only the listed traces are evaluated instead of the entire session.</p>
|
|
3819
|
+
* @public
|
|
3820
|
+
*/
|
|
3821
|
+
sessionTraceIds?: SessionTraceIds[] | undefined;
|
|
3801
3822
|
}
|
|
3802
3823
|
/**
|
|
3803
3824
|
* <p>The configuration for reading agent traces from CloudWatch Logs.</p>
|
|
@@ -8719,13 +8740,3 @@ export interface DeleteMemoryRecordInput {
|
|
|
8719
8740
|
*/
|
|
8720
8741
|
namespace?: string | undefined;
|
|
8721
8742
|
}
|
|
8722
|
-
/**
|
|
8723
|
-
* @public
|
|
8724
|
-
*/
|
|
8725
|
-
export interface DeleteMemoryRecordOutput {
|
|
8726
|
-
/**
|
|
8727
|
-
* <p>The identifier of the memory record that was deleted.</p>
|
|
8728
|
-
* @public
|
|
8729
|
-
*/
|
|
8730
|
-
memoryRecordId: string | undefined;
|
|
8731
|
-
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, ExtractionJobStatus, InstrumentBalanceToken, MemoryRecordOperatorType, OperatorType, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RegistryRecordStatus } from "./enums";
|
|
3
3
|
import type { A2aDescriptor, ActorSummary, AgentSkillsDescriptor, Conversational, Event, ExtractionConfig, MemoryContent, MemoryJsonData, MemoryRecordMetadataValue, MetadataValue } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteMemoryRecordOutput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The identifier of the memory record that was deleted.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
memoryRecordId: string | undefined;
|
|
13
|
+
}
|
|
4
14
|
/**
|
|
5
15
|
* @public
|
|
6
16
|
*/
|
|
@@ -303,6 +303,7 @@ export declare var SessionFilterConfig$: StaticStructureSchema;
|
|
|
303
303
|
export declare var SessionLimits$: StaticStructureSchema;
|
|
304
304
|
export declare var SessionMetadataShape$: StaticStructureSchema;
|
|
305
305
|
export declare var SessionSummary$: StaticStructureSchema;
|
|
306
|
+
export declare var SessionTraceIds$: StaticStructureSchema;
|
|
306
307
|
export declare var SkillDefinition$: StaticStructureSchema;
|
|
307
308
|
export declare var SkillMdDefinition$: StaticStructureSchema;
|
|
308
309
|
export declare var SpanContext$: StaticStructureSchema;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { DeleteMemoryRecordInput
|
|
2
|
+
import { DeleteMemoryRecordInput } from "../models/models_0";
|
|
3
|
+
import { DeleteMemoryRecordOutput } from "../models/models_1";
|
|
3
4
|
export { __MetadataBearer };
|
|
4
5
|
export interface DeleteMemoryRecordCommandInput extends DeleteMemoryRecordInput {}
|
|
5
6
|
export interface DeleteMemoryRecordCommandOutput
|
|
@@ -1371,6 +1371,10 @@ export interface GetABTestResponse {
|
|
|
1371
1371
|
export interface GetBatchEvaluationRequest {
|
|
1372
1372
|
batchEvaluationId: string | undefined;
|
|
1373
1373
|
}
|
|
1374
|
+
export interface SessionTraceIds {
|
|
1375
|
+
sessionId: string | undefined;
|
|
1376
|
+
traceIds: string[] | undefined;
|
|
1377
|
+
}
|
|
1374
1378
|
export interface SessionFilterConfig {
|
|
1375
1379
|
startTime?: Date | undefined;
|
|
1376
1380
|
endTime?: Date | undefined;
|
|
@@ -1378,6 +1382,7 @@ export interface SessionFilterConfig {
|
|
|
1378
1382
|
export interface CloudWatchFilterConfig {
|
|
1379
1383
|
sessionIds?: string[] | undefined;
|
|
1380
1384
|
timeRange?: SessionFilterConfig | undefined;
|
|
1385
|
+
sessionTraceIds?: SessionTraceIds[] | undefined;
|
|
1381
1386
|
}
|
|
1382
1387
|
export interface CloudWatchLogsSource {
|
|
1383
1388
|
serviceNames: string[] | undefined;
|
|
@@ -3253,6 +3258,3 @@ export interface DeleteMemoryRecordInput {
|
|
|
3253
3258
|
memoryRecordId: string | undefined;
|
|
3254
3259
|
namespace?: string | undefined;
|
|
3255
3260
|
}
|
|
3256
|
-
export interface DeleteMemoryRecordOutput {
|
|
3257
|
-
memoryRecordId: string | undefined;
|
|
3258
|
-
}
|
|
@@ -28,6 +28,9 @@ import {
|
|
|
28
28
|
MemoryRecordMetadataValue,
|
|
29
29
|
MetadataValue,
|
|
30
30
|
} from "./models_0";
|
|
31
|
+
export interface DeleteMemoryRecordOutput {
|
|
32
|
+
memoryRecordId: string | undefined;
|
|
33
|
+
}
|
|
31
34
|
export interface GetEventInput {
|
|
32
35
|
memoryId: string | undefined;
|
|
33
36
|
sessionId: string | undefined;
|
|
@@ -303,6 +303,7 @@ export declare var SessionFilterConfig$: StaticStructureSchema;
|
|
|
303
303
|
export declare var SessionLimits$: StaticStructureSchema;
|
|
304
304
|
export declare var SessionMetadataShape$: StaticStructureSchema;
|
|
305
305
|
export declare var SessionSummary$: StaticStructureSchema;
|
|
306
|
+
export declare var SessionTraceIds$: StaticStructureSchema;
|
|
306
307
|
export declare var SkillDefinition$: StaticStructureSchema;
|
|
307
308
|
export declare var SkillMdDefinition$: StaticStructureSchema;
|
|
308
309
|
export declare var SpanContext$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1135.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore",
|
|
6
6
|
"license": "Apache-2.0",
|