    # File lib/fog/aws/requests/simpledb/batch_put_attributes.rb, line 35
            def batch_put_attributes(domain_name, items, replace_attributes = Hash.new([]))
              response = Excon::Response.new
              if self.data[:domains][domain_name]
                for item_name, attributes in items do
                  for key, value in attributes do
                    self.data[:domains][domain_name][item_name] ||= {}
                    if replace_attributes[item_name] && replace_attributes[item_name].include?(key)
                      self.data[:domains][domain_name][item_name][key.to_s] = []
                    else
                      self.data[:domains][domain_name][item_name][key.to_s] ||= []
                    end
                    self.data[:domains][domain_name][item_name][key.to_s] << value.to_s
                  end
                end
                response.status = 200
                response.body = {
                  'BoxUsage'  => Fog::AWS::Mock.box_usage,
                  'RequestId' => Fog::AWS::Mock.request_id
                }
              else
                response.status = 400
                raise(Excon::Errors.status_error({:expects => 200}, response))
              end
              response
            end