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



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

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