File tree 1 file changed +4
-4
lines changed
aws_lambda_powertools/utilities/data_classes
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,22 @@ def shard_id(self) -> Optional[str]:
12
12
return self .get ("shardId" )
13
13
14
14
@property
15
- def partition_key (self ) -> Optional [str ]
15
+ def partition_key (self ) -> Optional [str ]:
16
16
"""Kinesis stream partition key; present only when Kinesis Stream is source"""
17
17
return self .get ("partitionKey" )
18
18
19
19
@property
20
- def approximate_arrival_timestamp (self ) -> Optional [str ]
20
+ def approximate_arrival_timestamp (self ) -> Optional [str ]:
21
21
"""Kinesis stream approximate arrival ISO timestamp; present only when Kinesis Stream is source"""
22
22
return self .get ("approximateArrivalTimestamp" )
23
23
24
24
@property
25
- def sequence_number (self ) - > Optional [str ]
25
+ def sequence_number (self ) -> Optional [str ]:
26
26
"""Kinesis stream sequence number; present only when Kinesis Stream is source"""
27
27
return self .get ("sequenceNumber" )
28
28
29
29
@property
30
- def subsequence_number (self ) - > Optional [str ]
30
+ def subsequence_number (self ) -> Optional [str ]:
31
31
"""Kinesis stream sub-sequence number; present only when Kinesis Stream is source
32
32
33
33
Note: this will only be present for Kinesis streams using record aggregation
You can’t perform that action at this time.
0 commit comments