def by_event_id2(self,event_id2: str) -> EventItemRequestBuilder:
        """
        Provides operations to manage the instances property of the microsoft.graph.event entity.
        param event_id2: The unique identifier of event
        Returns: EventItemRequestBuilder
        """
        if event_id2 is None:
            raise TypeError("event_id2 cannot be null.")
        from .item.event_item_request_builder import EventItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["event%2Did2"] = event_id2
        return EventItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the instances property of the microsoft.graph.event entity.
        param event_id2: The unique identifier of event
        Returns: EventItemRequestBuilder
        
msgraph/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py