def by_horizontal_section_id(self,horizontal_section_id: str) -> HorizontalSectionItemRequestBuilder:
        """
        Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity.
        param horizontal_section_id: The unique identifier of horizontalSection
        Returns: HorizontalSectionItemRequestBuilder
        """
        if horizontal_section_id is None:
            raise TypeError("horizontal_section_id cannot be null.")
        from .item.horizontal_section_item_request_builder import HorizontalSectionItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["horizontalSection%2Did"] = horizontal_section_id
        return HorizontalSectionItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity.
        param horizontal_section_id: The unique identifier of horizontalSection
        Returns: HorizontalSectionItemRequestBuilder
        
msgraph/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py