| 200 | * @category layers |
| 201 | */ |
| 202 | export const layer = (options: { |
| 203 | readonly apiUrl?: string | undefined |
| 204 | readonly accessKeyId: string |
| 205 | readonly secretAccessKey: Redacted.Redacted<string> |
| 206 | readonly sessionToken?: Redacted.Redacted<string> | undefined |
| 207 | readonly region?: string | undefined |
| 208 | readonly transformClient?: ( |
| 209 | client: HttpClient.HttpClient |
| 210 | ) => HttpClient.HttpClient |
| 211 | }): Layer.Layer<AmazonBedrockClient, never, HttpClient.HttpClient> => Layer.scoped(AmazonBedrockClient, make(options)) |
| 212 | |
| 213 | /** |
| 214 | * @since 1.0.0 |