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.



42
43
44
45
46
47
48
49
50
51
# File 'lib/aws-sdk-s3/plugins/accelerate.rb', line 42

def call(context)
  if context[:use_accelerate_endpoint]
    if context[:use_dualstack_endpoint]
      use_combined_accelerate_dualstack_endpoint(context)
    else
      use_accelerate_endpoint(context)
    end
  end
  @handler.call(context)
end