Class: Aws::SageMakerRuntime::Types::PayloadPart
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMakerRuntime::Types::PayloadPart
- 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
-
#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.
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_type ⇒ Object
Returns the value of attribute event_type
594 595 596 |
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 594 def event_type @event_type end |