UNPKG

45.3 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "uid": "iot-2015-05-28",
5 "apiVersion": "2015-05-28",
6 "endpointPrefix": "iot",
7 "serviceFullName": "AWS IoT",
8 "signatureVersion": "v4",
9 "signingName": "execute-api",
10 "protocol": "rest-json"
11 },
12 "operations": {
13 "AcceptCertificateTransfer": {
14 "http": {
15 "method": "PATCH",
16 "requestUri": "/accept-certificate-transfer/{certificateId}"
17 },
18 "input": {
19 "type": "structure",
20 "required": [
21 "certificateId"
22 ],
23 "members": {
24 "certificateId": {
25 "location": "uri",
26 "locationName": "certificateId"
27 },
28 "setAsActive": {
29 "location": "querystring",
30 "locationName": "setAsActive",
31 "type": "boolean"
32 }
33 }
34 }
35 },
36 "AttachPrincipalPolicy": {
37 "http": {
38 "method": "PUT",
39 "requestUri": "/principal-policies/{policyName}"
40 },
41 "input": {
42 "type": "structure",
43 "required": [
44 "policyName",
45 "principal"
46 ],
47 "members": {
48 "policyName": {
49 "location": "uri",
50 "locationName": "policyName"
51 },
52 "principal": {
53 "location": "header",
54 "locationName": "x-amzn-iot-principal"
55 }
56 }
57 }
58 },
59 "AttachThingPrincipal": {
60 "http": {
61 "method": "PUT",
62 "requestUri": "/things/{thingName}/principals"
63 },
64 "input": {
65 "type": "structure",
66 "required": [
67 "thingName",
68 "principal"
69 ],
70 "members": {
71 "thingName": {
72 "location": "uri",
73 "locationName": "thingName"
74 },
75 "principal": {
76 "location": "header",
77 "locationName": "x-amzn-principal"
78 }
79 }
80 },
81 "output": {
82 "type": "structure",
83 "members": {}
84 }
85 },
86 "CancelCertificateTransfer": {
87 "http": {
88 "method": "PATCH",
89 "requestUri": "/cancel-certificate-transfer/{certificateId}"
90 },
91 "input": {
92 "type": "structure",
93 "required": [
94 "certificateId"
95 ],
96 "members": {
97 "certificateId": {
98 "location": "uri",
99 "locationName": "certificateId"
100 }
101 }
102 }
103 },
104 "CreateCertificateFromCsr": {
105 "http": {
106 "requestUri": "/certificates"
107 },
108 "input": {
109 "type": "structure",
110 "required": [
111 "certificateSigningRequest"
112 ],
113 "members": {
114 "certificateSigningRequest": {},
115 "setAsActive": {
116 "location": "querystring",
117 "locationName": "setAsActive",
118 "type": "boolean"
119 }
120 }
121 },
122 "output": {
123 "type": "structure",
124 "members": {
125 "certificateArn": {},
126 "certificateId": {},
127 "certificatePem": {}
128 }
129 }
130 },
131 "CreateKeysAndCertificate": {
132 "http": {
133 "requestUri": "/keys-and-certificate"
134 },
135 "input": {
136 "type": "structure",
137 "members": {
138 "setAsActive": {
139 "location": "querystring",
140 "locationName": "setAsActive",
141 "type": "boolean"
142 }
143 }
144 },
145 "output": {
146 "type": "structure",
147 "members": {
148 "certificateArn": {},
149 "certificateId": {},
150 "certificatePem": {},
151 "keyPair": {
152 "type": "structure",
153 "members": {
154 "PublicKey": {},
155 "PrivateKey": {
156 "type": "string",
157 "sensitive": true
158 }
159 }
160 }
161 }
162 }
163 },
164 "CreatePolicy": {
165 "http": {
166 "requestUri": "/policies/{policyName}"
167 },
168 "input": {
169 "type": "structure",
170 "required": [
171 "policyName",
172 "policyDocument"
173 ],
174 "members": {
175 "policyName": {
176 "location": "uri",
177 "locationName": "policyName"
178 },
179 "policyDocument": {}
180 }
181 },
182 "output": {
183 "type": "structure",
184 "members": {
185 "policyName": {},
186 "policyArn": {},
187 "policyDocument": {},
188 "policyVersionId": {}
189 }
190 }
191 },
192 "CreatePolicyVersion": {
193 "http": {
194 "requestUri": "/policies/{policyName}/version"
195 },
196 "input": {
197 "type": "structure",
198 "required": [
199 "policyName",
200 "policyDocument"
201 ],
202 "members": {
203 "policyName": {
204 "location": "uri",
205 "locationName": "policyName"
206 },
207 "policyDocument": {},
208 "setAsDefault": {
209 "location": "querystring",
210 "locationName": "setAsDefault",
211 "type": "boolean"
212 }
213 }
214 },
215 "output": {
216 "type": "structure",
217 "members": {
218 "policyArn": {},
219 "policyDocument": {},
220 "policyVersionId": {},
221 "isDefaultVersion": {
222 "type": "boolean"
223 }
224 }
225 }
226 },
227 "CreateThing": {
228 "http": {
229 "requestUri": "/things/{thingName}"
230 },
231 "input": {
232 "type": "structure",
233 "required": [
234 "thingName"
235 ],
236 "members": {
237 "thingName": {
238 "location": "uri",
239 "locationName": "thingName"
240 },
241 "thingTypeName": {},
242 "attributePayload": {
243 "shape": "Sw"
244 }
245 }
246 },
247 "output": {
248 "type": "structure",
249 "members": {
250 "thingName": {},
251 "thingArn": {}
252 }
253 }
254 },
255 "CreateThingType": {
256 "http": {
257 "requestUri": "/thing-types/{thingTypeName}"
258 },
259 "input": {
260 "type": "structure",
261 "required": [
262 "thingTypeName"
263 ],
264 "members": {
265 "thingTypeName": {
266 "location": "uri",
267 "locationName": "thingTypeName"
268 },
269 "thingTypeProperties": {
270 "shape": "S14"
271 }
272 }
273 },
274 "output": {
275 "type": "structure",
276 "members": {
277 "thingTypeName": {},
278 "thingTypeArn": {}
279 }
280 }
281 },
282 "CreateTopicRule": {
283 "http": {
284 "requestUri": "/rules/{ruleName}"
285 },
286 "input": {
287 "type": "structure",
288 "required": [
289 "ruleName",
290 "topicRulePayload"
291 ],
292 "members": {
293 "ruleName": {
294 "location": "uri",
295 "locationName": "ruleName"
296 },
297 "topicRulePayload": {
298 "shape": "S1b"
299 }
300 },
301 "payload": "topicRulePayload"
302 }
303 },
304 "DeleteCACertificate": {
305 "http": {
306 "method": "DELETE",
307 "requestUri": "/cacertificate/{caCertificateId}"
308 },
309 "input": {
310 "type": "structure",
311 "required": [
312 "certificateId"
313 ],
314 "members": {
315 "certificateId": {
316 "location": "uri",
317 "locationName": "caCertificateId"
318 }
319 }
320 },
321 "output": {
322 "type": "structure",
323 "members": {}
324 }
325 },
326 "DeleteCertificate": {
327 "http": {
328 "method": "DELETE",
329 "requestUri": "/certificates/{certificateId}"
330 },
331 "input": {
332 "type": "structure",
333 "required": [
334 "certificateId"
335 ],
336 "members": {
337 "certificateId": {
338 "location": "uri",
339 "locationName": "certificateId"
340 }
341 }
342 }
343 },
344 "DeletePolicy": {
345 "http": {
346 "method": "DELETE",
347 "requestUri": "/policies/{policyName}"
348 },
349 "input": {
350 "type": "structure",
351 "required": [
352 "policyName"
353 ],
354 "members": {
355 "policyName": {
356 "location": "uri",
357 "locationName": "policyName"
358 }
359 }
360 }
361 },
362 "DeletePolicyVersion": {
363 "http": {
364 "method": "DELETE",
365 "requestUri": "/policies/{policyName}/version/{policyVersionId}"
366 },
367 "input": {
368 "type": "structure",
369 "required": [
370 "policyName",
371 "policyVersionId"
372 ],
373 "members": {
374 "policyName": {
375 "location": "uri",
376 "locationName": "policyName"
377 },
378 "policyVersionId": {
379 "location": "uri",
380 "locationName": "policyVersionId"
381 }
382 }
383 }
384 },
385 "DeleteRegistrationCode": {
386 "http": {
387 "method": "DELETE",
388 "requestUri": "/registrationcode"
389 },
390 "input": {
391 "type": "structure",
392 "members": {}
393 },
394 "output": {
395 "type": "structure",
396 "members": {}
397 }
398 },
399 "DeleteThing": {
400 "http": {
401 "method": "DELETE",
402 "requestUri": "/things/{thingName}"
403 },
404 "input": {
405 "type": "structure",
406 "required": [
407 "thingName"
408 ],
409 "members": {
410 "thingName": {
411 "location": "uri",
412 "locationName": "thingName"
413 },
414 "expectedVersion": {
415 "location": "querystring",
416 "locationName": "expectedVersion",
417 "type": "long"
418 }
419 }
420 },
421 "output": {
422 "type": "structure",
423 "members": {}
424 }
425 },
426 "DeleteThingType": {
427 "http": {
428 "method": "DELETE",
429 "requestUri": "/thing-types/{thingTypeName}"
430 },
431 "input": {
432 "type": "structure",
433 "required": [
434 "thingTypeName"
435 ],
436 "members": {
437 "thingTypeName": {
438 "location": "uri",
439 "locationName": "thingTypeName"
440 }
441 }
442 },
443 "output": {
444 "type": "structure",
445 "members": {}
446 }
447 },
448 "DeleteTopicRule": {
449 "http": {
450 "method": "DELETE",
451 "requestUri": "/rules/{ruleName}"
452 },
453 "input": {
454 "type": "structure",
455 "members": {
456 "ruleName": {
457 "location": "uri",
458 "locationName": "ruleName"
459 }
460 },
461 "required": [
462 "ruleName"
463 ]
464 }
465 },
466 "DeprecateThingType": {
467 "http": {
468 "requestUri": "/thing-types/{thingTypeName}/deprecate"
469 },
470 "input": {
471 "type": "structure",
472 "required": [
473 "thingTypeName"
474 ],
475 "members": {
476 "thingTypeName": {
477 "location": "uri",
478 "locationName": "thingTypeName"
479 },
480 "undoDeprecate": {
481 "type": "boolean"
482 }
483 }
484 },
485 "output": {
486 "type": "structure",
487 "members": {}
488 }
489 },
490 "DescribeCACertificate": {
491 "http": {
492 "method": "GET",
493 "requestUri": "/cacertificate/{caCertificateId}"
494 },
495 "input": {
496 "type": "structure",
497 "required": [
498 "certificateId"
499 ],
500 "members": {
501 "certificateId": {
502 "location": "uri",
503 "locationName": "caCertificateId"
504 }
505 }
506 },
507 "output": {
508 "type": "structure",
509 "members": {
510 "certificateDescription": {
511 "type": "structure",
512 "members": {
513 "certificateArn": {},
514 "certificateId": {},
515 "status": {},
516 "certificatePem": {},
517 "ownedBy": {},
518 "creationDate": {
519 "type": "timestamp"
520 },
521 "autoRegistrationStatus": {}
522 }
523 }
524 }
525 }
526 },
527 "DescribeCertificate": {
528 "http": {
529 "method": "GET",
530 "requestUri": "/certificates/{certificateId}"
531 },
532 "input": {
533 "type": "structure",
534 "required": [
535 "certificateId"
536 ],
537 "members": {
538 "certificateId": {
539 "location": "uri",
540 "locationName": "certificateId"
541 }
542 }
543 },
544 "output": {
545 "type": "structure",
546 "members": {
547 "certificateDescription": {
548 "type": "structure",
549 "members": {
550 "certificateArn": {},
551 "certificateId": {},
552 "caCertificateId": {},
553 "status": {},
554 "certificatePem": {},
555 "ownedBy": {},
556 "previousOwnedBy": {},
557 "creationDate": {
558 "type": "timestamp"
559 },
560 "lastModifiedDate": {
561 "type": "timestamp"
562 },
563 "transferData": {
564 "type": "structure",
565 "members": {
566 "transferMessage": {},
567 "rejectReason": {},
568 "transferDate": {
569 "type": "timestamp"
570 },
571 "acceptDate": {
572 "type": "timestamp"
573 },
574 "rejectDate": {
575 "type": "timestamp"
576 }
577 }
578 }
579 }
580 }
581 }
582 }
583 },
584 "DescribeEndpoint": {
585 "http": {
586 "method": "GET",
587 "requestUri": "/endpoint"
588 },
589 "input": {
590 "type": "structure",
591 "members": {}
592 },
593 "output": {
594 "type": "structure",
595 "members": {
596 "endpointAddress": {}
597 }
598 }
599 },
600 "DescribeThing": {
601 "http": {
602 "method": "GET",
603 "requestUri": "/things/{thingName}"
604 },
605 "input": {
606 "type": "structure",
607 "required": [
608 "thingName"
609 ],
610 "members": {
611 "thingName": {
612 "location": "uri",
613 "locationName": "thingName"
614 }
615 }
616 },
617 "output": {
618 "type": "structure",
619 "members": {
620 "defaultClientId": {},
621 "thingName": {},
622 "thingTypeName": {},
623 "attributes": {
624 "shape": "Sx"
625 },
626 "version": {
627 "type": "long"
628 }
629 }
630 }
631 },
632 "DescribeThingType": {
633 "http": {
634 "method": "GET",
635 "requestUri": "/thing-types/{thingTypeName}"
636 },
637 "input": {
638 "type": "structure",
639 "required": [
640 "thingTypeName"
641 ],
642 "members": {
643 "thingTypeName": {
644 "location": "uri",
645 "locationName": "thingTypeName"
646 }
647 }
648 },
649 "output": {
650 "type": "structure",
651 "members": {
652 "thingTypeName": {},
653 "thingTypeProperties": {
654 "shape": "S14"
655 },
656 "thingTypeMetadata": {
657 "shape": "S3u"
658 }
659 }
660 }
661 },
662 "DetachPrincipalPolicy": {
663 "http": {
664 "method": "DELETE",
665 "requestUri": "/principal-policies/{policyName}"
666 },
667 "input": {
668 "type": "structure",
669 "required": [
670 "policyName",
671 "principal"
672 ],
673 "members": {
674 "policyName": {
675 "location": "uri",
676 "locationName": "policyName"
677 },
678 "principal": {
679 "location": "header",
680 "locationName": "x-amzn-iot-principal"
681 }
682 }
683 }
684 },
685 "DetachThingPrincipal": {
686 "http": {
687 "method": "DELETE",
688 "requestUri": "/things/{thingName}/principals"
689 },
690 "input": {
691 "type": "structure",
692 "required": [
693 "thingName",
694 "principal"
695 ],
696 "members": {
697 "thingName": {
698 "location": "uri",
699 "locationName": "thingName"
700 },
701 "principal": {
702 "location": "header",
703 "locationName": "x-amzn-principal"
704 }
705 }
706 },
707 "output": {
708 "type": "structure",
709 "members": {}
710 }
711 },
712 "DisableTopicRule": {
713 "http": {
714 "requestUri": "/rules/{ruleName}/disable"
715 },
716 "input": {
717 "type": "structure",
718 "required": [
719 "ruleName"
720 ],
721 "members": {
722 "ruleName": {
723 "location": "uri",
724 "locationName": "ruleName"
725 }
726 }
727 }
728 },
729 "EnableTopicRule": {
730 "http": {
731 "requestUri": "/rules/{ruleName}/enable"
732 },
733 "input": {
734 "type": "structure",
735 "required": [
736 "ruleName"
737 ],
738 "members": {
739 "ruleName": {
740 "location": "uri",
741 "locationName": "ruleName"
742 }
743 }
744 }
745 },
746 "GetLoggingOptions": {
747 "http": {
748 "method": "GET",
749 "requestUri": "/loggingOptions"
750 },
751 "input": {
752 "type": "structure",
753 "members": {}
754 },
755 "output": {
756 "type": "structure",
757 "members": {
758 "roleArn": {},
759 "logLevel": {}
760 }
761 }
762 },
763 "GetPolicy": {
764 "http": {
765 "method": "GET",
766 "requestUri": "/policies/{policyName}"
767 },
768 "input": {
769 "type": "structure",
770 "required": [
771 "policyName"
772 ],
773 "members": {
774 "policyName": {
775 "location": "uri",
776 "locationName": "policyName"
777 }
778 }
779 },
780 "output": {
781 "type": "structure",
782 "members": {
783 "policyName": {},
784 "policyArn": {},
785 "policyDocument": {},
786 "defaultVersionId": {}
787 }
788 }
789 },
790 "GetPolicyVersion": {
791 "http": {
792 "method": "GET",
793 "requestUri": "/policies/{policyName}/version/{policyVersionId}"
794 },
795 "input": {
796 "type": "structure",
797 "required": [
798 "policyName",
799 "policyVersionId"
800 ],
801 "members": {
802 "policyName": {
803 "location": "uri",
804 "locationName": "policyName"
805 },
806 "policyVersionId": {
807 "location": "uri",
808 "locationName": "policyVersionId"
809 }
810 }
811 },
812 "output": {
813 "type": "structure",
814 "members": {
815 "policyArn": {},
816 "policyName": {},
817 "policyDocument": {},
818 "policyVersionId": {},
819 "isDefaultVersion": {
820 "type": "boolean"
821 }
822 }
823 }
824 },
825 "GetRegistrationCode": {
826 "http": {
827 "method": "GET",
828 "requestUri": "/registrationcode"
829 },
830 "input": {
831 "type": "structure",
832 "members": {}
833 },
834 "output": {
835 "type": "structure",
836 "members": {
837 "registrationCode": {}
838 }
839 }
840 },
841 "GetTopicRule": {
842 "http": {
843 "method": "GET",
844 "requestUri": "/rules/{ruleName}"
845 },
846 "input": {
847 "type": "structure",
848 "required": [
849 "ruleName"
850 ],
851 "members": {
852 "ruleName": {
853 "location": "uri",
854 "locationName": "ruleName"
855 }
856 }
857 },
858 "output": {
859 "type": "structure",
860 "members": {
861 "ruleArn": {},
862 "rule": {
863 "type": "structure",
864 "members": {
865 "ruleName": {},
866 "sql": {},
867 "description": {},
868 "createdAt": {
869 "type": "timestamp"
870 },
871 "actions": {
872 "shape": "S1e"
873 },
874 "ruleDisabled": {
875 "type": "boolean"
876 },
877 "awsIotSqlVersion": {}
878 }
879 }
880 }
881 }
882 },
883 "ListCACertificates": {
884 "http": {
885 "method": "GET",
886 "requestUri": "/cacertificates"
887 },
888 "input": {
889 "type": "structure",
890 "members": {
891 "pageSize": {
892 "location": "querystring",
893 "locationName": "pageSize",
894 "type": "integer"
895 },
896 "marker": {
897 "location": "querystring",
898 "locationName": "marker"
899 },
900 "ascendingOrder": {
901 "location": "querystring",
902 "locationName": "isAscendingOrder",
903 "type": "boolean"
904 }
905 }
906 },
907 "output": {
908 "type": "structure",
909 "members": {
910 "certificates": {
911 "type": "list",
912 "member": {
913 "type": "structure",
914 "members": {
915 "certificateArn": {},
916 "certificateId": {},
917 "status": {},
918 "creationDate": {
919 "type": "timestamp"
920 }
921 }
922 }
923 },
924 "nextMarker": {}
925 }
926 }
927 },
928 "ListCertificates": {
929 "http": {
930 "method": "GET",
931 "requestUri": "/certificates"
932 },
933 "input": {
934 "type": "structure",
935 "members": {
936 "pageSize": {
937 "location": "querystring",
938 "locationName": "pageSize",
939 "type": "integer"
940 },
941 "marker": {
942 "location": "querystring",
943 "locationName": "marker"
944 },
945 "ascendingOrder": {
946 "location": "querystring",
947 "locationName": "isAscendingOrder",
948 "type": "boolean"
949 }
950 }
951 },
952 "output": {
953 "type": "structure",
954 "members": {
955 "certificates": {
956 "shape": "S4r"
957 },
958 "nextMarker": {}
959 }
960 }
961 },
962 "ListCertificatesByCA": {
963 "http": {
964 "method": "GET",
965 "requestUri": "/certificates-by-ca/{caCertificateId}"
966 },
967 "input": {
968 "type": "structure",
969 "required": [
970 "caCertificateId"
971 ],
972 "members": {
973 "caCertificateId": {
974 "location": "uri",
975 "locationName": "caCertificateId"
976 },
977 "pageSize": {
978 "location": "querystring",
979 "locationName": "pageSize",
980 "type": "integer"
981 },
982 "marker": {
983 "location": "querystring",
984 "locationName": "marker"
985 },
986 "ascendingOrder": {
987 "location": "querystring",
988 "locationName": "isAscendingOrder",
989 "type": "boolean"
990 }
991 }
992 },
993 "output": {
994 "type": "structure",
995 "members": {
996 "certificates": {
997 "shape": "S4r"
998 },
999 "nextMarker": {}
1000 }
1001 }
1002 },
1003 "ListOutgoingCertificates": {
1004 "http": {
1005 "method": "GET",
1006 "requestUri": "/certificates-out-going"
1007 },
1008 "input": {
1009 "type": "structure",
1010 "members": {
1011 "pageSize": {
1012 "location": "querystring",
1013 "locationName": "pageSize",
1014 "type": "integer"
1015 },
1016 "marker": {
1017 "location": "querystring",
1018 "locationName": "marker"
1019 },
1020 "ascendingOrder": {
1021 "location": "querystring",
1022 "locationName": "isAscendingOrder",
1023 "type": "boolean"
1024 }
1025 }
1026 },
1027 "output": {
1028 "type": "structure",
1029 "members": {
1030 "outgoingCertificates": {
1031 "type": "list",
1032 "member": {
1033 "type": "structure",
1034 "members": {
1035 "certificateArn": {},
1036 "certificateId": {},
1037 "transferredTo": {},
1038 "transferDate": {
1039 "type": "timestamp"
1040 },
1041 "transferMessage": {},
1042 "creationDate": {
1043 "type": "timestamp"
1044 }
1045 }
1046 }
1047 },
1048 "nextMarker": {}
1049 }
1050 }
1051 },
1052 "ListPolicies": {
1053 "http": {
1054 "method": "GET",
1055 "requestUri": "/policies"
1056 },
1057 "input": {
1058 "type": "structure",
1059 "members": {
1060 "marker": {
1061 "location": "querystring",
1062 "locationName": "marker"
1063 },
1064 "pageSize": {
1065 "location": "querystring",
1066 "locationName": "pageSize",
1067 "type": "integer"
1068 },
1069 "ascendingOrder": {
1070 "location": "querystring",
1071 "locationName": "isAscendingOrder",
1072 "type": "boolean"
1073 }
1074 }
1075 },
1076 "output": {
1077 "type": "structure",
1078 "members": {
1079 "policies": {
1080 "shape": "S51"
1081 },
1082 "nextMarker": {}
1083 }
1084 }
1085 },
1086 "ListPolicyPrincipals": {
1087 "http": {
1088 "method": "GET",
1089 "requestUri": "/policy-principals"
1090 },
1091 "input": {
1092 "type": "structure",
1093 "required": [
1094 "policyName"
1095 ],
1096 "members": {
1097 "policyName": {
1098 "location": "header",
1099 "locationName": "x-amzn-iot-policy"
1100 },
1101 "marker": {
1102 "location": "querystring",
1103 "locationName": "marker"
1104 },
1105 "pageSize": {
1106 "location": "querystring",
1107 "locationName": "pageSize",
1108 "type": "integer"
1109 },
1110 "ascendingOrder": {
1111 "location": "querystring",
1112 "locationName": "isAscendingOrder",
1113 "type": "boolean"
1114 }
1115 }
1116 },
1117 "output": {
1118 "type": "structure",
1119 "members": {
1120 "principals": {
1121 "shape": "S55"
1122 },
1123 "nextMarker": {}
1124 }
1125 }
1126 },
1127 "ListPolicyVersions": {
1128 "http": {
1129 "method": "GET",
1130 "requestUri": "/policies/{policyName}/version"
1131 },
1132 "input": {
1133 "type": "structure",
1134 "required": [
1135 "policyName"
1136 ],
1137 "members": {
1138 "policyName": {
1139 "location": "uri",
1140 "locationName": "policyName"
1141 }
1142 }
1143 },
1144 "output": {
1145 "type": "structure",
1146 "members": {
1147 "policyVersions": {
1148 "type": "list",
1149 "member": {
1150 "type": "structure",
1151 "members": {
1152 "versionId": {},
1153 "isDefaultVersion": {
1154 "type": "boolean"
1155 },
1156 "createDate": {
1157 "type": "timestamp"
1158 }
1159 }
1160 }
1161 }
1162 }
1163 }
1164 },
1165 "ListPrincipalPolicies": {
1166 "http": {
1167 "method": "GET",
1168 "requestUri": "/principal-policies"
1169 },
1170 "input": {
1171 "type": "structure",
1172 "required": [
1173 "principal"
1174 ],
1175 "members": {
1176 "principal": {
1177 "location": "header",
1178 "locationName": "x-amzn-iot-principal"
1179 },
1180 "marker": {
1181 "location": "querystring",
1182 "locationName": "marker"
1183 },
1184 "pageSize": {
1185 "location": "querystring",
1186 "locationName": "pageSize",
1187 "type": "integer"
1188 },
1189 "ascendingOrder": {
1190 "location": "querystring",
1191 "locationName": "isAscendingOrder",
1192 "type": "boolean"
1193 }
1194 }
1195 },
1196 "output": {
1197 "type": "structure",
1198 "members": {
1199 "policies": {
1200 "shape": "S51"
1201 },
1202 "nextMarker": {}
1203 }
1204 }
1205 },
1206 "ListPrincipalThings": {
1207 "http": {
1208 "method": "GET",
1209 "requestUri": "/principals/things"
1210 },
1211 "input": {
1212 "type": "structure",
1213 "required": [
1214 "principal"
1215 ],
1216 "members": {
1217 "nextToken": {
1218 "location": "querystring",
1219 "locationName": "nextToken"
1220 },
1221 "maxResults": {
1222 "location": "querystring",
1223 "locationName": "maxResults",
1224 "type": "integer"
1225 },
1226 "principal": {
1227 "location": "header",
1228 "locationName": "x-amzn-principal"
1229 }
1230 }
1231 },
1232 "output": {
1233 "type": "structure",
1234 "members": {
1235 "things": {
1236 "type": "list",
1237 "member": {}
1238 },
1239 "nextToken": {}
1240 }
1241 }
1242 },
1243 "ListThingPrincipals": {
1244 "http": {
1245 "method": "GET",
1246 "requestUri": "/things/{thingName}/principals"
1247 },
1248 "input": {
1249 "type": "structure",
1250 "required": [
1251 "thingName"
1252 ],
1253 "members": {
1254 "thingName": {
1255 "location": "uri",
1256 "locationName": "thingName"
1257 }
1258 }
1259 },
1260 "output": {
1261 "type": "structure",
1262 "members": {
1263 "principals": {
1264 "shape": "S55"
1265 }
1266 }
1267 }
1268 },
1269 "ListThingTypes": {
1270 "http": {
1271 "method": "GET",
1272 "requestUri": "/thing-types"
1273 },
1274 "input": {
1275 "type": "structure",
1276 "members": {
1277 "nextToken": {
1278 "location": "querystring",
1279 "locationName": "nextToken"
1280 },
1281 "maxResults": {
1282 "location": "querystring",
1283 "locationName": "maxResults",
1284 "type": "integer"
1285 },
1286 "thingTypeName": {
1287 "location": "querystring",
1288 "locationName": "thingTypeName"
1289 }
1290 }
1291 },
1292 "output": {
1293 "type": "structure",
1294 "members": {
1295 "thingTypes": {
1296 "type": "list",
1297 "member": {
1298 "type": "structure",
1299 "members": {
1300 "thingTypeName": {},
1301 "thingTypeProperties": {
1302 "shape": "S14"
1303 },
1304 "thingTypeMetadata": {
1305 "shape": "S3u"
1306 }
1307 }
1308 }
1309 },
1310 "nextToken": {}
1311 }
1312 }
1313 },
1314 "ListThings": {
1315 "http": {
1316 "method": "GET",
1317 "requestUri": "/things"
1318 },
1319 "input": {
1320 "type": "structure",
1321 "members": {
1322 "nextToken": {
1323 "location": "querystring",
1324 "locationName": "nextToken"
1325 },
1326 "maxResults": {
1327 "location": "querystring",
1328 "locationName": "maxResults",
1329 "type": "integer"
1330 },
1331 "attributeName": {
1332 "location": "querystring",
1333 "locationName": "attributeName"
1334 },
1335 "attributeValue": {
1336 "location": "querystring",
1337 "locationName": "attributeValue"
1338 },
1339 "thingTypeName": {
1340 "location": "querystring",
1341 "locationName": "thingTypeName"
1342 }
1343 }
1344 },
1345 "output": {
1346 "type": "structure",
1347 "members": {
1348 "things": {
1349 "type": "list",
1350 "member": {
1351 "type": "structure",
1352 "members": {
1353 "thingName": {},
1354 "thingTypeName": {},
1355 "attributes": {
1356 "shape": "Sx"
1357 },
1358 "version": {
1359 "type": "long"
1360 }
1361 }
1362 }
1363 },
1364 "nextToken": {}
1365 }
1366 }
1367 },
1368 "ListTopicRules": {
1369 "http": {
1370 "method": "GET",
1371 "requestUri": "/rules"
1372 },
1373 "input": {
1374 "type": "structure",
1375 "members": {
1376 "topic": {
1377 "location": "querystring",
1378 "locationName": "topic"
1379 },
1380 "maxResults": {
1381 "location": "querystring",
1382 "locationName": "maxResults",
1383 "type": "integer"
1384 },
1385 "nextToken": {
1386 "location": "querystring",
1387 "locationName": "nextToken"
1388 },
1389 "ruleDisabled": {
1390 "location": "querystring",
1391 "locationName": "ruleDisabled",
1392 "type": "boolean"
1393 }
1394 }
1395 },
1396 "output": {
1397 "type": "structure",
1398 "members": {
1399 "rules": {
1400 "type": "list",
1401 "member": {
1402 "type": "structure",
1403 "members": {
1404 "ruleArn": {},
1405 "ruleName": {},
1406 "topicPattern": {},
1407 "createdAt": {
1408 "type": "timestamp"
1409 },
1410 "ruleDisabled": {
1411 "type": "boolean"
1412 }
1413 }
1414 }
1415 },
1416 "nextToken": {}
1417 }
1418 }
1419 },
1420 "RegisterCACertificate": {
1421 "http": {
1422 "requestUri": "/cacertificate"
1423 },
1424 "input": {
1425 "type": "structure",
1426 "required": [
1427 "caCertificate",
1428 "verificationCertificate"
1429 ],
1430 "members": {
1431 "caCertificate": {},
1432 "verificationCertificate": {},
1433 "setAsActive": {
1434 "location": "querystring",
1435 "locationName": "setAsActive",
1436 "type": "boolean"
1437 },
1438 "allowAutoRegistration": {
1439 "location": "querystring",
1440 "locationName": "allowAutoRegistration",
1441 "type": "boolean"
1442 }
1443 }
1444 },
1445 "output": {
1446 "type": "structure",
1447 "members": {
1448 "certificateArn": {},
1449 "certificateId": {}
1450 }
1451 }
1452 },
1453 "RegisterCertificate": {
1454 "http": {
1455 "requestUri": "/certificate/register"
1456 },
1457 "input": {
1458 "type": "structure",
1459 "required": [
1460 "certificatePem"
1461 ],
1462 "members": {
1463 "certificatePem": {},
1464 "caCertificatePem": {},
1465 "setAsActive": {
1466 "deprecated": true,
1467 "location": "querystring",
1468 "locationName": "setAsActive",
1469 "type": "boolean"
1470 },
1471 "status": {}
1472 }
1473 },
1474 "output": {
1475 "type": "structure",
1476 "members": {
1477 "certificateArn": {},
1478 "certificateId": {}
1479 }
1480 }
1481 },
1482 "RejectCertificateTransfer": {
1483 "http": {
1484 "method": "PATCH",
1485 "requestUri": "/reject-certificate-transfer/{certificateId}"
1486 },
1487 "input": {
1488 "type": "structure",
1489 "required": [
1490 "certificateId"
1491 ],
1492 "members": {
1493 "certificateId": {
1494 "location": "uri",
1495 "locationName": "certificateId"
1496 },
1497 "rejectReason": {}
1498 }
1499 }
1500 },
1501 "ReplaceTopicRule": {
1502 "http": {
1503 "method": "PATCH",
1504 "requestUri": "/rules/{ruleName}"
1505 },
1506 "input": {
1507 "type": "structure",
1508 "required": [
1509 "ruleName",
1510 "topicRulePayload"
1511 ],
1512 "members": {
1513 "ruleName": {
1514 "location": "uri",
1515 "locationName": "ruleName"
1516 },
1517 "topicRulePayload": {
1518 "shape": "S1b"
1519 }
1520 },
1521 "payload": "topicRulePayload"
1522 }
1523 },
1524 "SetDefaultPolicyVersion": {
1525 "http": {
1526 "method": "PATCH",
1527 "requestUri": "/policies/{policyName}/version/{policyVersionId}"
1528 },
1529 "input": {
1530 "type": "structure",
1531 "required": [
1532 "policyName",
1533 "policyVersionId"
1534 ],
1535 "members": {
1536 "policyName": {
1537 "location": "uri",
1538 "locationName": "policyName"
1539 },
1540 "policyVersionId": {
1541 "location": "uri",
1542 "locationName": "policyVersionId"
1543 }
1544 }
1545 }
1546 },
1547 "SetLoggingOptions": {
1548 "http": {
1549 "requestUri": "/loggingOptions"
1550 },
1551 "input": {
1552 "type": "structure",
1553 "required": [
1554 "loggingOptionsPayload"
1555 ],
1556 "members": {
1557 "loggingOptionsPayload": {
1558 "type": "structure",
1559 "required": [
1560 "roleArn"
1561 ],
1562 "members": {
1563 "roleArn": {},
1564 "logLevel": {}
1565 }
1566 }
1567 },
1568 "payload": "loggingOptionsPayload"
1569 }
1570 },
1571 "TransferCertificate": {
1572 "http": {
1573 "method": "PATCH",
1574 "requestUri": "/transfer-certificate/{certificateId}"
1575 },
1576 "input": {
1577 "type": "structure",
1578 "required": [
1579 "certificateId",
1580 "targetAwsAccount"
1581 ],
1582 "members": {
1583 "certificateId": {
1584 "location": "uri",
1585 "locationName": "certificateId"
1586 },
1587 "targetAwsAccount": {
1588 "location": "querystring",
1589 "locationName": "targetAwsAccount"
1590 },
1591 "transferMessage": {}
1592 }
1593 },
1594 "output": {
1595 "type": "structure",
1596 "members": {
1597 "transferredCertificateArn": {}
1598 }
1599 }
1600 },
1601 "UpdateCACertificate": {
1602 "http": {
1603 "method": "PUT",
1604 "requestUri": "/cacertificate/{caCertificateId}"
1605 },
1606 "input": {
1607 "type": "structure",
1608 "required": [
1609 "certificateId"
1610 ],
1611 "members": {
1612 "certificateId": {
1613 "location": "uri",
1614 "locationName": "caCertificateId"
1615 },
1616 "newStatus": {
1617 "location": "querystring",
1618 "locationName": "newStatus"
1619 },
1620 "newAutoRegistrationStatus": {
1621 "location": "querystring",
1622 "locationName": "newAutoRegistrationStatus"
1623 }
1624 }
1625 }
1626 },
1627 "UpdateCertificate": {
1628 "http": {
1629 "method": "PUT",
1630 "requestUri": "/certificates/{certificateId}"
1631 },
1632 "input": {
1633 "type": "structure",
1634 "required": [
1635 "certificateId",
1636 "newStatus"
1637 ],
1638 "members": {
1639 "certificateId": {
1640 "location": "uri",
1641 "locationName": "certificateId"
1642 },
1643 "newStatus": {
1644 "location": "querystring",
1645 "locationName": "newStatus"
1646 }
1647 }
1648 }
1649 },
1650 "UpdateThing": {
1651 "http": {
1652 "method": "PATCH",
1653 "requestUri": "/things/{thingName}"
1654 },
1655 "input": {
1656 "type": "structure",
1657 "required": [
1658 "thingName"
1659 ],
1660 "members": {
1661 "thingName": {
1662 "location": "uri",
1663 "locationName": "thingName"
1664 },
1665 "thingTypeName": {},
1666 "attributePayload": {
1667 "shape": "Sw"
1668 },
1669 "expectedVersion": {
1670 "type": "long"
1671 },
1672 "removeThingType": {
1673 "type": "boolean"
1674 }
1675 }
1676 },
1677 "output": {
1678 "type": "structure",
1679 "members": {}
1680 }
1681 }
1682 },
1683 "shapes": {
1684 "Sw": {
1685 "type": "structure",
1686 "members": {
1687 "attributes": {
1688 "shape": "Sx"
1689 },
1690 "merge": {
1691 "type": "boolean"
1692 }
1693 }
1694 },
1695 "Sx": {
1696 "type": "map",
1697 "key": {},
1698 "value": {}
1699 },
1700 "S14": {
1701 "type": "structure",
1702 "members": {
1703 "thingTypeDescription": {},
1704 "searchableAttributes": {
1705 "type": "list",
1706 "member": {}
1707 }
1708 }
1709 },
1710 "S1b": {
1711 "type": "structure",
1712 "required": [
1713 "sql",
1714 "actions"
1715 ],
1716 "members": {
1717 "sql": {},
1718 "description": {},
1719 "actions": {
1720 "shape": "S1e"
1721 },
1722 "ruleDisabled": {
1723 "type": "boolean"
1724 },
1725 "awsIotSqlVersion": {}
1726 }
1727 },
1728 "S1e": {
1729 "type": "list",
1730 "member": {
1731 "type": "structure",
1732 "members": {
1733 "dynamoDB": {
1734 "type": "structure",
1735 "required": [
1736 "tableName",
1737 "roleArn",
1738 "hashKeyField",
1739 "hashKeyValue"
1740 ],
1741 "members": {
1742 "tableName": {},
1743 "roleArn": {},
1744 "operation": {},
1745 "hashKeyField": {},
1746 "hashKeyValue": {},
1747 "hashKeyType": {},
1748 "rangeKeyField": {},
1749 "rangeKeyValue": {},
1750 "rangeKeyType": {},
1751 "payloadField": {}
1752 }
1753 },
1754 "dynamoDBv2": {
1755 "type": "structure",
1756 "members": {
1757 "roleArn": {},
1758 "putItem": {
1759 "type": "structure",
1760 "required": [
1761 "tableName"
1762 ],
1763 "members": {
1764 "tableName": {}
1765 }
1766 }
1767 }
1768 },
1769 "lambda": {
1770 "type": "structure",
1771 "required": [
1772 "functionArn"
1773 ],
1774 "members": {
1775 "functionArn": {}
1776 }
1777 },
1778 "sns": {
1779 "type": "structure",
1780 "required": [
1781 "targetArn",
1782 "roleArn"
1783 ],
1784 "members": {
1785 "targetArn": {},
1786 "roleArn": {},
1787 "messageFormat": {}
1788 }
1789 },
1790 "sqs": {
1791 "type": "structure",
1792 "required": [
1793 "roleArn",
1794 "queueUrl"
1795 ],
1796 "members": {
1797 "roleArn": {},
1798 "queueUrl": {},
1799 "useBase64": {
1800 "type": "boolean"
1801 }
1802 }
1803 },
1804 "kinesis": {
1805 "type": "structure",
1806 "required": [
1807 "roleArn",
1808 "streamName"
1809 ],
1810 "members": {
1811 "roleArn": {},
1812 "streamName": {},
1813 "partitionKey": {}
1814 }
1815 },
1816 "republish": {
1817 "type": "structure",
1818 "required": [
1819 "roleArn",
1820 "topic"
1821 ],
1822 "members": {
1823 "roleArn": {},
1824 "topic": {}
1825 }
1826 },
1827 "s3": {
1828 "type": "structure",
1829 "required": [
1830 "roleArn",
1831 "bucketName",
1832 "key"
1833 ],
1834 "members": {
1835 "roleArn": {},
1836 "bucketName": {},
1837 "key": {},
1838 "cannedAcl": {}
1839 }
1840 },
1841 "firehose": {
1842 "type": "structure",
1843 "required": [
1844 "roleArn",
1845 "deliveryStreamName"
1846 ],
1847 "members": {
1848 "roleArn": {},
1849 "deliveryStreamName": {},
1850 "separator": {}
1851 }
1852 },
1853 "cloudwatchMetric": {
1854 "type": "structure",
1855 "required": [
1856 "roleArn",
1857 "metricNamespace",
1858 "metricName",
1859 "metricValue",
1860 "metricUnit"
1861 ],
1862 "members": {
1863 "roleArn": {},
1864 "metricNamespace": {},
1865 "metricName": {},
1866 "metricValue": {},
1867 "metricUnit": {},
1868 "metricTimestamp": {}
1869 }
1870 },
1871 "cloudwatchAlarm": {
1872 "type": "structure",
1873 "required": [
1874 "roleArn",
1875 "alarmName",
1876 "stateReason",
1877 "stateValue"
1878 ],
1879 "members": {
1880 "roleArn": {},
1881 "alarmName": {},
1882 "stateReason": {},
1883 "stateValue": {}
1884 }
1885 },
1886 "elasticsearch": {
1887 "type": "structure",
1888 "required": [
1889 "roleArn",
1890 "endpoint",
1891 "index",
1892 "type",
1893 "id"
1894 ],
1895 "members": {
1896 "roleArn": {},
1897 "endpoint": {},
1898 "index": {},
1899 "type": {},
1900 "id": {}
1901 }
1902 }
1903 }
1904 }
1905 },
1906 "S3u": {
1907 "type": "structure",
1908 "members": {
1909 "deprecated": {
1910 "type": "boolean"
1911 },
1912 "deprecationDate": {
1913 "type": "timestamp"
1914 },
1915 "creationDate": {
1916 "type": "timestamp"
1917 }
1918 }
1919 },
1920 "S4r": {
1921 "type": "list",
1922 "member": {
1923 "type": "structure",
1924 "members": {
1925 "certificateArn": {},
1926 "certificateId": {},
1927 "status": {},
1928 "creationDate": {
1929 "type": "timestamp"
1930 }
1931 }
1932 }
1933 },
1934 "S51": {
1935 "type": "list",
1936 "member": {
1937 "type": "structure",
1938 "members": {
1939 "policyName": {},
1940 "policyArn": {}
1941 }
1942 }
1943 },
1944 "S55": {
1945 "type": "list",
1946 "member": {}
1947 }
1948 },
1949 "examples": {}
1950}
\No newline at end of file