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)


651
652
653
654
655
656
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 651

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 AI.

StreamBroken

The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.

Returns:

  • (String)


632
633
634
635
636
637
638
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 632

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