Class: Aws::Plugins::ParamConverter::Handler

Inherits:
Seahorse::Client::Handler show all
Defined in:
lib/aws-sdk-core/plugins/param_converter.rb

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Handler

#handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Handler

#initialize, #inspect

Constructor Details

This class inherits a constructor from Seahorse::Client::Handler

Instance Method Details

#call(context) ⇒ Object


17
18
19
20
21
22
23
# File 'lib/aws-sdk-core/plugins/param_converter.rb', line 17

def call(context)
  converter = Aws::ParamConverter.new(context.operation.input)
  context.params = converter.convert(context.params)
  @handler.call(context).on_complete do |resp|
    converter.close_opened_files
  end
end