@aws-sdk/client-bedrock-agentcore 3.1038.0 → 3.1040.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 (88) hide show
  1. package/README.md +105 -7
  2. package/dist-cjs/index.js +275 -0
  3. package/dist-cjs/schemas/schemas_0.js +851 -99
  4. package/dist-es/BedrockAgentCore.js +34 -0
  5. package/dist-es/commands/CreateABTestCommand.js +16 -0
  6. package/dist-es/commands/DeleteABTestCommand.js +16 -0
  7. package/dist-es/commands/DeleteBatchEvaluationCommand.js +16 -0
  8. package/dist-es/commands/DeleteRecommendationCommand.js +16 -0
  9. package/dist-es/commands/GetABTestCommand.js +16 -0
  10. package/dist-es/commands/GetBatchEvaluationCommand.js +16 -0
  11. package/dist-es/commands/GetRecommendationCommand.js +16 -0
  12. package/dist-es/commands/ListABTestsCommand.js +16 -0
  13. package/dist-es/commands/ListBatchEvaluationsCommand.js +16 -0
  14. package/dist-es/commands/ListRecommendationsCommand.js +16 -0
  15. package/dist-es/commands/StartBatchEvaluationCommand.js +16 -0
  16. package/dist-es/commands/StartRecommendationCommand.js +16 -0
  17. package/dist-es/commands/StopBatchEvaluationCommand.js +16 -0
  18. package/dist-es/commands/UpdateABTestCommand.js +16 -0
  19. package/dist-es/commands/index.js +14 -0
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/models/enums.js +60 -0
  22. package/dist-es/models/models_1.js +1 -0
  23. package/dist-es/pagination/ListABTestsPaginator.js +4 -0
  24. package/dist-es/pagination/ListBatchEvaluationsPaginator.js +4 -0
  25. package/dist-es/pagination/ListRecommendationsPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +3 -0
  27. package/dist-es/schemas/schemas_0.js +843 -93
  28. package/dist-types/BedrockAgentCore.d.ts +122 -0
  29. package/dist-types/BedrockAgentCoreClient.d.ts +16 -2
  30. package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +10 -0
  31. package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +10 -0
  32. package/dist-types/commands/CreateABTestCommand.d.ts +134 -0
  33. package/dist-types/commands/DeleteABTestCommand.d.ts +97 -0
  34. package/dist-types/commands/DeleteBatchEvaluationCommand.d.ts +97 -0
  35. package/dist-types/commands/DeleteRecommendationCommand.d.ts +93 -0
  36. package/dist-types/commands/GetABTestCommand.d.ts +165 -0
  37. package/dist-types/commands/GetBatchEvaluationCommand.d.ts +148 -0
  38. package/dist-types/commands/GetMemoryRecordCommand.d.ts +7 -2
  39. package/dist-types/commands/GetRecommendationCommand.d.ts +220 -0
  40. package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +7 -1
  41. package/dist-types/commands/ListABTestsCommand.d.ts +103 -0
  42. package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +126 -0
  43. package/dist-types/commands/ListMemoryRecordsCommand.d.ts +25 -2
  44. package/dist-types/commands/ListRecommendationsCommand.d.ts +100 -0
  45. package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +16 -6
  46. package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +2 -1
  47. package/dist-types/commands/StartBatchEvaluationCommand.d.ts +172 -0
  48. package/dist-types/commands/StartRecommendationCommand.d.ts +300 -0
  49. package/dist-types/commands/StopBatchEvaluationCommand.d.ts +98 -0
  50. package/dist-types/commands/UpdateABTestCommand.d.ts +136 -0
  51. package/dist-types/commands/index.d.ts +14 -0
  52. package/dist-types/index.d.ts +1 -0
  53. package/dist-types/models/enums.d.ts +116 -0
  54. package/dist-types/models/models_0.d.ts +2595 -386
  55. package/dist-types/models/models_1.d.ts +147 -0
  56. package/dist-types/pagination/ListABTestsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/ListBatchEvaluationsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
  59. package/dist-types/pagination/index.d.ts +3 -0
  60. package/dist-types/schemas/schemas_0.d.ts +99 -0
  61. package/dist-types/ts3.4/BedrockAgentCore.d.ts +262 -0
  62. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +84 -0
  63. package/dist-types/ts3.4/commands/CreateABTestCommand.d.ts +47 -0
  64. package/dist-types/ts3.4/commands/DeleteABTestCommand.d.ts +47 -0
  65. package/dist-types/ts3.4/commands/DeleteBatchEvaluationCommand.d.ts +51 -0
  66. package/dist-types/ts3.4/commands/DeleteRecommendationCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/GetABTestCommand.d.ts +47 -0
  68. package/dist-types/ts3.4/commands/GetBatchEvaluationCommand.d.ts +51 -0
  69. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/ListABTestsCommand.d.ts +47 -0
  71. package/dist-types/ts3.4/commands/ListBatchEvaluationsCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +2 -4
  74. package/dist-types/ts3.4/commands/StartBatchEvaluationCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/StartRecommendationCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/StopBatchEvaluationCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/UpdateABTestCommand.d.ts +47 -0
  78. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  79. package/dist-types/ts3.4/index.d.ts +1 -0
  80. package/dist-types/ts3.4/models/enums.d.ts +73 -0
  81. package/dist-types/ts3.4/models/models_0.d.ts +801 -43
  82. package/dist-types/ts3.4/models/models_1.d.ts +40 -0
  83. package/dist-types/ts3.4/pagination/ListABTestsPaginator.d.ts +11 -0
  84. package/dist-types/ts3.4/pagination/ListBatchEvaluationsPaginator.d.ts +11 -0
  85. package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
  86. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  87. package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
  88. package/package.json +7 -7
