class Aws::Binary::EventStreamEncoder
def initialize(protocol, rules, input_ref, signer)
-
signer
(Aws::Sigv4::Signer
) -- -
input_ref
(ShapeRef
) -- ShapeRef of the input shape -
rules
(ShapeRef
) -- ShapeRef of the eventstream member -
protocol
(String
) --
def initialize(protocol, rules, input_ref, signer) @encoder = Aws::EventStream::Encoder.new @event_builder = EventBuilder.new(serializer_class(protocol), rules) @input_ref = input_ref @rules = rules @signer = signer @prior_signature = nil end