Method: Aws::S3Control::Plugins::S3HostId::Handler#call

Defined in:
lib/aws-sdk-s3control/plugins/s3_host_id.rb

#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.



16
17
18
19
20
21
# File 'lib/aws-sdk-s3control/plugins/s3_host_id.rb', line 16

def call(context)
  response = @handler.call(context)
  h = context.http_response.headers
  context[:s3_host_id] = h['x-amz-id-2']
  response
end