@@ -4,15 +4,22 @@ import { type BatchCreateMemoryRecordsCommandInput, type BatchCreateMemoryRecord
4
4
  import { type BatchDeleteMemoryRecordsCommandInput, type BatchDeleteMemoryRecordsCommandOutput } from "./commands/BatchDeleteMemoryRecordsCommand";
5
5
  import { type BatchUpdateMemoryRecordsCommandInput, type BatchUpdateMemoryRecordsCommandOutput } from "./commands/BatchUpdateMemoryRecordsCommand";
6
6
  import { type CompleteResourceTokenAuthCommandInput, type CompleteResourceTokenAuthCommandOutput } from "./commands/CompleteResourceTokenAuthCommand";
7
+ import { type CreateABTestCommandInput, type CreateABTestCommandOutput } from "./commands/CreateABTestCommand";
7
8
  import { type CreateEventCommandInput, type CreateEventCommandOutput } from "./commands/CreateEventCommand";
9
+ import { type DeleteABTestCommandInput, type DeleteABTestCommandOutput } from "./commands/DeleteABTestCommand";
10
+ import { type DeleteBatchEvaluationCommandInput, type DeleteBatchEvaluationCommandOutput } from "./commands/DeleteBatchEvaluationCommand";
8
11
  import { type DeleteEventCommandInput, type DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
9
12
  import { type DeleteMemoryRecordCommandInput, type DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
13
+ import { type DeleteRecommendationCommandInput, type DeleteRecommendationCommandOutput } from "./commands/DeleteRecommendationCommand";
10
14
  import { type EvaluateCommandInput, type EvaluateCommandOutput } from "./commands/EvaluateCommand";
15
+ import { type GetABTestCommandInput, type GetABTestCommandOutput } from "./commands/GetABTestCommand";
11
16
  import { type GetAgentCardCommandInput, type GetAgentCardCommandOutput } from "./commands/GetAgentCardCommand";
17
+ import { type GetBatchEvaluationCommandInput, type GetBatchEvaluationCommandOutput } from "./commands/GetBatchEvaluationCommand";
12
18
  import { type GetBrowserSessionCommandInput, type GetBrowserSessionCommandOutput } from "./commands/GetBrowserSessionCommand";
13
19
  import { type GetCodeInterpreterSessionCommandInput, type GetCodeInterpreterSessionCommandOutput } from "./commands/GetCodeInterpreterSessionCommand";
14
20
  import { type GetEventCommandInput, type GetEventCommandOutput } from "./commands/GetEventCommand";
15
21
  import { type GetMemoryRecordCommandInput, type GetMemoryRecordCommandOutput } from "./commands/GetMemoryRecordCommand";
22
+ import { type GetRecommendationCommandInput, type GetRecommendationCommandOutput } from "./commands/GetRecommendationCommand";
16
23
  import { type GetResourceApiKeyCommandInput, type GetResourceApiKeyCommandOutput } from "./commands/GetResourceApiKeyCommand";
17
24
  import { type GetResourceOauth2TokenCommandInput, type GetResourceOauth2TokenCommandOutput } from "./commands/GetResourceOauth2TokenCommand";
18
25
  import { type GetWorkloadAccessTokenCommandInput, type GetWorkloadAccessTokenCommandOutput } from "./commands/GetWorkloadAccessTokenCommand";
@@ -23,22 +30,29 @@ import { type InvokeAgentRuntimeCommandCommandInput, type InvokeAgentRuntimeComm
23
30
  import { type InvokeBrowserCommandInput, type InvokeBrowserCommandOutput } from "./commands/InvokeBrowserCommand";
24
31
  import { type InvokeCodeInterpreterCommandInput, type InvokeCodeInterpreterCommandOutput } from "./commands/InvokeCodeInterpreterCommand";
25
32
  import { type InvokeHarnessCommandInput, type InvokeHarnessCommandOutput } from "./commands/InvokeHarnessCommand";
33
+ import { type ListABTestsCommandInput, type ListABTestsCommandOutput } from "./commands/ListABTestsCommand";
26
34
  import { type ListActorsCommandInput, type ListActorsCommandOutput } from "./commands/ListActorsCommand";
35
+ import { type ListBatchEvaluationsCommandInput, type ListBatchEvaluationsCommandOutput } from "./commands/ListBatchEvaluationsCommand";
27
36
  import { type ListBrowserSessionsCommandInput, type ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
28
37
  import { type ListCodeInterpreterSessionsCommandInput, type ListCodeInterpreterSessionsCommandOutput } from "./commands/ListCodeInterpreterSessionsCommand";
29
38
  import { type ListEventsCommandInput, type ListEventsCommandOutput } from "./commands/ListEventsCommand";
30
39
  import { type ListMemoryExtractionJobsCommandInput, type ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
31
40
  import { type ListMemoryRecordsCommandInput, type ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
41
+ import { type ListRecommendationsCommandInput, type ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
32
42
  import { type ListSessionsCommandInput, type ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
33
43
  import { type RetrieveMemoryRecordsCommandInput, type RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
34
44
  import { type SaveBrowserSessionProfileCommandInput, type SaveBrowserSessionProfileCommandOutput } from "./commands/SaveBrowserSessionProfileCommand";
35
45
  import { type SearchRegistryRecordsCommandInput, type SearchRegistryRecordsCommandOutput } from "./commands/SearchRegistryRecordsCommand";
46
+ import { type StartBatchEvaluationCommandInput, type StartBatchEvaluationCommandOutput } from "./commands/StartBatchEvaluationCommand";
36
47
  import { type StartBrowserSessionCommandInput, type StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
37
48
  import { type StartCodeInterpreterSessionCommandInput, type StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
38
49
  import { type StartMemoryExtractionJobCommandInput, type StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
50
+ import { type StartRecommendationCommandInput, type StartRecommendationCommandOutput } from "./commands/StartRecommendationCommand";
51
+ import { type StopBatchEvaluationCommandInput, type StopBatchEvaluationCommandOutput } from "./commands/StopBatchEvaluationCommand";
39
52
  import { type StopBrowserSessionCommandInput, type StopBrowserSessionCommandOutput } from "./commands/StopBrowserSessionCommand";
40
53
  import { type StopCodeInterpreterSessionCommandInput, type StopCodeInterpreterSessionCommandOutput } from "./commands/StopCodeInterpreterSessionCommand";
41
54
  import { type StopRuntimeSessionCommandInput, type StopRuntimeSessionCommandOutput } from "./commands/StopRuntimeSessionCommand";
55
+ import { type UpdateABTestCommandInput, type UpdateABTestCommandOutput } from "./commands/UpdateABTestCommand";
42
56
  import { type UpdateBrowserStreamCommandInput, type UpdateBrowserStreamCommandOutput } from "./commands/UpdateBrowserStreamCommand";
43
57
  export interface BedrockAgentCore {
44
58
  /**
@@ -65,12 +79,30 @@ export interface BedrockAgentCore {
65
79
  completeResourceTokenAuth(args: CompleteResourceTokenAuthCommandInput, options?: __HttpHandlerOptions): Promise<CompleteResourceTokenAuthCommandOutput>;
66
80
  completeResourceTokenAuth(args: CompleteResourceTokenAuthCommandInput, cb: (err: any, data?: CompleteResourceTokenAuthCommandOutput) => void): void;
67
81
  completeResourceTokenAuth(args: CompleteResourceTokenAuthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteResourceTokenAuthCommandOutput) => void): void;
82
+ /**
83
+ * @see {@link CreateABTestCommand}
84
+ */
85
+ createABTest(args: CreateABTestCommandInput, options?: __HttpHandlerOptions): Promise<CreateABTestCommandOutput>;
86
+ createABTest(args: CreateABTestCommandInput, cb: (err: any, data?: CreateABTestCommandOutput) => void): void;
87
+ createABTest(args: CreateABTestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateABTestCommandOutput) => void): void;
68
88
  /**
69
89
  * @see {@link CreateEventCommand}
70
90
  */
71
91
  createEvent(args: CreateEventCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventCommandOutput>;
72
92
  createEvent(args: CreateEventCommandInput, cb: (err: any, data?: CreateEventCommandOutput) => void): void;
73
93
  createEvent(args: CreateEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventCommandOutput) => void): void;
94
+ /**
95
+ * @see {@link DeleteABTestCommand}
96
+ */
97
+ deleteABTest(args: DeleteABTestCommandInput, options?: __HttpHandlerOptions): Promise<DeleteABTestCommandOutput>;
98
+ deleteABTest(args: DeleteABTestCommandInput, cb: (err: any, data?: DeleteABTestCommandOutput) => void): void;
99
+ deleteABTest(args: DeleteABTestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteABTestCommandOutput) => void): void;
100
+ /**
101
+ * @see {@link DeleteBatchEvaluationCommand}
102
+ */
103
+ deleteBatchEvaluation(args: DeleteBatchEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBatchEvaluationCommandOutput>;
104
+ deleteBatchEvaluation(args: DeleteBatchEvaluationCommandInput, cb: (err: any, data?: DeleteBatchEvaluationCommandOutput) => void): void;
105
+ deleteBatchEvaluation(args: DeleteBatchEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBatchEvaluationCommandOutput) => void): void;
74
106
  /**
75
107
  * @see {@link DeleteEventCommand}
76
108
  */
@@ -83,18 +115,36 @@ export interface BedrockAgentCore {
83
115
  deleteMemoryRecord(args: DeleteMemoryRecordCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMemoryRecordCommandOutput>;
84
116
  deleteMemoryRecord(args: DeleteMemoryRecordCommandInput, cb: (err: any, data?: DeleteMemoryRecordCommandOutput) => void): void;
85
117
  deleteMemoryRecord(args: DeleteMemoryRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMemoryRecordCommandOutput) => void): void;
118
+ /**
119
+ * @see {@link DeleteRecommendationCommand}
120
+ */
121
+ deleteRecommendation(args: DeleteRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecommendationCommandOutput>;
122
+ deleteRecommendation(args: DeleteRecommendationCommandInput, cb: (err: any, data?: DeleteRecommendationCommandOutput) => void): void;
123
+ deleteRecommendation(args: DeleteRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecommendationCommandOutput) => void): void;
86
124
  /**
87
125
  * @see {@link EvaluateCommand}
88
126
  */
89
127
  evaluate(args: EvaluateCommandInput, options?: __HttpHandlerOptions): Promise<EvaluateCommandOutput>;
90
128
  evaluate(args: EvaluateCommandInput, cb: (err: any, data?: EvaluateCommandOutput) => void): void;
91
129
  evaluate(args: EvaluateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvaluateCommandOutput) => void): void;
130
+ /**
131
+ * @see {@link GetABTestCommand}
132
+ */
133
+ getABTest(args: GetABTestCommandInput, options?: __HttpHandlerOptions): Promise<GetABTestCommandOutput>;
134
+ getABTest(args: GetABTestCommandInput, cb: (err: any, data?: GetABTestCommandOutput) => void): void;
135
+ getABTest(args: GetABTestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetABTestCommandOutput) => void): void;
92
136
  /**
93
137
  * @see {@link GetAgentCardCommand}
94
138
  */
95
139
  getAgentCard(args: GetAgentCardCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentCardCommandOutput>;
96
140
  getAgentCard(args: GetAgentCardCommandInput, cb: (err: any, data?: GetAgentCardCommandOutput) => void): void;
97
141
  getAgentCard(args: GetAgentCardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentCardCommandOutput) => void): void;
142
+ /**
143
+ * @see {@link GetBatchEvaluationCommand}
144
+ */
145
+ getBatchEvaluation(args: GetBatchEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<GetBatchEvaluationCommandOutput>;
146
+ getBatchEvaluation(args: GetBatchEvaluationCommandInput, cb: (err: any, data?: GetBatchEvaluationCommandOutput) => void): void;
147
+ getBatchEvaluation(args: GetBatchEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBatchEvaluationCommandOutput) => void): void;
98
148
  /**
99
149
  * @see {@link GetBrowserSessionCommand}
100
150
  */
@@ -119,6 +169,12 @@ export interface BedrockAgentCore {
119
169
  getMemoryRecord(args: GetMemoryRecordCommandInput, options?: __HttpHandlerOptions): Promise<GetMemoryRecordCommandOutput>;
120
170
  getMemoryRecord(args: GetMemoryRecordCommandInput, cb: (err: any, data?: GetMemoryRecordCommandOutput) => void): void;
121
171
  getMemoryRecord(args: GetMemoryRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMemoryRecordCommandOutput) => void): void;
172
+ /**
173
+ * @see {@link GetRecommendationCommand}
174
+ */
175
+ getRecommendation(args: GetRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationCommandOutput>;
176
+ getRecommendation(args: GetRecommendationCommandInput, cb: (err: any, data?: GetRecommendationCommandOutput) => void): void;
177
+ getRecommendation(args: GetRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationCommandOutput) => void): void;
122
178
  /**
123
179
  * @see {@link GetResourceApiKeyCommand}
124
180
  */
@@ -179,12 +235,26 @@ export interface BedrockAgentCore {
179
235
  invokeHarness(args: InvokeHarnessCommandInput, options?: __HttpHandlerOptions): Promise<InvokeHarnessCommandOutput>;
180
236
  invokeHarness(args: InvokeHarnessCommandInput, cb: (err: any, data?: InvokeHarnessCommandOutput) => void): void;
181
237
  invokeHarness(args: InvokeHarnessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeHarnessCommandOutput) => void): void;
238
+ /**
239
+ * @see {@link ListABTestsCommand}
240
+ */
241
+ listABTests(): Promise<ListABTestsCommandOutput>;
242
+ listABTests(args: ListABTestsCommandInput, options?: __HttpHandlerOptions): Promise<ListABTestsCommandOutput>;
243
+ listABTests(args: ListABTestsCommandInput, cb: (err: any, data?: ListABTestsCommandOutput) => void): void;
244
+ listABTests(args: ListABTestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListABTestsCommandOutput) => void): void;
182
245
  /**
183
246
  * @see {@link ListActorsCommand}
184
247
  */
185
248
  listActors(args: ListActorsCommandInput, options?: __HttpHandlerOptions): Promise<ListActorsCommandOutput>;
186
249
  listActors(args: ListActorsCommandInput, cb: (err: any, data?: ListActorsCommandOutput) => void): void;
187
250
  listActors(args: ListActorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActorsCommandOutput) => void): void;
251
+ /**
252
+ * @see {@link ListBatchEvaluationsCommand}
253
+ */
254
+ listBatchEvaluations(): Promise<ListBatchEvaluationsCommandOutput>;
255
+ listBatchEvaluations(args: ListBatchEvaluationsCommandInput, options?: __HttpHandlerOptions): Promise<ListBatchEvaluationsCommandOutput>;
256
+ listBatchEvaluations(args: ListBatchEvaluationsCommandInput, cb: (err: any, data?: ListBatchEvaluationsCommandOutput) => void): void;
257
+ listBatchEvaluations(args: ListBatchEvaluationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBatchEvaluationsCommandOutput) => void): void;
188
258
  /**
189
259
  * @see {@link ListBrowserSessionsCommand}
190
260
  */
@@ -215,6 +285,13 @@ export interface BedrockAgentCore {
215
285
  listMemoryRecords(args: ListMemoryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListMemoryRecordsCommandOutput>;
216
286
  listMemoryRecords(args: ListMemoryRecordsCommandInput, cb: (err: any, data?: ListMemoryRecordsCommandOutput) => void): void;
217
287
  listMemoryRecords(args: ListMemoryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMemoryRecordsCommandOutput) => void): void;
288
+ /**
289
+ * @see {@link ListRecommendationsCommand}
290
+ */
291
+ listRecommendations(): Promise<ListRecommendationsCommandOutput>;
292
+ listRecommendations(args: ListRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendationsCommandOutput>;
293
+ listRecommendations(args: ListRecommendationsCommandInput, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void;
294
+ listRecommendations(args: ListRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void;
218
295
  /**
219
296
  * @see {@link ListSessionsCommand}
220
297
  */
@@ -239,6 +316,12 @@ export interface BedrockAgentCore {
239
316
  searchRegistryRecords(args: SearchRegistryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<SearchRegistryRecordsCommandOutput>;
240
317
  searchRegistryRecords(args: SearchRegistryRecordsCommandInput, cb: (err: any, data?: SearchRegistryRecordsCommandOutput) => void): void;
241
318
  searchRegistryRecords(args: SearchRegistryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchRegistryRecordsCommandOutput) => void): void;
319
+ /**
320
+ * @see {@link StartBatchEvaluationCommand}
321
+ */
322
+ startBatchEvaluation(args: StartBatchEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<StartBatchEvaluationCommandOutput>;
323
+ startBatchEvaluation(args: StartBatchEvaluationCommandInput, cb: (err: any, data?: StartBatchEvaluationCommandOutput) => void): void;
324
+ startBatchEvaluation(args: StartBatchEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartBatchEvaluationCommandOutput) => void): void;
242
325
  /**
243
326
  * @see {@link StartBrowserSessionCommand}
244
327
  */
@@ -257,6 +340,18 @@ export interface BedrockAgentCore {
257
340
  startMemoryExtractionJob(args: StartMemoryExtractionJobCommandInput, options?: __HttpHandlerOptions): Promise<StartMemoryExtractionJobCommandOutput>;
258
341
  startMemoryExtractionJob(args: StartMemoryExtractionJobCommandInput, cb: (err: any, data?: StartMemoryExtractionJobCommandOutput) => void): void;
259
342
  startMemoryExtractionJob(args: StartMemoryExtractionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMemoryExtractionJobCommandOutput) => void): void;
343
+ /**
344
+ * @see {@link StartRecommendationCommand}
345
+ */
346
+ startRecommendation(args: StartRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<StartRecommendationCommandOutput>;
347
+ startRecommendation(args: StartRecommendationCommandInput, cb: (err: any, data?: StartRecommendationCommandOutput) => void): void;
348
+ startRecommendation(args: StartRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRecommendationCommandOutput) => void): void;
349
+ /**
350
+ * @see {@link StopBatchEvaluationCommand}
351
+ */
352
+ stopBatchEvaluation(args: StopBatchEvaluationCommandInput, options?: __HttpHandlerOptions): Promise<StopBatchEvaluationCommandOutput>;
353
+ stopBatchEvaluation(args: StopBatchEvaluationCommandInput, cb: (err: any, data?: StopBatchEvaluationCommandOutput) => void): void;
354
+ stopBatchEvaluation(args: StopBatchEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopBatchEvaluationCommandOutput) => void): void;
260
355
  /**
261
356
  * @see {@link StopBrowserSessionCommand}
262
357
  */
@@ -275,12 +370,25 @@ export interface BedrockAgentCore {
275
370
  stopRuntimeSession(args: StopRuntimeSessionCommandInput, options?: __HttpHandlerOptions): Promise<StopRuntimeSessionCommandOutput>;
276
371
  stopRuntimeSession(args: StopRuntimeSessionCommandInput, cb: (err: any, data?: StopRuntimeSessionCommandOutput) => void): void;
277
372
  stopRuntimeSession(args: StopRuntimeSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopRuntimeSessionCommandOutput) => void): void;
373
+ /**
374
+ * @see {@link UpdateABTestCommand}
375
+ */
376
+ updateABTest(args: UpdateABTestCommandInput, options?: __HttpHandlerOptions): Promise<UpdateABTestCommandOutput>;
377
+ updateABTest(args: UpdateABTestCommandInput, cb: (err: any, data?: UpdateABTestCommandOutput) => void): void;
378
+ updateABTest(args: UpdateABTestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateABTestCommandOutput) => void): void;
278
379
  /**
279
380
  * @see {@link UpdateBrowserStreamCommand}
280
381
  */
281
382
  updateBrowserStream(args: UpdateBrowserStreamCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBrowserStreamCommandOutput>;
282
383
  updateBrowserStream(args: UpdateBrowserStreamCommandInput, cb: (err: any, data?: UpdateBrowserStreamCommandOutput) => void): void;
283
384
  updateBrowserStream(args: UpdateBrowserStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBrowserStreamCommandOutput) => void): void;
385
+ /**
386
+ * @see {@link ListABTestsCommand}
387
+ * @param args - command input.
388
+ * @param paginationConfig - optional pagination config.
389
+ * @returns AsyncIterable of {@link ListABTestsCommandOutput}.
390
+ */
391
+ paginateListABTests(args?: ListABTestsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListABTestsCommandOutput>;
284
392
  /**
285
393
  * @see {@link ListActorsCommand}
286
394
  * @param args - command input.
@@ -288,6 +396,13 @@ export interface BedrockAgentCore {
288
396
  * @returns AsyncIterable of {@link ListActorsCommandOutput}.
289
397
  */
290
398
  paginateListActors(args: ListActorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListActorsCommandOutput>;
399
+ /**
400
+ * @see {@link ListBatchEvaluationsCommand}
401
+ * @param args - command input.
402
+ * @param paginationConfig - optional pagination config.
403
+ * @returns AsyncIterable of {@link ListBatchEvaluationsCommandOutput}.
404
+ */
405
+ paginateListBatchEvaluations(args?: ListBatchEvaluationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBatchEvaluationsCommandOutput>;
291
406
  /**
292
407
  * @see {@link ListEventsCommand}
293
408
  * @param args - command input.
@@ -309,6 +424,13 @@ export interface BedrockAgentCore {
309
424
  * @returns AsyncIterable of {@link ListMemoryRecordsCommandOutput}.
310
425
  */
311
426
  paginateListMemoryRecords(args: ListMemoryRecordsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMemoryRecordsCommandOutput>;
427
+ /**
428
+ * @see {@link ListRecommendationsCommand}
429
+ * @param args - command input.
430
+ * @param paginationConfig - optional pagination config.
431
+ * @returns AsyncIterable of {@link ListRecommendationsCommandOutput}.
432
+ */
433
+ paginateListRecommendations(args?: ListRecommendationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRecommendationsCommandOutput>;
312
434
  /**
313
435
  * @see {@link ListSessionsCommand}
314
436
  * @param args - command input.
@@ -12,15 +12,22 @@ import type { BatchCreateMemoryRecordsCommandInput, BatchCreateMemoryRecordsComm
12
12
  import type { BatchDeleteMemoryRecordsCommandInput, BatchDeleteMemoryRecordsCommandOutput } from "./commands/BatchDeleteMemoryRecordsCommand";
13
13
  import type { BatchUpdateMemoryRecordsCommandInput, BatchUpdateMemoryRecordsCommandOutput } from "./commands/BatchUpdateMemoryRecordsCommand";
14
14
  import type { CompleteResourceTokenAuthCommandInput, CompleteResourceTokenAuthCommandOutput } from "./commands/CompleteResourceTokenAuthCommand";
15
+ import type { CreateABTestCommandInput, CreateABTestCommandOutput } from "./commands/CreateABTestCommand";
15
16
  import type { CreateEventCommandInput, CreateEventCommandOutput } from "./commands/CreateEventCommand";
17
+ import type { DeleteABTestCommandInput, DeleteABTestCommandOutput } from "./commands/DeleteABTestCommand";
18
+ import type { DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput } from "./commands/DeleteBatchEvaluationCommand";
16
19
  import type { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
17
20
  import type { DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
21
+ import type { DeleteRecommendationCommandInput, DeleteRecommendationCommandOutput } from "./commands/DeleteRecommendationCommand";
18
22
  import type { EvaluateCommandInput, EvaluateCommandOutput } from "./commands/EvaluateCommand";
23
+ import type { GetABTestCommandInput, GetABTestCommandOutput } from "./commands/GetABTestCommand";
19
24
  import type { GetAgentCardCommandInput, GetAgentCardCommandOutput } from "./commands/GetAgentCardCommand";
25
+ import type { GetBatchEvaluationCommandInput, GetBatchEvaluationCommandOutput } from "./commands/GetBatchEvaluationCommand";
20
26
  import type { GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput } from "./commands/GetBrowserSessionCommand";
21
27
  import type { GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput } from "./commands/GetCodeInterpreterSessionCommand";
22
28
  import type { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
23
29
  import type { GetMemoryRecordCommandInput, GetMemoryRecordCommandOutput } from "./commands/GetMemoryRecordCommand";
30
+ import type { GetRecommendationCommandInput, GetRecommendationCommandOutput } from "./commands/GetRecommendationCommand";
24
31
  import type { GetResourceApiKeyCommandInput, GetResourceApiKeyCommandOutput } from "./commands/GetResourceApiKeyCommand";
25
32
  import type { GetResourceOauth2TokenCommandInput, GetResourceOauth2TokenCommandOutput } from "./commands/GetResourceOauth2TokenCommand";
26
33
  import type { GetWorkloadAccessTokenCommandInput, GetWorkloadAccessTokenCommandOutput } from "./commands/GetWorkloadAccessTokenCommand";
@@ -31,22 +38,29 @@ import type { InvokeAgentRuntimeCommandCommandInput, InvokeAgentRuntimeCommandCo
31
38
  import type { InvokeBrowserCommandInput, InvokeBrowserCommandOutput } from "./commands/InvokeBrowserCommand";
32
39
  import type { InvokeCodeInterpreterCommandInput, InvokeCodeInterpreterCommandOutput } from "./commands/InvokeCodeInterpreterCommand";
33
40
  import type { InvokeHarnessCommandInput, InvokeHarnessCommandOutput } from "./commands/InvokeHarnessCommand";
41
+ import type { ListABTestsCommandInput, ListABTestsCommandOutput } from "./commands/ListABTestsCommand";
34
42
  import type { ListActorsCommandInput, ListActorsCommandOutput } from "./commands/ListActorsCommand";
43
+ import type { ListBatchEvaluationsCommandInput, ListBatchEvaluationsCommandOutput } from "./commands/ListBatchEvaluationsCommand";
35
44
  import type { ListBrowserSessionsCommandInput, ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
36
45
  import type { ListCodeInterpreterSessionsCommandInput, ListCodeInterpreterSessionsCommandOutput } from "./commands/ListCodeInterpreterSessionsCommand";
37
46
  import type { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
38
47
  import type { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
39
48
  import type { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
49
+ import type { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
40
50
  import type { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
41
51
  import type { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
42
52
  import type { SaveBrowserSessionProfileCommandInput, SaveBrowserSessionProfileCommandOutput } from "./commands/SaveBrowserSessionProfileCommand";
43
53
  import type { SearchRegistryRecordsCommandInput, SearchRegistryRecordsCommandOutput } from "./commands/SearchRegistryRecordsCommand";
54
+ import type { StartBatchEvaluationCommandInput, StartBatchEvaluationCommandOutput } from "./commands/StartBatchEvaluationCommand";
44
55
  import type { StartBrowserSessionCommandInput, StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
45
56
  import type { StartCodeInterpreterSessionCommandInput, StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
46
57
  import type { StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
58
+ import type { StartRecommendationCommandInput, StartRecommendationCommandOutput } from "./commands/StartRecommendationCommand";
59
+ import type { StopBatchEvaluationCommandInput, StopBatchEvaluationCommandOutput } from "./commands/StopBatchEvaluationCommand";
47
60
  import type { StopBrowserSessionCommandInput, StopBrowserSessionCommandOutput } from "./commands/StopBrowserSessionCommand";
48
61
  import type { StopCodeInterpreterSessionCommandInput, StopCodeInterpreterSessionCommandOutput } from "./commands/StopCodeInterpreterSessionCommand";
49
62
  import type { StopRuntimeSessionCommandInput, StopRuntimeSessionCommandOutput } from "./commands/StopRuntimeSessionCommand";
63
+ import type { UpdateABTestCommandInput, UpdateABTestCommandOutput } from "./commands/UpdateABTestCommand";
50
64
  import type { UpdateBrowserStreamCommandInput, UpdateBrowserStreamCommandOutput } from "./commands/UpdateBrowserStreamCommand";
51
65
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
52
66
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -54,11 +68,11 @@ export { __Client };
54
68
  /**
55
69
  * @public
56
70
  */
57
- export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | EvaluateCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | InvokeHarnessCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | SearchRegistryRecordsCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
71
+ export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateABTestCommandInput | CreateEventCommandInput | DeleteABTestCommandInput | DeleteBatchEvaluationCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | DeleteRecommendationCommandInput | EvaluateCommandInput | GetABTestCommandInput | GetAgentCardCommandInput | GetBatchEvaluationCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetRecommendationCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | InvokeHarnessCommandInput | ListABTestsCommandInput | ListActorsCommandInput | ListBatchEvaluationsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListRecommendationsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | SearchRegistryRecordsCommandInput | StartBatchEvaluationCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StartRecommendationCommandInput | StopBatchEvaluationCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateABTestCommandInput | UpdateBrowserStreamCommandInput;
58
72
  /**
59
73
  * @public
60
74
  */
61
- export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | EvaluateCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | InvokeHarnessCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | SearchRegistryRecordsCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
75
+ export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateABTestCommandOutput | CreateEventCommandOutput | DeleteABTestCommandOutput | DeleteBatchEvaluationCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | DeleteRecommendationCommandOutput | EvaluateCommandOutput | GetABTestCommandOutput | GetAgentCardCommandOutput | GetBatchEvaluationCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetRecommendationCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | InvokeHarnessCommandOutput | ListABTestsCommandOutput | ListActorsCommandOutput | ListBatchEvaluationsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListRecommendationsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | SearchRegistryRecordsCommandOutput | StartBatchEvaluationCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StartRecommendationCommandOutput | StopBatchEvaluationCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateABTestCommandOutput | UpdateBrowserStreamCommandOutput;
62
76
  /**
63
77
  * @public
64
78
  */
@@ -49,6 +49,16 @@ declare const BatchCreateMemoryRecordsCommand_base: {
49
49
  * },
50
50
  * timestamp: new Date("TIMESTAMP"), // required
51
51
  * memoryStrategyId: "STRING_VALUE",
52
+ * metadata: { // MemoryRecordMetadataMap
53
+ * "<keys>": { // MemoryRecordMetadataValue Union: only one key present
54
+ * stringValue: "STRING_VALUE",
55
+ * stringListValue: [ // StringValueList
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * numberValue: Number("double"),
59
+ * dateTimeValue: new Date("TIMESTAMP"),
60
+ * },
61
+ * },
52
62
  * },
53
63
  * ],
54
64
  * clientToken: "STRING_VALUE",
@@ -49,6 +49,16 @@ declare const BatchUpdateMemoryRecordsCommand_base: {
49
49
  * "STRING_VALUE",
50
50
  * ],
51
51
  * memoryStrategyId: "STRING_VALUE",
52
+ * metadata: { // MemoryRecordMetadataMap
53
+ * "<keys>": { // MemoryRecordMetadataValue Union: only one key present
54
+ * stringValue: "STRING_VALUE",
55
+ * stringListValue: [ // StringValueList
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * numberValue: Number("double"),
59
+ * dateTimeValue: new Date("TIMESTAMP"),
60
+ * },
61
+ * },
52
62
  * },
53
63
  * ],
54
64
  * };
@@ -0,0 +1,134 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { CreateABTestRequest, CreateABTestResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateABTestCommand}.
14
+ */
15
+ export interface CreateABTestCommandInput extends CreateABTestRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateABTestCommand}.
21
+ */
22
+ export interface CreateABTestCommandOutput extends CreateABTestResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateABTestCommand_base: {
25
+ new (input: CreateABTestCommandInput): import("@smithy/smithy-client").CommandImpl<CreateABTestCommandInput, CreateABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateABTestCommandInput): import("@smithy/smithy-client").CommandImpl<CreateABTestCommandInput, CreateABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an A/B test for comparing agent configurations. A/B tests split traffic between a control variant and a treatment variant through a gateway, then evaluate performance using online evaluation configurations to determine which variant performs better.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, CreateABTestCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, CreateABTestCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // CreateABTestRequest
40
+ * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * gatewayArn: "STRING_VALUE", // required
43
+ * variants: [ // VariantList // required
44
+ * { // Variant
45
+ * name: "STRING_VALUE", // required
46
+ * weight: Number("int"), // required
47
+ * variantConfiguration: { // VariantConfiguration
48
+ * configurationBundle: { // ConfigurationBundleRef
49
+ * bundleArn: "STRING_VALUE", // required
50
+ * bundleVersion: "STRING_VALUE", // required
51
+ * },
52
+ * target: { // TargetRef
53
+ * name: "STRING_VALUE", // required
54
+ * },
55
+ * },
56
+ * },
57
+ * ],
58
+ * gatewayFilter: { // GatewayFilter
59
+ * targetPaths: [ // TargetPathList
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * },
63
+ * evaluationConfig: { // ABTestEvaluationConfig Union: only one key present
64
+ * onlineEvaluationConfigArn: "STRING_VALUE",
65
+ * perVariantOnlineEvaluationConfig: [ // PerVariantOnlineEvaluationConfigList
66
+ * { // PerVariantOnlineEvaluationConfig
67
+ * name: "STRING_VALUE", // required
68
+ * onlineEvaluationConfigArn: "STRING_VALUE", // required
69
+ * },
70
+ * ],
71
+ * },
72
+ * roleArn: "STRING_VALUE", // required
73
+ * enableOnCreate: true || false,
74
+ * clientToken: "STRING_VALUE",
75
+ * };
76
+ * const command = new CreateABTestCommand(input);
77
+ * const response = await client.send(command);
78
+ * // { // CreateABTestResponse
79
+ * // abTestId: "STRING_VALUE", // required
80
+ * // abTestArn: "STRING_VALUE", // required
81
+ * // name: "STRING_VALUE",
82
+ * // status: "CREATING" || "ACTIVE" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED" || "FAILED", // required
83
+ * // executionStatus: "PAUSED" || "RUNNING" || "STOPPED" || "NOT_STARTED", // required
84
+ * // createdAt: new Date("TIMESTAMP"), // required
85
+ * // };
86
+ *
87
+ * ```
88
+ *
89
+ * @param CreateABTestCommandInput - {@link CreateABTestCommandInput}
90
+ * @returns {@link CreateABTestCommandOutput}
91
+ * @see {@link CreateABTestCommandInput} for command's `input` shape.
92
+ * @see {@link CreateABTestCommandOutput} for command's `response` shape.
93
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
94
+ *
95
+ * @throws {@link AccessDeniedException} (client fault)
96
+ * <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>
97
+ *
98
+ * @throws {@link ConflictException} (client fault)
99
+ * <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>
100
+ *
101
+ * @throws {@link InternalServerException} (server fault)
102
+ * <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>
103
+ *
104
+ * @throws {@link ServiceQuotaExceededException} (client fault)
105
+ * <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <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>
109
+ *
110
+ * @throws {@link UnauthorizedException} (client fault)
111
+ * <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
112
+ *
113
+ * @throws {@link ValidationException} (client fault)
114
+ * <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>
115
+ *
116
+ * @throws {@link BedrockAgentCoreServiceException}
117
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
118
+ *
119
+ *
120
+ * @public
121
+ */
122
+ export declare class CreateABTestCommand extends CreateABTestCommand_base {
123
+ /** @internal type navigation helper, not in runtime. */
124
+ protected static __types: {
125
+ api: {
126
+ input: CreateABTestRequest;
127
+ output: CreateABTestResponse;
128
+ };
129
+ sdk: {
130
+ input: CreateABTestCommandInput;
131
+ output: CreateABTestCommandOutput;
132
+ };
133
+ };
134
+ }
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { DeleteABTestRequest, DeleteABTestResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteABTestCommand}.
14
+ */
15
+ export interface DeleteABTestCommandInput extends DeleteABTestRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteABTestCommand}.
21
+ */
22
+ export interface DeleteABTestCommandOutput extends DeleteABTestResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteABTestCommand_base: {
25
+ new (input: DeleteABTestCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteABTestCommandInput, DeleteABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteABTestCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteABTestCommandInput, DeleteABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an A/B test and its associated gateway rules.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, DeleteABTestCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, DeleteABTestCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // DeleteABTestRequest
40
+ * abTestId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteABTestCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteABTestResponse
45
+ * // abTestId: "STRING_VALUE", // required
46
+ * // abTestArn: "STRING_VALUE", // required
47
+ * // status: "CREATING" || "ACTIVE" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED" || "FAILED", // required
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param DeleteABTestCommandInput - {@link DeleteABTestCommandInput}
53
+ * @returns {@link DeleteABTestCommandOutput}
54
+ * @see {@link DeleteABTestCommandInput} for command's `input` shape.
55
+ * @see {@link DeleteABTestCommandOutput} for command's `response` shape.
56
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <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>
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * <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>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <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>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <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>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <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>
72
+ *
73
+ * @throws {@link UnauthorizedException} (client fault)
74
+ * <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <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>
78
+ *
79
+ * @throws {@link BedrockAgentCoreServiceException}
80
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DeleteABTestCommand extends DeleteABTestCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DeleteABTestRequest;
90
+ output: DeleteABTestResponse;
91
+ };
92
+ sdk: {
93
+ input: DeleteABTestCommandInput;
94
+ output: DeleteABTestCommandOutput;
95
+ };
96
+ };
97
+ }