Class: Aws::SageMakerRuntime::Types::ResponseStream

Inherits:
Enumerator
  • Object
show all
Defined in:
lib/aws-sdk-sagemakerruntime/types.rb

Overview

A stream of payload parts. Each part contains a portion of the response for a streaming inference request.

EventStream is an Enumerator of Events.

#event_types #=> Array, returns all modeled event types in the stream

Instance Method Summary collapse

Instance Method Details

#event_typesObject



681
682
683
684
685
686
687
# File 'lib/aws-sdk-sagemakerruntime/types.rb', line 681

def event_types
  [
    :payload_part,
    :model_stream_error,
    :internal_stream_failure
  ]
end