class Aws::S3::Plugins::Accelerate::OptionHandler

@api private

def call(context)

def call(context)
  # Support client configuration and per-operation configuration
  # TODO: move this to an options hash and warn here.
  if context.params.is_a?(Hash)
    accelerate = context.params.delete(:use_accelerate_endpoint)
  end
  if accelerate.nil?
    accelerate = context.config.use_accelerate_endpoint
  end
  context[:use_accelerate_endpoint] = accelerate
  @handler.call(context)
end