@aws-sdk/client-bedrock-agentcore 3.1067.0 → 3.1069.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 (34) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  2. package/dist-cjs/endpoint/bdd.js +2 -5
  3. package/dist-cjs/endpoint/endpointResolver.js +7 -11
  4. package/dist-cjs/index.js +284 -268
  5. package/dist-cjs/models/BedrockAgentCoreServiceException.js +4 -8
  6. package/dist-cjs/models/errors.js +29 -46
  7. package/dist-cjs/runtimeConfig.browser.js +24 -28
  8. package/dist-cjs/runtimeConfig.js +32 -36
  9. package/dist-cjs/runtimeConfig.native.js +4 -7
  10. package/dist-cjs/runtimeConfig.shared.js +21 -25
  11. package/dist-cjs/schemas/schemas_0.js +1241 -692
  12. package/dist-es/models/enums.js +35 -0
  13. package/dist-es/schemas/schemas_0.js +216 -45
  14. package/dist-types/commands/CreateABTestCommand.d.ts +3 -0
  15. package/dist-types/commands/GetBatchEvaluationCommand.d.ts +96 -0
  16. package/dist-types/commands/GetRecommendationCommand.d.ts +9 -0
  17. package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +6 -0
  18. package/dist-types/commands/ListEventsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListMemoryRecordsCommand.d.ts +1 -1
  21. package/dist-types/commands/StartBatchEvaluationCommand.d.ts +25 -0
  22. package/dist-types/commands/StartRecommendationCommand.d.ts +16 -0
  23. package/dist-types/models/enums.d.ts +43 -0
  24. package/dist-types/models/models_0.d.ts +470 -436
  25. package/dist-types/models/models_1.d.ts +433 -2
  26. package/dist-types/schemas/schemas_0.d.ts +16 -0
  27. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/ListMemoryRecordsCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/models/enums.d.ts +37 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +122 -133
  32. package/dist-types/ts3.4/models/models_1.d.ts +138 -2
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  34. package/package.json +8 -8
@@ -74,6 +74,9 @@ declare const CreateABTestCommand_base: {
74
74
  * roleArn: "STRING_VALUE", // required
75
75
  * enableOnCreate: true || false,
76
76
  * clientToken: "STRING_VALUE",
77
+ * tags: { // TagsMap
78
+ * "<keys>": "STRING_VALUE",
79
+ * },
77
80
  * };
78
81
  * const command = new CreateABTestCommand(input);
79
82
  * const response = await client.send(command);
