api-2.json 110 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310
  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. "name":"AcceptCertificateTransfer",
  14. "http":{
  15. "method":"PATCH",
  16. "requestUri":"/accept-certificate-transfer/{certificateId}"
  17. },
  18. "input":{"shape":"AcceptCertificateTransferRequest"},
  19. "errors":[
  20. {
  21. "shape":"ResourceNotFoundException",
  22. "error":{"httpStatusCode":404},
  23. "exception":true
  24. },
  25. {
  26. "shape":"TransferAlreadyCompletedException",
  27. "error":{"httpStatusCode":410},
  28. "exception":true
  29. },
  30. {
  31. "shape":"InvalidRequestException",
  32. "error":{"httpStatusCode":400},
  33. "exception":true
  34. },
  35. {
  36. "shape":"ThrottlingException",
  37. "error":{"httpStatusCode":429},
  38. "exception":true
  39. },
  40. {
  41. "shape":"UnauthorizedException",
  42. "error":{"httpStatusCode":401},
  43. "exception":true
  44. },
  45. {
  46. "shape":"ServiceUnavailableException",
  47. "error":{"httpStatusCode":503},
  48. "exception":true,
  49. "fault":true
  50. },
  51. {
  52. "shape":"InternalFailureException",
  53. "error":{"httpStatusCode":500},
  54. "exception":true,
  55. "fault":true
  56. }
  57. ]
  58. },
  59. "AttachPrincipalPolicy":{
  60. "name":"AttachPrincipalPolicy",
  61. "http":{
  62. "method":"PUT",
  63. "requestUri":"/principal-policies/{policyName}"
  64. },
  65. "input":{"shape":"AttachPrincipalPolicyRequest"},
  66. "errors":[
  67. {
  68. "shape":"ResourceNotFoundException",
  69. "error":{"httpStatusCode":404},
  70. "exception":true
  71. },
  72. {
  73. "shape":"InvalidRequestException",
  74. "error":{"httpStatusCode":400},
  75. "exception":true
  76. },
  77. {
  78. "shape":"ThrottlingException",
  79. "error":{"httpStatusCode":429},
  80. "exception":true
  81. },
  82. {
  83. "shape":"UnauthorizedException",
  84. "error":{"httpStatusCode":401},
  85. "exception":true
  86. },
  87. {
  88. "shape":"ServiceUnavailableException",
  89. "error":{"httpStatusCode":503},
  90. "exception":true,
  91. "fault":true
  92. },
  93. {
  94. "shape":"InternalFailureException",
  95. "error":{"httpStatusCode":500},
  96. "exception":true,
  97. "fault":true
  98. },
  99. {
  100. "shape":"LimitExceededException",
  101. "error":{"httpStatusCode":410},
  102. "exception":true
  103. }
  104. ]
  105. },
  106. "AttachThingPrincipal":{
  107. "name":"AttachThingPrincipal",
  108. "http":{
  109. "method":"PUT",
  110. "requestUri":"/things/{thingName}/principals"
  111. },
  112. "input":{"shape":"AttachThingPrincipalRequest"},
  113. "output":{"shape":"AttachThingPrincipalResponse"},
  114. "errors":[
  115. {
  116. "shape":"ResourceNotFoundException",
  117. "error":{"httpStatusCode":404},
  118. "exception":true
  119. },
  120. {
  121. "shape":"InvalidRequestException",
  122. "error":{"httpStatusCode":400},
  123. "exception":true
  124. },
  125. {
  126. "shape":"ThrottlingException",
  127. "error":{"httpStatusCode":429},
  128. "exception":true
  129. },
  130. {
  131. "shape":"UnauthorizedException",
  132. "error":{"httpStatusCode":401},
  133. "exception":true
  134. },
  135. {
  136. "shape":"ServiceUnavailableException",
  137. "error":{"httpStatusCode":503},
  138. "exception":true,
  139. "fault":true
  140. },
  141. {
  142. "shape":"InternalFailureException",
  143. "error":{"httpStatusCode":500},
  144. "exception":true,
  145. "fault":true
  146. }
  147. ]
  148. },
  149. "CancelCertificateTransfer":{
  150. "name":"CancelCertificateTransfer",
  151. "http":{
  152. "method":"PATCH",
  153. "requestUri":"/cancel-certificate-transfer/{certificateId}"
  154. },
  155. "input":{"shape":"CancelCertificateTransferRequest"},
  156. "errors":[
  157. {
  158. "shape":"ResourceNotFoundException",
  159. "error":{"httpStatusCode":404},
  160. "exception":true
  161. },
  162. {
  163. "shape":"TransferAlreadyCompletedException",
  164. "error":{"httpStatusCode":410},
  165. "exception":true
  166. },
  167. {
  168. "shape":"InvalidRequestException",
  169. "error":{"httpStatusCode":400},
  170. "exception":true
  171. },
  172. {
  173. "shape":"ThrottlingException",
  174. "error":{"httpStatusCode":429},
  175. "exception":true
  176. },
  177. {
  178. "shape":"UnauthorizedException",
  179. "error":{"httpStatusCode":401},
  180. "exception":true
  181. },
  182. {
  183. "shape":"ServiceUnavailableException",
  184. "error":{"httpStatusCode":503},
  185. "exception":true,
  186. "fault":true
  187. },
  188. {
  189. "shape":"InternalFailureException",
  190. "error":{"httpStatusCode":500},
  191. "exception":true,
  192. "fault":true
  193. }
  194. ]
  195. },
  196. "CreateCertificateFromCsr":{
  197. "name":"CreateCertificateFromCsr",
  198. "http":{
  199. "method":"POST",
  200. "requestUri":"/certificates"
  201. },
  202. "input":{"shape":"CreateCertificateFromCsrRequest"},
  203. "output":{"shape":"CreateCertificateFromCsrResponse"},
  204. "errors":[
  205. {
  206. "shape":"InvalidRequestException",
  207. "error":{"httpStatusCode":400},
  208. "exception":true
  209. },
  210. {
  211. "shape":"ThrottlingException",
  212. "error":{"httpStatusCode":429},
  213. "exception":true
  214. },
  215. {
  216. "shape":"UnauthorizedException",
  217. "error":{"httpStatusCode":401},
  218. "exception":true
  219. },
  220. {
  221. "shape":"ServiceUnavailableException",
  222. "error":{"httpStatusCode":503},
  223. "exception":true,
  224. "fault":true
  225. },
  226. {
  227. "shape":"InternalFailureException",
  228. "error":{"httpStatusCode":500},
  229. "exception":true,
  230. "fault":true
  231. }
  232. ]
  233. },
  234. "CreateKeysAndCertificate":{
  235. "name":"CreateKeysAndCertificate",
  236. "http":{
  237. "method":"POST",
  238. "requestUri":"/keys-and-certificate"
  239. },
  240. "input":{"shape":"CreateKeysAndCertificateRequest"},
  241. "output":{"shape":"CreateKeysAndCertificateResponse"},
  242. "errors":[
  243. {
  244. "shape":"InvalidRequestException",
  245. "error":{"httpStatusCode":400},
  246. "exception":true
  247. },
  248. {
  249. "shape":"ThrottlingException",
  250. "error":{"httpStatusCode":429},
  251. "exception":true
  252. },
  253. {
  254. "shape":"UnauthorizedException",
  255. "error":{"httpStatusCode":401},
  256. "exception":true
  257. },
  258. {
  259. "shape":"ServiceUnavailableException",
  260. "error":{"httpStatusCode":503},
  261. "exception":true,
  262. "fault":true
  263. },
  264. {
  265. "shape":"InternalFailureException",
  266. "error":{"httpStatusCode":500},
  267. "exception":true,
  268. "fault":true
  269. }
  270. ]
  271. },
  272. "CreatePolicy":{
  273. "name":"CreatePolicy",
  274. "http":{
  275. "method":"POST",
  276. "requestUri":"/policies/{policyName}"
  277. },
  278. "input":{"shape":"CreatePolicyRequest"},
  279. "output":{"shape":"CreatePolicyResponse"},
  280. "errors":[
  281. {
  282. "shape":"ResourceAlreadyExistsException",
  283. "error":{"httpStatusCode":409},
  284. "exception":true
  285. },
  286. {
  287. "shape":"MalformedPolicyException",
  288. "error":{"httpStatusCode":400},
  289. "exception":true
  290. },
  291. {
  292. "shape":"InvalidRequestException",
  293. "error":{"httpStatusCode":400},
  294. "exception":true
  295. },
  296. {
  297. "shape":"ThrottlingException",
  298. "error":{"httpStatusCode":429},
  299. "exception":true
  300. },
  301. {
  302. "shape":"UnauthorizedException",
  303. "error":{"httpStatusCode":401},
  304. "exception":true
  305. },
  306. {
  307. "shape":"ServiceUnavailableException",
  308. "error":{"httpStatusCode":503},
  309. "exception":true,
  310. "fault":true
  311. },
  312. {
  313. "shape":"InternalFailureException",
  314. "error":{"httpStatusCode":500},
  315. "exception":true,
  316. "fault":true
  317. }
  318. ]
  319. },
  320. "CreatePolicyVersion":{
  321. "name":"CreatePolicyVersion",
  322. "http":{
  323. "method":"POST",
  324. "requestUri":"/policies/{policyName}/version"
  325. },
  326. "input":{"shape":"CreatePolicyVersionRequest"},
  327. "output":{"shape":"CreatePolicyVersionResponse"},
  328. "errors":[
  329. {
  330. "shape":"ResourceNotFoundException",
  331. "error":{"httpStatusCode":404},
  332. "exception":true
  333. },
  334. {
  335. "shape":"MalformedPolicyException",
  336. "error":{"httpStatusCode":400},
  337. "exception":true
  338. },
  339. {
  340. "shape":"VersionsLimitExceededException",
  341. "error":{"httpStatusCode":409},
  342. "exception":true
  343. },
  344. {
  345. "shape":"InvalidRequestException",
  346. "error":{"httpStatusCode":400},
  347. "exception":true
  348. },
  349. {
  350. "shape":"ThrottlingException",
  351. "error":{"httpStatusCode":429},
  352. "exception":true
  353. },
  354. {
  355. "shape":"UnauthorizedException",
  356. "error":{"httpStatusCode":401},
  357. "exception":true
  358. },
  359. {
  360. "shape":"ServiceUnavailableException",
  361. "error":{"httpStatusCode":503},
  362. "exception":true,
  363. "fault":true
  364. },
  365. {
  366. "shape":"InternalFailureException",
  367. "error":{"httpStatusCode":500},
  368. "exception":true,
  369. "fault":true
  370. }
  371. ]
  372. },
  373. "CreateThing":{
  374. "name":"CreateThing",
  375. "http":{
  376. "method":"POST",
  377. "requestUri":"/things/{thingName}"
  378. },
  379. "input":{"shape":"CreateThingRequest"},
  380. "output":{"shape":"CreateThingResponse"},
  381. "errors":[
  382. {
  383. "shape":"InvalidRequestException",
  384. "error":{"httpStatusCode":400},
  385. "exception":true
  386. },
  387. {
  388. "shape":"ThrottlingException",
  389. "error":{"httpStatusCode":429},
  390. "exception":true
  391. },
  392. {
  393. "shape":"UnauthorizedException",
  394. "error":{"httpStatusCode":401},
  395. "exception":true
  396. },
  397. {
  398. "shape":"ServiceUnavailableException",
  399. "error":{"httpStatusCode":503},
  400. "exception":true,
  401. "fault":true
  402. },
  403. {
  404. "shape":"InternalFailureException",
  405. "error":{"httpStatusCode":500},
  406. "exception":true,
  407. "fault":true
  408. },
  409. {
  410. "shape":"ResourceAlreadyExistsException",
  411. "error":{"httpStatusCode":409},
  412. "exception":true
  413. },
  414. {
  415. "shape":"ResourceNotFoundException",
  416. "error":{"httpStatusCode":404},
  417. "exception":true
  418. }
  419. ]
  420. },
  421. "CreateThingType":{
  422. "name":"CreateThingType",
  423. "http":{
  424. "method":"POST",
  425. "requestUri":"/thing-types/{thingTypeName}"
  426. },
  427. "input":{"shape":"CreateThingTypeRequest"},
  428. "output":{"shape":"CreateThingTypeResponse"},
  429. "errors":[
  430. {
  431. "shape":"InvalidRequestException",
  432. "error":{"httpStatusCode":400},
  433. "exception":true
  434. },
  435. {
  436. "shape":"ThrottlingException",
  437. "error":{"httpStatusCode":429},
  438. "exception":true
  439. },
  440. {
  441. "shape":"UnauthorizedException",
  442. "error":{"httpStatusCode":401},
  443. "exception":true
  444. },
  445. {
  446. "shape":"ServiceUnavailableException",
  447. "error":{"httpStatusCode":503},
  448. "exception":true,
  449. "fault":true
  450. },
  451. {
  452. "shape":"InternalFailureException",
  453. "error":{"httpStatusCode":500},
  454. "exception":true,
  455. "fault":true
  456. },
  457. {
  458. "shape":"ResourceAlreadyExistsException",
  459. "error":{"httpStatusCode":409},
  460. "exception":true
  461. }
  462. ]
  463. },
  464. "CreateTopicRule":{
  465. "name":"CreateTopicRule",
  466. "http":{
  467. "method":"POST",
  468. "requestUri":"/rules/{ruleName}"
  469. },
  470. "input":{"shape":"CreateTopicRuleRequest"},
  471. "errors":[
  472. {
  473. "shape":"SqlParseException",
  474. "error":{"httpStatusCode":400},
  475. "exception":true
  476. },
  477. {
  478. "shape":"InternalException",
  479. "error":{"httpStatusCode":500},
  480. "exception":true,
  481. "fault":true
  482. },
  483. {
  484. "shape":"InvalidRequestException",
  485. "error":{"httpStatusCode":400},
  486. "exception":true
  487. },
  488. {
  489. "shape":"ResourceAlreadyExistsException",
  490. "error":{"httpStatusCode":409},
  491. "exception":true
  492. },
  493. {
  494. "shape":"ServiceUnavailableException",
  495. "error":{"httpStatusCode":503},
  496. "exception":true,
  497. "fault":true
  498. }
  499. ]
  500. },
  501. "DeleteCACertificate":{
  502. "name":"DeleteCACertificate",
  503. "http":{
  504. "method":"DELETE",
  505. "requestUri":"/cacertificate/{caCertificateId}"
  506. },
  507. "input":{"shape":"DeleteCACertificateRequest"},
  508. "output":{"shape":"DeleteCACertificateResponse"},
  509. "errors":[
  510. {
  511. "shape":"InvalidRequestException",
  512. "error":{"httpStatusCode":400},
  513. "exception":true
  514. },
  515. {
  516. "shape":"CertificateStateException",
  517. "error":{"httpStatusCode":406},
  518. "exception":true
  519. },
  520. {
  521. "shape":"ThrottlingException",
  522. "error":{"httpStatusCode":429},
  523. "exception":true
  524. },
  525. {
  526. "shape":"UnauthorizedException",
  527. "error":{"httpStatusCode":401},
  528. "exception":true
  529. },
  530. {
  531. "shape":"ServiceUnavailableException",
  532. "error":{"httpStatusCode":503},
  533. "exception":true,
  534. "fault":true
  535. },
  536. {
  537. "shape":"InternalFailureException",
  538. "error":{"httpStatusCode":500},
  539. "exception":true,
  540. "fault":true
  541. },
  542. {
  543. "shape":"ResourceNotFoundException",
  544. "error":{"httpStatusCode":404},
  545. "exception":true
  546. }
  547. ]
  548. },
  549. "DeleteCertificate":{
  550. "name":"DeleteCertificate",
  551. "http":{
  552. "method":"DELETE",
  553. "requestUri":"/certificates/{certificateId}"
  554. },
  555. "input":{"shape":"DeleteCertificateRequest"},
  556. "errors":[
  557. {
  558. "shape":"CertificateStateException",
  559. "error":{"httpStatusCode":406},
  560. "exception":true
  561. },
  562. {
  563. "shape":"DeleteConflictException",
  564. "error":{"httpStatusCode":409},
  565. "exception":true
  566. },
  567. {
  568. "shape":"InvalidRequestException",
  569. "error":{"httpStatusCode":400},
  570. "exception":true
  571. },
  572. {
  573. "shape":"ThrottlingException",
  574. "error":{"httpStatusCode":429},
  575. "exception":true
  576. },
  577. {
  578. "shape":"UnauthorizedException",
  579. "error":{"httpStatusCode":401},
  580. "exception":true
  581. },
  582. {
  583. "shape":"ServiceUnavailableException",
  584. "error":{"httpStatusCode":503},
  585. "exception":true,
  586. "fault":true
  587. },
  588. {
  589. "shape":"InternalFailureException",
  590. "error":{"httpStatusCode":500},
  591. "exception":true,
  592. "fault":true
  593. },
  594. {
  595. "shape":"ResourceNotFoundException",
  596. "error":{"httpStatusCode":404},
  597. "exception":true
  598. }
  599. ]
  600. },
  601. "DeletePolicy":{
  602. "name":"DeletePolicy",
  603. "http":{
  604. "method":"DELETE",
  605. "requestUri":"/policies/{policyName}"
  606. },
  607. "input":{"shape":"DeletePolicyRequest"},
  608. "errors":[
  609. {
  610. "shape":"DeleteConflictException",
  611. "error":{"httpStatusCode":409},
  612. "exception":true
  613. },
  614. {
  615. "shape":"ResourceNotFoundException",
  616. "error":{"httpStatusCode":404},
  617. "exception":true
  618. },
  619. {
  620. "shape":"InvalidRequestException",
  621. "error":{"httpStatusCode":400},
  622. "exception":true
  623. },
  624. {
  625. "shape":"ThrottlingException",
  626. "error":{"httpStatusCode":429},
  627. "exception":true
  628. },
  629. {
  630. "shape":"UnauthorizedException",
  631. "error":{"httpStatusCode":401},
  632. "exception":true
  633. },
  634. {
  635. "shape":"ServiceUnavailableException",
  636. "error":{"httpStatusCode":503},
  637. "exception":true,
  638. "fault":true
  639. },
  640. {
  641. "shape":"InternalFailureException",
  642. "error":{"httpStatusCode":500},
  643. "exception":true,
  644. "fault":true
  645. }
  646. ]
  647. },
  648. "DeletePolicyVersion":{
  649. "name":"DeletePolicyVersion",
  650. "http":{
  651. "method":"DELETE",
  652. "requestUri":"/policies/{policyName}/version/{policyVersionId}"
  653. },
  654. "input":{"shape":"DeletePolicyVersionRequest"},
  655. "errors":[
  656. {
  657. "shape":"DeleteConflictException",
  658. "error":{"httpStatusCode":409},
  659. "exception":true
  660. },
  661. {
  662. "shape":"ResourceNotFoundException",
  663. "error":{"httpStatusCode":404},
  664. "exception":true
  665. },
  666. {
  667. "shape":"InvalidRequestException",
  668. "error":{"httpStatusCode":400},
  669. "exception":true
  670. },
  671. {
  672. "shape":"ThrottlingException",
  673. "error":{"httpStatusCode":429},
  674. "exception":true
  675. },
  676. {
  677. "shape":"UnauthorizedException",
  678. "error":{"httpStatusCode":401},
  679. "exception":true
  680. },
  681. {
  682. "shape":"ServiceUnavailableException",
  683. "error":{"httpStatusCode":503},
  684. "exception":true,
  685. "fault":true
  686. },
  687. {
  688. "shape":"InternalFailureException",
  689. "error":{"httpStatusCode":500},
  690. "exception":true,
  691. "fault":true
  692. }
  693. ]
  694. },
  695. "DeleteRegistrationCode":{
  696. "name":"DeleteRegistrationCode",
  697. "http":{
  698. "method":"DELETE",
  699. "requestUri":"/registrationcode"
  700. },
  701. "input":{"shape":"DeleteRegistrationCodeRequest"},
  702. "output":{"shape":"DeleteRegistrationCodeResponse"},
  703. "errors":[
  704. {
  705. "shape":"ThrottlingException",
  706. "error":{"httpStatusCode":429},
  707. "exception":true
  708. },
  709. {
  710. "shape":"ResourceNotFoundException",
  711. "error":{"httpStatusCode":404},
  712. "exception":true
  713. },
  714. {
  715. "shape":"UnauthorizedException",
  716. "error":{"httpStatusCode":401},
  717. "exception":true
  718. },
  719. {
  720. "shape":"ServiceUnavailableException",
  721. "error":{"httpStatusCode":503},
  722. "exception":true,
  723. "fault":true
  724. },
  725. {
  726. "shape":"InternalFailureException",
  727. "error":{"httpStatusCode":500},
  728. "exception":true,
  729. "fault":true
  730. }
  731. ]
  732. },
  733. "DeleteThing":{
  734. "name":"DeleteThing",
  735. "http":{
  736. "method":"DELETE",
  737. "requestUri":"/things/{thingName}"
  738. },
  739. "input":{"shape":"DeleteThingRequest"},
  740. "output":{"shape":"DeleteThingResponse"},
  741. "errors":[
  742. {
  743. "shape":"ResourceNotFoundException",
  744. "error":{"httpStatusCode":404},
  745. "exception":true
  746. },
  747. {
  748. "shape":"VersionConflictException",
  749. "error":{"httpStatusCode":409},
  750. "exception":true
  751. },
  752. {
  753. "shape":"InvalidRequestException",
  754. "error":{"httpStatusCode":400},
  755. "exception":true
  756. },
  757. {
  758. "shape":"ThrottlingException",
  759. "error":{"httpStatusCode":429},
  760. "exception":true
  761. },
  762. {
  763. "shape":"UnauthorizedException",
  764. "error":{"httpStatusCode":401},
  765. "exception":true
  766. },
  767. {
  768. "shape":"ServiceUnavailableException",
  769. "error":{"httpStatusCode":503},
  770. "exception":true,
  771. "fault":true
  772. },
  773. {
  774. "shape":"InternalFailureException",
  775. "error":{"httpStatusCode":500},
  776. "exception":true,
  777. "fault":true
  778. }
  779. ]
  780. },
  781. "DeleteThingType":{
  782. "name":"DeleteThingType",
  783. "http":{
  784. "method":"DELETE",
  785. "requestUri":"/thing-types/{thingTypeName}"
  786. },
  787. "input":{"shape":"DeleteThingTypeRequest"},
  788. "output":{"shape":"DeleteThingTypeResponse"},
  789. "errors":[
  790. {
  791. "shape":"ResourceNotFoundException",
  792. "error":{"httpStatusCode":404},
  793. "exception":true
  794. },
  795. {
  796. "shape":"InvalidRequestException",
  797. "error":{"httpStatusCode":400},
  798. "exception":true
  799. },
  800. {
  801. "shape":"ThrottlingException",
  802. "error":{"httpStatusCode":429},
  803. "exception":true
  804. },
  805. {
  806. "shape":"UnauthorizedException",
  807. "error":{"httpStatusCode":401},
  808. "exception":true
  809. },
  810. {
  811. "shape":"ServiceUnavailableException",
  812. "error":{"httpStatusCode":503},
  813. "exception":true,
  814. "fault":true
  815. },
  816. {
  817. "shape":"InternalFailureException",
  818. "error":{"httpStatusCode":500},
  819. "exception":true,
  820. "fault":true
  821. }
  822. ]
  823. },
  824. "DeleteTopicRule":{
  825. "name":"DeleteTopicRule",
  826. "http":{
  827. "method":"DELETE",
  828. "requestUri":"/rules/{ruleName}"
  829. },
  830. "input":{"shape":"DeleteTopicRuleRequest"},
  831. "errors":[
  832. {
  833. "shape":"InternalException",
  834. "error":{"httpStatusCode":500},
  835. "exception":true,
  836. "fault":true
  837. },
  838. {
  839. "shape":"InvalidRequestException",
  840. "error":{"httpStatusCode":400},
  841. "exception":true
  842. },
  843. {
  844. "shape":"ServiceUnavailableException",
  845. "error":{"httpStatusCode":503},
  846. "exception":true,
  847. "fault":true
  848. },
  849. {
  850. "shape":"UnauthorizedException",
  851. "error":{"httpStatusCode":401},
  852. "exception":true
  853. }
  854. ]
  855. },
  856. "DeprecateThingType":{
  857. "name":"DeprecateThingType",
  858. "http":{
  859. "method":"POST",
  860. "requestUri":"/thing-types/{thingTypeName}/deprecate"
  861. },
  862. "input":{"shape":"DeprecateThingTypeRequest"},
  863. "output":{"shape":"DeprecateThingTypeResponse"},
  864. "errors":[
  865. {
  866. "shape":"ResourceNotFoundException",
  867. "error":{"httpStatusCode":404},
  868. "exception":true
  869. },
  870. {
  871. "shape":"InvalidRequestException",
  872. "error":{"httpStatusCode":400},
  873. "exception":true
  874. },
  875. {
  876. "shape":"ThrottlingException",
  877. "error":{"httpStatusCode":429},
  878. "exception":true
  879. },
  880. {
  881. "shape":"UnauthorizedException",
  882. "error":{"httpStatusCode":401},
  883. "exception":true
  884. },
  885. {
  886. "shape":"ServiceUnavailableException",
  887. "error":{"httpStatusCode":503},
  888. "exception":true,
  889. "fault":true
  890. },
  891. {
  892. "shape":"InternalFailureException",
  893. "error":{"httpStatusCode":500},
  894. "exception":true,
  895. "fault":true
  896. }
  897. ]
  898. },
  899. "DescribeCACertificate":{
  900. "name":"DescribeCACertificate",
  901. "http":{
  902. "method":"GET",
  903. "requestUri":"/cacertificate/{caCertificateId}"
  904. },
  905. "input":{"shape":"DescribeCACertificateRequest"},
  906. "output":{"shape":"DescribeCACertificateResponse"},
  907. "errors":[
  908. {
  909. "shape":"InvalidRequestException",
  910. "error":{"httpStatusCode":400},
  911. "exception":true
  912. },
  913. {
  914. "shape":"ThrottlingException",
  915. "error":{"httpStatusCode":429},
  916. "exception":true
  917. },
  918. {
  919. "shape":"UnauthorizedException",
  920. "error":{"httpStatusCode":401},
  921. "exception":true
  922. },
  923. {
  924. "shape":"ServiceUnavailableException",
  925. "error":{"httpStatusCode":503},
  926. "exception":true,
  927. "fault":true
  928. },
  929. {
  930. "shape":"InternalFailureException",
  931. "error":{"httpStatusCode":500},
  932. "exception":true,
  933. "fault":true
  934. },
  935. {
  936. "shape":"ResourceNotFoundException",
  937. "error":{"httpStatusCode":404},
  938. "exception":true
  939. }
  940. ]
  941. },
  942. "DescribeCertificate":{
  943. "name":"DescribeCertificate",
  944. "http":{
  945. "method":"GET",
  946. "requestUri":"/certificates/{certificateId}"
  947. },
  948. "input":{"shape":"DescribeCertificateRequest"},
  949. "output":{"shape":"DescribeCertificateResponse"},
  950. "errors":[
  951. {
  952. "shape":"InvalidRequestException",
  953. "error":{"httpStatusCode":400},
  954. "exception":true
  955. },
  956. {
  957. "shape":"ThrottlingException",
  958. "error":{"httpStatusCode":429},
  959. "exception":true
  960. },
  961. {
  962. "shape":"UnauthorizedException",
  963. "error":{"httpStatusCode":401},
  964. "exception":true
  965. },
  966. {
  967. "shape":"ServiceUnavailableException",
  968. "error":{"httpStatusCode":503},
  969. "exception":true,
  970. "fault":true
  971. },
  972. {
  973. "shape":"InternalFailureException",
  974. "error":{"httpStatusCode":500},
  975. "exception":true,
  976. "fault":true
  977. },
  978. {
  979. "shape":"ResourceNotFoundException",
  980. "error":{"httpStatusCode":404},
  981. "exception":true
  982. }
  983. ]
  984. },
  985. "DescribeEndpoint":{
  986. "name":"DescribeEndpoint",
  987. "http":{
  988. "method":"GET",
  989. "requestUri":"/endpoint"
  990. },
  991. "input":{"shape":"DescribeEndpointRequest"},
  992. "output":{"shape":"DescribeEndpointResponse"},
  993. "errors":[
  994. {
  995. "shape":"InternalFailureException",
  996. "error":{"httpStatusCode":500},
  997. "exception":true,
  998. "fault":true
  999. },
  1000. {
  1001. "shape":"UnauthorizedException",
  1002. "error":{"httpStatusCode":401},
  1003. "exception":true
  1004. },
  1005. {
  1006. "shape":"ThrottlingException",
  1007. "error":{"httpStatusCode":429},
  1008. "exception":true
  1009. }
  1010. ]
  1011. },
  1012. "DescribeThing":{
  1013. "name":"DescribeThing",
  1014. "http":{
  1015. "method":"GET",
  1016. "requestUri":"/things/{thingName}"
  1017. },
  1018. "input":{"shape":"DescribeThingRequest"},
  1019. "output":{"shape":"DescribeThingResponse"},
  1020. "errors":[
  1021. {
  1022. "shape":"ResourceNotFoundException",
  1023. "error":{"httpStatusCode":404},
  1024. "exception":true
  1025. },
  1026. {
  1027. "shape":"InvalidRequestException",
  1028. "error":{"httpStatusCode":400},
  1029. "exception":true
  1030. },
  1031. {
  1032. "shape":"ThrottlingException",
  1033. "error":{"httpStatusCode":429},
  1034. "exception":true
  1035. },
  1036. {
  1037. "shape":"UnauthorizedException",
  1038. "error":{"httpStatusCode":401},
  1039. "exception":true
  1040. },
  1041. {
  1042. "shape":"ServiceUnavailableException",
  1043. "error":{"httpStatusCode":503},
  1044. "exception":true,
  1045. "fault":true
  1046. },
  1047. {
  1048. "shape":"InternalFailureException",
  1049. "error":{"httpStatusCode":500},
  1050. "exception":true,
  1051. "fault":true
  1052. }
  1053. ]
  1054. },
  1055. "DescribeThingType":{
  1056. "name":"DescribeThingType",
  1057. "http":{
  1058. "method":"GET",
  1059. "requestUri":"/thing-types/{thingTypeName}"
  1060. },
  1061. "input":{"shape":"DescribeThingTypeRequest"},
  1062. "output":{"shape":"DescribeThingTypeResponse"},
  1063. "errors":[
  1064. {
  1065. "shape":"ResourceNotFoundException",
  1066. "error":{"httpStatusCode":404},
  1067. "exception":true
  1068. },
  1069. {
  1070. "shape":"InvalidRequestException",
  1071. "error":{"httpStatusCode":400},
  1072. "exception":true
  1073. },
  1074. {
  1075. "shape":"ThrottlingException",
  1076. "error":{"httpStatusCode":429},
  1077. "exception":true
  1078. },
  1079. {
  1080. "shape":"UnauthorizedException",
  1081. "error":{"httpStatusCode":401},
  1082. "exception":true
  1083. },
  1084. {
  1085. "shape":"ServiceUnavailableException",
  1086. "error":{"httpStatusCode":503},
  1087. "exception":true,
  1088. "fault":true
  1089. },
  1090. {
  1091. "shape":"InternalFailureException",
  1092. "error":{"httpStatusCode":500},
  1093. "exception":true,
  1094. "fault":true
  1095. }
  1096. ]
  1097. },
  1098. "DetachPrincipalPolicy":{
  1099. "name":"DetachPrincipalPolicy",
  1100. "http":{
  1101. "method":"DELETE",
  1102. "requestUri":"/principal-policies/{policyName}"
  1103. },
  1104. "input":{"shape":"DetachPrincipalPolicyRequest"},
  1105. "errors":[
  1106. {
  1107. "shape":"ResourceNotFoundException",
  1108. "error":{"httpStatusCode":404},
  1109. "exception":true
  1110. },
  1111. {
  1112. "shape":"InvalidRequestException",
  1113. "error":{"httpStatusCode":400},
  1114. "exception":true
  1115. },
  1116. {
  1117. "shape":"ThrottlingException",
  1118. "error":{"httpStatusCode":429},
  1119. "exception":true
  1120. },
  1121. {
  1122. "shape":"UnauthorizedException",
  1123. "error":{"httpStatusCode":401},
  1124. "exception":true
  1125. },
  1126. {
  1127. "shape":"ServiceUnavailableException",
  1128. "error":{"httpStatusCode":503},
  1129. "exception":true,
  1130. "fault":true
  1131. },
  1132. {
  1133. "shape":"InternalFailureException",
  1134. "error":{"httpStatusCode":500},
  1135. "exception":true,
  1136. "fault":true
  1137. }
  1138. ]
  1139. },
  1140. "DetachThingPrincipal":{
  1141. "name":"DetachThingPrincipal",
  1142. "http":{
  1143. "method":"DELETE",
  1144. "requestUri":"/things/{thingName}/principals"
  1145. },
  1146. "input":{"shape":"DetachThingPrincipalRequest"},
  1147. "output":{"shape":"DetachThingPrincipalResponse"},
  1148. "errors":[
  1149. {
  1150. "shape":"ResourceNotFoundException",
  1151. "error":{"httpStatusCode":404},
  1152. "exception":true
  1153. },
  1154. {
  1155. "shape":"InvalidRequestException",
  1156. "error":{"httpStatusCode":400},
  1157. "exception":true
  1158. },
  1159. {
  1160. "shape":"ThrottlingException",
  1161. "error":{"httpStatusCode":429},
  1162. "exception":true
  1163. },
  1164. {
  1165. "shape":"UnauthorizedException",
  1166. "error":{"httpStatusCode":401},
  1167. "exception":true
  1168. },
  1169. {
  1170. "shape":"ServiceUnavailableException",
  1171. "error":{"httpStatusCode":503},
  1172. "exception":true,
  1173. "fault":true
  1174. },
  1175. {
  1176. "shape":"InternalFailureException",
  1177. "error":{"httpStatusCode":500},
  1178. "exception":true,
  1179. "fault":true
  1180. }
  1181. ]
  1182. },
  1183. "DisableTopicRule":{
  1184. "name":"DisableTopicRule",
  1185. "http":{
  1186. "method":"POST",
  1187. "requestUri":"/rules/{ruleName}/disable"
  1188. },
  1189. "input":{"shape":"DisableTopicRuleRequest"},
  1190. "errors":[
  1191. {
  1192. "shape":"InternalException",
  1193. "error":{"httpStatusCode":500},
  1194. "exception":true,
  1195. "fault":true
  1196. },
  1197. {
  1198. "shape":"InvalidRequestException",
  1199. "error":{"httpStatusCode":400},
  1200. "exception":true
  1201. },
  1202. {
  1203. "shape":"ServiceUnavailableException",
  1204. "error":{"httpStatusCode":503},
  1205. "exception":true,
  1206. "fault":true
  1207. },
  1208. {
  1209. "shape":"UnauthorizedException",
  1210. "error":{"httpStatusCode":401},
  1211. "exception":true
  1212. }
  1213. ]
  1214. },
  1215. "EnableTopicRule":{
  1216. "name":"EnableTopicRule",
  1217. "http":{
  1218. "method":"POST",
  1219. "requestUri":"/rules/{ruleName}/enable"
  1220. },
  1221. "input":{"shape":"EnableTopicRuleRequest"},
  1222. "errors":[
  1223. {
  1224. "shape":"InternalException",
  1225. "error":{"httpStatusCode":500},
  1226. "exception":true,
  1227. "fault":true
  1228. },
  1229. {
  1230. "shape":"InvalidRequestException",
  1231. "error":{"httpStatusCode":400},
  1232. "exception":true
  1233. },
  1234. {
  1235. "shape":"ServiceUnavailableException",
  1236. "error":{"httpStatusCode":503},
  1237. "exception":true,
  1238. "fault":true
  1239. },
  1240. {
  1241. "shape":"UnauthorizedException",
  1242. "error":{"httpStatusCode":401},
  1243. "exception":true
  1244. }
  1245. ]
  1246. },
  1247. "GetLoggingOptions":{
  1248. "name":"GetLoggingOptions",
  1249. "http":{
  1250. "method":"GET",
  1251. "requestUri":"/loggingOptions"
  1252. },
  1253. "input":{"shape":"GetLoggingOptionsRequest"},
  1254. "output":{"shape":"GetLoggingOptionsResponse"},
  1255. "errors":[
  1256. {
  1257. "shape":"InternalException",
  1258. "error":{"httpStatusCode":500},
  1259. "exception":true,
  1260. "fault":true
  1261. },
  1262. {
  1263. "shape":"InvalidRequestException",
  1264. "error":{"httpStatusCode":400},
  1265. "exception":true
  1266. },
  1267. {
  1268. "shape":"ServiceUnavailableException",
  1269. "error":{"httpStatusCode":503},
  1270. "exception":true,
  1271. "fault":true
  1272. }
  1273. ]
  1274. },
  1275. "GetPolicy":{
  1276. "name":"GetPolicy",
  1277. "http":{
  1278. "method":"GET",
  1279. "requestUri":"/policies/{policyName}"
  1280. },
  1281. "input":{"shape":"GetPolicyRequest"},
  1282. "output":{"shape":"GetPolicyResponse"},
  1283. "errors":[
  1284. {
  1285. "shape":"ResourceNotFoundException",
  1286. "error":{"httpStatusCode":404},
  1287. "exception":true
  1288. },
  1289. {
  1290. "shape":"InvalidRequestException",
  1291. "error":{"httpStatusCode":400},
  1292. "exception":true
  1293. },
  1294. {
  1295. "shape":"ThrottlingException",
  1296. "error":{"httpStatusCode":429},
  1297. "exception":true
  1298. },
  1299. {
  1300. "shape":"UnauthorizedException",
  1301. "error":{"httpStatusCode":401},
  1302. "exception":true
  1303. },
  1304. {
  1305. "shape":"ServiceUnavailableException",
  1306. "error":{"httpStatusCode":503},
  1307. "exception":true,
  1308. "fault":true
  1309. },
  1310. {
  1311. "shape":"InternalFailureException",
  1312. "error":{"httpStatusCode":500},
  1313. "exception":true,
  1314. "fault":true
  1315. }
  1316. ]
  1317. },
  1318. "GetPolicyVersion":{
  1319. "name":"GetPolicyVersion",
  1320. "http":{
  1321. "method":"GET",
  1322. "requestUri":"/policies/{policyName}/version/{policyVersionId}"
  1323. },
  1324. "input":{"shape":"GetPolicyVersionRequest"},
  1325. "output":{"shape":"GetPolicyVersionResponse"},
  1326. "errors":[
  1327. {
  1328. "shape":"ResourceNotFoundException",
  1329. "error":{"httpStatusCode":404},
  1330. "exception":true
  1331. },
  1332. {
  1333. "shape":"InvalidRequestException",
  1334. "error":{"httpStatusCode":400},
  1335. "exception":true
  1336. },
  1337. {
  1338. "shape":"ThrottlingException",
  1339. "error":{"httpStatusCode":429},
  1340. "exception":true
  1341. },
  1342. {
  1343. "shape":"UnauthorizedException",
  1344. "error":{"httpStatusCode":401},
  1345. "exception":true
  1346. },
  1347. {
  1348. "shape":"ServiceUnavailableException",
  1349. "error":{"httpStatusCode":503},
  1350. "exception":true,
  1351. "fault":true
  1352. },
  1353. {
  1354. "shape":"InternalFailureException",
  1355. "error":{"httpStatusCode":500},
  1356. "exception":true,
  1357. "fault":true
  1358. }
  1359. ]
  1360. },
  1361. "GetRegistrationCode":{
  1362. "name":"GetRegistrationCode",
  1363. "http":{
  1364. "method":"GET",
  1365. "requestUri":"/registrationcode"
  1366. },
  1367. "input":{"shape":"GetRegistrationCodeRequest"},
  1368. "output":{"shape":"GetRegistrationCodeResponse"},
  1369. "errors":[
  1370. {
  1371. "shape":"ThrottlingException",
  1372. "error":{"httpStatusCode":429},
  1373. "exception":true
  1374. },
  1375. {
  1376. "shape":"UnauthorizedException",
  1377. "error":{"httpStatusCode":401},
  1378. "exception":true
  1379. },
  1380. {
  1381. "shape":"ServiceUnavailableException",
  1382. "error":{"httpStatusCode":503},
  1383. "exception":true,
  1384. "fault":true
  1385. },
  1386. {
  1387. "shape":"InternalFailureException",
  1388. "error":{"httpStatusCode":500},
  1389. "exception":true,
  1390. "fault":true
  1391. },
  1392. {
  1393. "shape":"InvalidRequestException",
  1394. "error":{"httpStatusCode":400},
  1395. "exception":true
  1396. }
  1397. ]
  1398. },
  1399. "GetTopicRule":{
  1400. "name":"GetTopicRule",
  1401. "http":{
  1402. "method":"GET",
  1403. "requestUri":"/rules/{ruleName}"
  1404. },
  1405. "input":{"shape":"GetTopicRuleRequest"},
  1406. "output":{"shape":"GetTopicRuleResponse"},
  1407. "errors":[
  1408. {
  1409. "shape":"InternalException",
  1410. "error":{"httpStatusCode":500},
  1411. "exception":true,
  1412. "fault":true
  1413. },
  1414. {
  1415. "shape":"InvalidRequestException",
  1416. "error":{"httpStatusCode":400},
  1417. "exception":true
  1418. },
  1419. {
  1420. "shape":"ServiceUnavailableException",
  1421. "error":{"httpStatusCode":503},
  1422. "exception":true,
  1423. "fault":true
  1424. },
  1425. {
  1426. "shape":"UnauthorizedException",
  1427. "error":{"httpStatusCode":401},
  1428. "exception":true
  1429. }
  1430. ]
  1431. },
  1432. "ListCACertificates":{
  1433. "name":"ListCACertificates",
  1434. "http":{
  1435. "method":"GET",
  1436. "requestUri":"/cacertificates"
  1437. },
  1438. "input":{"shape":"ListCACertificatesRequest"},
  1439. "output":{"shape":"ListCACertificatesResponse"},
  1440. "errors":[
  1441. {
  1442. "shape":"InvalidRequestException",
  1443. "error":{"httpStatusCode":400},
  1444. "exception":true
  1445. },
  1446. {
  1447. "shape":"ThrottlingException",
  1448. "error":{"httpStatusCode":429},
  1449. "exception":true
  1450. },
  1451. {
  1452. "shape":"UnauthorizedException",
  1453. "error":{"httpStatusCode":401},
  1454. "exception":true
  1455. },
  1456. {
  1457. "shape":"ServiceUnavailableException",
  1458. "error":{"httpStatusCode":503},
  1459. "exception":true,
  1460. "fault":true
  1461. },
  1462. {
  1463. "shape":"InternalFailureException",
  1464. "error":{"httpStatusCode":500},
  1465. "exception":true,
  1466. "fault":true
  1467. }
  1468. ]
  1469. },
  1470. "ListCertificates":{
  1471. "name":"ListCertificates",
  1472. "http":{
  1473. "method":"GET",
  1474. "requestUri":"/certificates"
  1475. },
  1476. "input":{"shape":"ListCertificatesRequest"},
  1477. "output":{"shape":"ListCertificatesResponse"},
  1478. "errors":[
  1479. {
  1480. "shape":"InvalidRequestException",
  1481. "error":{"httpStatusCode":400},
  1482. "exception":true
  1483. },
  1484. {
  1485. "shape":"ThrottlingException",
  1486. "error":{"httpStatusCode":429},
  1487. "exception":true
  1488. },
  1489. {
  1490. "shape":"UnauthorizedException",
  1491. "error":{"httpStatusCode":401},
  1492. "exception":true
  1493. },
  1494. {
  1495. "shape":"ServiceUnavailableException",
  1496. "error":{"httpStatusCode":503},
  1497. "exception":true,
  1498. "fault":true
  1499. },
  1500. {
  1501. "shape":"InternalFailureException",
  1502. "error":{"httpStatusCode":500},
  1503. "exception":true,
  1504. "fault":true
  1505. }
  1506. ]
  1507. },
  1508. "ListCertificatesByCA":{
  1509. "name":"ListCertificatesByCA",
  1510. "http":{
  1511. "method":"GET",
  1512. "requestUri":"/certificates-by-ca/{caCertificateId}"
  1513. },
  1514. "input":{"shape":"ListCertificatesByCARequest"},
  1515. "output":{"shape":"ListCertificatesByCAResponse"},
  1516. "errors":[
  1517. {
  1518. "shape":"InvalidRequestException",
  1519. "error":{"httpStatusCode":400},
  1520. "exception":true
  1521. },
  1522. {
  1523. "shape":"ThrottlingException",
  1524. "error":{"httpStatusCode":429},
  1525. "exception":true
  1526. },
  1527. {
  1528. "shape":"UnauthorizedException",
  1529. "error":{"httpStatusCode":401},
  1530. "exception":true
  1531. },
  1532. {
  1533. "shape":"ServiceUnavailableException",
  1534. "error":{"httpStatusCode":503},
  1535. "exception":true,
  1536. "fault":true
  1537. },
  1538. {
  1539. "shape":"InternalFailureException",
  1540. "error":{"httpStatusCode":500},
  1541. "exception":true,
  1542. "fault":true
  1543. }
  1544. ]
  1545. },
  1546. "ListOutgoingCertificates":{
  1547. "name":"ListOutgoingCertificates",
  1548. "http":{
  1549. "method":"GET",
  1550. "requestUri":"/certificates-out-going"
  1551. },
  1552. "input":{"shape":"ListOutgoingCertificatesRequest"},
  1553. "output":{"shape":"ListOutgoingCertificatesResponse"},
  1554. "errors":[
  1555. {
  1556. "shape":"InvalidRequestException",
  1557. "error":{"httpStatusCode":400},
  1558. "exception":true
  1559. },
  1560. {
  1561. "shape":"ThrottlingException",
  1562. "error":{"httpStatusCode":429},
  1563. "exception":true
  1564. },
  1565. {
  1566. "shape":"UnauthorizedException",
  1567. "error":{"httpStatusCode":401},
  1568. "exception":true
  1569. },
  1570. {
  1571. "shape":"ServiceUnavailableException",
  1572. "error":{"httpStatusCode":503},
  1573. "exception":true,
  1574. "fault":true
  1575. },
  1576. {
  1577. "shape":"InternalFailureException",
  1578. "error":{"httpStatusCode":500},
  1579. "exception":true,
  1580. "fault":true
  1581. }
  1582. ]
  1583. },
  1584. "ListPolicies":{
  1585. "name":"ListPolicies",
  1586. "http":{
  1587. "method":"GET",
  1588. "requestUri":"/policies"
  1589. },
  1590. "input":{"shape":"ListPoliciesRequest"},
  1591. "output":{"shape":"ListPoliciesResponse"},
  1592. "errors":[
  1593. {
  1594. "shape":"InvalidRequestException",
  1595. "error":{"httpStatusCode":400},
  1596. "exception":true
  1597. },
  1598. {
  1599. "shape":"ThrottlingException",
  1600. "error":{"httpStatusCode":429},
  1601. "exception":true
  1602. },
  1603. {
  1604. "shape":"UnauthorizedException",
  1605. "error":{"httpStatusCode":401},
  1606. "exception":true
  1607. },
  1608. {
  1609. "shape":"ServiceUnavailableException",
  1610. "error":{"httpStatusCode":503},
  1611. "exception":true,
  1612. "fault":true
  1613. },
  1614. {
  1615. "shape":"InternalFailureException",
  1616. "error":{"httpStatusCode":500},
  1617. "exception":true,
  1618. "fault":true
  1619. }
  1620. ]
  1621. },
  1622. "ListPolicyPrincipals":{
  1623. "name":"ListPolicyPrincipals",
  1624. "http":{
  1625. "method":"GET",
  1626. "requestUri":"/policy-principals"
  1627. },
  1628. "input":{"shape":"ListPolicyPrincipalsRequest"},
  1629. "output":{"shape":"ListPolicyPrincipalsResponse"},
  1630. "errors":[
  1631. {
  1632. "shape":"ResourceNotFoundException",
  1633. "error":{"httpStatusCode":404},
  1634. "exception":true
  1635. },
  1636. {
  1637. "shape":"InvalidRequestException",
  1638. "error":{"httpStatusCode":400},
  1639. "exception":true
  1640. },
  1641. {
  1642. "shape":"ThrottlingException",
  1643. "error":{"httpStatusCode":429},
  1644. "exception":true
  1645. },
  1646. {
  1647. "shape":"UnauthorizedException",
  1648. "error":{"httpStatusCode":401},
  1649. "exception":true
  1650. },
  1651. {
  1652. "shape":"ServiceUnavailableException",
  1653. "error":{"httpStatusCode":503},
  1654. "exception":true,
  1655. "fault":true
  1656. },
  1657. {
  1658. "shape":"InternalFailureException",
  1659. "error":{"httpStatusCode":500},
  1660. "exception":true,
  1661. "fault":true
  1662. }
  1663. ]
  1664. },
  1665. "ListPolicyVersions":{
  1666. "name":"ListPolicyVersions",
  1667. "http":{
  1668. "method":"GET",
  1669. "requestUri":"/policies/{policyName}/version"
  1670. },
  1671. "input":{"shape":"ListPolicyVersionsRequest"},
  1672. "output":{"shape":"ListPolicyVersionsResponse"},
  1673. "errors":[
  1674. {
  1675. "shape":"ResourceNotFoundException",
  1676. "error":{"httpStatusCode":404},
  1677. "exception":true
  1678. },
  1679. {
  1680. "shape":"InvalidRequestException",
  1681. "error":{"httpStatusCode":400},
  1682. "exception":true
  1683. },
  1684. {
  1685. "shape":"ThrottlingException",
  1686. "error":{"httpStatusCode":429},
  1687. "exception":true
  1688. },
  1689. {
  1690. "shape":"UnauthorizedException",
  1691. "error":{"httpStatusCode":401},
  1692. "exception":true
  1693. },
  1694. {
  1695. "shape":"ServiceUnavailableException",
  1696. "error":{"httpStatusCode":503},
  1697. "exception":true,
  1698. "fault":true
  1699. },
  1700. {
  1701. "shape":"InternalFailureException",
  1702. "error":{"httpStatusCode":500},
  1703. "exception":true,
  1704. "fault":true
  1705. }
  1706. ]
  1707. },
  1708. "ListPrincipalPolicies":{
  1709. "name":"ListPrincipalPolicies",
  1710. "http":{
  1711. "method":"GET",
  1712. "requestUri":"/principal-policies"
  1713. },
  1714. "input":{"shape":"ListPrincipalPoliciesRequest"},
  1715. "output":{"shape":"ListPrincipalPoliciesResponse"},
  1716. "errors":[
  1717. {
  1718. "shape":"ResourceNotFoundException",
  1719. "error":{"httpStatusCode":404},
  1720. "exception":true
  1721. },
  1722. {
  1723. "shape":"InvalidRequestException",
  1724. "error":{"httpStatusCode":400},
  1725. "exception":true
  1726. },
  1727. {
  1728. "shape":"ThrottlingException",
  1729. "error":{"httpStatusCode":429},
  1730. "exception":true
  1731. },
  1732. {
  1733. "shape":"UnauthorizedException",
  1734. "error":{"httpStatusCode":401},
  1735. "exception":true
  1736. },
  1737. {
  1738. "shape":"ServiceUnavailableException",
  1739. "error":{"httpStatusCode":503},
  1740. "exception":true,
  1741. "fault":true
  1742. },
  1743. {
  1744. "shape":"InternalFailureException",
  1745. "error":{"httpStatusCode":500},
  1746. "exception":true,
  1747. "fault":true
  1748. }
  1749. ]
  1750. },
  1751. "ListPrincipalThings":{
  1752. "name":"ListPrincipalThings",
  1753. "http":{
  1754. "method":"GET",
  1755. "requestUri":"/principals/things"
  1756. },
  1757. "input":{"shape":"ListPrincipalThingsRequest"},
  1758. "output":{"shape":"ListPrincipalThingsResponse"},
  1759. "errors":[
  1760. {
  1761. "shape":"InvalidRequestException",
  1762. "error":{"httpStatusCode":400},
  1763. "exception":true
  1764. },
  1765. {
  1766. "shape":"ThrottlingException",
  1767. "error":{"httpStatusCode":429},
  1768. "exception":true
  1769. },
  1770. {
  1771. "shape":"UnauthorizedException",
  1772. "error":{"httpStatusCode":401},
  1773. "exception":true
  1774. },
  1775. {
  1776. "shape":"ServiceUnavailableException",
  1777. "error":{"httpStatusCode":503},
  1778. "exception":true,
  1779. "fault":true
  1780. },
  1781. {
  1782. "shape":"InternalFailureException",
  1783. "error":{"httpStatusCode":500},
  1784. "exception":true,
  1785. "fault":true
  1786. },
  1787. {
  1788. "shape":"ResourceNotFoundException",
  1789. "error":{"httpStatusCode":404},
  1790. "exception":true
  1791. }
  1792. ]
  1793. },
  1794. "ListThingPrincipals":{
  1795. "name":"ListThingPrincipals",
  1796. "http":{
  1797. "method":"GET",
  1798. "requestUri":"/things/{thingName}/principals"
  1799. },
  1800. "input":{"shape":"ListThingPrincipalsRequest"},
  1801. "output":{"shape":"ListThingPrincipalsResponse"},
  1802. "errors":[
  1803. {
  1804. "shape":"InvalidRequestException",
  1805. "error":{"httpStatusCode":400},
  1806. "exception":true
  1807. },
  1808. {
  1809. "shape":"ThrottlingException",
  1810. "error":{"httpStatusCode":429},
  1811. "exception":true
  1812. },
  1813. {
  1814. "shape":"UnauthorizedException",
  1815. "error":{"httpStatusCode":401},
  1816. "exception":true
  1817. },
  1818. {
  1819. "shape":"ServiceUnavailableException",
  1820. "error":{"httpStatusCode":503},
  1821. "exception":true,
  1822. "fault":true
  1823. },
  1824. {
  1825. "shape":"InternalFailureException",
  1826. "error":{"httpStatusCode":500},
  1827. "exception":true,
  1828. "fault":true
  1829. },
  1830. {
  1831. "shape":"ResourceNotFoundException",
  1832. "error":{"httpStatusCode":404},
  1833. "exception":true
  1834. }
  1835. ]
  1836. },
  1837. "ListThingTypes":{
  1838. "name":"ListThingTypes",
  1839. "http":{
  1840. "method":"GET",
  1841. "requestUri":"/thing-types"
  1842. },
  1843. "input":{"shape":"ListThingTypesRequest"},
  1844. "output":{"shape":"ListThingTypesResponse"},
  1845. "errors":[
  1846. {
  1847. "shape":"InvalidRequestException",
  1848. "error":{"httpStatusCode":400},
  1849. "exception":true
  1850. },
  1851. {
  1852. "shape":"ThrottlingException",
  1853. "error":{"httpStatusCode":429},
  1854. "exception":true
  1855. },
  1856. {
  1857. "shape":"UnauthorizedException",
  1858. "error":{"httpStatusCode":401},
  1859. "exception":true
  1860. },
  1861. {
  1862. "shape":"ServiceUnavailableException",
  1863. "error":{"httpStatusCode":503},
  1864. "exception":true,
  1865. "fault":true
  1866. },
  1867. {
  1868. "shape":"InternalFailureException",
  1869. "error":{"httpStatusCode":500},
  1870. "exception":true,
  1871. "fault":true
  1872. }
  1873. ]
  1874. },
  1875. "ListThings":{
  1876. "name":"ListThings",
  1877. "http":{
  1878. "method":"GET",
  1879. "requestUri":"/things"
  1880. },
  1881. "input":{"shape":"ListThingsRequest"},
  1882. "output":{"shape":"ListThingsResponse"},
  1883. "errors":[
  1884. {
  1885. "shape":"InvalidRequestException",
  1886. "error":{"httpStatusCode":400},
  1887. "exception":true
  1888. },
  1889. {
  1890. "shape":"ThrottlingException",
  1891. "error":{"httpStatusCode":429},
  1892. "exception":true
  1893. },
  1894. {
  1895. "shape":"UnauthorizedException",
  1896. "error":{"httpStatusCode":401},
  1897. "exception":true
  1898. },
  1899. {
  1900. "shape":"ServiceUnavailableException",
  1901. "error":{"httpStatusCode":503},
  1902. "exception":true,
  1903. "fault":true
  1904. },
  1905. {
  1906. "shape":"InternalFailureException",
  1907. "error":{"httpStatusCode":500},
  1908. "exception":true,
  1909. "fault":true
  1910. }
  1911. ]
  1912. },
  1913. "ListTopicRules":{
  1914. "name":"ListTopicRules",
  1915. "http":{
  1916. "method":"GET",
  1917. "requestUri":"/rules"
  1918. },
  1919. "input":{"shape":"ListTopicRulesRequest"},
  1920. "output":{"shape":"ListTopicRulesResponse"},
  1921. "errors":[
  1922. {
  1923. "shape":"InternalException",
  1924. "error":{"httpStatusCode":500},
  1925. "exception":true,
  1926. "fault":true
  1927. },
  1928. {
  1929. "shape":"InvalidRequestException",
  1930. "error":{"httpStatusCode":400},
  1931. "exception":true
  1932. },
  1933. {
  1934. "shape":"ServiceUnavailableException",
  1935. "error":{"httpStatusCode":503},
  1936. "exception":true,
  1937. "fault":true
  1938. }
  1939. ]
  1940. },
  1941. "RegisterCACertificate":{
  1942. "name":"RegisterCACertificate",
  1943. "http":{
  1944. "method":"POST",
  1945. "requestUri":"/cacertificate"
  1946. },
  1947. "input":{"shape":"RegisterCACertificateRequest"},
  1948. "output":{"shape":"RegisterCACertificateResponse"},
  1949. "errors":[
  1950. {
  1951. "shape":"ResourceAlreadyExistsException",
  1952. "error":{"httpStatusCode":409},
  1953. "exception":true
  1954. },
  1955. {
  1956. "shape":"RegistrationCodeValidationException",
  1957. "error":{"httpStatusCode":400},
  1958. "exception":true
  1959. },
  1960. {
  1961. "shape":"InvalidRequestException",
  1962. "error":{"httpStatusCode":400},
  1963. "exception":true
  1964. },
  1965. {
  1966. "shape":"CertificateValidationException",
  1967. "error":{"httpStatusCode":400},
  1968. "exception":true
  1969. },
  1970. {
  1971. "shape":"ThrottlingException",
  1972. "error":{"httpStatusCode":429},
  1973. "exception":true
  1974. },
  1975. {
  1976. "shape":"LimitExceededException",
  1977. "error":{"httpStatusCode":410},
  1978. "exception":true
  1979. },
  1980. {
  1981. "shape":"UnauthorizedException",
  1982. "error":{"httpStatusCode":401},
  1983. "exception":true
  1984. },
  1985. {
  1986. "shape":"ServiceUnavailableException",
  1987. "error":{"httpStatusCode":503},
  1988. "exception":true,
  1989. "fault":true
  1990. },
  1991. {
  1992. "shape":"InternalFailureException",
  1993. "error":{"httpStatusCode":500},
  1994. "exception":true,
  1995. "fault":true
  1996. }
  1997. ]
  1998. },
  1999. "RegisterCertificate":{
  2000. "name":"RegisterCertificate",
  2001. "http":{
  2002. "method":"POST",
  2003. "requestUri":"/certificate/register"
  2004. },
  2005. "input":{"shape":"RegisterCertificateRequest"},
  2006. "output":{"shape":"RegisterCertificateResponse"},
  2007. "errors":[
  2008. {
  2009. "shape":"ResourceAlreadyExistsException",
  2010. "error":{"httpStatusCode":409},
  2011. "exception":true
  2012. },
  2013. {
  2014. "shape":"InvalidRequestException",
  2015. "error":{"httpStatusCode":400},
  2016. "exception":true
  2017. },
  2018. {
  2019. "shape":"CertificateValidationException",
  2020. "error":{"httpStatusCode":400},
  2021. "exception":true
  2022. },
  2023. {
  2024. "shape":"CertificateStateException",
  2025. "error":{"httpStatusCode":406},
  2026. "exception":true
  2027. },
  2028. {
  2029. "shape":"CertificateConflictException",
  2030. "error":{"httpStatusCode":409},
  2031. "exception":true
  2032. },
  2033. {
  2034. "shape":"ThrottlingException",
  2035. "error":{"httpStatusCode":429},
  2036. "exception":true
  2037. },
  2038. {
  2039. "shape":"UnauthorizedException",
  2040. "error":{"httpStatusCode":401},
  2041. "exception":true
  2042. },
  2043. {
  2044. "shape":"ServiceUnavailableException",
  2045. "error":{"httpStatusCode":503},
  2046. "exception":true,
  2047. "fault":true
  2048. },
  2049. {
  2050. "shape":"InternalFailureException",
  2051. "error":{"httpStatusCode":500},
  2052. "exception":true,
  2053. "fault":true
  2054. }
  2055. ]
  2056. },
  2057. "RejectCertificateTransfer":{
  2058. "name":"RejectCertificateTransfer",
  2059. "http":{
  2060. "method":"PATCH",
  2061. "requestUri":"/reject-certificate-transfer/{certificateId}"
  2062. },
  2063. "input":{"shape":"RejectCertificateTransferRequest"},
  2064. "errors":[
  2065. {
  2066. "shape":"ResourceNotFoundException",
  2067. "error":{"httpStatusCode":404},
  2068. "exception":true
  2069. },
  2070. {
  2071. "shape":"TransferAlreadyCompletedException",
  2072. "error":{"httpStatusCode":410},
  2073. "exception":true
  2074. },
  2075. {
  2076. "shape":"InvalidRequestException",
  2077. "error":{"httpStatusCode":400},
  2078. "exception":true
  2079. },
  2080. {
  2081. "shape":"ThrottlingException",
  2082. "error":{"httpStatusCode":429},
  2083. "exception":true
  2084. },
  2085. {
  2086. "shape":"UnauthorizedException",
  2087. "error":{"httpStatusCode":401},
  2088. "exception":true
  2089. },
  2090. {
  2091. "shape":"ServiceUnavailableException",
  2092. "error":{"httpStatusCode":503},
  2093. "exception":true,
  2094. "fault":true
  2095. },
  2096. {
  2097. "shape":"InternalFailureException",
  2098. "error":{"httpStatusCode":500},
  2099. "exception":true,
  2100. "fault":true
  2101. }
  2102. ]
  2103. },
  2104. "ReplaceTopicRule":{
  2105. "name":"ReplaceTopicRule",
  2106. "http":{
  2107. "method":"PATCH",
  2108. "requestUri":"/rules/{ruleName}"
  2109. },
  2110. "input":{"shape":"ReplaceTopicRuleRequest"},
  2111. "errors":[
  2112. {
  2113. "shape":"SqlParseException",
  2114. "error":{"httpStatusCode":400},
  2115. "exception":true
  2116. },
  2117. {
  2118. "shape":"InternalException",
  2119. "error":{"httpStatusCode":500},
  2120. "exception":true,
  2121. "fault":true
  2122. },
  2123. {
  2124. "shape":"InvalidRequestException",
  2125. "error":{"httpStatusCode":400},
  2126. "exception":true
  2127. },
  2128. {
  2129. "shape":"ServiceUnavailableException",
  2130. "error":{"httpStatusCode":503},
  2131. "exception":true,
  2132. "fault":true
  2133. },
  2134. {
  2135. "shape":"UnauthorizedException",
  2136. "error":{"httpStatusCode":401},
  2137. "exception":true
  2138. }
  2139. ]
  2140. },
  2141. "SetDefaultPolicyVersion":{
  2142. "name":"SetDefaultPolicyVersion",
  2143. "http":{
  2144. "method":"PATCH",
  2145. "requestUri":"/policies/{policyName}/version/{policyVersionId}"
  2146. },
  2147. "input":{"shape":"SetDefaultPolicyVersionRequest"},
  2148. "errors":[
  2149. {
  2150. "shape":"ResourceNotFoundException",
  2151. "error":{"httpStatusCode":404},
  2152. "exception":true
  2153. },
  2154. {
  2155. "shape":"InvalidRequestException",
  2156. "error":{"httpStatusCode":400},
  2157. "exception":true
  2158. },
  2159. {
  2160. "shape":"ThrottlingException",
  2161. "error":{"httpStatusCode":429},
  2162. "exception":true
  2163. },
  2164. {
  2165. "shape":"UnauthorizedException",
  2166. "error":{"httpStatusCode":401},
  2167. "exception":true
  2168. },
  2169. {
  2170. "shape":"ServiceUnavailableException",
  2171. "error":{"httpStatusCode":503},
  2172. "exception":true,
  2173. "fault":true
  2174. },
  2175. {
  2176. "shape":"InternalFailureException",
  2177. "error":{"httpStatusCode":500},
  2178. "exception":true,
  2179. "fault":true
  2180. }
  2181. ]
  2182. },
  2183. "SetLoggingOptions":{
  2184. "name":"SetLoggingOptions",
  2185. "http":{
  2186. "method":"POST",
  2187. "requestUri":"/loggingOptions"
  2188. },
  2189. "input":{"shape":"SetLoggingOptionsRequest"},
  2190. "errors":[
  2191. {
  2192. "shape":"InternalException",
  2193. "error":{"httpStatusCode":500},
  2194. "exception":true,
  2195. "fault":true
  2196. },
  2197. {
  2198. "shape":"InvalidRequestException",
  2199. "error":{"httpStatusCode":400},
  2200. "exception":true
  2201. },
  2202. {
  2203. "shape":"ServiceUnavailableException",
  2204. "error":{"httpStatusCode":503},
  2205. "exception":true,
  2206. "fault":true
  2207. }
  2208. ]
  2209. },
  2210. "TransferCertificate":{
  2211. "name":"TransferCertificate",
  2212. "http":{
  2213. "method":"PATCH",
  2214. "requestUri":"/transfer-certificate/{certificateId}"
  2215. },
  2216. "input":{"shape":"TransferCertificateRequest"},
  2217. "output":{"shape":"TransferCertificateResponse"},
  2218. "errors":[
  2219. {
  2220. "shape":"InvalidRequestException",
  2221. "error":{"httpStatusCode":400},
  2222. "exception":true
  2223. },
  2224. {
  2225. "shape":"ResourceNotFoundException",
  2226. "error":{"httpStatusCode":404},
  2227. "exception":true
  2228. },
  2229. {
  2230. "shape":"CertificateStateException",
  2231. "error":{"httpStatusCode":406},
  2232. "exception":true
  2233. },
  2234. {
  2235. "shape":"TransferConflictException",
  2236. "error":{"httpStatusCode":409},
  2237. "exception":true
  2238. },
  2239. {
  2240. "shape":"ThrottlingException",
  2241. "error":{"httpStatusCode":429},
  2242. "exception":true
  2243. },
  2244. {
  2245. "shape":"UnauthorizedException",
  2246. "error":{"httpStatusCode":401},
  2247. "exception":true
  2248. },
  2249. {
  2250. "shape":"ServiceUnavailableException",
  2251. "error":{"httpStatusCode":503},
  2252. "exception":true,
  2253. "fault":true
  2254. },
  2255. {
  2256. "shape":"InternalFailureException",
  2257. "error":{"httpStatusCode":500},
  2258. "exception":true,
  2259. "fault":true
  2260. }
  2261. ]
  2262. },
  2263. "UpdateCACertificate":{
  2264. "name":"UpdateCACertificate",
  2265. "http":{
  2266. "method":"PUT",
  2267. "requestUri":"/cacertificate/{caCertificateId}"
  2268. },
  2269. "input":{"shape":"UpdateCACertificateRequest"},
  2270. "errors":[
  2271. {
  2272. "shape":"ResourceNotFoundException",
  2273. "error":{"httpStatusCode":404},
  2274. "exception":true
  2275. },
  2276. {
  2277. "shape":"InvalidRequestException",
  2278. "error":{"httpStatusCode":400},
  2279. "exception":true
  2280. },
  2281. {
  2282. "shape":"ThrottlingException",
  2283. "error":{"httpStatusCode":429},
  2284. "exception":true
  2285. },
  2286. {
  2287. "shape":"UnauthorizedException",
  2288. "error":{"httpStatusCode":401},
  2289. "exception":true
  2290. },
  2291. {
  2292. "shape":"ServiceUnavailableException",
  2293. "error":{"httpStatusCode":503},
  2294. "exception":true,
  2295. "fault":true
  2296. },
  2297. {
  2298. "shape":"InternalFailureException",
  2299. "error":{"httpStatusCode":500},
  2300. "exception":true,
  2301. "fault":true
  2302. }
  2303. ]
  2304. },
  2305. "UpdateCertificate":{
  2306. "name":"UpdateCertificate",
  2307. "http":{
  2308. "method":"PUT",
  2309. "requestUri":"/certificates/{certificateId}"
  2310. },
  2311. "input":{"shape":"UpdateCertificateRequest"},
  2312. "errors":[
  2313. {
  2314. "shape":"ResourceNotFoundException",
  2315. "error":{"httpStatusCode":404},
  2316. "exception":true
  2317. },
  2318. {
  2319. "shape":"CertificateStateException",
  2320. "error":{"httpStatusCode":406},
  2321. "exception":true
  2322. },
  2323. {
  2324. "shape":"InvalidRequestException",
  2325. "error":{"httpStatusCode":400},
  2326. "exception":true
  2327. },
  2328. {
  2329. "shape":"ThrottlingException",
  2330. "error":{"httpStatusCode":429},
  2331. "exception":true
  2332. },
  2333. {
  2334. "shape":"UnauthorizedException",
  2335. "error":{"httpStatusCode":401},
  2336. "exception":true
  2337. },
  2338. {
  2339. "shape":"ServiceUnavailableException",
  2340. "error":{"httpStatusCode":503},
  2341. "exception":true,
  2342. "fault":true
  2343. },
  2344. {
  2345. "shape":"InternalFailureException",
  2346. "error":{"httpStatusCode":500},
  2347. "exception":true,
  2348. "fault":true
  2349. }
  2350. ]
  2351. },
  2352. "UpdateThing":{
  2353. "name":"UpdateThing",
  2354. "http":{
  2355. "method":"PATCH",
  2356. "requestUri":"/things/{thingName}"
  2357. },
  2358. "input":{"shape":"UpdateThingRequest"},
  2359. "output":{"shape":"UpdateThingResponse"},
  2360. "errors":[
  2361. {
  2362. "shape":"InvalidRequestException",
  2363. "error":{"httpStatusCode":400},
  2364. "exception":true
  2365. },
  2366. {
  2367. "shape":"VersionConflictException",
  2368. "error":{"httpStatusCode":409},
  2369. "exception":true
  2370. },
  2371. {
  2372. "shape":"ThrottlingException",
  2373. "error":{"httpStatusCode":429},
  2374. "exception":true
  2375. },
  2376. {
  2377. "shape":"UnauthorizedException",
  2378. "error":{"httpStatusCode":401},
  2379. "exception":true
  2380. },
  2381. {
  2382. "shape":"ServiceUnavailableException",
  2383. "error":{"httpStatusCode":503},
  2384. "exception":true,
  2385. "fault":true
  2386. },
  2387. {
  2388. "shape":"InternalFailureException",
  2389. "error":{"httpStatusCode":500},
  2390. "exception":true,
  2391. "fault":true
  2392. },
  2393. {
  2394. "shape":"ResourceNotFoundException",
  2395. "error":{"httpStatusCode":404},
  2396. "exception":true
  2397. }
  2398. ]
  2399. }
  2400. },
  2401. "shapes":{
  2402. "AcceptCertificateTransferRequest":{
  2403. "type":"structure",
  2404. "required":["certificateId"],
  2405. "members":{
  2406. "certificateId":{
  2407. "shape":"CertificateId",
  2408. "location":"uri",
  2409. "locationName":"certificateId"
  2410. },
  2411. "setAsActive":{
  2412. "shape":"SetAsActive",
  2413. "location":"querystring",
  2414. "locationName":"setAsActive"
  2415. }
  2416. }
  2417. },
  2418. "Action":{
  2419. "type":"structure",
  2420. "members":{
  2421. "dynamoDB":{"shape":"DynamoDBAction"},
  2422. "lambda":{"shape":"LambdaAction"},
  2423. "sns":{"shape":"SnsAction"},
  2424. "sqs":{"shape":"SqsAction"},
  2425. "kinesis":{"shape":"KinesisAction"},
  2426. "republish":{"shape":"RepublishAction"},
  2427. "s3":{"shape":"S3Action"},
  2428. "firehose":{"shape":"FirehoseAction"},
  2429. "cloudwatchMetric":{"shape":"CloudwatchMetricAction"},
  2430. "cloudwatchAlarm":{"shape":"CloudwatchAlarmAction"},
  2431. "elasticsearch":{"shape":"ElasticsearchAction"}
  2432. }
  2433. },
  2434. "ActionList":{
  2435. "type":"list",
  2436. "member":{"shape":"Action"},
  2437. "min":0,
  2438. "max":10
  2439. },
  2440. "AlarmName":{"type":"string"},
  2441. "AllowAutoRegistration":{"type":"boolean"},
  2442. "AscendingOrder":{"type":"boolean"},
  2443. "AttachPrincipalPolicyRequest":{
  2444. "type":"structure",
  2445. "required":[
  2446. "policyName",
  2447. "principal"
  2448. ],
  2449. "members":{
  2450. "policyName":{
  2451. "shape":"PolicyName",
  2452. "location":"uri",
  2453. "locationName":"policyName"
  2454. },
  2455. "principal":{
  2456. "shape":"Principal",
  2457. "location":"header",
  2458. "locationName":"x-amzn-iot-principal"
  2459. }
  2460. }
  2461. },
  2462. "AttachThingPrincipalRequest":{
  2463. "type":"structure",
  2464. "required":[
  2465. "thingName",
  2466. "principal"
  2467. ],
  2468. "members":{
  2469. "thingName":{
  2470. "shape":"ThingName",
  2471. "location":"uri",
  2472. "locationName":"thingName"
  2473. },
  2474. "principal":{
  2475. "shape":"Principal",
  2476. "location":"header",
  2477. "locationName":"x-amzn-principal"
  2478. }
  2479. }
  2480. },
  2481. "AttachThingPrincipalResponse":{
  2482. "type":"structure",
  2483. "members":{
  2484. }
  2485. },
  2486. "AttributeName":{
  2487. "type":"string",
  2488. "max":128,
  2489. "pattern":"[a-zA-Z0-9_.,@/:#-]+"
  2490. },
  2491. "AttributePayload":{
  2492. "type":"structure",
  2493. "members":{
  2494. "attributes":{"shape":"Attributes"},
  2495. "merge":{"shape":"Flag"}
  2496. }
  2497. },
  2498. "AttributeValue":{
  2499. "type":"string",
  2500. "max":800,
  2501. "pattern":"[a-zA-Z0-9_.,@/:#-]*"
  2502. },
  2503. "Attributes":{
  2504. "type":"map",
  2505. "key":{"shape":"AttributeName"},
  2506. "value":{"shape":"AttributeValue"}
  2507. },
  2508. "AutoRegistrationStatus":{
  2509. "type":"string",
  2510. "enum":[
  2511. "ENABLE",
  2512. "DISABLE"
  2513. ]
  2514. },
  2515. "AwsAccountId":{
  2516. "type":"string",
  2517. "pattern":"[0-9]{12}"
  2518. },
  2519. "AwsArn":{"type":"string"},
  2520. "AwsIotSqlVersion":{"type":"string"},
  2521. "Boolean":{"type":"boolean"},
  2522. "BucketName":{"type":"string"},
  2523. "CACertificate":{
  2524. "type":"structure",
  2525. "members":{
  2526. "certificateArn":{"shape":"CertificateArn"},
  2527. "certificateId":{"shape":"CertificateId"},
  2528. "status":{"shape":"CACertificateStatus"},
  2529. "creationDate":{"shape":"DateType"}
  2530. }
  2531. },
  2532. "CACertificateDescription":{
  2533. "type":"structure",
  2534. "members":{
  2535. "certificateArn":{"shape":"CertificateArn"},
  2536. "certificateId":{"shape":"CertificateId"},
  2537. "status":{"shape":"CACertificateStatus"},
  2538. "certificatePem":{"shape":"CertificatePem"},
  2539. "ownedBy":{"shape":"AwsAccountId"},
  2540. "creationDate":{"shape":"DateType"},
  2541. "autoRegistrationStatus":{"shape":"AutoRegistrationStatus"}
  2542. }
  2543. },
  2544. "CACertificateStatus":{
  2545. "type":"string",
  2546. "enum":[
  2547. "ACTIVE",
  2548. "INACTIVE"
  2549. ]
  2550. },
  2551. "CACertificates":{
  2552. "type":"list",
  2553. "member":{"shape":"CACertificate"}
  2554. },
  2555. "CancelCertificateTransferRequest":{
  2556. "type":"structure",
  2557. "required":["certificateId"],
  2558. "members":{
  2559. "certificateId":{
  2560. "shape":"CertificateId",
  2561. "location":"uri",
  2562. "locationName":"certificateId"
  2563. }
  2564. }
  2565. },
  2566. "Certificate":{
  2567. "type":"structure",
  2568. "members":{
  2569. "certificateArn":{"shape":"CertificateArn"},
  2570. "certificateId":{"shape":"CertificateId"},
  2571. "status":{"shape":"CertificateStatus"},
  2572. "creationDate":{"shape":"DateType"}
  2573. }
  2574. },
  2575. "CertificateArn":{"type":"string"},
  2576. "CertificateConflictException":{
  2577. "type":"structure",
  2578. "members":{
  2579. "message":{"shape":"errorMessage"}
  2580. },
  2581. "error":{"httpStatusCode":409},
  2582. "exception":true
  2583. },
  2584. "CertificateDescription":{
  2585. "type":"structure",
  2586. "members":{
  2587. "certificateArn":{"shape":"CertificateArn"},
  2588. "certificateId":{"shape":"CertificateId"},
  2589. "caCertificateId":{"shape":"CertificateId"},
  2590. "status":{"shape":"CertificateStatus"},
  2591. "certificatePem":{"shape":"CertificatePem"},
  2592. "ownedBy":{"shape":"AwsAccountId"},
  2593. "previousOwnedBy":{"shape":"AwsAccountId"},
  2594. "creationDate":{"shape":"DateType"},
  2595. "lastModifiedDate":{"shape":"DateType"},
  2596. "transferData":{"shape":"TransferData"}
  2597. }
  2598. },
  2599. "CertificateId":{
  2600. "type":"string",
  2601. "min":64,
  2602. "max":64,
  2603. "pattern":"(0x)?[a-fA-F0-9]+"
  2604. },
  2605. "CertificatePem":{
  2606. "type":"string",
  2607. "min":1,
  2608. "max":65536
  2609. },
  2610. "CertificateSigningRequest":{
  2611. "type":"string",
  2612. "min":1
  2613. },
  2614. "CertificateStateException":{
  2615. "type":"structure",
  2616. "members":{
  2617. "message":{"shape":"errorMessage"}
  2618. },
  2619. "error":{"httpStatusCode":406},
  2620. "exception":true
  2621. },
  2622. "CertificateStatus":{
  2623. "type":"string",
  2624. "enum":[
  2625. "ACTIVE",
  2626. "INACTIVE",
  2627. "REVOKED",
  2628. "PENDING_TRANSFER",
  2629. "REGISTER_INACTIVE",
  2630. "PENDING_ACTIVATION"
  2631. ]
  2632. },
  2633. "CertificateValidationException":{
  2634. "type":"structure",
  2635. "members":{
  2636. "message":{"shape":"errorMessage"}
  2637. },
  2638. "error":{"httpStatusCode":400},
  2639. "exception":true
  2640. },
  2641. "Certificates":{
  2642. "type":"list",
  2643. "member":{"shape":"Certificate"}
  2644. },
  2645. "ClientId":{"type":"string"},
  2646. "CloudwatchAlarmAction":{
  2647. "type":"structure",
  2648. "required":[
  2649. "roleArn",
  2650. "alarmName",
  2651. "stateReason",
  2652. "stateValue"
  2653. ],
  2654. "members":{
  2655. "roleArn":{"shape":"AwsArn"},
  2656. "alarmName":{"shape":"AlarmName"},
  2657. "stateReason":{"shape":"StateReason"},
  2658. "stateValue":{"shape":"StateValue"}
  2659. }
  2660. },
  2661. "CloudwatchMetricAction":{
  2662. "type":"structure",
  2663. "required":[
  2664. "roleArn",
  2665. "metricNamespace",
  2666. "metricName",
  2667. "metricValue",
  2668. "metricUnit"
  2669. ],
  2670. "members":{
  2671. "roleArn":{"shape":"AwsArn"},
  2672. "metricNamespace":{"shape":"MetricNamespace"},
  2673. "metricName":{"shape":"MetricName"},
  2674. "metricValue":{"shape":"MetricValue"},
  2675. "metricUnit":{"shape":"MetricUnit"},
  2676. "metricTimestamp":{"shape":"MetricTimestamp"}
  2677. }
  2678. },
  2679. "CreateCertificateFromCsrRequest":{
  2680. "type":"structure",
  2681. "required":["certificateSigningRequest"],
  2682. "members":{
  2683. "certificateSigningRequest":{"shape":"CertificateSigningRequest"},
  2684. "setAsActive":{
  2685. "shape":"SetAsActive",
  2686. "location":"querystring",
  2687. "locationName":"setAsActive"
  2688. }
  2689. }
  2690. },
  2691. "CreateCertificateFromCsrResponse":{
  2692. "type":"structure",
  2693. "members":{
  2694. "certificateArn":{"shape":"CertificateArn"},
  2695. "certificateId":{"shape":"CertificateId"},
  2696. "certificatePem":{"shape":"CertificatePem"}
  2697. }
  2698. },
  2699. "CreateKeysAndCertificateRequest":{
  2700. "type":"structure",
  2701. "members":{
  2702. "setAsActive":{
  2703. "shape":"SetAsActive",
  2704. "location":"querystring",
  2705. "locationName":"setAsActive"
  2706. }
  2707. }
  2708. },
  2709. "CreateKeysAndCertificateResponse":{
  2710. "type":"structure",
  2711. "members":{
  2712. "certificateArn":{"shape":"CertificateArn"},
  2713. "certificateId":{"shape":"CertificateId"},
  2714. "certificatePem":{"shape":"CertificatePem"},
  2715. "keyPair":{"shape":"KeyPair"}
  2716. }
  2717. },
  2718. "CreatePolicyRequest":{
  2719. "type":"structure",
  2720. "required":[
  2721. "policyName",
  2722. "policyDocument"
  2723. ],
  2724. "members":{
  2725. "policyName":{
  2726. "shape":"PolicyName",
  2727. "location":"uri",
  2728. "locationName":"policyName"
  2729. },
  2730. "policyDocument":{"shape":"PolicyDocument"}
  2731. }
  2732. },
  2733. "CreatePolicyResponse":{
  2734. "type":"structure",
  2735. "members":{
  2736. "policyName":{"shape":"PolicyName"},
  2737. "policyArn":{"shape":"PolicyArn"},
  2738. "policyDocument":{"shape":"PolicyDocument"},
  2739. "policyVersionId":{"shape":"PolicyVersionId"}
  2740. }
  2741. },
  2742. "CreatePolicyVersionRequest":{
  2743. "type":"structure",
  2744. "required":[
  2745. "policyName",
  2746. "policyDocument"
  2747. ],
  2748. "members":{
  2749. "policyName":{
  2750. "shape":"PolicyName",
  2751. "location":"uri",
  2752. "locationName":"policyName"
  2753. },
  2754. "policyDocument":{"shape":"PolicyDocument"},
  2755. "setAsDefault":{
  2756. "shape":"SetAsDefault",
  2757. "location":"querystring",
  2758. "locationName":"setAsDefault"
  2759. }
  2760. }
  2761. },
  2762. "CreatePolicyVersionResponse":{
  2763. "type":"structure",
  2764. "members":{
  2765. "policyArn":{"shape":"PolicyArn"},
  2766. "policyDocument":{"shape":"PolicyDocument"},
  2767. "policyVersionId":{"shape":"PolicyVersionId"},
  2768. "isDefaultVersion":{"shape":"IsDefaultVersion"}
  2769. }
  2770. },
  2771. "CreateThingRequest":{
  2772. "type":"structure",
  2773. "required":["thingName"],
  2774. "members":{
  2775. "thingName":{
  2776. "shape":"ThingName",
  2777. "location":"uri",
  2778. "locationName":"thingName"
  2779. },
  2780. "thingTypeName":{"shape":"ThingTypeName"},
  2781. "attributePayload":{"shape":"AttributePayload"}
  2782. }
  2783. },
  2784. "CreateThingResponse":{
  2785. "type":"structure",
  2786. "members":{
  2787. "thingName":{"shape":"ThingName"},
  2788. "thingArn":{"shape":"ThingArn"}
  2789. }
  2790. },
  2791. "CreateThingTypeRequest":{
  2792. "type":"structure",
  2793. "required":["thingTypeName"],
  2794. "members":{
  2795. "thingTypeName":{
  2796. "shape":"ThingTypeName",
  2797. "location":"uri",
  2798. "locationName":"thingTypeName"
  2799. },
  2800. "thingTypeProperties":{"shape":"ThingTypeProperties"}
  2801. }
  2802. },
  2803. "CreateThingTypeResponse":{
  2804. "type":"structure",
  2805. "members":{
  2806. "thingTypeName":{"shape":"ThingTypeName"},
  2807. "thingTypeArn":{"shape":"ThingTypeArn"}
  2808. }
  2809. },
  2810. "CreateTopicRuleRequest":{
  2811. "type":"structure",
  2812. "required":[
  2813. "ruleName",
  2814. "topicRulePayload"
  2815. ],
  2816. "members":{
  2817. "ruleName":{
  2818. "shape":"RuleName",
  2819. "location":"uri",
  2820. "locationName":"ruleName"
  2821. },
  2822. "topicRulePayload":{"shape":"TopicRulePayload"}
  2823. },
  2824. "payload":"topicRulePayload"
  2825. },
  2826. "CreatedAtDate":{"type":"timestamp"},
  2827. "CreationDate":{"type":"timestamp"},
  2828. "DateType":{"type":"timestamp"},
  2829. "DeleteCACertificateRequest":{
  2830. "type":"structure",
  2831. "required":["certificateId"],
  2832. "members":{
  2833. "certificateId":{
  2834. "shape":"CertificateId",
  2835. "location":"uri",
  2836. "locationName":"caCertificateId"
  2837. }
  2838. }
  2839. },
  2840. "DeleteCACertificateResponse":{
  2841. "type":"structure",
  2842. "members":{
  2843. }
  2844. },
  2845. "DeleteCertificateRequest":{
  2846. "type":"structure",
  2847. "required":["certificateId"],
  2848. "members":{
  2849. "certificateId":{
  2850. "shape":"CertificateId",
  2851. "location":"uri",
  2852. "locationName":"certificateId"
  2853. }
  2854. }
  2855. },
  2856. "DeleteConflictException":{
  2857. "type":"structure",
  2858. "members":{
  2859. "message":{"shape":"errorMessage"}
  2860. },
  2861. "error":{"httpStatusCode":409},
  2862. "exception":true
  2863. },
  2864. "DeletePolicyRequest":{
  2865. "type":"structure",
  2866. "required":["policyName"],
  2867. "members":{
  2868. "policyName":{
  2869. "shape":"PolicyName",
  2870. "location":"uri",
  2871. "locationName":"policyName"
  2872. }
  2873. }
  2874. },
  2875. "DeletePolicyVersionRequest":{
  2876. "type":"structure",
  2877. "required":[
  2878. "policyName",
  2879. "policyVersionId"
  2880. ],
  2881. "members":{
  2882. "policyName":{
  2883. "shape":"PolicyName",
  2884. "location":"uri",
  2885. "locationName":"policyName"
  2886. },
  2887. "policyVersionId":{
  2888. "shape":"PolicyVersionId",
  2889. "location":"uri",
  2890. "locationName":"policyVersionId"
  2891. }
  2892. }
  2893. },
  2894. "DeleteRegistrationCodeRequest":{
  2895. "type":"structure",
  2896. "members":{
  2897. }
  2898. },
  2899. "DeleteRegistrationCodeResponse":{
  2900. "type":"structure",
  2901. "members":{
  2902. }
  2903. },
  2904. "DeleteThingRequest":{
  2905. "type":"structure",
  2906. "required":["thingName"],
  2907. "members":{
  2908. "thingName":{
  2909. "shape":"ThingName",
  2910. "location":"uri",
  2911. "locationName":"thingName"
  2912. },
  2913. "expectedVersion":{
  2914. "shape":"OptionalVersion",
  2915. "location":"querystring",
  2916. "locationName":"expectedVersion"
  2917. }
  2918. }
  2919. },
  2920. "DeleteThingResponse":{
  2921. "type":"structure",
  2922. "members":{
  2923. }
  2924. },
  2925. "DeleteThingTypeRequest":{
  2926. "type":"structure",
  2927. "required":["thingTypeName"],
  2928. "members":{
  2929. "thingTypeName":{
  2930. "shape":"ThingTypeName",
  2931. "location":"uri",
  2932. "locationName":"thingTypeName"
  2933. }
  2934. }
  2935. },
  2936. "DeleteThingTypeResponse":{
  2937. "type":"structure",
  2938. "members":{
  2939. }
  2940. },
  2941. "DeleteTopicRuleRequest":{
  2942. "type":"structure",
  2943. "members":{
  2944. "ruleName":{
  2945. "shape":"RuleName",
  2946. "location":"uri",
  2947. "locationName":"ruleName"
  2948. }
  2949. },
  2950. "required":["ruleName"]
  2951. },
  2952. "DeliveryStreamName":{"type":"string"},
  2953. "DeprecateThingTypeRequest":{
  2954. "type":"structure",
  2955. "required":["thingTypeName"],
  2956. "members":{
  2957. "thingTypeName":{
  2958. "shape":"ThingTypeName",
  2959. "location":"uri",
  2960. "locationName":"thingTypeName"
  2961. },
  2962. "undoDeprecate":{"shape":"UndoDeprecate"}
  2963. }
  2964. },
  2965. "DeprecateThingTypeResponse":{
  2966. "type":"structure",
  2967. "members":{
  2968. }
  2969. },
  2970. "DeprecationDate":{"type":"timestamp"},
  2971. "DescribeCACertificateRequest":{
  2972. "type":"structure",
  2973. "required":["certificateId"],
  2974. "members":{
  2975. "certificateId":{
  2976. "shape":"CertificateId",
  2977. "location":"uri",
  2978. "locationName":"caCertificateId"
  2979. }
  2980. }
  2981. },
  2982. "DescribeCACertificateResponse":{
  2983. "type":"structure",
  2984. "members":{
  2985. "certificateDescription":{"shape":"CACertificateDescription"}
  2986. }
  2987. },
  2988. "DescribeCertificateRequest":{
  2989. "type":"structure",
  2990. "required":["certificateId"],
  2991. "members":{
  2992. "certificateId":{
  2993. "shape":"CertificateId",
  2994. "location":"uri",
  2995. "locationName":"certificateId"
  2996. }
  2997. }
  2998. },
  2999. "DescribeCertificateResponse":{
  3000. "type":"structure",
  3001. "members":{
  3002. "certificateDescription":{"shape":"CertificateDescription"}
  3003. }
  3004. },
  3005. "DescribeEndpointRequest":{
  3006. "type":"structure",
  3007. "members":{
  3008. }
  3009. },
  3010. "DescribeEndpointResponse":{
  3011. "type":"structure",
  3012. "members":{
  3013. "endpointAddress":{"shape":"EndpointAddress"}
  3014. }
  3015. },
  3016. "DescribeThingRequest":{
  3017. "type":"structure",
  3018. "required":["thingName"],
  3019. "members":{
  3020. "thingName":{
  3021. "shape":"ThingName",
  3022. "location":"uri",
  3023. "locationName":"thingName"
  3024. }
  3025. }
  3026. },
  3027. "DescribeThingResponse":{
  3028. "type":"structure",
  3029. "members":{
  3030. "defaultClientId":{"shape":"ClientId"},
  3031. "thingName":{"shape":"ThingName"},
  3032. "thingTypeName":{"shape":"ThingTypeName"},
  3033. "attributes":{"shape":"Attributes"},
  3034. "version":{"shape":"Version"}
  3035. }
  3036. },
  3037. "DescribeThingTypeRequest":{
  3038. "type":"structure",
  3039. "required":["thingTypeName"],
  3040. "members":{
  3041. "thingTypeName":{
  3042. "shape":"ThingTypeName",
  3043. "location":"uri",
  3044. "locationName":"thingTypeName"
  3045. }
  3046. }
  3047. },
  3048. "DescribeThingTypeResponse":{
  3049. "type":"structure",
  3050. "members":{
  3051. "thingTypeName":{"shape":"ThingTypeName"},
  3052. "thingTypeProperties":{"shape":"ThingTypeProperties"},
  3053. "thingTypeMetadata":{"shape":"ThingTypeMetadata"}
  3054. }
  3055. },
  3056. "Description":{"type":"string"},
  3057. "DetachPrincipalPolicyRequest":{
  3058. "type":"structure",
  3059. "required":[
  3060. "policyName",
  3061. "principal"
  3062. ],
  3063. "members":{
  3064. "policyName":{
  3065. "shape":"PolicyName",
  3066. "location":"uri",
  3067. "locationName":"policyName"
  3068. },
  3069. "principal":{
  3070. "shape":"Principal",
  3071. "location":"header",
  3072. "locationName":"x-amzn-iot-principal"
  3073. }
  3074. }
  3075. },
  3076. "DetachThingPrincipalRequest":{
  3077. "type":"structure",
  3078. "required":[
  3079. "thingName",
  3080. "principal"
  3081. ],
  3082. "members":{
  3083. "thingName":{
  3084. "shape":"ThingName",
  3085. "location":"uri",
  3086. "locationName":"thingName"
  3087. },
  3088. "principal":{
  3089. "shape":"Principal",
  3090. "location":"header",
  3091. "locationName":"x-amzn-principal"
  3092. }
  3093. }
  3094. },
  3095. "DetachThingPrincipalResponse":{
  3096. "type":"structure",
  3097. "members":{
  3098. }
  3099. },
  3100. "DisableTopicRuleRequest":{
  3101. "type":"structure",
  3102. "required":["ruleName"],
  3103. "members":{
  3104. "ruleName":{
  3105. "shape":"RuleName",
  3106. "location":"uri",
  3107. "locationName":"ruleName"
  3108. }
  3109. }
  3110. },
  3111. "DynamoDBAction":{
  3112. "type":"structure",
  3113. "required":[
  3114. "tableName",
  3115. "roleArn",
  3116. "hashKeyField",
  3117. "hashKeyValue"
  3118. ],
  3119. "members":{
  3120. "tableName":{"shape":"TableName"},
  3121. "roleArn":{"shape":"AwsArn"},
  3122. "operation":{"shape":"DynamoOperation"},
  3123. "hashKeyField":{"shape":"HashKeyField"},
  3124. "hashKeyValue":{"shape":"HashKeyValue"},
  3125. "hashKeyType":{"shape":"DynamoKeyType"},
  3126. "rangeKeyField":{"shape":"RangeKeyField"},
  3127. "rangeKeyValue":{"shape":"RangeKeyValue"},
  3128. "rangeKeyType":{"shape":"DynamoKeyType"},
  3129. "payloadField":{"shape":"PayloadField"}
  3130. }
  3131. },
  3132. "DynamoKeyType":{
  3133. "type":"string",
  3134. "enum":[
  3135. "STRING",
  3136. "NUMBER"
  3137. ]
  3138. },
  3139. "DynamoOperation":{"type":"string"},
  3140. "ElasticsearchAction":{
  3141. "type":"structure",
  3142. "required":[
  3143. "roleArn",
  3144. "endpoint",
  3145. "index",
  3146. "type",
  3147. "id"
  3148. ],
  3149. "members":{
  3150. "roleArn":{"shape":"AwsArn"},
  3151. "endpoint":{"shape":"ElasticsearchEndpoint"},
  3152. "index":{"shape":"ElasticsearchIndex"},
  3153. "type":{"shape":"ElasticsearchType"},
  3154. "id":{"shape":"ElasticsearchId"}
  3155. }
  3156. },
  3157. "ElasticsearchEndpoint":{
  3158. "type":"string",
  3159. "pattern":"https?://.*"
  3160. },
  3161. "ElasticsearchId":{"type":"string"},
  3162. "ElasticsearchIndex":{"type":"string"},
  3163. "ElasticsearchType":{"type":"string"},
  3164. "EnableTopicRuleRequest":{
  3165. "type":"structure",
  3166. "required":["ruleName"],
  3167. "members":{
  3168. "ruleName":{
  3169. "shape":"RuleName",
  3170. "location":"uri",
  3171. "locationName":"ruleName"
  3172. }
  3173. }
  3174. },
  3175. "EndpointAddress":{"type":"string"},
  3176. "FirehoseAction":{
  3177. "type":"structure",
  3178. "required":[
  3179. "roleArn",
  3180. "deliveryStreamName"
  3181. ],
  3182. "members":{
  3183. "roleArn":{"shape":"AwsArn"},
  3184. "deliveryStreamName":{"shape":"DeliveryStreamName"},
  3185. "separator":{"shape":"FirehoseSeparator"}
  3186. }
  3187. },
  3188. "FirehoseSeparator":{
  3189. "type":"string",
  3190. "pattern":"([\\n\\t])|(\\r\\n)|(,)"
  3191. },
  3192. "Flag":{"type":"boolean"},
  3193. "FunctionArn":{"type":"string"},
  3194. "GetLoggingOptionsRequest":{
  3195. "type":"structure",
  3196. "members":{
  3197. }
  3198. },
  3199. "GetLoggingOptionsResponse":{
  3200. "type":"structure",
  3201. "members":{
  3202. "roleArn":{"shape":"AwsArn"},
  3203. "logLevel":{"shape":"LogLevel"}
  3204. }
  3205. },
  3206. "GetPolicyRequest":{
  3207. "type":"structure",
  3208. "required":["policyName"],
  3209. "members":{
  3210. "policyName":{
  3211. "shape":"PolicyName",
  3212. "location":"uri",
  3213. "locationName":"policyName"
  3214. }
  3215. }
  3216. },
  3217. "GetPolicyResponse":{
  3218. "type":"structure",
  3219. "members":{
  3220. "policyName":{"shape":"PolicyName"},
  3221. "policyArn":{"shape":"PolicyArn"},
  3222. "policyDocument":{"shape":"PolicyDocument"},
  3223. "defaultVersionId":{"shape":"PolicyVersionId"}
  3224. }
  3225. },
  3226. "GetPolicyVersionRequest":{
  3227. "type":"structure",
  3228. "required":[
  3229. "policyName",
  3230. "policyVersionId"
  3231. ],
  3232. "members":{
  3233. "policyName":{
  3234. "shape":"PolicyName",
  3235. "location":"uri",
  3236. "locationName":"policyName"
  3237. },
  3238. "policyVersionId":{
  3239. "shape":"PolicyVersionId",
  3240. "location":"uri",
  3241. "locationName":"policyVersionId"
  3242. }
  3243. }
  3244. },
  3245. "GetPolicyVersionResponse":{
  3246. "type":"structure",
  3247. "members":{
  3248. "policyArn":{"shape":"PolicyArn"},
  3249. "policyName":{"shape":"PolicyName"},
  3250. "policyDocument":{"shape":"PolicyDocument"},
  3251. "policyVersionId":{"shape":"PolicyVersionId"},
  3252. "isDefaultVersion":{"shape":"IsDefaultVersion"}
  3253. }
  3254. },
  3255. "GetRegistrationCodeRequest":{
  3256. "type":"structure",
  3257. "members":{
  3258. }
  3259. },
  3260. "GetRegistrationCodeResponse":{
  3261. "type":"structure",
  3262. "members":{
  3263. "registrationCode":{"shape":"RegistrationCode"}
  3264. }
  3265. },
  3266. "GetTopicRuleRequest":{
  3267. "type":"structure",
  3268. "required":["ruleName"],
  3269. "members":{
  3270. "ruleName":{
  3271. "shape":"RuleName",
  3272. "location":"uri",
  3273. "locationName":"ruleName"
  3274. }
  3275. }
  3276. },
  3277. "GetTopicRuleResponse":{
  3278. "type":"structure",
  3279. "members":{
  3280. "ruleArn":{"shape":"RuleArn"},
  3281. "rule":{"shape":"TopicRule"}
  3282. }
  3283. },
  3284. "HashKeyField":{"type":"string"},
  3285. "HashKeyValue":{"type":"string"},
  3286. "InternalException":{
  3287. "type":"structure",
  3288. "members":{
  3289. "message":{"shape":"errorMessage"}
  3290. },
  3291. "error":{"httpStatusCode":500},
  3292. "exception":true,
  3293. "fault":true
  3294. },
  3295. "InternalFailureException":{
  3296. "type":"structure",
  3297. "members":{
  3298. "message":{"shape":"errorMessage"}
  3299. },
  3300. "error":{"httpStatusCode":500},
  3301. "exception":true,
  3302. "fault":true
  3303. },
  3304. "InvalidRequestException":{
  3305. "type":"structure",
  3306. "members":{
  3307. "message":{"shape":"errorMessage"}
  3308. },
  3309. "error":{"httpStatusCode":400},
  3310. "exception":true
  3311. },
  3312. "IsDefaultVersion":{"type":"boolean"},
  3313. "IsDisabled":{"type":"boolean"},
  3314. "Key":{"type":"string"},
  3315. "KeyPair":{
  3316. "type":"structure",
  3317. "members":{
  3318. "PublicKey":{"shape":"PublicKey"},
  3319. "PrivateKey":{"shape":"PrivateKey"}
  3320. }
  3321. },
  3322. "KinesisAction":{
  3323. "type":"structure",
  3324. "required":[
  3325. "roleArn",
  3326. "streamName"
  3327. ],
  3328. "members":{
  3329. "roleArn":{"shape":"AwsArn"},
  3330. "streamName":{"shape":"StreamName"},
  3331. "partitionKey":{"shape":"PartitionKey"}
  3332. }
  3333. },
  3334. "LambdaAction":{
  3335. "type":"structure",
  3336. "required":["functionArn"],
  3337. "members":{
  3338. "functionArn":{"shape":"FunctionArn"}
  3339. }
  3340. },
  3341. "LimitExceededException":{
  3342. "type":"structure",
  3343. "members":{
  3344. "message":{"shape":"errorMessage"}
  3345. },
  3346. "error":{"httpStatusCode":410},
  3347. "exception":true
  3348. },
  3349. "ListCACertificatesRequest":{
  3350. "type":"structure",
  3351. "members":{
  3352. "pageSize":{
  3353. "shape":"PageSize",
  3354. "location":"querystring",
  3355. "locationName":"pageSize"
  3356. },
  3357. "marker":{
  3358. "shape":"Marker",
  3359. "location":"querystring",
  3360. "locationName":"marker"
  3361. },
  3362. "ascendingOrder":{
  3363. "shape":"AscendingOrder",
  3364. "location":"querystring",
  3365. "locationName":"isAscendingOrder"
  3366. }
  3367. }
  3368. },
  3369. "ListCACertificatesResponse":{
  3370. "type":"structure",
  3371. "members":{
  3372. "certificates":{"shape":"CACertificates"},
  3373. "nextMarker":{"shape":"Marker"}
  3374. }
  3375. },
  3376. "ListCertificatesByCARequest":{
  3377. "type":"structure",
  3378. "required":["caCertificateId"],
  3379. "members":{
  3380. "caCertificateId":{
  3381. "shape":"CertificateId",
  3382. "location":"uri",
  3383. "locationName":"caCertificateId"
  3384. },
  3385. "pageSize":{
  3386. "shape":"PageSize",
  3387. "location":"querystring",
  3388. "locationName":"pageSize"
  3389. },
  3390. "marker":{
  3391. "shape":"Marker",
  3392. "location":"querystring",
  3393. "locationName":"marker"
  3394. },
  3395. "ascendingOrder":{
  3396. "shape":"AscendingOrder",
  3397. "location":"querystring",
  3398. "locationName":"isAscendingOrder"
  3399. }
  3400. }
  3401. },
  3402. "ListCertificatesByCAResponse":{
  3403. "type":"structure",
  3404. "members":{
  3405. "certificates":{"shape":"Certificates"},
  3406. "nextMarker":{"shape":"Marker"}
  3407. }
  3408. },
  3409. "ListCertificatesRequest":{
  3410. "type":"structure",
  3411. "members":{
  3412. "pageSize":{
  3413. "shape":"PageSize",
  3414. "location":"querystring",
  3415. "locationName":"pageSize"
  3416. },
  3417. "marker":{
  3418. "shape":"Marker",
  3419. "location":"querystring",
  3420. "locationName":"marker"
  3421. },
  3422. "ascendingOrder":{
  3423. "shape":"AscendingOrder",
  3424. "location":"querystring",
  3425. "locationName":"isAscendingOrder"
  3426. }
  3427. }
  3428. },
  3429. "ListCertificatesResponse":{
  3430. "type":"structure",
  3431. "members":{
  3432. "certificates":{"shape":"Certificates"},
  3433. "nextMarker":{"shape":"Marker"}
  3434. }
  3435. },
  3436. "ListOutgoingCertificatesRequest":{
  3437. "type":"structure",
  3438. "members":{
  3439. "pageSize":{
  3440. "shape":"PageSize",
  3441. "location":"querystring",
  3442. "locationName":"pageSize"
  3443. },
  3444. "marker":{
  3445. "shape":"Marker",
  3446. "location":"querystring",
  3447. "locationName":"marker"
  3448. },
  3449. "ascendingOrder":{
  3450. "shape":"AscendingOrder",
  3451. "location":"querystring",
  3452. "locationName":"isAscendingOrder"
  3453. }
  3454. }
  3455. },
  3456. "ListOutgoingCertificatesResponse":{
  3457. "type":"structure",
  3458. "members":{
  3459. "outgoingCertificates":{"shape":"OutgoingCertificates"},
  3460. "nextMarker":{"shape":"Marker"}
  3461. }
  3462. },
  3463. "ListPoliciesRequest":{
  3464. "type":"structure",
  3465. "members":{
  3466. "marker":{
  3467. "shape":"Marker",
  3468. "location":"querystring",
  3469. "locationName":"marker"
  3470. },
  3471. "pageSize":{
  3472. "shape":"PageSize",
  3473. "location":"querystring",
  3474. "locationName":"pageSize"
  3475. },
  3476. "ascendingOrder":{
  3477. "shape":"AscendingOrder",
  3478. "location":"querystring",
  3479. "locationName":"isAscendingOrder"
  3480. }
  3481. }
  3482. },
  3483. "ListPoliciesResponse":{
  3484. "type":"structure",
  3485. "members":{
  3486. "policies":{"shape":"Policies"},
  3487. "nextMarker":{"shape":"Marker"}
  3488. }
  3489. },
  3490. "ListPolicyPrincipalsRequest":{
  3491. "type":"structure",
  3492. "required":["policyName"],
  3493. "members":{
  3494. "policyName":{
  3495. "shape":"PolicyName",
  3496. "location":"header",
  3497. "locationName":"x-amzn-iot-policy"
  3498. },
  3499. "marker":{
  3500. "shape":"Marker",
  3501. "location":"querystring",
  3502. "locationName":"marker"
  3503. },
  3504. "pageSize":{
  3505. "shape":"PageSize",
  3506. "location":"querystring",
  3507. "locationName":"pageSize"
  3508. },
  3509. "ascendingOrder":{
  3510. "shape":"AscendingOrder",
  3511. "location":"querystring",
  3512. "locationName":"isAscendingOrder"
  3513. }
  3514. }
  3515. },
  3516. "ListPolicyPrincipalsResponse":{
  3517. "type":"structure",
  3518. "members":{
  3519. "principals":{"shape":"Principals"},
  3520. "nextMarker":{"shape":"Marker"}
  3521. }
  3522. },
  3523. "ListPolicyVersionsRequest":{
  3524. "type":"structure",
  3525. "required":["policyName"],
  3526. "members":{
  3527. "policyName":{
  3528. "shape":"PolicyName",
  3529. "location":"uri",
  3530. "locationName":"policyName"
  3531. }
  3532. }
  3533. },
  3534. "ListPolicyVersionsResponse":{
  3535. "type":"structure",
  3536. "members":{
  3537. "policyVersions":{"shape":"PolicyVersions"}
  3538. }
  3539. },
  3540. "ListPrincipalPoliciesRequest":{
  3541. "type":"structure",
  3542. "required":["principal"],
  3543. "members":{
  3544. "principal":{
  3545. "shape":"Principal",
  3546. "location":"header",
  3547. "locationName":"x-amzn-iot-principal"
  3548. },
  3549. "marker":{
  3550. "shape":"Marker",
  3551. "location":"querystring",
  3552. "locationName":"marker"
  3553. },
  3554. "pageSize":{
  3555. "shape":"PageSize",
  3556. "location":"querystring",
  3557. "locationName":"pageSize"
  3558. },
  3559. "ascendingOrder":{
  3560. "shape":"AscendingOrder",
  3561. "location":"querystring",
  3562. "locationName":"isAscendingOrder"
  3563. }
  3564. }
  3565. },
  3566. "ListPrincipalPoliciesResponse":{
  3567. "type":"structure",
  3568. "members":{
  3569. "policies":{"shape":"Policies"},
  3570. "nextMarker":{"shape":"Marker"}
  3571. }
  3572. },
  3573. "ListPrincipalThingsRequest":{
  3574. "type":"structure",
  3575. "required":["principal"],
  3576. "members":{
  3577. "nextToken":{
  3578. "shape":"NextToken",
  3579. "location":"querystring",
  3580. "locationName":"nextToken"
  3581. },
  3582. "maxResults":{
  3583. "shape":"MaxResults",
  3584. "location":"querystring",
  3585. "locationName":"maxResults"
  3586. },
  3587. "principal":{
  3588. "shape":"Principal",
  3589. "location":"header",
  3590. "locationName":"x-amzn-principal"
  3591. }
  3592. }
  3593. },
  3594. "ListPrincipalThingsResponse":{
  3595. "type":"structure",
  3596. "members":{
  3597. "things":{"shape":"ThingNameList"},
  3598. "nextToken":{"shape":"NextToken"}
  3599. }
  3600. },
  3601. "ListThingPrincipalsRequest":{
  3602. "type":"structure",
  3603. "required":["thingName"],
  3604. "members":{
  3605. "thingName":{
  3606. "shape":"ThingName",
  3607. "location":"uri",
  3608. "locationName":"thingName"
  3609. }
  3610. }
  3611. },
  3612. "ListThingPrincipalsResponse":{
  3613. "type":"structure",
  3614. "members":{
  3615. "principals":{"shape":"Principals"}
  3616. }
  3617. },
  3618. "ListThingTypesRequest":{
  3619. "type":"structure",
  3620. "members":{
  3621. "nextToken":{
  3622. "shape":"NextToken",
  3623. "location":"querystring",
  3624. "locationName":"nextToken"
  3625. },
  3626. "maxResults":{
  3627. "shape":"MaxResults",
  3628. "location":"querystring",
  3629. "locationName":"maxResults"
  3630. },
  3631. "thingTypeName":{
  3632. "shape":"ThingTypeName",
  3633. "location":"querystring",
  3634. "locationName":"thingTypeName"
  3635. }
  3636. }
  3637. },
  3638. "ListThingTypesResponse":{
  3639. "type":"structure",
  3640. "members":{
  3641. "thingTypes":{"shape":"ThingTypeList"},
  3642. "nextToken":{"shape":"NextToken"}
  3643. }
  3644. },
  3645. "ListThingsRequest":{
  3646. "type":"structure",
  3647. "members":{
  3648. "nextToken":{
  3649. "shape":"NextToken",
  3650. "location":"querystring",
  3651. "locationName":"nextToken"
  3652. },
  3653. "maxResults":{
  3654. "shape":"MaxResults",
  3655. "location":"querystring",
  3656. "locationName":"maxResults"
  3657. },
  3658. "attributeName":{
  3659. "shape":"AttributeName",
  3660. "location":"querystring",
  3661. "locationName":"attributeName"
  3662. },
  3663. "attributeValue":{
  3664. "shape":"AttributeValue",
  3665. "location":"querystring",
  3666. "locationName":"attributeValue"
  3667. },
  3668. "thingTypeName":{
  3669. "shape":"ThingTypeName",
  3670. "location":"querystring",
  3671. "locationName":"thingTypeName"
  3672. }
  3673. }
  3674. },
  3675. "ListThingsResponse":{
  3676. "type":"structure",
  3677. "members":{
  3678. "things":{"shape":"ThingAttributeList"},
  3679. "nextToken":{"shape":"NextToken"}
  3680. }
  3681. },
  3682. "ListTopicRulesRequest":{
  3683. "type":"structure",
  3684. "members":{
  3685. "topic":{
  3686. "shape":"Topic",
  3687. "location":"querystring",
  3688. "locationName":"topic"
  3689. },
  3690. "maxResults":{
  3691. "shape":"MaxResults",
  3692. "location":"querystring",
  3693. "locationName":"maxResults"
  3694. },
  3695. "nextToken":{
  3696. "shape":"NextToken",
  3697. "location":"querystring",
  3698. "locationName":"nextToken"
  3699. },
  3700. "ruleDisabled":{
  3701. "shape":"IsDisabled",
  3702. "location":"querystring",
  3703. "locationName":"ruleDisabled"
  3704. }
  3705. }
  3706. },
  3707. "ListTopicRulesResponse":{
  3708. "type":"structure",
  3709. "members":{
  3710. "rules":{"shape":"TopicRuleList"},
  3711. "nextToken":{"shape":"NextToken"}
  3712. }
  3713. },
  3714. "LogLevel":{
  3715. "type":"string",
  3716. "enum":[
  3717. "DEBUG",
  3718. "INFO",
  3719. "ERROR",
  3720. "WARN",
  3721. "DISABLED"
  3722. ]
  3723. },
  3724. "LoggingOptionsPayload":{
  3725. "type":"structure",
  3726. "required":["roleArn"],
  3727. "members":{
  3728. "roleArn":{"shape":"AwsArn"},
  3729. "logLevel":{"shape":"LogLevel"}
  3730. }
  3731. },
  3732. "MalformedPolicyException":{
  3733. "type":"structure",
  3734. "members":{
  3735. "message":{"shape":"errorMessage"}
  3736. },
  3737. "error":{"httpStatusCode":400},
  3738. "exception":true
  3739. },
  3740. "Marker":{"type":"string"},
  3741. "MaxResults":{
  3742. "type":"integer",
  3743. "min":1,
  3744. "max":10000
  3745. },
  3746. "Message":{
  3747. "type":"string",
  3748. "max":128
  3749. },
  3750. "MessageFormat":{
  3751. "type":"string",
  3752. "enum":[
  3753. "RAW",
  3754. "JSON"
  3755. ]
  3756. },
  3757. "MetricName":{"type":"string"},
  3758. "MetricNamespace":{"type":"string"},
  3759. "MetricTimestamp":{"type":"string"},
  3760. "MetricUnit":{"type":"string"},
  3761. "MetricValue":{"type":"string"},
  3762. "NextToken":{"type":"string"},
  3763. "OptionalVersion":{"type":"long"},
  3764. "OutgoingCertificate":{
  3765. "type":"structure",
  3766. "members":{
  3767. "certificateArn":{"shape":"CertificateArn"},
  3768. "certificateId":{"shape":"CertificateId"},
  3769. "transferredTo":{"shape":"AwsAccountId"},
  3770. "transferDate":{"shape":"DateType"},
  3771. "transferMessage":{"shape":"Message"},
  3772. "creationDate":{"shape":"DateType"}
  3773. }
  3774. },
  3775. "OutgoingCertificates":{
  3776. "type":"list",
  3777. "member":{"shape":"OutgoingCertificate"}
  3778. },
  3779. "PageSize":{
  3780. "type":"integer",
  3781. "min":1,
  3782. "max":250
  3783. },
  3784. "PartitionKey":{"type":"string"},
  3785. "PayloadField":{"type":"string"},
  3786. "Policies":{
  3787. "type":"list",
  3788. "member":{"shape":"Policy"}
  3789. },
  3790. "Policy":{
  3791. "type":"structure",
  3792. "members":{
  3793. "policyName":{"shape":"PolicyName"},
  3794. "policyArn":{"shape":"PolicyArn"}
  3795. }
  3796. },
  3797. "PolicyArn":{"type":"string"},
  3798. "PolicyDocument":{"type":"string"},
  3799. "PolicyName":{
  3800. "type":"string",
  3801. "min":1,
  3802. "max":128,
  3803. "pattern":"[\\w+=,.@-]+"
  3804. },
  3805. "PolicyVersion":{
  3806. "type":"structure",
  3807. "members":{
  3808. "versionId":{"shape":"PolicyVersionId"},
  3809. "isDefaultVersion":{"shape":"IsDefaultVersion"},
  3810. "createDate":{"shape":"DateType"}
  3811. }
  3812. },
  3813. "PolicyVersionId":{
  3814. "type":"string",
  3815. "pattern":"[0-9]+"
  3816. },
  3817. "PolicyVersions":{
  3818. "type":"list",
  3819. "member":{"shape":"PolicyVersion"}
  3820. },
  3821. "Principal":{"type":"string"},
  3822. "PrincipalArn":{"type":"string"},
  3823. "Principals":{
  3824. "type":"list",
  3825. "member":{"shape":"PrincipalArn"}
  3826. },
  3827. "PrivateKey":{
  3828. "type":"string",
  3829. "min":1,
  3830. "sensitive":true
  3831. },
  3832. "PublicKey":{
  3833. "type":"string",
  3834. "min":1
  3835. },
  3836. "QueueUrl":{"type":"string"},
  3837. "RangeKeyField":{"type":"string"},
  3838. "RangeKeyValue":{"type":"string"},
  3839. "RegisterCACertificateRequest":{
  3840. "type":"structure",
  3841. "required":[
  3842. "caCertificate",
  3843. "verificationCertificate"
  3844. ],
  3845. "members":{
  3846. "caCertificate":{"shape":"CertificatePem"},
  3847. "verificationCertificate":{"shape":"CertificatePem"},
  3848. "setAsActive":{
  3849. "shape":"SetAsActive",
  3850. "location":"querystring",
  3851. "locationName":"setAsActive"
  3852. },
  3853. "allowAutoRegistration":{
  3854. "shape":"AllowAutoRegistration",
  3855. "location":"querystring",
  3856. "locationName":"allowAutoRegistration"
  3857. }
  3858. }
  3859. },
  3860. "RegisterCACertificateResponse":{
  3861. "type":"structure",
  3862. "members":{
  3863. "certificateArn":{"shape":"CertificateArn"},
  3864. "certificateId":{"shape":"CertificateId"}
  3865. }
  3866. },
  3867. "RegisterCertificateRequest":{
  3868. "type":"structure",
  3869. "required":["certificatePem"],
  3870. "members":{
  3871. "certificatePem":{"shape":"CertificatePem"},
  3872. "caCertificatePem":{"shape":"CertificatePem"},
  3873. "setAsActive":{
  3874. "shape":"SetAsActive",
  3875. "location":"querystring",
  3876. "locationName":"setAsActive"
  3877. }
  3878. }
  3879. },
  3880. "RegisterCertificateResponse":{
  3881. "type":"structure",
  3882. "members":{
  3883. "certificateArn":{"shape":"CertificateArn"},
  3884. "certificateId":{"shape":"CertificateId"}
  3885. }
  3886. },
  3887. "RegistrationCode":{
  3888. "type":"string",
  3889. "min":64,
  3890. "max":64,
  3891. "pattern":"(0x)?[a-fA-F0-9]+"
  3892. },
  3893. "RegistrationCodeValidationException":{
  3894. "type":"structure",
  3895. "members":{
  3896. "message":{"shape":"errorMessage"}
  3897. },
  3898. "error":{"httpStatusCode":400},
  3899. "exception":true
  3900. },
  3901. "RejectCertificateTransferRequest":{
  3902. "type":"structure",
  3903. "required":["certificateId"],
  3904. "members":{
  3905. "certificateId":{
  3906. "shape":"CertificateId",
  3907. "location":"uri",
  3908. "locationName":"certificateId"
  3909. },
  3910. "rejectReason":{"shape":"Message"}
  3911. }
  3912. },
  3913. "RemoveThingType":{"type":"boolean"},
  3914. "ReplaceTopicRuleRequest":{
  3915. "type":"structure",
  3916. "required":[
  3917. "ruleName",
  3918. "topicRulePayload"
  3919. ],
  3920. "members":{
  3921. "ruleName":{
  3922. "shape":"RuleName",
  3923. "location":"uri",
  3924. "locationName":"ruleName"
  3925. },
  3926. "topicRulePayload":{"shape":"TopicRulePayload"}
  3927. },
  3928. "payload":"topicRulePayload"
  3929. },
  3930. "RepublishAction":{
  3931. "type":"structure",
  3932. "required":[
  3933. "roleArn",
  3934. "topic"
  3935. ],
  3936. "members":{
  3937. "roleArn":{"shape":"AwsArn"},
  3938. "topic":{"shape":"TopicPattern"}
  3939. }
  3940. },
  3941. "ResourceAlreadyExistsException":{
  3942. "type":"structure",
  3943. "members":{
  3944. "message":{"shape":"errorMessage"}
  3945. },
  3946. "error":{"httpStatusCode":409},
  3947. "exception":true
  3948. },
  3949. "ResourceNotFoundException":{
  3950. "type":"structure",
  3951. "members":{
  3952. "message":{"shape":"errorMessage"}
  3953. },
  3954. "error":{"httpStatusCode":404},
  3955. "exception":true
  3956. },
  3957. "RuleArn":{"type":"string"},
  3958. "RuleName":{
  3959. "type":"string",
  3960. "min":1,
  3961. "max":128,
  3962. "pattern":"^[a-zA-Z0-9_]+$"
  3963. },
  3964. "S3Action":{
  3965. "type":"structure",
  3966. "required":[
  3967. "roleArn",
  3968. "bucketName",
  3969. "key"
  3970. ],
  3971. "members":{
  3972. "roleArn":{"shape":"AwsArn"},
  3973. "bucketName":{"shape":"BucketName"},
  3974. "key":{"shape":"Key"}
  3975. }
  3976. },
  3977. "SQL":{"type":"string"},
  3978. "SearchableAttributes":{
  3979. "type":"list",
  3980. "member":{"shape":"AttributeName"}
  3981. },
  3982. "ServiceUnavailableException":{
  3983. "type":"structure",
  3984. "members":{
  3985. "message":{"shape":"errorMessage"}
  3986. },
  3987. "error":{"httpStatusCode":503},
  3988. "exception":true,
  3989. "fault":true
  3990. },
  3991. "SetAsActive":{"type":"boolean"},
  3992. "SetAsDefault":{"type":"boolean"},
  3993. "SetDefaultPolicyVersionRequest":{
  3994. "type":"structure",
  3995. "required":[
  3996. "policyName",
  3997. "policyVersionId"
  3998. ],
  3999. "members":{
  4000. "policyName":{
  4001. "shape":"PolicyName",
  4002. "location":"uri",
  4003. "locationName":"policyName"
  4004. },
  4005. "policyVersionId":{
  4006. "shape":"PolicyVersionId",
  4007. "location":"uri",
  4008. "locationName":"policyVersionId"
  4009. }
  4010. }
  4011. },
  4012. "SetLoggingOptionsRequest":{
  4013. "type":"structure",
  4014. "required":["loggingOptionsPayload"],
  4015. "members":{
  4016. "loggingOptionsPayload":{"shape":"LoggingOptionsPayload"}
  4017. },
  4018. "payload":"loggingOptionsPayload"
  4019. },
  4020. "SnsAction":{
  4021. "type":"structure",
  4022. "required":[
  4023. "targetArn",
  4024. "roleArn"
  4025. ],
  4026. "members":{
  4027. "targetArn":{"shape":"AwsArn"},
  4028. "roleArn":{"shape":"AwsArn"},
  4029. "messageFormat":{"shape":"MessageFormat"}
  4030. }
  4031. },
  4032. "SqlParseException":{
  4033. "type":"structure",
  4034. "members":{
  4035. "message":{"shape":"errorMessage"}
  4036. },
  4037. "error":{"httpStatusCode":400},
  4038. "exception":true
  4039. },
  4040. "SqsAction":{
  4041. "type":"structure",
  4042. "required":[
  4043. "roleArn",
  4044. "queueUrl"
  4045. ],
  4046. "members":{
  4047. "roleArn":{"shape":"AwsArn"},
  4048. "queueUrl":{"shape":"QueueUrl"},
  4049. "useBase64":{"shape":"UseBase64"}
  4050. }
  4051. },
  4052. "StateReason":{"type":"string"},
  4053. "StateValue":{"type":"string"},
  4054. "StreamName":{"type":"string"},
  4055. "TableName":{"type":"string"},
  4056. "ThingArn":{"type":"string"},
  4057. "ThingAttribute":{
  4058. "type":"structure",
  4059. "members":{
  4060. "thingName":{"shape":"ThingName"},
  4061. "thingTypeName":{"shape":"ThingTypeName"},
  4062. "attributes":{"shape":"Attributes"},
  4063. "version":{"shape":"Version"}
  4064. }
  4065. },
  4066. "ThingAttributeList":{
  4067. "type":"list",
  4068. "member":{"shape":"ThingAttribute"}
  4069. },
  4070. "ThingName":{
  4071. "type":"string",
  4072. "min":1,
  4073. "max":128,
  4074. "pattern":"[a-zA-Z0-9:_-]+"
  4075. },
  4076. "ThingNameList":{
  4077. "type":"list",
  4078. "member":{"shape":"ThingName"}
  4079. },
  4080. "ThingTypeArn":{"type":"string"},
  4081. "ThingTypeDefinition":{
  4082. "type":"structure",
  4083. "members":{
  4084. "thingTypeName":{"shape":"ThingTypeName"},
  4085. "thingTypeProperties":{"shape":"ThingTypeProperties"},
  4086. "thingTypeMetadata":{"shape":"ThingTypeMetadata"}
  4087. }
  4088. },
  4089. "ThingTypeDescription":{
  4090. "type":"string",
  4091. "max":2028,
  4092. "pattern":"[\\p{Graph}\\x20]*"
  4093. },
  4094. "ThingTypeList":{
  4095. "type":"list",
  4096. "member":{"shape":"ThingTypeDefinition"}
  4097. },
  4098. "ThingTypeMetadata":{
  4099. "type":"structure",
  4100. "members":{
  4101. "deprecated":{"shape":"Boolean"},
  4102. "deprecationDate":{"shape":"DeprecationDate"},
  4103. "creationDate":{"shape":"CreationDate"}
  4104. }
  4105. },
  4106. "ThingTypeName":{
  4107. "type":"string",
  4108. "min":1,
  4109. "max":128,
  4110. "pattern":"[a-zA-Z0-9:_-]+"
  4111. },
  4112. "ThingTypeProperties":{
  4113. "type":"structure",
  4114. "members":{
  4115. "thingTypeDescription":{"shape":"ThingTypeDescription"},
  4116. "searchableAttributes":{"shape":"SearchableAttributes"}
  4117. }
  4118. },
  4119. "ThrottlingException":{
  4120. "type":"structure",
  4121. "members":{
  4122. "message":{"shape":"errorMessage"}
  4123. },
  4124. "error":{"httpStatusCode":429},
  4125. "exception":true
  4126. },
  4127. "Topic":{"type":"string"},
  4128. "TopicPattern":{"type":"string"},
  4129. "TopicRule":{
  4130. "type":"structure",
  4131. "members":{
  4132. "ruleName":{"shape":"RuleName"},
  4133. "sql":{"shape":"SQL"},
  4134. "description":{"shape":"Description"},
  4135. "createdAt":{"shape":"CreatedAtDate"},
  4136. "actions":{"shape":"ActionList"},
  4137. "ruleDisabled":{"shape":"IsDisabled"},
  4138. "awsIotSqlVersion":{"shape":"AwsIotSqlVersion"}
  4139. }
  4140. },
  4141. "TopicRuleList":{
  4142. "type":"list",
  4143. "member":{"shape":"TopicRuleListItem"}
  4144. },
  4145. "TopicRuleListItem":{
  4146. "type":"structure",
  4147. "members":{
  4148. "ruleArn":{"shape":"RuleArn"},
  4149. "ruleName":{"shape":"RuleName"},
  4150. "topicPattern":{"shape":"TopicPattern"},
  4151. "createdAt":{"shape":"CreatedAtDate"},
  4152. "ruleDisabled":{"shape":"IsDisabled"}
  4153. }
  4154. },
  4155. "TopicRulePayload":{
  4156. "type":"structure",
  4157. "required":[
  4158. "sql",
  4159. "actions"
  4160. ],
  4161. "members":{
  4162. "sql":{"shape":"SQL"},
  4163. "description":{"shape":"Description"},
  4164. "actions":{"shape":"ActionList"},
  4165. "ruleDisabled":{"shape":"IsDisabled"},
  4166. "awsIotSqlVersion":{"shape":"AwsIotSqlVersion"}
  4167. }
  4168. },
  4169. "TransferAlreadyCompletedException":{
  4170. "type":"structure",
  4171. "members":{
  4172. "message":{"shape":"errorMessage"}
  4173. },
  4174. "error":{"httpStatusCode":410},
  4175. "exception":true
  4176. },
  4177. "TransferCertificateRequest":{
  4178. "type":"structure",
  4179. "required":[
  4180. "certificateId",
  4181. "targetAwsAccount"
  4182. ],
  4183. "members":{
  4184. "certificateId":{
  4185. "shape":"CertificateId",
  4186. "location":"uri",
  4187. "locationName":"certificateId"
  4188. },
  4189. "targetAwsAccount":{
  4190. "shape":"AwsAccountId",
  4191. "location":"querystring",
  4192. "locationName":"targetAwsAccount"
  4193. },
  4194. "transferMessage":{"shape":"Message"}
  4195. }
  4196. },
  4197. "TransferCertificateResponse":{
  4198. "type":"structure",
  4199. "members":{
  4200. "transferredCertificateArn":{"shape":"CertificateArn"}
  4201. }
  4202. },
  4203. "TransferConflictException":{
  4204. "type":"structure",
  4205. "members":{
  4206. "message":{"shape":"errorMessage"}
  4207. },
  4208. "error":{"httpStatusCode":409},
  4209. "exception":true
  4210. },
  4211. "TransferData":{
  4212. "type":"structure",
  4213. "members":{
  4214. "transferMessage":{"shape":"Message"},
  4215. "rejectReason":{"shape":"Message"},
  4216. "transferDate":{"shape":"DateType"},
  4217. "acceptDate":{"shape":"DateType"},
  4218. "rejectDate":{"shape":"DateType"}
  4219. }
  4220. },
  4221. "UnauthorizedException":{
  4222. "type":"structure",
  4223. "members":{
  4224. "message":{"shape":"errorMessage"}
  4225. },
  4226. "error":{"httpStatusCode":401},
  4227. "exception":true
  4228. },
  4229. "UndoDeprecate":{"type":"boolean"},
  4230. "UpdateCACertificateRequest":{
  4231. "type":"structure",
  4232. "required":["certificateId"],
  4233. "members":{
  4234. "certificateId":{
  4235. "shape":"CertificateId",
  4236. "location":"uri",
  4237. "locationName":"caCertificateId"
  4238. },
  4239. "newStatus":{
  4240. "shape":"CACertificateStatus",
  4241. "location":"querystring",
  4242. "locationName":"newStatus"
  4243. },
  4244. "newAutoRegistrationStatus":{
  4245. "shape":"AutoRegistrationStatus",
  4246. "location":"querystring",
  4247. "locationName":"newAutoRegistrationStatus"
  4248. }
  4249. }
  4250. },
  4251. "UpdateCertificateRequest":{
  4252. "type":"structure",
  4253. "required":[
  4254. "certificateId",
  4255. "newStatus"
  4256. ],
  4257. "members":{
  4258. "certificateId":{
  4259. "shape":"CertificateId",
  4260. "location":"uri",
  4261. "locationName":"certificateId"
  4262. },
  4263. "newStatus":{
  4264. "shape":"CertificateStatus",
  4265. "location":"querystring",
  4266. "locationName":"newStatus"
  4267. }
  4268. }
  4269. },
  4270. "UpdateThingRequest":{
  4271. "type":"structure",
  4272. "required":["thingName"],
  4273. "members":{
  4274. "thingName":{
  4275. "shape":"ThingName",
  4276. "location":"uri",
  4277. "locationName":"thingName"
  4278. },
  4279. "thingTypeName":{"shape":"ThingTypeName"},
  4280. "attributePayload":{"shape":"AttributePayload"},
  4281. "expectedVersion":{"shape":"OptionalVersion"},
  4282. "removeThingType":{"shape":"RemoveThingType"}
  4283. }
  4284. },
  4285. "UpdateThingResponse":{
  4286. "type":"structure",
  4287. "members":{
  4288. }
  4289. },
  4290. "UseBase64":{"type":"boolean"},
  4291. "Version":{"type":"long"},
  4292. "VersionConflictException":{
  4293. "type":"structure",
  4294. "members":{
  4295. "message":{"shape":"errorMessage"}
  4296. },
  4297. "error":{"httpStatusCode":409},
  4298. "exception":true
  4299. },
  4300. "VersionsLimitExceededException":{
  4301. "type":"structure",
  4302. "members":{
  4303. "message":{"shape":"errorMessage"}
  4304. },
  4305. "error":{"httpStatusCode":409},
  4306. "exception":true
  4307. },
  4308. "errorMessage":{"type":"string"}
  4309. }
  4310. }