genkitx-aws-bedrock
    Preparing search index...

    Interface RequestData<T>

    A universal type that request handling extensions (e.g. express, next) can map their request to. This allows ContextProviders to build consistent interfacese on any web framework. Headers must be lowercase to ensure portability.

    interface RequestData<T = any> {
        headers: Record<string, string>;
        input: T;
        method: "POST" | "OPTIONS" | "GET" | "PUT" | "DELETE" | "QUERY";
    }

    Type Parameters

    • T = any
    Index

    Properties

    Properties

    headers: Record<string, string>
    input: T
    method: "POST" | "OPTIONS" | "GET" | "PUT" | "DELETE" | "QUERY"