@effect-aws/client-bedrock-agentcore 1.11.2 → 2.0.0-beta.5

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 (36) hide show
  1. package/README.md +3 -3
  2. package/dist/dts/BedrockAgentCoreClientInstance.d.ts +1 -1
  3. package/dist/dts/BedrockAgentCoreClientInstance.d.ts.map +1 -1
  4. package/dist/dts/BedrockAgentCoreService.d.ts +79 -81
  5. package/dist/dts/BedrockAgentCoreService.d.ts.map +1 -1
  6. package/dist/dts/BedrockAgentCoreServiceConfig.d.ts.map +1 -1
  7. package/dist/esm/BedrockAgentCoreClientInstance.js +2 -2
  8. package/dist/esm/BedrockAgentCoreClientInstance.js.map +1 -1
  9. package/dist/esm/BedrockAgentCoreService.js +2 -1
  10. package/dist/esm/BedrockAgentCoreService.js.map +1 -1
  11. package/dist/esm/BedrockAgentCoreServiceConfig.js +5 -6
  12. package/dist/esm/BedrockAgentCoreServiceConfig.js.map +1 -1
  13. package/package.json +8 -14
  14. package/src/BedrockAgentCoreClientInstance.ts +6 -4
  15. package/src/BedrockAgentCoreService.ts +80 -81
  16. package/src/BedrockAgentCoreServiceConfig.ts +6 -7
  17. package/dist/cjs/BedrockAgentCoreClientInstance.d.ts +0 -26
  18. package/dist/cjs/BedrockAgentCoreClientInstance.d.ts.map +0 -1
  19. package/dist/cjs/BedrockAgentCoreClientInstance.js +0 -52
  20. package/dist/cjs/BedrockAgentCoreClientInstance.js.map +0 -1
  21. package/dist/cjs/BedrockAgentCoreService.d.ts +0 -320
  22. package/dist/cjs/BedrockAgentCoreService.d.ts.map +0 -1
  23. package/dist/cjs/BedrockAgentCoreService.js +0 -138
  24. package/dist/cjs/BedrockAgentCoreService.js.map +0 -1
  25. package/dist/cjs/BedrockAgentCoreServiceConfig.d.ts +0 -26
  26. package/dist/cjs/BedrockAgentCoreServiceConfig.d.ts.map +0 -1
  27. package/dist/cjs/BedrockAgentCoreServiceConfig.js +0 -60
  28. package/dist/cjs/BedrockAgentCoreServiceConfig.js.map +0 -1
  29. package/dist/cjs/Errors.d.ts +0 -21
  30. package/dist/cjs/Errors.d.ts.map +0 -1
  31. package/dist/cjs/Errors.js +0 -20
  32. package/dist/cjs/Errors.js.map +0 -1
  33. package/dist/cjs/index.d.ts +0 -44
  34. package/dist/cjs/index.d.ts.map +0 -1
  35. package/dist/cjs/index.js +0 -56
  36. package/dist/cjs/index.js.map +0 -1
@@ -215,6 +215,7 @@ import * as Service from "@effect-aws/commons/Service";
215
215
  import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
216
216
  import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
217
217
  import type * as Cause from "effect/Cause";
218
+ import * as Context from "effect/Context";
218
219
  import * as Effect from "effect/Effect";
219
220
  import * as Layer from "effect/Layer";
220
221
  import type * as Stream from "effect/Stream";
@@ -321,9 +322,7 @@ const paginators = {
321
322
  paginateRetrieveMemoryRecords,
322
323
  };
323
324
 
