@aws-sdk/client-bedrock-agentcore 3.1169.0 → 3.1171.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 (63) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +701 -60
  3. package/dist-es/BedrockAgentCore.js +18 -0
  4. package/dist-es/commands/DeleteDatasetGenerationCommand.js +4 -0
  5. package/dist-es/commands/GetAgentInsightCommand.js +4 -0
  6. package/dist-es/commands/GetDatasetGenerationCommand.js +4 -0
  7. package/dist-es/commands/ListAgentInsightsCommand.js +4 -0
  8. package/dist-es/commands/ListDatasetGenerationsCommand.js +4 -0
  9. package/dist-es/commands/StartDatasetGenerationCommand.js +4 -0
  10. package/dist-es/commands/UpdateAgentInsightCommand.js +4 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/enums.js +146 -3
  13. package/dist-es/pagination/ListAgentInsightsPaginator.js +4 -0
  14. package/dist-es/pagination/ListDatasetGenerationsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +456 -56
  17. package/dist-types/BedrockAgentCore.d.ts +64 -0
  18. package/dist-types/BedrockAgentCoreClient.d.ts +9 -2
  19. package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +1 -1
  20. package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +1 -1
  21. package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +1 -2
  22. package/dist-types/commands/DeleteDatasetGenerationCommand.d.ts +94 -0
  23. package/dist-types/commands/GetAgentInsightCommand.d.ts +136 -0
  24. package/dist-types/commands/GetBatchEvaluationCommand.d.ts +13 -0
  25. package/dist-types/commands/GetDatasetGenerationCommand.d.ts +220 -0
  26. package/dist-types/commands/InvokeHarnessCommand.d.ts +1 -1
  27. package/dist-types/commands/InvokeWebSearchCommand.d.ts +1 -1
  28. package/dist-types/commands/ListAgentInsightsCommand.d.ts +103 -0
  29. package/dist-types/commands/ListDatasetGenerationsCommand.d.ts +103 -0
  30. package/dist-types/commands/StartBatchEvaluationCommand.d.ts +12 -0
  31. package/dist-types/commands/StartDatasetGenerationCommand.d.ts +202 -0
  32. package/dist-types/commands/UpdateAgentInsightCommand.d.ts +93 -0
  33. package/dist-types/commands/index.d.ts +7 -0
  34. package/dist-types/models/enums.d.ts +256 -7
  35. package/dist-types/models/models_0.d.ts +2398 -2632
  36. package/dist-types/models/models_1.d.ts +1588 -2
  37. package/dist-types/pagination/ListAgentInsightsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/ListDatasetGenerationsPaginator.d.ts +7 -0
  39. package/dist-types/pagination/index.d.ts +2 -0
  40. package/dist-types/schemas/schemas_0.d.ts +55 -0
  41. package/dist-types/ts3.4/BedrockAgentCore.d.ts +134 -0
  42. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +1 -2
  46. package/dist-types/ts3.4/commands/DeleteDatasetGenerationCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/GetAgentInsightCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/GetDatasetGenerationCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/InvokeHarnessCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/InvokeWebSearchCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListAgentInsightsCommand.d.ts +39 -0
  52. package/dist-types/ts3.4/commands/ListDatasetGenerationsCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/StartDatasetGenerationCommand.d.ts +39 -0
  54. package/dist-types/ts3.4/commands/UpdateAgentInsightCommand.d.ts +39 -0
  55. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  56. package/dist-types/ts3.4/models/enums.d.ts +159 -4
  57. package/dist-types/ts3.4/models/models_0.d.ts +458 -756
  58. package/dist-types/ts3.4/models/models_1.d.ts +747 -3
  59. package/dist-types/ts3.4/pagination/ListAgentInsightsPaginator.d.ts +11 -0
  60. package/dist-types/ts3.4/pagination/ListDatasetGenerationsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  62. package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
  63. package/package.json +1 -1
