The matching event pattern object
| Name | Type | Description | Notes |
|---|---|---|---|
| event_type | str | The type of event to subscribe to. The list of available event types can be discovered by calling the ListEventTypes API endpoint in the Notifications service. Note that event types published by the Workflow service itself (such as TaskCreated, TaskUpdated, TaskDeleted, TaskDefinitionCreated, TaskDefinitionUpdated and TaskDefinitionDeleted) are not supported as Event Handler triggers, and specifying one will be rejected. | |
| filter | str | A filter on the event. See https://support.lusid.com/filtering-results-from-lusid for more information. If not provided, all events will be matched. | [optional] |
from lusid_workflow.models.event_matching_pattern import EventMatchingPattern
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
from typing_extensions import Annotated
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
from datetime import datetime
event_type: StrictStr = "example_event_type"
filter: Optional[StrictStr] = "example_filter"
event_matching_pattern_instance = EventMatchingPattern(event_type=event_type, filter=filter)