from app.shared.common.recaptcha import CaptchaValidation
from app.shared.database.dynamodb_client import DynamodbClient
from app.shared.models import CustomerReviewModel

def main(object_id: str) -> dict:
    dynamodb = DynamodbClient()
    try:
        dynamodb.contact_us.delete(object_id)
    except Exception as error:
        return({'error': error}, 400)
    
    return ({'success': 'Message deleted successfully'}, 200)