Class: Aws::S3::Plugins::LocationConstraint::Handler

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

Instance Method Summary collapse

Instance Method Details

#call(context) ⇒ Object



12
13
14
15
16
17
# File 'lib/aws-sdk-s3/plugins/location_constraint.rb', line 12

def call(context)
  unless context.config.region == 'us-east-1'
    populate_location_constraint(context.params, context.config.region)
  end
  @handler.call(context)
end