def METHOD_NAME(aws_meta):
    bounced_email, _ = BouncedEmail.objects.update_or_create(
        email=aws_meta.email,
    )
    exists = PermanentBounceMeta.objects.filter(
        bounced_email=bounced_email,
        timestamp=aws_meta.timestamp,
        sub_type=aws_meta.sub_type,
    ).exists()
    if not exists:
        PermanentBounceMeta.objects.create(
            bounced_email=bounced_email,
            timestamp=aws_meta.timestamp,
            sub_type=aws_meta.sub_type,
            headers=aws_meta.headers,
            reason=aws_meta.reason,
            destination=aws_meta.destination,
        )