@@ -54,6 +54,11 @@ declare const GetBatchEvaluationCommand_base: {
54
54
  * // evaluatorId: "STRING_VALUE", // required
55
55
  * // },
56
56
  * // ],
57
+ * // insights: [ // InsightList
58
+ * // { // Insight
59
+ * // insightId: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
57
62
  * // dataSourceConfig: { // DataSourceConfig Union: only one key present
58
63
  * // cloudWatchLogs: { // CloudWatchLogsSource
59
64
  * // serviceNames: [ // EvaluationStringList // required
@@ -72,6 +77,13 @@ declare const GetBatchEvaluationCommand_base: {
72
77
  * // },
73
78
  * // },
74
79
  * // },
80
+ * // onlineEvaluationConfigSource: { // OnlineEvaluationConfigSource
81
+ * // onlineEvaluationConfigArn: "STRING_VALUE", // required
82
+ * // sessionFilterConfig: {
83
+ * // startTime: new Date("TIMESTAMP"),
84
+ * // endTime: new Date("TIMESTAMP"),
85
+ * // },
86
+ * // },
75
87
  * // },
76
88
  * // outputConfig: { // OutputConfig Union: only one key present
77
89
  * // cloudWatchConfig: { // CloudWatchOutputConfig
@@ -96,11 +108,95 @@ declare const GetBatchEvaluationCommand_base: {
96
108
  * // },
97
109
  * // ],
98
110
  * // },
111
+ * // failureAnalysisResult: { // FailureAnalysisResultContent
112
+ * // failures: [ // FailureCategoryClusterList // required
113
+ * // { // FailureCategoryCluster
114
+ * // clusterId: Number("int"), // required
115
+ * // name: "STRING_VALUE", // required
116
+ * // description: "STRING_VALUE", // required
117
+ * // affectedSessionCount: Number("int"), // required
118
+ * // subCategories: [ // FailureSubCategoryClusterList // required
119
+ * // { // FailureSubCategoryCluster
120
+ * // clusterId: Number("int"), // required
121
+ * // name: "STRING_VALUE", // required
122
+ * // description: "STRING_VALUE", // required
123
+ * // affectedSessionCount: Number("int"), // required
124
+ * // rootCauses: [ // RootCauseClusterList // required
125
+ * // { // RootCauseCluster
126
+ * // clusterId: Number("int"), // required
127
+ * // name: "STRING_VALUE", // required
128
+ * // rootCause: "STRING_VALUE", // required
129
+ * // recommendation: "STRING_VALUE", // required
130
+ * // affectedSessionCount: Number("int"), // required
131
+ * // affectedSessions: [ // AffectedSessionList // required
132
+ * // { // AffectedSession
133
+ * // sessionId: "STRING_VALUE", // required
134
+ * // explanation: "STRING_VALUE", // required
135
+ * // fixType: "STRING_VALUE", // required
136
+ * // recommendation: "STRING_VALUE", // required
137
+ * // failureSpans: [ // FailureSpanDetailList // required
138
+ * // { // FailureSpanDetail
139
+ * // spanId: "STRING_VALUE", // required
140
+ * // traceId: "STRING_VALUE", // required
141
+ * // signals: [ // InsightsFailureSignalList // required
142
+ * // { // InsightsFailureSignal
143
+ * // category: "execution-error-category-authentication" || "execution-error-category-resource-not-found" || "execution-error-category-service-errors" || "execution-error-category-rate-limiting" || "execution-error-category-formatting" || "execution-error-category-timeout" || "execution-error-category-resource-exhaustion" || "execution-error-category-environment" || "execution-error-category-tool-schema" || "task-instruction-category-non-compliance" || "task-instruction-category-problem-id" || "incorrect-actions-category-tool-selection" || "incorrect-actions-category-poor-information-retrieval" || "incorrect-actions-category-clarification" || "incorrect-actions-category-inappropriate-info-request" || "context-handling-error-category-context-handling-failures" || "hallucination-category-hall-capabilities" || "hallucination-category-hall-misunderstand" || "hallucination-category-hall-usage" || "hallucination-category-hall-history" || "hallucination-category-hall-params" || "hallucination-category-fabricate-tool-outputs" || "repetitive-behavior-category-repetition-tool" || "repetitive-behavior-category-repetition-info" || "repetitive-behavior-category-step-repetition" || "orchestration-related-errors-category-reasoning-mismatch" || "orchestration-related-errors-category-goal-deviation" || "orchestration-related-errors-category-premature-termination" || "orchestration-related-errors-category-unaware-termination" || "llm-output-category-nonsensical" || "configuration-mismatch-category-tool-definition" || "coding-use-case-specific-failure-types-category-edge-case-oversights" || "coding-use-case-specific-failure-types-category-dependency-issues", // required
144
+ * // evidence: "STRING_VALUE", // required
145
+ * // confidence: Number("double"), // required
146
+ * // },
147
+ * // ],
148
+ * // },
149
+ * // ],
150
+ * // },
151
+ * // ],
152
+ * // },
153
+ * // ],
154
+ * // },
155
+ * // ],
156
+ * // },
157
+ * // ],
158
+ * // },
159
+ * // userIntentResult: { // UserIntentClusteringResultContent
160
+ * // userIntents: [ // UserIntentClusterList // required
161
+ * // { // UserIntentCluster
162
+ * // clusterId: Number("int"), // required
163
+ * // name: "STRING_VALUE", // required
164
+ * // description: "STRING_VALUE", // required
165
+ * // affectedSessionCount: Number("int"), // required
166
+ * // affectedSessions: [ // UserIntentAffectedSessionList // required
167
+ * // { // UserIntentAffectedSession
168
+ * // sessionId: "STRING_VALUE", // required
169
+ * // userMessages: [ // UserIntentList // required
170
+ * // "STRING_VALUE",
171
+ * // ],
172
+ * // },
173
+ * // ],
174
+ * // },
175
+ * // ],
176
+ * // },
177
+ * // executionSummaryResult: { // ExecutionSummaryClusteringResultContent
178
+ * // executionSummaries: [ // ExecutionSummaryClusterList // required
179
+ * // { // ExecutionSummaryCluster
180
+ * // clusterId: Number("int"), // required
181
+ * // name: "STRING_VALUE", // required
182
+ * // description: "STRING_VALUE", // required
183
+ * // affectedSessionCount: Number("int"), // required
184
+ * // affectedSessions: [ // ExecutionSummaryAffectedSessionList // required
185
+ * // { // ExecutionSummaryAffectedSession
186
+ * // sessionId: "STRING_VALUE", // required
187
+ * // approachTaken: "STRING_VALUE", // required
188
+ * // finalOutcome: "STRING_VALUE", // required
189
+ * // },
190
+ * // ],
191
+ * // },
192
+ * // ],
193
+ * // },
99
194
  * // errorDetails: [ // ErrorDetailsList
100
195
  * // "STRING_VALUE",
101
196
  * // ],
102
197
  * // description: "STRING_VALUE",
103
198
  * // updatedAt: new Date("TIMESTAMP"),
199
+ * // kmsKeyArn: "STRING_VALUE",
104
200
  * // };
105
201
  *
106
202
  * ```
@@ -86,6 +86,9 @@ declare const GetRecommendationCommand_base: {
86
86
  * // ],
87
87
  * // },
88
88
  * // },
89
+ * // batchEvaluation: { // BatchEvaluationTraceConfig
90
+ * // batchEvaluationArn: "STRING_VALUE", // required
91
+ * // },
89
92
  * // },
90
93
  * // evaluationConfig: { // RecommendationEvaluationConfig
91
94
  * // evaluators: [ // RecommendationEvaluatorList // required
@@ -145,6 +148,9 @@ declare const GetRecommendationCommand_base: {
145
148
  * // ],
146
149
  * // },
147
150
  * // },
151
+ * // batchEvaluation: {
152
+ * // batchEvaluationArn: "STRING_VALUE", // required
153
+ * // },
148
154
  * // },
149
155
  * // },
150
156
  * // },
@@ -158,6 +164,7 @@ declare const GetRecommendationCommand_base: {
158
164
  * // bundleArn: "STRING_VALUE", // required
159
165
  * // versionId: "STRING_VALUE", // required
160
166
  * // },
167
+ * // explanation: "STRING_VALUE",
161
168
  * // errorCode: "STRING_VALUE",
162
169
  * // errorMessage: "STRING_VALUE",
163
170
  * // },
@@ -166,6 +173,7 @@ declare const GetRecommendationCommand_base: {
166
173
  * // { // ToolDescriptionOutput
167
174
  * // toolName: "STRING_VALUE", // required
168
175
  * // recommendedToolDescription: "STRING_VALUE",
176
+ * // explanation: "STRING_VALUE",
169
177
  * // },
170
178
  * // ],
171
179
  * // configurationBundle: {
@@ -176,6 +184,7 @@ declare const GetRecommendationCommand_base: {
176
184
  * // errorMessage: "STRING_VALUE",
177
185
  * // },
178
186
  * // },
187
+ * // kmsKeyArn: "STRING_VALUE",
179
188
  * // };
180
189
  *
181
190
  * ```
@@ -58,6 +58,11 @@ declare const ListBatchEvaluationsCommand_base: {
58
58
  * // evaluatorId: "STRING_VALUE", // required
59
59
  * // },
60
60
  * // ],
61
+ * // insights: [ // InsightList
62
+ * // { // Insight
63
+ * // insightId: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
61
66
  * // evaluationResults: { // EvaluationJobResults
62
67
  * // numberOfSessionsCompleted: Number("int"),
63
68
  * // numberOfSessionsInProgress: Number("int"),
@@ -78,6 +83,7 @@ declare const ListBatchEvaluationsCommand_base: {
78
83
  * // errorDetails: [ // ErrorDetailsList
79
84
  * // "STRING_VALUE",
80
85
  * // ],
86
+ * // kmsKeyArn: "STRING_VALUE",
81
87
  * // updatedAt: new Date("TIMESTAMP"),
82
88
  * // },
83
89
  * // ],
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
- import type { ListEventsInput, ListEventsOutput } from "../models/models_0";
4
+ import type { ListEventsInput, ListEventsOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
- import type { ListMemoryExtractionJobsInput, ListMemoryExtractionJobsOutput } from "../models/models_0";
4
+ import type { ListMemoryExtractionJobsInput, ListMemoryExtractionJobsOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
- import type { ListMemoryRecordsInput, ListMemoryRecordsOutput } from "../models/models_0";
4
+ import type { ListMemoryRecordsInput, ListMemoryRecordsOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -45,6 +45,11 @@ declare const StartBatchEvaluationCommand_base: {
45
45
  * evaluatorId: "STRING_VALUE", // required
46
46
  * },
47
47
  * ],
48
+ * insights: [ // InsightList
49
+ * { // Insight
50
+ * insightId: "STRING_VALUE", // required
51
+ * },
52
+ * ],
48
53
  * dataSourceConfig: { // DataSourceConfig Union: only one key present
49
54
  * cloudWatchLogs: { // CloudWatchLogsSource
50
55
  * serviceNames: [ // EvaluationStringList // required
@@ -63,6 +68,13 @@ declare const StartBatchEvaluationCommand_base: {
63
68
  * },
64
69
  * },
65
70
  * },
71
+ * onlineEvaluationConfigSource: { // OnlineEvaluationConfigSource
72
+ * onlineEvaluationConfigArn: "STRING_VALUE", // required
73
+ * sessionFilterConfig: {
74
+ * startTime: new Date("TIMESTAMP"),
75
+ * endTime: new Date("TIMESTAMP"),
76
+ * },
77
+ * },
66
78
  * },
67
79
  * clientToken: "STRING_VALUE",
68
80
  * evaluationMetadata: { // EvaluationMetadata Union: only one key present
@@ -100,6 +112,10 @@ declare const StartBatchEvaluationCommand_base: {
100
112
  * },
101
113
  * ],
102
114
  * },
115
+ * tags: { // TagsMap
116
+ * "<keys>": "STRING_VALUE",
117
+ * },
118
+ * kmsKeyArn: "STRING_VALUE",
103
119
  * description: "STRING_VALUE",
104
120
  * };
105
121
  * const command = new StartBatchEvaluationCommand(input);
@@ -113,6 +129,11 @@ declare const StartBatchEvaluationCommand_base: {
113
129
  * // evaluatorId: "STRING_VALUE", // required
114
130
  * // },
115
131
  * // ],
132
+ * // insights: [ // InsightList
133
+ * // { // Insight
134
+ * // insightId: "STRING_VALUE", // required
135
+ * // },
136
+ * // ],
116
137
  * // status: "PENDING" || "IN_PROGRESS" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "FAILED" || "STOPPING" || "STOPPED" || "DELETING", // required
117
138
  * // createdAt: new Date("TIMESTAMP"), // required
118
139
  * // outputConfig: { // OutputConfig Union: only one key present
@@ -121,6 +142,10 @@ declare const StartBatchEvaluationCommand_base: {
121
142
  * // logStreamName: "STRING_VALUE", // required
122
143
  * // },
123
144
  * // },
145
+ * // tags: { // TagsMap
146
+ * // "<keys>": "STRING_VALUE",
147
+ * // },
148
+ * // kmsKeyArn: "STRING_VALUE",
124
149
  * // description: "STRING_VALUE",
125
150
  * // };
126
151
  *
@@ -79,6 +79,9 @@ declare const StartRecommendationCommand_base: {
79
79
  * ],
80
80
  * },
81
81
  * },
82
+ * batchEvaluation: { // BatchEvaluationTraceConfig
83
+ * batchEvaluationArn: "STRING_VALUE", // required
84
+ * },
82
85
  * },
83
86
  * evaluationConfig: { // RecommendationEvaluationConfig
84
87
  * evaluators: [ // RecommendationEvaluatorList // required
@@ -138,10 +141,17 @@ declare const StartRecommendationCommand_base: {
138
141
  * ],
139
142
  * },
140
143
  * },
144
+ * batchEvaluation: {
145
+ * batchEvaluationArn: "STRING_VALUE", // required
146
+ * },
141
147
  * },
142
148
  * },
143
149
  * },
150
+ * kmsKeyArn: "STRING_VALUE",
144
151
  * clientToken: "STRING_VALUE",
152
+ * tags: { // TagsMap
153
+ * "<keys>": "STRING_VALUE",
154
+ * },
145
155
  * };
