@effect-aws/client-bedrock 1.10.9 → 2.0.0-beta.1
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/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/BedrockClientInstance.d.ts +4 -2
- package/dist/dts/BedrockClientInstance.d.ts.map +1 -1
- package/dist/dts/BedrockService.d.ts +103 -103
- package/dist/dts/BedrockService.d.ts.map +1 -1
- package/dist/dts/BedrockServiceConfig.d.ts +2 -1
- package/dist/dts/BedrockServiceConfig.d.ts.map +1 -1
- package/dist/esm/BedrockClientInstance.js +5 -3
- package/dist/esm/BedrockClientInstance.js.map +1 -1
- package/dist/esm/BedrockService.js +4 -2
- package/dist/esm/BedrockService.js.map +1 -1
- package/dist/esm/BedrockServiceConfig.js +7 -6
- package/dist/esm/BedrockServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/BedrockClientInstance.ts +6 -4
- package/src/BedrockService.ts +104 -107
- package/src/BedrockServiceConfig.ts +8 -7
- package/dist/cjs/BedrockClientInstance.d.ts +0 -24
- package/dist/cjs/BedrockClientInstance.d.ts.map +0 -1
- package/dist/cjs/BedrockClientInstance.js +0 -50
- package/dist/cjs/BedrockClientInstance.js.map +0 -1
- package/dist/cjs/BedrockService.d.ts +0 -438
- package/dist/cjs/BedrockService.d.ts.map +0 -1
- package/dist/cjs/BedrockService.js +0 -157
- package/dist/cjs/BedrockService.js.map +0 -1
- package/dist/cjs/BedrockServiceConfig.d.ts +0 -25
- package/dist/cjs/BedrockServiceConfig.d.ts.map +0 -1
- package/dist/cjs/BedrockServiceConfig.js +0 -35
- package/dist/cjs/BedrockServiceConfig.js.map +0 -1
- package/dist/cjs/Errors.d.ts +0 -17
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -16
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
package/src/BedrockService.ts
CHANGED
|
@@ -301,8 +301,10 @@ import {
|
|
|
301
301
|
} from "@aws-sdk/client-bedrock";
|
|
302
302
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
303
303
|
import { Service } from "@effect-aws/commons";
|
|
304
|
-
import type
|
|
305
|
-
import
|
|
304
|
+
import type * as Cause from "effect/Cause";
|
|
305
|
+
import * as Effect from "effect/Effect";
|
|
306
|
+
import * as Layer from "effect/Layer";
|
|
307
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
306
308
|
import * as Instance from "./BedrockClientInstance.js";
|
|
307
309
|
import * as BedrockServiceConfig from "./BedrockServiceConfig.js";
|
|
308
310
|
import type {
|
|
@@ -432,7 +434,7 @@ interface BedrockService$ {
|
|
|
432
434
|
options?: HttpHandlerOptions,
|
|
433
435
|
): Effect.Effect<
|
|
434
436
|
BatchDeleteEvaluationJobCommandOutput,
|
|
435
|
-
| Cause.
|
|
437
|
+
| Cause.TimeoutError
|
|
436
438
|
| SdkError
|
|
437
439
|
| AccessDeniedError
|
|
438
440
|
| ConflictError
|
|
@@ -450,7 +452,7 @@ interface BedrockService$ {
|
|
|
450
452
|
options?: HttpHandlerOptions,
|
|
451
453
|
): Effect.Effect<
|
|
452
454
|
CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput,
|
|
453
|
-
| Cause.
|
|
455
|
+
| Cause.TimeoutError
|
|
454
456
|
| SdkError
|
|
455
457
|
| AccessDeniedError
|
|
456
458
|
| InternalServerError
|
|
@@ -467,7 +469,7 @@ interface BedrockService$ {
|
|
|
467
469
|
options?: HttpHandlerOptions,
|
|
468
470
|
): Effect.Effect<
|
|
469
471
|
CreateAutomatedReasoningPolicyCommandOutput,
|
|
470
|
-
| Cause.
|
|
472
|
+
| Cause.TimeoutError
|
|
471
473
|
| SdkError
|
|
472
474
|
| AccessDeniedError
|
|
473
475
|
| ConflictError
|
|
@@ -487,7 +489,7 @@ interface BedrockService$ {
|
|
|
487
489
|
options?: HttpHandlerOptions,
|
|
488
490
|
): Effect.Effect<
|
|
489
491
|
CreateAutomatedReasoningPolicyTestCaseCommandOutput,
|
|
490
|
-
| Cause.
|
|
492
|
+
| Cause.TimeoutError
|
|
491
493
|
| SdkError
|
|
492
494
|
| AccessDeniedError
|
|
493
495
|
| ConflictError
|
|
@@ -506,7 +508,7 @@ interface BedrockService$ {
|
|
|
506
508
|
options?: HttpHandlerOptions,
|
|
507
509
|
): Effect.Effect<
|
|
508
510
|
CreateAutomatedReasoningPolicyVersionCommandOutput,
|
|
509
|
-
| Cause.
|
|
511
|
+
| Cause.TimeoutError
|
|
510
512
|
| SdkError
|
|
511
513
|
| AccessDeniedError
|
|
512
514
|
| ConflictError
|
|
@@ -526,7 +528,7 @@ interface BedrockService$ {
|
|
|
526
528
|
options?: HttpHandlerOptions,
|
|
527
529
|
): Effect.Effect<
|
|
528
530
|
CreateCustomModelCommandOutput,
|
|
529
|
-
| Cause.
|
|
531
|
+
| Cause.TimeoutError
|
|
530
532
|
| SdkError
|
|
531
533
|
| AccessDeniedError
|
|
532
534
|
| ConflictError
|
|
@@ -546,7 +548,7 @@ interface BedrockService$ {
|
|
|
546
548
|
options?: HttpHandlerOptions,
|
|
547
549
|
): Effect.Effect<
|
|
548
550
|
CreateCustomModelDeploymentCommandOutput,
|
|
549
|
-
| Cause.
|
|
551
|
+
| Cause.TimeoutError
|
|
550
552
|
| SdkError
|
|
551
553
|
| AccessDeniedError
|
|
552
554
|
| InternalServerError
|
|
@@ -565,7 +567,7 @@ interface BedrockService$ {
|
|
|
565
567
|
options?: HttpHandlerOptions,
|
|
566
568
|
): Effect.Effect<
|
|
567
569
|
CreateEvaluationJobCommandOutput,
|
|
568
|
-
| Cause.
|
|
570
|
+
| Cause.TimeoutError
|
|
569
571
|
| SdkError
|
|
570
572
|
| AccessDeniedError
|
|
571
573
|
| ConflictError
|
|
@@ -584,7 +586,7 @@ interface BedrockService$ {
|
|
|
584
586
|
options?: HttpHandlerOptions,
|
|
585
587
|
): Effect.Effect<
|
|
586
588
|
CreateFoundationModelAgreementCommandOutput,
|
|
587
|
-
| Cause.
|
|
589
|
+
| Cause.TimeoutError
|
|
588
590
|
| SdkError
|
|
589
591
|
| AccessDeniedError
|
|
590
592
|
| ConflictError
|
|
@@ -602,7 +604,7 @@ interface BedrockService$ {
|
|
|
602
604
|
options?: HttpHandlerOptions,
|
|
603
605
|
): Effect.Effect<
|
|
604
606
|
CreateGuardrailCommandOutput,
|
|
605
|
-
| Cause.
|
|
607
|
+
| Cause.TimeoutError
|
|
606
608
|
| SdkError
|
|
607
609
|
| AccessDeniedError
|
|
608
610
|
| ConflictError
|
|
@@ -622,7 +624,7 @@ interface BedrockService$ {
|
|
|
622
624
|
options?: HttpHandlerOptions,
|
|
623
625
|
): Effect.Effect<
|
|
624
626
|
CreateGuardrailVersionCommandOutput,
|
|
625
|
-
| Cause.
|
|
627
|
+
| Cause.TimeoutError
|
|
626
628
|
| SdkError
|
|
627
629
|
| AccessDeniedError
|
|
628
630
|
| ConflictError
|
|
@@ -641,7 +643,7 @@ interface BedrockService$ {
|
|
|
641
643
|
options?: HttpHandlerOptions,
|
|
642
644
|
): Effect.Effect<
|
|
643
645
|
CreateInferenceProfileCommandOutput,
|
|
644
|
-
| Cause.
|
|
646
|
+
| Cause.TimeoutError
|
|
645
647
|
| SdkError
|
|
646
648
|
| AccessDeniedError
|
|
647
649
|
| ConflictError
|
|
@@ -661,7 +663,7 @@ interface BedrockService$ {
|
|
|
661
663
|
options?: HttpHandlerOptions,
|
|
662
664
|
): Effect.Effect<
|
|
663
665
|
CreateMarketplaceModelEndpointCommandOutput,
|
|
664
|
-
| Cause.
|
|
666
|
+
| Cause.TimeoutError
|
|
665
667
|
| SdkError
|
|
666
668
|
| AccessDeniedError
|
|
667
669
|
| ConflictError
|
|
@@ -680,12 +682,7 @@ interface BedrockService$ {
|
|
|
680
682
|
options?: HttpHandlerOptions,
|
|
681
683
|
): Effect.Effect<
|
|
682
684
|
CreateModelCopyJobCommandOutput,
|
|
683
|
-
|
|
|
684
|
-
| SdkError
|
|
685
|
-
| AccessDeniedError
|
|
686
|
-
| InternalServerError
|
|
687
|
-
| ResourceNotFoundError
|
|
688
|
-
| TooManyTagsError
|
|
685
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyTagsError
|
|
689
686
|
>;
|
|
690
687
|
|
|
691
688
|
/**
|
|
@@ -696,7 +693,7 @@ interface BedrockService$ {
|
|
|
696
693
|
options?: HttpHandlerOptions,
|
|
697
694
|
): Effect.Effect<
|
|
698
695
|
CreateModelCustomizationJobCommandOutput,
|
|
699
|
-
| Cause.
|
|
696
|
+
| Cause.TimeoutError
|
|
700
697
|
| SdkError
|
|
701
698
|
| AccessDeniedError
|
|
702
699
|
| ConflictError
|
|
@@ -716,7 +713,7 @@ interface BedrockService$ {
|
|
|
716
713
|
options?: HttpHandlerOptions,
|
|
717
714
|
): Effect.Effect<
|
|
718
715
|
CreateModelImportJobCommandOutput,
|
|
719
|
-
| Cause.
|
|
716
|
+
| Cause.TimeoutError
|
|
720
717
|
| SdkError
|
|
721
718
|
| AccessDeniedError
|
|
722
719
|
| ConflictError
|
|
@@ -736,7 +733,7 @@ interface BedrockService$ {
|
|
|
736
733
|
options?: HttpHandlerOptions,
|
|
737
734
|
): Effect.Effect<
|
|
738
735
|
CreateModelInvocationJobCommandOutput,
|
|
739
|
-
| Cause.
|
|
736
|
+
| Cause.TimeoutError
|
|
740
737
|
| SdkError
|
|
741
738
|
| AccessDeniedError
|
|
742
739
|
| ConflictError
|
|
@@ -755,7 +752,7 @@ interface BedrockService$ {
|
|
|
755
752
|
options?: HttpHandlerOptions,
|
|
756
753
|
): Effect.Effect<
|
|
757
754
|
CreatePromptRouterCommandOutput,
|
|
758
|
-
| Cause.
|
|
755
|
+
| Cause.TimeoutError
|
|
759
756
|
| SdkError
|
|
760
757
|
| AccessDeniedError
|
|
761
758
|
| ConflictError
|
|
@@ -775,7 +772,7 @@ interface BedrockService$ {
|
|
|
775
772
|
options?: HttpHandlerOptions,
|
|
776
773
|
): Effect.Effect<
|
|
777
774
|
CreateProvisionedModelThroughputCommandOutput,
|
|
778
|
-
| Cause.
|
|
775
|
+
| Cause.TimeoutError
|
|
779
776
|
| SdkError
|
|
780
777
|
| AccessDeniedError
|
|
781
778
|
| InternalServerError
|
|
@@ -794,7 +791,7 @@ interface BedrockService$ {
|
|
|
794
791
|
options?: HttpHandlerOptions,
|
|
795
792
|
): Effect.Effect<
|
|
796
793
|
DeleteAutomatedReasoningPolicyCommandOutput,
|
|
797
|
-
| Cause.
|
|
794
|
+
| Cause.TimeoutError
|
|
798
795
|
| SdkError
|
|
799
796
|
| AccessDeniedError
|
|
800
797
|
| ConflictError
|
|
@@ -813,7 +810,7 @@ interface BedrockService$ {
|
|
|
813
810
|
options?: HttpHandlerOptions,
|
|
814
811
|
): Effect.Effect<
|
|
815
812
|
DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput,
|
|
816
|
-
| Cause.
|
|
813
|
+
| Cause.TimeoutError
|
|
817
814
|
| SdkError
|
|
818
815
|
| AccessDeniedError
|
|
819
816
|
| ConflictError
|
|
@@ -832,7 +829,7 @@ interface BedrockService$ {
|
|
|
832
829
|
options?: HttpHandlerOptions,
|
|
833
830
|
): Effect.Effect<
|
|
834
831
|
DeleteAutomatedReasoningPolicyTestCaseCommandOutput,
|
|
835
|
-
| Cause.
|
|
832
|
+
| Cause.TimeoutError
|
|
836
833
|
| SdkError
|
|
837
834
|
| AccessDeniedError
|
|
838
835
|
| ConflictError
|
|
@@ -851,7 +848,7 @@ interface BedrockService$ {
|
|
|
851
848
|
options?: HttpHandlerOptions,
|
|
852
849
|
): Effect.Effect<
|
|
853
850
|
DeleteCustomModelCommandOutput,
|
|
854
|
-
| Cause.
|
|
851
|
+
| Cause.TimeoutError
|
|
855
852
|
| SdkError
|
|
856
853
|
| AccessDeniedError
|
|
857
854
|
| ConflictError
|
|
@@ -869,7 +866,7 @@ interface BedrockService$ {
|
|
|
869
866
|
options?: HttpHandlerOptions,
|
|
870
867
|
): Effect.Effect<
|
|
871
868
|
DeleteCustomModelDeploymentCommandOutput,
|
|
872
|
-
| Cause.
|
|
869
|
+
| Cause.TimeoutError
|
|
873
870
|
| SdkError
|
|
874
871
|
| AccessDeniedError
|
|
875
872
|
| ConflictError
|
|
@@ -887,7 +884,7 @@ interface BedrockService$ {
|
|
|
887
884
|
options?: HttpHandlerOptions,
|
|
888
885
|
): Effect.Effect<
|
|
889
886
|
DeleteEnforcedGuardrailConfigurationCommandOutput,
|
|
890
|
-
| Cause.
|
|
887
|
+
| Cause.TimeoutError
|
|
891
888
|
| SdkError
|
|
892
889
|
| AccessDeniedError
|
|
893
890
|
| InternalServerError
|
|
@@ -904,7 +901,7 @@ interface BedrockService$ {
|
|
|
904
901
|
options?: HttpHandlerOptions,
|
|
905
902
|
): Effect.Effect<
|
|
906
903
|
DeleteFoundationModelAgreementCommandOutput,
|
|
907
|
-
| Cause.
|
|
904
|
+
| Cause.TimeoutError
|
|
908
905
|
| SdkError
|
|
909
906
|
| AccessDeniedError
|
|
910
907
|
| ConflictError
|
|
@@ -922,7 +919,7 @@ interface BedrockService$ {
|
|
|
922
919
|
options?: HttpHandlerOptions,
|
|
923
920
|
): Effect.Effect<
|
|
924
921
|
DeleteGuardrailCommandOutput,
|
|
925
|
-
| Cause.
|
|
922
|
+
| Cause.TimeoutError
|
|
926
923
|
| SdkError
|
|
927
924
|
| AccessDeniedError
|
|
928
925
|
| ConflictError
|
|
@@ -940,7 +937,7 @@ interface BedrockService$ {
|
|
|
940
937
|
options?: HttpHandlerOptions,
|
|
941
938
|
): Effect.Effect<
|
|
942
939
|
DeleteImportedModelCommandOutput,
|
|
943
|
-
| Cause.
|
|
940
|
+
| Cause.TimeoutError
|
|
944
941
|
| SdkError
|
|
945
942
|
| AccessDeniedError
|
|
946
943
|
| ConflictError
|
|
@@ -958,7 +955,7 @@ interface BedrockService$ {
|
|
|
958
955
|
options?: HttpHandlerOptions,
|
|
959
956
|
): Effect.Effect<
|
|
960
957
|
DeleteInferenceProfileCommandOutput,
|
|
961
|
-
| Cause.
|
|
958
|
+
| Cause.TimeoutError
|
|
962
959
|
| SdkError
|
|
963
960
|
| AccessDeniedError
|
|
964
961
|
| ConflictError
|
|
@@ -976,7 +973,7 @@ interface BedrockService$ {
|
|
|
976
973
|
options?: HttpHandlerOptions,
|
|
977
974
|
): Effect.Effect<
|
|
978
975
|
DeleteMarketplaceModelEndpointCommandOutput,
|
|
979
|
-
| Cause.
|
|
976
|
+
| Cause.TimeoutError
|
|
980
977
|
| SdkError
|
|
981
978
|
| AccessDeniedError
|
|
982
979
|
| InternalServerError
|
|
@@ -993,7 +990,7 @@ interface BedrockService$ {
|
|
|
993
990
|
options?: HttpHandlerOptions,
|
|
994
991
|
): Effect.Effect<
|
|
995
992
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
996
|
-
Cause.
|
|
993
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError
|
|
997
994
|
>;
|
|
998
995
|
|
|
999
996
|
/**
|
|
@@ -1004,7 +1001,7 @@ interface BedrockService$ {
|
|
|
1004
1001
|
options?: HttpHandlerOptions,
|
|
1005
1002
|
): Effect.Effect<
|
|
1006
1003
|
DeletePromptRouterCommandOutput,
|
|
1007
|
-
| Cause.
|
|
1004
|
+
| Cause.TimeoutError
|
|
1008
1005
|
| SdkError
|
|
1009
1006
|
| AccessDeniedError
|
|
1010
1007
|
| InternalServerError
|
|
@@ -1021,7 +1018,7 @@ interface BedrockService$ {
|
|
|
1021
1018
|
options?: HttpHandlerOptions,
|
|
1022
1019
|
): Effect.Effect<
|
|
1023
1020
|
DeleteProvisionedModelThroughputCommandOutput,
|
|
1024
|
-
| Cause.
|
|
1021
|
+
| Cause.TimeoutError
|
|
1025
1022
|
| SdkError
|
|
1026
1023
|
| AccessDeniedError
|
|
1027
1024
|
| ConflictError
|
|
@@ -1039,7 +1036,7 @@ interface BedrockService$ {
|
|
|
1039
1036
|
options?: HttpHandlerOptions,
|
|
1040
1037
|
): Effect.Effect<
|
|
1041
1038
|
DeregisterMarketplaceModelEndpointCommandOutput,
|
|
1042
|
-
| Cause.
|
|
1039
|
+
| Cause.TimeoutError
|
|
1043
1040
|
| SdkError
|
|
1044
1041
|
| AccessDeniedError
|
|
1045
1042
|
| InternalServerError
|
|
@@ -1057,7 +1054,7 @@ interface BedrockService$ {
|
|
|
1057
1054
|
options?: HttpHandlerOptions,
|
|
1058
1055
|
): Effect.Effect<
|
|
1059
1056
|
ExportAutomatedReasoningPolicyVersionCommandOutput,
|
|
1060
|
-
| Cause.
|
|
1057
|
+
| Cause.TimeoutError
|
|
1061
1058
|
| SdkError
|
|
1062
1059
|
| AccessDeniedError
|
|
1063
1060
|
| InternalServerError
|
|
@@ -1074,7 +1071,7 @@ interface BedrockService$ {
|
|
|
1074
1071
|
options?: HttpHandlerOptions,
|
|
1075
1072
|
): Effect.Effect<
|
|
1076
1073
|
GetAutomatedReasoningPolicyCommandOutput,
|
|
1077
|
-
| Cause.
|
|
1074
|
+
| Cause.TimeoutError
|
|
1078
1075
|
| SdkError
|
|
1079
1076
|
| AccessDeniedError
|
|
1080
1077
|
| InternalServerError
|
|
@@ -1091,7 +1088,7 @@ interface BedrockService$ {
|
|
|
1091
1088
|
options?: HttpHandlerOptions,
|
|
1092
1089
|
): Effect.Effect<
|
|
1093
1090
|
GetAutomatedReasoningPolicyAnnotationsCommandOutput,
|
|
1094
|
-
| Cause.
|
|
1091
|
+
| Cause.TimeoutError
|
|
1095
1092
|
| SdkError
|
|
1096
1093
|
| AccessDeniedError
|
|
1097
1094
|
| InternalServerError
|
|
@@ -1108,7 +1105,7 @@ interface BedrockService$ {
|
|
|
1108
1105
|
options?: HttpHandlerOptions,
|
|
1109
1106
|
): Effect.Effect<
|
|
1110
1107
|
GetAutomatedReasoningPolicyBuildWorkflowCommandOutput,
|
|
1111
|
-
| Cause.
|
|
1108
|
+
| Cause.TimeoutError
|
|
1112
1109
|
| SdkError
|
|
1113
1110
|
| AccessDeniedError
|
|
1114
1111
|
| InternalServerError
|
|
@@ -1125,7 +1122,7 @@ interface BedrockService$ {
|
|
|
1125
1122
|
options?: HttpHandlerOptions,
|
|
1126
1123
|
): Effect.Effect<
|
|
1127
1124
|
GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput,
|
|
1128
|
-
| Cause.
|
|
1125
|
+
| Cause.TimeoutError
|
|
1129
1126
|
| SdkError
|
|
1130
1127
|
| AccessDeniedError
|
|
1131
1128
|
| InternalServerError
|
|
@@ -1142,7 +1139,7 @@ interface BedrockService$ {
|
|
|
1142
1139
|
options?: HttpHandlerOptions,
|
|
1143
1140
|
): Effect.Effect<
|
|
1144
1141
|
GetAutomatedReasoningPolicyNextScenarioCommandOutput,
|
|
1145
|
-
| Cause.
|
|
1142
|
+
| Cause.TimeoutError
|
|
1146
1143
|
| SdkError
|
|
1147
1144
|
| AccessDeniedError
|
|
1148
1145
|
| InternalServerError
|
|
@@ -1159,7 +1156,7 @@ interface BedrockService$ {
|
|
|
1159
1156
|
options?: HttpHandlerOptions,
|
|
1160
1157
|
): Effect.Effect<
|
|
1161
1158
|
GetAutomatedReasoningPolicyTestCaseCommandOutput,
|
|
1162
|
-
| Cause.
|
|
1159
|
+
| Cause.TimeoutError
|
|
1163
1160
|
| SdkError
|
|
1164
1161
|
| AccessDeniedError
|
|
1165
1162
|
| InternalServerError
|
|
@@ -1176,7 +1173,7 @@ interface BedrockService$ {
|
|
|
1176
1173
|
options?: HttpHandlerOptions,
|
|
1177
1174
|
): Effect.Effect<
|
|
1178
1175
|
GetAutomatedReasoningPolicyTestResultCommandOutput,
|
|
1179
|
-
| Cause.
|
|
1176
|
+
| Cause.TimeoutError
|
|
1180
1177
|
| SdkError
|
|
1181
1178
|
| AccessDeniedError
|
|
1182
1179
|
| InternalServerError
|
|
@@ -1193,7 +1190,7 @@ interface BedrockService$ {
|
|
|
1193
1190
|
options?: HttpHandlerOptions,
|
|
1194
1191
|
): Effect.Effect<
|
|
1195
1192
|
GetCustomModelCommandOutput,
|
|
1196
|
-
| Cause.
|
|
1193
|
+
| Cause.TimeoutError
|
|
1197
1194
|
| SdkError
|
|
1198
1195
|
| AccessDeniedError
|
|
1199
1196
|
| InternalServerError
|
|
@@ -1210,7 +1207,7 @@ interface BedrockService$ {
|
|
|
1210
1207
|
options?: HttpHandlerOptions,
|
|
1211
1208
|
): Effect.Effect<
|
|
1212
1209
|
GetCustomModelDeploymentCommandOutput,
|
|
1213
|
-
| Cause.
|
|
1210
|
+
| Cause.TimeoutError
|
|
1214
1211
|
| SdkError
|
|
1215
1212
|
| AccessDeniedError
|
|
1216
1213
|
| InternalServerError
|
|
@@ -1227,7 +1224,7 @@ interface BedrockService$ {
|
|
|
1227
1224
|
options?: HttpHandlerOptions,
|
|
1228
1225
|
): Effect.Effect<
|
|
1229
1226
|
GetEvaluationJobCommandOutput,
|
|
1230
|
-
| Cause.
|
|
1227
|
+
| Cause.TimeoutError
|
|
1231
1228
|
| SdkError
|
|
1232
1229
|
| AccessDeniedError
|
|
1233
1230
|
| InternalServerError
|
|
@@ -1244,7 +1241,7 @@ interface BedrockService$ {
|
|
|
1244
1241
|
options?: HttpHandlerOptions,
|
|
1245
1242
|
): Effect.Effect<
|
|
1246
1243
|
GetFoundationModelCommandOutput,
|
|
1247
|
-
| Cause.
|
|
1244
|
+
| Cause.TimeoutError
|
|
1248
1245
|
| SdkError
|
|
1249
1246
|
| AccessDeniedError
|
|
1250
1247
|
| InternalServerError
|
|
@@ -1261,7 +1258,7 @@ interface BedrockService$ {
|
|
|
1261
1258
|
options?: HttpHandlerOptions,
|
|
1262
1259
|
): Effect.Effect<
|
|
1263
1260
|
GetFoundationModelAvailabilityCommandOutput,
|
|
1264
|
-
| Cause.
|
|
1261
|
+
| Cause.TimeoutError
|
|
1265
1262
|
| SdkError
|
|
1266
1263
|
| AccessDeniedError
|
|
1267
1264
|
| InternalServerError
|
|
@@ -1278,7 +1275,7 @@ interface BedrockService$ {
|
|
|
1278
1275
|
options?: HttpHandlerOptions,
|
|
1279
1276
|
): Effect.Effect<
|
|
1280
1277
|
GetGuardrailCommandOutput,
|
|
1281
|
-
| Cause.
|
|
1278
|
+
| Cause.TimeoutError
|
|
1282
1279
|
| SdkError
|
|
1283
1280
|
| AccessDeniedError
|
|
1284
1281
|
| InternalServerError
|
|
@@ -1295,7 +1292,7 @@ interface BedrockService$ {
|
|
|
1295
1292
|
options?: HttpHandlerOptions,
|
|
1296
1293
|
): Effect.Effect<
|
|
1297
1294
|
GetImportedModelCommandOutput,
|
|
1298
|
-
| Cause.
|
|
1295
|
+
| Cause.TimeoutError
|
|
1299
1296
|
| SdkError
|
|
1300
1297
|
| AccessDeniedError
|
|
1301
1298
|
| InternalServerError
|
|
@@ -1312,7 +1309,7 @@ interface BedrockService$ {
|
|
|
1312
1309
|
options?: HttpHandlerOptions,
|
|
1313
1310
|
): Effect.Effect<
|
|
1314
1311
|
GetInferenceProfileCommandOutput,
|
|
1315
|
-
| Cause.
|
|
1312
|
+
| Cause.TimeoutError
|
|
1316
1313
|
| SdkError
|
|
1317
1314
|
| AccessDeniedError
|
|
1318
1315
|
| InternalServerError
|
|
@@ -1329,7 +1326,7 @@ interface BedrockService$ {
|
|
|
1329
1326
|
options?: HttpHandlerOptions,
|
|
1330
1327
|
): Effect.Effect<
|
|
1331
1328
|
GetMarketplaceModelEndpointCommandOutput,
|
|
1332
|
-
| Cause.
|
|
1329
|
+
| Cause.TimeoutError
|
|
1333
1330
|
| SdkError
|
|
1334
1331
|
| AccessDeniedError
|
|
1335
1332
|
| InternalServerError
|
|
@@ -1346,7 +1343,7 @@ interface BedrockService$ {
|
|
|
1346
1343
|
options?: HttpHandlerOptions,
|
|
1347
1344
|
): Effect.Effect<
|
|
1348
1345
|
GetModelCopyJobCommandOutput,
|
|
1349
|
-
| Cause.
|
|
1346
|
+
| Cause.TimeoutError
|
|
1350
1347
|
| SdkError
|
|
1351
1348
|
| AccessDeniedError
|
|
1352
1349
|
| InternalServerError
|
|
@@ -1363,7 +1360,7 @@ interface BedrockService$ {
|
|
|
1363
1360
|
options?: HttpHandlerOptions,
|
|
1364
1361
|
): Effect.Effect<
|
|
1365
1362
|
GetModelCustomizationJobCommandOutput,
|
|
1366
|
-
| Cause.
|
|
1363
|
+
| Cause.TimeoutError
|
|
1367
1364
|
| SdkError
|
|
1368
1365
|
| AccessDeniedError
|
|
1369
1366
|
| InternalServerError
|
|
@@ -1380,7 +1377,7 @@ interface BedrockService$ {
|
|
|
1380
1377
|
options?: HttpHandlerOptions,
|
|
1381
1378
|
): Effect.Effect<
|
|
1382
1379
|
GetModelImportJobCommandOutput,
|
|
1383
|
-
| Cause.
|
|
1380
|
+
| Cause.TimeoutError
|
|
1384
1381
|
| SdkError
|
|
1385
1382
|
| AccessDeniedError
|
|
1386
1383
|
| InternalServerError
|
|
@@ -1397,7 +1394,7 @@ interface BedrockService$ {
|
|
|
1397
1394
|
options?: HttpHandlerOptions,
|
|
1398
1395
|
): Effect.Effect<
|
|
1399
1396
|
GetModelInvocationJobCommandOutput,
|
|
1400
|
-
| Cause.
|
|
1397
|
+
| Cause.TimeoutError
|
|
1401
1398
|
| SdkError
|
|
1402
1399
|
| AccessDeniedError
|
|
1403
1400
|
| InternalServerError
|
|
@@ -1414,7 +1411,7 @@ interface BedrockService$ {
|
|
|
1414
1411
|
options?: HttpHandlerOptions,
|
|
1415
1412
|
): Effect.Effect<
|
|
1416
1413
|
GetModelInvocationLoggingConfigurationCommandOutput,
|
|
1417
|
-
Cause.
|
|
1414
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError
|
|
1418
1415
|
>;
|
|
1419
1416
|
|
|
1420
1417
|
/**
|
|
@@ -1425,7 +1422,7 @@ interface BedrockService$ {
|
|
|
1425
1422
|
options?: HttpHandlerOptions,
|
|
1426
1423
|
): Effect.Effect<
|
|
1427
1424
|
GetPromptRouterCommandOutput,
|
|
1428
|
-
| Cause.
|
|
1425
|
+
| Cause.TimeoutError
|
|
1429
1426
|
| SdkError
|
|
1430
1427
|
| AccessDeniedError
|
|
1431
1428
|
| InternalServerError
|
|
@@ -1442,7 +1439,7 @@ interface BedrockService$ {
|
|
|
1442
1439
|
options?: HttpHandlerOptions,
|
|
1443
1440
|
): Effect.Effect<
|
|
1444
1441
|
GetProvisionedModelThroughputCommandOutput,
|
|
1445
|
-
| Cause.
|
|
1442
|
+
| Cause.TimeoutError
|
|
1446
1443
|
| SdkError
|
|
1447
1444
|
| AccessDeniedError
|
|
1448
1445
|
| InternalServerError
|
|
@@ -1459,7 +1456,7 @@ interface BedrockService$ {
|
|
|
1459
1456
|
options?: HttpHandlerOptions,
|
|
1460
1457
|
): Effect.Effect<
|
|
1461
1458
|
GetUseCaseForModelAccessCommandOutput,
|
|
1462
|
-
Cause.
|
|
1459
|
+
Cause.TimeoutError | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
1463
1460
|
>;
|
|
1464
1461
|
|
|
1465
1462
|
/**
|
|
@@ -1470,7 +1467,7 @@ interface BedrockService$ {
|
|
|
1470
1467
|
options?: HttpHandlerOptions,
|
|
1471
1468
|
): Effect.Effect<
|
|
1472
1469
|
ListAutomatedReasoningPoliciesCommandOutput,
|
|
1473
|
-
| Cause.
|
|
1470
|
+
| Cause.TimeoutError
|
|
1474
1471
|
| SdkError
|
|
1475
1472
|
| AccessDeniedError
|
|
1476
1473
|
| InternalServerError
|
|
@@ -1487,7 +1484,7 @@ interface BedrockService$ {
|
|
|
1487
1484
|
options?: HttpHandlerOptions,
|
|
1488
1485
|
): Effect.Effect<
|
|
1489
1486
|
ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput,
|
|
1490
|
-
| Cause.
|
|
1487
|
+
| Cause.TimeoutError
|
|
1491
1488
|
| SdkError
|
|
1492
1489
|
| AccessDeniedError
|
|
1493
1490
|
| InternalServerError
|
|
@@ -1504,7 +1501,7 @@ interface BedrockService$ {
|
|
|
1504
1501
|
options?: HttpHandlerOptions,
|
|
1505
1502
|
): Effect.Effect<
|
|
1506
1503
|
ListAutomatedReasoningPolicyTestCasesCommandOutput,
|
|
1507
|
-
| Cause.
|
|
1504
|
+
| Cause.TimeoutError
|
|
1508
1505
|
| SdkError
|
|
1509
1506
|
| AccessDeniedError
|
|
1510
1507
|
| InternalServerError
|
|
@@ -1521,7 +1518,7 @@ interface BedrockService$ {
|
|
|
1521
1518
|
options?: HttpHandlerOptions,
|
|
1522
1519
|
): Effect.Effect<
|
|
1523
1520
|
ListAutomatedReasoningPolicyTestResultsCommandOutput,
|
|
1524
|
-
| Cause.
|
|
1521
|
+
| Cause.TimeoutError
|
|
1525
1522
|
| SdkError
|
|
1526
1523
|
| AccessDeniedError
|
|
1527
1524
|
| InternalServerError
|
|
@@ -1539,7 +1536,7 @@ interface BedrockService$ {
|
|
|
1539
1536
|
options?: HttpHandlerOptions,
|
|
1540
1537
|
): Effect.Effect<
|
|
1541
1538
|
ListCustomModelDeploymentsCommandOutput,
|
|
1542
|
-
Cause.
|
|
1539
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1543
1540
|
>;
|
|
1544
1541
|
|
|
1545
1542
|
/**
|
|
@@ -1550,7 +1547,7 @@ interface BedrockService$ {
|
|
|
1550
1547
|
options?: HttpHandlerOptions,
|
|
1551
1548
|
): Effect.Effect<
|
|
1552
1549
|
ListCustomModelsCommandOutput,
|
|
1553
|
-
Cause.
|
|
1550
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1554
1551
|
>;
|
|
1555
1552
|
|
|
1556
1553
|
/**
|
|
@@ -1561,7 +1558,7 @@ interface BedrockService$ {
|
|
|
1561
1558
|
options?: HttpHandlerOptions,
|
|
1562
1559
|
): Effect.Effect<
|
|
1563
1560
|
ListEnforcedGuardrailsConfigurationCommandOutput,
|
|
1564
|
-
| Cause.
|
|
1561
|
+
| Cause.TimeoutError
|
|
1565
1562
|
| SdkError
|
|
1566
1563
|
| AccessDeniedError
|
|
1567
1564
|
| InternalServerError
|
|
@@ -1578,7 +1575,7 @@ interface BedrockService$ {
|
|
|
1578
1575
|
options?: HttpHandlerOptions,
|
|
1579
1576
|
): Effect.Effect<
|
|
1580
1577
|
ListEvaluationJobsCommandOutput,
|
|
1581
|
-
Cause.
|
|
1578
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1582
1579
|
>;
|
|
1583
1580
|
|
|
1584
1581
|
/**
|
|
@@ -1589,7 +1586,7 @@ interface BedrockService$ {
|
|
|
1589
1586
|
options?: HttpHandlerOptions,
|
|
1590
1587
|
): Effect.Effect<
|
|
1591
1588
|
ListFoundationModelAgreementOffersCommandOutput,
|
|
1592
|
-
| Cause.
|
|
1589
|
+
| Cause.TimeoutError
|
|
1593
1590
|
| SdkError
|
|
1594
1591
|
| AccessDeniedError
|
|
1595
1592
|
| InternalServerError
|
|
@@ -1606,7 +1603,7 @@ interface BedrockService$ {
|
|
|
1606
1603
|
options?: HttpHandlerOptions,
|
|
1607
1604
|
): Effect.Effect<
|
|
1608
1605
|
ListFoundationModelsCommandOutput,
|
|
1609
|
-
Cause.
|
|
1606
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1610
1607
|
>;
|
|
1611
1608
|
|
|
1612
1609
|
/**
|
|
@@ -1617,7 +1614,7 @@ interface BedrockService$ {
|
|
|
1617
1614
|
options?: HttpHandlerOptions,
|
|
1618
1615
|
): Effect.Effect<
|
|
1619
1616
|
ListGuardrailsCommandOutput,
|
|
1620
|
-
| Cause.
|
|
1617
|
+
| Cause.TimeoutError
|
|
1621
1618
|
| SdkError
|
|
1622
1619
|
| AccessDeniedError
|
|
1623
1620
|
| InternalServerError
|
|
@@ -1634,7 +1631,7 @@ interface BedrockService$ {
|
|
|
1634
1631
|
options?: HttpHandlerOptions,
|
|
1635
1632
|
): Effect.Effect<
|
|
1636
1633
|
ListImportedModelsCommandOutput,
|
|
1637
|
-
Cause.
|
|
1634
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1638
1635
|
>;
|
|
1639
1636
|
|
|
1640
1637
|
/**
|
|
@@ -1645,7 +1642,7 @@ interface BedrockService$ {
|
|
|
1645
1642
|
options?: HttpHandlerOptions,
|
|
1646
1643
|
): Effect.Effect<
|
|
1647
1644
|
ListInferenceProfilesCommandOutput,
|
|
1648
|
-
Cause.
|
|
1645
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1649
1646
|
>;
|
|
1650
1647
|
|
|
1651
1648
|
/**
|
|
@@ -1656,7 +1653,7 @@ interface BedrockService$ {
|
|
|
1656
1653
|
options?: HttpHandlerOptions,
|
|
1657
1654
|
): Effect.Effect<
|
|
1658
1655
|
ListMarketplaceModelEndpointsCommandOutput,
|
|
1659
|
-
| Cause.
|
|
1656
|
+
| Cause.TimeoutError
|
|
1660
1657
|
| SdkError
|
|
1661
1658
|
| AccessDeniedError
|
|
1662
1659
|
| InternalServerError
|
|
@@ -1673,7 +1670,7 @@ interface BedrockService$ {
|
|
|
1673
1670
|
options?: HttpHandlerOptions,
|
|
1674
1671
|
): Effect.Effect<
|
|
1675
1672
|
ListModelCopyJobsCommandOutput,
|
|
1676
|
-
| Cause.
|
|
1673
|
+
| Cause.TimeoutError
|
|
1677
1674
|
| SdkError
|
|
1678
1675
|
| AccessDeniedError
|
|
1679
1676
|
| InternalServerError
|
|
@@ -1690,7 +1687,7 @@ interface BedrockService$ {
|
|
|
1690
1687
|
options?: HttpHandlerOptions,
|
|
1691
1688
|
): Effect.Effect<
|
|
1692
1689
|
ListModelCustomizationJobsCommandOutput,
|
|
1693
|
-
Cause.
|
|
1690
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1694
1691
|
>;
|
|
1695
1692
|
|
|
1696
1693
|
/**
|
|
@@ -1701,7 +1698,7 @@ interface BedrockService$ {
|
|
|
1701
1698
|
options?: HttpHandlerOptions,
|
|
1702
1699
|
): Effect.Effect<
|
|
1703
1700
|
ListModelImportJobsCommandOutput,
|
|
1704
|
-
Cause.
|
|
1701
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1705
1702
|
>;
|
|
1706
1703
|
|
|
1707
1704
|
/**
|
|
@@ -1712,7 +1709,7 @@ interface BedrockService$ {
|
|
|
1712
1709
|
options?: HttpHandlerOptions,
|
|
1713
1710
|
): Effect.Effect<
|
|
1714
1711
|
ListModelInvocationJobsCommandOutput,
|
|
1715
|
-
Cause.
|
|
1712
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1716
1713
|
>;
|
|
1717
1714
|
|
|
1718
1715
|
/**
|
|
@@ -1723,7 +1720,7 @@ interface BedrockService$ {
|
|
|
1723
1720
|
options?: HttpHandlerOptions,
|
|
1724
1721
|
): Effect.Effect<
|
|
1725
1722
|
ListPromptRoutersCommandOutput,
|
|
1726
|
-
Cause.
|
|
1723
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1727
1724
|
>;
|
|
1728
1725
|
|
|
1729
1726
|
/**
|
|
@@ -1734,7 +1731,7 @@ interface BedrockService$ {
|
|
|
1734
1731
|
options?: HttpHandlerOptions,
|
|
1735
1732
|
): Effect.Effect<
|
|
1736
1733
|
ListProvisionedModelThroughputsCommandOutput,
|
|
1737
|
-
Cause.
|
|
1734
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1738
1735
|
>;
|
|
1739
1736
|
|
|
1740
1737
|
/**
|
|
@@ -1745,7 +1742,7 @@ interface BedrockService$ {
|
|
|
1745
1742
|
options?: HttpHandlerOptions,
|
|
1746
1743
|
): Effect.Effect<
|
|
1747
1744
|
ListTagsForResourceCommandOutput,
|
|
1748
|
-
| Cause.
|
|
1745
|
+
| Cause.TimeoutError
|
|
1749
1746
|
| SdkError
|
|
1750
1747
|
| AccessDeniedError
|
|
1751
1748
|
| InternalServerError
|
|
@@ -1762,7 +1759,7 @@ interface BedrockService$ {
|
|
|
1762
1759
|
options?: HttpHandlerOptions,
|
|
1763
1760
|
): Effect.Effect<
|
|
1764
1761
|
PutEnforcedGuardrailConfigurationCommandOutput,
|
|
1765
|
-
| Cause.
|
|
1762
|
+
| Cause.TimeoutError
|
|
1766
1763
|
| SdkError
|
|
1767
1764
|
| AccessDeniedError
|
|
1768
1765
|
| ConflictError
|
|
@@ -1780,7 +1777,7 @@ interface BedrockService$ {
|
|
|
1780
1777
|
options?: HttpHandlerOptions,
|
|
1781
1778
|
): Effect.Effect<
|
|
1782
1779
|
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
1783
|
-
Cause.
|
|
1780
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1784
1781
|
>;
|
|
1785
1782
|
|
|
1786
1783
|
/**
|
|
@@ -1791,7 +1788,7 @@ interface BedrockService$ {
|
|
|
1791
1788
|
options?: HttpHandlerOptions,
|
|
1792
1789
|
): Effect.Effect<
|
|
1793
1790
|
PutUseCaseForModelAccessCommandOutput,
|
|
1794
|
-
Cause.
|
|
1791
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
|
|
1795
1792
|
>;
|
|
1796
1793
|
|
|
1797
1794
|
/**
|
|
@@ -1802,7 +1799,7 @@ interface BedrockService$ {
|
|
|
1802
1799
|
options?: HttpHandlerOptions,
|
|
1803
1800
|
): Effect.Effect<
|
|
1804
1801
|
RegisterMarketplaceModelEndpointCommandOutput,
|
|
1805
|
-
| Cause.
|
|
1802
|
+
| Cause.TimeoutError
|
|
1806
1803
|
| SdkError
|
|
1807
1804
|
| AccessDeniedError
|
|
1808
1805
|
| InternalServerError
|
|
@@ -1820,7 +1817,7 @@ interface BedrockService$ {
|
|
|
1820
1817
|
options?: HttpHandlerOptions,
|
|
1821
1818
|
): Effect.Effect<
|
|
1822
1819
|
StartAutomatedReasoningPolicyBuildWorkflowCommandOutput,
|
|
1823
|
-
| Cause.
|
|
1820
|
+
| Cause.TimeoutError
|
|
1824
1821
|
| SdkError
|
|
1825
1822
|
| AccessDeniedError
|
|
1826
1823
|
| ConflictError
|
|
@@ -1840,7 +1837,7 @@ interface BedrockService$ {
|
|
|
1840
1837
|
options?: HttpHandlerOptions,
|
|
1841
1838
|
): Effect.Effect<
|
|
1842
1839
|
StartAutomatedReasoningPolicyTestWorkflowCommandOutput,
|
|
1843
|
-
| Cause.
|
|
1840
|
+
| Cause.TimeoutError
|
|
1844
1841
|
| SdkError
|
|
1845
1842
|
| AccessDeniedError
|
|
1846
1843
|
| InternalServerError
|
|
@@ -1858,7 +1855,7 @@ interface BedrockService$ {
|
|
|
1858
1855
|
options?: HttpHandlerOptions,
|
|
1859
1856
|
): Effect.Effect<
|
|
1860
1857
|
StopEvaluationJobCommandOutput,
|
|
1861
|
-
| Cause.
|
|
1858
|
+
| Cause.TimeoutError
|
|
1862
1859
|
| SdkError
|
|
1863
1860
|
| AccessDeniedError
|
|
1864
1861
|
| ConflictError
|
|
@@ -1876,7 +1873,7 @@ interface BedrockService$ {
|
|
|
1876
1873
|
options?: HttpHandlerOptions,
|
|
1877
1874
|
): Effect.Effect<
|
|
1878
1875
|
StopModelCustomizationJobCommandOutput,
|
|
1879
|
-
| Cause.
|
|
1876
|
+
| Cause.TimeoutError
|
|
1880
1877
|
| SdkError
|
|
1881
1878
|
| AccessDeniedError
|
|
1882
1879
|
| ConflictError
|
|
@@ -1894,7 +1891,7 @@ interface BedrockService$ {
|
|
|
1894
1891
|
options?: HttpHandlerOptions,
|
|
1895
1892
|
): Effect.Effect<
|
|
1896
1893
|
StopModelInvocationJobCommandOutput,
|
|
1897
|
-
| Cause.
|
|
1894
|
+
| Cause.TimeoutError
|
|
1898
1895
|
| SdkError
|
|
1899
1896
|
| AccessDeniedError
|
|
1900
1897
|
| ConflictError
|
|
@@ -1912,7 +1909,7 @@ interface BedrockService$ {
|
|
|
1912
1909
|
options?: HttpHandlerOptions,
|
|
1913
1910
|
): Effect.Effect<
|
|
1914
1911
|
TagResourceCommandOutput,
|
|
1915
|
-
| Cause.
|
|
1912
|
+
| Cause.TimeoutError
|
|
1916
1913
|
| SdkError
|
|
1917
1914
|
| AccessDeniedError
|
|
1918
1915
|
| InternalServerError
|
|
@@ -1930,7 +1927,7 @@ interface BedrockService$ {
|
|
|
1930
1927
|
options?: HttpHandlerOptions,
|
|
1931
1928
|
): Effect.Effect<
|
|
1932
1929
|
UntagResourceCommandOutput,
|
|
1933
|
-
| Cause.
|
|
1930
|
+
| Cause.TimeoutError
|
|
1934
1931
|
| SdkError
|
|
1935
1932
|
| AccessDeniedError
|
|
1936
1933
|
| InternalServerError
|
|
@@ -1947,7 +1944,7 @@ interface BedrockService$ {
|
|
|
1947
1944
|
options?: HttpHandlerOptions,
|
|
1948
1945
|
): Effect.Effect<
|
|
1949
1946
|
UpdateAutomatedReasoningPolicyCommandOutput,
|
|
1950
|
-
| Cause.
|
|
1947
|
+
| Cause.TimeoutError
|
|
1951
1948
|
| SdkError
|
|
1952
1949
|
| AccessDeniedError
|
|
1953
1950
|
| ConflictError
|
|
@@ -1966,7 +1963,7 @@ interface BedrockService$ {
|
|
|
1966
1963
|
options?: HttpHandlerOptions,
|
|
1967
1964
|
): Effect.Effect<
|
|
1968
1965
|
UpdateAutomatedReasoningPolicyAnnotationsCommandOutput,
|
|
1969
|
-
| Cause.
|
|
1966
|
+
| Cause.TimeoutError
|
|
1970
1967
|
| SdkError
|
|
1971
1968
|
| AccessDeniedError
|
|
1972
1969
|
| ConflictError
|
|
@@ -1984,7 +1981,7 @@ interface BedrockService$ {
|
|
|
1984
1981
|
options?: HttpHandlerOptions,
|
|
1985
1982
|
): Effect.Effect<
|
|
1986
1983
|
UpdateAutomatedReasoningPolicyTestCaseCommandOutput,
|
|
1987
|
-
| Cause.
|
|
1984
|
+
| Cause.TimeoutError
|
|
1988
1985
|
| SdkError
|
|
1989
1986
|
| AccessDeniedError
|
|
1990
1987
|
| ConflictError
|
|
@@ -2003,7 +2000,7 @@ interface BedrockService$ {
|
|
|
2003
2000
|
options?: HttpHandlerOptions,
|
|
2004
2001
|
): Effect.Effect<
|
|
2005
2002
|
UpdateCustomModelDeploymentCommandOutput,
|
|
2006
|
-
| Cause.
|
|
2003
|
+
| Cause.TimeoutError
|
|
2007
2004
|
| SdkError
|
|
2008
2005
|
| AccessDeniedError
|
|
2009
2006
|
| InternalServerError
|
|
@@ -2020,7 +2017,7 @@ interface BedrockService$ {
|
|
|
2020
2017
|
options?: HttpHandlerOptions,
|
|
2021
2018
|
): Effect.Effect<
|
|
2022
2019
|
UpdateGuardrailCommandOutput,
|
|
2023
|
-
| Cause.
|
|
2020
|
+
| Cause.TimeoutError
|
|
2024
2021
|
| SdkError
|
|
2025
2022
|
| AccessDeniedError
|
|
2026
2023
|
| ConflictError
|
|
@@ -2039,7 +2036,7 @@ interface BedrockService$ {
|
|
|
2039
2036
|
options?: HttpHandlerOptions,
|
|
2040
2037
|
): Effect.Effect<
|
|
2041
2038
|
UpdateMarketplaceModelEndpointCommandOutput,
|
|
2042
|
-
| Cause.
|
|
2039
|
+
| Cause.TimeoutError
|
|
2043
2040
|
| SdkError
|
|
2044
2041
|
| AccessDeniedError
|
|
2045
2042
|
| ConflictError
|
|
@@ -2058,7 +2055,7 @@ interface BedrockService$ {
|
|
|
2058
2055
|
options?: HttpHandlerOptions,
|
|
2059
2056
|
): Effect.Effect<
|
|
2060
2057
|
UpdateProvisionedModelThroughputCommandOutput,
|
|
2061
|
-
| Cause.
|
|
2058
|
+
| Cause.TimeoutError
|
|
2062
2059
|
| SdkError
|
|
2063
2060
|
| AccessDeniedError
|
|
2064
2061
|
| InternalServerError
|
|
@@ -2089,10 +2086,10 @@ export const makeBedrockService = Effect.gen(function*() {
|
|
|
2089
2086
|
* @since 1.0.0
|
|
2090
2087
|
* @category models
|
|
2091
2088
|
*/
|
|
2092
|
-
export class BedrockService extends
|
|
2089
|
+
export class BedrockService extends ServiceMap.Service<
|
|
2093
2090
|
BedrockService,
|
|
2094
2091
|
BedrockService$
|
|
2095
|
-
>() {
|
|
2092
|
+
>()("@effect-aws/client-bedrock/BedrockService") {
|
|
2096
2093
|
static readonly defaultLayer = Layer.effect(this, makeBedrockService).pipe(Layer.provide(Instance.layer));
|
|
2097
2094
|
static readonly layer = (config: BedrockService.Config) =>
|
|
2098
2095
|
Layer.effect(this, makeBedrockService).pipe(
|