Class: Aws::S3::Plugins::Accelerate::OptionHandler Private

Inherits:
Seahorse::Client::Handler
  • Object
show all
Defined in:
lib/aws-sdk-s3/plugins/accelerate.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#call(context) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



31
32
33
34
35
36
# File 'lib/aws-sdk-s3/plugins/accelerate.rb', line 31

def call(context)
  accelerate = context.params.delete(:use_accelerate_endpoint)
  accelerate = context.config.use_accelerate_endpoint if accelerate.nil?
  context[:use_accelerate_endpoint] = accelerate
  @handler.call(context)
end