api-2.json 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2015-03-31",
  5. "endpointPrefix":"lambda",
  6. "protocol":"rest-json",
  7. "serviceFullName":"AWS Lambda",
  8. "serviceId":"Lambda",
  9. "signatureVersion":"v4",
  10. "uid":"lambda-2015-03-31"
  11. },
  12. "operations":{
  13. "AddLayerVersionPermission":{
  14. "name":"AddLayerVersionPermission",
  15. "http":{
  16. "method":"POST",
  17. "requestUri":"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy",
  18. "responseCode":201
  19. },
  20. "input":{"shape":"AddLayerVersionPermissionRequest"},
  21. "output":{"shape":"AddLayerVersionPermissionResponse"},
  22. "errors":[
  23. {"shape":"ServiceException"},
  24. {"shape":"ResourceNotFoundException"},
  25. {"shape":"ResourceConflictException"},
  26. {"shape":"TooManyRequestsException"},
  27. {"shape":"InvalidParameterValueException"},
  28. {"shape":"PolicyLengthExceededException"},
  29. {"shape":"PreconditionFailedException"}
  30. ]
  31. },
  32. "AddPermission":{
  33. "name":"AddPermission",
  34. "http":{
  35. "method":"POST",
  36. "requestUri":"/2015-03-31/functions/{FunctionName}/policy",
  37. "responseCode":201
  38. },
  39. "input":{"shape":"AddPermissionRequest"},
  40. "output":{"shape":"AddPermissionResponse"},
  41. "errors":[
  42. {"shape":"ServiceException"},
  43. {"shape":"ResourceNotFoundException"},
  44. {"shape":"ResourceConflictException"},
  45. {"shape":"InvalidParameterValueException"},
  46. {"shape":"PolicyLengthExceededException"},
  47. {"shape":"TooManyRequestsException"},
  48. {"shape":"PreconditionFailedException"}
  49. ]
  50. },
  51. "CreateAlias":{
  52. "name":"CreateAlias",
  53. "http":{
  54. "method":"POST",
  55. "requestUri":"/2015-03-31/functions/{FunctionName}/aliases",
  56. "responseCode":201
  57. },
  58. "input":{"shape":"CreateAliasRequest"},
  59. "output":{"shape":"AliasConfiguration"},
  60. "errors":[
  61. {"shape":"ServiceException"},
  62. {"shape":"ResourceNotFoundException"},
  63. {"shape":"ResourceConflictException"},
  64. {"shape":"InvalidParameterValueException"},
  65. {"shape":"TooManyRequestsException"}
  66. ]
  67. },
  68. "CreateEventSourceMapping":{
  69. "name":"CreateEventSourceMapping",
  70. "http":{
  71. "method":"POST",
  72. "requestUri":"/2015-03-31/event-source-mappings/",
  73. "responseCode":202
  74. },
  75. "input":{"shape":"CreateEventSourceMappingRequest"},
  76. "output":{"shape":"EventSourceMappingConfiguration"},
  77. "errors":[
  78. {"shape":"ServiceException"},
  79. {"shape":"InvalidParameterValueException"},
  80. {"shape":"ResourceConflictException"},
  81. {"shape":"TooManyRequestsException"},
  82. {"shape":"ResourceNotFoundException"}
  83. ]
  84. },
  85. "CreateFunction":{
  86. "name":"CreateFunction",
  87. "http":{
  88. "method":"POST",
  89. "requestUri":"/2015-03-31/functions",
  90. "responseCode":201
  91. },
  92. "input":{"shape":"CreateFunctionRequest"},
  93. "output":{"shape":"FunctionConfiguration"},
  94. "errors":[
  95. {"shape":"ServiceException"},
  96. {"shape":"InvalidParameterValueException"},
  97. {"shape":"ResourceNotFoundException"},
  98. {"shape":"ResourceConflictException"},
  99. {"shape":"TooManyRequestsException"},
  100. {"shape":"CodeStorageExceededException"}
  101. ]
  102. },
  103. "DeleteAlias":{
  104. "name":"DeleteAlias",
  105. "http":{
  106. "method":"DELETE",
  107. "requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
  108. "responseCode":204
  109. },
  110. "input":{"shape":"DeleteAliasRequest"},
  111. "errors":[
  112. {"shape":"ServiceException"},
  113. {"shape":"InvalidParameterValueException"},
  114. {"shape":"TooManyRequestsException"}
  115. ]
  116. },
  117. "DeleteEventSourceMapping":{
  118. "name":"DeleteEventSourceMapping",
  119. "http":{
  120. "method":"DELETE",
  121. "requestUri":"/2015-03-31/event-source-mappings/{UUID}",
  122. "responseCode":202
  123. },
  124. "input":{"shape":"DeleteEventSourceMappingRequest"},
  125. "output":{"shape":"EventSourceMappingConfiguration"},
  126. "errors":[
  127. {"shape":"ServiceException"},
  128. {"shape":"ResourceNotFoundException"},
  129. {"shape":"InvalidParameterValueException"},
  130. {"shape":"TooManyRequestsException"},
  131. {"shape":"ResourceInUseException"}
  132. ]
  133. },
  134. "DeleteFunction":{
  135. "name":"DeleteFunction",
  136. "http":{
  137. "method":"DELETE",
  138. "requestUri":"/2015-03-31/functions/{FunctionName}",
  139. "responseCode":204
  140. },
  141. "input":{"shape":"DeleteFunctionRequest"},
  142. "errors":[
  143. {"shape":"ServiceException"},
  144. {"shape":"ResourceNotFoundException"},
  145. {"shape":"TooManyRequestsException"},
  146. {"shape":"InvalidParameterValueException"},
  147. {"shape":"ResourceConflictException"}
  148. ]
  149. },
  150. "DeleteFunctionConcurrency":{
  151. "name":"DeleteFunctionConcurrency",
  152. "http":{
  153. "method":"DELETE",
  154. "requestUri":"/2017-10-31/functions/{FunctionName}/concurrency",
  155. "responseCode":204
  156. },
  157. "input":{"shape":"DeleteFunctionConcurrencyRequest"},
  158. "errors":[
  159. {"shape":"ServiceException"},
  160. {"shape":"ResourceNotFoundException"},
  161. {"shape":"TooManyRequestsException"},
  162. {"shape":"InvalidParameterValueException"}
  163. ]
  164. },
  165. "DeleteLayerVersion":{
  166. "name":"DeleteLayerVersion",
  167. "http":{
  168. "method":"DELETE",
  169. "requestUri":"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}",
  170. "responseCode":204
  171. },
  172. "input":{"shape":"DeleteLayerVersionRequest"},
  173. "errors":[
  174. {"shape":"ServiceException"},
  175. {"shape":"TooManyRequestsException"}
  176. ]
  177. },
  178. "GetAccountSettings":{
  179. "name":"GetAccountSettings",
  180. "http":{
  181. "method":"GET",
  182. "requestUri":"/2016-08-19/account-settings/",
  183. "responseCode":200
  184. },
  185. "input":{"shape":"GetAccountSettingsRequest"},
  186. "output":{"shape":"GetAccountSettingsResponse"},
  187. "errors":[
  188. {"shape":"TooManyRequestsException"},
  189. {"shape":"ServiceException"}
  190. ]
  191. },
  192. "GetAlias":{
  193. "name":"GetAlias",
  194. "http":{
  195. "method":"GET",
  196. "requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
  197. "responseCode":200
  198. },
  199. "input":{"shape":"GetAliasRequest"},
  200. "output":{"shape":"AliasConfiguration"},
  201. "errors":[
  202. {"shape":"ServiceException"},
  203. {"shape":"ResourceNotFoundException"},
  204. {"shape":"InvalidParameterValueException"},
  205. {"shape":"TooManyRequestsException"}
  206. ]
  207. },
  208. "GetEventSourceMapping":{
  209. "name":"GetEventSourceMapping",
  210. "http":{
  211. "method":"GET",
  212. "requestUri":"/2015-03-31/event-source-mappings/{UUID}",
  213. "responseCode":200
  214. },
  215. "input":{"shape":"GetEventSourceMappingRequest"},
  216. "output":{"shape":"EventSourceMappingConfiguration"},
  217. "errors":[
  218. {"shape":"ServiceException"},
  219. {"shape":"ResourceNotFoundException"},
  220. {"shape":"InvalidParameterValueException"},
  221. {"shape":"TooManyRequestsException"}
  222. ]
  223. },
  224. "GetFunction":{
  225. "name":"GetFunction",
  226. "http":{
  227. "method":"GET",
  228. "requestUri":"/2015-03-31/functions/{FunctionName}",
  229. "responseCode":200
  230. },
  231. "input":{"shape":"GetFunctionRequest"},
  232. "output":{"shape":"GetFunctionResponse"},
  233. "errors":[
  234. {"shape":"ServiceException"},
  235. {"shape":"ResourceNotFoundException"},
  236. {"shape":"TooManyRequestsException"},
  237. {"shape":"InvalidParameterValueException"}
  238. ]
  239. },
  240. "GetFunctionConfiguration":{
  241. "name":"GetFunctionConfiguration",
  242. "http":{
  243. "method":"GET",
  244. "requestUri":"/2015-03-31/functions/{FunctionName}/configuration",
  245. "responseCode":200
  246. },
  247. "input":{"shape":"GetFunctionConfigurationRequest"},
  248. "output":{"shape":"FunctionConfiguration"},
  249. "errors":[
  250. {"shape":"ServiceException"},
  251. {"shape":"ResourceNotFoundException"},
  252. {"shape":"TooManyRequestsException"},
  253. {"shape":"InvalidParameterValueException"}
  254. ]
  255. },
  256. "GetLayerVersion":{
  257. "name":"GetLayerVersion",
  258. "http":{
  259. "method":"GET",
  260. "requestUri":"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}",
  261. "responseCode":200
  262. },
  263. "input":{"shape":"GetLayerVersionRequest"},
  264. "output":{"shape":"GetLayerVersionResponse"},
  265. "errors":[
  266. {"shape":"ServiceException"},
  267. {"shape":"InvalidParameterValueException"},
  268. {"shape":"TooManyRequestsException"},
  269. {"shape":"ResourceNotFoundException"}
  270. ]
  271. },
  272. "GetLayerVersionPolicy":{
  273. "name":"GetLayerVersionPolicy",
  274. "http":{
  275. "method":"GET",
  276. "requestUri":"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy",
  277. "responseCode":200
  278. },
  279. "input":{"shape":"GetLayerVersionPolicyRequest"},
  280. "output":{"shape":"GetLayerVersionPolicyResponse"},
  281. "errors":[
  282. {"shape":"ServiceException"},
  283. {"shape":"ResourceNotFoundException"},
  284. {"shape":"TooManyRequestsException"},
  285. {"shape":"InvalidParameterValueException"}
  286. ]
  287. },
  288. "GetPolicy":{
  289. "name":"GetPolicy",
  290. "http":{
  291. "method":"GET",
  292. "requestUri":"/2015-03-31/functions/{FunctionName}/policy",
  293. "responseCode":200
  294. },
  295. "input":{"shape":"GetPolicyRequest"},
  296. "output":{"shape":"GetPolicyResponse"},
  297. "errors":[
  298. {"shape":"ServiceException"},
  299. {"shape":"ResourceNotFoundException"},
  300. {"shape":"TooManyRequestsException"},
  301. {"shape":"InvalidParameterValueException"}
  302. ]
  303. },
  304. "Invoke":{
  305. "name":"Invoke",
  306. "http":{
  307. "method":"POST",
  308. "requestUri":"/2015-03-31/functions/{FunctionName}/invocations"
  309. },
  310. "input":{"shape":"InvocationRequest"},
  311. "output":{"shape":"InvocationResponse"},
  312. "errors":[
  313. {"shape":"ServiceException"},
  314. {"shape":"ResourceNotFoundException"},
  315. {"shape":"InvalidRequestContentException"},
  316. {"shape":"RequestTooLargeException"},
  317. {"shape":"UnsupportedMediaTypeException"},
  318. {"shape":"TooManyRequestsException"},
  319. {"shape":"InvalidParameterValueException"},
  320. {"shape":"EC2UnexpectedException"},
  321. {"shape":"SubnetIPAddressLimitReachedException"},
  322. {"shape":"ENILimitReachedException"},
  323. {"shape":"EC2ThrottledException"},
  324. {"shape":"EC2AccessDeniedException"},
  325. {"shape":"InvalidSubnetIDException"},
  326. {"shape":"InvalidSecurityGroupIDException"},
  327. {"shape":"InvalidZipFileException"},
  328. {"shape":"KMSDisabledException"},
  329. {"shape":"KMSInvalidStateException"},
  330. {"shape":"KMSAccessDeniedException"},
  331. {"shape":"KMSNotFoundException"},
  332. {"shape":"InvalidRuntimeException"}
  333. ]
  334. },
  335. "InvokeAsync":{
  336. "name":"InvokeAsync",
  337. "http":{
  338. "method":"POST",
  339. "requestUri":"/2014-11-13/functions/{FunctionName}/invoke-async/",
  340. "responseCode":202
  341. },
  342. "input":{"shape":"InvokeAsyncRequest"},
  343. "output":{"shape":"InvokeAsyncResponse"},
  344. "errors":[
  345. {"shape":"ServiceException"},
  346. {"shape":"ResourceNotFoundException"},
  347. {"shape":"InvalidRequestContentException"},
  348. {"shape":"InvalidRuntimeException"}
  349. ],
  350. "deprecated":true
  351. },
  352. "ListAliases":{
  353. "name":"ListAliases",
  354. "http":{
  355. "method":"GET",
  356. "requestUri":"/2015-03-31/functions/{FunctionName}/aliases",
  357. "responseCode":200
  358. },
  359. "input":{"shape":"ListAliasesRequest"},
  360. "output":{"shape":"ListAliasesResponse"},
  361. "errors":[
  362. {"shape":"ServiceException"},
  363. {"shape":"ResourceNotFoundException"},
  364. {"shape":"InvalidParameterValueException"},
  365. {"shape":"TooManyRequestsException"}
  366. ]
  367. },
  368. "ListEventSourceMappings":{
  369. "name":"ListEventSourceMappings",
  370. "http":{
  371. "method":"GET",
  372. "requestUri":"/2015-03-31/event-source-mappings/",
  373. "responseCode":200
  374. },
  375. "input":{"shape":"ListEventSourceMappingsRequest"},
  376. "output":{"shape":"ListEventSourceMappingsResponse"},
  377. "errors":[
  378. {"shape":"ServiceException"},
  379. {"shape":"ResourceNotFoundException"},
  380. {"shape":"InvalidParameterValueException"},
  381. {"shape":"TooManyRequestsException"}
  382. ]
  383. },
  384. "ListFunctions":{
  385. "name":"ListFunctions",
  386. "http":{
  387. "method":"GET",
  388. "requestUri":"/2015-03-31/functions/",
  389. "responseCode":200
  390. },
  391. "input":{"shape":"ListFunctionsRequest"},
  392. "output":{"shape":"ListFunctionsResponse"},
  393. "errors":[
  394. {"shape":"ServiceException"},
  395. {"shape":"TooManyRequestsException"},
  396. {"shape":"InvalidParameterValueException"}
  397. ]
  398. },
  399. "ListLayerVersions":{
  400. "name":"ListLayerVersions",
  401. "http":{
  402. "method":"GET",
  403. "requestUri":"/2018-10-31/layers/{LayerName}/versions",
  404. "responseCode":200
  405. },
  406. "input":{"shape":"ListLayerVersionsRequest"},
  407. "output":{"shape":"ListLayerVersionsResponse"},
  408. "errors":[
  409. {"shape":"ServiceException"},
  410. {"shape":"InvalidParameterValueException"},
  411. {"shape":"ResourceNotFoundException"},
  412. {"shape":"TooManyRequestsException"}
  413. ]
  414. },
  415. "ListLayers":{
  416. "name":"ListLayers",
  417. "http":{
  418. "method":"GET",
  419. "requestUri":"/2018-10-31/layers",
  420. "responseCode":200
  421. },
  422. "input":{"shape":"ListLayersRequest"},
  423. "output":{"shape":"ListLayersResponse"},
  424. "errors":[
  425. {"shape":"ServiceException"},
  426. {"shape":"InvalidParameterValueException"},
  427. {"shape":"TooManyRequestsException"}
  428. ]
  429. },
  430. "ListTags":{
  431. "name":"ListTags",
  432. "http":{
  433. "method":"GET",
  434. "requestUri":"/2017-03-31/tags/{ARN}"
  435. },
  436. "input":{"shape":"ListTagsRequest"},
  437. "output":{"shape":"ListTagsResponse"},
  438. "errors":[
  439. {"shape":"ServiceException"},
  440. {"shape":"ResourceNotFoundException"},
  441. {"shape":"InvalidParameterValueException"},
  442. {"shape":"TooManyRequestsException"}
  443. ]
  444. },
  445. "ListVersionsByFunction":{
  446. "name":"ListVersionsByFunction",
  447. "http":{
  448. "method":"GET",
  449. "requestUri":"/2015-03-31/functions/{FunctionName}/versions",
  450. "responseCode":200
  451. },
  452. "input":{"shape":"ListVersionsByFunctionRequest"},
  453. "output":{"shape":"ListVersionsByFunctionResponse"},
  454. "errors":[
  455. {"shape":"ServiceException"},
  456. {"shape":"ResourceNotFoundException"},
  457. {"shape":"InvalidParameterValueException"},
  458. {"shape":"TooManyRequestsException"}
  459. ]
  460. },
  461. "PublishLayerVersion":{
  462. "name":"PublishLayerVersion",
  463. "http":{
  464. "method":"POST",
  465. "requestUri":"/2018-10-31/layers/{LayerName}/versions",
  466. "responseCode":201
  467. },
  468. "input":{"shape":"PublishLayerVersionRequest"},
  469. "output":{"shape":"PublishLayerVersionResponse"},
  470. "errors":[
  471. {"shape":"ServiceException"},
  472. {"shape":"ResourceNotFoundException"},
  473. {"shape":"TooManyRequestsException"},
  474. {"shape":"InvalidParameterValueException"},
  475. {"shape":"CodeStorageExceededException"}
  476. ]
  477. },
  478. "PublishVersion":{
  479. "name":"PublishVersion",
  480. "http":{
  481. "method":"POST",
  482. "requestUri":"/2015-03-31/functions/{FunctionName}/versions",
  483. "responseCode":201
  484. },
  485. "input":{"shape":"PublishVersionRequest"},
  486. "output":{"shape":"FunctionConfiguration"},
  487. "errors":[
  488. {"shape":"ServiceException"},
  489. {"shape":"ResourceNotFoundException"},
  490. {"shape":"InvalidParameterValueException"},
  491. {"shape":"TooManyRequestsException"},
  492. {"shape":"CodeStorageExceededException"},
  493. {"shape":"PreconditionFailedException"}
  494. ]
  495. },
  496. "PutFunctionConcurrency":{
  497. "name":"PutFunctionConcurrency",
  498. "http":{
  499. "method":"PUT",
  500. "requestUri":"/2017-10-31/functions/{FunctionName}/concurrency",
  501. "responseCode":200
  502. },
  503. "input":{"shape":"PutFunctionConcurrencyRequest"},
  504. "output":{"shape":"Concurrency"},
  505. "errors":[
  506. {"shape":"ServiceException"},
  507. {"shape":"InvalidParameterValueException"},
  508. {"shape":"ResourceNotFoundException"},
  509. {"shape":"TooManyRequestsException"}
  510. ]
  511. },
  512. "RemoveLayerVersionPermission":{
  513. "name":"RemoveLayerVersionPermission",
  514. "http":{
  515. "method":"DELETE",
  516. "requestUri":"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}",
  517. "responseCode":204
  518. },
  519. "input":{"shape":"RemoveLayerVersionPermissionRequest"},
  520. "errors":[
  521. {"shape":"ServiceException"},
  522. {"shape":"ResourceNotFoundException"},
  523. {"shape":"InvalidParameterValueException"},
  524. {"shape":"TooManyRequestsException"},
  525. {"shape":"PreconditionFailedException"}
  526. ]
  527. },
  528. "RemovePermission":{
  529. "name":"RemovePermission",
  530. "http":{
  531. "method":"DELETE",
  532. "requestUri":"/2015-03-31/functions/{FunctionName}/policy/{StatementId}",
  533. "responseCode":204
  534. },
  535. "input":{"shape":"RemovePermissionRequest"},
  536. "errors":[
  537. {"shape":"ServiceException"},
  538. {"shape":"ResourceNotFoundException"},
  539. {"shape":"InvalidParameterValueException"},
  540. {"shape":"TooManyRequestsException"},
  541. {"shape":"PreconditionFailedException"}
  542. ]
  543. },
  544. "TagResource":{
  545. "name":"TagResource",
  546. "http":{
  547. "method":"POST",
  548. "requestUri":"/2017-03-31/tags/{ARN}",
  549. "responseCode":204
  550. },
  551. "input":{"shape":"TagResourceRequest"},
  552. "errors":[
  553. {"shape":"ServiceException"},
  554. {"shape":"ResourceNotFoundException"},
  555. {"shape":"InvalidParameterValueException"},
  556. {"shape":"TooManyRequestsException"}
  557. ]
  558. },
  559. "UntagResource":{
  560. "name":"UntagResource",
  561. "http":{
  562. "method":"DELETE",
  563. "requestUri":"/2017-03-31/tags/{ARN}",
  564. "responseCode":204
  565. },
  566. "input":{"shape":"UntagResourceRequest"},
  567. "errors":[
  568. {"shape":"ServiceException"},
  569. {"shape":"ResourceNotFoundException"},
  570. {"shape":"InvalidParameterValueException"},
  571. {"shape":"TooManyRequestsException"}
  572. ]
  573. },
  574. "UpdateAlias":{
  575. "name":"UpdateAlias",
  576. "http":{
  577. "method":"PUT",
  578. "requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
  579. "responseCode":200
  580. },
  581. "input":{"shape":"UpdateAliasRequest"},
  582. "output":{"shape":"AliasConfiguration"},
  583. "errors":[
  584. {"shape":"ServiceException"},
  585. {"shape":"ResourceNotFoundException"},
  586. {"shape":"InvalidParameterValueException"},
  587. {"shape":"TooManyRequestsException"},
  588. {"shape":"PreconditionFailedException"}
  589. ]
  590. },
  591. "UpdateEventSourceMapping":{
  592. "name":"UpdateEventSourceMapping",
  593. "http":{
  594. "method":"PUT",
  595. "requestUri":"/2015-03-31/event-source-mappings/{UUID}",
  596. "responseCode":202
  597. },
  598. "input":{"shape":"UpdateEventSourceMappingRequest"},
  599. "output":{"shape":"EventSourceMappingConfiguration"},
  600. "errors":[
  601. {"shape":"ServiceException"},
  602. {"shape":"ResourceNotFoundException"},
  603. {"shape":"InvalidParameterValueException"},
  604. {"shape":"TooManyRequestsException"},
  605. {"shape":"ResourceConflictException"},
  606. {"shape":"ResourceInUseException"}
  607. ]
  608. },
  609. "UpdateFunctionCode":{
  610. "name":"UpdateFunctionCode",
  611. "http":{
  612. "method":"PUT",
  613. "requestUri":"/2015-03-31/functions/{FunctionName}/code",
  614. "responseCode":200
  615. },
  616. "input":{"shape":"UpdateFunctionCodeRequest"},
  617. "output":{"shape":"FunctionConfiguration"},
  618. "errors":[
  619. {"shape":"ServiceException"},
  620. {"shape":"ResourceNotFoundException"},
  621. {"shape":"InvalidParameterValueException"},
  622. {"shape":"TooManyRequestsException"},
  623. {"shape":"CodeStorageExceededException"},
  624. {"shape":"PreconditionFailedException"}
  625. ]
  626. },
  627. "UpdateFunctionConfiguration":{
  628. "name":"UpdateFunctionConfiguration",
  629. "http":{
  630. "method":"PUT",
  631. "requestUri":"/2015-03-31/functions/{FunctionName}/configuration",
  632. "responseCode":200
  633. },
  634. "input":{"shape":"UpdateFunctionConfigurationRequest"},
  635. "output":{"shape":"FunctionConfiguration"},
  636. "errors":[
  637. {"shape":"ServiceException"},
  638. {"shape":"ResourceNotFoundException"},
  639. {"shape":"InvalidParameterValueException"},
  640. {"shape":"TooManyRequestsException"},
  641. {"shape":"ResourceConflictException"},
  642. {"shape":"PreconditionFailedException"}
  643. ]
  644. }
  645. },
  646. "shapes":{
  647. "AccountLimit":{
  648. "type":"structure",
  649. "members":{
  650. "TotalCodeSize":{"shape":"Long"},
  651. "CodeSizeUnzipped":{"shape":"Long"},
  652. "CodeSizeZipped":{"shape":"Long"},
  653. "ConcurrentExecutions":{"shape":"Integer"},
  654. "UnreservedConcurrentExecutions":{"shape":"UnreservedConcurrentExecutions"}
  655. }
  656. },
  657. "AccountUsage":{
  658. "type":"structure",
  659. "members":{
  660. "TotalCodeSize":{"shape":"Long"},
  661. "FunctionCount":{"shape":"Long"}
  662. }
  663. },
  664. "Action":{
  665. "type":"string",
  666. "pattern":"(lambda:[*]|lambda:[a-zA-Z]+|[*])"
  667. },
  668. "AddLayerVersionPermissionRequest":{
  669. "type":"structure",
  670. "required":[
  671. "LayerName",
  672. "VersionNumber",
  673. "StatementId",
  674. "Action",
  675. "Principal"
  676. ],
  677. "members":{
  678. "LayerName":{
  679. "shape":"LayerName",
  680. "location":"uri",
  681. "locationName":"LayerName"
  682. },
  683. "VersionNumber":{
  684. "shape":"LayerVersionNumber",
  685. "location":"uri",
  686. "locationName":"VersionNumber"
  687. },
  688. "StatementId":{"shape":"StatementId"},
  689. "Action":{"shape":"LayerPermissionAllowedAction"},
  690. "Principal":{"shape":"LayerPermissionAllowedPrincipal"},
  691. "OrganizationId":{"shape":"OrganizationId"},
  692. "RevisionId":{
  693. "shape":"String",
  694. "location":"querystring",
  695. "locationName":"RevisionId"
  696. }
  697. }
  698. },
  699. "AddLayerVersionPermissionResponse":{
  700. "type":"structure",
  701. "members":{
  702. "Statement":{"shape":"String"},
  703. "RevisionId":{"shape":"String"}
  704. }
  705. },
  706. "AddPermissionRequest":{
  707. "type":"structure",
  708. "required":[
  709. "FunctionName",
  710. "StatementId",
  711. "Action",
  712. "Principal"
  713. ],
  714. "members":{
  715. "FunctionName":{
  716. "shape":"FunctionName",
  717. "location":"uri",
  718. "locationName":"FunctionName"
  719. },
  720. "StatementId":{"shape":"StatementId"},
  721. "Action":{"shape":"Action"},
  722. "Principal":{"shape":"Principal"},
  723. "SourceArn":{"shape":"Arn"},
  724. "SourceAccount":{"shape":"SourceOwner"},
  725. "EventSourceToken":{"shape":"EventSourceToken"},
  726. "Qualifier":{
  727. "shape":"Qualifier",
  728. "location":"querystring",
  729. "locationName":"Qualifier"
  730. },
  731. "RevisionId":{"shape":"String"}
  732. }
  733. },
  734. "AddPermissionResponse":{
  735. "type":"structure",
  736. "members":{
  737. "Statement":{"shape":"String"}
  738. }
  739. },
  740. "AdditionalVersion":{
  741. "type":"string",
  742. "max":1024,
  743. "min":1,
  744. "pattern":"[0-9]+"
  745. },
  746. "AdditionalVersionWeights":{
  747. "type":"map",
  748. "key":{"shape":"AdditionalVersion"},
  749. "value":{"shape":"Weight"}
  750. },
  751. "Alias":{
  752. "type":"string",
  753. "max":128,
  754. "min":1,
  755. "pattern":"(?!^[0-9]+$)([a-zA-Z0-9-_]+)"
  756. },
  757. "AliasConfiguration":{
  758. "type":"structure",
  759. "members":{
  760. "AliasArn":{"shape":"FunctionArn"},
  761. "Name":{"shape":"Alias"},
  762. "FunctionVersion":{"shape":"Version"},
  763. "Description":{"shape":"Description"},
  764. "RoutingConfig":{"shape":"AliasRoutingConfiguration"},
  765. "RevisionId":{"shape":"String"}
  766. }
  767. },
  768. "AliasList":{
  769. "type":"list",
  770. "member":{"shape":"AliasConfiguration"}
  771. },
  772. "AliasRoutingConfiguration":{
  773. "type":"structure",
  774. "members":{
  775. "AdditionalVersionWeights":{"shape":"AdditionalVersionWeights"}
  776. }
  777. },
  778. "Arn":{
  779. "type":"string",
  780. "pattern":"arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-])+:([a-z]{2}(-gov)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)"
  781. },
  782. "BatchSize":{
  783. "type":"integer",
  784. "max":10000,
  785. "min":1
  786. },
  787. "Blob":{
  788. "type":"blob",
  789. "sensitive":true
  790. },
  791. "BlobStream":{
  792. "type":"blob",
  793. "streaming":true
  794. },
  795. "Boolean":{"type":"boolean"},
  796. "CodeStorageExceededException":{
  797. "type":"structure",
  798. "members":{
  799. "Type":{"shape":"String"},
  800. "message":{"shape":"String"}
  801. },
  802. "error":{"httpStatusCode":400},
  803. "exception":true
  804. },
  805. "CompatibleRuntimes":{
  806. "type":"list",
  807. "member":{"shape":"Runtime"},
  808. "max":5
  809. },
  810. "Concurrency":{
  811. "type":"structure",
  812. "members":{
  813. "ReservedConcurrentExecutions":{"shape":"ReservedConcurrentExecutions"}
  814. }
  815. },
  816. "CreateAliasRequest":{
  817. "type":"structure",
  818. "required":[
  819. "FunctionName",
  820. "Name",
  821. "FunctionVersion"
  822. ],
  823. "members":{
  824. "FunctionName":{
  825. "shape":"FunctionName",
  826. "location":"uri",
  827. "locationName":"FunctionName"
  828. },
  829. "Name":{"shape":"Alias"},
  830. "FunctionVersion":{"shape":"Version"},
  831. "Description":{"shape":"Description"},
  832. "RoutingConfig":{"shape":"AliasRoutingConfiguration"}
  833. }
  834. },
  835. "CreateEventSourceMappingRequest":{
  836. "type":"structure",
  837. "required":[
  838. "EventSourceArn",
  839. "FunctionName"
  840. ],
  841. "members":{
  842. "EventSourceArn":{"shape":"Arn"},
  843. "FunctionName":{"shape":"FunctionName"},
  844. "Enabled":{"shape":"Enabled"},
  845. "BatchSize":{"shape":"BatchSize"},
  846. "StartingPosition":{"shape":"EventSourcePosition"},
  847. "StartingPositionTimestamp":{"shape":"Date"}
  848. }
  849. },
  850. "CreateFunctionRequest":{
  851. "type":"structure",
  852. "required":[
  853. "FunctionName",
  854. "Runtime",
  855. "Role",
  856. "Handler",
  857. "Code"
  858. ],
  859. "members":{
  860. "FunctionName":{"shape":"FunctionName"},
  861. "Runtime":{"shape":"Runtime"},
  862. "Role":{"shape":"RoleArn"},
  863. "Handler":{"shape":"Handler"},
  864. "Code":{"shape":"FunctionCode"},
  865. "Description":{"shape":"Description"},
  866. "Timeout":{"shape":"Timeout"},
  867. "MemorySize":{"shape":"MemorySize"},
  868. "Publish":{"shape":"Boolean"},
  869. "VpcConfig":{"shape":"VpcConfig"},
  870. "DeadLetterConfig":{"shape":"DeadLetterConfig"},
  871. "Environment":{"shape":"Environment"},
  872. "KMSKeyArn":{"shape":"KMSKeyArn"},
  873. "TracingConfig":{"shape":"TracingConfig"},
  874. "Tags":{"shape":"Tags"},
  875. "Layers":{"shape":"LayerList"}
  876. }
  877. },
  878. "Date":{"type":"timestamp"},
  879. "DeadLetterConfig":{
  880. "type":"structure",
  881. "members":{
  882. "TargetArn":{"shape":"ResourceArn"}
  883. }
  884. },
  885. "DeleteAliasRequest":{
  886. "type":"structure",
  887. "required":[
  888. "FunctionName",
  889. "Name"
  890. ],
  891. "members":{
  892. "FunctionName":{
  893. "shape":"FunctionName",
  894. "location":"uri",
  895. "locationName":"FunctionName"
  896. },
  897. "Name":{
  898. "shape":"Alias",
  899. "location":"uri",
  900. "locationName":"Name"
  901. }
  902. }
  903. },
  904. "DeleteEventSourceMappingRequest":{
  905. "type":"structure",
  906. "required":["UUID"],
  907. "members":{
  908. "UUID":{
  909. "shape":"String",
  910. "location":"uri",
  911. "locationName":"UUID"
  912. }
  913. }
  914. },
  915. "DeleteFunctionConcurrencyRequest":{
  916. "type":"structure",
  917. "required":["FunctionName"],
  918. "members":{
  919. "FunctionName":{
  920. "shape":"FunctionName",
  921. "location":"uri",
  922. "locationName":"FunctionName"
  923. }
  924. }
  925. },
  926. "DeleteFunctionRequest":{
  927. "type":"structure",
  928. "required":["FunctionName"],
  929. "members":{
  930. "FunctionName":{
  931. "shape":"FunctionName",
  932. "location":"uri",
  933. "locationName":"FunctionName"
  934. },
  935. "Qualifier":{
  936. "shape":"Qualifier",
  937. "location":"querystring",
  938. "locationName":"Qualifier"
  939. }
  940. }
  941. },
  942. "DeleteLayerVersionRequest":{
  943. "type":"structure",
  944. "required":[
  945. "LayerName",
  946. "VersionNumber"
  947. ],
  948. "members":{
  949. "LayerName":{
  950. "shape":"LayerName",
  951. "location":"uri",
  952. "locationName":"LayerName"
  953. },
  954. "VersionNumber":{
  955. "shape":"LayerVersionNumber",
  956. "location":"uri",
  957. "locationName":"VersionNumber"
  958. }
  959. }
  960. },
  961. "Description":{
  962. "type":"string",
  963. "max":256,
  964. "min":0
  965. },
  966. "EC2AccessDeniedException":{
  967. "type":"structure",
  968. "members":{
  969. "Type":{"shape":"String"},
  970. "Message":{"shape":"String"}
  971. },
  972. "error":{"httpStatusCode":502},
  973. "exception":true
  974. },
  975. "EC2ThrottledException":{
  976. "type":"structure",
  977. "members":{
  978. "Type":{"shape":"String"},
  979. "Message":{"shape":"String"}
  980. },
  981. "error":{"httpStatusCode":502},
  982. "exception":true
  983. },
  984. "EC2UnexpectedException":{
  985. "type":"structure",
  986. "members":{
  987. "Type":{"shape":"String"},
  988. "Message":{"shape":"String"},
  989. "EC2ErrorCode":{"shape":"String"}
  990. },
  991. "error":{"httpStatusCode":502},
  992. "exception":true
  993. },
  994. "ENILimitReachedException":{
  995. "type":"structure",
  996. "members":{
  997. "Type":{"shape":"String"},
  998. "Message":{"shape":"String"}
  999. },
  1000. "error":{"httpStatusCode":502},
  1001. "exception":true
  1002. },
  1003. "Enabled":{"type":"boolean"},
  1004. "Environment":{
  1005. "type":"structure",
  1006. "members":{
  1007. "Variables":{"shape":"EnvironmentVariables"}
  1008. }
  1009. },
  1010. "EnvironmentError":{
  1011. "type":"structure",
  1012. "members":{
  1013. "ErrorCode":{"shape":"String"},
  1014. "Message":{"shape":"SensitiveString"}
  1015. }
  1016. },
  1017. "EnvironmentResponse":{
  1018. "type":"structure",
  1019. "members":{
  1020. "Variables":{"shape":"EnvironmentVariables"},
  1021. "Error":{"shape":"EnvironmentError"}
  1022. }
  1023. },
  1024. "EnvironmentVariableName":{
  1025. "type":"string",
  1026. "pattern":"[a-zA-Z]([a-zA-Z0-9_])+",
  1027. "sensitive":true
  1028. },
  1029. "EnvironmentVariableValue":{
  1030. "type":"string",
  1031. "sensitive":true
  1032. },
  1033. "EnvironmentVariables":{
  1034. "type":"map",
  1035. "key":{"shape":"EnvironmentVariableName"},
  1036. "value":{"shape":"EnvironmentVariableValue"},
  1037. "sensitive":true
  1038. },
  1039. "EventSourceMappingConfiguration":{
  1040. "type":"structure",
  1041. "members":{
  1042. "UUID":{"shape":"String"},
  1043. "BatchSize":{"shape":"BatchSize"},
  1044. "EventSourceArn":{"shape":"Arn"},
  1045. "FunctionArn":{"shape":"FunctionArn"},
  1046. "LastModified":{"shape":"Date"},
  1047. "LastProcessingResult":{"shape":"String"},
  1048. "State":{"shape":"String"},
  1049. "StateTransitionReason":{"shape":"String"}
  1050. }
  1051. },
  1052. "EventSourceMappingsList":{
  1053. "type":"list",
  1054. "member":{"shape":"EventSourceMappingConfiguration"}
  1055. },
  1056. "EventSourcePosition":{
  1057. "type":"string",
  1058. "enum":[
  1059. "TRIM_HORIZON",
  1060. "LATEST",
  1061. "AT_TIMESTAMP"
  1062. ]
  1063. },
  1064. "EventSourceToken":{
  1065. "type":"string",
  1066. "max":256,
  1067. "min":0,
  1068. "pattern":"[a-zA-Z0-9._\\-]+"
  1069. },
  1070. "FunctionArn":{
  1071. "type":"string",
  1072. "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
  1073. },
  1074. "FunctionCode":{
  1075. "type":"structure",
  1076. "members":{
  1077. "ZipFile":{"shape":"Blob"},
  1078. "S3Bucket":{"shape":"S3Bucket"},
  1079. "S3Key":{"shape":"S3Key"},
  1080. "S3ObjectVersion":{"shape":"S3ObjectVersion"}
  1081. }
  1082. },
  1083. "FunctionCodeLocation":{
  1084. "type":"structure",
  1085. "members":{
  1086. "RepositoryType":{"shape":"String"},
  1087. "Location":{"shape":"String"}
  1088. }
  1089. },
  1090. "FunctionConfiguration":{
  1091. "type":"structure",
  1092. "members":{
  1093. "FunctionName":{"shape":"NamespacedFunctionName"},
  1094. "FunctionArn":{"shape":"NameSpacedFunctionArn"},
  1095. "Runtime":{"shape":"Runtime"},
  1096. "Role":{"shape":"RoleArn"},
  1097. "Handler":{"shape":"Handler"},
  1098. "CodeSize":{"shape":"Long"},
  1099. "Description":{"shape":"Description"},
  1100. "Timeout":{"shape":"Timeout"},
  1101. "MemorySize":{"shape":"MemorySize"},
  1102. "LastModified":{"shape":"Timestamp"},
  1103. "CodeSha256":{"shape":"String"},
  1104. "Version":{"shape":"Version"},
  1105. "VpcConfig":{"shape":"VpcConfigResponse"},
  1106. "DeadLetterConfig":{"shape":"DeadLetterConfig"},
  1107. "Environment":{"shape":"EnvironmentResponse"},
  1108. "KMSKeyArn":{"shape":"KMSKeyArn"},
  1109. "TracingConfig":{"shape":"TracingConfigResponse"},
  1110. "MasterArn":{"shape":"FunctionArn"},
  1111. "RevisionId":{"shape":"String"},
  1112. "Layers":{"shape":"LayersReferenceList"}
  1113. }
  1114. },
  1115. "FunctionList":{
  1116. "type":"list",
  1117. "member":{"shape":"FunctionConfiguration"}
  1118. },
  1119. "FunctionName":{
  1120. "type":"string",
  1121. "max":140,
  1122. "min":1,
  1123. "pattern":"(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
  1124. },
  1125. "FunctionVersion":{
  1126. "type":"string",
  1127. "enum":["ALL"]
  1128. },
  1129. "GetAccountSettingsRequest":{
  1130. "type":"structure",
  1131. "members":{
  1132. }
  1133. },
  1134. "GetAccountSettingsResponse":{
  1135. "type":"structure",
  1136. "members":{
  1137. "AccountLimit":{"shape":"AccountLimit"},
  1138. "AccountUsage":{"shape":"AccountUsage"}
  1139. }
  1140. },
  1141. "GetAliasRequest":{
  1142. "type":"structure",
  1143. "required":[
  1144. "FunctionName",
  1145. "Name"
  1146. ],
  1147. "members":{
  1148. "FunctionName":{
  1149. "shape":"FunctionName",
  1150. "location":"uri",
  1151. "locationName":"FunctionName"
  1152. },
  1153. "Name":{
  1154. "shape":"Alias",
  1155. "location":"uri",
  1156. "locationName":"Name"
  1157. }
  1158. }
  1159. },
  1160. "GetEventSourceMappingRequest":{
  1161. "type":"structure",
  1162. "required":["UUID"],
  1163. "members":{
  1164. "UUID":{
  1165. "shape":"String",
  1166. "location":"uri",
  1167. "locationName":"UUID"
  1168. }
  1169. }
  1170. },
  1171. "GetFunctionConfigurationRequest":{
  1172. "type":"structure",
  1173. "required":["FunctionName"],
  1174. "members":{
  1175. "FunctionName":{
  1176. "shape":"NamespacedFunctionName",
  1177. "location":"uri",
  1178. "locationName":"FunctionName"
  1179. },
  1180. "Qualifier":{
  1181. "shape":"Qualifier",
  1182. "location":"querystring",
  1183. "locationName":"Qualifier"
  1184. }
  1185. }
  1186. },
  1187. "GetFunctionRequest":{
  1188. "type":"structure",
  1189. "required":["FunctionName"],
  1190. "members":{
  1191. "FunctionName":{
  1192. "shape":"NamespacedFunctionName",
  1193. "location":"uri",
  1194. "locationName":"FunctionName"
  1195. },
  1196. "Qualifier":{
  1197. "shape":"Qualifier",
  1198. "location":"querystring",
  1199. "locationName":"Qualifier"
  1200. }
  1201. }
  1202. },
  1203. "GetFunctionResponse":{
  1204. "type":"structure",
  1205. "members":{
  1206. "Configuration":{"shape":"FunctionConfiguration"},
  1207. "Code":{"shape":"FunctionCodeLocation"},
  1208. "Tags":{"shape":"Tags"},
  1209. "Concurrency":{"shape":"Concurrency"}
  1210. }
  1211. },
  1212. "GetLayerVersionPolicyRequest":{
  1213. "type":"structure",
  1214. "required":[
  1215. "LayerName",
  1216. "VersionNumber"
  1217. ],
  1218. "members":{
  1219. "LayerName":{
  1220. "shape":"LayerName",
  1221. "location":"uri",
  1222. "locationName":"LayerName"
  1223. },
  1224. "VersionNumber":{
  1225. "shape":"LayerVersionNumber",
  1226. "location":"uri",
  1227. "locationName":"VersionNumber"
  1228. }
  1229. }
  1230. },
  1231. "GetLayerVersionPolicyResponse":{
  1232. "type":"structure",
  1233. "members":{
  1234. "Policy":{"shape":"String"},
  1235. "RevisionId":{"shape":"String"}
  1236. }
  1237. },
  1238. "GetLayerVersionRequest":{
  1239. "type":"structure",
  1240. "required":[
  1241. "LayerName",
  1242. "VersionNumber"
  1243. ],
  1244. "members":{
  1245. "LayerName":{
  1246. "shape":"LayerName",
  1247. "location":"uri",
  1248. "locationName":"LayerName"
  1249. },
  1250. "VersionNumber":{
  1251. "shape":"LayerVersionNumber",
  1252. "location":"uri",
  1253. "locationName":"VersionNumber"
  1254. }
  1255. }
  1256. },
  1257. "GetLayerVersionResponse":{
  1258. "type":"structure",
  1259. "members":{
  1260. "Content":{"shape":"LayerVersionContentOutput"},
  1261. "LayerArn":{"shape":"LayerArn"},
  1262. "LayerVersionArn":{"shape":"LayerVersionArn"},
  1263. "Description":{"shape":"Description"},
  1264. "CreatedDate":{"shape":"Timestamp"},
  1265. "Version":{"shape":"LayerVersionNumber"},
  1266. "CompatibleRuntimes":{"shape":"CompatibleRuntimes"},
  1267. "LicenseInfo":{"shape":"LicenseInfo"}
  1268. }
  1269. },
  1270. "GetPolicyRequest":{
  1271. "type":"structure",
  1272. "required":["FunctionName"],
  1273. "members":{
  1274. "FunctionName":{
  1275. "shape":"NamespacedFunctionName",
  1276. "location":"uri",
  1277. "locationName":"FunctionName"
  1278. },
  1279. "Qualifier":{
  1280. "shape":"Qualifier",
  1281. "location":"querystring",
  1282. "locationName":"Qualifier"
  1283. }
  1284. }
  1285. },
  1286. "GetPolicyResponse":{
  1287. "type":"structure",
  1288. "members":{
  1289. "Policy":{"shape":"String"},
  1290. "RevisionId":{"shape":"String"}
  1291. }
  1292. },
  1293. "Handler":{
  1294. "type":"string",
  1295. "max":128,
  1296. "pattern":"[^\\s]+"
  1297. },
  1298. "HttpStatus":{"type":"integer"},
  1299. "Integer":{"type":"integer"},
  1300. "InvalidParameterValueException":{
  1301. "type":"structure",
  1302. "members":{
  1303. "Type":{"shape":"String"},
  1304. "message":{"shape":"String"}
  1305. },
  1306. "error":{"httpStatusCode":400},
  1307. "exception":true
  1308. },
  1309. "InvalidRequestContentException":{
  1310. "type":"structure",
  1311. "members":{
  1312. "Type":{"shape":"String"},
  1313. "message":{"shape":"String"}
  1314. },
  1315. "error":{"httpStatusCode":400},
  1316. "exception":true
  1317. },
  1318. "InvalidRuntimeException":{
  1319. "type":"structure",
  1320. "members":{
  1321. "Type":{"shape":"String"},
  1322. "Message":{"shape":"String"}
  1323. },
  1324. "error":{"httpStatusCode":502},
  1325. "exception":true
  1326. },
  1327. "InvalidSecurityGroupIDException":{
  1328. "type":"structure",
  1329. "members":{
  1330. "Type":{"shape":"String"},
  1331. "Message":{"shape":"String"}
  1332. },
  1333. "error":{"httpStatusCode":502},
  1334. "exception":true
  1335. },
  1336. "InvalidSubnetIDException":{
  1337. "type":"structure",
  1338. "members":{
  1339. "Type":{"shape":"String"},
  1340. "Message":{"shape":"String"}
  1341. },
  1342. "error":{"httpStatusCode":502},
  1343. "exception":true
  1344. },
  1345. "InvalidZipFileException":{
  1346. "type":"structure",
  1347. "members":{
  1348. "Type":{"shape":"String"},
  1349. "Message":{"shape":"String"}
  1350. },
  1351. "error":{"httpStatusCode":502},
  1352. "exception":true
  1353. },
  1354. "InvocationRequest":{
  1355. "type":"structure",
  1356. "required":["FunctionName"],
  1357. "members":{
  1358. "FunctionName":{
  1359. "shape":"NamespacedFunctionName",
  1360. "location":"uri",
  1361. "locationName":"FunctionName"
  1362. },
  1363. "InvocationType":{
  1364. "shape":"InvocationType",
  1365. "location":"header",
  1366. "locationName":"X-Amz-Invocation-Type"
  1367. },
  1368. "LogType":{
  1369. "shape":"LogType",
  1370. "location":"header",
  1371. "locationName":"X-Amz-Log-Type"
  1372. },
  1373. "ClientContext":{
  1374. "shape":"String",
  1375. "location":"header",
  1376. "locationName":"X-Amz-Client-Context"
  1377. },
  1378. "Payload":{"shape":"Blob"},
  1379. "Qualifier":{
  1380. "shape":"Qualifier",
  1381. "location":"querystring",
  1382. "locationName":"Qualifier"
  1383. }
  1384. },
  1385. "payload":"Payload"
  1386. },
  1387. "InvocationResponse":{
  1388. "type":"structure",
  1389. "members":{
  1390. "StatusCode":{
  1391. "shape":"Integer",
  1392. "location":"statusCode"
  1393. },
  1394. "FunctionError":{
  1395. "shape":"String",
  1396. "location":"header",
  1397. "locationName":"X-Amz-Function-Error"
  1398. },
  1399. "LogResult":{
  1400. "shape":"String",
  1401. "location":"header",
  1402. "locationName":"X-Amz-Log-Result"
  1403. },
  1404. "Payload":{"shape":"Blob"},
  1405. "ExecutedVersion":{
  1406. "shape":"Version",
  1407. "location":"header",
  1408. "locationName":"X-Amz-Executed-Version"
  1409. }
  1410. },
  1411. "payload":"Payload"
  1412. },
  1413. "InvocationType":{
  1414. "type":"string",
  1415. "enum":[
  1416. "Event",
  1417. "RequestResponse",
  1418. "DryRun"
  1419. ]
  1420. },
  1421. "InvokeAsyncRequest":{
  1422. "type":"structure",
  1423. "required":[
  1424. "FunctionName",
  1425. "InvokeArgs"
  1426. ],
  1427. "members":{
  1428. "FunctionName":{
  1429. "shape":"NamespacedFunctionName",
  1430. "location":"uri",
  1431. "locationName":"FunctionName"
  1432. },
  1433. "InvokeArgs":{"shape":"BlobStream"}
  1434. },
  1435. "deprecated":true,
  1436. "payload":"InvokeArgs"
  1437. },
  1438. "InvokeAsyncResponse":{
  1439. "type":"structure",
  1440. "members":{
  1441. "Status":{
  1442. "shape":"HttpStatus",
  1443. "location":"statusCode"
  1444. }
  1445. },
  1446. "deprecated":true
  1447. },
  1448. "KMSAccessDeniedException":{
  1449. "type":"structure",
  1450. "members":{
  1451. "Type":{"shape":"String"},
  1452. "Message":{"shape":"String"}
  1453. },
  1454. "error":{"httpStatusCode":502},
  1455. "exception":true
  1456. },
  1457. "KMSDisabledException":{
  1458. "type":"structure",
  1459. "members":{
  1460. "Type":{"shape":"String"},
  1461. "Message":{"shape":"String"}
  1462. },
  1463. "error":{"httpStatusCode":502},
  1464. "exception":true
  1465. },
  1466. "KMSInvalidStateException":{
  1467. "type":"structure",
  1468. "members":{
  1469. "Type":{"shape":"String"},
  1470. "Message":{"shape":"String"}
  1471. },
  1472. "error":{"httpStatusCode":502},
  1473. "exception":true
  1474. },
  1475. "KMSKeyArn":{
  1476. "type":"string",
  1477. "pattern":"(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()"
  1478. },
  1479. "KMSNotFoundException":{
  1480. "type":"structure",
  1481. "members":{
  1482. "Type":{"shape":"String"},
  1483. "Message":{"shape":"String"}
  1484. },
  1485. "error":{"httpStatusCode":502},
  1486. "exception":true
  1487. },
  1488. "Layer":{
  1489. "type":"structure",
  1490. "members":{
  1491. "Arn":{"shape":"LayerVersionArn"},
  1492. "CodeSize":{"shape":"Long"}
  1493. }
  1494. },
  1495. "LayerArn":{
  1496. "type":"string",
  1497. "max":140,
  1498. "min":1,
  1499. "pattern":"arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+"
  1500. },
  1501. "LayerList":{
  1502. "type":"list",
  1503. "member":{"shape":"LayerVersionArn"}
  1504. },
  1505. "LayerName":{
  1506. "type":"string",
  1507. "max":140,
  1508. "min":1,
  1509. "pattern":"(arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+)|[a-zA-Z0-9-_]+"
  1510. },
  1511. "LayerPermissionAllowedAction":{
  1512. "type":"string",
  1513. "pattern":"lambda:GetLayerVersion"
  1514. },
  1515. "LayerPermissionAllowedPrincipal":{
  1516. "type":"string",
  1517. "pattern":"\\d{12}|\\*|arn:(aws[a-zA-Z-]*):iam::\\d{12}:root"
  1518. },
  1519. "LayerVersionArn":{
  1520. "type":"string",
  1521. "max":140,
  1522. "min":1,
  1523. "pattern":"arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+"
  1524. },
  1525. "LayerVersionContentInput":{
  1526. "type":"structure",
  1527. "members":{
  1528. "S3Bucket":{"shape":"S3Bucket"},
  1529. "S3Key":{"shape":"S3Key"},
  1530. "S3ObjectVersion":{"shape":"S3ObjectVersion"},
  1531. "ZipFile":{"shape":"Blob"}
  1532. }
  1533. },
  1534. "LayerVersionContentOutput":{
  1535. "type":"structure",
  1536. "members":{
  1537. "Location":{"shape":"String"},
  1538. "CodeSha256":{"shape":"String"},
  1539. "CodeSize":{"shape":"Long"}
  1540. }
  1541. },
  1542. "LayerVersionNumber":{"type":"long"},
  1543. "LayerVersionsList":{
  1544. "type":"list",
  1545. "member":{"shape":"LayerVersionsListItem"}
  1546. },
  1547. "LayerVersionsListItem":{
  1548. "type":"structure",
  1549. "members":{
  1550. "LayerVersionArn":{"shape":"LayerVersionArn"},
  1551. "Version":{"shape":"LayerVersionNumber"},
  1552. "Description":{"shape":"Description"},
  1553. "CreatedDate":{"shape":"Timestamp"},
  1554. "CompatibleRuntimes":{"shape":"CompatibleRuntimes"},
  1555. "LicenseInfo":{"shape":"LicenseInfo"}
  1556. }
  1557. },
  1558. "LayersList":{
  1559. "type":"list",
  1560. "member":{"shape":"LayersListItem"}
  1561. },
  1562. "LayersListItem":{
  1563. "type":"structure",
  1564. "members":{
  1565. "LayerName":{"shape":"LayerName"},
  1566. "LayerArn":{"shape":"LayerArn"},
  1567. "LatestMatchingVersion":{"shape":"LayerVersionsListItem"}
  1568. }
  1569. },
  1570. "LayersReferenceList":{
  1571. "type":"list",
  1572. "member":{"shape":"Layer"}
  1573. },
  1574. "LicenseInfo":{
  1575. "type":"string",
  1576. "max":512
  1577. },
  1578. "ListAliasesRequest":{
  1579. "type":"structure",
  1580. "required":["FunctionName"],
  1581. "members":{
  1582. "FunctionName":{
  1583. "shape":"FunctionName",
  1584. "location":"uri",
  1585. "locationName":"FunctionName"
  1586. },
  1587. "FunctionVersion":{
  1588. "shape":"Version",
  1589. "location":"querystring",
  1590. "locationName":"FunctionVersion"
  1591. },
  1592. "Marker":{
  1593. "shape":"String",
  1594. "location":"querystring",
  1595. "locationName":"Marker"
  1596. },
  1597. "MaxItems":{
  1598. "shape":"MaxListItems",
  1599. "location":"querystring",
  1600. "locationName":"MaxItems"
  1601. }
  1602. }
  1603. },
  1604. "ListAliasesResponse":{
  1605. "type":"structure",
  1606. "members":{
  1607. "NextMarker":{"shape":"String"},
  1608. "Aliases":{"shape":"AliasList"}
  1609. }
  1610. },
  1611. "ListEventSourceMappingsRequest":{
  1612. "type":"structure",
  1613. "members":{
  1614. "EventSourceArn":{
  1615. "shape":"Arn",
  1616. "location":"querystring",
  1617. "locationName":"EventSourceArn"
  1618. },
  1619. "FunctionName":{
  1620. "shape":"FunctionName",
  1621. "location":"querystring",
  1622. "locationName":"FunctionName"
  1623. },
  1624. "Marker":{
  1625. "shape":"String",
  1626. "location":"querystring",
  1627. "locationName":"Marker"
  1628. },
  1629. "MaxItems":{
  1630. "shape":"MaxListItems",
  1631. "location":"querystring",
  1632. "locationName":"MaxItems"
  1633. }
  1634. }
  1635. },
  1636. "ListEventSourceMappingsResponse":{
  1637. "type":"structure",
  1638. "members":{
  1639. "NextMarker":{"shape":"String"},
  1640. "EventSourceMappings":{"shape":"EventSourceMappingsList"}
  1641. }
  1642. },
  1643. "ListFunctionsRequest":{
  1644. "type":"structure",
  1645. "members":{
  1646. "MasterRegion":{
  1647. "shape":"MasterRegion",
  1648. "location":"querystring",
  1649. "locationName":"MasterRegion"
  1650. },
  1651. "FunctionVersion":{
  1652. "shape":"FunctionVersion",
  1653. "location":"querystring",
  1654. "locationName":"FunctionVersion"
  1655. },
  1656. "Marker":{
  1657. "shape":"String",
  1658. "location":"querystring",
  1659. "locationName":"Marker"
  1660. },
  1661. "MaxItems":{
  1662. "shape":"MaxListItems",
  1663. "location":"querystring",
  1664. "locationName":"MaxItems"
  1665. }
  1666. }
  1667. },
  1668. "ListFunctionsResponse":{
  1669. "type":"structure",
  1670. "members":{
  1671. "NextMarker":{"shape":"String"},
  1672. "Functions":{"shape":"FunctionList"}
  1673. }
  1674. },
  1675. "ListLayerVersionsRequest":{
  1676. "type":"structure",
  1677. "required":["LayerName"],
  1678. "members":{
  1679. "CompatibleRuntime":{
  1680. "shape":"Runtime",
  1681. "location":"querystring",
  1682. "locationName":"CompatibleRuntime"
  1683. },
  1684. "LayerName":{
  1685. "shape":"LayerName",
  1686. "location":"uri",
  1687. "locationName":"LayerName"
  1688. },
  1689. "Marker":{
  1690. "shape":"String",
  1691. "location":"querystring",
  1692. "locationName":"Marker"
  1693. },
  1694. "MaxItems":{
  1695. "shape":"MaxLayerListItems",
  1696. "location":"querystring",
  1697. "locationName":"MaxItems"
  1698. }
  1699. }
  1700. },
  1701. "ListLayerVersionsResponse":{
  1702. "type":"structure",
  1703. "members":{
  1704. "NextMarker":{"shape":"String"},
  1705. "LayerVersions":{"shape":"LayerVersionsList"}
  1706. }
  1707. },
  1708. "ListLayersRequest":{
  1709. "type":"structure",
  1710. "members":{
  1711. "CompatibleRuntime":{
  1712. "shape":"Runtime",
  1713. "location":"querystring",
  1714. "locationName":"CompatibleRuntime"
  1715. },
  1716. "Marker":{
  1717. "shape":"String",
  1718. "location":"querystring",
  1719. "locationName":"Marker"
  1720. },
  1721. "MaxItems":{
  1722. "shape":"MaxLayerListItems",
  1723. "location":"querystring",
  1724. "locationName":"MaxItems"
  1725. }
  1726. }
  1727. },
  1728. "ListLayersResponse":{
  1729. "type":"structure",
  1730. "members":{
  1731. "NextMarker":{"shape":"String"},
  1732. "Layers":{"shape":"LayersList"}
  1733. }
  1734. },
  1735. "ListTagsRequest":{
  1736. "type":"structure",
  1737. "required":["Resource"],
  1738. "members":{
  1739. "Resource":{
  1740. "shape":"FunctionArn",
  1741. "location":"uri",
  1742. "locationName":"ARN"
  1743. }
  1744. }
  1745. },
  1746. "ListTagsResponse":{
  1747. "type":"structure",
  1748. "members":{
  1749. "Tags":{"shape":"Tags"}
  1750. }
  1751. },
  1752. "ListVersionsByFunctionRequest":{
  1753. "type":"structure",
  1754. "required":["FunctionName"],
  1755. "members":{
  1756. "FunctionName":{
  1757. "shape":"NamespacedFunctionName",
  1758. "location":"uri",
  1759. "locationName":"FunctionName"
  1760. },
  1761. "Marker":{
  1762. "shape":"String",
  1763. "location":"querystring",
  1764. "locationName":"Marker"
  1765. },
  1766. "MaxItems":{
  1767. "shape":"MaxListItems",
  1768. "location":"querystring",
  1769. "locationName":"MaxItems"
  1770. }
  1771. }
  1772. },
  1773. "ListVersionsByFunctionResponse":{
  1774. "type":"structure",
  1775. "members":{
  1776. "NextMarker":{"shape":"String"},
  1777. "Versions":{"shape":"FunctionList"}
  1778. }
  1779. },
  1780. "LogType":{
  1781. "type":"string",
  1782. "enum":[
  1783. "None",
  1784. "Tail"
  1785. ]
  1786. },
  1787. "Long":{"type":"long"},
  1788. "MasterRegion":{
  1789. "type":"string",
  1790. "pattern":"ALL|[a-z]{2}(-gov)?-[a-z]+-\\d{1}"
  1791. },
  1792. "MaxLayerListItems":{
  1793. "type":"integer",
  1794. "max":50,
  1795. "min":1
  1796. },
  1797. "MaxListItems":{
  1798. "type":"integer",
  1799. "max":10000,
  1800. "min":1
  1801. },
  1802. "MemorySize":{
  1803. "type":"integer",
  1804. "max":3008,
  1805. "min":128
  1806. },
  1807. "NameSpacedFunctionArn":{
  1808. "type":"string",
  1809. "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
  1810. },
  1811. "NamespacedFunctionName":{
  1812. "type":"string",
  1813. "max":170,
  1814. "min":1,
  1815. "pattern":"(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_\\.]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
  1816. },
  1817. "NamespacedStatementId":{
  1818. "type":"string",
  1819. "max":100,
  1820. "min":1,
  1821. "pattern":"([a-zA-Z0-9-_.]+)"
  1822. },
  1823. "OrganizationId":{
  1824. "type":"string",
  1825. "pattern":"o-[a-z0-9]{10,32}"
  1826. },
  1827. "PolicyLengthExceededException":{
  1828. "type":"structure",
  1829. "members":{
  1830. "Type":{"shape":"String"},
  1831. "message":{"shape":"String"}
  1832. },
  1833. "error":{"httpStatusCode":400},
  1834. "exception":true
  1835. },
  1836. "PreconditionFailedException":{
  1837. "type":"structure",
  1838. "members":{
  1839. "Type":{"shape":"String"},
  1840. "message":{"shape":"String"}
  1841. },
  1842. "error":{"httpStatusCode":412},
  1843. "exception":true
  1844. },
  1845. "Principal":{
  1846. "type":"string",
  1847. "pattern":".*"
  1848. },
  1849. "PublishLayerVersionRequest":{
  1850. "type":"structure",
  1851. "required":[
  1852. "LayerName",
  1853. "Content"
  1854. ],
  1855. "members":{
  1856. "LayerName":{
  1857. "shape":"LayerName",
  1858. "location":"uri",
  1859. "locationName":"LayerName"
  1860. },
  1861. "Description":{"shape":"Description"},
  1862. "Content":{"shape":"LayerVersionContentInput"},
  1863. "CompatibleRuntimes":{"shape":"CompatibleRuntimes"},
  1864. "LicenseInfo":{"shape":"LicenseInfo"}
  1865. }
  1866. },
  1867. "PublishLayerVersionResponse":{
  1868. "type":"structure",
  1869. "members":{
  1870. "Content":{"shape":"LayerVersionContentOutput"},
  1871. "LayerArn":{"shape":"LayerArn"},
  1872. "LayerVersionArn":{"shape":"LayerVersionArn"},
  1873. "Description":{"shape":"Description"},
  1874. "CreatedDate":{"shape":"Timestamp"},
  1875. "Version":{"shape":"LayerVersionNumber"},
  1876. "CompatibleRuntimes":{"shape":"CompatibleRuntimes"},
  1877. "LicenseInfo":{"shape":"LicenseInfo"}
  1878. }
  1879. },
  1880. "PublishVersionRequest":{
  1881. "type":"structure",
  1882. "required":["FunctionName"],
  1883. "members":{
  1884. "FunctionName":{
  1885. "shape":"FunctionName",
  1886. "location":"uri",
  1887. "locationName":"FunctionName"
  1888. },
  1889. "CodeSha256":{"shape":"String"},
  1890. "Description":{"shape":"Description"},
  1891. "RevisionId":{"shape":"String"}
  1892. }
  1893. },
  1894. "PutFunctionConcurrencyRequest":{
  1895. "type":"structure",
  1896. "required":[
  1897. "FunctionName",
  1898. "ReservedConcurrentExecutions"
  1899. ],
  1900. "members":{
  1901. "FunctionName":{
  1902. "shape":"FunctionName",
  1903. "location":"uri",
  1904. "locationName":"FunctionName"
  1905. },
  1906. "ReservedConcurrentExecutions":{"shape":"ReservedConcurrentExecutions"}
  1907. }
  1908. },
  1909. "Qualifier":{
  1910. "type":"string",
  1911. "max":128,
  1912. "min":1,
  1913. "pattern":"(|[a-zA-Z0-9$_-]+)"
  1914. },
  1915. "RemoveLayerVersionPermissionRequest":{
  1916. "type":"structure",
  1917. "required":[
  1918. "LayerName",
  1919. "VersionNumber",
  1920. "StatementId"
  1921. ],
  1922. "members":{
  1923. "LayerName":{
  1924. "shape":"LayerName",
  1925. "location":"uri",
  1926. "locationName":"LayerName"
  1927. },
  1928. "VersionNumber":{
  1929. "shape":"LayerVersionNumber",
  1930. "location":"uri",
  1931. "locationName":"VersionNumber"
  1932. },
  1933. "StatementId":{
  1934. "shape":"StatementId",
  1935. "location":"uri",
  1936. "locationName":"StatementId"
  1937. },
  1938. "RevisionId":{
  1939. "shape":"String",
  1940. "location":"querystring",
  1941. "locationName":"RevisionId"
  1942. }
  1943. }
  1944. },
  1945. "RemovePermissionRequest":{
  1946. "type":"structure",
  1947. "required":[
  1948. "FunctionName",
  1949. "StatementId"
  1950. ],
  1951. "members":{
  1952. "FunctionName":{
  1953. "shape":"FunctionName",
  1954. "location":"uri",
  1955. "locationName":"FunctionName"
  1956. },
  1957. "StatementId":{
  1958. "shape":"NamespacedStatementId",
  1959. "location":"uri",
  1960. "locationName":"StatementId"
  1961. },
  1962. "Qualifier":{
  1963. "shape":"Qualifier",
  1964. "location":"querystring",
  1965. "locationName":"Qualifier"
  1966. },
  1967. "RevisionId":{
  1968. "shape":"String",
  1969. "location":"querystring",
  1970. "locationName":"RevisionId"
  1971. }
  1972. }
  1973. },
  1974. "RequestTooLargeException":{
  1975. "type":"structure",
  1976. "members":{
  1977. "Type":{"shape":"String"},
  1978. "message":{"shape":"String"}
  1979. },
  1980. "error":{"httpStatusCode":413},
  1981. "exception":true
  1982. },
  1983. "ReservedConcurrentExecutions":{
  1984. "type":"integer",
  1985. "min":0
  1986. },
  1987. "ResourceArn":{
  1988. "type":"string",
  1989. "pattern":"(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()"
  1990. },
  1991. "ResourceConflictException":{
  1992. "type":"structure",
  1993. "members":{
  1994. "Type":{"shape":"String"},
  1995. "message":{"shape":"String"}
  1996. },
  1997. "error":{"httpStatusCode":409},
  1998. "exception":true
  1999. },
  2000. "ResourceInUseException":{
  2001. "type":"structure",
  2002. "members":{
  2003. "Type":{"shape":"String"},
  2004. "Message":{"shape":"String"}
  2005. },
  2006. "error":{"httpStatusCode":400},
  2007. "exception":true
  2008. },
  2009. "ResourceNotFoundException":{
  2010. "type":"structure",
  2011. "members":{
  2012. "Type":{"shape":"String"},
  2013. "Message":{"shape":"String"}
  2014. },
  2015. "error":{"httpStatusCode":404},
  2016. "exception":true
  2017. },
  2018. "RoleArn":{
  2019. "type":"string",
  2020. "pattern":"arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
  2021. },
  2022. "Runtime":{
  2023. "type":"string",
  2024. "enum":[
  2025. "nodejs",
  2026. "nodejs4.3",
  2027. "nodejs6.10",
  2028. "nodejs8.10",
  2029. "java8",
  2030. "python2.7",
  2031. "python3.6",
  2032. "python3.7",
  2033. "dotnetcore1.0",
  2034. "dotnetcore2.0",
  2035. "dotnetcore2.1",
  2036. "nodejs4.3-edge",
  2037. "go1.x",
  2038. "ruby2.5",
  2039. "provided"
  2040. ]
  2041. },
  2042. "S3Bucket":{
  2043. "type":"string",
  2044. "max":63,
  2045. "min":3,
  2046. "pattern":"^[0-9A-Za-z\\.\\-_]*(?<!\\.)$"
  2047. },
  2048. "S3Key":{
  2049. "type":"string",
  2050. "max":1024,
  2051. "min":1
  2052. },
  2053. "S3ObjectVersion":{
  2054. "type":"string",
  2055. "max":1024,
  2056. "min":1
  2057. },
  2058. "SecurityGroupId":{"type":"string"},
  2059. "SecurityGroupIds":{
  2060. "type":"list",
  2061. "member":{"shape":"SecurityGroupId"},
  2062. "max":5
  2063. },
  2064. "SensitiveString":{
  2065. "type":"string",
  2066. "sensitive":true
  2067. },
  2068. "ServiceException":{
  2069. "type":"structure",
  2070. "members":{
  2071. "Type":{"shape":"String"},
  2072. "Message":{"shape":"String"}
  2073. },
  2074. "error":{"httpStatusCode":500},
  2075. "exception":true
  2076. },
  2077. "SourceOwner":{
  2078. "type":"string",
  2079. "pattern":"\\d{12}"
  2080. },
  2081. "StatementId":{
  2082. "type":"string",
  2083. "max":100,
  2084. "min":1,
  2085. "pattern":"([a-zA-Z0-9-_]+)"
  2086. },
  2087. "String":{"type":"string"},
  2088. "SubnetIPAddressLimitReachedException":{
  2089. "type":"structure",
  2090. "members":{
  2091. "Type":{"shape":"String"},
  2092. "Message":{"shape":"String"}
  2093. },
  2094. "error":{"httpStatusCode":502},
  2095. "exception":true
  2096. },
  2097. "SubnetId":{"type":"string"},
  2098. "SubnetIds":{
  2099. "type":"list",
  2100. "member":{"shape":"SubnetId"},
  2101. "max":16
  2102. },
  2103. "TagKey":{"type":"string"},
  2104. "TagKeyList":{
  2105. "type":"list",
  2106. "member":{"shape":"TagKey"}
  2107. },
  2108. "TagResourceRequest":{
  2109. "type":"structure",
  2110. "required":[
  2111. "Resource",
  2112. "Tags"
  2113. ],
  2114. "members":{
  2115. "Resource":{
  2116. "shape":"FunctionArn",
  2117. "location":"uri",
  2118. "locationName":"ARN"
  2119. },
  2120. "Tags":{"shape":"Tags"}
  2121. }
  2122. },
  2123. "TagValue":{"type":"string"},
  2124. "Tags":{
  2125. "type":"map",
  2126. "key":{"shape":"TagKey"},
  2127. "value":{"shape":"TagValue"}
  2128. },
  2129. "ThrottleReason":{
  2130. "type":"string",
  2131. "enum":[
  2132. "ConcurrentInvocationLimitExceeded",
  2133. "FunctionInvocationRateLimitExceeded",
  2134. "ReservedFunctionConcurrentInvocationLimitExceeded",
  2135. "ReservedFunctionInvocationRateLimitExceeded",
  2136. "CallerRateLimitExceeded"
  2137. ]
  2138. },
  2139. "Timeout":{
  2140. "type":"integer",
  2141. "min":1
  2142. },
  2143. "Timestamp":{"type":"string"},
  2144. "TooManyRequestsException":{
  2145. "type":"structure",
  2146. "members":{
  2147. "retryAfterSeconds":{
  2148. "shape":"String",
  2149. "location":"header",
  2150. "locationName":"Retry-After"
  2151. },
  2152. "Type":{"shape":"String"},
  2153. "message":{"shape":"String"},
  2154. "Reason":{"shape":"ThrottleReason"}
  2155. },
  2156. "error":{"httpStatusCode":429},
  2157. "exception":true
  2158. },
  2159. "TracingConfig":{
  2160. "type":"structure",
  2161. "members":{
  2162. "Mode":{"shape":"TracingMode"}
  2163. }
  2164. },
  2165. "TracingConfigResponse":{
  2166. "type":"structure",
  2167. "members":{
  2168. "Mode":{"shape":"TracingMode"}
  2169. }
  2170. },
  2171. "TracingMode":{
  2172. "type":"string",
  2173. "enum":[
  2174. "Active",
  2175. "PassThrough"
  2176. ]
  2177. },
  2178. "UnreservedConcurrentExecutions":{
  2179. "type":"integer",
  2180. "min":0
  2181. },
  2182. "UnsupportedMediaTypeException":{
  2183. "type":"structure",
  2184. "members":{
  2185. "Type":{"shape":"String"},
  2186. "message":{"shape":"String"}
  2187. },
  2188. "error":{"httpStatusCode":415},
  2189. "exception":true
  2190. },
  2191. "UntagResourceRequest":{
  2192. "type":"structure",
  2193. "required":[
  2194. "Resource",
  2195. "TagKeys"
  2196. ],
  2197. "members":{
  2198. "Resource":{
  2199. "shape":"FunctionArn",
  2200. "location":"uri",
  2201. "locationName":"ARN"
  2202. },
  2203. "TagKeys":{
  2204. "shape":"TagKeyList",
  2205. "location":"querystring",
  2206. "locationName":"tagKeys"
  2207. }
  2208. }
  2209. },
  2210. "UpdateAliasRequest":{
  2211. "type":"structure",
  2212. "required":[
  2213. "FunctionName",
  2214. "Name"
  2215. ],
  2216. "members":{
  2217. "FunctionName":{
  2218. "shape":"FunctionName",
  2219. "location":"uri",
  2220. "locationName":"FunctionName"
  2221. },
  2222. "Name":{
  2223. "shape":"Alias",
  2224. "location":"uri",
  2225. "locationName":"Name"
  2226. },
  2227. "FunctionVersion":{"shape":"Version"},
  2228. "Description":{"shape":"Description"},
  2229. "RoutingConfig":{"shape":"AliasRoutingConfiguration"},
  2230. "RevisionId":{"shape":"String"}
  2231. }
  2232. },
  2233. "UpdateEventSourceMappingRequest":{
  2234. "type":"structure",
  2235. "required":["UUID"],
  2236. "members":{
  2237. "UUID":{
  2238. "shape":"String",
  2239. "location":"uri",
  2240. "locationName":"UUID"
  2241. },
  2242. "FunctionName":{"shape":"FunctionName"},
  2243. "Enabled":{"shape":"Enabled"},
  2244. "BatchSize":{"shape":"BatchSize"}
  2245. }
  2246. },
  2247. "UpdateFunctionCodeRequest":{
  2248. "type":"structure",
  2249. "required":["FunctionName"],
  2250. "members":{
  2251. "FunctionName":{
  2252. "shape":"FunctionName",
  2253. "location":"uri",
  2254. "locationName":"FunctionName"
  2255. },
  2256. "ZipFile":{"shape":"Blob"},
  2257. "S3Bucket":{"shape":"S3Bucket"},
  2258. "S3Key":{"shape":"S3Key"},
  2259. "S3ObjectVersion":{"shape":"S3ObjectVersion"},
  2260. "Publish":{"shape":"Boolean"},
  2261. "DryRun":{"shape":"Boolean"},
  2262. "RevisionId":{"shape":"String"}
  2263. }
  2264. },
  2265. "UpdateFunctionConfigurationRequest":{
  2266. "type":"structure",
  2267. "required":["FunctionName"],
  2268. "members":{
  2269. "FunctionName":{
  2270. "shape":"FunctionName",
  2271. "location":"uri",
  2272. "locationName":"FunctionName"
  2273. },
  2274. "Role":{"shape":"RoleArn"},
  2275. "Handler":{"shape":"Handler"},
  2276. "Description":{"shape":"Description"},
  2277. "Timeout":{"shape":"Timeout"},
  2278. "MemorySize":{"shape":"MemorySize"},
  2279. "VpcConfig":{"shape":"VpcConfig"},
  2280. "Environment":{"shape":"Environment"},
  2281. "Runtime":{"shape":"Runtime"},
  2282. "DeadLetterConfig":{"shape":"DeadLetterConfig"},
  2283. "KMSKeyArn":{"shape":"KMSKeyArn"},
  2284. "TracingConfig":{"shape":"TracingConfig"},
  2285. "RevisionId":{"shape":"String"},
  2286. "Layers":{"shape":"LayerList"}
  2287. }
  2288. },
  2289. "Version":{
  2290. "type":"string",
  2291. "max":1024,
  2292. "min":1,
  2293. "pattern":"(\\$LATEST|[0-9]+)"
  2294. },
  2295. "VpcConfig":{
  2296. "type":"structure",
  2297. "members":{
  2298. "SubnetIds":{"shape":"SubnetIds"},
  2299. "SecurityGroupIds":{"shape":"SecurityGroupIds"}
  2300. }
  2301. },
  2302. "VpcConfigResponse":{
  2303. "type":"structure",
  2304. "members":{
  2305. "SubnetIds":{"shape":"SubnetIds"},
  2306. "SecurityGroupIds":{"shape":"SecurityGroupIds"},
  2307. "VpcId":{"shape":"VpcId"}
  2308. }
  2309. },
  2310. "VpcId":{"type":"string"},
  2311. "Weight":{
  2312. "type":"double",
  2313. "max":1.0,
  2314. "min":0.0
  2315. }
  2316. }
  2317. }