324
- interface BedrockAgentCoreService$ {
325
- readonly _: unique symbol;
326
-
325
+ export interface BedrockAgentCoreService$ {
327
326
  /**
328
327
  * @see {@link BatchCreateMemoryRecordsCommand}
329
328
  */
@@ -332,7 +331,7 @@ interface BedrockAgentCoreService$ {
332
331
  options?: HttpHandlerOptions,
333
332
  ): Effect.Effect<
334
333
  BatchCreateMemoryRecordsCommandOutput,
335
- | Cause.TimeoutException
334
+ | Cause.TimeoutError
336
335
  | SdkError
337
336
  | AccessDeniedError
338
337
  | ResourceNotFoundError
@@ -350,7 +349,7 @@ interface BedrockAgentCoreService$ {
350
349
  options?: HttpHandlerOptions,
351
350
  ): Effect.Effect<
352
351
  BatchDeleteMemoryRecordsCommandOutput,
353
- | Cause.TimeoutException
352
+ | Cause.TimeoutError
354
353
  | SdkError
355
354
  | AccessDeniedError
356
355
  | ResourceNotFoundError
@@ -368,7 +367,7 @@ interface BedrockAgentCoreService$ {
368
367
  options?: HttpHandlerOptions,
369
368
  ): Effect.Effect<
370
369
  BatchUpdateMemoryRecordsCommandOutput,
371
- | Cause.TimeoutException
370
+ | Cause.TimeoutError
372
371
  | SdkError
373
372
  | AccessDeniedError
374
373
  | ResourceNotFoundError
@@ -386,7 +385,7 @@ interface BedrockAgentCoreService$ {
386
385
  options?: HttpHandlerOptions,
387
386
  ): Effect.Effect<
388
387
  CompleteResourceTokenAuthCommandOutput,
389
- | Cause.TimeoutException
388
+ | Cause.TimeoutError
390
389
  | SdkError
391
390
  | AccessDeniedError
392
391
  | InternalServerError
@@ -404,7 +403,7 @@ interface BedrockAgentCoreService$ {
404
403
  options?: HttpHandlerOptions,
405
404
  ): Effect.Effect<
406
405
  CreateABTestCommandOutput,
407
- | Cause.TimeoutException
406
+ | Cause.TimeoutError
408
407
  | SdkError
409
408
  | AccessDeniedError
410
409
  | ConflictError
@@ -423,7 +422,7 @@ interface BedrockAgentCoreService$ {
423
422
  options?: HttpHandlerOptions,
424
423
  ): Effect.Effect<
425
424
  CreateEventCommandOutput,
426
- | Cause.TimeoutException
425
+ | Cause.TimeoutError
427
426
  | SdkError
428
427
  | AccessDeniedError
429
428
  | InvalidInputError
@@ -443,7 +442,7 @@ interface BedrockAgentCoreService$ {
443
442
  options?: HttpHandlerOptions,
444
443
  ): Effect.Effect<
445
444
  CreatePaymentInstrumentCommandOutput,
446
- | Cause.TimeoutException
445
+ | Cause.TimeoutError
447
446
  | SdkError
448
447
  | AccessDeniedError
449
448
  | ConflictError
@@ -461,7 +460,7 @@ interface BedrockAgentCoreService$ {
461
460
  options?: HttpHandlerOptions,
462
461
  ): Effect.Effect<
463
462
  CreatePaymentSessionCommandOutput,
464
- | Cause.TimeoutException
463
+ | Cause.TimeoutError
465
464
  | SdkError
466
465
  | AccessDeniedError
467
466
  | ConflictError
@@ -479,7 +478,7 @@ interface BedrockAgentCoreService$ {
479
478
  options?: HttpHandlerOptions,
480
479
  ): Effect.Effect<
481
480
  DeleteABTestCommandOutput,
482
- | Cause.TimeoutException
481
+ | Cause.TimeoutError
483
482
  | SdkError
484
483
  | AccessDeniedError
485
484
  | ConflictError
@@ -498,7 +497,7 @@ interface BedrockAgentCoreService$ {
498
497
  options?: HttpHandlerOptions,
499
498
  ): Effect.Effect<
500
499
  DeleteBatchEvaluationCommandOutput,
501
- | Cause.TimeoutException
500
+ | Cause.TimeoutError
502
501
  | SdkError
503
502
  | AccessDeniedError
504
503
  | ConflictError
@@ -517,7 +516,7 @@ interface BedrockAgentCoreService$ {
517
516
  options?: HttpHandlerOptions,
518
517
  ): Effect.Effect<
519
518
  DeleteEventCommandOutput,
520
- | Cause.TimeoutException
519
+ | Cause.TimeoutError
521
520
  | SdkError
522
521
  | AccessDeniedError
523
522
  | InvalidInputError
@@ -536,7 +535,7 @@ interface BedrockAgentCoreService$ {
536
535
  options?: HttpHandlerOptions,
537
536
  ): Effect.Effect<
538
537
  DeleteMemoryRecordCommandOutput,
539
- | Cause.TimeoutException
538
+ | Cause.TimeoutError
540
539
  | SdkError
541
540
  | AccessDeniedError
542
541
  | InvalidInputError
@@ -555,7 +554,7 @@ interface BedrockAgentCoreService$ {
555
554
  options?: HttpHandlerOptions,
556
555
  ): Effect.Effect<
557
556
  DeletePaymentInstrumentCommandOutput,
558
- | Cause.TimeoutException
557
+ | Cause.TimeoutError
559
558
  | SdkError
560
559
  | AccessDeniedError
561
560
  | InternalServerError
@@ -572,7 +571,7 @@ interface BedrockAgentCoreService$ {
572
571
  options?: HttpHandlerOptions,
573
572
  ): Effect.Effect<
574
573
  DeletePaymentSessionCommandOutput,
575
- | Cause.TimeoutException
574
+ | Cause.TimeoutError
576
575
  | SdkError
577
576
  | AccessDeniedError
578
577
  | InternalServerError
@@ -589,7 +588,7 @@ interface BedrockAgentCoreService$ {
589
588
  options?: HttpHandlerOptions,
590
589
  ): Effect.Effect<
591
590
  DeleteRecommendationCommandOutput,
592
- | Cause.TimeoutException
591
+ | Cause.TimeoutError
593
592
  | SdkError
594
593
  | AccessDeniedError
595
594
  | ConflictError
@@ -607,7 +606,7 @@ interface BedrockAgentCoreService$ {
607
606
  options?: HttpHandlerOptions,
608
607
  ): Effect.Effect<
609
608
  EvaluateCommandOutput,
610
- | Cause.TimeoutException
609
+ | Cause.TimeoutError
611
610
  | SdkError
612
611
  | AccessDeniedError
613
612
  | ConflictError
@@ -628,7 +627,7 @@ interface BedrockAgentCoreService$ {
628
627
  options?: HttpHandlerOptions,
629
628
  ): Effect.Effect<
630
629
  GetABTestCommandOutput,
631
- | Cause.TimeoutException
630
+ | Cause.TimeoutError
632
631
  | SdkError
633
632
  | AccessDeniedError
634
633
  | InternalServerError
@@ -646,7 +645,7 @@ interface BedrockAgentCoreService$ {
646
645
  options?: HttpHandlerOptions,
647
646
  ): Effect.Effect<
648
647
  GetAgentCardCommandOutput,
649
- | Cause.TimeoutException
648
+ | Cause.TimeoutError
650
649
  | SdkError
651
650
  | AccessDeniedError
652
651
  | InternalServerError
@@ -666,7 +665,7 @@ interface BedrockAgentCoreService$ {
666
665
  options?: HttpHandlerOptions,
667
666
  ): Effect.Effect<
668
667
  GetBatchEvaluationCommandOutput,
669
- | Cause.TimeoutException
668
+ | Cause.TimeoutError
670
669
  | SdkError
671
670
  | AccessDeniedError
672
671
  | InternalServerError
@@ -684,7 +683,7 @@ interface BedrockAgentCoreService$ {
684
683
  options?: HttpHandlerOptions,
685
684
  ): Effect.Effect<
686
685
  GetBrowserSessionCommandOutput,
687
- | Cause.TimeoutException
686
+ | Cause.TimeoutError
688
687
  | SdkError
689
688
  | AccessDeniedError
690
689
  | InternalServerError
@@ -701,7 +700,7 @@ interface BedrockAgentCoreService$ {
701
700
  options?: HttpHandlerOptions,
702
701
  ): Effect.Effect<
703
702
  GetCodeInterpreterSessionCommandOutput,
704
- | Cause.TimeoutException
703
+ | Cause.TimeoutError
705
704
  | SdkError
706
705
  | AccessDeniedError
707
706
  | InternalServerError
@@ -718,7 +717,7 @@ interface BedrockAgentCoreService$ {
718
717
  options?: HttpHandlerOptions,
719
718
  ): Effect.Effect<
720
719
  GetEventCommandOutput,
721
- | Cause.TimeoutException
720
+ | Cause.TimeoutError
722
721
  | SdkError
723
722
  | AccessDeniedError
724
723
  | InvalidInputError
@@ -737,7 +736,7 @@ interface BedrockAgentCoreService$ {
737
736
  options?: HttpHandlerOptions,
738
737
  ): Effect.Effect<
739
738
  GetMemoryRecordCommandOutput,
740
- | Cause.TimeoutException
739
+ | Cause.TimeoutError
741
740
  | SdkError
742
741
  | AccessDeniedError
743
742
  | InvalidInputError
@@ -756,7 +755,7 @@ interface BedrockAgentCoreService$ {
756
755
  options?: HttpHandlerOptions,
757
756
  ): Effect.Effect<
758
757
  GetPaymentInstrumentCommandOutput,
759
- | Cause.TimeoutException
758
+ | Cause.TimeoutError
760
759
  | SdkError
761
760
  | AccessDeniedError
762
761
  | InternalServerError
@@ -773,7 +772,7 @@ interface BedrockAgentCoreService$ {
773
772
  options?: HttpHandlerOptions,
774
773
  ): Effect.Effect<
775
774
  GetPaymentInstrumentBalanceCommandOutput,
776
- | Cause.TimeoutException
775
+ | Cause.TimeoutError
777
776
  | SdkError
778
777
  | AccessDeniedError
779
778
  | InternalServerError
@@ -790,7 +789,7 @@ interface BedrockAgentCoreService$ {
790
789
  options?: HttpHandlerOptions,
791
790
  ): Effect.Effect<
792
791
  GetPaymentSessionCommandOutput,
793
- | Cause.TimeoutException
792
+ | Cause.TimeoutError
794
793
  | SdkError
795
794
  | AccessDeniedError
796
795
  | InternalServerError
@@ -807,7 +806,7 @@ interface BedrockAgentCoreService$ {
807
806
  options?: HttpHandlerOptions,
808
807
  ): Effect.Effect<
809
808
  GetRecommendationCommandOutput,
810
- | Cause.TimeoutException
809
+ | Cause.TimeoutError
811
810
  | SdkError
812
811
  | AccessDeniedError
813
812
  | InternalServerError
@@ -824,7 +823,7 @@ interface BedrockAgentCoreService$ {
824
823
  options?: HttpHandlerOptions,
825
824
  ): Effect.Effect<
826
825
  GetResourceApiKeyCommandOutput,
827
- | Cause.TimeoutException
826
+ | Cause.TimeoutError
828
827
  | SdkError
829
828
  | AccessDeniedError
830
829
  | InternalServerError
@@ -842,7 +841,7 @@ interface BedrockAgentCoreService$ {
842
841
  options?: HttpHandlerOptions,
843
842
  ): Effect.Effect<
844
843
  GetResourceOauth2TokenCommandOutput,
845
- | Cause.TimeoutException
844
+ | Cause.TimeoutError
846
845
  | SdkError
847
846
  | AccessDeniedError
848
847
  | InternalServerError
@@ -860,7 +859,7 @@ interface BedrockAgentCoreService$ {
860
859
  options?: HttpHandlerOptions,
861
860
  ): Effect.Effect<
862
861
  GetResourcePaymentTokenCommandOutput,
863
- | Cause.TimeoutException
862
+ | Cause.TimeoutError
864
863
  | SdkError
865
864
  | AccessDeniedError
866
865
  | InternalServerError
@@ -878,7 +877,7 @@ interface BedrockAgentCoreService$ {
878
877
  options?: HttpHandlerOptions,
879
878
  ): Effect.Effect<
880
879
  GetWorkloadAccessTokenCommandOutput,
881
- | Cause.TimeoutException
880
+ | Cause.TimeoutError
882
881
  | SdkError
883
882
  | AccessDeniedError
884
883
  | InternalServerError
@@ -896,7 +895,7 @@ interface BedrockAgentCoreService$ {
896
895
  options?: HttpHandlerOptions,
897
896
  ): Effect.Effect<
898
897
  GetWorkloadAccessTokenForJWTCommandOutput,
899
- | Cause.TimeoutException
898
+ | Cause.TimeoutError
900
899
  | SdkError
901
900
  | AccessDeniedError
902
901
  | InternalServerError
@@ -914,7 +913,7 @@ interface BedrockAgentCoreService$ {
914
913
  options?: HttpHandlerOptions,
915
914
  ): Effect.Effect<
916
915
  GetWorkloadAccessTokenForUserIdCommandOutput,
917
- | Cause.TimeoutException
916
+ | Cause.TimeoutError
918
917
  | SdkError
919
918
  | AccessDeniedError
920
919
  | InternalServerError
@@ -932,7 +931,7 @@ interface BedrockAgentCoreService$ {
932
931
  options?: HttpHandlerOptions,
933
932
  ): Effect.Effect<
934
933
  InvokeAgentRuntimeCommandOutput,
935
- | Cause.TimeoutException
934
+ | Cause.TimeoutError
936
935
  | SdkError
937
936
  | AccessDeniedError
938
937
  | InternalServerError
@@ -952,7 +951,7 @@ interface BedrockAgentCoreService$ {
952
951
  options?: HttpHandlerOptions,
953
952
  ): Effect.Effect<
954
953
  InvokeAgentRuntimeCommandCommandOutput,
955
- | Cause.TimeoutException
954
+ | Cause.TimeoutError
956
955
  | SdkError
957
956
  | AccessDeniedError
958
957
  | InternalServerError
@@ -972,7 +971,7 @@ interface BedrockAgentCoreService$ {
972
971
  options?: HttpHandlerOptions,
973
972
  ): Effect.Effect<
974
973
  InvokeBrowserCommandOutput,
975
- | Cause.TimeoutException
974
+ | Cause.TimeoutError
976
975
  | SdkError
977
976
  | AccessDeniedError
978
977
  | InternalServerError
@@ -990,7 +989,7 @@ interface BedrockAgentCoreService$ {
990
989
  options?: HttpHandlerOptions,
991
990
  ): Effect.Effect<
992
991
  InvokeCodeInterpreterCommandOutput,
993
- | Cause.TimeoutException
992
+ | Cause.TimeoutError
994
993
  | SdkError
995
994
  | AccessDeniedError
996
995
  | ConflictError
@@ -1009,7 +1008,7 @@ interface BedrockAgentCoreService$ {
1009
1008
  options?: HttpHandlerOptions,
1010
1009
  ): Effect.Effect<
1011
1010
  InvokeHarnessCommandOutput,
1012
- | Cause.TimeoutException
1011
+ | Cause.TimeoutError
1013
1012
  | SdkError
1014
1013
  | AccessDeniedError
1015
1014
  | InternalServerError
@@ -1028,7 +1027,7 @@ interface BedrockAgentCoreService$ {
1028
1027
  options?: HttpHandlerOptions,
1029
1028
  ): Effect.Effect<
1030
1029
  ListABTestsCommandOutput,
1031
- | Cause.TimeoutException
1030
+ | Cause.TimeoutError
1032
1031
  | SdkError
1033
1032
  | AccessDeniedError
1034
1033
  | InternalServerError
@@ -1042,7 +1041,7 @@ interface BedrockAgentCoreService$ {
1042
1041
  options?: HttpHandlerOptions,
1043
1042
  ): Stream.Stream<
1044
1043
  ListABTestsCommandOutput,
1045
- | Cause.TimeoutException
1044
+ | Cause.TimeoutError
1046
1045
  | SdkError
1047
1046
  | AccessDeniedError
1048
1047
  | InternalServerError
@@ -1059,7 +1058,7 @@ interface BedrockAgentCoreService$ {
1059
1058
  options?: HttpHandlerOptions,
1060
1059
  ): Effect.Effect<
1061
1060
  ListActorsCommandOutput,
1062
- | Cause.TimeoutException
1061
+ | Cause.TimeoutError
1063
1062
  | SdkError
1064
1063
  | AccessDeniedError
1065
1064
  | InvalidInputError
@@ -1075,7 +1074,7 @@ interface BedrockAgentCoreService$ {
1075
1074
  options?: HttpHandlerOptions,
1076
1075
  ): Stream.Stream<
1077
1076
  ListActorsCommandOutput,
1078
- | Cause.TimeoutException
1077
+ | Cause.TimeoutError
1079
1078
  | SdkError
1080
1079
  | AccessDeniedError
1081
1080
  | InvalidInputError
@@ -1094,7 +1093,7 @@ interface BedrockAgentCoreService$ {
1094
1093
  options?: HttpHandlerOptions,
1095
1094
  ): Effect.Effect<
1096
1095
  ListBatchEvaluationsCommandOutput,
1097
- | Cause.TimeoutException
1096
+ | Cause.TimeoutError
1098
1097
  | SdkError
1099
1098
  | AccessDeniedError
1100
1099
  | InternalServerError
@@ -1108,7 +1107,7 @@ interface BedrockAgentCoreService$ {
1108
1107
  options?: HttpHandlerOptions,
1109
1108
  ): Stream.Stream<
1110
1109
  ListBatchEvaluationsCommandOutput,
1111
- | Cause.TimeoutException
1110
+ | Cause.TimeoutError
1112
1111
  | SdkError
1113
1112
  | AccessDeniedError
1114
1113
  | InternalServerError
@@ -1125,7 +1124,7 @@ interface BedrockAgentCoreService$ {
1125
1124
  options?: HttpHandlerOptions,
1126
1125
  ): Effect.Effect<
1127
1126
  ListBrowserSessionsCommandOutput,
1128
- | Cause.TimeoutException
1127
+ | Cause.TimeoutError
1129
1128
  | SdkError
1130
1129
  | AccessDeniedError
1131
1130
  | InternalServerError
@@ -1142,7 +1141,7 @@ interface BedrockAgentCoreService$ {
1142
1141
  options?: HttpHandlerOptions,
1143
1142
  ): Effect.Effect<
1144
1143
  ListCodeInterpreterSessionsCommandOutput,
1145
- | Cause.TimeoutException
1144
+ | Cause.TimeoutError
1146
1145
  | SdkError
1147
1146
  | AccessDeniedError
1148
1147
  | InternalServerError
@@ -1159,7 +1158,7 @@ interface BedrockAgentCoreService$ {
1159
1158
  options?: HttpHandlerOptions,
1160
1159
  ): Effect.Effect<
1161
1160
  ListEventsCommandOutput,
1162
- | Cause.TimeoutException
1161
+ | Cause.TimeoutError
1163
1162
  | SdkError
1164
1163
  | AccessDeniedError
1165
1164
  | InvalidInputError
@@ -1175,7 +1174,7 @@ interface BedrockAgentCoreService$ {
1175
1174
  options?: HttpHandlerOptions,
1176
1175
  ): Stream.Stream<
1177
1176
  ListEventsCommandOutput,
1178
- | Cause.TimeoutException
1177
+ | Cause.TimeoutError
1179
1178
  | SdkError
1180
1179
  | AccessDeniedError
1181
1180
  | InvalidInputError
@@ -1194,7 +1193,7 @@ interface BedrockAgentCoreService$ {
1194
1193
  options?: HttpHandlerOptions,
1195
1194
  ): Effect.Effect<
1196
1195
  ListMemoryExtractionJobsCommandOutput,
1197
- | Cause.TimeoutException
1196
+ | Cause.TimeoutError
1198
1197
  | SdkError
1199
1198
  | AccessDeniedError
1200
1199
  | ResourceNotFoundError
@@ -1209,7 +1208,7 @@ interface BedrockAgentCoreService$ {
1209
1208
  options?: HttpHandlerOptions,
1210
1209
  ): Stream.Stream<
1211
1210
  ListMemoryExtractionJobsCommandOutput,
1212
- | Cause.TimeoutException
1211
+ | Cause.TimeoutError
1213
1212
  | SdkError
1214
1213
  | AccessDeniedError
1215
1214
  | ResourceNotFoundError
@@ -1227,7 +1226,7 @@ interface BedrockAgentCoreService$ {
1227
1226
  options?: HttpHandlerOptions,
1228
1227
  ): Effect.Effect<
1229
1228
  ListMemoryRecordsCommandOutput,
1230
- | Cause.TimeoutException
1229
+ | Cause.TimeoutError
1231
1230
  | SdkError
1232
1231
  | AccessDeniedError
1233
1232
  | InvalidInputError
@@ -1243,7 +1242,7 @@ interface BedrockAgentCoreService$ {
1243
1242
  options?: HttpHandlerOptions,
1244
1243
  ): Stream.Stream<
1245
1244
  ListMemoryRecordsCommandOutput,
1246
- | Cause.TimeoutException
1245
+ | Cause.TimeoutError
1247
1246
  | SdkError
1248
1247
  | AccessDeniedError
1249
1248
  | InvalidInputError
@@ -1262,7 +1261,7 @@ interface BedrockAgentCoreService$ {
1262
1261
  options?: HttpHandlerOptions,
1263
1262
  ): Effect.Effect<
1264
1263
  ListPaymentInstrumentsCommandOutput,
1265
- Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1264
+ Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1266
1265
  >;
1267
1266
 
1268
1267
  listPaymentInstrumentsStream(
@@ -1270,7 +1269,7 @@ interface BedrockAgentCoreService$ {
1270
1269
  options?: HttpHandlerOptions,
1271
1270
  ): Stream.Stream<
1272
1271
  ListPaymentInstrumentsCommandOutput,
1273
- Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1272
+ Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1274
1273
  >;
1275
1274
 
1276
1275
  /**
@@ -1281,7 +1280,7 @@ interface BedrockAgentCoreService$ {
1281
1280
  options?: HttpHandlerOptions,
1282
1281
  ): Effect.Effect<
1283
1282
  ListPaymentSessionsCommandOutput,
1284
- Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1283
+ Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1285
1284
  >;
1286
1285
 
1287
1286
  listPaymentSessionsStream(
@@ -1289,7 +1288,7 @@ interface BedrockAgentCoreService$ {
1289
1288
  options?: HttpHandlerOptions,
1290
1289
  ): Stream.Stream<
1291
1290
  ListPaymentSessionsCommandOutput,
1292
- Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1291
+ Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1293
1292
  >;
1294
1293
 
1295
1294
  /**
@@ -1300,7 +1299,7 @@ interface BedrockAgentCoreService$ {
1300
1299
  options?: HttpHandlerOptions,
1301
1300
  ): Effect.Effect<
1302
1301
  ListRecommendationsCommandOutput,
1303
- Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1302
+ Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1304
1303
  >;
1305
1304
 
1306
1305
  listRecommendationsStream(
@@ -1308,7 +1307,7 @@ interface BedrockAgentCoreService$ {
1308
1307
  options?: HttpHandlerOptions,
1309
1308
  ): Stream.Stream<
1310
1309
  ListRecommendationsCommandOutput,
1311
- Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1310
+ Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1312
1311
  >;
1313
1312
 
1314
1313
  /**
@@ -1319,7 +1318,7 @@ interface BedrockAgentCoreService$ {
1319
1318
  options?: HttpHandlerOptions,
1320
1319
  ): Effect.Effect<
1321
1320
  ListSessionsCommandOutput,
1322
- | Cause.TimeoutException
1321
+ | Cause.TimeoutError
1323
1322
  | SdkError
1324
1323
  | AccessDeniedError
1325
1324
  | InvalidInputError
@@ -1335,7 +1334,7 @@ interface BedrockAgentCoreService$ {
1335
1334
  options?: HttpHandlerOptions,
1336
1335
  ): Stream.Stream<
1337
1336
  ListSessionsCommandOutput,
1338
- | Cause.TimeoutException
1337
+ | Cause.TimeoutError
1339
1338
  | SdkError
1340
1339
  | AccessDeniedError
1341
1340
  | InvalidInputError
@@ -1354,7 +1353,7 @@ interface BedrockAgentCoreService$ {
1354
1353
  options?: HttpHandlerOptions,
1355
1354
  ): Effect.Effect<
1356
1355
  ProcessPaymentCommandOutput,
1357
- | Cause.TimeoutException
1356
+ | Cause.TimeoutError
1358
1357
  | SdkError
1359
1358
  | AccessDeniedError
1360
1359
  | ConflictError
@@ -1372,7 +1371,7 @@ interface BedrockAgentCoreService$ {
1372
1371
  options?: HttpHandlerOptions,
1373
1372
  ): Effect.Effect<
1374
1373
  RetrieveMemoryRecordsCommandOutput,
1375
- | Cause.TimeoutException
1374
+ | Cause.TimeoutError
1376
1375
  | SdkError
1377
1376
  | AccessDeniedError
1378
1377
  | InvalidInputError
@@ -1388,7 +1387,7 @@ interface BedrockAgentCoreService$ {
1388
1387
  options?: HttpHandlerOptions,
1389
1388
  ): Stream.Stream<
1390
1389
  RetrieveMemoryRecordsCommandOutput,
1391
- | Cause.TimeoutException
1390
+ | Cause.TimeoutError
1392
1391
  | SdkError
1393
1392
  | AccessDeniedError
1394
1393
  | InvalidInputError
@@ -1407,7 +1406,7 @@ interface BedrockAgentCoreService$ {
1407
1406
  options?: HttpHandlerOptions,
1408
1407
  ): Effect.Effect<
1409
1408
  SaveBrowserSessionProfileCommandOutput,
1410
- | Cause.TimeoutException
1409
+ | Cause.TimeoutError
1411
1410
  | SdkError
1412
1411
  | AccessDeniedError
1413
1412
  | ConflictError
@@ -1425,7 +1424,7 @@ interface BedrockAgentCoreService$ {
1425
1424
  options?: HttpHandlerOptions,
1426
1425
  ): Effect.Effect<
1427
1426
  SearchRegistryRecordsCommandOutput,
1428
- | Cause.TimeoutException
1427
+ | Cause.TimeoutError
1429
1428
  | SdkError
1430
1429
  | AccessDeniedError
1431
1430
  | InternalServerError
@@ -1443,7 +1442,7 @@ interface BedrockAgentCoreService$ {
1443
1442
  options?: HttpHandlerOptions,
1444
1443
  ): Effect.Effect<
1445
1444
  StartBatchEvaluationCommandOutput,
1446
- | Cause.TimeoutException
1445
+ | Cause.TimeoutError
1447
1446
  | SdkError
1448
1447
  | AccessDeniedError
1449
1448
  | ConflictError
@@ -1462,7 +1461,7 @@ interface BedrockAgentCoreService$ {
1462
1461
  options?: HttpHandlerOptions,
1463
1462
  ): Effect.Effect<
1464
1463
  StartBrowserSessionCommandOutput,
1465
- | Cause.TimeoutException
1464
+ | Cause.TimeoutError
1466
1465
  | SdkError
1467
1466
  | AccessDeniedError
1468
1467
  | ConflictError
@@ -1481,7 +1480,7 @@ interface BedrockAgentCoreService$ {
1481
1480
  options?: HttpHandlerOptions,
1482
1481
  ): Effect.Effect<
1483
1482
  StartCodeInterpreterSessionCommandOutput,
1484
- | Cause.TimeoutException
1483
+ | Cause.TimeoutError
1485
1484
  | SdkError
1486
1485
  | AccessDeniedError
1487
1486
  | ConflictError
@@ -1500,7 +1499,7 @@ interface BedrockAgentCoreService$ {
1500
1499
  options?: HttpHandlerOptions,
1501
1500
  ): Effect.Effect<
1502
1501
  StartMemoryExtractionJobCommandOutput,
1503
- | Cause.TimeoutException
1502
+ | Cause.TimeoutError
1504
1503
  | SdkError
1505
1504
  | AccessDeniedError
1506
1505
  | ResourceNotFoundError
@@ -1518,7 +1517,7 @@ interface BedrockAgentCoreService$ {
1518
1517
  options?: HttpHandlerOptions,
1519
1518
  ): Effect.Effect<
1520
1519
  StartRecommendationCommandOutput,
1521
- | Cause.TimeoutException
1520
+ | Cause.TimeoutError
1522
1521
  | SdkError
1523
1522
  | AccessDeniedError
1524
1523
  | ConflictError
@@ -1536,7 +1535,7 @@ interface BedrockAgentCoreService$ {
1536
1535
  options?: HttpHandlerOptions,
1537
1536
  ): Effect.Effect<
1538
1537
  StopBatchEvaluationCommandOutput,
1539
- | Cause.TimeoutException
1538
+ | Cause.TimeoutError
1540
1539
  | SdkError
1541
1540
  | AccessDeniedError
1542
1541
  | ConflictError
@@ -1555,7 +1554,7 @@ interface BedrockAgentCoreService$ {
1555
1554
  options?: HttpHandlerOptions,
1556
1555
  ): Effect.Effect<
1557
1556
  StopBrowserSessionCommandOutput,
1558
- | Cause.TimeoutException
1557
+ | Cause.TimeoutError
1559
1558
  | SdkError
1560
1559
  | AccessDeniedError
1561
1560
  | ConflictError
@@ -1574,7 +1573,7 @@ interface BedrockAgentCoreService$ {
1574
1573
  options?: HttpHandlerOptions,
1575
1574
  ): Effect.Effect<
1576
1575
  StopCodeInterpreterSessionCommandOutput,
1577
- | Cause.TimeoutException
1576
+ | Cause.TimeoutError
1578
1577
  | SdkError
1579
1578
  | AccessDeniedError
1580
1579
  | ConflictError
@@ -1593,7 +1592,7 @@ interface BedrockAgentCoreService$ {
1593
1592
  options?: HttpHandlerOptions,
1594
1593
  ): Effect.Effect<
1595
1594
  StopRuntimeSessionCommandOutput,
1596
- | Cause.TimeoutException
1595
+ | Cause.TimeoutError
1597
1596
  | SdkError
1598
1597
  | AccessDeniedError
1599
1598
  | ConflictError
@@ -1615,7 +1614,7 @@ interface BedrockAgentCoreService$ {
1615
1614
  options?: HttpHandlerOptions,
1616
1615
  ): Effect.Effect<
1617
1616
  UpdateABTestCommandOutput,
1618
- | Cause.TimeoutException
1617
+ | Cause.TimeoutError
1619
1618
  | SdkError
1620
1619
  | AccessDeniedError
1621
1620
  | ConflictError
@@ -1635,7 +1634,7 @@ interface BedrockAgentCoreService$ {
1635
1634
  options?: HttpHandlerOptions,
1636
1635
  ): Effect.Effect<
1637
1636
  UpdateBrowserStreamCommandOutput,
1638
- | Cause.TimeoutException
1637
+ | Cause.TimeoutError
1639
1638
  | SdkError
1640
1639
  | AccessDeniedError
1641
1640
  | ConflictError
@@ -1669,10 +1668,10 @@ export const makeBedrockAgentCoreService = Effect.gen(function*() {
1669
1668
  * @since 1.0.0
1670
1669
  * @category models
1671
1670
  */
1672
- export class BedrockAgentCoreService extends Effect.Tag("@effect-aws/client-bedrock-agentcore/BedrockAgentCoreService")<
1671
+ export class BedrockAgentCoreService extends Context.Service<
1673
1672
  BedrockAgentCoreService,
1674
1673
  BedrockAgentCoreService$
1675
- >() {
1674
+ >()("@effect-aws/client-bedrock-agentcore/BedrockAgentCoreService") {
1676
1675
  static readonly defaultLayer = Layer.effect(this, makeBedrockAgentCoreService).pipe(Layer.provide(Instance.layer));
1677
1676
  static readonly layer = (config: BedrockAgentCoreService.Config) =>
1678
1677
  Layer.effect(this, makeBedrockAgentCoreService).pipe(