| Package | Description |
|---|---|
| software.amazon.awssdk.services.bedrockruntime |
Describes the API operations for running inference using Bedrock models.
|
| software.amazon.awssdk.services.bedrockruntime.model |
| Modifier and Type | Method and Description |
|---|---|
default InvokeModelResponse |
BedrockRuntimeClient.invokeModel(Consumer<InvokeModelRequest.Builder> invokeModelRequest)
Invokes the specified Bedrock model to run inference using the input provided in the request body.
|
default InvokeModelResponse |
BedrockRuntimeClient.invokeModel(InvokeModelRequest invokeModelRequest)
Invokes the specified Bedrock model to run inference using the input provided in the request body.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessDeniedException
The request is denied because of missing access permissions.
|
class |
InternalServerException
An internal server error occurred.
|
class |
ModelErrorException
The request failed due to an error while processing the model.
|
class |
ModelNotReadyException
The model specified in the request is not ready to serve inference requests.
|
class |
ModelStreamErrorException
An error occurred while streaming the response.
|
class |
ModelTimeoutException
The request took too long to process.
|
class |
ResourceNotFoundException
The specified resource ARN was not found.
|
class |
ServiceQuotaExceededException
The number of requests exceeds the service quota.
|
class |
ThrottlingException
The number of requests exceeds the limit.
|
class |
ValidationException
Input validation failed.
|
| Modifier and Type | Method and Description |
|---|---|
BedrockRuntimeException |
BedrockRuntimeException.BuilderImpl.build() |
| Constructor and Description |
|---|
BuilderImpl(BedrockRuntimeException ex) |
Copyright © 2023. All rights reserved.