| Package | Description |
|---|---|
| com.amazonaws.services.bedrockruntime |
Describes the API operations for running inference using Amazon Bedrock models.
|
| com.amazonaws.services.bedrockruntime.model |
| Modifier and Type | Method and Description |
|---|---|
InvokeModelResult |
AmazonBedrockRuntimeClient.invokeModel(InvokeModelRequest request)
Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in
the request body.
|
InvokeModelResult |
AbstractAmazonBedrockRuntime.invokeModel(InvokeModelRequest request) |
InvokeModelResult |
AmazonBedrockRuntime.invokeModel(InvokeModelRequest invokeModelRequest)
Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in
the request body.
|
Future<InvokeModelResult> |
AmazonBedrockRuntimeAsyncClient.invokeModelAsync(InvokeModelRequest request) |
Future<InvokeModelResult> |
AbstractAmazonBedrockRuntimeAsync.invokeModelAsync(InvokeModelRequest request) |
Future<InvokeModelResult> |
AmazonBedrockRuntimeAsync.invokeModelAsync(InvokeModelRequest invokeModelRequest)
Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in
the request body.
|
Future<InvokeModelResult> |
AmazonBedrockRuntimeAsyncClient.invokeModelAsync(InvokeModelRequest request,
AsyncHandler<InvokeModelRequest,InvokeModelResult> asyncHandler) |
Future<InvokeModelResult> |
AbstractAmazonBedrockRuntimeAsync.invokeModelAsync(InvokeModelRequest request,
AsyncHandler<InvokeModelRequest,InvokeModelResult> asyncHandler) |
Future<InvokeModelResult> |
AmazonBedrockRuntimeAsync.invokeModelAsync(InvokeModelRequest invokeModelRequest,
AsyncHandler<InvokeModelRequest,InvokeModelResult> asyncHandler)
Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in
the request body.
|
| Modifier and Type | Method and Description |
|---|---|
Future<InvokeModelResult> |
AmazonBedrockRuntimeAsyncClient.invokeModelAsync(InvokeModelRequest request,
AsyncHandler<InvokeModelRequest,InvokeModelResult> asyncHandler) |
Future<InvokeModelResult> |
AbstractAmazonBedrockRuntimeAsync.invokeModelAsync(InvokeModelRequest request,
AsyncHandler<InvokeModelRequest,InvokeModelResult> asyncHandler) |
Future<InvokeModelResult> |
AmazonBedrockRuntimeAsync.invokeModelAsync(InvokeModelRequest invokeModelRequest,
AsyncHandler<InvokeModelRequest,InvokeModelResult> asyncHandler)
Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in
the request body.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeModelRequest |
InvokeModelRequest.clone() |
InvokeModelRequest |
InvokeModelRequest.withAccept(String accept)
The desired MIME type of the inference body in the response.
|
InvokeModelRequest |
InvokeModelRequest.withBody(ByteBuffer body)
The prompt and inference parameters in the format specified in the
contentType in the header. |
InvokeModelRequest |
InvokeModelRequest.withContentType(String contentType)
The MIME type of the input data in the request.
|
InvokeModelRequest |
InvokeModelRequest.withGuardrailIdentifier(String guardrailIdentifier)
The unique identifier of the guardrail that you want to use.
|
InvokeModelRequest |
InvokeModelRequest.withGuardrailVersion(String guardrailVersion)
The version number for the guardrail.
|
InvokeModelRequest |
InvokeModelRequest.withModelId(String modelId)
The unique identifier of the model to invoke to run inference.
|
InvokeModelRequest |
InvokeModelRequest.withTrace(String trace)
Specifies whether to enable or disable the Bedrock trace.
|
InvokeModelRequest |
InvokeModelRequest.withTrace(Trace trace)
Specifies whether to enable or disable the Bedrock trace.
|
Copyright © 2025. All rights reserved.