-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(parser): fix data types for
sourceIPAddress
and sequencer
fie…
…lds in S3RecordModel Model (#6154) make it possible for S3 object to have s3.amazonaws.com in sourceIPAddress and not to have sequencer
- Loading branch information
Showing
3 changed files
with
87 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"Records": [ | ||
{ | ||
"eventVersion": "2.3", | ||
"eventSource": "aws:s3", | ||
"awsRegion": "us-east-1", | ||
"eventTime": "2019-09-03T19:37:27.192Z", | ||
"eventName": "LifecycleTransition", | ||
"userIdentity": { | ||
"principalId": "s3.amazonaws.com" | ||
}, | ||
"requestParameters": { | ||
"sourceIPAddress": "s3.amazonaws.com" | ||
}, | ||
"responseElements": { | ||
"x-amz-request-id": "D82B88E5F771F645", | ||
"x-amz-id-2": "vlR7PnpV2Ce81l0PRw6jlUpck7Jo5ZsQjryTjKlc5aLWGVHPZLj5NeC6qMa0emYBDXOo6QBU0Wo=" | ||
}, | ||
"s3": { | ||
"s3SchemaVersion": "1.0", | ||
"configurationId": "828aa6fc-f7b5-4305-8584-487c791949c1", | ||
"bucket": { | ||
"name": "lambda-artifacts-deafc19498e3f2df", | ||
"ownerIdentity": { | ||
"principalId": "A3I5XTEXAMAI3E" | ||
}, | ||
"arn": "arn:aws:s3:::lambda-artifacts-deafc19498e3f2df" | ||
}, | ||
"object": { | ||
"key": "/path/to/file.parquet", | ||
"size": 12345, | ||
"eTag": "abcdef1232423423", | ||
"versionId": "SomeThingThere" | ||
} | ||
}, | ||
"lifecycleEventData": { | ||
"transitionEventData": { | ||
"destinationStorageClass": "INTELLIGENT_TIERING" | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters