class Aws::Plugins::S3LocationConstraint::Handler
def call(context)
def call(context) unless context.config.region == 'us-east-1' populate_location_constraint(context.params, context.config.region) end @handler.call(context) end
def populate_location_constraint(params, region)
def populate_location_constraint(params, region) params[:create_bucket_configuration] ||= {} params[:create_bucket_configuration][:location_constraint] ||= region end