agentskit.js

BedrockRuntimeClientLike

Auto-generated API reference for BedrockRuntimeClientLike.

Interface: BedrockRuntimeClientLike

Defined in: adapters/src/bedrock.ts:28

Minimal structural type for BedrockRuntimeClient so we don't take a hard dep on @aws-sdk/client-bedrock-runtime.

Second options argument is optional so existing one-argument injected clients remain structurally valid.

#Methods

#send()

send(command, options?): Promise<{ body?: AsyncIterable<{ chunk?: { bytes?: Uint8Array<ArrayBufferLike>; }; }, any, any>; }>

Defined in: adapters/src/bedrock.ts:29

#Parameters

command
input

BedrockInvokeInput

options?
abortSignal?

AbortSignal

#Returns

Promise<{ body?: AsyncIterable<{ chunk?: { bytes?: Uint8Array<ArrayBufferLike>; }; }, any, any>; }>

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.