def by_audit_event_id(self,audit_event_id: str) -> AuditEventItemRequestBuilder:
        """
        Provides operations to manage the auditEvents property of the microsoft.graph.deviceManagement entity.
        param audit_event_id: The unique identifier of auditEvent
        Returns: AuditEventItemRequestBuilder
        """
        if audit_event_id is None:
            raise TypeError("audit_event_id cannot be null.")
        from .item.audit_event_item_request_builder import AuditEventItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["auditEvent%2Did"] = audit_event_id
        return AuditEventItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the auditEvents property of the microsoft.graph.deviceManagement entity.
        param audit_event_id: The unique identifier of auditEvent
        Returns: AuditEventItemRequestBuilder
        
msgraph/generated/device_management/audit_events/audit_events_request_builder.py