146
156
  * const command = new StartRecommendationCommand(input);
147
157
  * const response = await client.send(command);
@@ -188,6 +198,9 @@ declare const StartRecommendationCommand_base: {
188
198
  * // ],
189
199
  * // },
190
200
  * // },
201
+ * // batchEvaluation: { // BatchEvaluationTraceConfig
202
+ * // batchEvaluationArn: "STRING_VALUE", // required
203
+ * // },
191
204
  * // },
192
205
  * // evaluationConfig: { // RecommendationEvaluationConfig
193
206
  * // evaluators: [ // RecommendationEvaluatorList // required
@@ -247,6 +260,9 @@ declare const StartRecommendationCommand_base: {
247
260
  * // ],
248
261
  * // },
249
262
  * // },
263
+ * // batchEvaluation: {
264
+ * // batchEvaluationArn: "STRING_VALUE", // required
265
+ * // },
250
266
  * // },
251
267
  * // },
252
268
  * // },
@@ -30,6 +30,49 @@ export declare const ABTestStatus: {
30
30
  * @public
31
31
  */
32
32
  export type ABTestStatus = (typeof ABTestStatus)[keyof typeof ABTestStatus];
33
+ /**
34
+ * @public
35
+ * @enum
36
+ */
37
+ export declare const InsightsFailureCategory: {
38
+ readonly CODING_DEPENDENCY_ISSUES: "coding-use-case-specific-failure-types-category-dependency-issues";
39
+ readonly CODING_EDGE_CASE_OVERSIGHTS: "coding-use-case-specific-failure-types-category-edge-case-oversights";
40
+ readonly CONFIGURATION_MISMATCH_TOOL_DEFINITION: "configuration-mismatch-category-tool-definition";
41
+ readonly CONTEXT_HANDLING_FAILURES: "context-handling-error-category-context-handling-failures";
42
+ readonly EXECUTION_ERROR_AUTHENTICATION: "execution-error-category-authentication";
43
+ readonly EXECUTION_ERROR_ENVIRONMENT: "execution-error-category-environment";
44
+ readonly EXECUTION_ERROR_FORMATTING: "execution-error-category-formatting";
45
+ readonly EXECUTION_ERROR_RATE_LIMITING: "execution-error-category-rate-limiting";
46
+ readonly EXECUTION_ERROR_RESOURCE_EXHAUSTION: "execution-error-category-resource-exhaustion";
47
+ readonly EXECUTION_ERROR_RESOURCE_NOT_FOUND: "execution-error-category-resource-not-found";
48
+ readonly EXECUTION_ERROR_SERVICE_ERRORS: "execution-error-category-service-errors";
49
+ readonly EXECUTION_ERROR_TIMEOUT: "execution-error-category-timeout";
50
+ readonly EXECUTION_ERROR_TOOL_SCHEMA: "execution-error-category-tool-schema";
51
+ readonly HALLUCINATION_CAPABILITIES: "hallucination-category-hall-capabilities";
52
+ readonly HALLUCINATION_FABRICATE_TOOL_OUTPUTS: "hallucination-category-fabricate-tool-outputs";
53
+ readonly HALLUCINATION_HISTORY: "hallucination-category-hall-history";
54
+ readonly HALLUCINATION_MISUNDERSTAND: "hallucination-category-hall-misunderstand";
55
+ readonly HALLUCINATION_PARAMS: "hallucination-category-hall-params";
56
+ readonly HALLUCINATION_USAGE: "hallucination-category-hall-usage";
57
+ readonly INCORRECT_ACTIONS_CLARIFICATION: "incorrect-actions-category-clarification";
58
+ readonly INCORRECT_ACTIONS_INAPPROPRIATE_INFO_REQUEST: "incorrect-actions-category-inappropriate-info-request";
59
+ readonly INCORRECT_ACTIONS_POOR_INFORMATION_RETRIEVAL: "incorrect-actions-category-poor-information-retrieval";
60
+ readonly INCORRECT_ACTIONS_TOOL_SELECTION: "incorrect-actions-category-tool-selection";
61
+ readonly LLM_OUTPUT_NONSENSICAL: "llm-output-category-nonsensical";
62
+ readonly ORCHESTRATION_GOAL_DEVIATION: "orchestration-related-errors-category-goal-deviation";
63
+ readonly ORCHESTRATION_PREMATURE_TERMINATION: "orchestration-related-errors-category-premature-termination";
64
+ readonly ORCHESTRATION_REASONING_MISMATCH: "orchestration-related-errors-category-reasoning-mismatch";
65
+ readonly ORCHESTRATION_UNAWARE_TERMINATION: "orchestration-related-errors-category-unaware-termination";
66
+ readonly REPETITIVE_BEHAVIOR_INFO: "repetitive-behavior-category-repetition-info";
67
+ readonly REPETITIVE_BEHAVIOR_STEP: "repetitive-behavior-category-step-repetition";
68
+ readonly REPETITIVE_BEHAVIOR_TOOL: "repetitive-behavior-category-repetition-tool";
69
+ readonly TASK_INSTRUCTION_NON_COMPLIANCE: "task-instruction-category-non-compliance";
70
+ readonly TASK_INSTRUCTION_PROBLEM_ID: "task-instruction-category-problem-id";
71
+ };
72
+ /**
73
+ * @public
74
+ */
75
+ export type InsightsFailureCategory = (typeof InsightsFailureCategory)[keyof typeof InsightsFailureCategory];
33
76
  /**
34
77
  * @public
35
78
  * @enum