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.

API:

  • private

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.

API:

  • private



84
85
86
87
88
# File 'lib/aws-sdk-s3/plugins/s3_signer.rb', line 84

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