SageMakerRuntimeHttp2Client
The Amazon SageMaker AI runtime HTTP/2 API.
Functions
Link copied to clipboard
abstract suspend fun <T> invokeEndpointWithBidirectionalStream(input: InvokeEndpointWithBidirectionalStreamRequest, block: suspend (InvokeEndpointWithBidirectionalStreamResponse) -> T): T
Invokes a model endpoint with bidirectional streaming capabilities. This operation establishes a persistent connection that allows you to send multiple requests and receive streaming responses from the model in real-time.
Inherited functions
Link copied to clipboard
fun SageMakerRuntimeHttp2Client.withConfig(block: SageMakerRuntimeHttp2Client.Config.Builder.() -> Unit): SageMakerRuntimeHttp2Client
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.