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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemakerruntime/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)


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

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



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

def event_type
  @event_type
end