I created an API Gateway method GET with integration type "AWS Service" for "S3". I defined a Path override: {object} that is mapped from method.request.path.item
As long as the path contains only the bucket itself (./bucket/mybucketname), it works and the value of {item} is mybucketname.
But when i specify for example ../bucket/mybucketname/foo/bar/test.txt as path the {item} value should be mybucketname/foo/bar/test.txt but it is empty. I think it's because of the nested path
When i choose catch-all path variables {proxy+} I'm not able to choose integration type "AWS Service" any longer.
Any hints what I'm doing wrong or what i should do in order to retrieve files/folders in subfolders from S3 via API Gateway?