Class: Aws::SageMakerGatewayRuntime::Types::PayloadPart

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb

Overview

A part of the streamed response.

Constant Summary collapse

SENSITIVE =
[:bytes]

Instance Attribute Summary collapse

Instance Attribute Details

#bytes ⇒ String

The bytes of this part: a chunk of the model server's server-sent event (SSE) stream.

Returns:

  • (String)


320
321
322
323
324
325
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 320

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

#event_type ⇒ Object

Returns the value of attribute event_type

Returns:

  • (Object) —

    the current value of event_type



320
321
322
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 320

def event_type
  @event_type
end