Class SageMakerRuntimeException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\SageMakerRuntime\Exception\SageMakerRuntimeException
- Namespace: Aws\SageMakerRuntime\Exception
- Located at SageMakerRuntime/Exception/SageMakerRuntimeException.php
Represents an error interacting with the Amazon SageMaker 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
InternalDependencyException
[ 'Message' => '<string>', ]
Description
Your request caused an exception with an internal dependency. Contact customer support.
Members
- Message
-
- Type: string
InternalFailure
[ 'Message' => '<string>', ]
Description
An internal failure occurred.
Members
- Message
-
- Type: string
InternalStreamFailure
[ 'Message' => '<string>', ]
Description
The stream processing failed because of an unknown error, exception or failure. Try your request again.
Members
- Message
-
- Type: string
ModelError
[ 'LogStreamArn' => '<string>', 'Message' => '<string>', 'OriginalMessage' => '<string>', 'OriginalStatusCode' => <integer>, ]
Description
Model (owned by the customer in the container) returned 4xx or 5xx error code.
Members
- LogStreamArn
-
- Type: string
The Amazon Resource Name (ARN) of the log stream.
- Message
-
- Type: string
- OriginalMessage
-
- Type: string
Original message.
- OriginalStatusCode
-
- Type: int
Original status code.
ModelNotReadyException
[ 'Message' => '<string>', ]
Description
Either a serverless endpoint variant's resources are still being provisioned, or a multi-model endpoint is still downloading or loading the target model. Wait and try your request again.
Members
- Message
-
- Type: string
ModelStreamError
[ 'ErrorCode' => '<string>', 'Message' => '<string>', ]
Description
An error occurred while streaming the response body. This error can have the following error codes:
- ModelInvocationTimeExceeded
-
The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.
- StreamBroken
-
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
Members
- ErrorCode
-
- Type: string
This error can have the following error codes:
- ModelInvocationTimeExceeded
-
The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker.
- StreamBroken
-
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
- Message
-
- Type: string
ServiceUnavailable
[ 'Message' => '<string>', ]
Description
The service is unavailable. Try your call again.
Members
- Message
-
- Type: string
ValidationError
[ 'Message' => '<string>', ]
Description
Inspect your request and try again.
Members
- Message
-
- Type: string