BedrockRuntimeClient

Describes the API operations for running inference using Bedrock models.

Properties

Link copied to clipboard
abstract override val config: BedrockRuntimeClient.Config

BedrockRuntimeClient's configuration

Functions

Link copied to clipboard
abstract suspend fun invokeModel(input: InvokeModelRequest): InvokeModelResponse

Invokes the specified Bedrock model to run inference using the input provided in the request body. You use InvokeModel to run inference for text models, image models, and embedding models.

Link copied to clipboard

Invoke the specified Bedrock model to run inference using the input provided. Return the response in a stream.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Invokes the specified Bedrock model to run inference using the input provided in the request body. You use InvokeModel to run inference for text models, image models, and embedding models.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.