Class ModelStreamErrorException
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>
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 AI.
- StreamBroken
-
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()This error can have the following error codes:static Class<? extends ModelStreamErrorException.Builder>Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionMethods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, isRetryableException, requestId, statusCodeMethods inherited from class software.amazon.awssdk.core.exception.SdkException
create, numAttempts, rawMessage, retryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFieldsMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException> - Overrides:
toBuilderin classSageMakerRuntimeException
-
builder
-
serializableBuilderClass
-
errorCode
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 AI.
- StreamBroken
-
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
- Returns:
- 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 AI.
- StreamBroken
-
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
-
sdkFields
- Specified by:
sdkFieldsin interfaceSdkPojo- Overrides:
sdkFieldsin classSdkServiceException
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-