{"action":"created","issue":{"url":"https://api.github.com/repos/sendgridlabs/go-kinesis/issues/41","labels_url":"https://api.github.com/repos/sendgridlabs/go-kinesis/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/sendgridlabs/go-kinesis/issues/41/comments","events_url":"https://api.github.com/repos/sendgridlabs/go-kinesis/issues/41/events","html_url":"https://github.com/sendgridlabs/go-kinesis/issues/41","id":94001065,"number":41,"title":"not enough arguments in call to kinesis.NewAuth","user":{"login":"ulutomaz","id":11854230,"avatar_url":"https://avatars.githubusercontent.com/u/11854230?v=3","gravatar_id":"","url":"https://api.github.com/users/ulutomaz","html_url":"https://github.com/ulutomaz","followers_url":"https://api.github.com/users/ulutomaz/followers","following_url":"https://api.github.com/users/ulutomaz/following{/other_user}","gists_url":"https://api.github.com/users/ulutomaz/gists{/gist_id}","starred_url":"https://api.github.com/users/ulutomaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulutomaz/subscriptions","organizations_url":"https://api.github.com/users/ulutomaz/orgs","repos_url":"https://api.github.com/users/ulutomaz/repos","events_url":"https://api.github.com/users/ulutomaz/events{/privacy}","received_events_url":"https://api.github.com/users/ulutomaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-09T09:30:32Z","updated_at":"2015-12-08T10:02:29Z","closed_at":null,"body":"3. and 4. line of code is what I had before and it worked. Now I wanted to implement Godep but it looks like that I am a little bit too late. \r\n\r\nFirst four lines below are what I had before and it worked. Now I am trying to implement it like you implemented it in example.go ... but keep getting errors... \r\n\r\n - not enough arguments in call to kinesis.NewAuth\r\n - undefined: kinesis.Region (even if i pass kinesis.Region{} as second parameter to kinesis.New function\r\n - cannot use &auth (type **kinesis.AuthCredentials) as type kinesis.Auth in argument to kinesis.New:\r\n\t**kinesis.AuthCredentials does not implement kinesis.Auth (missing GetAccessKey method)\r\n\r\n\r\nI would really appreciate some help here... since code don't work for me the way it is in example.go.\r\n\r\nBest,\r\nTomaz\r\n\r\n\r\n\r\n\t// KINESIS AUTHENTIACTION\r\n\t// set env variables AWS_ACCESS_KEY and AWS_SECRET_KEY AWS_REGION_NAME\r\n\t//auth := kinesis.NewAuth()\r\n\t//ksis := kinesis.New(&auth, kinesis.Region{})\r\n\r\n\tvar (\r\n\t\terr  error\r\n\t\tauth kinesis.Auth\r\n\t)\r\n\r\n\tauth, err = kinesis.NewAuthFromEnv()\r\n\tif err != nil {\r\n\t\tfmt.Printf(\"unable to retrieve authentication credentials from the environment: %v\", err)\r\n\t\tos.Exit(1)\r\n\t}\r\n\r\n\tksis := kinesis.New(auth, \"\")\r\n"},"comment":{"url":"https://api.github.com/repos/sendgridlabs/go-kinesis/issues/comments/162837442","html_url":"https://github.com/sendgridlabs/go-kinesis/issues/41#issuecomment-162837442","issue_url":"https://api.github.com/repos/sendgridlabs/go-kinesis/issues/41","id":162837442,"user":{"login":"grandmore","id":666743,"avatar_url":"https://avatars.githubusercontent.com/u/666743?v=3","gravatar_id":"","url":"https://api.github.com/users/grandmore","html_url":"https://github.com/grandmore","followers_url":"https://api.github.com/users/grandmore/followers","following_url":"https://api.github.com/users/grandmore/following{/other_user}","gists_url":"https://api.github.com/users/grandmore/gists{/gist_id}","starred_url":"https://api.github.com/users/grandmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grandmore/subscriptions","organizations_url":"https://api.github.com/users/grandmore/orgs","repos_url":"https://api.github.com/users/grandmore/repos","events_url":"https://api.github.com/users/grandmore/events{/privacy}","received_events_url":"https://api.github.com/users/grandmore/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T10:02:29Z","updated_at":"2015-12-08T10:02:29Z","body":"After working through the code I found the issue.\r\n\r\n`ksis := kinesis.New(auth, \"\")`\r\n\r\nshould actually be\r\n\r\n`ksis := kinesis.New(auth, REGION)`\r\n\r\nwhere REGION is the aws region to communicate with. i.e. us-east-1\r\n"}}