@aws-sdk/client-bedrock-agentcore 3.1038.0 → 3.1039.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +105 -7
- package/dist-cjs/index.js +261 -0
- package/dist-cjs/schemas/schemas_0.js +812 -90
- package/dist-es/BedrockAgentCore.js +34 -0
- package/dist-es/commands/CreateABTestCommand.js +16 -0
- package/dist-es/commands/DeleteABTestCommand.js +16 -0
- package/dist-es/commands/DeleteBatchEvaluationCommand.js +16 -0
- package/dist-es/commands/DeleteRecommendationCommand.js +16 -0
- package/dist-es/commands/GetABTestCommand.js +16 -0
- package/dist-es/commands/GetBatchEvaluationCommand.js +16 -0
- package/dist-es/commands/GetRecommendationCommand.js +16 -0
- package/dist-es/commands/ListABTestsCommand.js +16 -0
- package/dist-es/commands/ListBatchEvaluationsCommand.js +16 -0
- package/dist-es/commands/ListRecommendationsCommand.js +16 -0
- package/dist-es/commands/StartBatchEvaluationCommand.js +16 -0
- package/dist-es/commands/StartRecommendationCommand.js +16 -0
- package/dist-es/commands/StopBatchEvaluationCommand.js +16 -0
- package/dist-es/commands/UpdateABTestCommand.js +16 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +47 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListABTestsPaginator.js +4 -0
- package/dist-es/pagination/ListBatchEvaluationsPaginator.js +4 -0
- package/dist-es/pagination/ListRecommendationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +804 -84
- package/dist-types/BedrockAgentCore.d.ts +122 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +16 -2
- package/dist-types/commands/CreateABTestCommand.d.ts +134 -0
- package/dist-types/commands/DeleteABTestCommand.d.ts +97 -0
- package/dist-types/commands/DeleteBatchEvaluationCommand.d.ts +97 -0
- package/dist-types/commands/DeleteRecommendationCommand.d.ts +93 -0
- package/dist-types/commands/GetABTestCommand.d.ts +165 -0
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +148 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +220 -0
- package/dist-types/commands/ListABTestsCommand.d.ts +103 -0
- package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +126 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +100 -0
- package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +2 -1
- package/dist-types/commands/StartBatchEvaluationCommand.d.ts +172 -0
- package/dist-types/commands/StartRecommendationCommand.d.ts +300 -0
- package/dist-types/commands/StopBatchEvaluationCommand.d.ts +98 -0
- package/dist-types/commands/UpdateABTestCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +95 -0
- package/dist-types/models/models_0.d.ts +2390 -299
- package/dist-types/models/models_1.d.ts +99 -0
- package/dist-types/pagination/ListABTestsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBatchEvaluationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +96 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +262 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/CreateABTestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteABTestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBatchEvaluationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetABTestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetBatchEvaluationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListABTestsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListBatchEvaluationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartBatchEvaluationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopBatchEvaluationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateABTestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +58 -0
- package/dist-types/ts3.4/models/models_0.d.ts +704 -24
- package/dist-types/ts3.4/models/models_1.d.ts +29 -0
- package/dist-types/ts3.4/pagination/ListABTestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBatchEvaluationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +96 -0
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -163,6 +163,18 @@ class CompleteResourceTokenAuthCommand extends smithyClient.Command
|
|
|
163
163
|
.build() {
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
class CreateABTestCommand extends smithyClient.Command
|
|
167
|
+
.classBuilder()
|
|
168
|
+
.ep(commonParams)
|
|
169
|
+
.m(function (Command, cs, config, o) {
|
|
170
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
171
|
+
})
|
|
172
|
+
.s("AmazonBedrockAgentCore", "CreateABTest", {})
|
|
173
|
+
.n("BedrockAgentCoreClient", "CreateABTestCommand")
|
|
174
|
+
.sc(schemas_0.CreateABTest$)
|
|
175
|
+
.build() {
|
|
176
|
+
}
|
|
177
|
+
|
|
166
178
|
class CreateEventCommand extends smithyClient.Command
|
|
167
179
|
.classBuilder()
|
|
168
180
|
.ep(commonParams)
|
|
@@ -175,6 +187,30 @@ class CreateEventCommand extends smithyClient.Command
|
|
|
175
187
|
.build() {
|
|
176
188
|
}
|
|
177
189
|
|
|
190
|
+
class DeleteABTestCommand extends smithyClient.Command
|
|
191
|
+
.classBuilder()
|
|
192
|
+
.ep(commonParams)
|
|
193
|
+
.m(function (Command, cs, config, o) {
|
|
194
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
195
|
+
})
|
|
196
|
+
.s("AmazonBedrockAgentCore", "DeleteABTest", {})
|
|
197
|
+
.n("BedrockAgentCoreClient", "DeleteABTestCommand")
|
|
198
|
+
.sc(schemas_0.DeleteABTest$)
|
|
199
|
+
.build() {
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
class DeleteBatchEvaluationCommand extends smithyClient.Command
|
|
203
|
+
.classBuilder()
|
|
204
|
+
.ep(commonParams)
|
|
205
|
+
.m(function (Command, cs, config, o) {
|
|
206
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
207
|
+
})
|
|
208
|
+
.s("AmazonBedrockAgentCore", "DeleteBatchEvaluation", {})
|
|
209
|
+
.n("BedrockAgentCoreClient", "DeleteBatchEvaluationCommand")
|
|
210
|
+
.sc(schemas_0.DeleteBatchEvaluation$)
|
|
211
|
+
.build() {
|
|
212
|
+
}
|
|
213
|
+
|
|
178
214
|
class DeleteEventCommand extends smithyClient.Command
|
|
179
215
|
.classBuilder()
|
|
180
216
|
.ep(commonParams)
|
|
@@ -199,6 +235,18 @@ class DeleteMemoryRecordCommand extends smithyClient.Command
|
|
|
199
235
|
.build() {
|
|
200
236
|
}
|
|
201
237
|
|
|
238
|
+
class DeleteRecommendationCommand extends smithyClient.Command
|
|
239
|
+
.classBuilder()
|
|
240
|
+
.ep(commonParams)
|
|
241
|
+
.m(function (Command, cs, config, o) {
|
|
242
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
243
|
+
})
|
|
244
|
+
.s("AmazonBedrockAgentCore", "DeleteRecommendation", {})
|
|
245
|
+
.n("BedrockAgentCoreClient", "DeleteRecommendationCommand")
|
|
246
|
+
.sc(schemas_0.DeleteRecommendation$)
|
|
247
|
+
.build() {
|
|
248
|
+
}
|
|
249
|
+
|
|
202
250
|
class EvaluateCommand extends smithyClient.Command
|
|
203
251
|
.classBuilder()
|
|
204
252
|
.ep(commonParams)
|
|
@@ -211,6 +259,18 @@ class EvaluateCommand extends smithyClient.Command
|
|
|
211
259
|
.build() {
|
|
212
260
|
}
|
|
213
261
|
|
|
262
|
+
class GetABTestCommand extends smithyClient.Command
|
|
263
|
+
.classBuilder()
|
|
264
|
+
.ep(commonParams)
|
|
265
|
+
.m(function (Command, cs, config, o) {
|
|
266
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
267
|
+
})
|
|
268
|
+
.s("AmazonBedrockAgentCore", "GetABTest", {})
|
|
269
|
+
.n("BedrockAgentCoreClient", "GetABTestCommand")
|
|
270
|
+
.sc(schemas_0.GetABTest$)
|
|
271
|
+
.build() {
|
|
272
|
+
}
|
|
273
|
+
|
|
214
274
|
class GetAgentCardCommand extends smithyClient.Command
|
|
215
275
|
.classBuilder()
|
|
216
276
|
.ep(commonParams)
|
|
@@ -223,6 +283,18 @@ class GetAgentCardCommand extends smithyClient.Command
|
|
|
223
283
|
.build() {
|
|
224
284
|
}
|
|
225
285
|
|
|
286
|
+
class GetBatchEvaluationCommand extends smithyClient.Command
|
|
287
|
+
.classBuilder()
|
|
288
|
+
.ep(commonParams)
|
|
289
|
+
.m(function (Command, cs, config, o) {
|
|
290
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
291
|
+
})
|
|
292
|
+
.s("AmazonBedrockAgentCore", "GetBatchEvaluation", {})
|
|
293
|
+
.n("BedrockAgentCoreClient", "GetBatchEvaluationCommand")
|
|
294
|
+
.sc(schemas_0.GetBatchEvaluation$)
|
|
295
|
+
.build() {
|
|
296
|
+
}
|
|
297
|
+
|
|
226
298
|
class GetBrowserSessionCommand extends smithyClient.Command
|
|
227
299
|
.classBuilder()
|
|
228
300
|
.ep(commonParams)
|
|
@@ -271,6 +343,18 @@ class GetMemoryRecordCommand extends smithyClient.Command
|
|
|
271
343
|
.build() {
|
|
272
344
|
}
|
|
273
345
|
|
|
346
|
+
class GetRecommendationCommand extends smithyClient.Command
|
|
347
|
+
.classBuilder()
|
|
348
|
+
.ep(commonParams)
|
|
349
|
+
.m(function (Command, cs, config, o) {
|
|
350
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
351
|
+
})
|
|
352
|
+
.s("AmazonBedrockAgentCore", "GetRecommendation", {})
|
|
353
|
+
.n("BedrockAgentCoreClient", "GetRecommendationCommand")
|
|
354
|
+
.sc(schemas_0.GetRecommendation$)
|
|
355
|
+
.build() {
|
|
356
|
+
}
|
|
357
|
+
|
|
274
358
|
class GetResourceApiKeyCommand extends smithyClient.Command
|
|
275
359
|
.classBuilder()
|
|
276
360
|
.ep(commonParams)
|
|
@@ -403,6 +487,18 @@ class InvokeHarnessCommand extends smithyClient.Command
|
|
|
403
487
|
.build() {
|
|
404
488
|
}
|
|
405
489
|
|
|
490
|
+
class ListABTestsCommand extends smithyClient.Command
|
|
491
|
+
.classBuilder()
|
|
492
|
+
.ep(commonParams)
|
|
493
|
+
.m(function (Command, cs, config, o) {
|
|
494
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
495
|
+
})
|
|
496
|
+
.s("AmazonBedrockAgentCore", "ListABTests", {})
|
|
497
|
+
.n("BedrockAgentCoreClient", "ListABTestsCommand")
|
|
498
|
+
.sc(schemas_0.ListABTests$)
|
|
499
|
+
.build() {
|
|
500
|
+
}
|
|
501
|
+
|
|
406
502
|
class ListActorsCommand extends smithyClient.Command
|
|
407
503
|
.classBuilder()
|
|
408
504
|
.ep(commonParams)
|
|
@@ -415,6 +511,18 @@ class ListActorsCommand extends smithyClient.Command
|
|
|
415
511
|
.build() {
|
|
416
512
|
}
|
|
417
513
|
|
|
514
|
+
class ListBatchEvaluationsCommand extends smithyClient.Command
|
|
515
|
+
.classBuilder()
|
|
516
|
+
.ep(commonParams)
|
|
517
|
+
.m(function (Command, cs, config, o) {
|
|
518
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
519
|
+
})
|
|
520
|
+
.s("AmazonBedrockAgentCore", "ListBatchEvaluations", {})
|
|
521
|
+
.n("BedrockAgentCoreClient", "ListBatchEvaluationsCommand")
|
|
522
|
+
.sc(schemas_0.ListBatchEvaluations$)
|
|
523
|
+
.build() {
|
|
524
|
+
}
|
|
525
|
+
|
|
418
526
|
class ListBrowserSessionsCommand extends smithyClient.Command
|
|
419
527
|
.classBuilder()
|
|
420
528
|
.ep(commonParams)
|
|
@@ -475,6 +583,18 @@ class ListMemoryRecordsCommand extends smithyClient.Command
|
|
|
475
583
|
.build() {
|
|
476
584
|
}
|
|
477
585
|
|
|
586
|
+
class ListRecommendationsCommand extends smithyClient.Command
|
|
587
|
+
.classBuilder()
|
|
588
|
+
.ep(commonParams)
|
|
589
|
+
.m(function (Command, cs, config, o) {
|
|
590
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
591
|
+
})
|
|
592
|
+
.s("AmazonBedrockAgentCore", "ListRecommendations", {})
|
|
593
|
+
.n("BedrockAgentCoreClient", "ListRecommendationsCommand")
|
|
594
|
+
.sc(schemas_0.ListRecommendations$)
|
|
595
|
+
.build() {
|
|
596
|
+
}
|
|
597
|
+
|
|
478
598
|
class ListSessionsCommand extends smithyClient.Command
|
|
479
599
|
.classBuilder()
|
|
480
600
|
.ep(commonParams)
|
|
@@ -523,6 +643,18 @@ class SearchRegistryRecordsCommand extends smithyClient.Command
|
|
|
523
643
|
.build() {
|
|
524
644
|
}
|
|
525
645
|
|
|
646
|
+
class StartBatchEvaluationCommand extends smithyClient.Command
|
|
647
|
+
.classBuilder()
|
|
648
|
+
.ep(commonParams)
|
|
649
|
+
.m(function (Command, cs, config, o) {
|
|
650
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
651
|
+
})
|
|
652
|
+
.s("AmazonBedrockAgentCore", "StartBatchEvaluation", {})
|
|
653
|
+
.n("BedrockAgentCoreClient", "StartBatchEvaluationCommand")
|
|
654
|
+
.sc(schemas_0.StartBatchEvaluation$)
|
|
655
|
+
.build() {
|
|
656
|
+
}
|
|
657
|
+
|
|
526
658
|
class StartBrowserSessionCommand extends smithyClient.Command
|
|
527
659
|
.classBuilder()
|
|
528
660
|
.ep(commonParams)
|
|
@@ -559,6 +691,30 @@ class StartMemoryExtractionJobCommand extends smithyClient.Command
|
|
|
559
691
|
.build() {
|
|
560
692
|
}
|
|
561
693
|
|
|
694
|
+
class StartRecommendationCommand extends smithyClient.Command
|
|
695
|
+
.classBuilder()
|
|
696
|
+
.ep(commonParams)
|
|
697
|
+
.m(function (Command, cs, config, o) {
|
|
698
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
699
|
+
})
|
|
700
|
+
.s("AmazonBedrockAgentCore", "StartRecommendation", {})
|
|
701
|
+
.n("BedrockAgentCoreClient", "StartRecommendationCommand")
|
|
702
|
+
.sc(schemas_0.StartRecommendation$)
|
|
703
|
+
.build() {
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
class StopBatchEvaluationCommand extends smithyClient.Command
|
|
707
|
+
.classBuilder()
|
|
708
|
+
.ep(commonParams)
|
|
709
|
+
.m(function (Command, cs, config, o) {
|
|
710
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
711
|
+
})
|
|
712
|
+
.s("AmazonBedrockAgentCore", "StopBatchEvaluation", {})
|
|
713
|
+
.n("BedrockAgentCoreClient", "StopBatchEvaluationCommand")
|
|
714
|
+
.sc(schemas_0.StopBatchEvaluation$)
|
|
715
|
+
.build() {
|
|
716
|
+
}
|
|
717
|
+
|
|
562
718
|
class StopBrowserSessionCommand extends smithyClient.Command
|
|
563
719
|
.classBuilder()
|
|
564
720
|
.ep(commonParams)
|
|
@@ -595,6 +751,18 @@ class StopRuntimeSessionCommand extends smithyClient.Command
|
|
|
595
751
|
.build() {
|
|
596
752
|
}
|
|
597
753
|
|
|
754
|
+
class UpdateABTestCommand extends smithyClient.Command
|
|
755
|
+
.classBuilder()
|
|
756
|
+
.ep(commonParams)
|
|
757
|
+
.m(function (Command, cs, config, o) {
|
|
758
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
759
|
+
})
|
|
760
|
+
.s("AmazonBedrockAgentCore", "UpdateABTest", {})
|
|
761
|
+
.n("BedrockAgentCoreClient", "UpdateABTestCommand")
|
|
762
|
+
.sc(schemas_0.UpdateABTest$)
|
|
763
|
+
.build() {
|
|
764
|
+
}
|
|
765
|
+
|
|
598
766
|
class UpdateBrowserStreamCommand extends smithyClient.Command
|
|
599
767
|
.classBuilder()
|
|
600
768
|
.ep(commonParams)
|
|
@@ -607,14 +775,20 @@ class UpdateBrowserStreamCommand extends smithyClient.Command
|
|
|
607
775
|
.build() {
|
|
608
776
|
}
|
|
609
777
|
|
|
778
|
+
const paginateListABTests = core.createPaginator(BedrockAgentCoreClient, ListABTestsCommand, "nextToken", "nextToken", "maxResults");
|
|
779
|
+
|
|
610
780
|
const paginateListActors = core.createPaginator(BedrockAgentCoreClient, ListActorsCommand, "nextToken", "nextToken", "maxResults");
|
|
611
781
|
|
|
782
|
+
const paginateListBatchEvaluations = core.createPaginator(BedrockAgentCoreClient, ListBatchEvaluationsCommand, "nextToken", "nextToken", "maxResults");
|
|
783
|
+
|
|
612
784
|
const paginateListEvents = core.createPaginator(BedrockAgentCoreClient, ListEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
613
785
|
|
|
614
786
|
const paginateListMemoryExtractionJobs = core.createPaginator(BedrockAgentCoreClient, ListMemoryExtractionJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
615
787
|
|
|
616
788
|
const paginateListMemoryRecords = core.createPaginator(BedrockAgentCoreClient, ListMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
617
789
|
|
|
790
|
+
const paginateListRecommendations = core.createPaginator(BedrockAgentCoreClient, ListRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
791
|
+
|
|
618
792
|
const paginateListSessions = core.createPaginator(BedrockAgentCoreClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
619
793
|
|
|
620
794
|
const paginateRetrieveMemoryRecords = core.createPaginator(BedrockAgentCoreClient, RetrieveMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -624,15 +798,22 @@ const commands = {
|
|
|
624
798
|
BatchDeleteMemoryRecordsCommand,
|
|
625
799
|
BatchUpdateMemoryRecordsCommand,
|
|
626
800
|
CompleteResourceTokenAuthCommand,
|
|
801
|
+
CreateABTestCommand,
|
|
627
802
|
CreateEventCommand,
|
|
803
|
+
DeleteABTestCommand,
|
|
804
|
+
DeleteBatchEvaluationCommand,
|
|
628
805
|
DeleteEventCommand,
|
|
629
806
|
DeleteMemoryRecordCommand,
|
|
807
|
+
DeleteRecommendationCommand,
|
|
630
808
|
EvaluateCommand,
|
|
809
|
+
GetABTestCommand,
|
|
631
810
|
GetAgentCardCommand,
|
|
811
|
+
GetBatchEvaluationCommand,
|
|
632
812
|
GetBrowserSessionCommand,
|
|
633
813
|
GetCodeInterpreterSessionCommand,
|
|
634
814
|
GetEventCommand,
|
|
635
815
|
GetMemoryRecordCommand,
|
|
816
|
+
GetRecommendationCommand,
|
|
636
817
|
GetResourceApiKeyCommand,
|
|
637
818
|
GetResourceOauth2TokenCommand,
|
|
638
819
|
GetWorkloadAccessTokenCommand,
|
|
@@ -643,29 +824,39 @@ const commands = {
|
|
|
643
824
|
InvokeBrowserCommand,
|
|
644
825
|
InvokeCodeInterpreterCommand,
|
|
645
826
|
InvokeHarnessCommand,
|
|
827
|
+
ListABTestsCommand,
|
|
646
828
|
ListActorsCommand,
|
|
829
|
+
ListBatchEvaluationsCommand,
|
|
647
830
|
ListBrowserSessionsCommand,
|
|
648
831
|
ListCodeInterpreterSessionsCommand,
|
|
649
832
|
ListEventsCommand,
|
|
650
833
|
ListMemoryExtractionJobsCommand,
|
|
651
834
|
ListMemoryRecordsCommand,
|
|
835
|
+
ListRecommendationsCommand,
|
|
652
836
|
ListSessionsCommand,
|
|
653
837
|
RetrieveMemoryRecordsCommand,
|
|
654
838
|
SaveBrowserSessionProfileCommand,
|
|
655
839
|
SearchRegistryRecordsCommand,
|
|
840
|
+
StartBatchEvaluationCommand,
|
|
656
841
|
StartBrowserSessionCommand,
|
|
657
842
|
StartCodeInterpreterSessionCommand,
|
|
658
843
|
StartMemoryExtractionJobCommand,
|
|
844
|
+
StartRecommendationCommand,
|
|
845
|
+
StopBatchEvaluationCommand,
|
|
659
846
|
StopBrowserSessionCommand,
|
|
660
847
|
StopCodeInterpreterSessionCommand,
|
|
661
848
|
StopRuntimeSessionCommand,
|
|
849
|
+
UpdateABTestCommand,
|
|
662
850
|
UpdateBrowserStreamCommand,
|
|
663
851
|
};
|
|
664
852
|
const paginators = {
|
|
853
|
+
paginateListABTests,
|
|
665
854
|
paginateListActors,
|
|
855
|
+
paginateListBatchEvaluations,
|
|
666
856
|
paginateListEvents,
|
|
667
857
|
paginateListMemoryExtractionJobs,
|
|
668
858
|
paginateListMemoryRecords,
|
|
859
|
+
paginateListRecommendations,
|
|
669
860
|
paginateListSessions,
|
|
670
861
|
paginateRetrieveMemoryRecords,
|
|
671
862
|
};
|
|
@@ -673,6 +864,22 @@ class BedrockAgentCore extends BedrockAgentCoreClient {
|
|
|
673
864
|
}
|
|
674
865
|
smithyClient.createAggregatedClient(commands, BedrockAgentCore, { paginators });
|
|
675
866
|
|
|
867
|
+
const ABTestExecutionStatus = {
|
|
868
|
+
NOT_STARTED: "NOT_STARTED",
|
|
869
|
+
PAUSED: "PAUSED",
|
|
870
|
+
RUNNING: "RUNNING",
|
|
871
|
+
STOPPED: "STOPPED",
|
|
872
|
+
};
|
|
873
|
+
const ABTestStatus = {
|
|
874
|
+
ACTIVE: "ACTIVE",
|
|
875
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
876
|
+
CREATING: "CREATING",
|
|
877
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
878
|
+
DELETING: "DELETING",
|
|
879
|
+
FAILED: "FAILED",
|
|
880
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
881
|
+
UPDATING: "UPDATING",
|
|
882
|
+
};
|
|
676
883
|
const ValidationExceptionReason = {
|
|
677
884
|
CANNOT_PARSE: "CannotParse",
|
|
678
885
|
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
@@ -684,6 +891,16 @@ const CommandExecutionStatus = {
|
|
|
684
891
|
COMPLETED: "COMPLETED",
|
|
685
892
|
TIMED_OUT: "TIMED_OUT",
|
|
686
893
|
};
|
|
894
|
+
const CloudWatchLogsFilterOperator = {
|
|
895
|
+
CONTAINS: "Contains",
|
|
896
|
+
EQUALS: "Equals",
|
|
897
|
+
GREATER_THAN: "GreaterThan",
|
|
898
|
+
GREATER_THAN_OR_EQUAL: "GreaterThanOrEqual",
|
|
899
|
+
LESS_THAN: "LessThan",
|
|
900
|
+
LESS_THAN_OR_EQUAL: "LessThanOrEqual",
|
|
901
|
+
NOT_CONTAINS: "NotContains",
|
|
902
|
+
NOT_EQUALS: "NotEquals",
|
|
903
|
+
};
|
|
687
904
|
const BrowserEnterprisePolicyType = {
|
|
688
905
|
MANAGED: "MANAGED",
|
|
689
906
|
RECOMMENDED: "RECOMMENDED",
|
|
@@ -712,6 +929,27 @@ const CodeInterpreterSessionStatus = {
|
|
|
712
929
|
READY: "READY",
|
|
713
930
|
TERMINATED: "TERMINATED",
|
|
714
931
|
};
|
|
932
|
+
const BatchEvaluationStatus = {
|
|
933
|
+
COMPLETED: "COMPLETED",
|
|
934
|
+
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
935
|
+
DELETING: "DELETING",
|
|
936
|
+
FAILED: "FAILED",
|
|
937
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
938
|
+
PENDING: "PENDING",
|
|
939
|
+
STOPPED: "STOPPED",
|
|
940
|
+
STOPPING: "STOPPING",
|
|
941
|
+
};
|
|
942
|
+
const RecommendationStatus = {
|
|
943
|
+
COMPLETED: "COMPLETED",
|
|
944
|
+
DELETING: "DELETING",
|
|
945
|
+
FAILED: "FAILED",
|
|
946
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
947
|
+
PENDING: "PENDING",
|
|
948
|
+
};
|
|
949
|
+
const RecommendationType = {
|
|
950
|
+
SYSTEM_PROMPT_RECOMMENDATION: "SYSTEM_PROMPT_RECOMMENDATION",
|
|
951
|
+
TOOL_DESCRIPTION_RECOMMENDATION: "TOOL_DESCRIPTION_RECOMMENDATION",
|
|
952
|
+
};
|
|
715
953
|
const Oauth2FlowType = {
|
|
716
954
|
M2M: "M2M",
|
|
717
955
|
USER_FEDERATION: "USER_FEDERATION",
|
|
@@ -836,31 +1074,42 @@ const RegistryRecordStatus = {
|
|
|
836
1074
|
exports.$Command = smithyClient.Command;
|
|
837
1075
|
exports.__Client = smithyClient.Client;
|
|
838
1076
|
exports.BedrockAgentCoreServiceException = BedrockAgentCoreServiceException.BedrockAgentCoreServiceException;
|
|
1077
|
+
exports.ABTestExecutionStatus = ABTestExecutionStatus;
|
|
1078
|
+
exports.ABTestStatus = ABTestStatus;
|
|
839
1079
|
exports.AutomationStreamStatus = AutomationStreamStatus;
|
|
840
1080
|
exports.BatchCreateMemoryRecordsCommand = BatchCreateMemoryRecordsCommand;
|
|
841
1081
|
exports.BatchDeleteMemoryRecordsCommand = BatchDeleteMemoryRecordsCommand;
|
|
1082
|
+
exports.BatchEvaluationStatus = BatchEvaluationStatus;
|
|
842
1083
|
exports.BatchUpdateMemoryRecordsCommand = BatchUpdateMemoryRecordsCommand;
|
|
843
1084
|
exports.BedrockAgentCore = BedrockAgentCore;
|
|
844
1085
|
exports.BedrockAgentCoreClient = BedrockAgentCoreClient;
|
|
845
1086
|
exports.BrowserActionStatus = BrowserActionStatus;
|
|
846
1087
|
exports.BrowserEnterprisePolicyType = BrowserEnterprisePolicyType;
|
|
847
1088
|
exports.BrowserSessionStatus = BrowserSessionStatus;
|
|
1089
|
+
exports.CloudWatchLogsFilterOperator = CloudWatchLogsFilterOperator;
|
|
848
1090
|
exports.CodeInterpreterSessionStatus = CodeInterpreterSessionStatus;
|
|
849
1091
|
exports.CommandExecutionStatus = CommandExecutionStatus;
|
|
850
1092
|
exports.CompleteResourceTokenAuthCommand = CompleteResourceTokenAuthCommand;
|
|
851
1093
|
exports.ContentBlockType = ContentBlockType;
|
|
1094
|
+
exports.CreateABTestCommand = CreateABTestCommand;
|
|
852
1095
|
exports.CreateEventCommand = CreateEventCommand;
|
|
1096
|
+
exports.DeleteABTestCommand = DeleteABTestCommand;
|
|
1097
|
+
exports.DeleteBatchEvaluationCommand = DeleteBatchEvaluationCommand;
|
|
853
1098
|
exports.DeleteEventCommand = DeleteEventCommand;
|
|
854
1099
|
exports.DeleteMemoryRecordCommand = DeleteMemoryRecordCommand;
|
|
1100
|
+
exports.DeleteRecommendationCommand = DeleteRecommendationCommand;
|
|
855
1101
|
exports.DescriptorType = DescriptorType;
|
|
856
1102
|
exports.EvaluateCommand = EvaluateCommand;
|
|
857
1103
|
exports.EventFilterCondition = EventFilterCondition;
|
|
858
1104
|
exports.ExtractionJobStatus = ExtractionJobStatus;
|
|
1105
|
+
exports.GetABTestCommand = GetABTestCommand;
|
|
859
1106
|
exports.GetAgentCardCommand = GetAgentCardCommand;
|
|
1107
|
+
exports.GetBatchEvaluationCommand = GetBatchEvaluationCommand;
|
|
860
1108
|
exports.GetBrowserSessionCommand = GetBrowserSessionCommand;
|
|
861
1109
|
exports.GetCodeInterpreterSessionCommand = GetCodeInterpreterSessionCommand;
|
|
862
1110
|
exports.GetEventCommand = GetEventCommand;
|
|
863
1111
|
exports.GetMemoryRecordCommand = GetMemoryRecordCommand;
|
|
1112
|
+
exports.GetRecommendationCommand = GetRecommendationCommand;
|
|
864
1113
|
exports.GetResourceApiKeyCommand = GetResourceApiKeyCommand;
|
|
865
1114
|
exports.GetResourceOauth2TokenCommand = GetResourceOauth2TokenCommand;
|
|
866
1115
|
exports.GetWorkloadAccessTokenCommand = GetWorkloadAccessTokenCommand;
|
|
@@ -877,12 +1126,15 @@ exports.InvokeBrowserCommand = InvokeBrowserCommand;
|
|
|
877
1126
|
exports.InvokeCodeInterpreterCommand = InvokeCodeInterpreterCommand;
|
|
878
1127
|
exports.InvokeHarnessCommand = InvokeHarnessCommand;
|
|
879
1128
|
exports.LanguageRuntime = LanguageRuntime;
|
|
1129
|
+
exports.ListABTestsCommand = ListABTestsCommand;
|
|
880
1130
|
exports.ListActorsCommand = ListActorsCommand;
|
|
1131
|
+
exports.ListBatchEvaluationsCommand = ListBatchEvaluationsCommand;
|
|
881
1132
|
exports.ListBrowserSessionsCommand = ListBrowserSessionsCommand;
|
|
882
1133
|
exports.ListCodeInterpreterSessionsCommand = ListCodeInterpreterSessionsCommand;
|
|
883
1134
|
exports.ListEventsCommand = ListEventsCommand;
|
|
884
1135
|
exports.ListMemoryExtractionJobsCommand = ListMemoryExtractionJobsCommand;
|
|
885
1136
|
exports.ListMemoryRecordsCommand = ListMemoryRecordsCommand;
|
|
1137
|
+
exports.ListRecommendationsCommand = ListRecommendationsCommand;
|
|
886
1138
|
exports.ListSessionsCommand = ListSessionsCommand;
|
|
887
1139
|
exports.MemoryRecordStatus = MemoryRecordStatus;
|
|
888
1140
|
exports.MouseButton = MouseButton;
|
|
@@ -890,6 +1142,8 @@ exports.OAuthGrantType = OAuthGrantType;
|
|
|
890
1142
|
exports.Oauth2FlowType = Oauth2FlowType;
|
|
891
1143
|
exports.OperatorType = OperatorType;
|
|
892
1144
|
exports.ProgrammingLanguage = ProgrammingLanguage;
|
|
1145
|
+
exports.RecommendationStatus = RecommendationStatus;
|
|
1146
|
+
exports.RecommendationType = RecommendationType;
|
|
893
1147
|
exports.RegistryRecordStatus = RegistryRecordStatus;
|
|
894
1148
|
exports.ResourceContentType = ResourceContentType;
|
|
895
1149
|
exports.RetrieveMemoryRecordsCommand = RetrieveMemoryRecordsCommand;
|
|
@@ -898,20 +1152,27 @@ exports.SaveBrowserSessionProfileCommand = SaveBrowserSessionProfileCommand;
|
|
|
898
1152
|
exports.ScreenshotFormat = ScreenshotFormat;
|
|
899
1153
|
exports.SearchRegistryRecordsCommand = SearchRegistryRecordsCommand;
|
|
900
1154
|
exports.SessionStatus = SessionStatus;
|
|
1155
|
+
exports.StartBatchEvaluationCommand = StartBatchEvaluationCommand;
|
|
901
1156
|
exports.StartBrowserSessionCommand = StartBrowserSessionCommand;
|
|
902
1157
|
exports.StartCodeInterpreterSessionCommand = StartCodeInterpreterSessionCommand;
|
|
903
1158
|
exports.StartMemoryExtractionJobCommand = StartMemoryExtractionJobCommand;
|
|
1159
|
+
exports.StartRecommendationCommand = StartRecommendationCommand;
|
|
1160
|
+
exports.StopBatchEvaluationCommand = StopBatchEvaluationCommand;
|
|
904
1161
|
exports.StopBrowserSessionCommand = StopBrowserSessionCommand;
|
|
905
1162
|
exports.StopCodeInterpreterSessionCommand = StopCodeInterpreterSessionCommand;
|
|
906
1163
|
exports.StopRuntimeSessionCommand = StopRuntimeSessionCommand;
|
|
907
1164
|
exports.TaskStatus = TaskStatus;
|
|
908
1165
|
exports.ToolName = ToolName;
|
|
1166
|
+
exports.UpdateABTestCommand = UpdateABTestCommand;
|
|
909
1167
|
exports.UpdateBrowserStreamCommand = UpdateBrowserStreamCommand;
|
|
910
1168
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1169
|
+
exports.paginateListABTests = paginateListABTests;
|
|
911
1170
|
exports.paginateListActors = paginateListActors;
|
|
1171
|
+
exports.paginateListBatchEvaluations = paginateListBatchEvaluations;
|
|
912
1172
|
exports.paginateListEvents = paginateListEvents;
|
|
913
1173
|
exports.paginateListMemoryExtractionJobs = paginateListMemoryExtractionJobs;
|
|
914
1174
|
exports.paginateListMemoryRecords = paginateListMemoryRecords;
|
|
1175
|
+
exports.paginateListRecommendations = paginateListRecommendations;
|
|
915
1176
|
exports.paginateListSessions = paginateListSessions;
|
|
916
1177
|
exports.paginateRetrieveMemoryRecords = paginateRetrieveMemoryRecords;
|
|
917
1178
|
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|