original_docstring: A method to store given record in DynamoDB table.
  
      This method takes a dictionary as input, processes it and stores the Item in
      DynamoDB table *version3*.
  
      Parameters
      ----------
      record: dict
          A dictionary that has values for req_id, recordstate, s3_url, title for
          the corresponding DynamoDB table to be updated.
      
docstring: A method to store given record in DynamoDB table.
  This method takes a dictionary as input, processes it and stores the Item in
  DynamoDB table *version3*.
  
  Parameters
  
  dict
  A dictionary that has values for req_id, recordstate, s3_url, title for
  the corresponding DynamoDB table to be updated.
docstring_tokens: A method to store given record in DynamoDB table . This method takes a dictionary as input processes it and stores the Item in DynamoDB table * version3 * . Parameters dict A dictionary that has values for req_id recordstate s3_url title for the corresponding DynamoDB table to be updated .
code: def store_to_dynamodb(record):
      """A method to store given record in DynamoDB table.
  
      This method takes a dictionary as input, processes it and stores the Item in
      DynamoDB table *version3*.
  
      Parameters
      ----------
      record: dict
          A dictionary that has values for req_id, recordstate, s3_url, title for
          the corresponding DynamoDB table to be updated.
      """
      try:
          table = dynamodb.Table(table_name)
          table.update_item(
              Key={
                  'req_id': record['req_id']
              },
              AttributeUpdates={
                  'recordstate': {
                      'Value': record['recordstate'],
                  },
                  's3_url': {
                      'Value': record['s3_url'],
                  },
                  'title': {
                      'Value': record['title'],
                  }
              },
              TableName=table_name,
          )
      except Exception as e:
          print ("ERROR: Could not store record with ID %s. Exception"
                 " %s" % (record['req_id']['S'], str(e)))
          raise e
code_tokens: def store_to_dynamodb ( record ) : try : table = dynamodb . Table ( table_name ) table . update_item ( Key = { 'req_id' : record [ 'req_id' ] } , AttributeUpdates = { 'recordstate' : { 'Value' : record [ 'recordstate' ] , } , 's3_url' : { 'Value' : record [ 's3_url' ] , } , 'title' : { 'Value' : record [ 'title' ] , } } , TableName = table_name , ) except Exception as e : print ( "ERROR: Could not store record with ID %s. Exception" " %s" % ( record [ 'req_id' ] [ 'S' ] , str ( e ) ) ) raise e
short_docstring: A method to store given record in DynamoDB table.
short_docstring_tokens: A method to store given record in DynamoDB table .
comment: """A method to store given record in DynamoDB table.
  
      This method takes a dictionary as input, processes it and stores the Item in
      DynamoDB table *version3*.
  
      Parameters
      ----------
      record: dict
          A dictionary that has values for req_id, recordstate, s3_url, title for
          the corresponding DynamoDB table to be updated.
      """