You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to extract values eventName and x-amz-request-id from below? i tried on https://gjson.dev/ but couldn't work out the syntax to handle Records part.
how to extract values eventName and x-amz-request-id from below? i tried on https://gjson.dev/ but couldn't work out the syntax to handle Records part.
Expected values:
ObjectCreated:Put
r6
{"Type":"Notification","MessageId":"r1","TopicArn":"r2","Subject":"Amazon S3 Notification","Message":"{\"Records\":[{\"eventVersion\":\"2.1\",\"eventSource\":\"aws:s3\",\"awsRegion\":\"r3\",\"eventTime\":\"2022-01-10T10:33:10.900Z\",\"eventName\":\"ObjectCreated:Put\",\"userIdentity\":{\"principalId\":\"r4\"},\"requestParameters\":{\"sourceIPAddress\":\"r5\"},\"responseElements\":{\"x-amz-request-id\":\"r6\",\"x-amz-id-2\":\"/r7\"},\"s3\":{\"s3SchemaVersion\":\"1.0\",\"configurationId\":\"r8\",\"bucket\":{\"name\":\"r9\",\"ownerIdentity\":{\"principalId\":\"r10\"},\"arn\":\"r11\"},\"object\":{\"key\":\"jj\",\"size\":2,\"eTag\":\"r12\",\"versionId\":\"r13\",\"sequencer\":\"r14\"}}}]}","Timestamp":"r15","SignatureVersion":"1","Signature":"r16","SigningCertURL":"r17","UnsubscribeURL":"https://sns.r.amazonaws.com/?Action=Unsubscribe\u0026SubscriptionArn=redd"}
The text was updated successfully, but these errors were encountered: