@effect-aws/client-bedrock 1.9.3 → 1.10.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.
@@ -184,6 +184,7 @@ import {
184
184
  } from "@aws-sdk/client-bedrock";
185
185
  import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
186
186
  import { Service } from "@effect-aws/commons";
187
+ import type { Cause } from "effect";
187
188
  import { Effect, Layer } from "effect";
188
189
  import * as Instance from "./BedrockClientInstance.js";
189
190
  import * as BedrockServiceConfig from "./BedrockServiceConfig.js";
@@ -273,6 +274,7 @@ interface BedrockService$ {
273
274
  options?: HttpHandlerOptions,
274
275
  ): Effect.Effect<
275
276
  BatchDeleteEvaluationJobCommandOutput,
277
+ | Cause.TimeoutException
276
278
  | SdkError
277
279
  | AccessDeniedError
278
280
  | ConflictError
@@ -290,6 +292,7 @@ interface BedrockService$ {
290
292
  options?: HttpHandlerOptions,
291
293
  ): Effect.Effect<
292
294
  CreateEvaluationJobCommandOutput,
295
+ | Cause.TimeoutException
293
296
  | SdkError
294
297
  | AccessDeniedError
295
298
  | ConflictError
@@ -308,6 +311,7 @@ interface BedrockService$ {
308
311
  options?: HttpHandlerOptions,
309
312
  ): Effect.Effect<
310
313
  CreateGuardrailCommandOutput,
314
+ | Cause.TimeoutException
311
315
  | SdkError
312
316
  | AccessDeniedError
313
317
  | ConflictError
@@ -327,6 +331,7 @@ interface BedrockService$ {
327
331
  options?: HttpHandlerOptions,
328
332
  ): Effect.Effect<
329
333
  CreateGuardrailVersionCommandOutput,
334
+ | Cause.TimeoutException
330
335
  | SdkError
331
336
  | AccessDeniedError
332
337
  | ConflictError
@@ -345,6 +350,7 @@ interface BedrockService$ {
345
350
  options?: HttpHandlerOptions,
346
351
  ): Effect.Effect<
347
352
  CreateInferenceProfileCommandOutput,
353
+ | Cause.TimeoutException
348
354
  | SdkError
349
355
  | AccessDeniedError
350
356
  | ConflictError
@@ -364,6 +370,7 @@ interface BedrockService$ {
364
370
  options?: HttpHandlerOptions,
365
371
  ): Effect.Effect<
366
372
  CreateMarketplaceModelEndpointCommandOutput,
373
+ | Cause.TimeoutException
367
374
  | SdkError
368
375
  | AccessDeniedError
369
376
  | ConflictError
@@ -382,7 +389,12 @@ interface BedrockService$ {
382
389
  options?: HttpHandlerOptions,
383
390
  ): Effect.Effect<
384
391
  CreateModelCopyJobCommandOutput,
385
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyTagsError
392
+ | Cause.TimeoutException
393
+ | SdkError
394
+ | AccessDeniedError
395
+ | InternalServerError
396
+ | ResourceNotFoundError
397
+ | TooManyTagsError
386
398
  >;
387
399
 
