{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1113","repository_url":"https://api.github.com/repos/aws/aws-sdk-php","labels_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1113/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1113/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1113/events","html_url":"https://github.com/aws/aws-sdk-php/issues/1113","id":185670465,"number":1113,"title":"SWF ignores page maximumPageSize parameter in pollForDecisionTask","user":{"login":"ppaulis","id":1609503,"avatar_url":"https://avatars.githubusercontent.com/u/1609503?v=3","gravatar_id":"","url":"https://api.github.com/users/ppaulis","html_url":"https://github.com/ppaulis","followers_url":"https://api.github.com/users/ppaulis/followers","following_url":"https://api.github.com/users/ppaulis/following{/other_user}","gists_url":"https://api.github.com/users/ppaulis/gists{/gist_id}","starred_url":"https://api.github.com/users/ppaulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppaulis/subscriptions","organizations_url":"https://api.github.com/users/ppaulis/orgs","repos_url":"https://api.github.com/users/ppaulis/repos","events_url":"https://api.github.com/users/ppaulis/events{/privacy}","received_events_url":"https://api.github.com/users/ppaulis/received_events","type":"User","site_admin":false},"labels":[{"id":16749030,"url":"https://api.github.com/repos/aws/aws-sdk-php/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-27T13:36:30Z","updated_at":"2016-11-01T00:21:10Z","closed_at":null,"body":"Hello!\n\nWe are using SWF through the PHP SDK and are doing the following call:\n\n```\n$result = $this->getClient()->pollForDecisionTask([\n            'identity' => $this->getIdentity(),\n            'domain' => $this->getDomain(),\n            'maximumPageSize' => 200,\n            'taskList' =>\n            [\n                'name' => $this->getTaskListName()\n            ]\n        ]);\n```\n\nHowever, the SWF client only returns the first 100 events. I could handle this using the pagination, but I'd prefer having also bigger pages, especially because AWS states in the docs, that the default page size is 1.000.\n\nIs this just bad usage or is there perhaps a bug..?\nThanks for the help!\n\nPascal\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-php/issues/comments/257459149","html_url":"https://github.com/aws/aws-sdk-php/issues/1113#issuecomment-257459149","issue_url":"https://api.github.com/repos/aws/aws-sdk-php/issues/1113","id":257459149,"user":{"login":"cjyclaire","id":10790394,"avatar_url":"https://avatars.githubusercontent.com/u/10790394?v=3","gravatar_id":"","url":"https://api.github.com/users/cjyclaire","html_url":"https://github.com/cjyclaire","followers_url":"https://api.github.com/users/cjyclaire/followers","following_url":"https://api.github.com/users/cjyclaire/following{/other_user}","gists_url":"https://api.github.com/users/cjyclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/cjyclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjyclaire/subscriptions","organizations_url":"https://api.github.com/users/cjyclaire/orgs","repos_url":"https://api.github.com/users/cjyclaire/repos","events_url":"https://api.github.com/users/cjyclaire/events{/privacy}","received_events_url":"https://api.github.com/users/cjyclaire/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T00:21:10Z","updated_at":"2016-11-01T00:21:10Z","body":"@ppaulis Apology for getting back late on this, yet I couldn't reproduce the issue with `maximumPageSize` parameter, I didn't do anything different with your code snippet in calling the API. Thus I'm curious about why it goes wrong on your side.\r\n\r\nMay I ask is there other error thrown when you notice this behavior? Could you double check that `maximumPageSize` is spelled correctly? Because non-required typo parameters won't make it to server side in SDK.\r\n"}}
{"actor":{"display_login":"cjyclaire"}}