{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible/pulls/comments/116985361","pull_request_review_id":38650084,"id":116985361,"diff_hunk":"@@ -0,0 +1,198 @@\n+#!/usr/bin/python\n+# This file is part of Ansible\n+#\n+# Ansible is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# Ansible is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with Ansible.  If not, see <http://www.gnu.org/licenses/>.\n+\n+ANSIBLE_METADATA = {'metadata_version': '1.0',\n+                    'status': ['preview'],\n+                    'supported_by': 'community'}\n+\n+DOCUMENTATION = '''\n+---\n+module: cloudfront_invalidation\n+short_description: create invalidations for aws cloudfront distributions\n+description:\n+    - Allows for invalidation of a batch of paths for a CloudFront distribution.\n+requirements:\n+  - boto3 >= 1.0.0\n+  - python >= 2.6\n+version_added: \"2.4\"\n+author: Willem van Ketwich (@wilvk)\n+options:\n+    distribution_id:\n+      description:\n+        - The alias of the cloudfront distribution.\n+          Can be specified instead of distribution_id.\n+      required: false\n+    caller_reference:\n+      description:\n+        - The id of the cloudfront distribution.","path":"lib/ansible/modules/cloud/amazon/cloudfront_invalidation.py","position":null,"original_position":40,"commit_id":"1697c7d7b897d5b03f9a3ba06c651f7cc9a5e472","original_commit_id":"3343a2f1604c6b7218865f6da41e12c0d4570e72","user":{"login":"wilvk","id":253063,"avatar_url":"https://avatars0.githubusercontent.com/u/253063?v=3","gravatar_id":"","url":"https://api.github.com/users/wilvk","html_url":"https://github.com/wilvk","followers_url":"https://api.github.com/users/wilvk/followers","following_url":"https://api.github.com/users/wilvk/following{/other_user}","gists_url":"https://api.github.com/users/wilvk/gists{/gist_id}","starred_url":"https://api.github.com/users/wilvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilvk/subscriptions","organizations_url":"https://api.github.com/users/wilvk/orgs","repos_url":"https://api.github.com/users/wilvk/repos","events_url":"https://api.github.com/users/wilvk/events{/privacy}","received_events_url":"https://api.github.com/users/wilvk/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2017-05-17T12:29:10Z","updated_at":"2017-05-17T12:29:10Z","html_url":"https://github.com/ansible/ansible/pull/24567#discussion_r116985361","pull_request_url":"https://api.github.com/repos/ansible/ansible/pulls/24567","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments/116985361"},"html":{"href":"https://github.com/ansible/ansible/pull/24567#discussion_r116985361"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible/pulls/24567"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/24567","id":120414929,"html_url":"https://github.com/ansible/ansible/pull/24567","diff_url":"https://github.com/ansible/ansible/pull/24567.diff","patch_url":"https://github.com/ansible/ansible/pull/24567.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/24567","number":24567,"state":"open","locked":false,"title":"cloudfront_invalidation.py module","user":{"login":"wilvk","id":253063,"avatar_url":"https://avatars0.githubusercontent.com/u/253063?v=3","gravatar_id":"","url":"https://api.github.com/users/wilvk","html_url":"https://github.com/wilvk","followers_url":"https://api.github.com/users/wilvk/followers","following_url":"https://api.github.com/users/wilvk/following{/other_user}","gists_url":"https://api.github.com/users/wilvk/gists{/gist_id}","starred_url":"https://api.github.com/users/wilvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilvk/subscriptions","organizations_url":"https://api.github.com/users/wilvk/orgs","repos_url":"https://api.github.com/users/wilvk/repos","events_url":"https://api.github.com/users/wilvk/events{/privacy}","received_events_url":"https://api.github.com/users/wilvk/received_events","type":"User","site_admin":false},"body":"##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\nAs advised by @ryansb in PR #24292 this comprises the invalidation component of the cloudfront module additions.\r\n<!---\r\nIf you are fixing an existing issue, please include \"Fixes #nnn\" in your\r\ncommit message and your description; but you should still explain what\r\nthe change does.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - New Module Pull Request\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the module/plugin/module/task -->\r\nlib/ansible/modules/cloud/amazon/cloudfront_invalidation.py\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.4.0 (cloudfront_invalidation 3343a2f160) last updated 2017/05/13 08:00:13 (GMT +1100)\r\n  config file =\r\n  configured module search path = [u'/Users/willvk/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /Users/willvk/Source/gits/ansibles/ansible/lib/ansible\r\n  executable location = /Users/willvk/Source/gits/ansibles/ansible/bin/ansible\r\n  python version = 2.7.10 (default, Feb  6 2017, 23:53:20) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]\r\n```\r\n\r\n\r\n##### ADDITIONAL INFORMATION\r\n<!---\r\nInclude additional information to help people understand the change here.\r\nFor bugs that don't have a linked bug report, a step-by-step reproduction\r\nof the problem is helpful.\r\n  -->\r\n\r\n<!--- Paste verbatim command output below, e.g. before and after your change -->\r\n```\r\n\r\n```\r\n","created_at":"2017-05-12T22:07:01Z","updated_at":"2017-05-17T12:29:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40c2e3c4fb5e1a8c0d9f30bdb76100aa77909b18","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/24567/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/24567/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/24567/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/1697c7d7b897d5b03f9a3ba06c651f7cc9a5e472","head":{"label":"wilvk:cloudfront_invalidation","ref":"cloudfront_invalidation","sha":"1697c7d7b897d5b03f9a3ba06c651f7cc9a5e472","user":{"login":"wilvk","id":253063,"avatar_url":"https://avatars0.githubusercontent.com/u/253063?v=3","gravatar_id":"","url":"https://api.github.com/users/wilvk","html_url":"https://github.com/wilvk","followers_url":"https://api.github.com/users/wilvk/followers","following_url":"https://api.github.com/users/wilvk/following{/other_user}","gists_url":"https://api.github.com/users/wilvk/gists{/gist_id}","starred_url":"https://api.github.com/users/wilvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilvk/subscriptions","organizations_url":"https://api.github.com/users/wilvk/orgs","repos_url":"https://api.github.com/users/wilvk/repos","events_url":"https://api.github.com/users/wilvk/events{/privacy}","received_events_url":"https://api.github.com/users/wilvk/received_events","type":"User","site_admin":false},"repo":{"id":77588763,"name":"ansible","full_name":"wilvk/ansible","owner":{"login":"wilvk","id":253063,"avatar_url":"https://avatars0.githubusercontent.com/u/253063?v=3","gravatar_id":"","url":"https://api.github.com/users/wilvk","html_url":"https://github.com/wilvk","followers_url":"https://api.github.com/users/wilvk/followers","following_url":"https://api.github.com/users/wilvk/following{/other_user}","gists_url":"https://api.github.com/users/wilvk/gists{/gist_id}","starred_url":"https://api.github.com/users/wilvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilvk/subscriptions","organizations_url":"https://api.github.com/users/wilvk/orgs","repos_url":"https://api.github.com/users/wilvk/repos","events_url":"https://api.github.com/users/wilvk/events{/privacy}","received_events_url":"https://api.github.com/users/wilvk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wilvk/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":true,"url":"https://api.github.com/repos/wilvk/ansible","forks_url":"https://api.github.com/repos/wilvk/ansible/forks","keys_url":"https://api.github.com/repos/wilvk/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wilvk/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wilvk/ansible/teams","hooks_url":"https://api.github.com/repos/wilvk/ansible/hooks","issue_events_url":"https://api.github.com/repos/wilvk/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/wilvk/ansible/events","assignees_url":"https://api.github.com/repos/wilvk/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/wilvk/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/wilvk/ansible/tags","blobs_url":"https://api.github.com/repos/wilvk/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wilvk/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wilvk/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/wilvk/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wilvk/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/wilvk/ansible/languages","stargazers_url":"https://api.github.com/repos/wilvk/ansible/stargazers","contributors_url":"https://api.github.com/repos/wilvk/ansible/contributors","subscribers_url":"https://api.github.com/repos/wilvk/ansible/subscribers","subscription_url":"https://api.github.com/repos/wilvk/ansible/subscription","commits_url":"https://api.github.com/repos/wilvk/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/wilvk/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/wilvk/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/wilvk/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/wilvk/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/wilvk/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wilvk/ansible/merges","archive_url":"https://api.github.com/repos/wilvk/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wilvk/ansible/downloads","issues_url":"https://api.github.com/repos/wilvk/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/wilvk/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/wilvk/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/wilvk/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wilvk/ansible/labels{/name}","releases_url":"https://api.github.com/repos/wilvk/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/wilvk/ansible/deployments","created_at":"2016-12-29T06:27:59Z","updated_at":"2016-12-29T06:28:15Z","pushed_at":"2017-05-17T12:22:28Z","git_url":"git://github.com/wilvk/ansible.git","ssh_url":"git@github.com:wilvk/ansible.git","clone_url":"https://github.com/wilvk/ansible.git","svn_url":"https://github.com/wilvk/ansible","homepage":"http://ansible.com/","size":71856,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"822fcc566e8826cdf0300a14d1370f823a59b5a5","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars1.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars1.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible/deployments","created_at":"2012-03-06T14:58:02Z","updated_at":"2017-05-17T12:17:41Z","pushed_at":"2017-05-17T12:22:31Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"http://ansible.com/","size":73571,"stargazers_count":23165,"watchers_count":23165,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7708,"mirror_url":null,"open_issues_count":3164,"forks":7708,"open_issues":3164,"watchers":23165,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/24567"},"html":{"href":"https://github.com/ansible/ansible/pull/24567"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/24567"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/24567/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/24567/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/24567/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/1697c7d7b897d5b03f9a3ba06c651f7cc9a5e472"}}}}
{"actor":{"display_login":"wilvk"}}