class Aws::Binary::EncodeHandler

def call(context)

def call(context)
  if eventstream_member = eventstream_input?(context)
    input_es_handler = context[:input_event_stream_handler]
    input_es_handler.event_emitter.encoder = EventStreamEncoder.new(
      context.config.api.metadata['protocol'],
      eventstream_member,
      context.operation.input,
      signer_for(context)
    )
    context[:input_event_emitter] = input_es_handler.event_emitter
  end
  @handler.call(context)
end