@aws-sdk/client-bedrock-agentcore-control 3.1066.0 → 3.1067.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 +6 -0
- package/dist-cjs/schemas/schemas_0.js +3 -2
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/AddDatasetExamplesCommand.d.ts +1 -13
- package/dist-types/commands/CreateDatasetCommand.d.ts +1 -4
- package/dist-types/commands/CreateDatasetVersionCommand.d.ts +1 -12
- package/dist-types/commands/CreateMemoryCommand.d.ts +8 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -25
- package/dist-types/commands/DeleteDatasetExamplesCommand.d.ts +1 -11
- package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/commands/GetDatasetCommand.d.ts +1 -19
- package/dist-types/commands/GetMemoryCommand.d.ts +3 -1
- package/dist-types/commands/ListDatasetExamplesCommand.d.ts +1 -9
- package/dist-types/commands/ListDatasetVersionsCommand.d.ts +1 -4
- package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
- package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDatasetCommand.d.ts +1 -7
- package/dist-types/commands/UpdateDatasetExamplesCommand.d.ts +1 -16
- package/dist-types/commands/UpdateMemoryCommand.d.ts +8 -1
- package/dist-types/models/enums.d.ts +24 -25
- package/dist-types/models/models_0.d.ts +35 -66
- package/dist-types/models/models_1.d.ts +7 -2
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -2721,6 +2721,10 @@ const MetadataValueType = {
|
|
|
2721
2721
|
STRING: "STRING",
|
|
2722
2722
|
STRINGLIST: "STRINGLIST",
|
|
2723
2723
|
};
|
|
2724
|
+
const ExtractionType = {
|
|
2725
|
+
LLM_INFERRED: "LLM_INFERRED",
|
|
2726
|
+
STRICTLY_CONSISTENT: "STRICTLY_CONSISTENT",
|
|
2727
|
+
};
|
|
2724
2728
|
const ContentLevel = {
|
|
2725
2729
|
FULL_CONTENT: "FULL_CONTENT",
|
|
2726
2730
|
METADATA_ONLY: "METADATA_ONLY",
|
|
@@ -2733,6 +2737,7 @@ const MemoryStatus = {
|
|
|
2733
2737
|
CREATING: "CREATING",
|
|
2734
2738
|
DELETING: "DELETING",
|
|
2735
2739
|
FAILED: "FAILED",
|
|
2740
|
+
UPDATING: "UPDATING",
|
|
2736
2741
|
};
|
|
2737
2742
|
const OverrideType = {
|
|
2738
2743
|
EPISODIC_OVERRIDE: "EPISODIC_OVERRIDE",
|
|
@@ -3019,6 +3024,7 @@ exports.EvaluatorLevel = EvaluatorLevel;
|
|
|
3019
3024
|
exports.EvaluatorStatus = EvaluatorStatus;
|
|
3020
3025
|
exports.EvaluatorType = EvaluatorType;
|
|
3021
3026
|
exports.ExceptionLevel = ExceptionLevel;
|
|
3027
|
+
exports.ExtractionType = ExtractionType;
|
|
3022
3028
|
exports.FilterOperator = FilterOperator;
|
|
3023
3029
|
exports.FindingType = FindingType;
|
|
3024
3030
|
exports.GatewayInterceptionPoint = GatewayInterceptionPoint;
|
|
@@ -1100,6 +1100,7 @@ const _eRO = "episodicReflectionOverride";
|
|
|
1100
1100
|
const _eRS = "enableResponseStreaming";
|
|
1101
1101
|
const _eS = "executionStatus";
|
|
1102
1102
|
const _eT = "evaluatorType";
|
|
1103
|
+
const _eTx = "extractionType";
|
|
1103
1104
|
const _eV = "environmentVariables";
|
|
1104
1105
|
const _en = "enabled";
|
|
1105
1106
|
const _end = "endpoint";
|
|
@@ -3412,8 +3413,8 @@ exports.MetadataConfiguration$ = [3, n0, _MC,
|
|
|
3412
3413
|
];
|
|
3413
3414
|
exports.MetadataSchemaEntry$ = [3, n0, _MSE,
|
|
3414
3415
|
0,
|
|
3415
|
-
[_k, _t, _eCxt],
|
|
3416
|
-
[0, 0, [() => exports.ExtractionConfig$, 0]], 1
|
|
3416
|
+
[_k, _t, _eTx, _eCxt],
|
|
3417
|
+
[0, 0, 0, [() => exports.ExtractionConfig$, 0]], 1
|
|
3417
3418
|
];
|
|
3418
3419
|
exports.MicrosoftOauth2ProviderConfigInput$ = [3, n0, _MOPCI,
|
|
3419
3420
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -282,6 +282,10 @@ export const MetadataValueType = {
|
|
|
282
282
|
STRING: "STRING",
|
|
283
283
|
STRINGLIST: "STRINGLIST",
|
|
284
284
|
};
|
|
285
|
+
export const ExtractionType = {
|
|
286
|
+
LLM_INFERRED: "LLM_INFERRED",
|
|
287
|
+
STRICTLY_CONSISTENT: "STRICTLY_CONSISTENT",
|
|
288
|
+
};
|
|
285
289
|
export const ContentLevel = {
|
|
286
290
|
FULL_CONTENT: "FULL_CONTENT",
|
|
287
291
|
METADATA_ONLY: "METADATA_ONLY",
|
|
@@ -294,6 +298,7 @@ export const MemoryStatus = {
|
|
|
294
298
|
CREATING: "CREATING",
|
|
295
299
|
DELETING: "DELETING",
|
|
296
300
|
FAILED: "FAILED",
|
|
301
|
+
UPDATING: "UPDATING",
|
|
297
302
|
};
|
|
298
303
|
export const OverrideType = {
|
|
299
304
|
EPISODIC_OVERRIDE: "EPISODIC_OVERRIDE",
|
|
@@ -1082,6 +1082,7 @@ const _eRO = "episodicReflectionOverride";
|
|
|
1082
1082
|
const _eRS = "enableResponseStreaming";
|
|
1083
1083
|
const _eS = "executionStatus";
|
|
1084
1084
|
const _eT = "evaluatorType";
|
|
1085
|
+
const _eTx = "extractionType";
|
|
1085
1086
|
const _eV = "environmentVariables";
|
|
1086
1087
|
const _en = "enabled";
|
|
1087
1088
|
const _end = "endpoint";
|
|
@@ -3394,8 +3395,8 @@ export var MetadataConfiguration$ = [3, n0, _MC,
|
|
|
3394
3395
|
];
|
|
3395
3396
|
export var MetadataSchemaEntry$ = [3, n0, _MSE,
|
|
3396
3397
|
0,
|
|
3397
|
-
[_k, _t, _eCxt],
|
|
3398
|
-
[0, 0, [() => ExtractionConfig$, 0]], 1
|
|
3398
|
+
[_k, _t, _eTx, _eCxt],
|
|
3399
|
+
[0, 0, 0, [() => ExtractionConfig$, 0]], 1
|
|
3399
3400
|
];
|
|
3400
3401
|
export var MicrosoftOauth2ProviderConfigInput$ = [3, n0, _MOPCI,
|
|
3401
3402
|
0,
|
|
@@ -29,19 +29,7 @@ declare const AddDatasetExamplesCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Adds examples to the dataset's DRAFT.
|
|
33
|
-
*
|
|
34
|
-
* **Validation:** All examples are validated against the dataset's schemaType before any
|
|
35
|
-
* writes occur. If any example fails validation, the entire batch is rejected with
|
|
36
|
-
* ValidationException — no examples are written (all-or-nothing semantics).
|
|
37
|
-
*
|
|
38
|
-
* **Asynchronous:** Operates in-place on DRAFT. No version bump occurs.
|
|
39
|
-
* Use CreateDatasetVersion to publish DRAFT as a new numbered version.
|
|
40
|
-
*
|
|
41
|
-
* **State guard:** Returns ConflictException (DATASET_NOT_READY) if the dataset
|
|
42
|
-
* status is not in \{DRAFT, ACTIVE\}.
|
|
43
|
-
*
|
|
44
|
-
* **Request size limit:** Max 5 MB total request body. Max 1000 examples per call.
|
|
32
|
+
* <p> Adds examples to the dataset's DRAFT. All examples are validated against the dataset's schema type before any writes occur. If any example fails validation, the entire batch is rejected (all-or-nothing semantics). </p>
|
|
45
33
|
* @example
|
|
46
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
47
35
|
* ```javascript
|
|
@@ -29,10 +29,7 @@ declare const CreateDatasetCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Creates a new
|
|
33
|
-
*
|
|
34
|
-
* Returns immediately with status CREATING. Poll GetDataset until
|
|
35
|
-
* status transitions to ACTIVE or CREATE_FAILED (with failureReason).
|
|
32
|
+
* <p> Creates a new dataset resource asynchronously. Returns immediately with status CREATING. Poll <code>GetDataset</code> until status transitions to ACTIVE or CREATE_FAILED. </p>
|
|
36
33
|
* @example
|
|
37
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
35
|
* ```javascript
|
|
@@ -29,18 +29,7 @@ declare const CreateDatasetVersionCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Publishes the current DRAFT as a new numbered version.
|
|
33
|
-
*
|
|
34
|
-
* Snapshots the DRAFT examples as the next version (1, 2, 3, ...).
|
|
35
|
-
* The DRAFT is preserved and remains editable after publishing.
|
|
36
|
-
* Returns immediately with status UPDATING. Poll GetDataset until
|
|
37
|
-
* status transitions to ACTIVE (draftStatus=UNMODIFIED) or UPDATE_FAILED.
|
|
38
|
-
*
|
|
39
|
-
* **State guard:** Returns ConflictException (DATASET_NOT_READY) if status is in
|
|
40
|
-
* \{CREATING, UPDATING, DELETING\}, or DATASET_IN_FAILED_STATE if status is in
|
|
41
|
-
* \{CREATE_FAILED, DELETE_FAILED\}.
|
|
42
|
-
*
|
|
43
|
-
* **Quota:** MAX_VERSIONS_PER_DATASET applies to published versions only (not DRAFT).
|
|
32
|
+
* <p> Publishes the current DRAFT as a new numbered version. The DRAFT is preserved and remains editable after publishing. Returns immediately with status UPDATING. Poll <code>GetDataset</code> until status transitions to ACTIVE or UPDATE_FAILED. </p>
|
|
44
33
|
* @example
|
|
45
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
46
35
|
* ```javascript
|
|
@@ -61,6 +61,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
61
61
|
* { // MetadataSchemaEntry
|
|
62
62
|
* key: "STRING_VALUE", // required
|
|
63
63
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
64
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
64
65
|
* extractionConfig: { // ExtractionConfig Union: only one key present
|
|
65
66
|
* llmExtractionConfig: { // LlmExtractionConfig
|
|
66
67
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -102,6 +103,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
102
103
|
* {
|
|
103
104
|
* key: "STRING_VALUE", // required
|
|
104
105
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
106
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
105
107
|
* extractionConfig: {// Union: only one key present
|
|
106
108
|
* llmExtractionConfig: {
|
|
107
109
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -141,6 +143,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
141
143
|
* {
|
|
142
144
|
* key: "STRING_VALUE", // required
|
|
143
145
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
146
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
144
147
|
* extractionConfig: {// Union: only one key present
|
|
145
148
|
* llmExtractionConfig: {
|
|
146
149
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -219,6 +222,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
219
222
|
* {
|
|
220
223
|
* key: "STRING_VALUE", // required
|
|
221
224
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
225
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
222
226
|
* extractionConfig: {// Union: only one key present
|
|
223
227
|
* llmExtractionConfig: {
|
|
224
228
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -273,6 +277,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
273
277
|
* {
|
|
274
278
|
* key: "STRING_VALUE", // required
|
|
275
279
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
280
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
276
281
|
* extractionConfig: {// Union: only one key present
|
|
277
282
|
* llmExtractionConfig: {
|
|
278
283
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -350,7 +355,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
350
355
|
* // encryptionKeyArn: "STRING_VALUE",
|
|
351
356
|
* // memoryExecutionRoleArn: "STRING_VALUE",
|
|
352
357
|
* // eventExpiryDuration: Number("int"), // required
|
|
353
|
-
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING", // required
|
|
358
|
+
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "UPDATING", // required
|
|
354
359
|
* // failureReason: "STRING_VALUE",
|
|
355
360
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
356
361
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -413,6 +418,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
413
418
|
* // { // MetadataSchemaEntry
|
|
414
419
|
* // key: "STRING_VALUE", // required
|
|
415
420
|
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
421
|
+
* // extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
416
422
|
* // extractionConfig: { // ExtractionConfig Union: only one key present
|
|
417
423
|
* // llmExtractionConfig: { // LlmExtractionConfig
|
|
418
424
|
* // llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -453,6 +459,7 @@ declare const CreateMemoryCommand_base: {
|
|
|
453
459
|
* // {
|
|
454
460
|
* // key: "STRING_VALUE", // required
|
|
455
461
|
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
462
|
+
* // extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
456
463
|
* // extractionConfig: {// Union: only one key present
|
|
457
464
|
* // llmExtractionConfig: {
|
|
458
465
|
* // llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -29,31 +29,7 @@ declare const DeleteDatasetCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Deletes a dataset version or an entire dataset
|
|
33
|
-
*
|
|
34
|
-
* **State transitions:**
|
|
35
|
-
* - If `datasetVersion` is absent (full delete): status transitions to DELETING immediately.
|
|
36
|
-
* - If `datasetVersion` is provided (version-specific delete): status transitions to UPDATING.
|
|
37
|
-
*
|
|
38
|
-
* **State guard (full delete):** Returns ConflictException (DATASET_NOT_READY) if the
|
|
39
|
-
* dataset status is in \{CREATING, UPDATING\}. Deletion is allowed from ACTIVE, CREATE_FAILED,
|
|
40
|
-
* UPDATE_FAILED, and DELETE_FAILED states.
|
|
41
|
-
*
|
|
42
|
-
* **State guard (version-specific delete):** Returns ConflictException (DATASET_NOT_READY) if
|
|
43
|
-
* the dataset status is not in \{ACTIVE, CREATE_FAILED, UPDATE_FAILED\}.
|
|
44
|
-
*
|
|
45
|
-
* Fails with ConflictException (REFERENCED_BY_EVAL_JOB) if referenced by an active
|
|
46
|
-
* evaluation job (full delete only).
|
|
47
|
-
*
|
|
48
|
-
* If the delete workflow fails after retries, status is set to DELETE_FAILED (full delete)
|
|
49
|
-
* or UPDATE_FAILED (version-specific delete).
|
|
50
|
-
* Calling DeleteDataset on a DELETE_FAILED dataset re-triggers the delete workflow
|
|
51
|
-
* (idempotent retry path).
|
|
52
|
-
*
|
|
53
|
-
* **Version parameter:**
|
|
54
|
-
* - If `datasetVersion` is absent: deletes ALL versions and the Dataset record itself.
|
|
55
|
-
* - If `datasetVersion` is provided: deletes only that specific DatasetVersion.
|
|
56
|
-
* Returns ResourceNotFoundException if the specified version does not exist.
|
|
32
|
+
* <p> Deletes a dataset version or an entire dataset asynchronously. If <code>datasetVersion</code> is absent, deletes all versions and the dataset record itself. If provided, deletes only that specific version. </p>
|
|
57
33
|
* @example
|
|
58
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
59
35
|
* ```javascript
|
|
@@ -29,17 +29,7 @@ declare const DeleteDatasetExamplesCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Deletes specific examples by ID from DRAFT.
|
|
33
|
-
*
|
|
34
|
-
* **Validation:** All example IDs are validated before any deletes occur. If any ID
|
|
35
|
-
* does not exist in DRAFT, the entire batch is rejected with ResourceNotFoundException —
|
|
36
|
-
* no examples are deleted (all-or-nothing semantics).
|
|
37
|
-
*
|
|
38
|
-
* **Asynchronous:** Operates in-place on DRAFT. No version bump occurs.
|
|
39
|
-
* Use CreateDatasetVersion to publish DRAFT as a new numbered version.
|
|
40
|
-
*
|
|
41
|
-
* **State guard:** Returns ConflictException (DATASET_NOT_READY) if the dataset
|
|
42
|
-
* status is not in \{DRAFT, ACTIVE\}.
|
|
32
|
+
* <p> Deletes specific examples by ID from DRAFT. All example IDs are validated before any deletes occur. If any ID does not exist in DRAFT, the entire batch is rejected (all-or-nothing semantics). </p>
|
|
43
33
|
* @example
|
|
44
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
35
|
* ```javascript
|
|
@@ -46,7 +46,7 @@ declare const DeleteMemoryCommand_base: {
|
|
|
46
46
|
* const response = await client.send(command);
|
|
47
47
|
* // { // DeleteMemoryOutput
|
|
48
48
|
* // memoryId: "STRING_VALUE", // required
|
|
49
|
-
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
49
|
+
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "UPDATING",
|
|
50
50
|
* // };
|
|
51
51
|
*
|
|
52
52
|
* ```
|
|
@@ -29,25 +29,7 @@ declare const GetDatasetCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Retrieves dataset metadata
|
|
33
|
-
*
|
|
34
|
-
* Use `?datasetVersion=DRAFT` or `?datasetVersion=N` to retrieve a specific version's metadata.
|
|
35
|
-
* If absent, defaults to DRAFT (the mutable working copy).
|
|
36
|
-
* Returns ResourceNotFoundException if the specified version is not found.
|
|
37
|
-
*
|
|
38
|
-
* **Initial state after CreateDataset:** When CreateDataset completes successfully
|
|
39
|
-
* (status transitions to ACTIVE), only a DRAFT working copy exists. No published
|
|
40
|
-
* versions exist until CreateDatasetVersion is called. At this point draftStatus is
|
|
41
|
-
* MODIFIED because the DRAFT has content that has never been published.
|
|
42
|
-
*
|
|
43
|
-
* **Default version behavior:** When `datasetVersion` is omitted, the operation
|
|
44
|
-
* returns the DRAFT working copy. To retrieve a specific published version, pass
|
|
45
|
-
* the version number as a string (e.g. `?datasetVersion=1`).
|
|
46
|
-
*
|
|
47
|
-
* **State guard:** Allowed for all statuses including DELETING. Returns the dataset
|
|
48
|
-
* record with its current status so callers can observe the deletion in progress.
|
|
49
|
-
*
|
|
50
|
-
* For paginated example IDs use ListDatasetExamples.
|
|
32
|
+
* <p> Retrieves dataset metadata. Use the <code>datasetVersion</code> query parameter to retrieve a specific version's metadata. If absent, defaults to DRAFT. For paginated example content, use <code>ListDatasetExamples</code>. </p>
|
|
51
33
|
* @example
|
|
52
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
53
35
|
* ```javascript
|
|
@@ -53,7 +53,7 @@ declare const GetMemoryCommand_base: {
|
|
|
53
53
|
* // encryptionKeyArn: "STRING_VALUE",
|
|
54
54
|
* // memoryExecutionRoleArn: "STRING_VALUE",
|
|
55
55
|
* // eventExpiryDuration: Number("int"), // required
|
|
56
|
-
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING", // required
|
|
56
|
+
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "UPDATING", // required
|
|
57
57
|
* // failureReason: "STRING_VALUE",
|
|
58
58
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
59
59
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -116,6 +116,7 @@ declare const GetMemoryCommand_base: {
|
|
|
116
116
|
* // { // MetadataSchemaEntry
|
|
117
117
|
* // key: "STRING_VALUE", // required
|
|
118
118
|
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
119
|
+
* // extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
119
120
|
* // extractionConfig: { // ExtractionConfig Union: only one key present
|
|
120
121
|
* // llmExtractionConfig: { // LlmExtractionConfig
|
|
121
122
|
* // llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -156,6 +157,7 @@ declare const GetMemoryCommand_base: {
|
|
|
156
157
|
* // {
|
|
157
158
|
* // key: "STRING_VALUE", // required
|
|
158
159
|
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
160
|
+
* // extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
159
161
|
* // extractionConfig: {// Union: only one key present
|
|
160
162
|
* // llmExtractionConfig: {
|
|
161
163
|
* // llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -29,15 +29,7 @@ declare const ListDatasetExamplesCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Returns paginated examples from the dataset.
|
|
33
|
-
*
|
|
34
|
-
* **Version-pinned pagination:** The server embeds the resolved version in the `nextToken`.
|
|
35
|
-
* Once pagination begins, all subsequent pages are pinned to that version regardless of
|
|
36
|
-
* concurrent mutations or whether `datasetVersion` is passed on subsequent requests. The `datasetVersion`
|
|
37
|
-
* query parameter is only used for the first request (when `nextToken` is absent); if omitted,
|
|
38
|
-
* defaults to DRAFT.
|
|
39
|
-
*
|
|
40
|
-
* **State guard:** Allowed for all statuses including DELETING.
|
|
32
|
+
* <p> Returns paginated examples from the dataset. The server embeds the resolved version in the pagination token. Once pagination begins, all subsequent pages are pinned to that version regardless of concurrent mutations. </p>
|
|
41
33
|
* @example
|
|
42
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
35
|
* ```javascript
|
|
@@ -29,10 +29,7 @@ declare const ListDatasetVersionsCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Lists all published versions of a dataset, sorted by version number descending
|
|
33
|
-
* (newest first). Does not include the DRAFT working copy.
|
|
34
|
-
*
|
|
35
|
-
* **State guard:** Allowed for all statuses including DELETING.
|
|
32
|
+
* <p> Lists all published versions of a dataset, sorted by version number descending (newest first). Does not include the DRAFT working copy. </p>
|
|
36
33
|
* @example
|
|
37
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
35
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const ListDatasetsCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Lists all datasets in the caller's account, paginated.
|
|
32
|
+
* <p> Lists all datasets in the caller's account, paginated. </p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -49,7 +49,7 @@ declare const ListMemoriesCommand_base: {
|
|
|
49
49
|
* // { // MemorySummary
|
|
50
50
|
* // arn: "STRING_VALUE",
|
|
51
51
|
* // id: "STRING_VALUE",
|
|
52
|
-
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
52
|
+
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "UPDATING",
|
|
53
53
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
54
54
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
55
55
|
* // },
|
|
@@ -29,13 +29,7 @@ declare const UpdateDatasetCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Updates a dataset's metadata. Synchronous operation.
|
|
33
|
-
* Only provided fields are updated; omitted fields remain unchanged.
|
|
34
|
-
*
|
|
35
|
-
* To modify dataset content, use AddDatasetExamples, UpdateDatasetExamples,
|
|
36
|
-
* or DeleteDatasetExamples.
|
|
37
|
-
*
|
|
38
|
-
* Cannot update: name, schemaType, kmsKeyArn (immutable after creation).
|
|
32
|
+
* <p> Updates a dataset's metadata. Synchronous operation. Only provided fields are updated; omitted fields remain unchanged. To modify dataset content, use <code>AddDatasetExamples</code>, <code>UpdateDatasetExamples</code>, or <code>DeleteDatasetExamples</code>. </p>
|
|
39
33
|
* @example
|
|
40
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
35
|
* ```javascript
|
|
@@ -29,22 +29,7 @@ declare const UpdateDatasetExamplesCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Updates multiple existing examples in-place on DRAFT.
|
|
33
|
-
*
|
|
34
|
-
* **Validation:** All examples are validated against the dataset's schemaType before any
|
|
35
|
-
* writes occur. If any example fails validation, the entire batch is rejected with
|
|
36
|
-
* ValidationException — no examples are updated (all-or-nothing semantics).
|
|
37
|
-
*
|
|
38
|
-
* **Asynchronous:** Operates in-place on DRAFT. No version bump occurs.
|
|
39
|
-
* Use CreateDatasetVersion to publish DRAFT as a new numbered version.
|
|
40
|
-
*
|
|
41
|
-
* Fails with ResourceNotFoundException if any exampleId does not exist in DRAFT.
|
|
42
|
-
* To add new examples, use AddDatasetExamples instead.
|
|
43
|
-
*
|
|
44
|
-
* **State guard:** Returns ConflictException (DATASET_NOT_READY) if the dataset
|
|
45
|
-
* status is not in \{DRAFT, ACTIVE\}.
|
|
46
|
-
*
|
|
47
|
-
* **Request size limit:** Max 5 MB total request body. Max 1000 examples per call.
|
|
32
|
+
* <p> Updates multiple existing examples in-place on DRAFT. All examples are validated against the dataset's schema type before any writes occur. If any example fails validation, the entire batch is rejected (all-or-nothing semantics). </p>
|
|
48
33
|
* @example
|
|
49
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
50
35
|
* ```javascript
|
|
@@ -61,6 +61,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
61
61
|
* { // MetadataSchemaEntry
|
|
62
62
|
* key: "STRING_VALUE", // required
|
|
63
63
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
64
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
64
65
|
* extractionConfig: { // ExtractionConfig Union: only one key present
|
|
65
66
|
* llmExtractionConfig: { // LlmExtractionConfig
|
|
66
67
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -102,6 +103,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
102
103
|
* {
|
|
103
104
|
* key: "STRING_VALUE", // required
|
|
104
105
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
106
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
105
107
|
* extractionConfig: {// Union: only one key present
|
|
106
108
|
* llmExtractionConfig: {
|
|
107
109
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -141,6 +143,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
141
143
|
* {
|
|
142
144
|
* key: "STRING_VALUE", // required
|
|
143
145
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
146
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
144
147
|
* extractionConfig: {// Union: only one key present
|
|
145
148
|
* llmExtractionConfig: {
|
|
146
149
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -219,6 +222,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
219
222
|
* {
|
|
220
223
|
* key: "STRING_VALUE", // required
|
|
221
224
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
225
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
222
226
|
* extractionConfig: {// Union: only one key present
|
|
223
227
|
* llmExtractionConfig: {
|
|
224
228
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -273,6 +277,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
273
277
|
* {
|
|
274
278
|
* key: "STRING_VALUE", // required
|
|
275
279
|
* type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
280
|
+
* extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
276
281
|
* extractionConfig: {// Union: only one key present
|
|
277
282
|
* llmExtractionConfig: {
|
|
278
283
|
* llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -436,7 +441,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
436
441
|
* // encryptionKeyArn: "STRING_VALUE",
|
|
437
442
|
* // memoryExecutionRoleArn: "STRING_VALUE",
|
|
438
443
|
* // eventExpiryDuration: Number("int"), // required
|
|
439
|
-
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING", // required
|
|
444
|
+
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "UPDATING", // required
|
|
440
445
|
* // failureReason: "STRING_VALUE",
|
|
441
446
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
442
447
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -499,6 +504,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
499
504
|
* // { // MetadataSchemaEntry
|
|
500
505
|
* // key: "STRING_VALUE", // required
|
|
501
506
|
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
507
|
+
* // extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
502
508
|
* // extractionConfig: { // ExtractionConfig Union: only one key present
|
|
503
509
|
* // llmExtractionConfig: { // LlmExtractionConfig
|
|
504
510
|
* // llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -539,6 +545,7 @@ declare const UpdateMemoryCommand_base: {
|
|
|
539
545
|
* // {
|
|
540
546
|
* // key: "STRING_VALUE", // required
|
|
541
547
|
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
548
|
+
* // extractionType: "LLM_INFERRED" || "STRICTLY_CONSISTENT",
|
|
542
549
|
* // extractionConfig: {// Union: only one key present
|
|
543
550
|
* // llmExtractionConfig: {
|
|
544
551
|
* // llmExtractionInstruction: "STRING_VALUE",
|
|
@@ -17,40 +17,31 @@ export type ActorTokenContentType = (typeof ActorTokenContentType)[keyof typeof
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const DatasetStatus: {
|
|
19
19
|
/**
|
|
20
|
-
* Dataset is stable. All operations are allowed per
|
|
21
|
-
* failureReason is cleared.
|
|
20
|
+
* <p> Dataset is stable. All operations are allowed per operation-specific guards. </p>
|
|
22
21
|
*/
|
|
23
22
|
readonly ACTIVE: "ACTIVE";
|
|
24
23
|
/**
|
|
25
|
-
* Initial ingestion failed. DRAFT record exists but contains no examples.
|
|
26
|
-
* failureReason is populated. AddDatasetExamples and DeleteDatasetExamples allowed.
|
|
27
|
-
* UpdateDatasetExamples and CreateDatasetVersion blocked (no examples exist).
|
|
24
|
+
* <p> Initial ingestion failed. DRAFT record exists but contains no examples. </p>
|
|
28
25
|
*/
|
|
29
26
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
30
27
|
/**
|
|
31
|
-
* CreateDataset async ingestion in progress.
|
|
32
|
-
* All writes are blocked. Poll GetDataset until status resolves to ACTIVE or CREATE_FAILED.
|
|
28
|
+
* <p> CreateDataset async ingestion in progress. All writes are blocked. </p>
|
|
33
29
|
*/
|
|
34
30
|
readonly CREATING: "CREATING";
|
|
35
31
|
/**
|
|
36
|
-
* Delete failed after retries. Dataset record
|
|
37
|
-
* failureReason is populated. Only DeleteDataset (retry) is allowed.
|
|
32
|
+
* <p> Delete failed after retries. Dataset record may be in an inconsistent state. </p>
|
|
38
33
|
*/
|
|
39
34
|
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
40
35
|
/**
|
|
41
|
-
* Full or version-specific delete is in progress.
|
|
42
|
-
* Read operations (GetDataset, ListDatasetExamples) are still allowed.
|
|
36
|
+
* <p> Full or version-specific delete is in progress. Read operations are still allowed. </p>
|
|
43
37
|
*/
|
|
44
38
|
readonly DELETING: "DELETING";
|
|
45
39
|
/**
|
|
46
|
-
* Last example mutation or CreateDatasetVersion failed.
|
|
47
|
-
* DRAFT may be partially modified. failureReason is populated.
|
|
48
|
-
* All example mutations and CreateDatasetVersion allowed for retry.
|
|
40
|
+
* <p> Last example mutation or CreateDatasetVersion failed. DRAFT may be partially modified. </p>
|
|
49
41
|
*/
|
|
50
42
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
51
43
|
/**
|
|
52
|
-
* An async example mutation or CreateDatasetVersion is in progress.
|
|
53
|
-
* All writes are blocked. Poll GetDataset until status resolves.
|
|
44
|
+
* <p> An async example mutation or CreateDatasetVersion is in progress. All writes are blocked. </p>
|
|
54
45
|
*/
|
|
55
46
|
readonly UPDATING: "UPDATING";
|
|
56
47
|
};
|
|
@@ -314,14 +305,11 @@ export type ConfigurationBundleStatus = (typeof ConfigurationBundleStatus)[keyof
|
|
|
314
305
|
*/
|
|
315
306
|
export declare const DatasetSchemaType: {
|
|
316
307
|
/**
|
|
317
|
-
* AgentCore predefined evaluation schema, version 1. Dataset with pre-written inputs per conversation turn.
|
|
318
|
-
* Required: input. Optional: expectedResponse, assertions, expectedTrajectory.
|
|
308
|
+
* <p> AgentCore predefined evaluation schema, version 1. Dataset with pre-written inputs per conversation turn. </p>
|
|
319
309
|
*/
|
|
320
310
|
readonly AGENTCORE_EVALUATION_PREDEFINED_V1: "AGENTCORE_EVALUATION_PREDEFINED_V1";
|
|
321
311
|
/**
|
|
322
|
-
* AgentCore simulated evaluation schema, version 1. Dataset for synthetic data generation.
|
|
323
|
-
* Each example is a Scenario that a simulator uses to generate full conversations.
|
|
324
|
-
* Required: input. Optional: name (→exampleId), actor_profile, max_turns, assertions.
|
|
312
|
+
* <p> AgentCore simulated evaluation schema, version 1. Dataset for synthetic data generation where each example is a scenario used to generate full conversations. </p>
|
|
325
313
|
*/
|
|
326
314
|
readonly AGENTCORE_EVALUATION_SIMULATED_V1: "AGENTCORE_EVALUATION_SIMULATED_V1";
|
|
327
315
|
};
|
|
@@ -335,13 +323,11 @@ export type DatasetSchemaType = (typeof DatasetSchemaType)[keyof typeof DatasetS
|
|
|
335
323
|
*/
|
|
336
324
|
export declare const DraftStatus: {
|
|
337
325
|
/**
|
|
338
|
-
* DRAFT has changes not yet reflected in any published version, or no versions
|
|
339
|
-
* have been published yet.
|
|
326
|
+
* <p> DRAFT has changes not yet reflected in any published version, or no versions have been published yet. </p>
|
|
340
327
|
*/
|
|
341
328
|
readonly MODIFIED: "MODIFIED";
|
|
342
329
|
/**
|
|
343
|
-
* DRAFT content matches the latest published version exactly.
|
|
344
|
-
* Any example mutation transitions draftStatus back to MODIFIED.
|
|
330
|
+
* <p> DRAFT content matches the latest published version exactly. </p>
|
|
345
331
|
*/
|
|
346
332
|
readonly UNMODIFIED: "UNMODIFIED";
|
|
347
333
|
};
|
|
@@ -744,6 +730,18 @@ export declare const MetadataValueType: {
|
|
|
744
730
|
* @public
|
|
745
731
|
*/
|
|
746
732
|
export type MetadataValueType = (typeof MetadataValueType)[keyof typeof MetadataValueType];
|
|
733
|
+
/**
|
|
734
|
+
* @public
|
|
735
|
+
* @enum
|
|
736
|
+
*/
|
|
737
|
+
export declare const ExtractionType: {
|
|
738
|
+
readonly LLM_INFERRED: "LLM_INFERRED";
|
|
739
|
+
readonly STRICTLY_CONSISTENT: "STRICTLY_CONSISTENT";
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* @public
|
|
743
|
+
*/
|
|
744
|
+
export type ExtractionType = (typeof ExtractionType)[keyof typeof ExtractionType];
|
|
747
745
|
/**
|
|
748
746
|
* @public
|
|
749
747
|
* @enum
|
|
@@ -776,6 +774,7 @@ export declare const MemoryStatus: {
|
|
|
776
774
|
readonly CREATING: "CREATING";
|
|
777
775
|
readonly DELETING: "DELETING";
|
|
778
776
|
readonly FAILED: "FAILED";
|
|
777
|
+
readonly UPDATING: "UPDATING";
|
|
779
778
|
};
|
|
780
779
|
/**
|
|
781
780
|
* @public
|
|
@@ -290,29 +290,29 @@ export declare namespace Action {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
293
|
-
* Inline examples provided directly in the request body.
|
|
293
|
+
* <p> Inline examples provided directly in the request body. </p>
|
|
294
294
|
* @public
|
|
295
295
|
*/
|
|
296
296
|
export interface InlineExamplesSource {
|
|
297
297
|
/**
|
|
298
|
-
* Examples to add. Each example is assigned an auto-generated UUID.
|
|
298
|
+
* <p> Examples to add. Each example is assigned an auto-generated UUID. </p>
|
|
299
299
|
* @public
|
|
300
300
|
*/
|
|
301
301
|
examples: __DocumentType[] | undefined;
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* S3 location of a JSONL file containing dataset examples.
|
|
304
|
+
* <p> Amazon S3 location of a JSONL file containing dataset examples. </p>
|
|
305
305
|
* @public
|
|
306
306
|
*/
|
|
307
307
|
export interface S3Source {
|
|
308
308
|
/**
|
|
309
|
-
* S3 URI of the JSONL file (
|
|
309
|
+
* <p> Amazon S3 URI of the JSONL file (for example, <code>s3://my-bucket/path/to/examples.jsonl</code>). </p>
|
|
310
310
|
* @public
|
|
311
311
|
*/
|
|
312
312
|
s3Uri: string | undefined;
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
|
-
* Source of examples to add to the dataset.
|
|
315
|
+
* <p> Source of examples to add to the dataset. </p>
|
|
316
316
|
* @public
|
|
317
317
|
*/
|
|
318
318
|
export type DataSourceType = DataSourceType.InlineExamplesMember | DataSourceType.S3SourceMember | DataSourceType.$UnknownMember;
|
|
@@ -321,7 +321,7 @@ export type DataSourceType = DataSourceType.InlineExamplesMember | DataSourceTyp
|
|
|
321
321
|
*/
|
|
322
322
|
export declare namespace DataSourceType {
|
|
323
323
|
/**
|
|
324
|
-
* Inline examples provided directly in the request body.
|
|
324
|
+
* <p> Inline examples provided directly in the request body. </p>
|
|
325
325
|
* @public
|
|
326
326
|
*/
|
|
327
327
|
interface InlineExamplesMember {
|
|
@@ -330,8 +330,7 @@ export declare namespace DataSourceType {
|
|
|
330
330
|
$unknown?: never;
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
333
|
-
* S3 URI pointing to a JSONL file in the customer's bucket.
|
|
334
|
-
* The service reads this file using the caller's FAS credentials.
|
|
333
|
+
* <p> Amazon S3 URI pointing to a JSONL file in the customer's bucket. </p>
|
|
335
334
|
* @public
|
|
336
335
|
*/
|
|
337
336
|
interface S3SourceMember {
|
|
@@ -372,8 +371,7 @@ export interface AddDatasetExamplesRequest {
|
|
|
372
371
|
*/
|
|
373
372
|
clientToken?: string | undefined;
|
|
374
373
|
/**
|
|
375
|
-
* Source of examples to add. Provide either inline examples or an S3 URI
|
|
376
|
-
* pointing to a JSONL file.
|
|
374
|
+
* <p> Source of examples to add. Provide either inline examples or an S3 URI pointing to a JSONL file. </p>
|
|
377
375
|
* @public
|
|
378
376
|
*/
|
|
379
377
|
source: DataSourceType | undefined;
|
|
@@ -408,7 +406,7 @@ export interface AddDatasetExamplesResponse {
|
|
|
408
406
|
*/
|
|
409
407
|
updatedAt: Date | undefined;
|
|
410
408
|
/**
|
|
411
|
-
* IDs of all added examples (auto-generated UUIDs).
|
|
409
|
+
* <p> IDs of all added examples (auto-generated UUIDs). </p>
|
|
412
410
|
* @public
|
|
413
411
|
*/
|
|
414
412
|
exampleIds: string[] | undefined;
|
|
@@ -3663,13 +3661,12 @@ export interface UpdateConfigurationBundleResponse {
|
|
|
3663
3661
|
*/
|
|
3664
3662
|
export interface CreateDatasetRequest {
|
|
3665
3663
|
/**
|
|
3666
|
-
*
|
|
3664
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
|
|
3667
3665
|
* @public
|
|
3668
3666
|
*/
|
|
3669
3667
|
clientToken?: string | undefined;
|
|
3670
3668
|
/**
|
|
3671
|
-
* Human-readable name for the dataset.
|
|
3672
|
-
* Immutable after creation.
|
|
3669
|
+
* <p> Human-readable name for the dataset. Must be unique within the account. Immutable after creation. </p>
|
|
3673
3670
|
* @public
|
|
3674
3671
|
*/
|
|
3675
3672
|
datasetName: string | undefined;
|
|
@@ -3679,18 +3676,17 @@ export interface CreateDatasetRequest {
|
|
|
3679
3676
|
*/
|
|
3680
3677
|
description?: string | undefined;
|
|
3681
3678
|
/**
|
|
3682
|
-
* Source of initial examples. Provide either inline examples or an S3 URI
|
|
3683
|
-
* pointing to a JSONL file.
|
|
3679
|
+
* <p> Source of initial examples. Provide either inline examples or an S3 URI pointing to a JSONL file. </p>
|
|
3684
3680
|
* @public
|
|
3685
3681
|
*/
|
|
3686
3682
|
source: DataSourceType | undefined;
|
|
3687
3683
|
/**
|
|
3688
|
-
* Versioned schema type governing the structure of examples. Immutable after creation.
|
|
3684
|
+
* <p> Versioned schema type governing the structure of examples. Immutable after creation. </p>
|
|
3689
3685
|
* @public
|
|
3690
3686
|
*/
|
|
3691
3687
|
schemaType: DatasetSchemaType | undefined;
|
|
3692
3688
|
/**
|
|
3693
|
-
* Optional
|
|
3689
|
+
* <p> Optional KMS key ARN for server-side encryption on service Amazon S3 writes. </p>
|
|
3694
3690
|
* @public
|
|
3695
3691
|
*/
|
|
3696
3692
|
kmsKeyArn?: string | undefined;
|
|
@@ -3715,8 +3711,7 @@ export interface CreateDatasetResponse {
|
|
|
3715
3711
|
*/
|
|
3716
3712
|
datasetId: string | undefined;
|
|
3717
3713
|
/**
|
|
3718
|
-
* Always CREATING immediately after this call.
|
|
3719
|
-
* Poll GetDataset until status == ACTIVE (draftStatus=MODIFIED) or CREATE_FAILED.
|
|
3714
|
+
* <p> Always CREATING immediately after this call. Poll <code>GetDataset</code> until status transitions to ACTIVE or CREATE_FAILED. </p>
|
|
3720
3715
|
* @public
|
|
3721
3716
|
*/
|
|
3722
3717
|
status: DatasetStatus | undefined;
|
|
@@ -3756,13 +3751,12 @@ export interface CreateDatasetVersionResponse {
|
|
|
3756
3751
|
*/
|
|
3757
3752
|
datasetId: string | undefined;
|
|
3758
3753
|
/**
|
|
3759
|
-
* Always UPDATING immediately after this call.
|
|
3760
|
-
* Poll GetDataset until status == ACTIVE (draftStatus=UNMODIFIED) or UPDATE_FAILED.
|
|
3754
|
+
* <p> Always UPDATING immediately after this call. Poll <code>GetDataset</code> until status transitions to ACTIVE or UPDATE_FAILED. </p>
|
|
3761
3755
|
* @public
|
|
3762
3756
|
*/
|
|
3763
3757
|
status: DatasetStatus | undefined;
|
|
3764
3758
|
/**
|
|
3765
|
-
* The version being created.
|
|
3759
|
+
* <p> The version number being created. </p>
|
|
3766
3760
|
* @public
|
|
3767
3761
|
*/
|
|
3768
3762
|
datasetVersion: string | undefined;
|
|
@@ -3782,8 +3776,7 @@ export interface DeleteDatasetRequest {
|
|
|
3782
3776
|
*/
|
|
3783
3777
|
datasetId: string | undefined;
|
|
3784
3778
|
/**
|
|
3785
|
-
* Optional version to delete.
|
|
3786
|
-
* Returns ResourceNotFoundException if the specified version does not exist.
|
|
3779
|
+
* <p> Optional version to delete. If absent, deletes the entire dataset. If provided, deletes only that specific version. </p>
|
|
3787
3780
|
* @public
|
|
3788
3781
|
*/
|
|
3789
3782
|
datasetVersion?: string | undefined;
|
|
@@ -3808,7 +3801,7 @@ export interface DeleteDatasetResponse {
|
|
|
3808
3801
|
*/
|
|
3809
3802
|
status: DatasetStatus | undefined;
|
|
3810
3803
|
/**
|
|
3811
|
-
* The version deleted.
|
|
3804
|
+
* <p> The version that was deleted. </p>
|
|
3812
3805
|
* @public
|
|
3813
3806
|
*/
|
|
3814
3807
|
datasetVersion: string | undefined;
|
|
@@ -3878,7 +3871,7 @@ export interface GetDatasetRequest {
|
|
|
3878
3871
|
*/
|
|
3879
3872
|
datasetId: string | undefined;
|
|
3880
3873
|
/**
|
|
3881
|
-
* Version to retrieve: "DRAFT" or a version number. Defaults to DRAFT if absent.
|
|
3874
|
+
* <p> Version to retrieve: "DRAFT" or a version number. Defaults to DRAFT if absent. </p>
|
|
3882
3875
|
* @public
|
|
3883
3876
|
*/
|
|
3884
3877
|
datasetVersion?: string | undefined;
|
|
@@ -3898,7 +3891,7 @@ export interface GetDatasetResponse {
|
|
|
3898
3891
|
*/
|
|
3899
3892
|
datasetId: string | undefined;
|
|
3900
3893
|
/**
|
|
3901
|
-
* The resolved version: "DRAFT" (default) or the requested version number.
|
|
3894
|
+
* <p> The resolved version: "DRAFT" (default) or the requested version number. </p>
|
|
3902
3895
|
* @public
|
|
3903
3896
|
*/
|
|
3904
3897
|
datasetVersion: string | undefined;
|
|
@@ -3918,41 +3911,37 @@ export interface GetDatasetResponse {
|
|
|
3918
3911
|
*/
|
|
3919
3912
|
status: DatasetStatus | undefined;
|
|
3920
3913
|
/**
|
|
3921
|
-
* Publish synchronization state. Only authoritative when status
|
|
3922
|
-
* MODIFIED — DRAFT has unpublished changes (or no published versions yet).
|
|
3923
|
-
* UNMODIFIED — DRAFT matches the latest published version exactly.
|
|
3914
|
+
* <p> Publish synchronization state. Only authoritative when status is ACTIVE. MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED indicates DRAFT matches the latest published version. </p>
|
|
3924
3915
|
* @public
|
|
3925
3916
|
*/
|
|
3926
3917
|
draftStatus?: DraftStatus | undefined;
|
|
3927
3918
|
/**
|
|
3928
|
-
* Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED.
|
|
3919
|
+
* <p> Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED. Describes the reason for the failure. </p>
|
|
3929
3920
|
* @public
|
|
3930
3921
|
*/
|
|
3931
3922
|
failureReason?: string | undefined;
|
|
3932
3923
|
/**
|
|
3933
|
-
* The schema type declared at create time. Immutable after creation.
|
|
3924
|
+
* <p> The schema type declared at create time. Immutable after creation. </p>
|
|
3934
3925
|
* @public
|
|
3935
3926
|
*/
|
|
3936
3927
|
schemaType: DatasetSchemaType | undefined;
|
|
3937
3928
|
/**
|
|
3938
|
-
*
|
|
3929
|
+
* <p> KMS key ARN used for server-side encryption on service Amazon S3 writes, if configured. </p>
|
|
3939
3930
|
* @public
|
|
3940
3931
|
*/
|
|
3941
3932
|
kmsKeyArn?: string | undefined;
|
|
3942
3933
|
/**
|
|
3943
|
-
*
|
|
3934
|
+
* <p> The number of examples in the DRAFT. </p>
|
|
3944
3935
|
* @public
|
|
3945
3936
|
*/
|
|
3946
3937
|
exampleCount: number | undefined;
|
|
3947
3938
|
/**
|
|
3948
|
-
* Presigned S3 URL to download the consolidated dataset
|
|
3949
|
-
* version (DRAFT or published). TTL: 5 minutes. Omitted if the file does not yet exist
|
|
3950
|
-
* (e.g. during CREATING) or on presign failure.
|
|
3939
|
+
* <p> Presigned Amazon S3 URL to download the consolidated dataset file for the resolved version. Expires after 5 minutes. Omitted if the file does not yet exist. </p>
|
|
3951
3940
|
* @public
|
|
3952
3941
|
*/
|
|
3953
3942
|
downloadUrl?: string | undefined;
|
|
3954
3943
|
/**
|
|
3955
|
-
* Expiry timestamp for
|
|
3944
|
+
* <p> Expiry timestamp for the download URL. </p>
|
|
3956
3945
|
* @public
|
|
3957
3946
|
*/
|
|
3958
3947
|
downloadUrlExpiresAt?: Date | undefined;
|
|
@@ -3982,16 +3971,12 @@ export interface ListDatasetExamplesRequest {
|
|
|
3982
3971
|
*/
|
|
3983
3972
|
datasetId: string | undefined;
|
|
3984
3973
|
/**
|
|
3985
|
-
* Version to paginate: "DRAFT" or a version number. Defaults to DRAFT if absent.
|
|
3986
|
-
* Only used on the first request (when nextToken is absent). For subsequent pages,
|
|
3987
|
-
* the version is extracted from the nextToken and this parameter is ignored.
|
|
3974
|
+
* <p> Version to paginate: "DRAFT" or a version number. Defaults to DRAFT if absent. Only used on the first request; for subsequent pages, the version is extracted from the pagination token. </p>
|
|
3988
3975
|
* @public
|
|
3989
3976
|
*/
|
|
3990
3977
|
datasetVersion?: string | undefined;
|
|
3991
3978
|
/**
|
|
3992
|
-
* Maximum number of examples to return per page.
|
|
3993
|
-
* Response size is validated against 5 MB limit after reading.
|
|
3994
|
-
* For bulk access to all examples, use the `downloadUrl` field from GetDataset.
|
|
3979
|
+
* <p> Maximum number of examples to return per page. </p>
|
|
3995
3980
|
* @public
|
|
3996
3981
|
*/
|
|
3997
3982
|
maxResults?: number | undefined;
|
|
@@ -4016,13 +4001,12 @@ export interface ListDatasetExamplesResponse {
|
|
|
4016
4001
|
*/
|
|
4017
4002
|
datasetId: string | undefined;
|
|
4018
4003
|
/**
|
|
4019
|
-
* The version returned.
|
|
4004
|
+
* <p> The version returned. </p>
|
|
4020
4005
|
* @public
|
|
4021
4006
|
*/
|
|
4022
4007
|
datasetVersion: string | undefined;
|
|
4023
4008
|
/**
|
|
4024
|
-
* Paginated example content. Each element is a JSON object containing at least
|
|
4025
|
-
* an `exampleId` field plus the schema-specific content fields.
|
|
4009
|
+
* <p> Paginated example content. Each element is a JSON object containing at least an <code>exampleId</code> field plus the schema-specific content fields. </p>
|
|
4026
4010
|
* @public
|
|
4027
4011
|
*/
|
|
4028
4012
|
examples: __DocumentType[] | undefined;
|
|
@@ -4078,7 +4062,7 @@ export interface DatasetSummary {
|
|
|
4078
4062
|
*/
|
|
4079
4063
|
status: DatasetStatus | undefined;
|
|
4080
4064
|
/**
|
|
4081
|
-
* Publish synchronization state. Only authoritative when status
|
|
4065
|
+
* <p> Publish synchronization state. Only authoritative when status is ACTIVE. </p>
|
|
4082
4066
|
* @public
|
|
4083
4067
|
*/
|
|
4084
4068
|
draftStatus?: DraftStatus | undefined;
|
|
@@ -4144,18 +4128,7 @@ export interface ListDatasetVersionsRequest {
|
|
|
4144
4128
|
*/
|
|
4145
4129
|
export interface DatasetVersionSummary {
|
|
4146
4130
|
/**
|
|
4147
|
-
*
|
|
4148
|
-
*
|
|
4149
|
-
* "DRAFT" refers to the single mutable working copy of the dataset.
|
|
4150
|
-
* - Always present after CreateDataset ingestion completes.
|
|
4151
|
-
* - Content changes in-place when examples are added, updated, or deleted.
|
|
4152
|
-
* - NOT tracked as a DDB DatasetVersionItem — state lives in S3 (draft/manifest.json,
|
|
4153
|
-
* draft/dataset.jsonl) and the DatasetItem.exampleCount field.
|
|
4154
|
-
* - Default for read operations when ?datasetVersion is absent.
|
|
4155
|
-
*
|
|
4156
|
-
* An integer string (e.g. "1", "2", "3") refers to a published, immutable snapshot
|
|
4157
|
-
* created by CreateDatasetVersion. Once created, a published version's content never
|
|
4158
|
-
* changes. Stored as a DDB DatasetVersionItem (SK=VERSION#\{zero-padded-N\}).
|
|
4131
|
+
* <p> The version number of this published snapshot. </p>
|
|
4159
4132
|
* @public
|
|
4160
4133
|
*/
|
|
4161
4134
|
datasetVersion: string | undefined;
|
|
@@ -4240,11 +4213,7 @@ export interface UpdateDatasetExamplesRequest {
|
|
|
4240
4213
|
*/
|
|
4241
4214
|
clientToken?: string | undefined;
|
|
4242
4215
|
/**
|
|
4243
|
-
* Examples to update. Each element is a JSON object containing a required
|
|
4244
|
-
* string field identifying the existing example, plus the replacement fields. The
|
|
4245
|
-
* `exampleId` is extracted and removed before persistence; the remaining document is
|
|
4246
|
-
* validated against the dataset's schemaType.
|
|
4247
|
-
* Max 1000 examples per call. Total request body must not exceed 5 MB.
|
|
4216
|
+
* <p> Examples to update. Each element is a JSON object containing a required <code>exampleId</code> field identifying the existing example, plus the replacement fields. Maximum 1000 examples per call. </p>
|
|
4248
4217
|
* @public
|
|
4249
4218
|
*/
|
|
4250
4219
|
examples: __DocumentType[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActorTokenContentType, ClientAuthenticationMethodType, ContentLevel, ContentType, CredentialProviderVendorType, DescriptorType, FilterOperator, FindingType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, MetadataValueType, OnBehalfOfTokenExchangeGrantTypeType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PaymentConnectorStatus, PaymentConnectorType, PaymentCredentialProviderVendorType, PaymentManagerStatus, PaymentsAuthorizerType, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryAuthorizerType, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SecretSourceType, Status, SynchronizationType } from "./enums";
|
|
1
|
+
import type { ActorTokenContentType, ClientAuthenticationMethodType, ContentLevel, ContentType, CredentialProviderVendorType, DescriptorType, ExtractionType, FilterOperator, FindingType, MemoryStatus, MemoryStrategyStatus, MemoryStrategyType, MemoryView, MetadataValueType, OnBehalfOfTokenExchangeGrantTypeType, OnlineEvaluationConfigStatus, OnlineEvaluationExecutionStatus, OverrideType, PaymentConnectorStatus, PaymentConnectorType, PaymentCredentialProviderVendorType, PaymentManagerStatus, PaymentsAuthorizerType, PolicyEngineStatus, PolicyGenerationStatus, PolicyStatus, PolicyValidationMode, RegistryAuthorizerType, RegistryRecordCredentialProviderType, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus, SecretSourceType, Status, SynchronizationType } from "./enums";
|
|
2
2
|
import type { A2aDescriptor, AgentSkillsDescriptor, AuthorizerConfiguration, KmsConfiguration, PrivateEndpoint, PrivateEndpointOverride, Secret, SecretReference, SkillDefinition, SkillMdDefinition, UpdatedAuthorizerConfiguration, WorkloadIdentityDetails } from "./models_0";
|
|
3
3
|
/**
|
|
4
4
|
* <p>A metadata key indexed for filtering.</p>
|
|
@@ -220,7 +220,12 @@ export interface MetadataSchemaEntry {
|
|
|
220
220
|
*/
|
|
221
221
|
type?: MetadataValueType | undefined;
|
|
222
222
|
/**
|
|
223
|
-
* <p>
|
|
223
|
+
* <p>Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event.</p>
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
extractionType?: ExtractionType | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* <p>Configuration for extracting this metadata value from conversational content. Applicable only if extractionType is LLM inferred.</p>
|
|
224
229
|
* @public
|
|
225
230
|
*/
|
|
226
231
|
extractionConfig?: ExtractionConfig | undefined;
|
|
@@ -367,6 +367,12 @@ export declare const MetadataValueType: {
|
|
|
367
367
|
};
|
|
368
368
|
export type MetadataValueType =
|
|
369
369
|
(typeof MetadataValueType)[keyof typeof MetadataValueType];
|
|
370
|
+
export declare const ExtractionType: {
|
|
371
|
+
readonly LLM_INFERRED: "LLM_INFERRED";
|
|
372
|
+
readonly STRICTLY_CONSISTENT: "STRICTLY_CONSISTENT";
|
|
373
|
+
};
|
|
374
|
+
export type ExtractionType =
|
|
375
|
+
(typeof ExtractionType)[keyof typeof ExtractionType];
|
|
370
376
|
export declare const ContentLevel: {
|
|
371
377
|
readonly FULL_CONTENT: "FULL_CONTENT";
|
|
372
378
|
readonly METADATA_ONLY: "METADATA_ONLY";
|
|
@@ -381,6 +387,7 @@ export declare const MemoryStatus: {
|
|
|
381
387
|
readonly CREATING: "CREATING";
|
|
382
388
|
readonly DELETING: "DELETING";
|
|
383
389
|
readonly FAILED: "FAILED";
|
|
390
|
+
readonly UPDATING: "UPDATING";
|
|
384
391
|
};
|
|
385
392
|
export type MemoryStatus = (typeof MemoryStatus)[keyof typeof MemoryStatus];
|
|
386
393
|
export declare const OverrideType: {
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
ContentType,
|
|
6
6
|
CredentialProviderVendorType,
|
|
7
7
|
DescriptorType,
|
|
8
|
+
ExtractionType,
|
|
8
9
|
FilterOperator,
|
|
9
10
|
FindingType,
|
|
10
11
|
MemoryStatus,
|
|
@@ -133,6 +134,7 @@ export declare namespace ExtractionConfig {
|
|
|
133
134
|
export interface MetadataSchemaEntry {
|
|
134
135
|
key: string | undefined;
|
|
135
136
|
type?: MetadataValueType | undefined;
|
|
137
|
+
extractionType?: ExtractionType | undefined;
|
|
136
138
|
extractionConfig?: ExtractionConfig | undefined;
|
|
137
139
|
}
|
|
138
140
|
export interface MemoryRecordSchema {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1067.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",
|