def METHOD_NAME(cls, entry: PublishBatchRequestEntry, is_fifo=False) -> "SnsMessage":
    return cls(
        type="Notification",
        message=entry["Message"],
        subject=entry.get("Subject"),
        message_structure=entry.get("MessageStructure"),
        message_attributes=entry.get("MessageAttributes"),
        message_deduplication_id=entry.get("MessageDeduplicationId"),
        message_group_id=entry.get("MessageGroupId"),
        is_fifo=is_fifo,
    )