class Aws::Plugins::ApiKey::OptionHandler

@api private

def call(context)

def call(context)
  if context.operation.require_apikey
    if context.params.is_a?(Hash) && context.params[:api_key]
      api_key = context.params.delete(:api_key)
    end
    api_key = context.config.api_key if api_key.nil?
    context[:api_key] = api_key
  end
  @handler.call(context)
end