You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Seahorse::Client::Handler show all
Defined in:
aws-sdk-core/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 'aws-sdk-core/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