Class: Aws::S3::Plugins::S3Signer::CachedBucketRegionHandler Private

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

Overview

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.

This handler will update the http endpoint when the bucket region is known/cached.

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.



45
46
47
48
49
# File 'lib/aws-sdk-s3/plugins/s3_signer.rb', line 45

def call(context)
  bucket = context.params[:bucket]
  check_for_cached_region(context, bucket) if bucket
  @handler.call(context)
end