{"action":"created","issue":{"url":"https://api.github.com/repos/rusoto/rusoto/issues/1179","repository_url":"https://api.github.com/repos/rusoto/rusoto","labels_url":"https://api.github.com/repos/rusoto/rusoto/issues/1179/labels{/name}","comments_url":"https://api.github.com/repos/rusoto/rusoto/issues/1179/comments","events_url":"https://api.github.com/repos/rusoto/rusoto/issues/1179/events","html_url":"https://github.com/rusoto/rusoto/issues/1179","id":373997987,"node_id":"MDU6SXNzdWUzNzM5OTc5ODc=","number":1179,"title":"StsAssumeRoleSessionCredentialsProvider is not using the session_duration attribute & is calling assume role with each request.","user":{"login":"ksamykandil","id":5835199,"node_id":"MDQ6VXNlcjU4MzUxOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5835199?v=4","gravatar_id":"","url":"https://api.github.com/users/ksamykandil","html_url":"https://github.com/ksamykandil","followers_url":"https://api.github.com/users/ksamykandil/followers","following_url":"https://api.github.com/users/ksamykandil/following{/other_user}","gists_url":"https://api.github.com/users/ksamykandil/gists{/gist_id}","starred_url":"https://api.github.com/users/ksamykandil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksamykandil/subscriptions","organizations_url":"https://api.github.com/users/ksamykandil/orgs","repos_url":"https://api.github.com/users/ksamykandil/repos","events_url":"https://api.github.com/users/ksamykandil/events{/privacy}","received_events_url":"https://api.github.com/users/ksamykandil/received_events","type":"User","site_admin":false},"labels":[{"id":236362902,"node_id":"MDU6TGFiZWwyMzYzNjI5MDI=","url":"https://api.github.com/repos/rusoto/rusoto/labels/bug","name":"bug","color":"fc2929","default":true},{"id":236362905,"node_id":"MDU6TGFiZWwyMzYzNjI5MDU=","url":"https://api.github.com/repos/rusoto/rusoto/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-25T15:12:01Z","updated_at":"2018-10-28T11:38:53Z","closed_at":null,"author_association":"NONE","body":"There is a bug in the StsAssumeRoleSessionCredentialsProvider that a new request to assume role is done with each request of AWS resource & the session_duration parameter is not used for caching.\r\n\r\nThis cause a huge load on performance & throttling the Assume role API if you have a high load.\r\n\r\nThis value is valid for one hour, so it should be used till it expires as it blocks the cross account usage of Rusoto.\r\n\r\nExample: Kinesis stream get records API is calling Assume Role with each request which shouldn't be the case."},"comment":{"url":"https://api.github.com/repos/rusoto/rusoto/issues/comments/433697337","html_url":"https://github.com/rusoto/rusoto/issues/1179#issuecomment-433697337","issue_url":"https://api.github.com/repos/rusoto/rusoto/issues/1179","id":433697337,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY5NzMzNw==","user":{"login":"ksamykandil","id":5835199,"node_id":"MDQ6VXNlcjU4MzUxOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5835199?v=4","gravatar_id":"","url":"https://api.github.com/users/ksamykandil","html_url":"https://github.com/ksamykandil","followers_url":"https://api.github.com/users/ksamykandil/followers","following_url":"https://api.github.com/users/ksamykandil/following{/other_user}","gists_url":"https://api.github.com/users/ksamykandil/gists{/gist_id}","starred_url":"https://api.github.com/users/ksamykandil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksamykandil/subscriptions","organizations_url":"https://api.github.com/users/ksamykandil/orgs","repos_url":"https://api.github.com/users/ksamykandil/repos","events_url":"https://api.github.com/users/ksamykandil/events{/privacy}","received_events_url":"https://api.github.com/users/ksamykandil/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T11:38:53Z","updated_at":"2018-10-28T11:38:53Z","author_association":"NONE","body":"@matthewkmayer I'm working on the fix, will be ready in a week hopefully, will update the documentation as well & make a pull request."}}
{"actor":{"display_login":"ksamykandil"}}