@effect-aws/client-bedrock 1.2.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BedrockClientInstance/package.json +6 -0
- package/BedrockService/package.json +6 -0
- package/BedrockServiceConfig/package.json +6 -0
- package/Errors/package.json +6 -0
- package/LICENSE +1 -1
- package/dist/cjs/BedrockClientInstance.d.ts +24 -0
- package/dist/cjs/BedrockClientInstance.d.ts.map +1 -0
- package/dist/cjs/BedrockClientInstance.js +50 -0
- package/dist/cjs/BedrockClientInstance.js.map +1 -0
- package/{lib → dist/cjs}/BedrockService.d.ts +16 -38
- package/dist/cjs/BedrockService.d.ts.map +1 -0
- package/dist/cjs/BedrockService.js +113 -0
- package/dist/cjs/BedrockService.js.map +1 -0
- package/dist/cjs/BedrockServiceConfig.d.ts +25 -0
- package/dist/cjs/BedrockServiceConfig.d.ts.map +1 -0
- package/dist/cjs/BedrockServiceConfig.js +35 -0
- package/dist/cjs/BedrockServiceConfig.js.map +1 -0
- package/{lib → dist/cjs}/Errors.d.ts +6 -11
- package/dist/cjs/Errors.d.ts.map +1 -0
- package/dist/cjs/Errors.js +17 -0
- package/dist/cjs/Errors.js.map +1 -0
- package/dist/cjs/index.d.ts +39 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +56 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/dts/BedrockClientInstance.d.ts +24 -0
- package/dist/dts/BedrockClientInstance.d.ts.map +1 -0
- package/dist/dts/BedrockService.d.ts +328 -0
- package/dist/dts/BedrockService.d.ts.map +1 -0
- package/dist/dts/BedrockServiceConfig.d.ts +25 -0
- package/dist/dts/BedrockServiceConfig.d.ts.map +1 -0
- package/dist/dts/Errors.d.ts +16 -0
- package/dist/dts/Errors.d.ts.map +1 -0
- package/dist/dts/index.d.ts +39 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/esm/BedrockClientInstance.js +23 -0
- package/dist/esm/BedrockClientInstance.js.map +1 -0
- package/dist/esm/BedrockService.js +86 -0
- package/dist/esm/BedrockService.js.map +1 -0
- package/dist/esm/BedrockServiceConfig.js +31 -0
- package/dist/esm/BedrockServiceConfig.js.map +1 -0
- package/dist/esm/Errors.js +14 -0
- package/dist/esm/Errors.js.map +1 -0
- package/dist/esm/index.js +27 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +4 -0
- package/package.json +60 -43
- package/src/BedrockClientInstance.ts +33 -0
- package/src/BedrockService.ts +1088 -0
- package/src/BedrockServiceConfig.ts +52 -0
- package/src/Errors.ts +38 -0
- package/src/index.ts +44 -0
- package/CHANGELOG.md +0 -19
- package/docgen.json +0 -8
- package/lib/BedrockClientInstance.d.ts +0 -31
- package/lib/BedrockClientInstance.js +0 -57
- package/lib/BedrockClientInstanceConfig.d.ts +0 -23
- package/lib/BedrockClientInstanceConfig.js +0 -44
- package/lib/BedrockService.js +0 -145
- package/lib/Errors.js +0 -17
- package/lib/esm/BedrockClientInstance.js +0 -30
- package/lib/esm/BedrockClientInstanceConfig.js +0 -40
- package/lib/esm/BedrockService.js +0 -141
- package/lib/esm/Errors.js +0 -14
- package/lib/esm/index.js +0 -5
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -21
- package/project.json +0 -77
- package/vitest.config.ts +0 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { BedrockClient } from "@aws-sdk/client-bedrock";
|
|
5
|
+
import { Context, Effect, Layer } from "effect";
|
|
6
|
+
declare const BedrockClientInstance_base: Context.TagClass<BedrockClientInstance, "@effect-aws/client-bedrock/BedrockClientInstance", BedrockClient>;
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category tags
|
|
10
|
+
*/
|
|
11
|
+
export declare class BedrockClientInstance extends BedrockClientInstance_base {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category constructors
|
|
16
|
+
*/
|
|
17
|
+
export declare const make: Effect.Effect<BedrockClient, never, import("effect/Scope").Scope>;
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category layers
|
|
21
|
+
*/
|
|
22
|
+
export declare const layer: Layer.Layer<BedrockClientInstance, never, never>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=BedrockClientInstance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BedrockClientInstance.d.ts","sourceRoot":"","sources":["../../src/BedrockClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,0BAEF;CAAG;AAE5C;;;GAGG;AACH,eAAO,MAAM,IAAI,mEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,kDAA4C,CAAC"}
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { type BatchDeleteEvaluationJobCommandInput, type BatchDeleteEvaluationJobCommandOutput, type BedrockClient, type BedrockClientConfig, 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 type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import { Effect, Layer } from "effect";
|
|
7
|
+
import * as Instance from "./BedrockClientInstance.js";
|
|
8
|
+
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ServiceUnavailableError, ThrottlingError, TooManyTagsError, ValidationError } from "./Errors.js";
|
|
9
|
+
interface BedrockService$ {
|
|
10
|
+
readonly _: unique symbol;
|
|
11
|
+
/**
|
|
12
|
+
* @see {@link BatchDeleteEvaluationJobCommand}
|
|
13
|
+
*/
|
|
14
|
+
batchDeleteEvaluationJob(args: BatchDeleteEvaluationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchDeleteEvaluationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link CreateEvaluationJobCommand}
|
|
17
|
+
*/
|
|
18
|
+
createEvaluationJob(args: CreateEvaluationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateEvaluationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link CreateGuardrailCommand}
|
|
21
|
+
*/
|
|
22
|
+
createGuardrail(args: CreateGuardrailCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateGuardrailCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link CreateGuardrailVersionCommand}
|
|
25
|
+
*/
|
|
26
|
+
createGuardrailVersion(args: CreateGuardrailVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateGuardrailVersionCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link CreateInferenceProfileCommand}
|
|
29
|
+
*/
|
|
30
|
+
createInferenceProfile(args: CreateInferenceProfileCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateInferenceProfileCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
|
|
31
|
+
/**
|
|
32
|
+
* @see {@link CreateMarketplaceModelEndpointCommand}
|
|
33
|
+
*/
|
|
34
|
+
createMarketplaceModelEndpoint(args: CreateMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link CreateModelCopyJobCommand}
|
|
37
|
+
*/
|
|
38
|
+
createModelCopyJob(args: CreateModelCopyJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateModelCopyJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyTagsError>;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link CreateModelCustomizationJobCommand}
|
|
41
|
+
*/
|
|
42
|
+
createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateModelCustomizationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link CreateModelImportJobCommand}
|
|
45
|
+
*/
|
|
46
|
+
createModelImportJob(args: CreateModelImportJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateModelImportJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link CreateModelInvocationJobCommand}
|
|
49
|
+
*/
|
|
50
|
+
createModelInvocationJob(args: CreateModelInvocationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateModelInvocationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link CreateProvisionedModelThroughputCommand}
|
|
53
|
+
*/
|
|
54
|
+
createProvisionedModelThroughput(args: CreateProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateProvisionedModelThroughputCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError>;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link DeleteCustomModelCommand}
|
|
57
|
+
*/
|
|
58
|
+
deleteCustomModel(args: DeleteCustomModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCustomModelCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link DeleteGuardrailCommand}
|
|
61
|
+
*/
|
|
62
|
+
deleteGuardrail(args: DeleteGuardrailCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteGuardrailCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link DeleteImportedModelCommand}
|
|
65
|
+
*/
|
|
66
|
+
deleteImportedModel(args: DeleteImportedModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteImportedModelCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link DeleteInferenceProfileCommand}
|
|
69
|
+
*/
|
|
70
|
+
deleteInferenceProfile(args: DeleteInferenceProfileCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteInferenceProfileCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link DeleteMarketplaceModelEndpointCommand}
|
|
73
|
+
*/
|
|
74
|
+
deleteMarketplaceModelEndpoint(args: DeleteMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link DeleteModelInvocationLoggingConfigurationCommand}
|
|
77
|
+
*/
|
|
78
|
+
deleteModelInvocationLoggingConfiguration(args: DeleteModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteModelInvocationLoggingConfigurationCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError>;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link DeleteProvisionedModelThroughputCommand}
|
|
81
|
+
*/
|
|
82
|
+
deleteProvisionedModelThroughput(args: DeleteProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteProvisionedModelThroughputCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link DeregisterMarketplaceModelEndpointCommand}
|
|
85
|
+
*/
|
|
86
|
+
deregisterMarketplaceModelEndpoint(args: DeregisterMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeregisterMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link GetCustomModelCommand}
|
|
89
|
+
*/
|
|
90
|
+
getCustomModel(args: GetCustomModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetCustomModelCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link GetEvaluationJobCommand}
|
|
93
|
+
*/
|
|
94
|
+
getEvaluationJob(args: GetEvaluationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetEvaluationJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link GetFoundationModelCommand}
|
|
97
|
+
*/
|
|
98
|
+
getFoundationModel(args: GetFoundationModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetFoundationModelCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
99
|
+
/**
|
|
100
|
+
* @see {@link GetGuardrailCommand}
|
|
101
|
+
*/
|
|
102
|
+
getGuardrail(args: GetGuardrailCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetGuardrailCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link GetImportedModelCommand}
|
|
105
|
+
*/
|
|
106
|
+
getImportedModel(args: GetImportedModelCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetImportedModelCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
107
|
+
/**
|
|
108
|
+
* @see {@link GetInferenceProfileCommand}
|
|
109
|
+
*/
|
|
110
|
+
getInferenceProfile(args: GetInferenceProfileCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetInferenceProfileCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link GetMarketplaceModelEndpointCommand}
|
|
113
|
+
*/
|
|
114
|
+
getMarketplaceModelEndpoint(args: GetMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
115
|
+
/**
|
|
116
|
+
* @see {@link GetModelCopyJobCommand}
|
|
117
|
+
*/
|
|
118
|
+
getModelCopyJob(args: GetModelCopyJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelCopyJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link GetModelCustomizationJobCommand}
|
|
121
|
+
*/
|
|
122
|
+
getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelCustomizationJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link GetModelImportJobCommand}
|
|
125
|
+
*/
|
|
126
|
+
getModelImportJob(args: GetModelImportJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelImportJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link GetModelInvocationJobCommand}
|
|
129
|
+
*/
|
|
130
|
+
getModelInvocationJob(args: GetModelInvocationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelInvocationJobCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link GetModelInvocationLoggingConfigurationCommand}
|
|
133
|
+
*/
|
|
134
|
+
getModelInvocationLoggingConfiguration(args: GetModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetModelInvocationLoggingConfigurationCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError>;
|
|
135
|
+
/**
|
|
136
|
+
* @see {@link GetPromptRouterCommand}
|
|
137
|
+
*/
|
|
138
|
+
getPromptRouter(args: GetPromptRouterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPromptRouterCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
139
|
+
/**
|
|
140
|
+
* @see {@link GetProvisionedModelThroughputCommand}
|
|
141
|
+
*/
|
|
142
|
+
getProvisionedModelThroughput(args: GetProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetProvisionedModelThroughputCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
143
|
+
/**
|
|
144
|
+
* @see {@link ListCustomModelsCommand}
|
|
145
|
+
*/
|
|
146
|
+
listCustomModels(args: ListCustomModelsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCustomModelsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link ListEvaluationJobsCommand}
|
|
149
|
+
*/
|
|
150
|
+
listEvaluationJobs(args: ListEvaluationJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListEvaluationJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
151
|
+
/**
|
|
152
|
+
* @see {@link ListFoundationModelsCommand}
|
|
153
|
+
*/
|
|
154
|
+
listFoundationModels(args: ListFoundationModelsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListFoundationModelsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
155
|
+
/**
|
|
156
|
+
* @see {@link ListGuardrailsCommand}
|
|
157
|
+
*/
|
|
158
|
+
listGuardrails(args: ListGuardrailsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListGuardrailsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link ListImportedModelsCommand}
|
|
161
|
+
*/
|
|
162
|
+
listImportedModels(args: ListImportedModelsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListImportedModelsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
163
|
+
/**
|
|
164
|
+
* @see {@link ListInferenceProfilesCommand}
|
|
165
|
+
*/
|
|
166
|
+
listInferenceProfiles(args: ListInferenceProfilesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListInferenceProfilesCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link ListMarketplaceModelEndpointsCommand}
|
|
169
|
+
*/
|
|
170
|
+
listMarketplaceModelEndpoints(args: ListMarketplaceModelEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListMarketplaceModelEndpointsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
171
|
+
/**
|
|
172
|
+
* @see {@link ListModelCopyJobsCommand}
|
|
173
|
+
*/
|
|
174
|
+
listModelCopyJobs(args: ListModelCopyJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListModelCopyJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link ListModelCustomizationJobsCommand}
|
|
177
|
+
*/
|
|
178
|
+
listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListModelCustomizationJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link ListModelImportJobsCommand}
|
|
181
|
+
*/
|
|
182
|
+
listModelImportJobs(args: ListModelImportJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListModelImportJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
183
|
+
/**
|
|
184
|
+
* @see {@link ListModelInvocationJobsCommand}
|
|
185
|
+
*/
|
|
186
|
+
listModelInvocationJobs(args: ListModelInvocationJobsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListModelInvocationJobsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
187
|
+
/**
|
|
188
|
+
* @see {@link ListPromptRoutersCommand}
|
|
189
|
+
*/
|
|
190
|
+
listPromptRouters(args: ListPromptRoutersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPromptRoutersCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
191
|
+
/**
|
|
192
|
+
* @see {@link ListProvisionedModelThroughputsCommand}
|
|
193
|
+
*/
|
|
194
|
+
listProvisionedModelThroughputs(args: ListProvisionedModelThroughputsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListProvisionedModelThroughputsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link ListTagsForResourceCommand}
|
|
197
|
+
*/
|
|
198
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
199
|
+
/**
|
|
200
|
+
* @see {@link PutModelInvocationLoggingConfigurationCommand}
|
|
201
|
+
*/
|
|
202
|
+
putModelInvocationLoggingConfiguration(args: PutModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutModelInvocationLoggingConfigurationCommandOutput, SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link RegisterMarketplaceModelEndpointCommand}
|
|
205
|
+
*/
|
|
206
|
+
registerMarketplaceModelEndpoint(args: RegisterMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<RegisterMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError>;
|
|
207
|
+
/**
|
|
208
|
+
* @see {@link StopEvaluationJobCommand}
|
|
209
|
+
*/
|
|
210
|
+
stopEvaluationJob(args: StopEvaluationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopEvaluationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
211
|
+
/**
|
|
212
|
+
* @see {@link StopModelCustomizationJobCommand}
|
|
213
|
+
*/
|
|
214
|
+
stopModelCustomizationJob(args: StopModelCustomizationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopModelCustomizationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
215
|
+
/**
|
|
216
|
+
* @see {@link StopModelInvocationJobCommand}
|
|
217
|
+
*/
|
|
218
|
+
stopModelInvocationJob(args: StopModelInvocationJobCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopModelInvocationJobCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
219
|
+
/**
|
|
220
|
+
* @see {@link TagResourceCommand}
|
|
221
|
+
*/
|
|
222
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | TooManyTagsError | ValidationError>;
|
|
223
|
+
/**
|
|
224
|
+
* @see {@link UntagResourceCommand}
|
|
225
|
+
*/
|
|
226
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
227
|
+
/**
|
|
228
|
+
* @see {@link UpdateGuardrailCommand}
|
|
229
|
+
*/
|
|
230
|
+
updateGuardrail(args: UpdateGuardrailCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateGuardrailCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
231
|
+
/**
|
|
232
|
+
* @see {@link UpdateMarketplaceModelEndpointCommand}
|
|
233
|
+
*/
|
|
234
|
+
updateMarketplaceModelEndpoint(args: UpdateMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateMarketplaceModelEndpointCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
235
|
+
/**
|
|
236
|
+
* @see {@link UpdateProvisionedModelThroughputCommand}
|
|
237
|
+
*/
|
|
238
|
+
updateProvisionedModelThroughput(args: UpdateProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateProvisionedModelThroughputCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* @since 1.0.0
|
|
242
|
+
* @category constructors
|
|
243
|
+
*/
|
|
244
|
+
export declare const makeBedrockService: Effect.Effect<BedrockService$, never, Instance.BedrockClientInstance>;
|
|
245
|
+
declare const BedrockService_base: import("effect/Context").TagClass<BedrockService, "@effect-aws/client-bedrock/BedrockService", BedrockService$> & {
|
|
246
|
+
readonly _: Effect.Effect<BedrockService$["_"], never, BedrockService>;
|
|
247
|
+
batchDeleteEvaluationJob: (args: BatchDeleteEvaluationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<BatchDeleteEvaluationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
248
|
+
createEvaluationJob: (args: CreateEvaluationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateEvaluationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
249
|
+
createGuardrail: (args: CreateGuardrailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateGuardrailCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
|
|
250
|
+
createGuardrailVersion: (args: CreateGuardrailVersionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateGuardrailVersionCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
251
|
+
createInferenceProfile: (args: CreateInferenceProfileCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateInferenceProfileCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
|
|
252
|
+
createMarketplaceModelEndpoint: (args: CreateMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateMarketplaceModelEndpointCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
253
|
+
createModelCopyJob: (args: CreateModelCopyJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateModelCopyJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyTagsError | SdkError, BedrockService>;
|
|
254
|
+
createModelCustomizationJob: (args: CreateModelCustomizationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateModelCustomizationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
|
|
255
|
+
createModelImportJob: (args: CreateModelImportJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateModelImportJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
|
|
256
|
+
createModelInvocationJob: (args: CreateModelInvocationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateModelInvocationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
257
|
+
createProvisionedModelThroughput: (args: CreateProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateProvisionedModelThroughputCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
|
|
258
|
+
deleteCustomModel: (args: DeleteCustomModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteCustomModelCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
259
|
+
deleteGuardrail: (args: DeleteGuardrailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteGuardrailCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
260
|
+
deleteImportedModel: (args: DeleteImportedModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteImportedModelCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
261
|
+
deleteInferenceProfile: (args: DeleteInferenceProfileCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteInferenceProfileCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
262
|
+
deleteMarketplaceModelEndpoint: (args: DeleteMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteMarketplaceModelEndpointCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
263
|
+
deleteModelInvocationLoggingConfiguration: (args: DeleteModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteModelInvocationLoggingConfigurationCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | SdkError, BedrockService>;
|
|
264
|
+
deleteProvisionedModelThroughput: (args: DeleteProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteProvisionedModelThroughputCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
265
|
+
deregisterMarketplaceModelEndpoint: (args: DeregisterMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeregisterMarketplaceModelEndpointCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
266
|
+
getCustomModel: (args: GetCustomModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetCustomModelCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
267
|
+
getEvaluationJob: (args: GetEvaluationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetEvaluationJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
268
|
+
getFoundationModel: (args: GetFoundationModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFoundationModelCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
269
|
+
getGuardrail: (args: GetGuardrailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetGuardrailCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
270
|
+
getImportedModel: (args: GetImportedModelCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetImportedModelCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
271
|
+
getInferenceProfile: (args: GetInferenceProfileCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetInferenceProfileCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
272
|
+
getMarketplaceModelEndpoint: (args: GetMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetMarketplaceModelEndpointCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
273
|
+
getModelCopyJob: (args: GetModelCopyJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelCopyJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
274
|
+
getModelCustomizationJob: (args: GetModelCustomizationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelCustomizationJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
275
|
+
getModelImportJob: (args: GetModelImportJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelImportJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
276
|
+
getModelInvocationJob: (args: GetModelInvocationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelInvocationJobCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
277
|
+
getModelInvocationLoggingConfiguration: (args: GetModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetModelInvocationLoggingConfigurationCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | SdkError, BedrockService>;
|
|
278
|
+
getPromptRouter: (args: GetPromptRouterCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetPromptRouterCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
279
|
+
getProvisionedModelThroughput: (args: GetProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetProvisionedModelThroughputCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
280
|
+
listCustomModels: (args: ListCustomModelsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListCustomModelsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
281
|
+
listEvaluationJobs: (args: ListEvaluationJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListEvaluationJobsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
282
|
+
listFoundationModels: (args: ListFoundationModelsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListFoundationModelsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
283
|
+
listGuardrails: (args: ListGuardrailsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListGuardrailsCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
284
|
+
listImportedModels: (args: ListImportedModelsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListImportedModelsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
285
|
+
listInferenceProfiles: (args: ListInferenceProfilesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListInferenceProfilesCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
286
|
+
listMarketplaceModelEndpoints: (args: ListMarketplaceModelEndpointsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListMarketplaceModelEndpointsCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
287
|
+
listModelCopyJobs: (args: ListModelCopyJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListModelCopyJobsCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
288
|
+
listModelCustomizationJobs: (args: ListModelCustomizationJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListModelCustomizationJobsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
289
|
+
listModelImportJobs: (args: ListModelImportJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListModelImportJobsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
290
|
+
listModelInvocationJobs: (args: ListModelInvocationJobsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListModelInvocationJobsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
291
|
+
listPromptRouters: (args: ListPromptRoutersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPromptRoutersCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
292
|
+
listProvisionedModelThroughputs: (args: ListProvisionedModelThroughputsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListProvisionedModelThroughputsCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
293
|
+
listTagsForResource: (args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListTagsForResourceCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
294
|
+
putModelInvocationLoggingConfiguration: (args: PutModelInvocationLoggingConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutModelInvocationLoggingConfigurationCommandOutput, AccessDeniedError | InternalServerError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
295
|
+
registerMarketplaceModelEndpoint: (args: RegisterMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RegisterMarketplaceModelEndpointCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
296
|
+
stopEvaluationJob: (args: StopEvaluationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopEvaluationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
297
|
+
stopModelCustomizationJob: (args: StopModelCustomizationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopModelCustomizationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
298
|
+
stopModelInvocationJob: (args: StopModelInvocationJobCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StopModelInvocationJobCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
299
|
+
tagResource: (args: TagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagResourceCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | TooManyTagsError | ValidationError | SdkError, BedrockService>;
|
|
300
|
+
untagResource: (args: UntagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagResourceCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
301
|
+
updateGuardrail: (args: UpdateGuardrailCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateGuardrailCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
302
|
+
updateMarketplaceModelEndpoint: (args: UpdateMarketplaceModelEndpointCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateMarketplaceModelEndpointCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
303
|
+
updateProvisionedModelThroughput: (args: UpdateProvisionedModelThroughputCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateProvisionedModelThroughputCommandOutput, AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError | SdkError, BedrockService>;
|
|
304
|
+
} & {
|
|
305
|
+
use: <X>(body: (_: BedrockService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, BedrockService | R> : Effect.Effect<X, never, BedrockService>;
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* @since 1.0.0
|
|
309
|
+
* @category models
|
|
310
|
+
*/
|
|
311
|
+
export declare class BedrockService extends BedrockService_base {
|
|
312
|
+
static readonly defaultLayer: Layer.Layer<BedrockService, never, never>;
|
|
313
|
+
static readonly layer: (config: BedrockService.Config) => Layer.Layer<BedrockService, never, never>;
|
|
314
|
+
static readonly baseLayer: (evaluate: (defaultConfig: BedrockClientConfig) => BedrockClient) => Layer.Layer<BedrockService, never, never>;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* @since 1.0.0
|
|
318
|
+
*/
|
|
319
|
+
export declare namespace BedrockService {
|
|
320
|
+
/**
|
|
321
|
+
* @since 1.0.0
|
|
322
|
+
*/
|
|
323
|
+
interface Config extends Omit<BedrockClientConfig, "logger"> {
|
|
324
|
+
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
export {};
|
|
328
|
+
//# sourceMappingURL=BedrockService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BedrockService.d.ts","sourceRoot":"","sources":["../../src/BedrockService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAC1C,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAExB,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,0CAA0C,EAC/C,KAAK,2CAA2C,EAEhD,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,uCAAuC,EAC5C,KAAK,wCAAwC,EAE7C,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,4CAA4C,EACjD,KAAK,6CAA6C,EAElD,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,0CAA0C,EAC/C,KAAK,2CAA2C,EAEhD,KAAK,qDAAqD,EAC1D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BAAkB,uEAI7B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH;;;GAGG;AACH,qBAAa,cAAe,SAAQ,mBAGjC;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,4CAA8E;IAC1G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,eAAe,MAAM,+CAIlD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,mBAAmB,KAAK,aAAa,+CAS7D;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC;QACjE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
5
|
+
import { Effect, Layer } from "effect";
|
|
6
|
+
import type { BedrockService } from "./BedrockService.js";
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category bedrock service config
|
|
10
|
+
*/
|
|
11
|
+
export declare const withBedrockServiceConfig: {
|
|
12
|
+
(config: BedrockService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
13
|
+
<A, E, R>(effect: Effect.Effect<A, E, R>, config: BedrockService.Config): Effect.Effect<A, E, R>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @since 1.0.0
|
|
17
|
+
* @category bedrock service config
|
|
18
|
+
*/
|
|
19
|
+
export declare const setBedrockServiceConfig: (config: BedrockService.Config) => Layer.Layer<never, never, never>;
|
|
20
|
+
/**
|
|
21
|
+
* @since 1.0.0
|
|
22
|
+
* @category adapters
|
|
23
|
+
*/
|
|
24
|
+
export declare const toBedrockClientConfig: Effect.Effect<BedrockClientConfig>;
|
|
25
|
+
//# sourceMappingURL=BedrockServiceConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BedrockServiceConfig.d.ts","sourceRoot":"","sources":["../../src/BedrockServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAW1D;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE;IACrC,CAAC,MAAM,EAAE,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACrG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKlG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,WAAY,eAAe,MAAM,qCACX,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAQnE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, TooManyTagsException, ValidationException } from "@aws-sdk/client-bedrock";
|
|
2
|
+
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
+
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
|
+
export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ServiceUnavailableException", "ThrottlingException", "TooManyTagsException", "ValidationException"];
|
|
5
|
+
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
6
|
+
export type ConflictError = TaggedException<ConflictException>;
|
|
7
|
+
export type InternalServerError = TaggedException<InternalServerException>;
|
|
8
|
+
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
9
|
+
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
10
|
+
export type ServiceUnavailableError = TaggedException<ServiceUnavailableException>;
|
|
11
|
+
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
12
|
+
export type TooManyTagsError = TaggedException<TooManyTagsException>;
|
|
13
|
+
export type ValidationError = TaggedException<ValidationException>;
|
|
14
|
+
export type SdkError = CommonSdkError;
|
|
15
|
+
export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
|
|
16
|
+
//# sourceMappingURL=Errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,2BAA2B,EAC3B,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,gBAAgB,uPAUnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AAEnE,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { BedrockService } from "./BedrockService.js";
|
|
5
|
+
/**
|
|
6
|
+
* @since 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export * from "./Errors.js";
|
|
9
|
+
/**
|
|
10
|
+
* @since 1.0.0
|
|
11
|
+
*/
|
|
12
|
+
export * as BedrockClientInstance from "./BedrockClientInstance.js";
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
*/
|
|
16
|
+
export * as BedrockServiceConfig from "./BedrockServiceConfig.js";
|
|
17
|
+
/**
|
|
18
|
+
* @since 1.0.0
|
|
19
|
+
*/
|
|
20
|
+
export * from "./BedrockService.js";
|
|
21
|
+
/**
|
|
22
|
+
* @since 1.0.0
|
|
23
|
+
* @category exports
|
|
24
|
+
* @alias BedrockService
|
|
25
|
+
*/
|
|
26
|
+
export declare namespace Bedrock {
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
* @alias BedrockService.Config
|
|
30
|
+
*/
|
|
31
|
+
type Config = BedrockService.Config;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @since 1.0.0
|
|
35
|
+
* @category exports
|
|
36
|
+
* @alias BedrockService
|
|
37
|
+
*/
|
|
38
|
+
export declare const Bedrock: typeof BedrockService;
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE;;GAEG;AACH,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAElE;;GAEG;AACH,cAAc,qBAAqB,CAAC;AAEpC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B;;;OAGG;IACH,KAAY,MAAM,GAAG,cAAc,CAAC,MAAM,CAAC;CAC5C;AAED;;;;GAIG;AACH,eAAO,MAAM,OAAO,uBAAiB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { BedrockClient } from "@aws-sdk/client-bedrock";
|
|
5
|
+
import { Context, Effect, Layer } from "effect";
|
|
6
|
+
import * as BedrockServiceConfig from "./BedrockServiceConfig.js";
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category tags
|
|
10
|
+
*/
|
|
11
|
+
export class BedrockClientInstance extends Context.Tag("@effect-aws/client-bedrock/BedrockClientInstance")() {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category constructors
|
|
16
|
+
*/
|
|
17
|
+
export const make = Effect.flatMap(BedrockServiceConfig.toBedrockClientConfig, (config) => Effect.acquireRelease(Effect.sync(() => new BedrockClient(config)), (client) => Effect.sync(() => client.destroy())));
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category layers
|
|
21
|
+
*/
|
|
22
|
+
export const layer = Layer.scoped(BedrockClientInstance, make);
|
|
23
|
+
//# sourceMappingURL=BedrockClientInstance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BedrockClientInstance.js","sourceRoot":"","sources":["../../src/BedrockClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAElE;;;GAGG;AACH,MAAM,OAAO,qBAAsB,SAAQ,OAAO,CAAC,GAAG,CACpD,kDAAkD,CACnD,EAAwC;CAAG;AAE5C;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,oBAAoB,CAAC,qBAAqB,EAC1C,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC,EAC5C,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC"}
|