Class: Aws::SageMakerRuntime::Types::ModelStreamError
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMakerRuntime::Types::ModelStreamError
- Defined in:
- gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#error_code ⇒ String
This error can have the following error codes:.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#message ⇒ String
Instance Attribute Details
#error_code ⇒ 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.
575 576 577 578 579 580 581 |
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 575 class ModelStreamError < Struct.new( :message, :error_code, :event_type) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ Object
Returns the value of attribute event_type
575 576 577 |
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 575 def event_type @event_type end |
#message ⇒ String
575 576 577 578 579 580 581 |
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 575 class ModelStreamError < Struct.new( :message, :error_code, :event_type) SENSITIVE = [] include Aws::Structure end |