Skip to content

Instantly share code, notes, and snippets.

@yurigorokhov
Last active May 17, 2017 15:58
Show Gist options
  • Save yurigorokhov/cd6a6edb73c6bf42ae338ad85c9bd34e to your computer and use it in GitHub Desktop.
Save yurigorokhov/cd6a6edb73c6bf42ae338ad85c9bd34e to your computer and use it in GitHub Desktop.
DetectFacesSampleInput
{
"S3Event": {
"Records": [
{
"eventVersion": "2.0",
"eventTime": "1970-01-01T00:00:00.000Z",
"requestParameters": {
"sourceIPAddress": "127.0.0.1"
},
"s3": {
"configurationId": "testConfigRule",
"object": {
"eTag": "0123456789abcdef0123456789abcdef",
"sequencer": "0A1B2C3D4E5F678901",
"key": "IMAGE_KEY",
"size": 1024
},
"bucket": {
"arn": "arn:aws:s3:::mybucket",
"name": "IMAGE_BUCKET",
"ownerIdentity": {
"principalId": "EXAMPLE"
}
},
"s3SchemaVersion": "1.0"
},
"responseElements": {
"x-amz-id-2": "EXAMPLE123/5678abcdefghijklambdaisawesome/mnopqrstuvwxyzABCDEFGH",
"x-amz-request-id": "EXAMPLE123456789"
},
"awsRegion": "us-west-2",
"eventName": "ObjectCreated:Put",
"userIdentity": {
"principalId": "EXAMPLE"
},
"eventSource": "aws:s3"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment