Class: Aws::SageMakerRuntime::Types::PayloadPart
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMakerRuntime::Types::PayloadPart
- 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
-
#bytes ⇒ String
A blob that contains part of the response for your streaming inference request.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
Instance Attribute Details
#bytes ⇒ String
A blob that contains part of the response for your streaming inference request.
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_type ⇒ Object
Returns the value of attribute event_type
638 639 640 |
# File 'lib/aws-sdk-sagemakerruntime/types.rb', line 638 def event_type @event_type end |