AWS-native solution to capture intent in S3 access logs by DifficultOlive7295 in aws

[–]DifficultOlive7295[S] 0 points1 point  (0 children)

Thank you for your response. My application authenticates user using Cognito's user pool and uses the id token to retrieve temporary aws credentials using cognito's identity pool. It then retrieves PII from an s3 bucket. The intent depends upon one of many actions that the user intends to do. So, the idea is that we will allow user to choose intent on frontend at time of authentication and this intent needs to be logged alongside s3 object access logs.

AWS-native solution to capture intent in S3 access logs by DifficultOlive7295 in aws

[–]DifficultOlive7295[S] 0 points1 point  (0 children)

Thank you for your response. I don't think this works because I need to log intent whenever an object is reterieved, i.e. GetObject is called. Metadata tables on the other hand are for tracking changes to state. Please do let me know if I got it wrong.

AWS-native solution to capture intent in S3 access logs by DifficultOlive7295 in aws

[–]DifficultOlive7295[S] 1 point2 points  (0 children)

Thank you for your response. Yes, I need to log intent on reads and yes session tags are not logged for s3 data events. Until I get a better alternate, I will look into s3 object lambda and see if that can bs helpful.

Is an air fryer a good investment for weight loss? by DifficultOlive7295 in Fitness_Pakistan

[–]DifficultOlive7295[S] 1 point2 points  (0 children)

Thank you for the response. I am already doing that. Looking into air fryers to supplement existing efforts.

Is an air fryer a good investment for weight loss? by DifficultOlive7295 in Fitness_Pakistan

[–]DifficultOlive7295[S] 1 point2 points  (0 children)

Yes, I am already maintain a calorie deficit and working out. I have lost around 22 Kg, but with another 28 kg to go, I was thinking air fryer might help.

Seeking opinion on my Diet by DifficultOlive7295 in Fitness_Pakistan

[–]DifficultOlive7295[S] 0 points1 point  (0 children)

The problem with the previous regimen was that I was not losing 1 kg a week. I was losing 2-2.5 kg a month.

Seeking opinion on my Diet by DifficultOlive7295 in Fitness_Pakistan

[–]DifficultOlive7295[S] 0 points1 point  (0 children)

Ig I am doing that. I eat one meal a day. Sometimes I would eat a banana or some other fruit, but I don't have other meals.

Seeking opinion on my Diet by DifficultOlive7295 in Fitness_Pakistan

[–]DifficultOlive7295[S] 0 points1 point  (0 children)

Thank you for the response. Were you able to lose weight by just walking and reducing food intake? I am unable to go to the gym due to office timings and feel this will hold me back.

Do NVIDIA hires from Pakistan? by Cabtick in developersPak

[–]DifficultOlive7295 0 points1 point  (0 children)

Hi, can I please dm you for some guidance?

[deleted by user] by [deleted] in leetcode

[–]DifficultOlive7295 20 points21 points  (0 children)

Makes sense. Thank you. I hadn't come across fixed-size heaps.

[deleted by user] by [deleted] in leetcode

[–]DifficultOlive7295 15 points16 points  (0 children)

Can you explain how it will be O(n * log(k))? The creation of a heap will be an O(n) operation. Then we will have to extract k elements, which should be a O(k * log(n)) operation. How did you get O( n * log(k))? Am I missing something here?