Skip to content

AmazonBedrockPreparedCall

Namespace: Vercel.AI.AmazonBedrock

public sealed class AmazonBedrockPreparedCall

A request after the Bedrock fetch wrapper has applied user-agent and authentication.

Inheritance: object

View source

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

View source

public string? Body { get; }

Body. Unchanged when the caller passed a string.

Value: string

View source

public IReadOnlyDictionary<string, string> Headers { get; }

Lower-case headers, including signing headers when Signed is true.

Value: IReadOnlyDictionary<string, string>

View source

public string Method { get; }

HTTP method.

Value: string

View source

public bool Signed { get; }

True when the body was signed.

Value: bool

View source

public string Url { get; }

Request URL.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product