Class: Aws::Plugins::S3RequestSigner::CachedBucketRegionHandler Private

Inherits:
Handler show all
Defined in:
lib/aws-sdk-core/plugins/s3_request_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 Attribute Summary

Attributes inherited from Seahorse::Client::Handler

#handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Handler

#initialize, #inspect

Constructor Details

This class inherits a constructor from Seahorse::Client::Handler

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.



61
62
63
64
65
66
# File 'lib/aws-sdk-core/plugins/s3_request_signer.rb', line 61

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