Module: Aws::SageMakerRuntime::Types

Defined in:
gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb

Defined Under Namespace

Classes: InternalDependencyException, InternalFailure, InternalStreamFailure, InvokeEndpointAsyncInput, InvokeEndpointAsyncOutput, InvokeEndpointInput, InvokeEndpointOutput, InvokeEndpointWithResponseStreamInput, InvokeEndpointWithResponseStreamOutput, ModelError, ModelNotReadyException, ModelStreamError, PayloadPart, ResponseStream, ServiceUnavailable, ValidationError

Instance Attribute Summary collapse

Instance Attribute Details

#bytesString

A blob that contains part of the response for your streaming inference request.

Returns:

  • (String)


638
639
640
641
642
643
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 638

class PayloadPart < Struct.new(
  :bytes,
  :event_type)
  SENSITIVE = [:bytes]
  include Aws::Structure
end

#error_codeString

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:

  • (String)


619
620
621
622
623
624
625
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 619

class ModelStreamError < Struct.new(
  :message,
  :error_code,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Returns:

  • (String)


48
49
50
51
52
53
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 48

class InternalStreamFailure < Struct.new(
  :message,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end