{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-apigateway-importer/issues/125","labels_url":"https://api.github.com/repos/awslabs/aws-apigateway-importer/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-apigateway-importer/issues/125/comments","events_url":"https://api.github.com/repos/awslabs/aws-apigateway-importer/issues/125/events","html_url":"https://github.com/awslabs/aws-apigateway-importer/issues/125","id":122242450,"number":125,"title":"\"Invoke with caller credentials\" option","user":{"login":"koryshev","id":14070070,"avatar_url":"https://avatars.githubusercontent.com/u/14070070?v=3","gravatar_id":"","url":"https://api.github.com/users/koryshev","html_url":"https://github.com/koryshev","followers_url":"https://api.github.com/users/koryshev/followers","following_url":"https://api.github.com/users/koryshev/following{/other_user}","gists_url":"https://api.github.com/users/koryshev/gists{/gist_id}","starred_url":"https://api.github.com/users/koryshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koryshev/subscriptions","organizations_url":"https://api.github.com/users/koryshev/orgs","repos_url":"https://api.github.com/users/koryshev/repos","events_url":"https://api.github.com/users/koryshev/events{/privacy}","received_events_url":"https://api.github.com/users/koryshev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-15T10:38:23Z","updated_at":"2015-12-15T19:41:49Z","closed_at":null,"body":"Is it possible to specify this option in Swagger using the x-amazon-apigateway-auth and x-amazon-apigateway-integration extensions?\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/14070070/11808345/fa3b3f34-a330-11e5-94b8-aee9f65a88e0.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/awslabs/aws-apigateway-importer/issues/comments/164873191","html_url":"https://github.com/awslabs/aws-apigateway-importer/issues/125#issuecomment-164873191","issue_url":"https://api.github.com/repos/awslabs/aws-apigateway-importer/issues/125","id":164873191,"user":{"login":"jackrk","id":4334334,"avatar_url":"https://avatars.githubusercontent.com/u/4334334?v=3","gravatar_id":"","url":"https://api.github.com/users/jackrk","html_url":"https://github.com/jackrk","followers_url":"https://api.github.com/users/jackrk/followers","following_url":"https://api.github.com/users/jackrk/following{/other_user}","gists_url":"https://api.github.com/users/jackrk/gists{/gist_id}","starred_url":"https://api.github.com/users/jackrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackrk/subscriptions","organizations_url":"https://api.github.com/users/jackrk/orgs","repos_url":"https://api.github.com/users/jackrk/repos","events_url":"https://api.github.com/users/jackrk/events{/privacy}","received_events_url":"https://api.github.com/users/jackrk/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T19:41:49Z","updated_at":"2015-12-15T19:41:49Z","body":"Api Gateway team here, @koxon is right. The credentials field would be 'arn:aws:iam::*:user/*' to enable caller credentials. Using caller credentials makes the most sense in the context of an app that uses Cognito to federate users, since Lambda can access the Cognito Identity context."}}