Class: Aws::S3::Plugins::Accelerate::AccelerateHandler 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.


56
57
58
59
60
61
62
# File 'lib/aws-sdk-s3/plugins/accelerate.rb', line 56

def call(context)
  if context.config.regional_endpoint && context[:use_accelerate_endpoint]
    dualstack = !!context[:use_dualstack_endpoint]
    use_accelerate_endpoint(context, dualstack)
  end
  @handler.call(context)
end