@@ -11,6 +11,7 @@ import { type CreatePaymentSessionCommandInput, type CreatePaymentSessionCommand
11
11
  import { type DeleteABTestCommandInput, type DeleteABTestCommandOutput } from "./commands/DeleteABTestCommand";
12
12
  import { type DeleteBatchEvaluationCommandInput, type DeleteBatchEvaluationCommandOutput } from "./commands/DeleteBatchEvaluationCommand";
13
13
  import { type DeleteCapacityProviderSessionCommandInput, type DeleteCapacityProviderSessionCommandOutput } from "./commands/DeleteCapacityProviderSessionCommand";
14
+ import { type DeleteDatasetGenerationCommandInput, type DeleteDatasetGenerationCommandOutput } from "./commands/DeleteDatasetGenerationCommand";
14
15
  import { type DeleteEventCommandInput, type DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
15
16
  import { type DeleteMemoryRecordCommandInput, type DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
16
17
  import { type DeletePaymentInstrumentCommandInput, type DeletePaymentInstrumentCommandOutput } from "./commands/DeletePaymentInstrumentCommand";
@@ -19,9 +20,11 @@ import { type DeleteRecommendationCommandInput, type DeleteRecommendationCommand
19
20
  import { type EvaluateCommandInput, type EvaluateCommandOutput } from "./commands/EvaluateCommand";
20
21
  import { type GetABTestCommandInput, type GetABTestCommandOutput } from "./commands/GetABTestCommand";
21
22
  import { type GetAgentCardCommandInput, type GetAgentCardCommandOutput } from "./commands/GetAgentCardCommand";
23
+ import { type GetAgentInsightCommandInput, type GetAgentInsightCommandOutput } from "./commands/GetAgentInsightCommand";
22
24
  import { type GetBatchEvaluationCommandInput, type GetBatchEvaluationCommandOutput } from "./commands/GetBatchEvaluationCommand";
23
25
  import { type GetBrowserSessionCommandInput, type GetBrowserSessionCommandOutput } from "./commands/GetBrowserSessionCommand";
24
26
  import { type GetCodeInterpreterSessionCommandInput, type GetCodeInterpreterSessionCommandOutput } from "./commands/GetCodeInterpreterSessionCommand";
27
+ import { type GetDatasetGenerationCommandInput, type GetDatasetGenerationCommandOutput } from "./commands/GetDatasetGenerationCommand";
25
28
  import { type GetEventCommandInput, type GetEventCommandOutput } from "./commands/GetEventCommand";
26
29
  import { type GetMemoryRecordCommandInput, type GetMemoryRecordCommandOutput } from "./commands/GetMemoryRecordCommand";
27
30
  import { type GetPaymentInstrumentBalanceCommandInput, type GetPaymentInstrumentBalanceCommandOutput } from "./commands/GetPaymentInstrumentBalanceCommand";
@@ -43,9 +46,11 @@ import { type InvokeHarnessCommandInput, type InvokeHarnessCommandOutput } from
43
46
  import { type InvokeWebSearchCommandInput, type InvokeWebSearchCommandOutput } from "./commands/InvokeWebSearchCommand";
44
47
  import { type ListABTestsCommandInput, type ListABTestsCommandOutput } from "./commands/ListABTestsCommand";
45
48
  import { type ListActorsCommandInput, type ListActorsCommandOutput } from "./commands/ListActorsCommand";
49
+ import { type ListAgentInsightsCommandInput, type ListAgentInsightsCommandOutput } from "./commands/ListAgentInsightsCommand";
46
50
  import { type ListBatchEvaluationsCommandInput, type ListBatchEvaluationsCommandOutput } from "./commands/ListBatchEvaluationsCommand";
47
51
  import { type ListBrowserSessionsCommandInput, type ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
48
52
  import { type ListCodeInterpreterSessionsCommandInput, type ListCodeInterpreterSessionsCommandOutput } from "./commands/ListCodeInterpreterSessionsCommand";
53
+ import { type ListDatasetGenerationsCommandInput, type ListDatasetGenerationsCommandOutput } from "./commands/ListDatasetGenerationsCommand";
49
54
  import { type ListEventsCommandInput, type ListEventsCommandOutput } from "./commands/ListEventsCommand";
50
55
  import { type ListMemoryExtractionJobsCommandInput, type ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
51
56
  import { type ListMemoryRecordsCommandInput, type ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
@@ -60,6 +65,7 @@ import { type SearchRegistryRecordsCommandInput, type SearchRegistryRecordsComma
60
65
  import { type StartBatchEvaluationCommandInput, type StartBatchEvaluationCommandOutput } from "./commands/StartBatchEvaluationCommand";
61
66
  import { type StartBrowserSessionCommandInput, type StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
62
67
  import { type StartCodeInterpreterSessionCommandInput, type StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
68
+ import { type StartDatasetGenerationCommandInput, type StartDatasetGenerationCommandOutput } from "./commands/StartDatasetGenerationCommand";
63
69
  import { type StartMemoryExtractionJobCommandInput, type StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
64
70
  import { type StartRecommendationCommandInput, type StartRecommendationCommandOutput } from "./commands/StartRecommendationCommand";
65
71
  import { type StopBatchEvaluationCommandInput, type StopBatchEvaluationCommandOutput } from "./commands/StopBatchEvaluationCommand";
@@ -67,6 +73,7 @@ import { type StopBrowserSessionCommandInput, type StopBrowserSessionCommandOutp
67
73
  import { type StopCodeInterpreterSessionCommandInput, type StopCodeInterpreterSessionCommandOutput } from "./commands/StopCodeInterpreterSessionCommand";
68
74
  import { type StopRuntimeSessionCommandInput, type StopRuntimeSessionCommandOutput } from "./commands/StopRuntimeSessionCommand";
69
75
  import { type UpdateABTestCommandInput, type UpdateABTestCommandOutput } from "./commands/UpdateABTestCommand";
76
+ import { type UpdateAgentInsightCommandInput, type UpdateAgentInsightCommandOutput } from "./commands/UpdateAgentInsightCommand";
70
77
  import { type UpdateBrowserStreamCommandInput, type UpdateBrowserStreamCommandOutput } from "./commands/UpdateBrowserStreamCommand";
71
78
  /**
72
79
  * @public
@@ -141,6 +148,12 @@ export interface BedrockAgentCore {
141
148
  deleteCapacityProviderSession(args: DeleteCapacityProviderSessionCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<DeleteCapacityProviderSessionCommandOutput>;
142
149
  deleteCapacityProviderSession(args: DeleteCapacityProviderSessionCommandInput, cb: (err: any, data?: DeleteCapacityProviderSessionCommandOutput) => void): void;
143
150
  deleteCapacityProviderSession(args: DeleteCapacityProviderSessionCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: DeleteCapacityProviderSessionCommandOutput) => void): void;
151
+ /**
152
+ * @see {@link DeleteDatasetGenerationCommand}
153
+ */
154
+ deleteDatasetGeneration(args: DeleteDatasetGenerationCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<DeleteDatasetGenerationCommandOutput>;
155
+ deleteDatasetGeneration(args: DeleteDatasetGenerationCommandInput, cb: (err: any, data?: DeleteDatasetGenerationCommandOutput) => void): void;
156
+ deleteDatasetGeneration(args: DeleteDatasetGenerationCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: DeleteDatasetGenerationCommandOutput) => void): void;
144
157
  /**
145
158
  * @see {@link DeleteEventCommand}
146
159
  */
@@ -189,6 +202,12 @@ export interface BedrockAgentCore {
189
202
  getAgentCard(args: GetAgentCardCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<GetAgentCardCommandOutput>;
190
203
  getAgentCard(args: GetAgentCardCommandInput, cb: (err: any, data?: GetAgentCardCommandOutput) => void): void;
191
204
  getAgentCard(args: GetAgentCardCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: GetAgentCardCommandOutput) => void): void;
205
+ /**
206
+ * @see {@link GetAgentInsightCommand}
207
+ */
208
+ getAgentInsight(args: GetAgentInsightCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<GetAgentInsightCommandOutput>;
209
+ getAgentInsight(args: GetAgentInsightCommandInput, cb: (err: any, data?: GetAgentInsightCommandOutput) => void): void;
210
+ getAgentInsight(args: GetAgentInsightCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: GetAgentInsightCommandOutput) => void): void;
192
211
  /**
193
212
  * @see {@link GetBatchEvaluationCommand}
194
213
  */
@@ -207,6 +226,12 @@ export interface BedrockAgentCore {
207
226
  getCodeInterpreterSession(args: GetCodeInterpreterSessionCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<GetCodeInterpreterSessionCommandOutput>;
208
227
  getCodeInterpreterSession(args: GetCodeInterpreterSessionCommandInput, cb: (err: any, data?: GetCodeInterpreterSessionCommandOutput) => void): void;
209
228
  getCodeInterpreterSession(args: GetCodeInterpreterSessionCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: GetCodeInterpreterSessionCommandOutput) => void): void;
229
+ /**
230
+ * @see {@link GetDatasetGenerationCommand}
231
+ */
232
+ getDatasetGeneration(args: GetDatasetGenerationCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<GetDatasetGenerationCommandOutput>;
233
+ getDatasetGeneration(args: GetDatasetGenerationCommandInput, cb: (err: any, data?: GetDatasetGenerationCommandOutput) => void): void;
234
+ getDatasetGeneration(args: GetDatasetGenerationCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: GetDatasetGenerationCommandOutput) => void): void;
210
235
  /**
211
236
  * @see {@link GetEventCommand}
212
237
  */
@@ -334,6 +359,13 @@ export interface BedrockAgentCore {
334
359
  listActors(args: ListActorsCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<ListActorsCommandOutput>;
335
360
  listActors(args: ListActorsCommandInput, cb: (err: any, data?: ListActorsCommandOutput) => void): void;
336
361
  listActors(args: ListActorsCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: ListActorsCommandOutput) => void): void;
362
+ /**
363
+ * @see {@link ListAgentInsightsCommand}
364
+ */
365
+ listAgentInsights(): Promise<ListAgentInsightsCommandOutput>;
366
+ listAgentInsights(args: ListAgentInsightsCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<ListAgentInsightsCommandOutput>;
367
+ listAgentInsights(args: ListAgentInsightsCommandInput, cb: (err: any, data?: ListAgentInsightsCommandOutput) => void): void;
368
+ listAgentInsights(args: ListAgentInsightsCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: ListAgentInsightsCommandOutput) => void): void;
337
369
  /**
338
370
  * @see {@link ListBatchEvaluationsCommand}
339
371
  */
@@ -353,6 +385,12 @@ export interface BedrockAgentCore {
353
385
  listCodeInterpreterSessions(args: ListCodeInterpreterSessionsCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<ListCodeInterpreterSessionsCommandOutput>;
354
386
  listCodeInterpreterSessions(args: ListCodeInterpreterSessionsCommandInput, cb: (err: any, data?: ListCodeInterpreterSessionsCommandOutput) => void): void;
355
387
  listCodeInterpreterSessions(args: ListCodeInterpreterSessionsCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: ListCodeInterpreterSessionsCommandOutput) => void): void;
388
+ /**
389
+ * @see {@link ListDatasetGenerationsCommand}
390
+ */
391
+ listDatasetGenerations(args: ListDatasetGenerationsCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<ListDatasetGenerationsCommandOutput>;
392
+ listDatasetGenerations(args: ListDatasetGenerationsCommandInput, cb: (err: any, data?: ListDatasetGenerationsCommandOutput) => void): void;
393
+ listDatasetGenerations(args: ListDatasetGenerationsCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: ListDatasetGenerationsCommandOutput) => void): void;
356
394
  /**
357
395
  * @see {@link ListEventsCommand}
358
396
  */
@@ -438,6 +476,12 @@ export interface BedrockAgentCore {
438
476
  startCodeInterpreterSession(args: StartCodeInterpreterSessionCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<StartCodeInterpreterSessionCommandOutput>;
439
477
  startCodeInterpreterSession(args: StartCodeInterpreterSessionCommandInput, cb: (err: any, data?: StartCodeInterpreterSessionCommandOutput) => void): void;
440
478
  startCodeInterpreterSession(args: StartCodeInterpreterSessionCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: StartCodeInterpreterSessionCommandOutput) => void): void;
479
+ /**
480
+ * @see {@link StartDatasetGenerationCommand}
481
+ */
482
+ startDatasetGeneration(args: StartDatasetGenerationCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<StartDatasetGenerationCommandOutput>;
483
+ startDatasetGeneration(args: StartDatasetGenerationCommandInput, cb: (err: any, data?: StartDatasetGenerationCommandOutput) => void): void;
484
+ startDatasetGeneration(args: StartDatasetGenerationCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: StartDatasetGenerationCommandOutput) => void): void;
441
485
  /**
442
486
  * @see {@link StartMemoryExtractionJobCommand}
443
487
  */
@@ -480,6 +524,12 @@ export interface BedrockAgentCore {
480
524
  updateABTest(args: UpdateABTestCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<UpdateABTestCommandOutput>;
481
525
  updateABTest(args: UpdateABTestCommandInput, cb: (err: any, data?: UpdateABTestCommandOutput) => void): void;
482
526
  updateABTest(args: UpdateABTestCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: UpdateABTestCommandOutput) => void): void;
527
+ /**
528
+ * @see {@link UpdateAgentInsightCommand}
529
+ */
530
+ updateAgentInsight(args: UpdateAgentInsightCommandInput, options?: BedrockAgentCoreRequestOptions): Promise<UpdateAgentInsightCommandOutput>;
531
+ updateAgentInsight(args: UpdateAgentInsightCommandInput, cb: (err: any, data?: UpdateAgentInsightCommandOutput) => void): void;
532
+ updateAgentInsight(args: UpdateAgentInsightCommandInput, options: BedrockAgentCoreRequestOptions, cb: (err: any, data?: UpdateAgentInsightCommandOutput) => void): void;
483
533
  /**
484
534
  * @see {@link UpdateBrowserStreamCommand}
485
535
  */
@@ -500,6 +550,13 @@ export interface BedrockAgentCore {
500
550
  * @returns AsyncIterable of {@link ListActorsCommandOutput}.
501
551
  */
502
552
  paginateListActors(args: ListActorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListActorsCommandOutput>;
553
+ /**
554
+ * @see {@link ListAgentInsightsCommand}
555
+ * @param args - command input.
556
+ * @param paginationConfig - optional pagination config.
557
+ * @returns AsyncIterable of {@link ListAgentInsightsCommandOutput}.
558
+ */
559
+ paginateListAgentInsights(args?: ListAgentInsightsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAgentInsightsCommandOutput>;
503
560
  /**
504
561
  * @see {@link ListBatchEvaluationsCommand}
505
562
  * @param args - command input.
@@ -507,6 +564,13 @@ export interface BedrockAgentCore {
507
564
  * @returns AsyncIterable of {@link ListBatchEvaluationsCommandOutput}.
508
565
  */
509
566
  paginateListBatchEvaluations(args?: ListBatchEvaluationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBatchEvaluationsCommandOutput>;
567
+ /**
568
+ * @see {@link ListDatasetGenerationsCommand}
569
+ * @param args - command input.
570
+ * @param paginationConfig - optional pagination config.
571
+ * @returns AsyncIterable of {@link ListDatasetGenerationsCommandOutput}.
572
+ */
573
+ paginateListDatasetGenerations(args: ListDatasetGenerationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetGenerationsCommandOutput>;
510
574
  /**
511
575
  * @see {@link ListEventsCommand}
512
576
  * @param args - command input.
@@ -18,6 +18,7 @@ import type { CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutpu
18
18
  import type { DeleteABTestCommandInput, DeleteABTestCommandOutput } from "./commands/DeleteABTestCommand";
19
19
  import type { DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput } from "./commands/DeleteBatchEvaluationCommand";
20
20
  import type { DeleteCapacityProviderSessionCommandInput, DeleteCapacityProviderSessionCommandOutput } from "./commands/DeleteCapacityProviderSessionCommand";
21
+ import type { DeleteDatasetGenerationCommandInput, DeleteDatasetGenerationCommandOutput } from "./commands/DeleteDatasetGenerationCommand";
21
22
  import type { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
22
23
  import type { DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
23
24
  import type { DeletePaymentInstrumentCommandInput, DeletePaymentInstrumentCommandOutput } from "./commands/DeletePaymentInstrumentCommand";
@@ -26,9 +27,11 @@ import type { DeleteRecommendationCommandInput, DeleteRecommendationCommandOutpu
26
27
  import type { EvaluateCommandInput, EvaluateCommandOutput } from "./commands/EvaluateCommand";
27
28
  import type { GetABTestCommandInput, GetABTestCommandOutput } from "./commands/GetABTestCommand";
28
29
  import type { GetAgentCardCommandInput, GetAgentCardCommandOutput } from "./commands/GetAgentCardCommand";
30
+ import type { GetAgentInsightCommandInput, GetAgentInsightCommandOutput } from "./commands/GetAgentInsightCommand";
29
31
  import type { GetBatchEvaluationCommandInput, GetBatchEvaluationCommandOutput } from "./commands/GetBatchEvaluationCommand";
30
32
  import type { GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput } from "./commands/GetBrowserSessionCommand";
31
33
  import type { GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput } from "./commands/GetCodeInterpreterSessionCommand";
34
+ import type { GetDatasetGenerationCommandInput, GetDatasetGenerationCommandOutput } from "./commands/GetDatasetGenerationCommand";
32
35
  import type { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
33
36
  import type { GetMemoryRecordCommandInput, GetMemoryRecordCommandOutput } from "./commands/GetMemoryRecordCommand";
34
37
  import type { GetPaymentInstrumentBalanceCommandInput, GetPaymentInstrumentBalanceCommandOutput } from "./commands/GetPaymentInstrumentBalanceCommand";
@@ -50,9 +53,11 @@ import type { InvokeHarnessCommandInput, InvokeHarnessCommandOutput } from "./co
50
53
  import type { InvokeWebSearchCommandInput, InvokeWebSearchCommandOutput } from "./commands/InvokeWebSearchCommand";
51
54
  import type { ListABTestsCommandInput, ListABTestsCommandOutput } from "./commands/ListABTestsCommand";
52
55
  import type { ListActorsCommandInput, ListActorsCommandOutput } from "./commands/ListActorsCommand";
56
+ import type { ListAgentInsightsCommandInput, ListAgentInsightsCommandOutput } from "./commands/ListAgentInsightsCommand";
53
57
  import type { ListBatchEvaluationsCommandInput, ListBatchEvaluationsCommandOutput } from "./commands/ListBatchEvaluationsCommand";
54
58
  import type { ListBrowserSessionsCommandInput, ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
55
59
  import type { ListCodeInterpreterSessionsCommandInput, ListCodeInterpreterSessionsCommandOutput } from "./commands/ListCodeInterpreterSessionsCommand";
60
+ import type { ListDatasetGenerationsCommandInput, ListDatasetGenerationsCommandOutput } from "./commands/ListDatasetGenerationsCommand";
56
61
  import type { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
57
62
  import type { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
58
63
  import type { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
@@ -67,6 +72,7 @@ import type { SearchRegistryRecordsCommandInput, SearchRegistryRecordsCommandOut
67
72
  import type { StartBatchEvaluationCommandInput, StartBatchEvaluationCommandOutput } from "./commands/StartBatchEvaluationCommand";
68
73
  import type { StartBrowserSessionCommandInput, StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
69
74
  import type { StartCodeInterpreterSessionCommandInput, StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
75
+ import type { StartDatasetGenerationCommandInput, StartDatasetGenerationCommandOutput } from "./commands/StartDatasetGenerationCommand";
70
76
  import type { StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
71
77
  import type { StartRecommendationCommandInput, StartRecommendationCommandOutput } from "./commands/StartRecommendationCommand";
72
78
  import type { StopBatchEvaluationCommandInput, StopBatchEvaluationCommandOutput } from "./commands/StopBatchEvaluationCommand";
@@ -74,6 +80,7 @@ import type { StopBrowserSessionCommandInput, StopBrowserSessionCommandOutput }
74
80
  import type { StopCodeInterpreterSessionCommandInput, StopCodeInterpreterSessionCommandOutput } from "./commands/StopCodeInterpreterSessionCommand";
75
81
  import type { StopRuntimeSessionCommandInput, StopRuntimeSessionCommandOutput } from "./commands/StopRuntimeSessionCommand";
76
82
  import type { UpdateABTestCommandInput, UpdateABTestCommandOutput } from "./commands/UpdateABTestCommand";
83
+ import type { UpdateAgentInsightCommandInput, UpdateAgentInsightCommandOutput } from "./commands/UpdateAgentInsightCommand";
77
84
  import type { UpdateBrowserStreamCommandInput, UpdateBrowserStreamCommandOutput } from "./commands/UpdateBrowserStreamCommand";
78
85
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
79
86
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -81,11 +88,11 @@ export { __Client };
81
88
  /**
82
89
  * @public
83
90
  */
84
- export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateABTestCommandInput | CreateEventCommandInput | CreatePaymentInstrumentCommandInput | CreatePaymentSessionCommandInput | DeleteABTestCommandInput | DeleteBatchEvaluationCommandInput | DeleteCapacityProviderSessionCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | DeletePaymentInstrumentCommandInput | DeletePaymentSessionCommandInput | DeleteRecommendationCommandInput | EvaluateCommandInput | GetABTestCommandInput | GetAgentCardCommandInput | GetBatchEvaluationCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetPaymentInstrumentBalanceCommandInput | GetPaymentInstrumentCommandInput | GetPaymentSessionCommandInput | GetRecommendationCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetResourcePaymentTokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | IngestDataCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | InvokeHarnessCommandInput | InvokeWebSearchCommandInput | ListABTestsCommandInput | ListActorsCommandInput | ListBatchEvaluationsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListPaymentInstrumentsCommandInput | ListPaymentSessionsCommandInput | ListRecommendationsCommandInput | ListSessionsCommandInput | ProcessPaymentCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | SearchRegistryRecordsCommandInput | StartBatchEvaluationCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StartRecommendationCommandInput | StopBatchEvaluationCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateABTestCommandInput | UpdateBrowserStreamCommandInput;
91
+ export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateABTestCommandInput | CreateEventCommandInput | CreatePaymentInstrumentCommandInput | CreatePaymentSessionCommandInput | DeleteABTestCommandInput | DeleteBatchEvaluationCommandInput | DeleteCapacityProviderSessionCommandInput | DeleteDatasetGenerationCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | DeletePaymentInstrumentCommandInput | DeletePaymentSessionCommandInput | DeleteRecommendationCommandInput | EvaluateCommandInput | GetABTestCommandInput | GetAgentCardCommandInput | GetAgentInsightCommandInput | GetBatchEvaluationCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetDatasetGenerationCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetPaymentInstrumentBalanceCommandInput | GetPaymentInstrumentCommandInput | GetPaymentSessionCommandInput | GetRecommendationCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetResourcePaymentTokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | IngestDataCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | InvokeHarnessCommandInput | InvokeWebSearchCommandInput | ListABTestsCommandInput | ListActorsCommandInput | ListAgentInsightsCommandInput | ListBatchEvaluationsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListDatasetGenerationsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListPaymentInstrumentsCommandInput | ListPaymentSessionsCommandInput | ListRecommendationsCommandInput | ListSessionsCommandInput | ProcessPaymentCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | SearchRegistryRecordsCommandInput | StartBatchEvaluationCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartDatasetGenerationCommandInput | StartMemoryExtractionJobCommandInput | StartRecommendationCommandInput | StopBatchEvaluationCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateABTestCommandInput | UpdateAgentInsightCommandInput | UpdateBrowserStreamCommandInput;
85
92
  /**
86
93
  * @public
87
94
  */
88
- export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateABTestCommandOutput | CreateEventCommandOutput | CreatePaymentInstrumentCommandOutput | CreatePaymentSessionCommandOutput | DeleteABTestCommandOutput | DeleteBatchEvaluationCommandOutput | DeleteCapacityProviderSessionCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | DeletePaymentInstrumentCommandOutput | DeletePaymentSessionCommandOutput | DeleteRecommendationCommandOutput | EvaluateCommandOutput | GetABTestCommandOutput | GetAgentCardCommandOutput | GetBatchEvaluationCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetPaymentInstrumentBalanceCommandOutput | GetPaymentInstrumentCommandOutput | GetPaymentSessionCommandOutput | GetRecommendationCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetResourcePaymentTokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | IngestDataCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | InvokeHarnessCommandOutput | InvokeWebSearchCommandOutput | ListABTestsCommandOutput | ListActorsCommandOutput | ListBatchEvaluationsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListPaymentInstrumentsCommandOutput | ListPaymentSessionsCommandOutput | ListRecommendationsCommandOutput | ListSessionsCommandOutput | ProcessPaymentCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | SearchRegistryRecordsCommandOutput | StartBatchEvaluationCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StartRecommendationCommandOutput | StopBatchEvaluationCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateABTestCommandOutput | UpdateBrowserStreamCommandOutput;
95
+ export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateABTestCommandOutput | CreateEventCommandOutput | CreatePaymentInstrumentCommandOutput | CreatePaymentSessionCommandOutput | DeleteABTestCommandOutput | DeleteBatchEvaluationCommandOutput | DeleteCapacityProviderSessionCommandOutput | DeleteDatasetGenerationCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | DeletePaymentInstrumentCommandOutput | DeletePaymentSessionCommandOutput | DeleteRecommendationCommandOutput | EvaluateCommandOutput | GetABTestCommandOutput | GetAgentCardCommandOutput | GetAgentInsightCommandOutput | GetBatchEvaluationCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetDatasetGenerationCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetPaymentInstrumentBalanceCommandOutput | GetPaymentInstrumentCommandOutput | GetPaymentSessionCommandOutput | GetRecommendationCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetResourcePaymentTokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | IngestDataCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | InvokeHarnessCommandOutput | InvokeWebSearchCommandOutput | ListABTestsCommandOutput | ListActorsCommandOutput | ListAgentInsightsCommandOutput | ListBatchEvaluationsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListDatasetGenerationsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListPaymentInstrumentsCommandOutput | ListPaymentSessionsCommandOutput | ListRecommendationsCommandOutput | ListSessionsCommandOutput | ProcessPaymentCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | SearchRegistryRecordsCommandOutput | StartBatchEvaluationCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartDatasetGenerationCommandOutput | StartMemoryExtractionJobCommandOutput | StartRecommendationCommandOutput | StopBatchEvaluationCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateABTestCommandOutput | UpdateAgentInsightCommandOutput | UpdateBrowserStreamCommandOutput;
89
96
  /**
90
97
  * @public
91
98
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { BatchCreateMemoryRecordsInput, BatchCreateMemoryRecordsOutput } from "../models/models_0";
2
+ import type { BatchCreateMemoryRecordsInput, BatchCreateMemoryRecordsOutput } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { BatchDeleteMemoryRecordsInput, BatchDeleteMemoryRecordsOutput } from "../models/models_0";
2
+ import type { BatchDeleteMemoryRecordsInput, BatchDeleteMemoryRecordsOutput } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { BatchUpdateMemoryRecordsInput } from "../models/models_0";
3
- import type { BatchUpdateMemoryRecordsOutput } from "../models/models_1";
2
+ import type { BatchUpdateMemoryRecordsInput, BatchUpdateMemoryRecordsOutput } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteDatasetGenerationRequest, DeleteDatasetGenerationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteDatasetGenerationCommand}.
11
+ */
12
+ export interface DeleteDatasetGenerationCommandInput extends DeleteDatasetGenerationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteDatasetGenerationCommand}.
18
+ */
19
+ export interface DeleteDatasetGenerationCommandOutput extends DeleteDatasetGenerationResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteDatasetGenerationCommand_base: {
22
+ new (input: DeleteDatasetGenerationCommandInput): import("@smithy/core/client").CommandImpl<DeleteDatasetGenerationCommandInput, DeleteDatasetGenerationCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteDatasetGenerationCommandInput): import("@smithy/core/client").CommandImpl<DeleteDatasetGenerationCommandInput, DeleteDatasetGenerationCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes the record of a dataset generation. The examples the generation added stay in the dataset's draft. To remove them, find them with the <code>generationIds</code> filter of <code>ListDatasetExamples</code>, then call <code>DeleteDatasetExamples</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentCoreClient, DeleteDatasetGenerationCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
32
+ * // const { BedrockAgentCoreClient, DeleteDatasetGenerationCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
33
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
34
+ * const config = {}; // type is BedrockAgentCoreClientConfig
35
+ * const client = new BedrockAgentCoreClient(config);
36
+ * const input = { // DeleteDatasetGenerationRequest
37
+ * datasetId: "STRING_VALUE", // required
38
+ * generationId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteDatasetGenerationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteDatasetGenerationResponse
43
+ * // generationId: "STRING_VALUE", // required
44
+ * // status: "IN_PROGRESS" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "FAILED" || "DELETING", // required
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteDatasetGenerationCommandInput - {@link DeleteDatasetGenerationCommandInput}
50
+ * @returns {@link DeleteDatasetGenerationCommandOutput}
51
+ * @see {@link DeleteDatasetGenerationCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteDatasetGenerationCommandOutput} for command's `response` shape.
53
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
69
+ *
70
+ * @throws {@link UnauthorizedException} (client fault)
71
+ * <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
75
+ *
76
+ * @throws {@link BedrockAgentCoreServiceException}
77
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DeleteDatasetGenerationCommand extends DeleteDatasetGenerationCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DeleteDatasetGenerationRequest;
87
+ output: DeleteDatasetGenerationResponse;
88
+ };
89
+ sdk: {
90
+ input: DeleteDatasetGenerationCommandInput;
91
+ output: DeleteDatasetGenerationCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,136 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetAgentInsightRequest, GetAgentInsightResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetAgentInsightCommand}.
11
+ */
12
+ export interface GetAgentInsightCommandInput extends GetAgentInsightRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetAgentInsightCommand}.
18
+ */
19
+ export interface GetAgentInsightCommandOutput extends GetAgentInsightResponse, __MetadataBearer {
20
+ }
21
+ declare const GetAgentInsightCommand_base: {
22
+ new (input: GetAgentInsightCommandInput): import("@smithy/core/client").CommandImpl<GetAgentInsightCommandInput, GetAgentInsightCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAgentInsightCommandInput): import("@smithy/core/client").CommandImpl<GetAgentInsightCommandInput, GetAgentInsightCommandOutput, import("..").BedrockAgentCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Amazon Bedrock AgentCore Agent Insights identifies patterns detected across your agent sessions. Use Agent Insights to identify recurring issues and prioritize fixes.</p> <p>Retrieves detailed information about an Amazon Bedrock AgentCore Agent Insight, including its archive status, affected sessions, and, when applicable, the batch evaluation that produced it.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BedrockAgentCoreClient, GetAgentInsightCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
32
+ * // const { BedrockAgentCoreClient, GetAgentInsightCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
33
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
34
+ * const config = {}; // type is BedrockAgentCoreClientConfig
35
+ * const client = new BedrockAgentCoreClient(config);
36
+ * const input = { // GetAgentInsightRequest
37
+ * applicationName: "STRING_VALUE", // required
38
+ * agentInsightId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetAgentInsightCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetAgentInsightResponse
43
+ * // type: "FAILURE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // description: "STRING_VALUE", // required
46
+ * // createdAt: new Date("TIMESTAMP"), // required
47
+ * // affectedSessionCount: Number("int"),
48
+ * // sampleSessions: [ // InsightSampleSessionList
49
+ * // { // SampleSession
50
+ * // sessionId: "STRING_VALUE", // required
51
+ * // lastSeenAt: new Date("TIMESTAMP"),
52
+ * // findings: [ // SessionFindingList
53
+ * // { // SessionFinding
54
+ * // targetId: "STRING_VALUE",
55
+ * // targetType: "SPAN_ID" || "TRACE_ID" || "SPAN_NAME",
56
+ * // description: "STRING_VALUE", // required
57
+ * // category: "STRING_VALUE",
58
+ * // confidence: Number("double"),
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // ],
63
+ * // rootCauses: [ // InsightRootCauseList
64
+ * // { // InsightRootCause
65
+ * // name: "STRING_VALUE", // required
66
+ * // explanation: "STRING_VALUE", // required
67
+ * // affectedSessionCount: Number("int"),
68
+ * // suggestedFix: "STRING_VALUE",
69
+ * // sampleSessions: [
70
+ * // {
71
+ * // sessionId: "STRING_VALUE", // required
72
+ * // lastSeenAt: new Date("TIMESTAMP"),
73
+ * // findings: [
74
+ * // {
75
+ * // targetId: "STRING_VALUE",
76
+ * // targetType: "SPAN_ID" || "TRACE_ID" || "SPAN_NAME",
77
+ * // description: "STRING_VALUE", // required
78
+ * // category: "STRING_VALUE",
79
+ * // confidence: Number("double"),
80
+ * // },
81
+ * // ],
82
+ * // },
83
+ * // ],
84
+ * // },
85
+ * // ],
86
+ * // agentInsightId: "STRING_VALUE", // required
87
+ * // applicationName: "STRING_VALUE", // required
88
+ * // batchEvaluationId: "STRING_VALUE",
89
+ * // customerMetadataStatus: "AVAILABLE" || "CUSTOMER_KEY_UNAVAILABLE" || "UNAVAILABLE", // required
90
+ * // updatedAt: new Date("TIMESTAMP"), // required
91
+ * // archiveStatus: "ACTIVE" || "ARCHIVED", // required
92
+ * // lastSeenAt: new Date("TIMESTAMP"),
93
+ * // };
94
+ *
95
+ * ```
96
+ *
97
+ * @param GetAgentInsightCommandInput - {@link GetAgentInsightCommandInput}
98
+ * @returns {@link GetAgentInsightCommandOutput}
99
+ * @see {@link GetAgentInsightCommandInput} for command's `input` shape.
100
+ * @see {@link GetAgentInsightCommandOutput} for command's `response` shape.
101
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
102
+ *
103
+ * @throws {@link AccessDeniedException} (client fault)
104
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
105
+ *
106
+ * @throws {@link InternalServerException} (server fault)
107
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
108
+ *
109
+ * @throws {@link ResourceNotFoundException} (client fault)
110
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
111
+ *
112
+ * @throws {@link ThrottlingException} (client fault)
113
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
114
+ *
115
+ * @throws {@link ValidationException} (client fault)
116
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
117
+ *
118
+ * @throws {@link BedrockAgentCoreServiceException}
119
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
120
+ *
121
+ *
122
+ * @public
123
+ */
124
+ export declare class GetAgentInsightCommand extends GetAgentInsightCommand_base {
125
+ /** @internal type navigation helper, not in runtime. */
126
+ protected static __types: {
127
+ api: {
128
+ input: GetAgentInsightRequest;
129
+ output: GetAgentInsightResponse;
130
+ };
131
+ sdk: {
132
+ input: GetAgentInsightCommandInput;
133
+ output: GetAgentInsightCommandOutput;
134
+ };
135
+ };
136
+ }
@@ -253,6 +253,19 @@ declare const GetBatchEvaluationCommand_base: {
253
253
  * // description: "STRING_VALUE",
254
254
  * // updatedAt: new Date("TIMESTAMP"),
255
255
  * // kmsKeyArn: "STRING_VALUE",
256
+ * // datasetExecutionDetails: { // DatasetExecutionDetails
257
+ * // dataset: { // DatasetDetails
258
+ * // datasetId: "STRING_VALUE", // required
259
+ * // datasetVersion: "STRING_VALUE", // required
260
+ * // },
261
+ * // agentInvocation: { // AgentInvocationDetails Union: only one key present
262
+ * // agentCoreRuntime: { // AgentCoreRuntimeInvocationDetails
263
+ * // agentRuntimeEndpointArn: "STRING_VALUE", // required
264
+ * // agentRuntimeVersion: "STRING_VALUE", // required
265
+ * // requestTemplate: "STRING_VALUE",
266
+ * // },
267
+ * // },
268
+ * // },
256
269
  * // };
257
270
  *
258
271
  * ```