{"action":"created","issue":{"url":"https://api.github.com/repos/boto/boto3/issues/305","repository_url":"https://api.github.com/repos/boto/boto3","labels_url":"https://api.github.com/repos/boto/boto3/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/boto/boto3/issues/305/comments","events_url":"https://api.github.com/repos/boto/boto3/issues/305/events","html_url":"https://github.com/boto/boto3/issues/305","id":111744895,"number":305,"title":"InvalidTypeException when attempting to set access policies through update_elasticsearch_domain_config","user":{"login":"fperks","id":770442,"avatar_url":"https://avatars.githubusercontent.com/u/770442?v=3","gravatar_id":"","url":"https://api.github.com/users/fperks","html_url":"https://github.com/fperks","followers_url":"https://api.github.com/users/fperks/followers","following_url":"https://api.github.com/users/fperks/following{/other_user}","gists_url":"https://api.github.com/users/fperks/gists{/gist_id}","starred_url":"https://api.github.com/users/fperks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fperks/subscriptions","organizations_url":"https://api.github.com/users/fperks/orgs","repos_url":"https://api.github.com/users/fperks/repos","events_url":"https://api.github.com/users/fperks/events{/privacy}","received_events_url":"https://api.github.com/users/fperks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/boto/boto3/labels/api-question","name":"api-question","color":"cc317c"},{"url":"https://api.github.com/repos/boto/boto3/labels/investigating","name":"investigating","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"mtdowling","id":190930,"avatar_url":"https://avatars.githubusercontent.com/u/190930?v=3","gravatar_id":"","url":"https://api.github.com/users/mtdowling","html_url":"https://github.com/mtdowling","followers_url":"https://api.github.com/users/mtdowling/followers","following_url":"https://api.github.com/users/mtdowling/following{/other_user}","gists_url":"https://api.github.com/users/mtdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdowling/subscriptions","organizations_url":"https://api.github.com/users/mtdowling/orgs","repos_url":"https://api.github.com/users/mtdowling/repos","events_url":"https://api.github.com/users/mtdowling/events{/privacy}","received_events_url":"https://api.github.com/users/mtdowling/received_events","type":"User","site_admin":false},"assignees":[{"login":"mtdowling","id":190930,"avatar_url":"https://avatars.githubusercontent.com/u/190930?v=3","gravatar_id":"","url":"https://api.github.com/users/mtdowling","html_url":"https://github.com/mtdowling","followers_url":"https://api.github.com/users/mtdowling/followers","following_url":"https://api.github.com/users/mtdowling/following{/other_user}","gists_url":"https://api.github.com/users/mtdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdowling/subscriptions","organizations_url":"https://api.github.com/users/mtdowling/orgs","repos_url":"https://api.github.com/users/mtdowling/repos","events_url":"https://api.github.com/users/mtdowling/events{/privacy}","received_events_url":"https://api.github.com/users/mtdowling/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2015-10-16T02:19:33Z","updated_at":"2016-08-25T07:58:11Z","closed_at":null,"body":"Anytime i try to update the access policies through update_elasticsearch_domain_config, i get the following error:\r\n\r\n`botocore.exceptions.ClientError: An error occurred (InvalidTypeException) when calling the UpdateElasticsearchDomainConfig operation: Error setting policy: [{\"Sid\":\"fsasaafffff\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Action\":\"es:*\",\"Resource\":\"arn:aws:es:us-west-2:XXXXXXXXX:domain/int-XXXXXX-XXXXX/*\"}]}}]`\r\n\r\nIt isn't the policy that seems to be the error, since i can set the exact same policy through awscli or the ui. Which leads me to believe i am passing it incorrectly somehow. I have tried every combination of storing it as a file, minified, unminifed, passing it in directly as a raw string, doing a json.dumps on it first, etc. \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/boto/boto3/issues/comments/242309178","html_url":"https://github.com/boto/boto3/issues/305#issuecomment-242309178","issue_url":"https://api.github.com/repos/boto/boto3/issues/305","id":242309178,"user":{"login":"fiunchinho","id":627038,"avatar_url":"https://avatars.githubusercontent.com/u/627038?v=3","gravatar_id":"","url":"https://api.github.com/users/fiunchinho","html_url":"https://github.com/fiunchinho","followers_url":"https://api.github.com/users/fiunchinho/followers","following_url":"https://api.github.com/users/fiunchinho/following{/other_user}","gists_url":"https://api.github.com/users/fiunchinho/gists{/gist_id}","starred_url":"https://api.github.com/users/fiunchinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiunchinho/subscriptions","organizations_url":"https://api.github.com/users/fiunchinho/orgs","repos_url":"https://api.github.com/users/fiunchinho/repos","events_url":"https://api.github.com/users/fiunchinho/events{/privacy}","received_events_url":"https://api.github.com/users/fiunchinho/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T07:58:10Z","updated_at":"2016-08-25T07:58:10Z","body":"any news on this? Still facing this issue almost one year later :("}}
{"actor":{"display_login":"fiunchinho"}}