Class: Aws::SageMakerRuntime::Types::PayloadPart

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemakerruntime/types.rb

Overview

A wrapper for pieces of the payload that’s returned in response to a streaming inference request. A streaming inference response consists of one or more payload parts.

Constant Summary collapse

SENSITIVE =
[:bytes]

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 'lib/aws-sdk-sagemakerruntime/types.rb', line 638

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

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



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

def event_type
  @event_type
end