Class BedrockRuntimeException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\BedrockRuntime\Exception\BedrockRuntimeException
- Namespace: Aws\BedrockRuntime\Exception
- Located at BedrockRuntime/Exception/BedrockRuntimeException.php
Represents an error interacting with the Amazon Bedrock Runtime service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
AccessDeniedException
[ 'message' => '<string>', ]
Description
The request is denied because of missing access permissions.
Members
- message
-
- Type: string
InternalServerException
[ 'message' => '<string>', ]
Description
An internal server error occurred. Retry your request.
Members
- message
-
- Type: string
ModelErrorException
[ 'message' => '<string>', 'originalStatusCode' => <integer>, 'resourceName' => '<string>', ]
Description
The request failed due to an error while processing the model.
Members
- message
-
- Type: string
- originalStatusCode
-
- Type: int
The original status code.
- resourceName
-
- Type: string
The resource name.
ModelNotReadyException
[ 'message' => '<string>', ]
Description
The model specified in the request is not ready to serve inference requests.
Members
- message
-
- Type: string
ModelStreamErrorException
[ 'message' => '<string>', 'originalMessage' => '<string>', 'originalStatusCode' => <integer>, ]
Description
An error occurred while streaming the response. Retry your request.
Members
- message
-
- Type: string
- originalMessage
-
- Type: string
The original message.
- originalStatusCode
-
- Type: int
The original status code.
ModelTimeoutException
[ 'message' => '<string>', ]
Description
The request took too long to process. Processing time exceeded the model timeout length.
Members
- message
-
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
The specified resource ARN was not found. Check the ARN and try your request again.
Members
- message
-
- Type: string
ServiceQuotaExceededException
[ 'message' => '<string>', ]
Description
The number of requests exceeds the service quota. Resubmit your request later.
Members
- message
-
- Type: string
ThrottlingException
[ 'message' => '<string>', ]
Description
The number of requests exceeds the limit. Resubmit your request later.
Members
- message
-
- Type: string
ValidationException
[ 'message' => '<string>', ]
Description
Input validation failed. Check your request parameters and retry the request.
Members
- message
-
- Type: string