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