docs: def delete_record(self, bucket_name, record_key, record_version=''):
  
          '''
              a method for deleting an object record in s3
  
          :param bucket_name: string with name of bucket
          :param record_key: string with key value of record
          :param record_version: [optional] string with aws id of version of record
          :return: dictionary with status of delete request
          '''
  
          title = '%s.delete_record' % self.__class__.__name__
          
      # validate inputs
          input_fields = {
              'bucket_name': bucket_name,
              'record_key': record_key,
              'record_version': record_version
          }
          for key, value in input_fields.items():
              if value:
                  object_title = '%s(%s=%s)' % (title, key, str(value))
                  self.fields.validate(value, '.%s' % key, object_title)
  
      # verify existence of bucket
          if not bucket_name in self.bucket_list:
              if not bucket_name in self.list_buckets():
                  raise ValueError('S3 bucket "%s" does not exist in aws region %s.' % (bucket_name, self.iam.region_name))
                  
      # create key word argument dictionary
          delete_kwargs = {
              'Bucket': bucket_name,
              'Key': record_key
          }
          if record_version:
              delete_kwargs['VersionId'] = record_version
  
      # send request to delete record
          try:
              response = self.connection.delete_object(**delete_kwargs)
          except:
              raise AWSConnectionError(title)
  
      # report status
          response_details = {
              'version_id': ''
          }
          response_details = self.iam.ingest(response, response_details)
          if 'response_metadata' in response_details.keys():
              del response_details['response_metadata']
          
          return response_details