Class ModelStreamErrorException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- software.amazon.awssdk.core.exception.SdkException
 - 
- software.amazon.awssdk.core.exception.SdkServiceException
 - 
- software.amazon.awssdk.awscore.exception.AwsServiceException
 - 
- software.amazon.awssdk.services.sagemakerruntime.model.SageMakerRuntimeException
 - 
- software.amazon.awssdk.services.sagemakerruntime.model.ModelStreamErrorException
 
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable,SdkPojo,ToCopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>
@Generated("software.amazon.awssdk:codegen") public final class ModelStreamErrorException extends SageMakerRuntimeException implements 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.
 - StreamBroken
 - 
 
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
 
- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelStreamErrorException.Builder 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelStreamErrorException.Builderbuilder()StringerrorCode()This error can have the following error codes:List<SdkField<?>>sdkFields()static Class<? extends ModelStreamErrorException.Builder>serializableBuilderClass()ModelStreamErrorException.BuildertoBuilder()- 
Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException 
- 
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, requestId, statusCode 
- 
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryable 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields 
- 
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
 - 
 
 - 
 
- 
- 
Method Detail
- 
toBuilder
public ModelStreamErrorException.Builder toBuilder()
- Specified by:
 toBuilderin interfaceToCopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>- Overrides:
 toBuilderin classSageMakerRuntimeException
 
- 
builder
public static ModelStreamErrorException.Builder builder()
 
- 
serializableBuilderClass
public static Class<? extends ModelStreamErrorException.Builder> serializableBuilderClass()
 
- 
errorCode
public String 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.
 - 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.
 - StreamBroken
 - 
         
The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
 
 
 
 - 
 
 -