@aws-sdk/client-bedrock-agentcore-control 3.1066.0 → 3.1068.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.
Files changed (41) hide show
  1. package/dist-cjs/index.js +12 -0
  2. package/dist-cjs/schemas/schemas_0.js +75 -53
  3. package/dist-es/models/enums.js +10 -0
  4. package/dist-es/schemas/schemas_0.js +59 -37
  5. package/dist-types/commands/AddDatasetExamplesCommand.d.ts +1 -13
  6. package/dist-types/commands/CreateConfigurationBundleCommand.d.ts +1 -0
  7. package/dist-types/commands/CreateDatasetCommand.d.ts +1 -4
  8. package/dist-types/commands/CreateDatasetVersionCommand.d.ts +1 -12
  9. package/dist-types/commands/CreateMemoryCommand.d.ts +8 -1
  10. package/dist-types/commands/CreateOnlineEvaluationConfigCommand.d.ts +11 -1
  11. package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteDatasetCommand.d.ts +1 -25
  13. package/dist-types/commands/DeleteDatasetExamplesCommand.d.ts +1 -11
  14. package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
  15. package/dist-types/commands/GetConfigurationBundleCommand.d.ts +1 -0
  16. package/dist-types/commands/GetConfigurationBundleVersionCommand.d.ts +1 -0
  17. package/dist-types/commands/GetDatasetCommand.d.ts +1 -19
  18. package/dist-types/commands/GetMemoryCommand.d.ts +3 -1
  19. package/dist-types/commands/GetOnlineEvaluationConfigCommand.d.ts +11 -1
  20. package/dist-types/commands/ListDatasetExamplesCommand.d.ts +1 -9
  21. package/dist-types/commands/ListDatasetVersionsCommand.d.ts +1 -4
  22. package/dist-types/commands/ListDatasetsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
  24. package/dist-types/commands/ListOnlineEvaluationConfigsCommand.d.ts +10 -0
  25. package/dist-types/commands/UpdateConfigurationBundleCommand.d.ts +1 -0
  26. package/dist-types/commands/UpdateDatasetCommand.d.ts +1 -7
  27. package/dist-types/commands/UpdateDatasetExamplesCommand.d.ts +1 -16
  28. package/dist-types/commands/UpdateMemoryCommand.d.ts +8 -1
  29. package/dist-types/commands/UpdateOnlineEvaluationConfigCommand.d.ts +10 -0
  30. package/dist-types/models/enums.d.ts +37 -25
  31. package/dist-types/models/models_0.d.ts +55 -66
  32. package/dist-types/models/models_1.d.ts +72 -44
  33. package/dist-types/models/models_2.d.ts +40 -0
  34. package/dist-types/schemas/schemas_0.d.ts +2 -0
  35. package/dist-types/ts3.4/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/models/enums.d.ts +14 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +4 -0
  38. package/dist-types/ts3.4/models/models_1.d.ts +19 -12
  39. package/dist-types/ts3.4/models/models_2.d.ts +10 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  41. package/package.json +1 -1
@@ -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. No presigned URLs in list results.
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
  * // },
@@ -56,6 +56,16 @@ declare const ListOnlineEvaluationConfigsCommand_base: {
56
56
  * // createdAt: new Date("TIMESTAMP"), // required
57
57
  * // updatedAt: new Date("TIMESTAMP"), // required
58
58
  * // failureReason: "STRING_VALUE",
59
+ * // insights: [ // InsightList
60
+ * // { // Insight
61
+ * // insightId: "STRING_VALUE", // required
62
+ * // },
63
+ * // ],
64
+ * // clusteringConfig: { // ClusteringConfig
65
+ * // frequencies: [ // ClusteringFrequencyList // required
66
+ * // "DAILY" || "WEEKLY" || "MONTHLY",
67
+ * // ],
68
+ * // },
59
69
  * // },
60
70
  * // ],
61
71
  * // nextToken: "STRING_VALUE",
@@ -57,6 +57,7 @@ declare const UpdateConfigurationBundleCommand_base: {
57
57
  * name: "STRING_VALUE", // required
58
58
  * arn: "STRING_VALUE",
59
59
  * },
60
+ * kmsKeyArn: "STRING_VALUE",
60
61
  * };
61
62
  * const command = new UpdateConfigurationBundleCommand(input);
62
63
  * const response = await client.send(command);
@@ -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",
@@ -76,6 +76,16 @@ declare const UpdateOnlineEvaluationConfigCommand_base: {
76
76
  * evaluatorId: "STRING_VALUE",
77
77
  * },
78
78
  * ],
79
+ * insights: [ // InsightList
80
+ * { // Insight
81
+ * insightId: "STRING_VALUE", // required
82
+ * },
83
+ * ],
84
+ * clusteringConfig: { // ClusteringConfig
85
+ * frequencies: [ // ClusteringFrequencyList // required
86
+ * "DAILY" || "WEEKLY" || "MONTHLY",
87
+ * ],
88
+ * },
79
89
  * evaluationExecutionRoleArn: "STRING_VALUE",
80
90
  * executionStatus: "ENABLED" || "DISABLED",
81
91
  * };
@@ -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 per-operation guards.
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/S3 may be in inconsistent state.
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
@@ -920,6 +919,19 @@ export declare const Status: {
920
919
  * @public
921
920
  */
922
921
  export type Status = (typeof Status)[keyof typeof Status];
922
+ /**
923
+ * @public
924
+ * @enum
925
+ */
926
+ export declare const ClusteringFrequency: {
927
+ readonly DAILY: "DAILY";
928
+ readonly MONTHLY: "MONTHLY";
929
+ readonly WEEKLY: "WEEKLY";
930
+ };
931
+ /**
932
+ * @public
933
+ */
934
+ export type ClusteringFrequency = (typeof ClusteringFrequency)[keyof typeof ClusteringFrequency];
923
935
  /**
924
936
  * @public
925
937
  * @enum