@effect-aws/client-bedrock 1.3.0 → 1.9.3

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 (69) hide show
  1. package/BedrockClientInstance/package.json +6 -0
  2. package/BedrockService/package.json +6 -0
  3. package/BedrockServiceConfig/package.json +6 -0
  4. package/Errors/package.json +6 -0
  5. package/dist/cjs/BedrockClientInstance.d.ts +24 -0
  6. package/dist/cjs/BedrockClientInstance.d.ts.map +1 -0
  7. package/dist/cjs/BedrockClientInstance.js +50 -0
  8. package/dist/cjs/BedrockClientInstance.js.map +1 -0
  9. package/dist/cjs/BedrockService.d.ts +277 -0
  10. package/dist/cjs/BedrockService.d.ts.map +1 -0
  11. package/dist/cjs/BedrockService.js +118 -0
  12. package/dist/cjs/BedrockService.js.map +1 -0
  13. package/dist/cjs/BedrockServiceConfig.d.ts +25 -0
  14. package/dist/cjs/BedrockServiceConfig.d.ts.map +1 -0
  15. package/dist/cjs/BedrockServiceConfig.js +35 -0
  16. package/dist/cjs/BedrockServiceConfig.js.map +1 -0
  17. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  18. package/dist/cjs/Errors.d.ts.map +1 -0
  19. package/dist/cjs/Errors.js +17 -0
  20. package/dist/cjs/Errors.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/BedrockClientInstance.d.ts +24 -0
  26. package/dist/dts/BedrockClientInstance.d.ts.map +1 -0
  27. package/dist/dts/BedrockService.d.ts +277 -0
  28. package/dist/dts/BedrockService.d.ts.map +1 -0
  29. package/dist/dts/BedrockServiceConfig.d.ts +25 -0
  30. package/dist/dts/BedrockServiceConfig.d.ts.map +1 -0
  31. package/dist/dts/Errors.d.ts +16 -0
  32. package/dist/dts/Errors.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/BedrockClientInstance.js +23 -0
  36. package/dist/esm/BedrockClientInstance.js.map +1 -0
  37. package/dist/esm/BedrockService.js +91 -0
  38. package/dist/esm/BedrockService.js.map +1 -0
  39. package/dist/esm/BedrockServiceConfig.js +31 -0
  40. package/dist/esm/BedrockServiceConfig.js.map +1 -0
  41. package/dist/esm/Errors.js +14 -0
  42. package/dist/esm/Errors.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/BedrockClientInstance.ts +33 -0
  48. package/src/BedrockService.ts +1133 -0
  49. package/src/BedrockServiceConfig.ts +52 -0
  50. package/src/Errors.ts +38 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -25
  53. package/docgen.json +0 -8
  54. package/lib/BedrockClientInstance.d.ts +0 -31
  55. package/lib/BedrockClientInstance.js +0 -57
  56. package/lib/BedrockClientInstanceConfig.d.ts +0 -23
  57. package/lib/BedrockClientInstanceConfig.js +0 -44
  58. package/lib/BedrockService.d.ts +0 -350
  59. package/lib/BedrockService.js +0 -145
  60. package/lib/Errors.js +0 -17
  61. package/lib/esm/BedrockClientInstance.js +0 -30
  62. package/lib/esm/BedrockClientInstanceConfig.js +0 -40
  63. package/lib/esm/BedrockService.js +0 -141
  64. package/lib/esm/Errors.js +0 -14
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -1,350 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { type BedrockClient, type BedrockClientConfig, type BatchDeleteEvaluationJobCommandInput, type BatchDeleteEvaluationJobCommandOutput, type CreateEvaluationJobCommandInput, type CreateEvaluationJobCommandOutput, type CreateGuardrailCommandInput, type CreateGuardrailCommandOutput, type CreateGuardrailVersionCommandInput, type CreateGuardrailVersionCommandOutput, type CreateInferenceProfileCommandInput, type CreateInferenceProfileCommandOutput, type CreateMarketplaceModelEndpointCommandInput, type CreateMarketplaceModelEndpointCommandOutput, type CreateModelCopyJobCommandInput, type CreateModelCopyJobCommandOutput, type CreateModelCustomizationJobCommandInput, type CreateModelCustomizationJobCommandOutput, type CreateModelImportJobCommandInput, type CreateModelImportJobCommandOutput, type CreateModelInvocationJobCommandInput, type CreateModelInvocationJobCommandOutput, type CreateProvisionedModelThroughputCommandInput, type CreateProvisionedModelThroughputCommandOutput, type DeleteCustomModelCommandInput, type DeleteCustomModelCommandOutput, type DeleteGuardrailCommandInput, type DeleteGuardrailCommandOutput, type DeleteImportedModelCommandInput, type DeleteImportedModelCommandOutput, type DeleteInferenceProfileCommandInput, type DeleteInferenceProfileCommandOutput, type DeleteMarketplaceModelEndpointCommandInput, type DeleteMarketplaceModelEndpointCommandOutput, type DeleteModelInvocationLoggingConfigurationCommandInput, type DeleteModelInvocationLoggingConfigurationCommandOutput, type DeleteProvisionedModelThroughputCommandInput, type DeleteProvisionedModelThroughputCommandOutput, type DeregisterMarketplaceModelEndpointCommandInput, type DeregisterMarketplaceModelEndpointCommandOutput, type GetCustomModelCommandInput, type GetCustomModelCommandOutput, type GetEvaluationJobCommandInput, type GetEvaluationJobCommandOutput, type GetFoundationModelCommandInput, type GetFoundationModelCommandOutput, type GetGuardrailCommandInput, type GetGuardrailCommandOutput, type GetImportedModelCommandInput, type GetImportedModelCommandOutput, type GetInferenceProfileCommandInput, type GetInferenceProfileCommandOutput, type GetMarketplaceModelEndpointCommandInput, type GetMarketplaceModelEndpointCommandOutput, type GetModelCopyJobCommandInput, type GetModelCopyJobCommandOutput, type GetModelCustomizationJobCommandInput, type GetModelCustomizationJobCommandOutput, type GetModelImportJobCommandInput, type GetModelImportJobCommandOutput, type GetModelInvocationJobCommandInput, type GetModelInvocationJobCommandOutput, type GetModelInvocationLoggingConfigurationCommandInput, type GetModelInvocationLoggingConfigurationCommandOutput, type GetPromptRouterCommandInput, type GetPromptRouterCommandOutput, type GetProvisionedModelThroughputCommandInput, type GetProvisionedModelThroughputCommandOutput, type ListCustomModelsCommandInput, type ListCustomModelsCommandOutput, type ListEvaluationJobsCommandInput, type ListEvaluationJobsCommandOutput, type ListFoundationModelsCommandInput, type ListFoundationModelsCommandOutput, type ListGuardrailsCommandInput, type ListGuardrailsCommandOutput, type ListImportedModelsCommandInput, type ListImportedModelsCommandOutput, type ListInferenceProfilesCommandInput, type ListInferenceProfilesCommandOutput, type ListMarketplaceModelEndpointsCommandInput, type ListMarketplaceModelEndpointsCommandOutput, type ListModelCopyJobsCommandInput, type ListModelCopyJobsCommandOutput, type ListModelCustomizationJobsCommandInput, type ListModelCustomizationJobsCommandOutput, type ListModelImportJobsCommandInput, type ListModelImportJobsCommandOutput, type ListModelInvocationJobsCommandInput, type ListModelInvocationJobsCommandOutput, type ListPromptRoutersCommandInput, type ListPromptRoutersCommandOutput, type ListProvisionedModelThroughputsCommandInput, type ListProvisionedModelThroughputsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type PutModelInvocationLoggingConfigurationCommandInput, type PutModelInvocationLoggingConfigurationCommandOutput, type RegisterMarketplaceModelEndpointCommandInput, type RegisterMarketplaceModelEndpointCommandOutput, type StopEvaluationJobCommandInput, type StopEvaluationJobCommandOutput, type StopModelCustomizationJobCommandInput, type StopModelCustomizationJobCommandOutput, type StopModelInvocationJobCommandInput, type StopModelInvocationJobCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateGuardrailCommandInput, type UpdateGuardrailCommandOutput, type UpdateMarketplaceModelEndpointCommandInput, type UpdateMarketplaceModelEndpointCommandOutput, type UpdateProvisionedModelThroughputCommandInput, type UpdateProvisionedModelThroughputCommandOutput } from "@aws-sdk/client-bedrock";
5
- import { Effect, Layer } from "effect";
6
- import { BedrockClientInstance } from "./BedrockClientInstance";
7
- import { BedrockClientInstanceConfig } from "./BedrockClientInstanceConfig";
8
- import { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ServiceUnavailableError, ThrottlingError, TooManyTagsError, ValidationError, SdkError } from "./Errors";
9
- /**
10
- * @since 1.0.0
11
- */
12
- export interface HttpHandlerOptions {
13
- /**
14
- * The maximum time in milliseconds that the connection phase of a request
15
- * may take before the connection attempt is abandoned.
16
- */
17
- requestTimeout?: number;
18
- }
19
- interface BedrockService$ {
20
- readonly _: unique symbol;
21
- /**
22
- * @see {@link BatchDeleteEvaluationJobCommand}
23
- */
24
- batchDeleteEvaluationJob(args: BatchDeleteEvaluationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchDeleteEvaluationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
25
- /**
26
- * @see {@link CreateEvaluationJobCommand}
27
- */
28
- createEvaluationJob(args: CreateEvaluationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateEvaluationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
29
- /**
30
- * @see {@link CreateGuardrailCommand}
31
- */
32
- createGuardrail(args: CreateGuardrailCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateGuardrailCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
33
- /**
34
- * @see {@link CreateGuardrailVersionCommand}
35
- */
36
- createGuardrailVersion(args: CreateGuardrailVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateGuardrailVersionCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
37
- /**
38
- * @see {@link CreateInferenceProfileCommand}
39
- */
40
- createInferenceProfile(args: CreateInferenceProfileCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateInferenceProfileCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
41
- /**
42
- * @see {@link CreateMarketplaceModelEndpointCommand}
43
- */
44
- createMarketplaceModelEndpoint(args: CreateMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
45
- /**
46
- * @see {@link CreateModelCopyJobCommand}
47
- */
48
- createModelCopyJob(args: CreateModelCopyJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateModelCopyJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyTagsError>;
49
- /**
50
- * @see {@link CreateModelCustomizationJobCommand}
51
- */
52
- createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateModelCustomizationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
53
- /**
54
- * @see {@link CreateModelImportJobCommand}
55
- */
56
- createModelImportJob(args: CreateModelImportJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateModelImportJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
57
- /**
58
- * @see {@link CreateModelInvocationJobCommand}
59
- */
60
- createModelInvocationJob(args: CreateModelInvocationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateModelInvocationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
61
- /**
62
- * @see {@link CreateProvisionedModelThroughputCommand}
63
- */
64
- createProvisionedModelThroughput(args: CreateProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateProvisionedModelThroughputCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
65
- /**
66
- * @see {@link DeleteCustomModelCommand}
67
- */
68
- deleteCustomModel(args: DeleteCustomModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCustomModelCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
69
- /**
70
- * @see {@link DeleteGuardrailCommand}
71
- */
72
- deleteGuardrail(args: DeleteGuardrailCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteGuardrailCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
73
- /**
74
- * @see {@link DeleteImportedModelCommand}
75
- */
76
- deleteImportedModel(args: DeleteImportedModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteImportedModelCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
77
- /**
78
- * @see {@link DeleteInferenceProfileCommand}
79
- */
80
- deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteInferenceProfileCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
81
- /**
82
- * @see {@link DeleteMarketplaceModelEndpointCommand}
83
- */
84
- deleteMarketplaceModelEndpoint(args: DeleteMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
85
- /**
86
- * @see {@link DeleteModelInvocationLoggingConfigurationCommand}
87
- */
88
- deleteModelInvocationLoggingConfiguration(args: DeleteModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteModelInvocationLoggingConfigurationCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError>;
89
- /**
90
- * @see {@link DeleteProvisionedModelThroughputCommand}
91
- */
92
- deleteProvisionedModelThroughput(args: DeleteProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteProvisionedModelThroughputCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
93
- /**
94
- * @see {@link DeregisterMarketplaceModelEndpointCommand}
95
- */
96
- deregisterMarketplaceModelEndpoint(args: DeregisterMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeregisterMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError>;
97
- /**
98
- * @see {@link GetCustomModelCommand}
99
- */
100
- getCustomModel(args: GetCustomModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetCustomModelCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
101
- /**
102
- * @see {@link GetEvaluationJobCommand}
103
- */
104
- getEvaluationJob(args: GetEvaluationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetEvaluationJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
105
- /**
106
- * @see {@link GetFoundationModelCommand}
107
- */
108
- getFoundationModel(args: GetFoundationModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetFoundationModelCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
109
- /**
110
- * @see {@link GetGuardrailCommand}
111
- */
112
- getGuardrail(args: GetGuardrailCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetGuardrailCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
113
- /**
114
- * @see {@link GetImportedModelCommand}
115
- */
116
- getImportedModel(args: GetImportedModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetImportedModelCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
117
- /**
118
- * @see {@link GetInferenceProfileCommand}
119
- */
120
- getInferenceProfile(args: GetInferenceProfileCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetInferenceProfileCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
121
- /**
122
- * @see {@link GetMarketplaceModelEndpointCommand}
123
- */
124
- getMarketplaceModelEndpoint(args: GetMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
125
- /**
126
- * @see {@link GetModelCopyJobCommand}
127
- */
128
- getModelCopyJob(args: GetModelCopyJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelCopyJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
129
- /**
130
- * @see {@link GetModelCustomizationJobCommand}
131
- */
132
- getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelCustomizationJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
133
- /**
134
- * @see {@link GetModelImportJobCommand}
135
- */
136
- getModelImportJob(args: GetModelImportJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelImportJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
137
- /**
138
- * @see {@link GetModelInvocationJobCommand}
139
- */
140
- getModelInvocationJob(args: GetModelInvocationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelInvocationJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
141
- /**
142
- * @see {@link GetModelInvocationLoggingConfigurationCommand}
143
- */
144
- getModelInvocationLoggingConfiguration(args: GetModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelInvocationLoggingConfigurationCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError>;
145
- /**
146
- * @see {@link GetPromptRouterCommand}
147
- */
148
- getPromptRouter(args: GetPromptRouterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPromptRouterCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
149
- /**
150
- * @see {@link GetProvisionedModelThroughputCommand}
151
- */
152
- getProvisionedModelThroughput(args: GetProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetProvisionedModelThroughputCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
153
- /**
154
- * @see {@link ListCustomModelsCommand}
155
- */
156
- listCustomModels(args: ListCustomModelsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCustomModelsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
157
- /**
158
- * @see {@link ListEvaluationJobsCommand}
159
- */
160
- listEvaluationJobs(args: ListEvaluationJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListEvaluationJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
161
- /**
162
- * @see {@link ListFoundationModelsCommand}
163
- */
164
- listFoundationModels(args: ListFoundationModelsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListFoundationModelsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
165
- /**
166
- * @see {@link ListGuardrailsCommand}
167
- */
168
- listGuardrails(args: ListGuardrailsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListGuardrailsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
169
- /**
170
- * @see {@link ListImportedModelsCommand}
171
- */
172
- listImportedModels(args: ListImportedModelsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListImportedModelsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
173
- /**
174
- * @see {@link ListInferenceProfilesCommand}
175
- */
176
- listInferenceProfiles(args: ListInferenceProfilesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListInferenceProfilesCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
177
- /**
178
- * @see {@link ListMarketplaceModelEndpointsCommand}
179
- */
180
- listMarketplaceModelEndpoints(args: ListMarketplaceModelEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListMarketplaceModelEndpointsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
181
- /**
182
- * @see {@link ListModelCopyJobsCommand}
183
- */
184
- listModelCopyJobs(args: ListModelCopyJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListModelCopyJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
185
- /**
186
- * @see {@link ListModelCustomizationJobsCommand}
187
- */
188
- listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListModelCustomizationJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
189
- /**
190
- * @see {@link ListModelImportJobsCommand}
191
- */
192
- listModelImportJobs(args: ListModelImportJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListModelImportJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
193
- /**
194
- * @see {@link ListModelInvocationJobsCommand}
195
- */
196
- listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListModelInvocationJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
197
- /**
198
- * @see {@link ListPromptRoutersCommand}
199
- */
200
- listPromptRouters(args: ListPromptRoutersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPromptRoutersCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
201
- /**
202
- * @see {@link ListProvisionedModelThroughputsCommand}
203
- */
204
- listProvisionedModelThroughputs(args: ListProvisionedModelThroughputsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListProvisionedModelThroughputsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
205
- /**
206
- * @see {@link ListTagsForResourceCommand}
207
- */
208
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
209
- /**
210
- * @see {@link PutModelInvocationLoggingConfigurationCommand}
211
- */
212
- putModelInvocationLoggingConfiguration(args: PutModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutModelInvocationLoggingConfigurationCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
213
- /**
214
- * @see {@link RegisterMarketplaceModelEndpointCommand}
215
- */
216
- registerMarketplaceModelEndpoint(args: RegisterMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<RegisterMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError>;
217
- /**
218
- * @see {@link StopEvaluationJobCommand}
219
- */
220
- stopEvaluationJob(args: StopEvaluationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopEvaluationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
221
- /**
222
- * @see {@link StopModelCustomizationJobCommand}
223
- */
224
- stopModelCustomizationJob(args: StopModelCustomizationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopModelCustomizationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
225
- /**
226
- * @see {@link StopModelInvocationJobCommand}
227
- */
228
- stopModelInvocationJob(args: StopModelInvocationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopModelInvocationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
229
- /**
230
- * @see {@link TagResourceCommand}
231
- */
232
- tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | TooManyTagsError | ValidationError>;
233
- /**
234
- * @see {@link UntagResourceCommand}
235
- */
236
- untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
237
- /**
238
- * @see {@link UpdateGuardrailCommand}
239
- */
240
- updateGuardrail(args: UpdateGuardrailCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateGuardrailCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
241
- /**
242
- * @see {@link UpdateMarketplaceModelEndpointCommand}
243
- */
244
- updateMarketplaceModelEndpoint(args: UpdateMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
245
- /**
246
- * @see {@link UpdateProvisionedModelThroughputCommand}
247
- */
248
- updateProvisionedModelThroughput(args: UpdateProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateProvisionedModelThroughputCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
249
- }
250
- /**
251
- * @since 1.0.0
252
- * @category constructors
253
- */
254
- export declare const makeBedrockService: Effect.Effect<BedrockService$, never, BedrockClientInstance>;
255
- declare const BedrockService_base: import("effect/Context").TagClass<BedrockService, "@effect-aws/client-bedrock/BedrockService", BedrockService$> & {
256
- readonly _: Effect.Effect<BedrockService$["_"], never, BedrockService>;
257
- batchDeleteEvaluationJob: (args: BatchDeleteEvaluationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<BatchDeleteEvaluationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
258
- createEvaluationJob: (args: CreateEvaluationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateEvaluationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
259
- createGuardrail: (args: CreateGuardrailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateGuardrailCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
260
- createGuardrailVersion: (args: CreateGuardrailVersionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateGuardrailVersionCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
261
- createInferenceProfile: (args: CreateInferenceProfileCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateInferenceProfileCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
262
- createMarketplaceModelEndpoint: (args: CreateMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateMarketplaceModelEndpointCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
263
- createModelCopyJob: (args: CreateModelCopyJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateModelCopyJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyTagsError | SdkError, BedrockService>;
264
- createModelCustomizationJob: (args: CreateModelCustomizationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateModelCustomizationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
265
- createModelImportJob: (args: CreateModelImportJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateModelImportJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
266
- createModelInvocationJob: (args: CreateModelInvocationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateModelInvocationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
267
- createProvisionedModelThroughput: (args: CreateProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateProvisionedModelThroughputCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
268
- deleteCustomModel: (args: DeleteCustomModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteCustomModelCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
269
- deleteGuardrail: (args: DeleteGuardrailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteGuardrailCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
270
- deleteImportedModel: (args: DeleteImportedModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteImportedModelCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
271
- deleteInferenceProfile: (args: DeleteInferenceProfileCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteInferenceProfileCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
272
- deleteMarketplaceModelEndpoint: (args: DeleteMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteMarketplaceModelEndpointCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
273
- deleteModelInvocationLoggingConfiguration: (args: DeleteModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteModelInvocationLoggingConfigurationCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | SdkError, BedrockService>;
274
- deleteProvisionedModelThroughput: (args: DeleteProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteProvisionedModelThroughputCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
275
- deregisterMarketplaceModelEndpoint: (args: DeregisterMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeregisterMarketplaceModelEndpointCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, BedrockService>;
276
- getCustomModel: (args: GetCustomModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetCustomModelCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
277
- getEvaluationJob: (args: GetEvaluationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetEvaluationJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
278
- getFoundationModel: (args: GetFoundationModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFoundationModelCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
279
- getGuardrail: (args: GetGuardrailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetGuardrailCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
280
- getImportedModel: (args: GetImportedModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetImportedModelCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
281
- getInferenceProfile: (args: GetInferenceProfileCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetInferenceProfileCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
282
- getMarketplaceModelEndpoint: (args: GetMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetMarketplaceModelEndpointCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
283
- getModelCopyJob: (args: GetModelCopyJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelCopyJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
284
- getModelCustomizationJob: (args: GetModelCustomizationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelCustomizationJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
285
- getModelImportJob: (args: GetModelImportJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelImportJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
286
- getModelInvocationJob: (args: GetModelInvocationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelInvocationJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
287
- getModelInvocationLoggingConfiguration: (args: GetModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelInvocationLoggingConfigurationCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | SdkError, BedrockService>;
288
- getPromptRouter: (args: GetPromptRouterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetPromptRouterCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
289
- getProvisionedModelThroughput: (args: GetProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetProvisionedModelThroughputCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
290
- listCustomModels: (args: ListCustomModelsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListCustomModelsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
291
- listEvaluationJobs: (args: ListEvaluationJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListEvaluationJobsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
292
- listFoundationModels: (args: ListFoundationModelsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListFoundationModelsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
293
- listGuardrails: (args: ListGuardrailsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListGuardrailsCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
294
- listImportedModels: (args: ListImportedModelsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListImportedModelsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
295
- listInferenceProfiles: (args: ListInferenceProfilesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListInferenceProfilesCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
296
- listMarketplaceModelEndpoints: (args: ListMarketplaceModelEndpointsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListMarketplaceModelEndpointsCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
297
- listModelCopyJobs: (args: ListModelCopyJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListModelCopyJobsCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
298
- listModelCustomizationJobs: (args: ListModelCustomizationJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListModelCustomizationJobsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
299
- listModelImportJobs: (args: ListModelImportJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListModelImportJobsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
300
- listModelInvocationJobs: (args: ListModelInvocationJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListModelInvocationJobsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
301
- listPromptRouters: (args: ListPromptRoutersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPromptRoutersCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
302
- listProvisionedModelThroughputs: (args: ListProvisionedModelThroughputsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListProvisionedModelThroughputsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
303
- listTagsForResource: (args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListTagsForResourceCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
304
- putModelInvocationLoggingConfiguration: (args: PutModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutModelInvocationLoggingConfigurationCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
305
- registerMarketplaceModelEndpoint: (args: RegisterMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RegisterMarketplaceModelEndpointCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, BedrockService>;
306
- stopEvaluationJob: (args: StopEvaluationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopEvaluationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
307
- stopModelCustomizationJob: (args: StopModelCustomizationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopModelCustomizationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
308
- stopModelInvocationJob: (args: StopModelInvocationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopModelInvocationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
309
- tagResource: (args: TagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagResourceCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
310
- untagResource: (args: UntagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagResourceCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
311
- updateGuardrail: (args: UpdateGuardrailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateGuardrailCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
312
- updateMarketplaceModelEndpoint: (args: UpdateMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateMarketplaceModelEndpointCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
313
- updateProvisionedModelThroughput: (args: UpdateProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateProvisionedModelThroughputCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
314
- } & {
315
- use: <X>(body: (_: BedrockService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, R | BedrockService> : Effect.Effect<X, never, BedrockService>;
316
- };
317
- /**
318
- * @since 1.0.0
319
- * @category models
320
- */
321
- export declare class BedrockService extends BedrockService_base {
322
- static readonly defaultLayer: Layer.Layer<BedrockService, never, never>;
323
- static readonly layer: (config: BedrockClientConfig) => Layer.Layer<BedrockService, never, never>;
324
- static readonly baseLayer: (evaluate: (defaultConfig: BedrockClientConfig) => BedrockClient) => Layer.Layer<BedrockService, never, never>;
325
- }
326
- /**
327
- * @since 1.0.0
328
- * @category models
329
- * @alias BedrockService
330
- */
331
- export declare const Bedrock: typeof BedrockService;
332
- /**
333
- * @since 1.0.0
334
- * @category layers
335
- * @deprecated use Bedrock.baseLayer instead
336
- */
337
- export declare const BaseBedrockServiceLayer: Layer.Layer<BedrockService, never, BedrockClientInstance>;
338
- /**
339
- * @since 1.0.0
340
- * @category layers
341
- * @deprecated use Bedrock.layer instead
342
- */
343
- export declare const BedrockServiceLayer: Layer.Layer<BedrockService, never, BedrockClientInstanceConfig>;
344
- /**
345
- * @since 1.0.0
346
- * @category layers
347
- * @deprecated use Bedrock.defaultLayer instead
348
- */
349
- export declare const DefaultBedrockServiceLayer: Layer.Layer<BedrockService, never, never>;
350
- export {};