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)


594
595
596
597
598
599
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 594

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)


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

#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