AnthropicAwsProvider
Namespace: Vercel.AI.Anthropic
public sealed class AnthropicAwsProvider : AnthropicProvider, IBatchProvider, IDecisionProvider, IEvaluationProviderAnthropic on AWS. Same Messages body, with regional hosts, workspace ids, and SigV4.
Inheritance: object → ProviderBase → AnthropicProvider
Implements: IBatchProvider, IDecisionProvider, IEvaluationProvider
Constructors
Section titled “Constructors”AnthropicAwsProvider(HttpClient, AnthropicOptions?)
Section titled “AnthropicAwsProvider(HttpClient, AnthropicOptions?)”public AnthropicAwsProvider(HttpClient httpClient, AnthropicOptions? options = null)Creates an Anthropic on AWS provider.
Parameters
| Name | Type | Description |
|---|---|---|
httpClient |
HttpClient | |
options |
AnthropicOptions |
Methods
Section titled “Methods”Create(AnthropicOptions?, HttpMessageHandler?)
Section titled “Create(AnthropicOptions?, HttpMessageHandler?)”public static AnthropicAwsProvider Create(AnthropicOptions? options = null, HttpMessageHandler? handler = null)Creates a provider.
Parameters
| Name | Type | Description |
|---|---|---|
options |
AnthropicOptions | |
handler |
HttpMessageHandler |
Returns: AnthropicAwsProvider
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product