We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b66e5d8 commit 074d64fCopy full SHA for 074d64f
aws_lambda_powertools/utilities/parser/models/iot_registry_events.py
@@ -10,15 +10,8 @@ class IoTCoreRegistryEventsBase(BaseModel):
10
timestamp: int
11
12
13
-class IoTCRUDEventOperation(str, enum.Enum):
14
- CREATED = "CREATED"
15
- UPDATED = "UPDATED"
16
- DELETED = "DELETED"
17
-
18
19
-class AddRemoveOperation(str, enum.Enum):
20
- ADDED = "ADDED"
21
- REMOVED = "REMOVED"
+EVENT_CRUD_OPERATION = Literal["CREATED", "UPDATED", "DELETED"]
+EVENT_ADD_REMOVE_OPERATION = Literal["ADDED", "REMOVED"]
22
23
24
class IoTCoreThingEvent(IoTCoreRegistryEventsBase):
0 commit comments