388
400
  /**
@@ -393,6 +405,7 @@ interface BedrockService$ {
393
405
  options?: HttpHandlerOptions,
394
406
  ): Effect.Effect<
395
407
  CreateModelCustomizationJobCommandOutput,
408
+ | Cause.TimeoutException
396
409
  | SdkError
397
410
  | AccessDeniedError
398
411
  | ConflictError
@@ -412,6 +425,7 @@ interface BedrockService$ {
412
425
  options?: HttpHandlerOptions,
413
426
  ): Effect.Effect<
414
427
  CreateModelImportJobCommandOutput,
428
+ | Cause.TimeoutException
415
429
  | SdkError
416
430
  | AccessDeniedError
417
431
  | ConflictError
@@ -431,6 +445,7 @@ interface BedrockService$ {
431
445
  options?: HttpHandlerOptions,
432
446
  ): Effect.Effect<
433
447
  CreateModelInvocationJobCommandOutput,
448
+ | Cause.TimeoutException
434
449
  | SdkError
435
450
  | AccessDeniedError
436
451
  | ConflictError
@@ -449,6 +464,7 @@ interface BedrockService$ {
449
464
  options?: HttpHandlerOptions,
450
465
  ): Effect.Effect<
451
466
  CreatePromptRouterCommandOutput,
467
+ | Cause.TimeoutException
452
468
  | SdkError
453
469
  | AccessDeniedError
454
470
  | ConflictError
@@ -468,6 +484,7 @@ interface BedrockService$ {
468
484
  options?: HttpHandlerOptions,
469
485
  ): Effect.Effect<
470
486
  CreateProvisionedModelThroughputCommandOutput,
487
+ | Cause.TimeoutException
471
488
  | SdkError
472
489
  | AccessDeniedError
473
490
  | InternalServerError
@@ -486,6 +503,7 @@ interface BedrockService$ {
486
503
  options?: HttpHandlerOptions,
487
504
  ): Effect.Effect<
488
505
  DeleteCustomModelCommandOutput,
506
+ | Cause.TimeoutException
489
507
  | SdkError
490
508
  | AccessDeniedError
491
509
  | ConflictError
@@ -503,6 +521,7 @@ interface BedrockService$ {
503
521
  options?: HttpHandlerOptions,
504
522
  ): Effect.Effect<
505
523
  DeleteGuardrailCommandOutput,
524
+ | Cause.TimeoutException
506
525
  | SdkError
507
526
  | AccessDeniedError
508
527
  | ConflictError
@@ -520,6 +539,7 @@ interface BedrockService$ {
520
539
  options?: HttpHandlerOptions,
521
540
  ): Effect.Effect<
522
541
  DeleteImportedModelCommandOutput,
542
+ | Cause.TimeoutException
523
543
  | SdkError
524
544
  | AccessDeniedError
525
545
  | ConflictError
@@ -537,6 +557,7 @@ interface BedrockService$ {
537
557
  options?: HttpHandlerOptions,
538
558
  ): Effect.Effect<
539
559
  DeleteInferenceProfileCommandOutput,
560
+ | Cause.TimeoutException
540
561
  | SdkError
541
562
  | AccessDeniedError
542
563
  | ConflictError
@@ -554,7 +575,13 @@ interface BedrockService$ {
554
575
  options?: HttpHandlerOptions,
555
576
  ): Effect.Effect<
556
577
  DeleteMarketplaceModelEndpointCommandOutput,
557
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
578
+ | Cause.TimeoutException
579
+ | SdkError
580
+ | AccessDeniedError
581
+ | InternalServerError
582
+ | ResourceNotFoundError
583
+ | ThrottlingError
584
+ | ValidationError
558
585
  >;
559
586
 
560
587
  /**
@@ -565,7 +592,7 @@ interface BedrockService$ {
565
592
  options?: HttpHandlerOptions,
566
593
  ): Effect.Effect<
567
594
  DeleteModelInvocationLoggingConfigurationCommandOutput,
568
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError
595
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError
569
596
  >;
570
597
 
571
598
  /**
@@ -576,7 +603,13 @@ interface BedrockService$ {
576
603
  options?: HttpHandlerOptions,
577
604
  ): Effect.Effect<
578
605
  DeletePromptRouterCommandOutput,
579
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
606
+ | Cause.TimeoutException
607
+ | SdkError
608
+ | AccessDeniedError
609
+ | InternalServerError
610
+ | ResourceNotFoundError
611
+ | ThrottlingError
612
+ | ValidationError
580
613
  >;
581
614
 
582
615
  /**
@@ -587,6 +620,7 @@ interface BedrockService$ {
587
620
  options?: HttpHandlerOptions,
588
621
  ): Effect.Effect<
589
622
  DeleteProvisionedModelThroughputCommandOutput,
623
+ | Cause.TimeoutException
590
624
  | SdkError
591
625
  | AccessDeniedError
592
626
  | ConflictError
@@ -604,6 +638,7 @@ interface BedrockService$ {
604
638
  options?: HttpHandlerOptions,
605
639
  ): Effect.Effect<
606
640
  DeregisterMarketplaceModelEndpointCommandOutput,
641
+ | Cause.TimeoutException
607
642
  | SdkError
608
643
  | AccessDeniedError
609
644
  | InternalServerError
@@ -621,7 +656,13 @@ interface BedrockService$ {
621
656
  options?: HttpHandlerOptions,
622
657
  ): Effect.Effect<
623
658
  GetCustomModelCommandOutput,
624
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
659
+ | Cause.TimeoutException
660
+ | SdkError
661
+ | AccessDeniedError
662
+ | InternalServerError
663
+ | ResourceNotFoundError
664
+ | ThrottlingError
665
+ | ValidationError
625
666
  >;
626
667
 
627
668
  /**
@@ -632,7 +673,13 @@ interface BedrockService$ {
632
673
  options?: HttpHandlerOptions,
633
674
  ): Effect.Effect<
634
675
  GetEvaluationJobCommandOutput,
635
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
676
+ | Cause.TimeoutException
677
+ | SdkError
678
+ | AccessDeniedError
679
+ | InternalServerError
680
+ | ResourceNotFoundError
681
+ | ThrottlingError
682
+ | ValidationError
636
683
  >;
637
684
 
638
685
  /**
@@ -643,7 +690,13 @@ interface BedrockService$ {
643
690
  options?: HttpHandlerOptions,
644
691
  ): Effect.Effect<
645
692
  GetFoundationModelCommandOutput,
646
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
693
+ | Cause.TimeoutException
694
+ | SdkError
695
+ | AccessDeniedError
696
+ | InternalServerError
697
+ | ResourceNotFoundError
698
+ | ThrottlingError
699
+ | ValidationError
647
700
  >;
648
701
 
649
702
  /**
@@ -654,7 +707,13 @@ interface BedrockService$ {
654
707
  options?: HttpHandlerOptions,
655
708
  ): Effect.Effect<
656
709
  GetGuardrailCommandOutput,
657
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
710
+ | Cause.TimeoutException
711
+ | SdkError
712
+ | AccessDeniedError
713
+ | InternalServerError
714
+ | ResourceNotFoundError
715
+ | ThrottlingError
716
+ | ValidationError
658
717
  >;
659
718
 
660
719
  /**
@@ -665,7 +724,13 @@ interface BedrockService$ {
665
724
  options?: HttpHandlerOptions,
666
725
  ): Effect.Effect<
667
726
  GetImportedModelCommandOutput,
668
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
727
+ | Cause.TimeoutException
728
+ | SdkError
729
+ | AccessDeniedError
730
+ | InternalServerError
731
+ | ResourceNotFoundError
732
+ | ThrottlingError
733
+ | ValidationError
669
734
  >;
670
735
 
671
736
  /**
@@ -676,7 +741,13 @@ interface BedrockService$ {
676
741
  options?: HttpHandlerOptions,
677
742
  ): Effect.Effect<
678
743
  GetInferenceProfileCommandOutput,
679
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
744
+ | Cause.TimeoutException
745
+ | SdkError
746
+ | AccessDeniedError
747
+ | InternalServerError
748
+ | ResourceNotFoundError
749
+ | ThrottlingError
750
+ | ValidationError
680
751
  >;
681
752
 
682
753
  /**
@@ -687,7 +758,13 @@ interface BedrockService$ {
687
758
  options?: HttpHandlerOptions,
688
759
  ): Effect.Effect<
689
760
  GetMarketplaceModelEndpointCommandOutput,
690
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
761
+ | Cause.TimeoutException
762
+ | SdkError
763
+ | AccessDeniedError
764
+ | InternalServerError
765
+ | ResourceNotFoundError
766
+ | ThrottlingError
767
+ | ValidationError
691
768
  >;
692
769
 
693
770
  /**
@@ -698,7 +775,13 @@ interface BedrockService$ {
698
775
  options?: HttpHandlerOptions,
699
776
  ): Effect.Effect<
700
777
  GetModelCopyJobCommandOutput,
701
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
778
+ | Cause.TimeoutException
779
+ | SdkError
780
+ | AccessDeniedError
781
+ | InternalServerError
782
+ | ResourceNotFoundError
783
+ | ThrottlingError
784
+ | ValidationError
702
785
  >;
703
786
 
704
787
  /**
@@ -709,7 +792,13 @@ interface BedrockService$ {
709
792
  options?: HttpHandlerOptions,
710
793
  ): Effect.Effect<
711
794
  GetModelCustomizationJobCommandOutput,
712
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
795
+ | Cause.TimeoutException
796
+ | SdkError
797
+ | AccessDeniedError
798
+ | InternalServerError
799
+ | ResourceNotFoundError
800
+ | ThrottlingError
801
+ | ValidationError
713
802
  >;
714
803
 
715
804
  /**
@@ -720,7 +809,13 @@ interface BedrockService$ {
720
809
  options?: HttpHandlerOptions,
721
810
  ): Effect.Effect<
722
811
  GetModelImportJobCommandOutput,
723
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
812
+ | Cause.TimeoutException
813
+ | SdkError
814
+ | AccessDeniedError
815
+ | InternalServerError
816
+ | ResourceNotFoundError
817
+ | ThrottlingError
818
+ | ValidationError
724
819
  >;
725
820
 
726
821
  /**
@@ -731,7 +826,13 @@ interface BedrockService$ {
731
826
  options?: HttpHandlerOptions,
732
827
  ): Effect.Effect<
733
828
  GetModelInvocationJobCommandOutput,
734
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
829
+ | Cause.TimeoutException
830
+ | SdkError
831
+ | AccessDeniedError
832
+ | InternalServerError
833
+ | ResourceNotFoundError
834
+ | ThrottlingError
835
+ | ValidationError
735
836
  >;
736
837
 
737
838
  /**
@@ -742,7 +843,7 @@ interface BedrockService$ {
742
843
  options?: HttpHandlerOptions,
743
844
  ): Effect.Effect<
744
845
  GetModelInvocationLoggingConfigurationCommandOutput,
745
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError
846
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError
746
847
  >;
747
848
 
748
849
  /**
@@ -753,7 +854,13 @@ interface BedrockService$ {
753
854
  options?: HttpHandlerOptions,
754
855
  ): Effect.Effect<
755
856
  GetPromptRouterCommandOutput,
756
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
857
+ | Cause.TimeoutException
858
+ | SdkError
859
+ | AccessDeniedError
860
+ | InternalServerError
861
+ | ResourceNotFoundError
862
+ | ThrottlingError
863
+ | ValidationError
757
864
  >;
758
865
 
759
866
  /**
@@ -764,7 +871,13 @@ interface BedrockService$ {
764
871
  options?: HttpHandlerOptions,
765
872
  ): Effect.Effect<
766
873
  GetProvisionedModelThroughputCommandOutput,
767
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
874
+ | Cause.TimeoutException
875
+ | SdkError
876
+ | AccessDeniedError
877
+ | InternalServerError
878
+ | ResourceNotFoundError
879
+ | ThrottlingError
880
+ | ValidationError
768
881
  >;
769
882
 
770
883
  /**
@@ -775,7 +888,7 @@ interface BedrockService$ {
775
888
  options?: HttpHandlerOptions,
776
889
  ): Effect.Effect<
777
890
  ListCustomModelsCommandOutput,
778
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
891
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
779
892
  >;
780
893
 
781
894
  /**
@@ -786,7 +899,7 @@ interface BedrockService$ {
786
899
  options?: HttpHandlerOptions,
787
900
  ): Effect.Effect<
788
901
  ListEvaluationJobsCommandOutput,
789
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
902
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
790
903
  >;
791
904
 
792
905
  /**
@@ -797,7 +910,7 @@ interface BedrockService$ {
797
910
  options?: HttpHandlerOptions,
798
911
  ): Effect.Effect<
799
912
  ListFoundationModelsCommandOutput,
800
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
913
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
801
914
  >;
802
915
 
803
916
  /**
@@ -808,7 +921,13 @@ interface BedrockService$ {
808
921
  options?: HttpHandlerOptions,
809
922
  ): Effect.Effect<
810
923
  ListGuardrailsCommandOutput,
811
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
924
+ | Cause.TimeoutException
925
+ | SdkError
926
+ | AccessDeniedError
927
+ | InternalServerError
928
+ | ResourceNotFoundError
929
+ | ThrottlingError
930
+ | ValidationError
812
931
  >;
813
932
 
814
933
  /**
@@ -819,7 +938,7 @@ interface BedrockService$ {
819
938
  options?: HttpHandlerOptions,
820
939
  ): Effect.Effect<
821
940
  ListImportedModelsCommandOutput,
822
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
941
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
823
942
  >;
824
943
 
825
944
  /**
@@ -830,7 +949,7 @@ interface BedrockService$ {
830
949
  options?: HttpHandlerOptions,
831
950
  ): Effect.Effect<
832
951
  ListInferenceProfilesCommandOutput,
833
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
952
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
834
953
  >;
835
954
 
836
955
  /**
@@ -841,7 +960,13 @@ interface BedrockService$ {
841
960
  options?: HttpHandlerOptions,
842
961
  ): Effect.Effect<
843
962
  ListMarketplaceModelEndpointsCommandOutput,
844
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
963
+ | Cause.TimeoutException
964
+ | SdkError
965
+ | AccessDeniedError
966
+ | InternalServerError
967
+ | ResourceNotFoundError
968
+ | ThrottlingError
969
+ | ValidationError
845
970
  >;
846
971
 
847
972
  /**
@@ -852,7 +977,13 @@ interface BedrockService$ {
852
977
  options?: HttpHandlerOptions,
853
978
  ): Effect.Effect<
854
979
  ListModelCopyJobsCommandOutput,
855
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
980
+ | Cause.TimeoutException
981
+ | SdkError
982
+ | AccessDeniedError
983
+ | InternalServerError
984
+ | ResourceNotFoundError
985
+ | ThrottlingError
986
+ | ValidationError
856
987
  >;
857
988
 
858
989
  /**
@@ -863,7 +994,7 @@ interface BedrockService$ {
863
994
  options?: HttpHandlerOptions,
864
995
  ): Effect.Effect<
865
996
  ListModelCustomizationJobsCommandOutput,
866
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
997
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
867
998
  >;
868
999
 
869
1000
  /**
@@ -874,7 +1005,7 @@ interface BedrockService$ {
874
1005
  options?: HttpHandlerOptions,
875
1006
  ): Effect.Effect<
876
1007
  ListModelImportJobsCommandOutput,
877
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1008
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
878
1009
  >;
879
1010
 
880
1011
  /**
@@ -885,7 +1016,7 @@ interface BedrockService$ {
885
1016
  options?: HttpHandlerOptions,
886
1017
  ): Effect.Effect<
887
1018
  ListModelInvocationJobsCommandOutput,
888
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1019
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
889
1020
  >;
890
1021
 
891
1022
  /**
@@ -896,7 +1027,7 @@ interface BedrockService$ {
896
1027
  options?: HttpHandlerOptions,
897
1028
  ): Effect.Effect<
898
1029
  ListPromptRoutersCommandOutput,
899
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1030
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
900
1031
  >;
901
1032
 
902
1033
  /**
@@ -907,7 +1038,7 @@ interface BedrockService$ {
907
1038
  options?: HttpHandlerOptions,
908
1039
  ): Effect.Effect<
909
1040
  ListProvisionedModelThroughputsCommandOutput,
910
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1041
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
911
1042
  >;
912
1043
 
913
1044
  /**
@@ -918,7 +1049,13 @@ interface BedrockService$ {
918
1049
  options?: HttpHandlerOptions,
919
1050
  ): Effect.Effect<
920
1051
  ListTagsForResourceCommandOutput,
921
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
1052
+ | Cause.TimeoutException
1053
+ | SdkError
1054
+ | AccessDeniedError
1055
+ | InternalServerError
1056
+ | ResourceNotFoundError
1057
+ | ThrottlingError
1058
+ | ValidationError
922
1059
  >;
923
1060
 
924
1061
  /**
@@ -929,7 +1066,7 @@ interface BedrockService$ {
929
1066
  options?: HttpHandlerOptions,
930
1067
  ): Effect.Effect<
931
1068
  PutModelInvocationLoggingConfigurationCommandOutput,
932
- SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1069
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
933
1070
  >;
934
1071
 
935
1072
  /**
@@ -940,6 +1077,7 @@ interface BedrockService$ {
940
1077
  options?: HttpHandlerOptions,
941
1078
  ): Effect.Effect<
942
1079
  RegisterMarketplaceModelEndpointCommandOutput,
1080
+ | Cause.TimeoutException
943
1081
  | SdkError
944
1082
  | AccessDeniedError
945
1083
  | InternalServerError
@@ -957,6 +1095,7 @@ interface BedrockService$ {
957
1095
  options?: HttpHandlerOptions,
958
1096
  ): Effect.Effect<
959
1097
  StopEvaluationJobCommandOutput,
1098
+ | Cause.TimeoutException
960
1099
  | SdkError
961
1100
  | AccessDeniedError
962
1101
  | ConflictError
@@ -974,6 +1113,7 @@ interface BedrockService$ {
974
1113
  options?: HttpHandlerOptions,
975
1114
  ): Effect.Effect<
976
1115
  StopModelCustomizationJobCommandOutput,
1116
+ | Cause.TimeoutException
977
1117
  | SdkError
978
1118
  | AccessDeniedError
979
1119
  | ConflictError
@@ -991,6 +1131,7 @@ interface BedrockService$ {
991
1131
  options?: HttpHandlerOptions,
992
1132
  ): Effect.Effect<
993
1133
  StopModelInvocationJobCommandOutput,
1134
+ | Cause.TimeoutException
994
1135
  | SdkError
995
1136
  | AccessDeniedError
996
1137
  | ConflictError
@@ -1008,6 +1149,7 @@ interface BedrockService$ {
1008
1149
  options?: HttpHandlerOptions,
1009
1150
  ): Effect.Effect<
1010
1151
  TagResourceCommandOutput,
1152
+ | Cause.TimeoutException
1011
1153
  | SdkError
1012
1154
  | AccessDeniedError
1013
1155
  | InternalServerError
@@ -1025,7 +1167,13 @@ interface BedrockService$ {
1025
1167
  options?: HttpHandlerOptions,
1026
1168
  ): Effect.Effect<
1027
1169
  UntagResourceCommandOutput,
1028
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
1170
+ | Cause.TimeoutException
1171
+ | SdkError
1172
+ | AccessDeniedError
1173
+ | InternalServerError
1174
+ | ResourceNotFoundError
1175
+ | ThrottlingError
1176
+ | ValidationError
1029
1177
  >;
1030
1178
 
1031
1179
  /**
@@ -1036,6 +1184,7 @@ interface BedrockService$ {
1036
1184
  options?: HttpHandlerOptions,
1037
1185
  ): Effect.Effect<
1038
1186
  UpdateGuardrailCommandOutput,
1187
+ | Cause.TimeoutException
1039
1188
  | SdkError
1040
1189
  | AccessDeniedError
1041
1190
  | ConflictError
@@ -1054,6 +1203,7 @@ interface BedrockService$ {
1054
1203
  options?: HttpHandlerOptions,
1055
1204
  ): Effect.Effect<
1056
1205
  UpdateMarketplaceModelEndpointCommandOutput,
1206
+ | Cause.TimeoutException
1057
1207
  | SdkError
1058
1208
  | AccessDeniedError
1059
1209
  | ConflictError
@@ -1072,7 +1222,13 @@ interface BedrockService$ {
1072
1222
  options?: HttpHandlerOptions,
1073
1223
  ): Effect.Effect<
1074
1224
  UpdateProvisionedModelThroughputCommandOutput,
1075
- SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
1225
+ | Cause.TimeoutException
1226
+ | SdkError
1227
+ | AccessDeniedError
1228
+ | InternalServerError
1229
+ | ResourceNotFoundError
1230
+ | ThrottlingError
1231
+ | ValidationError
1076
1232
  >;
1077
1233
  }
1078
1234
 
@@ -1083,7 +1239,7 @@ interface BedrockService$ {
1083
1239
  export const makeBedrockService = Effect.gen(function*() {
1084
1240
  const client = yield* Instance.BedrockClientInstance;
1085
1241
 
1086
- return Service.fromClientAndCommands<BedrockService$>(
1242
+ return yield* Service.fromClientAndCommands<BedrockService$>(
1087
1243
  client,
1088
1244
  commands,
1089
1245
  {