api-2.json 88 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2015-07-09",
  5. "endpointPrefix":"apigateway",
  6. "protocol":"rest-json",
  7. "serviceFullName":"Amazon API Gateway",
  8. "signatureVersion":"v4"
  9. },
  10. "operations":{
  11. "CreateApiKey":{
  12. "name":"CreateApiKey",
  13. "http":{
  14. "method":"POST",
  15. "requestUri":"/apikeys",
  16. "responseCode":201
  17. },
  18. "input":{"shape":"CreateApiKeyRequest"},
  19. "output":{"shape":"ApiKey"},
  20. "errors":[
  21. {"shape":"UnauthorizedException"},
  22. {"shape":"NotFoundException"},
  23. {"shape":"TooManyRequestsException"},
  24. {"shape":"LimitExceededException"},
  25. {"shape":"BadRequestException"}
  26. ]
  27. },
  28. "CreateAuthorizer":{
  29. "name":"CreateAuthorizer",
  30. "http":{
  31. "method":"POST",
  32. "requestUri":"/restapis/{restapi_id}/authorizers",
  33. "responseCode":201
  34. },
  35. "input":{"shape":"CreateAuthorizerRequest"},
  36. "output":{"shape":"Authorizer"},
  37. "errors":[
  38. {"shape":"BadRequestException"},
  39. {"shape":"UnauthorizedException"},
  40. {"shape":"NotFoundException"},
  41. {"shape":"LimitExceededException"},
  42. {"shape":"TooManyRequestsException"}
  43. ]
  44. },
  45. "CreateBasePathMapping":{
  46. "name":"CreateBasePathMapping",
  47. "http":{
  48. "method":"POST",
  49. "requestUri":"/domainnames/{domain_name}/basepathmappings",
  50. "responseCode":201
  51. },
  52. "input":{"shape":"CreateBasePathMappingRequest"},
  53. "output":{"shape":"BasePathMapping"},
  54. "errors":[
  55. {"shape":"UnauthorizedException"},
  56. {"shape":"ConflictException"},
  57. {"shape":"BadRequestException"},
  58. {"shape":"NotFoundException"},
  59. {"shape":"TooManyRequestsException"}
  60. ]
  61. },
  62. "CreateDeployment":{
  63. "name":"CreateDeployment",
  64. "http":{
  65. "method":"POST",
  66. "requestUri":"/restapis/{restapi_id}/deployments",
  67. "responseCode":201
  68. },
  69. "input":{"shape":"CreateDeploymentRequest"},
  70. "output":{"shape":"Deployment"},
  71. "errors":[
  72. {"shape":"UnauthorizedException"},
  73. {"shape":"BadRequestException"},
  74. {"shape":"NotFoundException"},
  75. {"shape":"ConflictException"},
  76. {"shape":"LimitExceededException"},
  77. {"shape":"TooManyRequestsException"},
  78. {"shape":"ServiceUnavailableException"}
  79. ]
  80. },
  81. "CreateDomainName":{
  82. "name":"CreateDomainName",
  83. "http":{
  84. "method":"POST",
  85. "requestUri":"/domainnames",
  86. "responseCode":201
  87. },
  88. "input":{"shape":"CreateDomainNameRequest"},
  89. "output":{"shape":"DomainName"},
  90. "errors":[
  91. {"shape":"UnauthorizedException"},
  92. {"shape":"BadRequestException"},
  93. {"shape":"ConflictException"},
  94. {"shape":"TooManyRequestsException"}
  95. ]
  96. },
  97. "CreateModel":{
  98. "name":"CreateModel",
  99. "http":{
  100. "method":"POST",
  101. "requestUri":"/restapis/{restapi_id}/models",
  102. "responseCode":201
  103. },
  104. "input":{"shape":"CreateModelRequest"},
  105. "output":{"shape":"Model"},
  106. "errors":[
  107. {"shape":"BadRequestException"},
  108. {"shape":"UnauthorizedException"},
  109. {"shape":"NotFoundException"},
  110. {"shape":"ConflictException"},
  111. {"shape":"LimitExceededException"},
  112. {"shape":"TooManyRequestsException"}
  113. ]
  114. },
  115. "CreateResource":{
  116. "name":"CreateResource",
  117. "http":{
  118. "method":"POST",
  119. "requestUri":"/restapis/{restapi_id}/resources/{parent_id}",
  120. "responseCode":201
  121. },
  122. "input":{"shape":"CreateResourceRequest"},
  123. "output":{"shape":"Resource"},
  124. "errors":[
  125. {"shape":"UnauthorizedException"},
  126. {"shape":"NotFoundException"},
  127. {"shape":"ConflictException"},
  128. {"shape":"LimitExceededException"},
  129. {"shape":"BadRequestException"},
  130. {"shape":"TooManyRequestsException"}
  131. ]
  132. },
  133. "CreateRestApi":{
  134. "name":"CreateRestApi",
  135. "http":{
  136. "method":"POST",
  137. "requestUri":"/restapis",
  138. "responseCode":201
  139. },
  140. "input":{"shape":"CreateRestApiRequest"},
  141. "output":{"shape":"RestApi"},
  142. "errors":[
  143. {"shape":"UnauthorizedException"},
  144. {"shape":"LimitExceededException"},
  145. {"shape":"BadRequestException"},
  146. {"shape":"TooManyRequestsException"}
  147. ]
  148. },
  149. "CreateStage":{
  150. "name":"CreateStage",
  151. "http":{
  152. "method":"POST",
  153. "requestUri":"/restapis/{restapi_id}/stages",
  154. "responseCode":201
  155. },
  156. "input":{"shape":"CreateStageRequest"},
  157. "output":{"shape":"Stage"},
  158. "errors":[
  159. {"shape":"UnauthorizedException"},
  160. {"shape":"BadRequestException"},
  161. {"shape":"NotFoundException"},
  162. {"shape":"ConflictException"},
  163. {"shape":"LimitExceededException"},
  164. {"shape":"TooManyRequestsException"}
  165. ]
  166. },
  167. "DeleteApiKey":{
  168. "name":"DeleteApiKey",
  169. "http":{
  170. "method":"DELETE",
  171. "requestUri":"/apikeys/{api_Key}",
  172. "responseCode":202
  173. },
  174. "input":{"shape":"DeleteApiKeyRequest"},
  175. "errors":[
  176. {"shape":"UnauthorizedException"},
  177. {"shape":"NotFoundException"},
  178. {"shape":"TooManyRequestsException"}
  179. ]
  180. },
  181. "DeleteAuthorizer":{
  182. "name":"DeleteAuthorizer",
  183. "http":{
  184. "method":"DELETE",
  185. "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}",
  186. "responseCode":202
  187. },
  188. "input":{"shape":"DeleteAuthorizerRequest"},
  189. "errors":[
  190. {"shape":"UnauthorizedException"},
  191. {"shape":"NotFoundException"},
  192. {"shape":"TooManyRequestsException"},
  193. {"shape":"BadRequestException"},
  194. {"shape":"ConflictException"}
  195. ]
  196. },
  197. "DeleteBasePathMapping":{
  198. "name":"DeleteBasePathMapping",
  199. "http":{
  200. "method":"DELETE",
  201. "requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}",
  202. "responseCode":202
  203. },
  204. "input":{"shape":"DeleteBasePathMappingRequest"},
  205. "errors":[
  206. {"shape":"UnauthorizedException"},
  207. {"shape":"NotFoundException"},
  208. {"shape":"TooManyRequestsException"}
  209. ]
  210. },
  211. "DeleteClientCertificate":{
  212. "name":"DeleteClientCertificate",
  213. "http":{
  214. "method":"DELETE",
  215. "requestUri":"/clientcertificates/{clientcertificate_id}",
  216. "responseCode":202
  217. },
  218. "input":{"shape":"DeleteClientCertificateRequest"},
  219. "errors":[
  220. {"shape":"UnauthorizedException"},
  221. {"shape":"TooManyRequestsException"},
  222. {"shape":"BadRequestException"},
  223. {"shape":"NotFoundException"}
  224. ]
  225. },
  226. "DeleteDeployment":{
  227. "name":"DeleteDeployment",
  228. "http":{
  229. "method":"DELETE",
  230. "requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}",
  231. "responseCode":202
  232. },
  233. "input":{"shape":"DeleteDeploymentRequest"},
  234. "errors":[
  235. {"shape":"UnauthorizedException"},
  236. {"shape":"NotFoundException"},
  237. {"shape":"BadRequestException"},
  238. {"shape":"TooManyRequestsException"}
  239. ]
  240. },
  241. "DeleteDomainName":{
  242. "name":"DeleteDomainName",
  243. "http":{
  244. "method":"DELETE",
  245. "requestUri":"/domainnames/{domain_name}",
  246. "responseCode":202
  247. },
  248. "input":{"shape":"DeleteDomainNameRequest"},
  249. "errors":[
  250. {"shape":"UnauthorizedException"},
  251. {"shape":"NotFoundException"},
  252. {"shape":"TooManyRequestsException"}
  253. ]
  254. },
  255. "DeleteIntegration":{
  256. "name":"DeleteIntegration",
  257. "http":{
  258. "method":"DELETE",
  259. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",
  260. "responseCode":204
  261. },
  262. "input":{"shape":"DeleteIntegrationRequest"},
  263. "errors":[
  264. {"shape":"UnauthorizedException"},
  265. {"shape":"NotFoundException"},
  266. {"shape":"TooManyRequestsException"}
  267. ]
  268. },
  269. "DeleteIntegrationResponse":{
  270. "name":"DeleteIntegrationResponse",
  271. "http":{
  272. "method":"DELETE",
  273. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",
  274. "responseCode":204
  275. },
  276. "input":{"shape":"DeleteIntegrationResponseRequest"},
  277. "errors":[
  278. {"shape":"UnauthorizedException"},
  279. {"shape":"NotFoundException"},
  280. {"shape":"TooManyRequestsException"},
  281. {"shape":"BadRequestException"}
  282. ]
  283. },
  284. "DeleteMethod":{
  285. "name":"DeleteMethod",
  286. "http":{
  287. "method":"DELETE",
  288. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
  289. "responseCode":204
  290. },
  291. "input":{"shape":"DeleteMethodRequest"},
  292. "errors":[
  293. {"shape":"UnauthorizedException"},
  294. {"shape":"NotFoundException"},
  295. {"shape":"TooManyRequestsException"}
  296. ]
  297. },
  298. "DeleteMethodResponse":{
  299. "name":"DeleteMethodResponse",
  300. "http":{
  301. "method":"DELETE",
  302. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
  303. "responseCode":204
  304. },
  305. "input":{"shape":"DeleteMethodResponseRequest"},
  306. "errors":[
  307. {"shape":"UnauthorizedException"},
  308. {"shape":"NotFoundException"},
  309. {"shape":"TooManyRequestsException"},
  310. {"shape":"BadRequestException"}
  311. ]
  312. },
  313. "DeleteModel":{
  314. "name":"DeleteModel",
  315. "http":{
  316. "method":"DELETE",
  317. "requestUri":"/restapis/{restapi_id}/models/{model_name}",
  318. "responseCode":202
  319. },
  320. "input":{"shape":"DeleteModelRequest"},
  321. "errors":[
  322. {"shape":"UnauthorizedException"},
  323. {"shape":"NotFoundException"},
  324. {"shape":"TooManyRequestsException"},
  325. {"shape":"BadRequestException"},
  326. {"shape":"ConflictException"}
  327. ]
  328. },
  329. "DeleteResource":{
  330. "name":"DeleteResource",
  331. "http":{
  332. "method":"DELETE",
  333. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}",
  334. "responseCode":202
  335. },
  336. "input":{"shape":"DeleteResourceRequest"},
  337. "errors":[
  338. {"shape":"UnauthorizedException"},
  339. {"shape":"NotFoundException"},
  340. {"shape":"BadRequestException"},
  341. {"shape":"ConflictException"},
  342. {"shape":"TooManyRequestsException"}
  343. ]
  344. },
  345. "DeleteRestApi":{
  346. "name":"DeleteRestApi",
  347. "http":{
  348. "method":"DELETE",
  349. "requestUri":"/restapis/{restapi_id}",
  350. "responseCode":202
  351. },
  352. "input":{"shape":"DeleteRestApiRequest"},
  353. "errors":[
  354. {"shape":"UnauthorizedException"},
  355. {"shape":"NotFoundException"},
  356. {"shape":"TooManyRequestsException"},
  357. {"shape":"BadRequestException"}
  358. ]
  359. },
  360. "DeleteStage":{
  361. "name":"DeleteStage",
  362. "http":{
  363. "method":"DELETE",
  364. "requestUri":"/restapis/{restapi_id}/stages/{stage_name}",
  365. "responseCode":202
  366. },
  367. "input":{"shape":"DeleteStageRequest"},
  368. "errors":[
  369. {"shape":"UnauthorizedException"},
  370. {"shape":"NotFoundException"},
  371. {"shape":"TooManyRequestsException"},
  372. {"shape":"BadRequestException"}
  373. ]
  374. },
  375. "FlushStageAuthorizersCache":{
  376. "name":"FlushStageAuthorizersCache",
  377. "http":{
  378. "method":"DELETE",
  379. "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers",
  380. "responseCode":202
  381. },
  382. "input":{"shape":"FlushStageAuthorizersCacheRequest"},
  383. "errors":[
  384. {"shape":"UnauthorizedException"},
  385. {"shape":"NotFoundException"},
  386. {"shape":"BadRequestException"},
  387. {"shape":"TooManyRequestsException"}
  388. ]
  389. },
  390. "FlushStageCache":{
  391. "name":"FlushStageCache",
  392. "http":{
  393. "method":"DELETE",
  394. "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/cache/data",
  395. "responseCode":202
  396. },
  397. "input":{"shape":"FlushStageCacheRequest"},
  398. "errors":[
  399. {"shape":"UnauthorizedException"},
  400. {"shape":"NotFoundException"},
  401. {"shape":"BadRequestException"},
  402. {"shape":"TooManyRequestsException"}
  403. ]
  404. },
  405. "GenerateClientCertificate":{
  406. "name":"GenerateClientCertificate",
  407. "http":{
  408. "method":"POST",
  409. "requestUri":"/clientcertificates",
  410. "responseCode":201
  411. },
  412. "input":{"shape":"GenerateClientCertificateRequest"},
  413. "output":{"shape":"ClientCertificate"},
  414. "errors":[
  415. {"shape":"UnauthorizedException"},
  416. {"shape":"TooManyRequestsException"},
  417. {"shape":"LimitExceededException"}
  418. ]
  419. },
  420. "GetAccount":{
  421. "name":"GetAccount",
  422. "http":{
  423. "method":"GET",
  424. "requestUri":"/account"
  425. },
  426. "input":{"shape":"GetAccountRequest"},
  427. "output":{"shape":"Account"},
  428. "errors":[
  429. {"shape":"UnauthorizedException"},
  430. {"shape":"NotFoundException"},
  431. {"shape":"TooManyRequestsException"}
  432. ]
  433. },
  434. "GetApiKey":{
  435. "name":"GetApiKey",
  436. "http":{
  437. "method":"GET",
  438. "requestUri":"/apikeys/{api_Key}"
  439. },
  440. "input":{"shape":"GetApiKeyRequest"},
  441. "output":{"shape":"ApiKey"},
  442. "errors":[
  443. {"shape":"UnauthorizedException"},
  444. {"shape":"NotFoundException"},
  445. {"shape":"TooManyRequestsException"}
  446. ]
  447. },
  448. "GetApiKeys":{
  449. "name":"GetApiKeys",
  450. "http":{
  451. "method":"GET",
  452. "requestUri":"/apikeys"
  453. },
  454. "input":{"shape":"GetApiKeysRequest"},
  455. "output":{"shape":"ApiKeys"},
  456. "errors":[
  457. {"shape":"BadRequestException"},
  458. {"shape":"UnauthorizedException"},
  459. {"shape":"TooManyRequestsException"}
  460. ]
  461. },
  462. "GetAuthorizer":{
  463. "name":"GetAuthorizer",
  464. "http":{
  465. "method":"GET",
  466. "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}"
  467. },
  468. "input":{"shape":"GetAuthorizerRequest"},
  469. "output":{"shape":"Authorizer"},
  470. "errors":[
  471. {"shape":"UnauthorizedException"},
  472. {"shape":"NotFoundException"},
  473. {"shape":"TooManyRequestsException"}
  474. ]
  475. },
  476. "GetAuthorizers":{
  477. "name":"GetAuthorizers",
  478. "http":{
  479. "method":"GET",
  480. "requestUri":"/restapis/{restapi_id}/authorizers"
  481. },
  482. "input":{"shape":"GetAuthorizersRequest"},
  483. "output":{"shape":"Authorizers"},
  484. "errors":[
  485. {"shape":"BadRequestException"},
  486. {"shape":"UnauthorizedException"},
  487. {"shape":"NotFoundException"},
  488. {"shape":"TooManyRequestsException"}
  489. ]
  490. },
  491. "GetBasePathMapping":{
  492. "name":"GetBasePathMapping",
  493. "http":{
  494. "method":"GET",
  495. "requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}"
  496. },
  497. "input":{"shape":"GetBasePathMappingRequest"},
  498. "output":{"shape":"BasePathMapping"},
  499. "errors":[
  500. {"shape":"UnauthorizedException"},
  501. {"shape":"NotFoundException"},
  502. {"shape":"TooManyRequestsException"}
  503. ]
  504. },
  505. "GetBasePathMappings":{
  506. "name":"GetBasePathMappings",
  507. "http":{
  508. "method":"GET",
  509. "requestUri":"/domainnames/{domain_name}/basepathmappings"
  510. },
  511. "input":{"shape":"GetBasePathMappingsRequest"},
  512. "output":{"shape":"BasePathMappings"},
  513. "errors":[
  514. {"shape":"UnauthorizedException"},
  515. {"shape":"NotFoundException"},
  516. {"shape":"TooManyRequestsException"}
  517. ]
  518. },
  519. "GetClientCertificate":{
  520. "name":"GetClientCertificate",
  521. "http":{
  522. "method":"GET",
  523. "requestUri":"/clientcertificates/{clientcertificate_id}"
  524. },
  525. "input":{"shape":"GetClientCertificateRequest"},
  526. "output":{"shape":"ClientCertificate"},
  527. "errors":[
  528. {"shape":"UnauthorizedException"},
  529. {"shape":"NotFoundException"},
  530. {"shape":"TooManyRequestsException"}
  531. ]
  532. },
  533. "GetClientCertificates":{
  534. "name":"GetClientCertificates",
  535. "http":{
  536. "method":"GET",
  537. "requestUri":"/clientcertificates"
  538. },
  539. "input":{"shape":"GetClientCertificatesRequest"},
  540. "output":{"shape":"ClientCertificates"},
  541. "errors":[
  542. {"shape":"BadRequestException"},
  543. {"shape":"UnauthorizedException"},
  544. {"shape":"TooManyRequestsException"}
  545. ]
  546. },
  547. "GetDeployment":{
  548. "name":"GetDeployment",
  549. "http":{
  550. "method":"GET",
  551. "requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}"
  552. },
  553. "input":{"shape":"GetDeploymentRequest"},
  554. "output":{"shape":"Deployment"},
  555. "errors":[
  556. {"shape":"UnauthorizedException"},
  557. {"shape":"NotFoundException"},
  558. {"shape":"TooManyRequestsException"},
  559. {"shape":"ServiceUnavailableException"}
  560. ]
  561. },
  562. "GetDeployments":{
  563. "name":"GetDeployments",
  564. "http":{
  565. "method":"GET",
  566. "requestUri":"/restapis/{restapi_id}/deployments"
  567. },
  568. "input":{"shape":"GetDeploymentsRequest"},
  569. "output":{"shape":"Deployments"},
  570. "errors":[
  571. {"shape":"BadRequestException"},
  572. {"shape":"UnauthorizedException"},
  573. {"shape":"TooManyRequestsException"},
  574. {"shape":"ServiceUnavailableException"}
  575. ]
  576. },
  577. "GetDomainName":{
  578. "name":"GetDomainName",
  579. "http":{
  580. "method":"GET",
  581. "requestUri":"/domainnames/{domain_name}"
  582. },
  583. "input":{"shape":"GetDomainNameRequest"},
  584. "output":{"shape":"DomainName"},
  585. "errors":[
  586. {"shape":"UnauthorizedException"},
  587. {"shape":"NotFoundException"},
  588. {"shape":"ServiceUnavailableException"},
  589. {"shape":"TooManyRequestsException"}
  590. ]
  591. },
  592. "GetDomainNames":{
  593. "name":"GetDomainNames",
  594. "http":{
  595. "method":"GET",
  596. "requestUri":"/domainnames"
  597. },
  598. "input":{"shape":"GetDomainNamesRequest"},
  599. "output":{"shape":"DomainNames"},
  600. "errors":[
  601. {"shape":"BadRequestException"},
  602. {"shape":"UnauthorizedException"},
  603. {"shape":"TooManyRequestsException"}
  604. ]
  605. },
  606. "GetExport":{
  607. "name":"GetExport",
  608. "http":{
  609. "method":"GET",
  610. "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}",
  611. "responseCode":200
  612. },
  613. "input":{"shape":"GetExportRequest"},
  614. "output":{"shape":"ExportResponse"},
  615. "errors":[
  616. {"shape":"UnauthorizedException"},
  617. {"shape":"NotFoundException"},
  618. {"shape":"BadRequestException"},
  619. {"shape":"TooManyRequestsException"}
  620. ]
  621. },
  622. "GetIntegration":{
  623. "name":"GetIntegration",
  624. "http":{
  625. "method":"GET",
  626. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
  627. },
  628. "input":{"shape":"GetIntegrationRequest"},
  629. "output":{"shape":"Integration"},
  630. "errors":[
  631. {"shape":"UnauthorizedException"},
  632. {"shape":"NotFoundException"},
  633. {"shape":"TooManyRequestsException"}
  634. ]
  635. },
  636. "GetIntegrationResponse":{
  637. "name":"GetIntegrationResponse",
  638. "http":{
  639. "method":"GET",
  640. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
  641. },
  642. "input":{"shape":"GetIntegrationResponseRequest"},
  643. "output":{"shape":"IntegrationResponse"},
  644. "errors":[
  645. {"shape":"UnauthorizedException"},
  646. {"shape":"NotFoundException"},
  647. {"shape":"TooManyRequestsException"}
  648. ]
  649. },
  650. "GetMethod":{
  651. "name":"GetMethod",
  652. "http":{
  653. "method":"GET",
  654. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
  655. },
  656. "input":{"shape":"GetMethodRequest"},
  657. "output":{"shape":"Method"},
  658. "errors":[
  659. {"shape":"UnauthorizedException"},
  660. {"shape":"NotFoundException"},
  661. {"shape":"TooManyRequestsException"}
  662. ]
  663. },
  664. "GetMethodResponse":{
  665. "name":"GetMethodResponse",
  666. "http":{
  667. "method":"GET",
  668. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}"
  669. },
  670. "input":{"shape":"GetMethodResponseRequest"},
  671. "output":{"shape":"MethodResponse"},
  672. "errors":[
  673. {"shape":"UnauthorizedException"},
  674. {"shape":"NotFoundException"},
  675. {"shape":"TooManyRequestsException"}
  676. ]
  677. },
  678. "GetModel":{
  679. "name":"GetModel",
  680. "http":{
  681. "method":"GET",
  682. "requestUri":"/restapis/{restapi_id}/models/{model_name}"
  683. },
  684. "input":{"shape":"GetModelRequest"},
  685. "output":{"shape":"Model"},
  686. "errors":[
  687. {"shape":"UnauthorizedException"},
  688. {"shape":"NotFoundException"},
  689. {"shape":"TooManyRequestsException"}
  690. ]
  691. },
  692. "GetModelTemplate":{
  693. "name":"GetModelTemplate",
  694. "http":{
  695. "method":"GET",
  696. "requestUri":"/restapis/{restapi_id}/models/{model_name}/default_template"
  697. },
  698. "input":{"shape":"GetModelTemplateRequest"},
  699. "output":{"shape":"Template"},
  700. "errors":[
  701. {"shape":"UnauthorizedException"},
  702. {"shape":"NotFoundException"},
  703. {"shape":"BadRequestException"},
  704. {"shape":"TooManyRequestsException"}
  705. ]
  706. },
  707. "GetModels":{
  708. "name":"GetModels",
  709. "http":{
  710. "method":"GET",
  711. "requestUri":"/restapis/{restapi_id}/models"
  712. },
  713. "input":{"shape":"GetModelsRequest"},
  714. "output":{"shape":"Models"},
  715. "errors":[
  716. {"shape":"BadRequestException"},
  717. {"shape":"UnauthorizedException"},
  718. {"shape":"NotFoundException"},
  719. {"shape":"TooManyRequestsException"}
  720. ]
  721. },
  722. "GetResource":{
  723. "name":"GetResource",
  724. "http":{
  725. "method":"GET",
  726. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}"
  727. },
  728. "input":{"shape":"GetResourceRequest"},
  729. "output":{"shape":"Resource"},
  730. "errors":[
  731. {"shape":"UnauthorizedException"},
  732. {"shape":"NotFoundException"},
  733. {"shape":"TooManyRequestsException"}
  734. ]
  735. },
  736. "GetResources":{
  737. "name":"GetResources",
  738. "http":{
  739. "method":"GET",
  740. "requestUri":"/restapis/{restapi_id}/resources"
  741. },
  742. "input":{"shape":"GetResourcesRequest"},
  743. "output":{"shape":"Resources"},
  744. "errors":[
  745. {"shape":"BadRequestException"},
  746. {"shape":"UnauthorizedException"},
  747. {"shape":"NotFoundException"},
  748. {"shape":"TooManyRequestsException"}
  749. ]
  750. },
  751. "GetRestApi":{
  752. "name":"GetRestApi",
  753. "http":{
  754. "method":"GET",
  755. "requestUri":"/restapis/{restapi_id}"
  756. },
  757. "input":{"shape":"GetRestApiRequest"},
  758. "output":{"shape":"RestApi"},
  759. "errors":[
  760. {"shape":"UnauthorizedException"},
  761. {"shape":"NotFoundException"},
  762. {"shape":"TooManyRequestsException"}
  763. ]
  764. },
  765. "GetRestApis":{
  766. "name":"GetRestApis",
  767. "http":{
  768. "method":"GET",
  769. "requestUri":"/restapis"
  770. },
  771. "input":{"shape":"GetRestApisRequest"},
  772. "output":{"shape":"RestApis"},
  773. "errors":[
  774. {"shape":"BadRequestException"},
  775. {"shape":"UnauthorizedException"},
  776. {"shape":"TooManyRequestsException"}
  777. ]
  778. },
  779. "GetSdk":{
  780. "name":"GetSdk",
  781. "http":{
  782. "method":"GET",
  783. "requestUri":"/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}",
  784. "responseCode":200
  785. },
  786. "input":{"shape":"GetSdkRequest"},
  787. "output":{"shape":"SdkResponse"},
  788. "errors":[
  789. {"shape":"UnauthorizedException"},
  790. {"shape":"NotFoundException"},
  791. {"shape":"BadRequestException"},
  792. {"shape":"TooManyRequestsException"}
  793. ]
  794. },
  795. "GetStage":{
  796. "name":"GetStage",
  797. "http":{
  798. "method":"GET",
  799. "requestUri":"/restapis/{restapi_id}/stages/{stage_name}"
  800. },
  801. "input":{"shape":"GetStageRequest"},
  802. "output":{"shape":"Stage"},
  803. "errors":[
  804. {"shape":"UnauthorizedException"},
  805. {"shape":"NotFoundException"},
  806. {"shape":"TooManyRequestsException"}
  807. ]
  808. },
  809. "GetStages":{
  810. "name":"GetStages",
  811. "http":{
  812. "method":"GET",
  813. "requestUri":"/restapis/{restapi_id}/stages"
  814. },
  815. "input":{"shape":"GetStagesRequest"},
  816. "output":{"shape":"Stages"},
  817. "errors":[
  818. {"shape":"UnauthorizedException"},
  819. {"shape":"NotFoundException"},
  820. {"shape":"TooManyRequestsException"}
  821. ]
  822. },
  823. "ImportRestApi":{
  824. "name":"ImportRestApi",
  825. "http":{
  826. "method":"POST",
  827. "requestUri":"/restapis?mode=import",
  828. "responseCode":201
  829. },
  830. "input":{"shape":"ImportRestApiRequest"},
  831. "output":{"shape":"RestApi"},
  832. "errors":[
  833. {"shape":"UnauthorizedException"},
  834. {"shape":"LimitExceededException"},
  835. {"shape":"BadRequestException"},
  836. {"shape":"TooManyRequestsException"}
  837. ]
  838. },
  839. "PutIntegration":{
  840. "name":"PutIntegration",
  841. "http":{
  842. "method":"PUT",
  843. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",
  844. "responseCode":201
  845. },
  846. "input":{"shape":"PutIntegrationRequest"},
  847. "output":{"shape":"Integration"},
  848. "errors":[
  849. {"shape":"UnauthorizedException"},
  850. {"shape":"BadRequestException"},
  851. {"shape":"ConflictException"},
  852. {"shape":"NotFoundException"},
  853. {"shape":"TooManyRequestsException"}
  854. ]
  855. },
  856. "PutIntegrationResponse":{
  857. "name":"PutIntegrationResponse",
  858. "http":{
  859. "method":"PUT",
  860. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",
  861. "responseCode":201
  862. },
  863. "input":{"shape":"PutIntegrationResponseRequest"},
  864. "output":{"shape":"IntegrationResponse"},
  865. "errors":[
  866. {"shape":"UnauthorizedException"},
  867. {"shape":"NotFoundException"},
  868. {"shape":"LimitExceededException"},
  869. {"shape":"BadRequestException"},
  870. {"shape":"TooManyRequestsException"},
  871. {"shape":"ConflictException"}
  872. ]
  873. },
  874. "PutMethod":{
  875. "name":"PutMethod",
  876. "http":{
  877. "method":"PUT",
  878. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",
  879. "responseCode":201
  880. },
  881. "input":{"shape":"PutMethodRequest"},
  882. "output":{"shape":"Method"},
  883. "errors":[
  884. {"shape":"BadRequestException"},
  885. {"shape":"UnauthorizedException"},
  886. {"shape":"NotFoundException"},
  887. {"shape":"ConflictException"},
  888. {"shape":"LimitExceededException"},
  889. {"shape":"TooManyRequestsException"}
  890. ]
  891. },
  892. "PutMethodResponse":{
  893. "name":"PutMethodResponse",
  894. "http":{
  895. "method":"PUT",
  896. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
  897. "responseCode":201
  898. },
  899. "input":{"shape":"PutMethodResponseRequest"},
  900. "output":{"shape":"MethodResponse"},
  901. "errors":[
  902. {"shape":"UnauthorizedException"},
  903. {"shape":"NotFoundException"},
  904. {"shape":"ConflictException"},
  905. {"shape":"LimitExceededException"},
  906. {"shape":"BadRequestException"},
  907. {"shape":"TooManyRequestsException"}
  908. ]
  909. },
  910. "PutRestApi":{
  911. "name":"PutRestApi",
  912. "http":{
  913. "method":"PUT",
  914. "requestUri":"/restapis/{restapi_id}"
  915. },
  916. "input":{"shape":"PutRestApiRequest"},
  917. "output":{"shape":"RestApi"},
  918. "errors":[
  919. {"shape":"UnauthorizedException"},
  920. {"shape":"LimitExceededException"},
  921. {"shape":"NotFoundException"},
  922. {"shape":"BadRequestException"},
  923. {"shape":"TooManyRequestsException"},
  924. {"shape":"ConflictException"}
  925. ]
  926. },
  927. "TestInvokeAuthorizer":{
  928. "name":"TestInvokeAuthorizer",
  929. "http":{
  930. "method":"POST",
  931. "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}"
  932. },
  933. "input":{"shape":"TestInvokeAuthorizerRequest"},
  934. "output":{"shape":"TestInvokeAuthorizerResponse"},
  935. "errors":[
  936. {"shape":"BadRequestException"},
  937. {"shape":"UnauthorizedException"},
  938. {"shape":"NotFoundException"},
  939. {"shape":"TooManyRequestsException"}
  940. ]
  941. },
  942. "TestInvokeMethod":{
  943. "name":"TestInvokeMethod",
  944. "http":{
  945. "method":"POST",
  946. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
  947. },
  948. "input":{"shape":"TestInvokeMethodRequest"},
  949. "output":{"shape":"TestInvokeMethodResponse"},
  950. "errors":[
  951. {"shape":"BadRequestException"},
  952. {"shape":"UnauthorizedException"},
  953. {"shape":"NotFoundException"},
  954. {"shape":"TooManyRequestsException"}
  955. ]
  956. },
  957. "UpdateAccount":{
  958. "name":"UpdateAccount",
  959. "http":{
  960. "method":"PATCH",
  961. "requestUri":"/account"
  962. },
  963. "input":{"shape":"UpdateAccountRequest"},
  964. "output":{"shape":"Account"},
  965. "errors":[
  966. {"shape":"UnauthorizedException"},
  967. {"shape":"BadRequestException"},
  968. {"shape":"NotFoundException"},
  969. {"shape":"TooManyRequestsException"}
  970. ]
  971. },
  972. "UpdateApiKey":{
  973. "name":"UpdateApiKey",
  974. "http":{
  975. "method":"PATCH",
  976. "requestUri":"/apikeys/{api_Key}"
  977. },
  978. "input":{"shape":"UpdateApiKeyRequest"},
  979. "output":{"shape":"ApiKey"},
  980. "errors":[
  981. {"shape":"UnauthorizedException"},
  982. {"shape":"NotFoundException"},
  983. {"shape":"BadRequestException"},
  984. {"shape":"TooManyRequestsException"}
  985. ]
  986. },
  987. "UpdateAuthorizer":{
  988. "name":"UpdateAuthorizer",
  989. "http":{
  990. "method":"PATCH",
  991. "requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}"
  992. },
  993. "input":{"shape":"UpdateAuthorizerRequest"},
  994. "output":{"shape":"Authorizer"},
  995. "errors":[
  996. {"shape":"UnauthorizedException"},
  997. {"shape":"NotFoundException"},
  998. {"shape":"BadRequestException"},
  999. {"shape":"TooManyRequestsException"}
  1000. ]
  1001. },
  1002. "UpdateBasePathMapping":{
  1003. "name":"UpdateBasePathMapping",
  1004. "http":{
  1005. "method":"PATCH",
  1006. "requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}"
  1007. },
  1008. "input":{"shape":"UpdateBasePathMappingRequest"},
  1009. "output":{"shape":"BasePathMapping"},
  1010. "errors":[
  1011. {"shape":"UnauthorizedException"},
  1012. {"shape":"NotFoundException"},
  1013. {"shape":"ConflictException"},
  1014. {"shape":"BadRequestException"},
  1015. {"shape":"TooManyRequestsException"}
  1016. ]
  1017. },
  1018. "UpdateClientCertificate":{
  1019. "name":"UpdateClientCertificate",
  1020. "http":{
  1021. "method":"PATCH",
  1022. "requestUri":"/clientcertificates/{clientcertificate_id}"
  1023. },
  1024. "input":{"shape":"UpdateClientCertificateRequest"},
  1025. "output":{"shape":"ClientCertificate"},
  1026. "errors":[
  1027. {"shape":"UnauthorizedException"},
  1028. {"shape":"TooManyRequestsException"},
  1029. {"shape":"BadRequestException"},
  1030. {"shape":"NotFoundException"}
  1031. ]
  1032. },
  1033. "UpdateDeployment":{
  1034. "name":"UpdateDeployment",
  1035. "http":{
  1036. "method":"PATCH",
  1037. "requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}"
  1038. },
  1039. "input":{"shape":"UpdateDeploymentRequest"},
  1040. "output":{"shape":"Deployment"},
  1041. "errors":[
  1042. {"shape":"UnauthorizedException"},
  1043. {"shape":"NotFoundException"},
  1044. {"shape":"BadRequestException"},
  1045. {"shape":"TooManyRequestsException"},
  1046. {"shape":"ServiceUnavailableException"}
  1047. ]
  1048. },
  1049. "UpdateDomainName":{
  1050. "name":"UpdateDomainName",
  1051. "http":{
  1052. "method":"PATCH",
  1053. "requestUri":"/domainnames/{domain_name}"
  1054. },
  1055. "input":{"shape":"UpdateDomainNameRequest"},
  1056. "output":{"shape":"DomainName"},
  1057. "errors":[
  1058. {"shape":"UnauthorizedException"},
  1059. {"shape":"NotFoundException"},
  1060. {"shape":"BadRequestException"},
  1061. {"shape":"ConflictException"},
  1062. {"shape":"TooManyRequestsException"}
  1063. ]
  1064. },
  1065. "UpdateIntegration":{
  1066. "name":"UpdateIntegration",
  1067. "http":{
  1068. "method":"PATCH",
  1069. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
  1070. },
  1071. "input":{"shape":"UpdateIntegrationRequest"},
  1072. "output":{"shape":"Integration"},
  1073. "errors":[
  1074. {"shape":"UnauthorizedException"},
  1075. {"shape":"NotFoundException"},
  1076. {"shape":"BadRequestException"},
  1077. {"shape":"TooManyRequestsException"},
  1078. {"shape":"ConflictException"}
  1079. ]
  1080. },
  1081. "UpdateIntegrationResponse":{
  1082. "name":"UpdateIntegrationResponse",
  1083. "http":{
  1084. "method":"PATCH",
  1085. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
  1086. },
  1087. "input":{"shape":"UpdateIntegrationResponseRequest"},
  1088. "output":{"shape":"IntegrationResponse"},
  1089. "errors":[
  1090. {"shape":"UnauthorizedException"},
  1091. {"shape":"NotFoundException"},
  1092. {"shape":"ConflictException"},
  1093. {"shape":"BadRequestException"},
  1094. {"shape":"TooManyRequestsException"}
  1095. ]
  1096. },
  1097. "UpdateMethod":{
  1098. "name":"UpdateMethod",
  1099. "http":{
  1100. "method":"PATCH",
  1101. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
  1102. },
  1103. "input":{"shape":"UpdateMethodRequest"},
  1104. "output":{"shape":"Method"},
  1105. "errors":[
  1106. {"shape":"UnauthorizedException"},
  1107. {"shape":"NotFoundException"},
  1108. {"shape":"BadRequestException"},
  1109. {"shape":"ConflictException"},
  1110. {"shape":"TooManyRequestsException"}
  1111. ]
  1112. },
  1113. "UpdateMethodResponse":{
  1114. "name":"UpdateMethodResponse",
  1115. "http":{
  1116. "method":"PATCH",
  1117. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",
  1118. "responseCode":201
  1119. },
  1120. "input":{"shape":"UpdateMethodResponseRequest"},
  1121. "output":{"shape":"MethodResponse"},
  1122. "errors":[
  1123. {"shape":"UnauthorizedException"},
  1124. {"shape":"NotFoundException"},
  1125. {"shape":"ConflictException"},
  1126. {"shape":"LimitExceededException"},
  1127. {"shape":"BadRequestException"},
  1128. {"shape":"TooManyRequestsException"}
  1129. ]
  1130. },
  1131. "UpdateModel":{
  1132. "name":"UpdateModel",
  1133. "http":{
  1134. "method":"PATCH",
  1135. "requestUri":"/restapis/{restapi_id}/models/{model_name}"
  1136. },
  1137. "input":{"shape":"UpdateModelRequest"},
  1138. "output":{"shape":"Model"},
  1139. "errors":[
  1140. {"shape":"UnauthorizedException"},
  1141. {"shape":"NotFoundException"},
  1142. {"shape":"BadRequestException"},
  1143. {"shape":"ConflictException"},
  1144. {"shape":"TooManyRequestsException"}
  1145. ]
  1146. },
  1147. "UpdateResource":{
  1148. "name":"UpdateResource",
  1149. "http":{
  1150. "method":"PATCH",
  1151. "requestUri":"/restapis/{restapi_id}/resources/{resource_id}"
  1152. },
  1153. "input":{"shape":"UpdateResourceRequest"},
  1154. "output":{"shape":"Resource"},
  1155. "errors":[
  1156. {"shape":"UnauthorizedException"},
  1157. {"shape":"NotFoundException"},
  1158. {"shape":"ConflictException"},
  1159. {"shape":"BadRequestException"},
  1160. {"shape":"TooManyRequestsException"}
  1161. ]
  1162. },
  1163. "UpdateRestApi":{
  1164. "name":"UpdateRestApi",
  1165. "http":{
  1166. "method":"PATCH",
  1167. "requestUri":"/restapis/{restapi_id}"
  1168. },
  1169. "input":{"shape":"UpdateRestApiRequest"},
  1170. "output":{"shape":"RestApi"},
  1171. "errors":[
  1172. {"shape":"UnauthorizedException"},
  1173. {"shape":"NotFoundException"},
  1174. {"shape":"ConflictException"},
  1175. {"shape":"BadRequestException"},
  1176. {"shape":"TooManyRequestsException"}
  1177. ]
  1178. },
  1179. "UpdateStage":{
  1180. "name":"UpdateStage",
  1181. "http":{
  1182. "method":"PATCH",
  1183. "requestUri":"/restapis/{restapi_id}/stages/{stage_name}"
  1184. },
  1185. "input":{"shape":"UpdateStageRequest"},
  1186. "output":{"shape":"Stage"},
  1187. "errors":[
  1188. {"shape":"UnauthorizedException"},
  1189. {"shape":"NotFoundException"},
  1190. {"shape":"ConflictException"},
  1191. {"shape":"BadRequestException"},
  1192. {"shape":"TooManyRequestsException"}
  1193. ]
  1194. }
  1195. },
  1196. "shapes":{
  1197. "Account":{
  1198. "type":"structure",
  1199. "members":{
  1200. "cloudwatchRoleArn":{"shape":"String"},
  1201. "throttleSettings":{"shape":"ThrottleSettings"}
  1202. }
  1203. },
  1204. "ApiKey":{
  1205. "type":"structure",
  1206. "members":{
  1207. "id":{"shape":"String"},
  1208. "name":{"shape":"String"},
  1209. "description":{"shape":"String"},
  1210. "enabled":{"shape":"Boolean"},
  1211. "stageKeys":{"shape":"ListOfString"},
  1212. "createdDate":{"shape":"Timestamp"},
  1213. "lastUpdatedDate":{"shape":"Timestamp"}
  1214. }
  1215. },
  1216. "ApiKeys":{
  1217. "type":"structure",
  1218. "members":{
  1219. "position":{"shape":"String"},
  1220. "items":{
  1221. "shape":"ListOfApiKey",
  1222. "locationName":"item"
  1223. }
  1224. }
  1225. },
  1226. "Authorizer":{
  1227. "type":"structure",
  1228. "members":{
  1229. "id":{"shape":"String"},
  1230. "name":{"shape":"String"},
  1231. "type":{"shape":"AuthorizerType"},
  1232. "providerARNs":{"shape":"ListOfARNs"},
  1233. "authType":{"shape":"String"},
  1234. "authorizerUri":{"shape":"String"},
  1235. "authorizerCredentials":{"shape":"String"},
  1236. "identitySource":{"shape":"String"},
  1237. "identityValidationExpression":{"shape":"String"},
  1238. "authorizerResultTtlInSeconds":{"shape":"NullableInteger"}
  1239. }
  1240. },
  1241. "AuthorizerType":{
  1242. "type":"string",
  1243. "enum":[
  1244. "TOKEN",
  1245. "COGNITO_USER_POOLS"
  1246. ]
  1247. },
  1248. "Authorizers":{
  1249. "type":"structure",
  1250. "members":{
  1251. "position":{"shape":"String"},
  1252. "items":{
  1253. "shape":"ListOfAuthorizer",
  1254. "locationName":"item"
  1255. }
  1256. }
  1257. },
  1258. "BadRequestException":{
  1259. "type":"structure",
  1260. "members":{
  1261. "message":{"shape":"String"}
  1262. },
  1263. "error":{"httpStatusCode":400},
  1264. "exception":true
  1265. },
  1266. "BasePathMapping":{
  1267. "type":"structure",
  1268. "members":{
  1269. "basePath":{"shape":"String"},
  1270. "restApiId":{"shape":"String"},
  1271. "stage":{"shape":"String"}
  1272. }
  1273. },
  1274. "BasePathMappings":{
  1275. "type":"structure",
  1276. "members":{
  1277. "position":{"shape":"String"},
  1278. "items":{
  1279. "shape":"ListOfBasePathMapping",
  1280. "locationName":"item"
  1281. }
  1282. }
  1283. },
  1284. "Blob":{"type":"blob"},
  1285. "Boolean":{"type":"boolean"},
  1286. "CacheClusterSize":{
  1287. "type":"string",
  1288. "enum":[
  1289. "0.5",
  1290. "1.6",
  1291. "6.1",
  1292. "13.5",
  1293. "28.4",
  1294. "58.2",
  1295. "118",
  1296. "237"
  1297. ]
  1298. },
  1299. "CacheClusterStatus":{
  1300. "type":"string",
  1301. "enum":[
  1302. "CREATE_IN_PROGRESS",
  1303. "AVAILABLE",
  1304. "DELETE_IN_PROGRESS",
  1305. "NOT_AVAILABLE",
  1306. "FLUSH_IN_PROGRESS"
  1307. ]
  1308. },
  1309. "ClientCertificate":{
  1310. "type":"structure",
  1311. "members":{
  1312. "clientCertificateId":{"shape":"String"},
  1313. "description":{"shape":"String"},
  1314. "pemEncodedCertificate":{"shape":"String"},
  1315. "createdDate":{"shape":"Timestamp"},
  1316. "expirationDate":{"shape":"Timestamp"}
  1317. }
  1318. },
  1319. "ClientCertificates":{
  1320. "type":"structure",
  1321. "members":{
  1322. "position":{"shape":"String"},
  1323. "items":{
  1324. "shape":"ListOfClientCertificate",
  1325. "locationName":"item"
  1326. }
  1327. }
  1328. },
  1329. "ConflictException":{
  1330. "type":"structure",
  1331. "members":{
  1332. "message":{"shape":"String"}
  1333. },
  1334. "error":{"httpStatusCode":409},
  1335. "exception":true
  1336. },
  1337. "CreateApiKeyRequest":{
  1338. "type":"structure",
  1339. "members":{
  1340. "name":{"shape":"String"},
  1341. "description":{"shape":"String"},
  1342. "enabled":{"shape":"Boolean"},
  1343. "stageKeys":{"shape":"ListOfStageKeys"}
  1344. }
  1345. },
  1346. "CreateAuthorizerRequest":{
  1347. "type":"structure",
  1348. "required":[
  1349. "restApiId",
  1350. "name",
  1351. "type",
  1352. "identitySource"
  1353. ],
  1354. "members":{
  1355. "restApiId":{
  1356. "shape":"String",
  1357. "location":"uri",
  1358. "locationName":"restapi_id"
  1359. },
  1360. "name":{"shape":"String"},
  1361. "type":{"shape":"AuthorizerType"},
  1362. "providerARNs":{"shape":"ListOfARNs"},
  1363. "authType":{"shape":"String"},
  1364. "authorizerUri":{"shape":"String"},
  1365. "authorizerCredentials":{"shape":"String"},
  1366. "identitySource":{"shape":"String"},
  1367. "identityValidationExpression":{"shape":"String"},
  1368. "authorizerResultTtlInSeconds":{"shape":"NullableInteger"}
  1369. }
  1370. },
  1371. "CreateBasePathMappingRequest":{
  1372. "type":"structure",
  1373. "required":[
  1374. "domainName",
  1375. "restApiId"
  1376. ],
  1377. "members":{
  1378. "domainName":{
  1379. "shape":"String",
  1380. "location":"uri",
  1381. "locationName":"domain_name"
  1382. },
  1383. "basePath":{"shape":"String"},
  1384. "restApiId":{"shape":"String"},
  1385. "stage":{"shape":"String"}
  1386. }
  1387. },
  1388. "CreateDeploymentRequest":{
  1389. "type":"structure",
  1390. "required":[
  1391. "restApiId",
  1392. "stageName"
  1393. ],
  1394. "members":{
  1395. "restApiId":{
  1396. "shape":"String",
  1397. "location":"uri",
  1398. "locationName":"restapi_id"
  1399. },
  1400. "stageName":{"shape":"String"},
  1401. "stageDescription":{"shape":"String"},
  1402. "description":{"shape":"String"},
  1403. "cacheClusterEnabled":{"shape":"NullableBoolean"},
  1404. "cacheClusterSize":{"shape":"CacheClusterSize"},
  1405. "variables":{"shape":"MapOfStringToString"}
  1406. }
  1407. },
  1408. "CreateDomainNameRequest":{
  1409. "type":"structure",
  1410. "required":[
  1411. "domainName",
  1412. "certificateName",
  1413. "certificateBody",
  1414. "certificatePrivateKey",
  1415. "certificateChain"
  1416. ],
  1417. "members":{
  1418. "domainName":{"shape":"String"},
  1419. "certificateName":{"shape":"String"},
  1420. "certificateBody":{"shape":"String"},
  1421. "certificatePrivateKey":{"shape":"String"},
  1422. "certificateChain":{"shape":"String"}
  1423. }
  1424. },
  1425. "CreateModelRequest":{
  1426. "type":"structure",
  1427. "required":[
  1428. "restApiId",
  1429. "name",
  1430. "contentType"
  1431. ],
  1432. "members":{
  1433. "restApiId":{
  1434. "shape":"String",
  1435. "location":"uri",
  1436. "locationName":"restapi_id"
  1437. },
  1438. "name":{"shape":"String"},
  1439. "description":{"shape":"String"},
  1440. "schema":{"shape":"String"},
  1441. "contentType":{"shape":"String"}
  1442. }
  1443. },
  1444. "CreateResourceRequest":{
  1445. "type":"structure",
  1446. "required":[
  1447. "restApiId",
  1448. "parentId",
  1449. "pathPart"
  1450. ],
  1451. "members":{
  1452. "restApiId":{
  1453. "shape":"String",
  1454. "location":"uri",
  1455. "locationName":"restapi_id"
  1456. },
  1457. "parentId":{
  1458. "shape":"String",
  1459. "location":"uri",
  1460. "locationName":"parent_id"
  1461. },
  1462. "pathPart":{"shape":"String"}
  1463. }
  1464. },
  1465. "CreateRestApiRequest":{
  1466. "type":"structure",
  1467. "required":["name"],
  1468. "members":{
  1469. "name":{"shape":"String"},
  1470. "description":{"shape":"String"},
  1471. "cloneFrom":{"shape":"String"}
  1472. }
  1473. },
  1474. "CreateStageRequest":{
  1475. "type":"structure",
  1476. "required":[
  1477. "restApiId",
  1478. "stageName",
  1479. "deploymentId"
  1480. ],
  1481. "members":{
  1482. "restApiId":{
  1483. "shape":"String",
  1484. "location":"uri",
  1485. "locationName":"restapi_id"
  1486. },
  1487. "stageName":{"shape":"String"},
  1488. "deploymentId":{"shape":"String"},
  1489. "description":{"shape":"String"},
  1490. "cacheClusterEnabled":{"shape":"Boolean"},
  1491. "cacheClusterSize":{"shape":"CacheClusterSize"},
  1492. "variables":{"shape":"MapOfStringToString"}
  1493. }
  1494. },
  1495. "DeleteApiKeyRequest":{
  1496. "type":"structure",
  1497. "required":["apiKey"],
  1498. "members":{
  1499. "apiKey":{
  1500. "shape":"String",
  1501. "location":"uri",
  1502. "locationName":"api_Key"
  1503. }
  1504. }
  1505. },
  1506. "DeleteAuthorizerRequest":{
  1507. "type":"structure",
  1508. "required":[
  1509. "restApiId",
  1510. "authorizerId"
  1511. ],
  1512. "members":{
  1513. "restApiId":{
  1514. "shape":"String",
  1515. "location":"uri",
  1516. "locationName":"restapi_id"
  1517. },
  1518. "authorizerId":{
  1519. "shape":"String",
  1520. "location":"uri",
  1521. "locationName":"authorizer_id"
  1522. }
  1523. }
  1524. },
  1525. "DeleteBasePathMappingRequest":{
  1526. "type":"structure",
  1527. "required":[
  1528. "domainName",
  1529. "basePath"
  1530. ],
  1531. "members":{
  1532. "domainName":{
  1533. "shape":"String",
  1534. "location":"uri",
  1535. "locationName":"domain_name"
  1536. },
  1537. "basePath":{
  1538. "shape":"String",
  1539. "location":"uri",
  1540. "locationName":"base_path"
  1541. }
  1542. }
  1543. },
  1544. "DeleteClientCertificateRequest":{
  1545. "type":"structure",
  1546. "required":["clientCertificateId"],
  1547. "members":{
  1548. "clientCertificateId":{
  1549. "shape":"String",
  1550. "location":"uri",
  1551. "locationName":"clientcertificate_id"
  1552. }
  1553. }
  1554. },
  1555. "DeleteDeploymentRequest":{
  1556. "type":"structure",
  1557. "required":[
  1558. "restApiId",
  1559. "deploymentId"
  1560. ],
  1561. "members":{
  1562. "restApiId":{
  1563. "shape":"String",
  1564. "location":"uri",
  1565. "locationName":"restapi_id"
  1566. },
  1567. "deploymentId":{
  1568. "shape":"String",
  1569. "location":"uri",
  1570. "locationName":"deployment_id"
  1571. }
  1572. }
  1573. },
  1574. "DeleteDomainNameRequest":{
  1575. "type":"structure",
  1576. "required":["domainName"],
  1577. "members":{
  1578. "domainName":{
  1579. "shape":"String",
  1580. "location":"uri",
  1581. "locationName":"domain_name"
  1582. }
  1583. }
  1584. },
  1585. "DeleteIntegrationRequest":{
  1586. "type":"structure",
  1587. "required":[
  1588. "restApiId",
  1589. "resourceId",
  1590. "httpMethod"
  1591. ],
  1592. "members":{
  1593. "restApiId":{
  1594. "shape":"String",
  1595. "location":"uri",
  1596. "locationName":"restapi_id"
  1597. },
  1598. "resourceId":{
  1599. "shape":"String",
  1600. "location":"uri",
  1601. "locationName":"resource_id"
  1602. },
  1603. "httpMethod":{
  1604. "shape":"String",
  1605. "location":"uri",
  1606. "locationName":"http_method"
  1607. }
  1608. }
  1609. },
  1610. "DeleteIntegrationResponseRequest":{
  1611. "type":"structure",
  1612. "required":[
  1613. "restApiId",
  1614. "resourceId",
  1615. "httpMethod",
  1616. "statusCode"
  1617. ],
  1618. "members":{
  1619. "restApiId":{
  1620. "shape":"String",
  1621. "location":"uri",
  1622. "locationName":"restapi_id"
  1623. },
  1624. "resourceId":{
  1625. "shape":"String",
  1626. "location":"uri",
  1627. "locationName":"resource_id"
  1628. },
  1629. "httpMethod":{
  1630. "shape":"String",
  1631. "location":"uri",
  1632. "locationName":"http_method"
  1633. },
  1634. "statusCode":{
  1635. "shape":"StatusCode",
  1636. "location":"uri",
  1637. "locationName":"status_code"
  1638. }
  1639. }
  1640. },
  1641. "DeleteMethodRequest":{
  1642. "type":"structure",
  1643. "required":[
  1644. "restApiId",
  1645. "resourceId",
  1646. "httpMethod"
  1647. ],
  1648. "members":{
  1649. "restApiId":{
  1650. "shape":"String",
  1651. "location":"uri",
  1652. "locationName":"restapi_id"
  1653. },
  1654. "resourceId":{
  1655. "shape":"String",
  1656. "location":"uri",
  1657. "locationName":"resource_id"
  1658. },
  1659. "httpMethod":{
  1660. "shape":"String",
  1661. "location":"uri",
  1662. "locationName":"http_method"
  1663. }
  1664. }
  1665. },
  1666. "DeleteMethodResponseRequest":{
  1667. "type":"structure",
  1668. "required":[
  1669. "restApiId",
  1670. "resourceId",
  1671. "httpMethod",
  1672. "statusCode"
  1673. ],
  1674. "members":{
  1675. "restApiId":{
  1676. "shape":"String",
  1677. "location":"uri",
  1678. "locationName":"restapi_id"
  1679. },
  1680. "resourceId":{
  1681. "shape":"String",
  1682. "location":"uri",
  1683. "locationName":"resource_id"
  1684. },
  1685. "httpMethod":{
  1686. "shape":"String",
  1687. "location":"uri",
  1688. "locationName":"http_method"
  1689. },
  1690. "statusCode":{
  1691. "shape":"StatusCode",
  1692. "location":"uri",
  1693. "locationName":"status_code"
  1694. }
  1695. }
  1696. },
  1697. "DeleteModelRequest":{
  1698. "type":"structure",
  1699. "required":[
  1700. "restApiId",
  1701. "modelName"
  1702. ],
  1703. "members":{
  1704. "restApiId":{
  1705. "shape":"String",
  1706. "location":"uri",
  1707. "locationName":"restapi_id"
  1708. },
  1709. "modelName":{
  1710. "shape":"String",
  1711. "location":"uri",
  1712. "locationName":"model_name"
  1713. }
  1714. }
  1715. },
  1716. "DeleteResourceRequest":{
  1717. "type":"structure",
  1718. "required":[
  1719. "restApiId",
  1720. "resourceId"
  1721. ],
  1722. "members":{
  1723. "restApiId":{
  1724. "shape":"String",
  1725. "location":"uri",
  1726. "locationName":"restapi_id"
  1727. },
  1728. "resourceId":{
  1729. "shape":"String",
  1730. "location":"uri",
  1731. "locationName":"resource_id"
  1732. }
  1733. }
  1734. },
  1735. "DeleteRestApiRequest":{
  1736. "type":"structure",
  1737. "required":["restApiId"],
  1738. "members":{
  1739. "restApiId":{
  1740. "shape":"String",
  1741. "location":"uri",
  1742. "locationName":"restapi_id"
  1743. }
  1744. }
  1745. },
  1746. "DeleteStageRequest":{
  1747. "type":"structure",
  1748. "required":[
  1749. "restApiId",
  1750. "stageName"
  1751. ],
  1752. "members":{
  1753. "restApiId":{
  1754. "shape":"String",
  1755. "location":"uri",
  1756. "locationName":"restapi_id"
  1757. },
  1758. "stageName":{
  1759. "shape":"String",
  1760. "location":"uri",
  1761. "locationName":"stage_name"
  1762. }
  1763. }
  1764. },
  1765. "Deployment":{
  1766. "type":"structure",
  1767. "members":{
  1768. "id":{"shape":"String"},
  1769. "description":{"shape":"String"},
  1770. "createdDate":{"shape":"Timestamp"},
  1771. "apiSummary":{"shape":"PathToMapOfMethodSnapshot"}
  1772. }
  1773. },
  1774. "Deployments":{
  1775. "type":"structure",
  1776. "members":{
  1777. "position":{"shape":"String"},
  1778. "items":{
  1779. "shape":"ListOfDeployment",
  1780. "locationName":"item"
  1781. }
  1782. }
  1783. },
  1784. "DomainName":{
  1785. "type":"structure",
  1786. "members":{
  1787. "domainName":{"shape":"String"},
  1788. "certificateName":{"shape":"String"},
  1789. "certificateUploadDate":{"shape":"Timestamp"},
  1790. "distributionDomainName":{"shape":"String"}
  1791. }
  1792. },
  1793. "DomainNames":{
  1794. "type":"structure",
  1795. "members":{
  1796. "position":{"shape":"String"},
  1797. "items":{
  1798. "shape":"ListOfDomainName",
  1799. "locationName":"item"
  1800. }
  1801. }
  1802. },
  1803. "Double":{"type":"double"},
  1804. "ExportResponse":{
  1805. "type":"structure",
  1806. "members":{
  1807. "contentType":{
  1808. "shape":"String",
  1809. "location":"header",
  1810. "locationName":"Content-Type"
  1811. },
  1812. "contentDisposition":{
  1813. "shape":"String",
  1814. "location":"header",
  1815. "locationName":"Content-Disposition"
  1816. },
  1817. "body":{"shape":"Blob"}
  1818. },
  1819. "payload":"body"
  1820. },
  1821. "FlushStageAuthorizersCacheRequest":{
  1822. "type":"structure",
  1823. "required":[
  1824. "restApiId",
  1825. "stageName"
  1826. ],
  1827. "members":{
  1828. "restApiId":{
  1829. "shape":"String",
  1830. "location":"uri",
  1831. "locationName":"restapi_id"
  1832. },
  1833. "stageName":{
  1834. "shape":"String",
  1835. "location":"uri",
  1836. "locationName":"stage_name"
  1837. }
  1838. }
  1839. },
  1840. "FlushStageCacheRequest":{
  1841. "type":"structure",
  1842. "required":[
  1843. "restApiId",
  1844. "stageName"
  1845. ],
  1846. "members":{
  1847. "restApiId":{
  1848. "shape":"String",
  1849. "location":"uri",
  1850. "locationName":"restapi_id"
  1851. },
  1852. "stageName":{
  1853. "shape":"String",
  1854. "location":"uri",
  1855. "locationName":"stage_name"
  1856. }
  1857. }
  1858. },
  1859. "GenerateClientCertificateRequest":{
  1860. "type":"structure",
  1861. "members":{
  1862. "description":{"shape":"String"}
  1863. }
  1864. },
  1865. "GetAccountRequest":{
  1866. "type":"structure",
  1867. "members":{
  1868. }
  1869. },
  1870. "GetApiKeyRequest":{
  1871. "type":"structure",
  1872. "required":["apiKey"],
  1873. "members":{
  1874. "apiKey":{
  1875. "shape":"String",
  1876. "location":"uri",
  1877. "locationName":"api_Key"
  1878. }
  1879. }
  1880. },
  1881. "GetApiKeysRequest":{
  1882. "type":"structure",
  1883. "members":{
  1884. "position":{
  1885. "shape":"String",
  1886. "location":"querystring",
  1887. "locationName":"position"
  1888. },
  1889. "limit":{
  1890. "shape":"NullableInteger",
  1891. "location":"querystring",
  1892. "locationName":"limit"
  1893. }
  1894. }
  1895. },
  1896. "GetAuthorizerRequest":{
  1897. "type":"structure",
  1898. "required":[
  1899. "restApiId",
  1900. "authorizerId"
  1901. ],
  1902. "members":{
  1903. "restApiId":{
  1904. "shape":"String",
  1905. "location":"uri",
  1906. "locationName":"restapi_id"
  1907. },
  1908. "authorizerId":{
  1909. "shape":"String",
  1910. "location":"uri",
  1911. "locationName":"authorizer_id"
  1912. }
  1913. }
  1914. },
  1915. "GetAuthorizersRequest":{
  1916. "type":"structure",
  1917. "required":["restApiId"],
  1918. "members":{
  1919. "restApiId":{
  1920. "shape":"String",
  1921. "location":"uri",
  1922. "locationName":"restapi_id"
  1923. },
  1924. "position":{
  1925. "shape":"String",
  1926. "location":"querystring",
  1927. "locationName":"position"
  1928. },
  1929. "limit":{
  1930. "shape":"NullableInteger",
  1931. "location":"querystring",
  1932. "locationName":"limit"
  1933. }
  1934. }
  1935. },
  1936. "GetBasePathMappingRequest":{
  1937. "type":"structure",
  1938. "required":[
  1939. "domainName",
  1940. "basePath"
  1941. ],
  1942. "members":{
  1943. "domainName":{
  1944. "shape":"String",
  1945. "location":"uri",
  1946. "locationName":"domain_name"
  1947. },
  1948. "basePath":{
  1949. "shape":"String",
  1950. "location":"uri",
  1951. "locationName":"base_path"
  1952. }
  1953. }
  1954. },
  1955. "GetBasePathMappingsRequest":{
  1956. "type":"structure",
  1957. "required":["domainName"],
  1958. "members":{
  1959. "domainName":{
  1960. "shape":"String",
  1961. "location":"uri",
  1962. "locationName":"domain_name"
  1963. },
  1964. "position":{
  1965. "shape":"String",
  1966. "location":"querystring",
  1967. "locationName":"position"
  1968. },
  1969. "limit":{
  1970. "shape":"NullableInteger",
  1971. "location":"querystring",
  1972. "locationName":"limit"
  1973. }
  1974. }
  1975. },
  1976. "GetClientCertificateRequest":{
  1977. "type":"structure",
  1978. "required":["clientCertificateId"],
  1979. "members":{
  1980. "clientCertificateId":{
  1981. "shape":"String",
  1982. "location":"uri",
  1983. "locationName":"clientcertificate_id"
  1984. }
  1985. }
  1986. },
  1987. "GetClientCertificatesRequest":{
  1988. "type":"structure",
  1989. "members":{
  1990. "position":{
  1991. "shape":"String",
  1992. "location":"querystring",
  1993. "locationName":"position"
  1994. },
  1995. "limit":{
  1996. "shape":"NullableInteger",
  1997. "location":"querystring",
  1998. "locationName":"limit"
  1999. }
  2000. }
  2001. },
  2002. "GetDeploymentRequest":{
  2003. "type":"structure",
  2004. "required":[
  2005. "restApiId",
  2006. "deploymentId"
  2007. ],
  2008. "members":{
  2009. "restApiId":{
  2010. "shape":"String",
  2011. "location":"uri",
  2012. "locationName":"restapi_id"
  2013. },
  2014. "deploymentId":{
  2015. "shape":"String",
  2016. "location":"uri",
  2017. "locationName":"deployment_id"
  2018. }
  2019. }
  2020. },
  2021. "GetDeploymentsRequest":{
  2022. "type":"structure",
  2023. "required":["restApiId"],
  2024. "members":{
  2025. "restApiId":{
  2026. "shape":"String",
  2027. "location":"uri",
  2028. "locationName":"restapi_id"
  2029. },
  2030. "position":{
  2031. "shape":"String",
  2032. "location":"querystring",
  2033. "locationName":"position"
  2034. },
  2035. "limit":{
  2036. "shape":"NullableInteger",
  2037. "location":"querystring",
  2038. "locationName":"limit"
  2039. }
  2040. }
  2041. },
  2042. "GetDomainNameRequest":{
  2043. "type":"structure",
  2044. "required":["domainName"],
  2045. "members":{
  2046. "domainName":{
  2047. "shape":"String",
  2048. "location":"uri",
  2049. "locationName":"domain_name"
  2050. }
  2051. }
  2052. },
  2053. "GetDomainNamesRequest":{
  2054. "type":"structure",
  2055. "members":{
  2056. "position":{
  2057. "shape":"String",
  2058. "location":"querystring",
  2059. "locationName":"position"
  2060. },
  2061. "limit":{
  2062. "shape":"NullableInteger",
  2063. "location":"querystring",
  2064. "locationName":"limit"
  2065. }
  2066. }
  2067. },
  2068. "GetExportRequest":{
  2069. "type":"structure",
  2070. "required":[
  2071. "restApiId",
  2072. "stageName",
  2073. "exportType"
  2074. ],
  2075. "members":{
  2076. "restApiId":{
  2077. "shape":"String",
  2078. "location":"uri",
  2079. "locationName":"restapi_id"
  2080. },
  2081. "stageName":{
  2082. "shape":"String",
  2083. "location":"uri",
  2084. "locationName":"stage_name"
  2085. },
  2086. "exportType":{
  2087. "shape":"String",
  2088. "location":"uri",
  2089. "locationName":"export_type"
  2090. },
  2091. "parameters":{
  2092. "shape":"MapOfStringToString",
  2093. "location":"querystring"
  2094. },
  2095. "accepts":{
  2096. "shape":"String",
  2097. "location":"header",
  2098. "locationName":"Accept"
  2099. }
  2100. }
  2101. },
  2102. "GetIntegrationRequest":{
  2103. "type":"structure",
  2104. "required":[
  2105. "restApiId",
  2106. "resourceId",
  2107. "httpMethod"
  2108. ],
  2109. "members":{
  2110. "restApiId":{
  2111. "shape":"String",
  2112. "location":"uri",
  2113. "locationName":"restapi_id"
  2114. },
  2115. "resourceId":{
  2116. "shape":"String",
  2117. "location":"uri",
  2118. "locationName":"resource_id"
  2119. },
  2120. "httpMethod":{
  2121. "shape":"String",
  2122. "location":"uri",
  2123. "locationName":"http_method"
  2124. }
  2125. }
  2126. },
  2127. "GetIntegrationResponseRequest":{
  2128. "type":"structure",
  2129. "required":[
  2130. "restApiId",
  2131. "resourceId",
  2132. "httpMethod",
  2133. "statusCode"
  2134. ],
  2135. "members":{
  2136. "restApiId":{
  2137. "shape":"String",
  2138. "location":"uri",
  2139. "locationName":"restapi_id"
  2140. },
  2141. "resourceId":{
  2142. "shape":"String",
  2143. "location":"uri",
  2144. "locationName":"resource_id"
  2145. },
  2146. "httpMethod":{
  2147. "shape":"String",
  2148. "location":"uri",
  2149. "locationName":"http_method"
  2150. },
  2151. "statusCode":{
  2152. "shape":"StatusCode",
  2153. "location":"uri",
  2154. "locationName":"status_code"
  2155. }
  2156. }
  2157. },
  2158. "GetMethodRequest":{
  2159. "type":"structure",
  2160. "required":[
  2161. "restApiId",
  2162. "resourceId",
  2163. "httpMethod"
  2164. ],
  2165. "members":{
  2166. "restApiId":{
  2167. "shape":"String",
  2168. "location":"uri",
  2169. "locationName":"restapi_id"
  2170. },
  2171. "resourceId":{
  2172. "shape":"String",
  2173. "location":"uri",
  2174. "locationName":"resource_id"
  2175. },
  2176. "httpMethod":{
  2177. "shape":"String",
  2178. "location":"uri",
  2179. "locationName":"http_method"
  2180. }
  2181. }
  2182. },
  2183. "GetMethodResponseRequest":{
  2184. "type":"structure",
  2185. "required":[
  2186. "restApiId",
  2187. "resourceId",
  2188. "httpMethod",
  2189. "statusCode"
  2190. ],
  2191. "members":{
  2192. "restApiId":{
  2193. "shape":"String",
  2194. "location":"uri",
  2195. "locationName":"restapi_id"
  2196. },
  2197. "resourceId":{
  2198. "shape":"String",
  2199. "location":"uri",
  2200. "locationName":"resource_id"
  2201. },
  2202. "httpMethod":{
  2203. "shape":"String",
  2204. "location":"uri",
  2205. "locationName":"http_method"
  2206. },
  2207. "statusCode":{
  2208. "shape":"StatusCode",
  2209. "location":"uri",
  2210. "locationName":"status_code"
  2211. }
  2212. }
  2213. },
  2214. "GetModelRequest":{
  2215. "type":"structure",
  2216. "required":[
  2217. "restApiId",
  2218. "modelName"
  2219. ],
  2220. "members":{
  2221. "restApiId":{
  2222. "shape":"String",
  2223. "location":"uri",
  2224. "locationName":"restapi_id"
  2225. },
  2226. "modelName":{
  2227. "shape":"String",
  2228. "location":"uri",
  2229. "locationName":"model_name"
  2230. },
  2231. "flatten":{
  2232. "shape":"Boolean",
  2233. "location":"querystring",
  2234. "locationName":"flatten"
  2235. }
  2236. }
  2237. },
  2238. "GetModelTemplateRequest":{
  2239. "type":"structure",
  2240. "required":[
  2241. "restApiId",
  2242. "modelName"
  2243. ],
  2244. "members":{
  2245. "restApiId":{
  2246. "shape":"String",
  2247. "location":"uri",
  2248. "locationName":"restapi_id"
  2249. },
  2250. "modelName":{
  2251. "shape":"String",
  2252. "location":"uri",
  2253. "locationName":"model_name"
  2254. }
  2255. }
  2256. },
  2257. "GetModelsRequest":{
  2258. "type":"structure",
  2259. "required":["restApiId"],
  2260. "members":{
  2261. "restApiId":{
  2262. "shape":"String",
  2263. "location":"uri",
  2264. "locationName":"restapi_id"
  2265. },
  2266. "position":{
  2267. "shape":"String",
  2268. "location":"querystring",
  2269. "locationName":"position"
  2270. },
  2271. "limit":{
  2272. "shape":"NullableInteger",
  2273. "location":"querystring",
  2274. "locationName":"limit"
  2275. }
  2276. }
  2277. },
  2278. "GetResourceRequest":{
  2279. "type":"structure",
  2280. "required":[
  2281. "restApiId",
  2282. "resourceId"
  2283. ],
  2284. "members":{
  2285. "restApiId":{
  2286. "shape":"String",
  2287. "location":"uri",
  2288. "locationName":"restapi_id"
  2289. },
  2290. "resourceId":{
  2291. "shape":"String",
  2292. "location":"uri",
  2293. "locationName":"resource_id"
  2294. }
  2295. }
  2296. },
  2297. "GetResourcesRequest":{
  2298. "type":"structure",
  2299. "required":["restApiId"],
  2300. "members":{
  2301. "restApiId":{
  2302. "shape":"String",
  2303. "location":"uri",
  2304. "locationName":"restapi_id"
  2305. },
  2306. "position":{
  2307. "shape":"String",
  2308. "location":"querystring",
  2309. "locationName":"position"
  2310. },
  2311. "limit":{
  2312. "shape":"NullableInteger",
  2313. "location":"querystring",
  2314. "locationName":"limit"
  2315. }
  2316. }
  2317. },
  2318. "GetRestApiRequest":{
  2319. "type":"structure",
  2320. "required":["restApiId"],
  2321. "members":{
  2322. "restApiId":{
  2323. "shape":"String",
  2324. "location":"uri",
  2325. "locationName":"restapi_id"
  2326. }
  2327. }
  2328. },
  2329. "GetRestApisRequest":{
  2330. "type":"structure",
  2331. "members":{
  2332. "position":{
  2333. "shape":"String",
  2334. "location":"querystring",
  2335. "locationName":"position"
  2336. },
  2337. "limit":{
  2338. "shape":"NullableInteger",
  2339. "location":"querystring",
  2340. "locationName":"limit"
  2341. }
  2342. }
  2343. },
  2344. "GetSdkRequest":{
  2345. "type":"structure",
  2346. "required":[
  2347. "restApiId",
  2348. "stageName",
  2349. "sdkType"
  2350. ],
  2351. "members":{
  2352. "restApiId":{
  2353. "shape":"String",
  2354. "location":"uri",
  2355. "locationName":"restapi_id"
  2356. },
  2357. "stageName":{
  2358. "shape":"String",
  2359. "location":"uri",
  2360. "locationName":"stage_name"
  2361. },
  2362. "sdkType":{
  2363. "shape":"String",
  2364. "location":"uri",
  2365. "locationName":"sdk_type"
  2366. },
  2367. "parameters":{
  2368. "shape":"MapOfStringToString",
  2369. "location":"querystring"
  2370. }
  2371. }
  2372. },
  2373. "GetStageRequest":{
  2374. "type":"structure",
  2375. "required":[
  2376. "restApiId",
  2377. "stageName"
  2378. ],
  2379. "members":{
  2380. "restApiId":{
  2381. "shape":"String",
  2382. "location":"uri",
  2383. "locationName":"restapi_id"
  2384. },
  2385. "stageName":{
  2386. "shape":"String",
  2387. "location":"uri",
  2388. "locationName":"stage_name"
  2389. }
  2390. }
  2391. },
  2392. "GetStagesRequest":{
  2393. "type":"structure",
  2394. "required":["restApiId"],
  2395. "members":{
  2396. "restApiId":{
  2397. "shape":"String",
  2398. "location":"uri",
  2399. "locationName":"restapi_id"
  2400. },
  2401. "deploymentId":{
  2402. "shape":"String",
  2403. "location":"querystring",
  2404. "locationName":"deploymentId"
  2405. }
  2406. }
  2407. },
  2408. "ImportRestApiRequest":{
  2409. "type":"structure",
  2410. "required":["body"],
  2411. "members":{
  2412. "failOnWarnings":{
  2413. "shape":"Boolean",
  2414. "location":"querystring",
  2415. "locationName":"failonwarnings"
  2416. },
  2417. "parameters":{
  2418. "shape":"MapOfStringToString",
  2419. "location":"querystring"
  2420. },
  2421. "body":{"shape":"Blob"}
  2422. },
  2423. "payload":"body"
  2424. },
  2425. "Integer":{"type":"integer"},
  2426. "Integration":{
  2427. "type":"structure",
  2428. "members":{
  2429. "type":{"shape":"IntegrationType"},
  2430. "httpMethod":{"shape":"String"},
  2431. "uri":{"shape":"String"},
  2432. "credentials":{"shape":"String"},
  2433. "requestParameters":{"shape":"MapOfStringToString"},
  2434. "requestTemplates":{"shape":"MapOfStringToString"},
  2435. "passthroughBehavior":{"shape":"String"},
  2436. "cacheNamespace":{"shape":"String"},
  2437. "cacheKeyParameters":{"shape":"ListOfString"},
  2438. "integrationResponses":{"shape":"MapOfIntegrationResponse"}
  2439. }
  2440. },
  2441. "IntegrationResponse":{
  2442. "type":"structure",
  2443. "members":{
  2444. "statusCode":{"shape":"StatusCode"},
  2445. "selectionPattern":{"shape":"String"},
  2446. "responseParameters":{"shape":"MapOfStringToString"},
  2447. "responseTemplates":{"shape":"MapOfStringToString"}
  2448. }
  2449. },
  2450. "IntegrationType":{
  2451. "type":"string",
  2452. "enum":[
  2453. "HTTP",
  2454. "AWS",
  2455. "MOCK"
  2456. ]
  2457. },
  2458. "LimitExceededException":{
  2459. "type":"structure",
  2460. "members":{
  2461. "retryAfterSeconds":{
  2462. "shape":"String",
  2463. "location":"header",
  2464. "locationName":"Retry-After"
  2465. },
  2466. "message":{"shape":"String"}
  2467. },
  2468. "error":{"httpStatusCode":429},
  2469. "exception":true
  2470. },
  2471. "ListOfARNs":{
  2472. "type":"list",
  2473. "member":{"shape":"ProviderARN"}
  2474. },
  2475. "ListOfApiKey":{
  2476. "type":"list",
  2477. "member":{"shape":"ApiKey"}
  2478. },
  2479. "ListOfAuthorizer":{
  2480. "type":"list",
  2481. "member":{"shape":"Authorizer"}
  2482. },
  2483. "ListOfBasePathMapping":{
  2484. "type":"list",
  2485. "member":{"shape":"BasePathMapping"}
  2486. },
  2487. "ListOfClientCertificate":{
  2488. "type":"list",
  2489. "member":{"shape":"ClientCertificate"}
  2490. },
  2491. "ListOfDeployment":{
  2492. "type":"list",
  2493. "member":{"shape":"Deployment"}
  2494. },
  2495. "ListOfDomainName":{
  2496. "type":"list",
  2497. "member":{"shape":"DomainName"}
  2498. },
  2499. "ListOfModel":{
  2500. "type":"list",
  2501. "member":{"shape":"Model"}
  2502. },
  2503. "ListOfPatchOperation":{
  2504. "type":"list",
  2505. "member":{"shape":"PatchOperation"}
  2506. },
  2507. "ListOfResource":{
  2508. "type":"list",
  2509. "member":{"shape":"Resource"}
  2510. },
  2511. "ListOfRestApi":{
  2512. "type":"list",
  2513. "member":{"shape":"RestApi"}
  2514. },
  2515. "ListOfStage":{
  2516. "type":"list",
  2517. "member":{"shape":"Stage"}
  2518. },
  2519. "ListOfStageKeys":{
  2520. "type":"list",
  2521. "member":{"shape":"StageKey"}
  2522. },
  2523. "ListOfString":{
  2524. "type":"list",
  2525. "member":{"shape":"String"}
  2526. },
  2527. "Long":{"type":"long"},
  2528. "MapOfHeaderValues":{
  2529. "type":"map",
  2530. "key":{"shape":"String"},
  2531. "value":{"shape":"String"}
  2532. },
  2533. "MapOfIntegrationResponse":{
  2534. "type":"map",
  2535. "key":{"shape":"String"},
  2536. "value":{"shape":"IntegrationResponse"}
  2537. },
  2538. "MapOfMethod":{
  2539. "type":"map",
  2540. "key":{"shape":"String"},
  2541. "value":{"shape":"Method"}
  2542. },
  2543. "MapOfMethodResponse":{
  2544. "type":"map",
  2545. "key":{"shape":"String"},
  2546. "value":{"shape":"MethodResponse"}
  2547. },
  2548. "MapOfMethodSettings":{
  2549. "type":"map",
  2550. "key":{"shape":"String"},
  2551. "value":{"shape":"MethodSetting"}
  2552. },
  2553. "MapOfMethodSnapshot":{
  2554. "type":"map",
  2555. "key":{"shape":"String"},
  2556. "value":{"shape":"MethodSnapshot"}
  2557. },
  2558. "MapOfStringToBoolean":{
  2559. "type":"map",
  2560. "key":{"shape":"String"},
  2561. "value":{"shape":"NullableBoolean"}
  2562. },
  2563. "MapOfStringToList":{
  2564. "type":"map",
  2565. "key":{"shape":"String"},
  2566. "value":{"shape":"ListOfString"}
  2567. },
  2568. "MapOfStringToString":{
  2569. "type":"map",
  2570. "key":{"shape":"String"},
  2571. "value":{"shape":"String"}
  2572. },
  2573. "Method":{
  2574. "type":"structure",
  2575. "members":{
  2576. "httpMethod":{"shape":"String"},
  2577. "authorizationType":{"shape":"String"},
  2578. "authorizerId":{"shape":"String"},
  2579. "apiKeyRequired":{"shape":"NullableBoolean"},
  2580. "requestParameters":{"shape":"MapOfStringToBoolean"},
  2581. "requestModels":{"shape":"MapOfStringToString"},
  2582. "methodResponses":{"shape":"MapOfMethodResponse"},
  2583. "methodIntegration":{"shape":"Integration"}
  2584. }
  2585. },
  2586. "MethodResponse":{
  2587. "type":"structure",
  2588. "members":{
  2589. "statusCode":{"shape":"StatusCode"},
  2590. "responseParameters":{"shape":"MapOfStringToBoolean"},
  2591. "responseModels":{"shape":"MapOfStringToString"}
  2592. }
  2593. },
  2594. "MethodSetting":{
  2595. "type":"structure",
  2596. "members":{
  2597. "metricsEnabled":{"shape":"Boolean"},
  2598. "loggingLevel":{"shape":"String"},
  2599. "dataTraceEnabled":{"shape":"Boolean"},
  2600. "throttlingBurstLimit":{"shape":"Integer"},
  2601. "throttlingRateLimit":{"shape":"Double"},
  2602. "cachingEnabled":{"shape":"Boolean"},
  2603. "cacheTtlInSeconds":{"shape":"Integer"},
  2604. "cacheDataEncrypted":{"shape":"Boolean"},
  2605. "requireAuthorizationForCacheControl":{"shape":"Boolean"},
  2606. "unauthorizedCacheControlHeaderStrategy":{"shape":"UnauthorizedCacheControlHeaderStrategy"}
  2607. }
  2608. },
  2609. "MethodSnapshot":{
  2610. "type":"structure",
  2611. "members":{
  2612. "authorizationType":{"shape":"String"},
  2613. "apiKeyRequired":{"shape":"Boolean"}
  2614. }
  2615. },
  2616. "Model":{
  2617. "type":"structure",
  2618. "members":{
  2619. "id":{"shape":"String"},
  2620. "name":{"shape":"String"},
  2621. "description":{"shape":"String"},
  2622. "schema":{"shape":"String"},
  2623. "contentType":{"shape":"String"}
  2624. }
  2625. },
  2626. "Models":{
  2627. "type":"structure",
  2628. "members":{
  2629. "position":{"shape":"String"},
  2630. "items":{
  2631. "shape":"ListOfModel",
  2632. "locationName":"item"
  2633. }
  2634. }
  2635. },
  2636. "NotFoundException":{
  2637. "type":"structure",
  2638. "members":{
  2639. "message":{"shape":"String"}
  2640. },
  2641. "error":{"httpStatusCode":404},
  2642. "exception":true
  2643. },
  2644. "NullableBoolean":{"type":"boolean"},
  2645. "NullableInteger":{"type":"integer"},
  2646. "PatchOperation":{
  2647. "type":"structure",
  2648. "members":{
  2649. "op":{"shape":"op"},
  2650. "path":{"shape":"String"},
  2651. "value":{"shape":"String"},
  2652. "from":{"shape":"String"}
  2653. }
  2654. },
  2655. "PathToMapOfMethodSnapshot":{
  2656. "type":"map",
  2657. "key":{"shape":"String"},
  2658. "value":{"shape":"MapOfMethodSnapshot"}
  2659. },
  2660. "ProviderARN":{"type":"string"},
  2661. "PutIntegrationRequest":{
  2662. "type":"structure",
  2663. "required":[
  2664. "restApiId",
  2665. "resourceId",
  2666. "httpMethod",
  2667. "type"
  2668. ],
  2669. "members":{
  2670. "restApiId":{
  2671. "shape":"String",
  2672. "location":"uri",
  2673. "locationName":"restapi_id"
  2674. },
  2675. "resourceId":{
  2676. "shape":"String",
  2677. "location":"uri",
  2678. "locationName":"resource_id"
  2679. },
  2680. "httpMethod":{
  2681. "shape":"String",
  2682. "location":"uri",
  2683. "locationName":"http_method"
  2684. },
  2685. "type":{"shape":"IntegrationType"},
  2686. "integrationHttpMethod":{
  2687. "shape":"String",
  2688. "locationName":"httpMethod"
  2689. },
  2690. "uri":{"shape":"String"},
  2691. "credentials":{"shape":"String"},
  2692. "requestParameters":{"shape":"MapOfStringToString"},
  2693. "requestTemplates":{"shape":"MapOfStringToString"},
  2694. "passthroughBehavior":{"shape":"String"},
  2695. "cacheNamespace":{"shape":"String"},
  2696. "cacheKeyParameters":{"shape":"ListOfString"}
  2697. }
  2698. },
  2699. "PutIntegrationResponseRequest":{
  2700. "type":"structure",
  2701. "required":[
  2702. "restApiId",
  2703. "resourceId",
  2704. "httpMethod",
  2705. "statusCode"
  2706. ],
  2707. "members":{
  2708. "restApiId":{
  2709. "shape":"String",
  2710. "location":"uri",
  2711. "locationName":"restapi_id"
  2712. },
  2713. "resourceId":{
  2714. "shape":"String",
  2715. "location":"uri",
  2716. "locationName":"resource_id"
  2717. },
  2718. "httpMethod":{
  2719. "shape":"String",
  2720. "location":"uri",
  2721. "locationName":"http_method"
  2722. },
  2723. "statusCode":{
  2724. "shape":"StatusCode",
  2725. "location":"uri",
  2726. "locationName":"status_code"
  2727. },
  2728. "selectionPattern":{"shape":"String"},
  2729. "responseParameters":{"shape":"MapOfStringToString"},
  2730. "responseTemplates":{"shape":"MapOfStringToString"}
  2731. }
  2732. },
  2733. "PutMethodRequest":{
  2734. "type":"structure",
  2735. "required":[
  2736. "restApiId",
  2737. "resourceId",
  2738. "httpMethod",
  2739. "authorizationType"
  2740. ],
  2741. "members":{
  2742. "restApiId":{
  2743. "shape":"String",
  2744. "location":"uri",
  2745. "locationName":"restapi_id"
  2746. },
  2747. "resourceId":{
  2748. "shape":"String",
  2749. "location":"uri",
  2750. "locationName":"resource_id"
  2751. },
  2752. "httpMethod":{
  2753. "shape":"String",
  2754. "location":"uri",
  2755. "locationName":"http_method"
  2756. },
  2757. "authorizationType":{"shape":"String"},
  2758. "authorizerId":{"shape":"String"},
  2759. "apiKeyRequired":{"shape":"Boolean"},
  2760. "requestParameters":{"shape":"MapOfStringToBoolean"},
  2761. "requestModels":{"shape":"MapOfStringToString"}
  2762. }
  2763. },
  2764. "PutMethodResponseRequest":{
  2765. "type":"structure",
  2766. "required":[
  2767. "restApiId",
  2768. "resourceId",
  2769. "httpMethod",
  2770. "statusCode"
  2771. ],
  2772. "members":{
  2773. "restApiId":{
  2774. "shape":"String",
  2775. "location":"uri",
  2776. "locationName":"restapi_id"
  2777. },
  2778. "resourceId":{
  2779. "shape":"String",
  2780. "location":"uri",
  2781. "locationName":"resource_id"
  2782. },
  2783. "httpMethod":{
  2784. "shape":"String",
  2785. "location":"uri",
  2786. "locationName":"http_method"
  2787. },
  2788. "statusCode":{
  2789. "shape":"StatusCode",
  2790. "location":"uri",
  2791. "locationName":"status_code"
  2792. },
  2793. "responseParameters":{"shape":"MapOfStringToBoolean"},
  2794. "responseModels":{"shape":"MapOfStringToString"}
  2795. }
  2796. },
  2797. "PutMode":{
  2798. "type":"string",
  2799. "enum":[
  2800. "merge",
  2801. "overwrite"
  2802. ]
  2803. },
  2804. "PutRestApiRequest":{
  2805. "type":"structure",
  2806. "required":[
  2807. "restApiId",
  2808. "body"
  2809. ],
  2810. "members":{
  2811. "restApiId":{
  2812. "shape":"String",
  2813. "location":"uri",
  2814. "locationName":"restapi_id"
  2815. },
  2816. "mode":{
  2817. "shape":"PutMode",
  2818. "location":"querystring",
  2819. "locationName":"mode"
  2820. },
  2821. "failOnWarnings":{
  2822. "shape":"Boolean",
  2823. "location":"querystring",
  2824. "locationName":"failonwarnings"
  2825. },
  2826. "parameters":{
  2827. "shape":"MapOfStringToString",
  2828. "location":"querystring"
  2829. },
  2830. "body":{"shape":"Blob"}
  2831. },
  2832. "payload":"body"
  2833. },
  2834. "Resource":{
  2835. "type":"structure",
  2836. "members":{
  2837. "id":{"shape":"String"},
  2838. "parentId":{"shape":"String"},
  2839. "pathPart":{"shape":"String"},
  2840. "path":{"shape":"String"},
  2841. "resourceMethods":{"shape":"MapOfMethod"}
  2842. }
  2843. },
  2844. "Resources":{
  2845. "type":"structure",
  2846. "members":{
  2847. "position":{"shape":"String"},
  2848. "items":{
  2849. "shape":"ListOfResource",
  2850. "locationName":"item"
  2851. }
  2852. }
  2853. },
  2854. "RestApi":{
  2855. "type":"structure",
  2856. "members":{
  2857. "id":{"shape":"String"},
  2858. "name":{"shape":"String"},
  2859. "description":{"shape":"String"},
  2860. "createdDate":{"shape":"Timestamp"},
  2861. "warnings":{"shape":"ListOfString"}
  2862. }
  2863. },
  2864. "RestApis":{
  2865. "type":"structure",
  2866. "members":{
  2867. "position":{"shape":"String"},
  2868. "items":{
  2869. "shape":"ListOfRestApi",
  2870. "locationName":"item"
  2871. }
  2872. }
  2873. },
  2874. "SdkResponse":{
  2875. "type":"structure",
  2876. "members":{
  2877. "contentType":{
  2878. "shape":"String",
  2879. "location":"header",
  2880. "locationName":"Content-Type"
  2881. },
  2882. "contentDisposition":{
  2883. "shape":"String",
  2884. "location":"header",
  2885. "locationName":"Content-Disposition"
  2886. },
  2887. "body":{"shape":"Blob"}
  2888. },
  2889. "payload":"body"
  2890. },
  2891. "ServiceUnavailableException":{
  2892. "type":"structure",
  2893. "members":{
  2894. "retryAfterSeconds":{
  2895. "shape":"String",
  2896. "location":"header",
  2897. "locationName":"Retry-After"
  2898. },
  2899. "message":{"shape":"String"}
  2900. },
  2901. "error":{"httpStatusCode":503},
  2902. "exception":true,
  2903. "fault":true
  2904. },
  2905. "Stage":{
  2906. "type":"structure",
  2907. "members":{
  2908. "deploymentId":{"shape":"String"},
  2909. "clientCertificateId":{"shape":"String"},
  2910. "stageName":{"shape":"String"},
  2911. "description":{"shape":"String"},
  2912. "cacheClusterEnabled":{"shape":"Boolean"},
  2913. "cacheClusterSize":{"shape":"CacheClusterSize"},
  2914. "cacheClusterStatus":{"shape":"CacheClusterStatus"},
  2915. "methodSettings":{"shape":"MapOfMethodSettings"},
  2916. "variables":{"shape":"MapOfStringToString"},
  2917. "createdDate":{"shape":"Timestamp"},
  2918. "lastUpdatedDate":{"shape":"Timestamp"}
  2919. }
  2920. },
  2921. "StageKey":{
  2922. "type":"structure",
  2923. "members":{
  2924. "restApiId":{"shape":"String"},
  2925. "stageName":{"shape":"String"}
  2926. }
  2927. },
  2928. "Stages":{
  2929. "type":"structure",
  2930. "members":{
  2931. "item":{"shape":"ListOfStage"}
  2932. }
  2933. },
  2934. "StatusCode":{
  2935. "type":"string",
  2936. "pattern":"[1-5]\\d\\d"
  2937. },
  2938. "String":{"type":"string"},
  2939. "Template":{
  2940. "type":"structure",
  2941. "members":{
  2942. "value":{"shape":"String"}
  2943. }
  2944. },
  2945. "TestInvokeAuthorizerRequest":{
  2946. "type":"structure",
  2947. "required":[
  2948. "restApiId",
  2949. "authorizerId"
  2950. ],
  2951. "members":{
  2952. "restApiId":{
  2953. "shape":"String",
  2954. "location":"uri",
  2955. "locationName":"restapi_id"
  2956. },
  2957. "authorizerId":{
  2958. "shape":"String",
  2959. "location":"uri",
  2960. "locationName":"authorizer_id"
  2961. },
  2962. "headers":{"shape":"MapOfHeaderValues"},
  2963. "pathWithQueryString":{"shape":"String"},
  2964. "body":{"shape":"String"},
  2965. "stageVariables":{"shape":"MapOfStringToString"},
  2966. "additionalContext":{"shape":"MapOfStringToString"}
  2967. }
  2968. },
  2969. "TestInvokeAuthorizerResponse":{
  2970. "type":"structure",
  2971. "members":{
  2972. "clientStatus":{"shape":"Integer"},
  2973. "log":{"shape":"String"},
  2974. "latency":{"shape":"Long"},
  2975. "principalId":{"shape":"String"},
  2976. "policy":{"shape":"String"},
  2977. "authorization":{"shape":"MapOfStringToList"},
  2978. "claims":{"shape":"MapOfStringToString"}
  2979. }
  2980. },
  2981. "TestInvokeMethodRequest":{
  2982. "type":"structure",
  2983. "required":[
  2984. "restApiId",
  2985. "resourceId",
  2986. "httpMethod"
  2987. ],
  2988. "members":{
  2989. "restApiId":{
  2990. "shape":"String",
  2991. "location":"uri",
  2992. "locationName":"restapi_id"
  2993. },
  2994. "resourceId":{
  2995. "shape":"String",
  2996. "location":"uri",
  2997. "locationName":"resource_id"
  2998. },
  2999. "httpMethod":{
  3000. "shape":"String",
  3001. "location":"uri",
  3002. "locationName":"http_method"
  3003. },
  3004. "pathWithQueryString":{"shape":"String"},
  3005. "body":{"shape":"String"},
  3006. "headers":{"shape":"MapOfHeaderValues"},
  3007. "clientCertificateId":{"shape":"String"},
  3008. "stageVariables":{"shape":"MapOfStringToString"}
  3009. }
  3010. },
  3011. "TestInvokeMethodResponse":{
  3012. "type":"structure",
  3013. "members":{
  3014. "status":{"shape":"Integer"},
  3015. "body":{"shape":"String"},
  3016. "headers":{"shape":"MapOfHeaderValues"},
  3017. "log":{"shape":"String"},
  3018. "latency":{"shape":"Long"}
  3019. }
  3020. },
  3021. "ThrottleSettings":{
  3022. "type":"structure",
  3023. "members":{
  3024. "burstLimit":{"shape":"Integer"},
  3025. "rateLimit":{"shape":"Double"}
  3026. }
  3027. },
  3028. "Timestamp":{"type":"timestamp"},
  3029. "TooManyRequestsException":{
  3030. "type":"structure",
  3031. "members":{
  3032. "retryAfterSeconds":{
  3033. "shape":"String",
  3034. "location":"header",
  3035. "locationName":"Retry-After"
  3036. },
  3037. "message":{"shape":"String"}
  3038. },
  3039. "error":{"httpStatusCode":429},
  3040. "exception":true
  3041. },
  3042. "UnauthorizedCacheControlHeaderStrategy":{
  3043. "type":"string",
  3044. "enum":[
  3045. "FAIL_WITH_403",
  3046. "SUCCEED_WITH_RESPONSE_HEADER",
  3047. "SUCCEED_WITHOUT_RESPONSE_HEADER"
  3048. ]
  3049. },
  3050. "UnauthorizedException":{
  3051. "type":"structure",
  3052. "members":{
  3053. "message":{"shape":"String"}
  3054. },
  3055. "error":{"httpStatusCode":401},
  3056. "exception":true
  3057. },
  3058. "UpdateAccountRequest":{
  3059. "type":"structure",
  3060. "members":{
  3061. "patchOperations":{"shape":"ListOfPatchOperation"}
  3062. }
  3063. },
  3064. "UpdateApiKeyRequest":{
  3065. "type":"structure",
  3066. "required":["apiKey"],
  3067. "members":{
  3068. "apiKey":{
  3069. "shape":"String",
  3070. "location":"uri",
  3071. "locationName":"api_Key"
  3072. },
  3073. "patchOperations":{"shape":"ListOfPatchOperation"}
  3074. }
  3075. },
  3076. "UpdateAuthorizerRequest":{
  3077. "type":"structure",
  3078. "required":[
  3079. "restApiId",
  3080. "authorizerId"
  3081. ],
  3082. "members":{
  3083. "restApiId":{
  3084. "shape":"String",
  3085. "location":"uri",
  3086. "locationName":"restapi_id"
  3087. },
  3088. "authorizerId":{
  3089. "shape":"String",
  3090. "location":"uri",
  3091. "locationName":"authorizer_id"
  3092. },
  3093. "patchOperations":{"shape":"ListOfPatchOperation"}
  3094. }
  3095. },
  3096. "UpdateBasePathMappingRequest":{
  3097. "type":"structure",
  3098. "required":[
  3099. "domainName",
  3100. "basePath"
  3101. ],
  3102. "members":{
  3103. "domainName":{
  3104. "shape":"String",
  3105. "location":"uri",
  3106. "locationName":"domain_name"
  3107. },
  3108. "basePath":{
  3109. "shape":"String",
  3110. "location":"uri",
  3111. "locationName":"base_path"
  3112. },
  3113. "patchOperations":{"shape":"ListOfPatchOperation"}
  3114. }
  3115. },
  3116. "UpdateClientCertificateRequest":{
  3117. "type":"structure",
  3118. "required":["clientCertificateId"],
  3119. "members":{
  3120. "clientCertificateId":{
  3121. "shape":"String",
  3122. "location":"uri",
  3123. "locationName":"clientcertificate_id"
  3124. },
  3125. "patchOperations":{"shape":"ListOfPatchOperation"}
  3126. }
  3127. },
  3128. "UpdateDeploymentRequest":{
  3129. "type":"structure",
  3130. "required":[
  3131. "restApiId",
  3132. "deploymentId"
  3133. ],
  3134. "members":{
  3135. "restApiId":{
  3136. "shape":"String",
  3137. "location":"uri",
  3138. "locationName":"restapi_id"
  3139. },
  3140. "deploymentId":{
  3141. "shape":"String",
  3142. "location":"uri",
  3143. "locationName":"deployment_id"
  3144. },
  3145. "patchOperations":{"shape":"ListOfPatchOperation"}
  3146. }
  3147. },
  3148. "UpdateDomainNameRequest":{
  3149. "type":"structure",
  3150. "required":["domainName"],
  3151. "members":{
  3152. "domainName":{
  3153. "shape":"String",
  3154. "location":"uri",
  3155. "locationName":"domain_name"
  3156. },
  3157. "patchOperations":{"shape":"ListOfPatchOperation"}
  3158. }
  3159. },
  3160. "UpdateIntegrationRequest":{
  3161. "type":"structure",
  3162. "required":[
  3163. "restApiId",
  3164. "resourceId",
  3165. "httpMethod"
  3166. ],
  3167. "members":{
  3168. "restApiId":{
  3169. "shape":"String",
  3170. "location":"uri",
  3171. "locationName":"restapi_id"
  3172. },
  3173. "resourceId":{
  3174. "shape":"String",
  3175. "location":"uri",
  3176. "locationName":"resource_id"
  3177. },
  3178. "httpMethod":{
  3179. "shape":"String",
  3180. "location":"uri",
  3181. "locationName":"http_method"
  3182. },
  3183. "patchOperations":{"shape":"ListOfPatchOperation"}
  3184. }
  3185. },
  3186. "UpdateIntegrationResponseRequest":{
  3187. "type":"structure",
  3188. "required":[
  3189. "restApiId",
  3190. "resourceId",
  3191. "httpMethod",
  3192. "statusCode"
  3193. ],
  3194. "members":{
  3195. "restApiId":{
  3196. "shape":"String",
  3197. "location":"uri",
  3198. "locationName":"restapi_id"
  3199. },
  3200. "resourceId":{
  3201. "shape":"String",
  3202. "location":"uri",
  3203. "locationName":"resource_id"
  3204. },
  3205. "httpMethod":{
  3206. "shape":"String",
  3207. "location":"uri",
  3208. "locationName":"http_method"
  3209. },
  3210. "statusCode":{
  3211. "shape":"StatusCode",
  3212. "location":"uri",
  3213. "locationName":"status_code"
  3214. },
  3215. "patchOperations":{"shape":"ListOfPatchOperation"}
  3216. }
  3217. },
  3218. "UpdateMethodRequest":{
  3219. "type":"structure",
  3220. "required":[
  3221. "restApiId",
  3222. "resourceId",
  3223. "httpMethod"
  3224. ],
  3225. "members":{
  3226. "restApiId":{
  3227. "shape":"String",
  3228. "location":"uri",
  3229. "locationName":"restapi_id"
  3230. },
  3231. "resourceId":{
  3232. "shape":"String",
  3233. "location":"uri",
  3234. "locationName":"resource_id"
  3235. },
  3236. "httpMethod":{
  3237. "shape":"String",
  3238. "location":"uri",
  3239. "locationName":"http_method"
  3240. },
  3241. "patchOperations":{"shape":"ListOfPatchOperation"}
  3242. }
  3243. },
  3244. "UpdateMethodResponseRequest":{
  3245. "type":"structure",
  3246. "required":[
  3247. "restApiId",
  3248. "resourceId",
  3249. "httpMethod",
  3250. "statusCode"
  3251. ],
  3252. "members":{
  3253. "restApiId":{
  3254. "shape":"String",
  3255. "location":"uri",
  3256. "locationName":"restapi_id"
  3257. },
  3258. "resourceId":{
  3259. "shape":"String",
  3260. "location":"uri",
  3261. "locationName":"resource_id"
  3262. },
  3263. "httpMethod":{
  3264. "shape":"String",
  3265. "location":"uri",
  3266. "locationName":"http_method"
  3267. },
  3268. "statusCode":{
  3269. "shape":"StatusCode",
  3270. "location":"uri",
  3271. "locationName":"status_code"
  3272. },
  3273. "patchOperations":{"shape":"ListOfPatchOperation"}
  3274. }
  3275. },
  3276. "UpdateModelRequest":{
  3277. "type":"structure",
  3278. "required":[
  3279. "restApiId",
  3280. "modelName"
  3281. ],
  3282. "members":{
  3283. "restApiId":{
  3284. "shape":"String",
  3285. "location":"uri",
  3286. "locationName":"restapi_id"
  3287. },
  3288. "modelName":{
  3289. "shape":"String",
  3290. "location":"uri",
  3291. "locationName":"model_name"
  3292. },
  3293. "patchOperations":{"shape":"ListOfPatchOperation"}
  3294. }
  3295. },
  3296. "UpdateResourceRequest":{
  3297. "type":"structure",
  3298. "required":[
  3299. "restApiId",
  3300. "resourceId"
  3301. ],
  3302. "members":{
  3303. "restApiId":{
  3304. "shape":"String",
  3305. "location":"uri",
  3306. "locationName":"restapi_id"
  3307. },
  3308. "resourceId":{
  3309. "shape":"String",
  3310. "location":"uri",
  3311. "locationName":"resource_id"
  3312. },
  3313. "patchOperations":{"shape":"ListOfPatchOperation"}
  3314. }
  3315. },
  3316. "UpdateRestApiRequest":{
  3317. "type":"structure",
  3318. "required":["restApiId"],
  3319. "members":{
  3320. "restApiId":{
  3321. "shape":"String",
  3322. "location":"uri",
  3323. "locationName":"restapi_id"
  3324. },
  3325. "patchOperations":{"shape":"ListOfPatchOperation"}
  3326. }
  3327. },
  3328. "UpdateStageRequest":{
  3329. "type":"structure",
  3330. "required":[
  3331. "restApiId",
  3332. "stageName"
  3333. ],
  3334. "members":{
  3335. "restApiId":{
  3336. "shape":"String",
  3337. "location":"uri",
  3338. "locationName":"restapi_id"
  3339. },
  3340. "stageName":{
  3341. "shape":"String",
  3342. "location":"uri",
  3343. "locationName":"stage_name"
  3344. },
  3345. "patchOperations":{"shape":"ListOfPatchOperation"}
  3346. }
  3347. },
  3348. "op":{
  3349. "type":"string",
  3350. "enum":[
  3351. "add",
  3352. "remove",
  3353. "replace",
  3354. "move",
  3355. "copy",
  3356. "test"
  3357. ]
  3358. }
  3359. }
  3360. }