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 d82537c commit 44f0855Copy full SHA for 44f0855
aws_lambda_powertools/utilities/parser/models/iot_core_crud_event.py
@@ -0,0 +1,29 @@
1
+import enum
2
+from typing import Any, Optional
3
+
4
+from pydantic import BaseModel
5
6
7
+class AWSIoTCRUDEventOperation(str, enum.Enum):
8
+ CREATED = "CREATED"
9
+ UPDATED = "UPDATED"
10
+ DELETED = "DELETED"
11
12
13
+class AWSIoTCRUDEvent(BaseModel):
14
+ """The "Thing: created, updated, deleted" eventt"""
15
16
+ eventType: str
17
+ eventId: str
18
+ timestamp: int
19
20
+ operation: AWSIoTCRUDEventOperation
21
22
+ thingId: str
23
24
+ thingName: str
25
+ versionNumber: int
26
+ thingTypeName: Optional[str]
27
+ billinGroupName: Optional[str]
28
29
+ attributes: dict[str, Any]
0 commit comments