AmazonBedrockPreparedCall
Namespace: Vercel.AI.AmazonBedrock
public sealed class AmazonBedrockPreparedCallA request after the Bedrock fetch wrapper has applied user-agent and authentication.
Inheritance: object
Constructors
Section titled “Constructors”AmazonBedrockPreparedCall(string, string, string?, IReadOnlyDictionary<string, string>, bool)
Section titled “AmazonBedrockPreparedCall(string, string, string?, IReadOnlyDictionary<string, string>, bool)”public AmazonBedrockPreparedCall(string method, string url, string? body, IReadOnlyDictionary<string, string> headers, bool signed)Creates a prepared call.
Parameters
| Name | Type | Description |
|---|---|---|
method |
string | |
url |
string | |
body |
string | |
headers |
IReadOnlyDictionary<string, string> | |
signed |
bool |
Properties
Section titled “Properties”public string? Body { get; }Body. Unchanged when the caller passed a string.
Value: string
Headers
Section titled “Headers”public IReadOnlyDictionary<string, string> Headers { get; }Lower-case headers, including signing headers when Signed is true.
Value: IReadOnlyDictionary<string, string>
Method
Section titled “Method”public string Method { get; }HTTP method.
Value: string
Signed
Section titled “Signed”public bool Signed { get; }True when the body was signed.
Value: bool
public string Url { get; }Request URL.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product