{"action":"opened","number":1294,"pull_request":{"url":"https://api.github.com/repos/spulec/moto/pulls/1294","id":148138978,"html_url":"https://github.com/spulec/moto/pull/1294","diff_url":"https://github.com/spulec/moto/pull/1294.diff","patch_url":"https://github.com/spulec/moto/pull/1294.patch","issue_url":"https://api.github.com/repos/spulec/moto/issues/1294","number":1294,"state":"open","locked":false,"title":"[DNM]Support IoT","user":{"login":"toshitanian","id":1647045,"avatar_url":"https://avatars3.githubusercontent.com/u/1647045?v=4","gravatar_id":"","url":"https://api.github.com/users/toshitanian","html_url":"https://github.com/toshitanian","followers_url":"https://api.github.com/users/toshitanian/followers","following_url":"https://api.github.com/users/toshitanian/following{/other_user}","gists_url":"https://api.github.com/users/toshitanian/gists{/gist_id}","starred_url":"https://api.github.com/users/toshitanian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toshitanian/subscriptions","organizations_url":"https://api.github.com/users/toshitanian/orgs","repos_url":"https://api.github.com/users/toshitanian/repos","events_url":"https://api.github.com/users/toshitanian/events{/privacy}","received_events_url":"https://api.github.com/users/toshitanian/received_events","type":"User","site_admin":false},"body":"This can go after #1291 , because this PR include the commits in the PR.\r\n\r\nSupported basic AWS IoT operations. Error handling is not enough though.\r\n\r\n```\r\n-----------------------\r\niot - 45% implemented\r\n-----------------------\r\n[ ] accept_certificate_transfer\r\n[X] attach_principal_policy\r\n[X] attach_thing_principal\r\n[ ] cancel_certificate_transfer\r\n[ ] create_certificate_from_csr\r\n[X] create_keys_and_certificate\r\n[X] create_policy\r\n[ ] create_policy_version\r\n[X] create_thing\r\n[X] create_thing_type\r\n[ ] create_topic_rule\r\n[ ] delete_ca_certificate\r\n[X] delete_certificate\r\n[X] delete_policy\r\n[ ] delete_policy_version\r\n[ ] delete_registration_code\r\n[X] delete_thing\r\n[X] delete_thing_type\r\n[ ] delete_topic_rule\r\n[ ] deprecate_thing_type\r\n[ ] describe_ca_certificate\r\n[X] describe_certificate\r\n[ ] describe_endpoint\r\n[X] describe_thing\r\n[X] describe_thing_type\r\n[X] detach_principal_policy\r\n[X] detach_thing_principal\r\n[ ] disable_topic_rule\r\n[ ] enable_topic_rule\r\n[ ] get_logging_options\r\n[X] get_policy\r\n[ ] get_policy_version\r\n[ ] get_registration_code\r\n[ ] get_topic_rule\r\n[ ] list_ca_certificates\r\n[X] list_certificates\r\n[ ] list_certificates_by_ca\r\n[ ] list_outgoing_certificates\r\n[X] list_policies\r\n[X] list_policy_principals\r\n[ ] list_policy_versions\r\n[X] list_principal_policies\r\n[X] list_principal_things\r\n[X] list_thing_principals\r\n[X] list_thing_types\r\n[X] list_things\r\n[ ] list_topic_rules\r\n[ ] register_ca_certificate\r\n[ ] register_certificate\r\n[ ] reject_certificate_transfer\r\n[ ] replace_topic_rule\r\n[ ] set_default_policy_version\r\n[ ] set_logging_options\r\n[ ] transfer_certificate\r\n[ ] update_ca_certificate\r\n[X] update_certificate\r\n[X] update_thing\r\n```\r\n\r\n","created_at":"2017-10-23T13:58:34Z","updated_at":"2017-10-23T13:58:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/spulec/moto/pulls/1294/commits","review_comments_url":"https://api.github.com/repos/spulec/moto/pulls/1294/comments","review_comment_url":"https://api.github.com/repos/spulec/moto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spulec/moto/issues/1294/comments","statuses_url":"https://api.github.com/repos/spulec/moto/statuses/260fdfb6c62c141bed7849490ef642bf441972b5","head":{"label":"toshitanian:support-iot","ref":"support-iot","sha":"260fdfb6c62c141bed7849490ef642bf441972b5","user":{"login":"toshitanian","id":1647045,"avatar_url":"https://avatars3.githubusercontent.com/u/1647045?v=4","gravatar_id":"","url":"https://api.github.com/users/toshitanian","html_url":"https://github.com/toshitanian","followers_url":"https://api.github.com/users/toshitanian/followers","following_url":"https://api.github.com/users/toshitanian/following{/other_user}","gists_url":"https://api.github.com/users/toshitanian/gists{/gist_id}","starred_url":"https://api.github.com/users/toshitanian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toshitanian/subscriptions","organizations_url":"https://api.github.com/users/toshitanian/orgs","repos_url":"https://api.github.com/users/toshitanian/repos","events_url":"https://api.github.com/users/toshitanian/events{/privacy}","received_events_url":"https://api.github.com/users/toshitanian/received_events","type":"User","site_admin":false},"repo":{"id":100605221,"name":"moto","full_name":"toshitanian/moto","owner":{"login":"toshitanian","id":1647045,"avatar_url":"https://avatars3.githubusercontent.com/u/1647045?v=4","gravatar_id":"","url":"https://api.github.com/users/toshitanian","html_url":"https://github.com/toshitanian","followers_url":"https://api.github.com/users/toshitanian/followers","following_url":"https://api.github.com/users/toshitanian/following{/other_user}","gists_url":"https://api.github.com/users/toshitanian/gists{/gist_id}","starred_url":"https://api.github.com/users/toshitanian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toshitanian/subscriptions","organizations_url":"https://api.github.com/users/toshitanian/orgs","repos_url":"https://api.github.com/users/toshitanian/repos","events_url":"https://api.github.com/users/toshitanian/events{/privacy}","received_events_url":"https://api.github.com/users/toshitanian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toshitanian/moto","description":"Moto is a library that allows your python tests to easily mock out the boto library","fork":true,"url":"https://api.github.com/repos/toshitanian/moto","forks_url":"https://api.github.com/repos/toshitanian/moto/forks","keys_url":"https://api.github.com/repos/toshitanian/moto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toshitanian/moto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toshitanian/moto/teams","hooks_url":"https://api.github.com/repos/toshitanian/moto/hooks","issue_events_url":"https://api.github.com/repos/toshitanian/moto/issues/events{/number}","events_url":"https://api.github.com/repos/toshitanian/moto/events","assignees_url":"https://api.github.com/repos/toshitanian/moto/assignees{/user}","branches_url":"https://api.github.com/repos/toshitanian/moto/branches{/branch}","tags_url":"https://api.github.com/repos/toshitanian/moto/tags","blobs_url":"https://api.github.com/repos/toshitanian/moto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toshitanian/moto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toshitanian/moto/git/refs{/sha}","trees_url":"https://api.github.com/repos/toshitanian/moto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toshitanian/moto/statuses/{sha}","languages_url":"https://api.github.com/repos/toshitanian/moto/languages","stargazers_url":"https://api.github.com/repos/toshitanian/moto/stargazers","contributors_url":"https://api.github.com/repos/toshitanian/moto/contributors","subscribers_url":"https://api.github.com/repos/toshitanian/moto/subscribers","subscription_url":"https://api.github.com/repos/toshitanian/moto/subscription","commits_url":"https://api.github.com/repos/toshitanian/moto/commits{/sha}","git_commits_url":"https://api.github.com/repos/toshitanian/moto/git/commits{/sha}","comments_url":"https://api.github.com/repos/toshitanian/moto/comments{/number}","issue_comment_url":"https://api.github.com/repos/toshitanian/moto/issues/comments{/number}","contents_url":"https://api.github.com/repos/toshitanian/moto/contents/{+path}","compare_url":"https://api.github.com/repos/toshitanian/moto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toshitanian/moto/merges","archive_url":"https://api.github.com/repos/toshitanian/moto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toshitanian/moto/downloads","issues_url":"https://api.github.com/repos/toshitanian/moto/issues{/number}","pulls_url":"https://api.github.com/repos/toshitanian/moto/pulls{/number}","milestones_url":"https://api.github.com/repos/toshitanian/moto/milestones{/number}","notifications_url":"https://api.github.com/repos/toshitanian/moto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toshitanian/moto/labels{/name}","releases_url":"https://api.github.com/repos/toshitanian/moto/releases{/id}","deployments_url":"https://api.github.com/repos/toshitanian/moto/deployments","created_at":"2017-08-17T13:15:50Z","updated_at":"2017-08-17T13:15:52Z","pushed_at":"2017-10-23T13:51:12Z","git_url":"git://github.com/toshitanian/moto.git","ssh_url":"git@github.com:toshitanian/moto.git","clone_url":"https://github.com/toshitanian/moto.git","svn_url":"https://github.com/toshitanian/moto","homepage":null,"size":6357,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spulec:master","ref":"master","sha":"66a554470b5b14c304f71781f5eac594de12594f","user":{"login":"spulec","id":292606,"avatar_url":"https://avatars2.githubusercontent.com/u/292606?v=4","gravatar_id":"","url":"https://api.github.com/users/spulec","html_url":"https://github.com/spulec","followers_url":"https://api.github.com/users/spulec/followers","following_url":"https://api.github.com/users/spulec/following{/other_user}","gists_url":"https://api.github.com/users/spulec/gists{/gist_id}","starred_url":"https://api.github.com/users/spulec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spulec/subscriptions","organizations_url":"https://api.github.com/users/spulec/orgs","repos_url":"https://api.github.com/users/spulec/repos","events_url":"https://api.github.com/users/spulec/events{/privacy}","received_events_url":"https://api.github.com/users/spulec/received_events","type":"User","site_admin":false},"repo":{"id":8277372,"name":"moto","full_name":"spulec/moto","owner":{"login":"spulec","id":292606,"avatar_url":"https://avatars2.githubusercontent.com/u/292606?v=4","gravatar_id":"","url":"https://api.github.com/users/spulec","html_url":"https://github.com/spulec","followers_url":"https://api.github.com/users/spulec/followers","following_url":"https://api.github.com/users/spulec/following{/other_user}","gists_url":"https://api.github.com/users/spulec/gists{/gist_id}","starred_url":"https://api.github.com/users/spulec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spulec/subscriptions","organizations_url":"https://api.github.com/users/spulec/orgs","repos_url":"https://api.github.com/users/spulec/repos","events_url":"https://api.github.com/users/spulec/events{/privacy}","received_events_url":"https://api.github.com/users/spulec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spulec/moto","description":"Moto is a library that allows your python tests to easily mock out the boto library","fork":false,"url":"https://api.github.com/repos/spulec/moto","forks_url":"https://api.github.com/repos/spulec/moto/forks","keys_url":"https://api.github.com/repos/spulec/moto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spulec/moto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spulec/moto/teams","hooks_url":"https://api.github.com/repos/spulec/moto/hooks","issue_events_url":"https://api.github.com/repos/spulec/moto/issues/events{/number}","events_url":"https://api.github.com/repos/spulec/moto/events","assignees_url":"https://api.github.com/repos/spulec/moto/assignees{/user}","branches_url":"https://api.github.com/repos/spulec/moto/branches{/branch}","tags_url":"https://api.github.com/repos/spulec/moto/tags","blobs_url":"https://api.github.com/repos/spulec/moto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spulec/moto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spulec/moto/git/refs{/sha}","trees_url":"https://api.github.com/repos/spulec/moto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spulec/moto/statuses/{sha}","languages_url":"https://api.github.com/repos/spulec/moto/languages","stargazers_url":"https://api.github.com/repos/spulec/moto/stargazers","contributors_url":"https://api.github.com/repos/spulec/moto/contributors","subscribers_url":"https://api.github.com/repos/spulec/moto/subscribers","subscription_url":"https://api.github.com/repos/spulec/moto/subscription","commits_url":"https://api.github.com/repos/spulec/moto/commits{/sha}","git_commits_url":"https://api.github.com/repos/spulec/moto/git/commits{/sha}","comments_url":"https://api.github.com/repos/spulec/moto/comments{/number}","issue_comment_url":"https://api.github.com/repos/spulec/moto/issues/comments{/number}","contents_url":"https://api.github.com/repos/spulec/moto/contents/{+path}","compare_url":"https://api.github.com/repos/spulec/moto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spulec/moto/merges","archive_url":"https://api.github.com/repos/spulec/moto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spulec/moto/downloads","issues_url":"https://api.github.com/repos/spulec/moto/issues{/number}","pulls_url":"https://api.github.com/repos/spulec/moto/pulls{/number}","milestones_url":"https://api.github.com/repos/spulec/moto/milestones{/number}","notifications_url":"https://api.github.com/repos/spulec/moto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spulec/moto/labels{/name}","releases_url":"https://api.github.com/repos/spulec/moto/releases{/id}","deployments_url":"https://api.github.com/repos/spulec/moto/deployments","created_at":"2013-02-18T21:10:59Z","updated_at":"2017-10-23T03:19:57Z","pushed_at":"2017-10-23T13:52:13Z","git_url":"git://github.com/spulec/moto.git","ssh_url":"git@github.com:spulec/moto.git","clone_url":"https://github.com/spulec/moto.git","svn_url":"https://github.com/spulec/moto","homepage":null,"size":6280,"stargazers_count":1343,"watchers_count":1343,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":439,"mirror_url":null,"archived":false,"open_issues_count":113,"forks":439,"open_issues":113,"watchers":1343,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spulec/moto/pulls/1294"},"html":{"href":"https://github.com/spulec/moto/pull/1294"},"issue":{"href":"https://api.github.com/repos/spulec/moto/issues/1294"},"comments":{"href":"https://api.github.com/repos/spulec/moto/issues/1294/comments"},"review_comments":{"href":"https://api.github.com/repos/spulec/moto/pulls/1294/comments"},"review_comment":{"href":"https://api.github.com/repos/spulec/moto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spulec/moto/pulls/1294/commits"},"statuses":{"href":"https://api.github.com/repos/spulec/moto/statuses/260fdfb6c62c141bed7849490ef642bf441972b5"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":16,"additions":983,"deletions":64,"changed_files":14}}
{"actor":{"display_login":"toshitanian"}}