api-2.json 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2015-08-24",
  5. "endpointPrefix":"waf",
  6. "jsonVersion":"1.1",
  7. "protocol":"json",
  8. "serviceAbbreviation":"WAF",
  9. "serviceFullName":"AWS WAF",
  10. "signatureVersion":"v4",
  11. "targetPrefix":"AWSWAF_20150824"
  12. },
  13. "operations":{
  14. "CreateByteMatchSet":{
  15. "name":"CreateByteMatchSet",
  16. "http":{
  17. "method":"POST",
  18. "requestUri":"/"
  19. },
  20. "input":{"shape":"CreateByteMatchSetRequest"},
  21. "output":{"shape":"CreateByteMatchSetResponse"},
  22. "errors":[
  23. {"shape":"WAFDisallowedNameException"},
  24. {"shape":"WAFInternalErrorException"},
  25. {"shape":"WAFInvalidAccountException"},
  26. {"shape":"WAFInvalidParameterException"},
  27. {"shape":"WAFStaleDataException"},
  28. {"shape":"WAFLimitsExceededException"}
  29. ]
  30. },
  31. "CreateIPSet":{
  32. "name":"CreateIPSet",
  33. "http":{
  34. "method":"POST",
  35. "requestUri":"/"
  36. },
  37. "input":{"shape":"CreateIPSetRequest"},
  38. "output":{"shape":"CreateIPSetResponse"},
  39. "errors":[
  40. {"shape":"WAFStaleDataException"},
  41. {"shape":"WAFInternalErrorException"},
  42. {"shape":"WAFInvalidAccountException"},
  43. {"shape":"WAFDisallowedNameException"},
  44. {"shape":"WAFInvalidParameterException"},
  45. {"shape":"WAFLimitsExceededException"}
  46. ]
  47. },
  48. "CreateRule":{
  49. "name":"CreateRule",
  50. "http":{
  51. "method":"POST",
  52. "requestUri":"/"
  53. },
  54. "input":{"shape":"CreateRuleRequest"},
  55. "output":{"shape":"CreateRuleResponse"},
  56. "errors":[
  57. {"shape":"WAFStaleDataException"},
  58. {"shape":"WAFInternalErrorException"},
  59. {"shape":"WAFDisallowedNameException"},
  60. {"shape":"WAFInvalidParameterException"},
  61. {"shape":"WAFLimitsExceededException"}
  62. ]
  63. },
  64. "CreateSizeConstraintSet":{
  65. "name":"CreateSizeConstraintSet",
  66. "http":{
  67. "method":"POST",
  68. "requestUri":"/"
  69. },
  70. "input":{"shape":"CreateSizeConstraintSetRequest"},
  71. "output":{"shape":"CreateSizeConstraintSetResponse"},
  72. "errors":[
  73. {"shape":"WAFStaleDataException"},
  74. {"shape":"WAFInternalErrorException"},
  75. {"shape":"WAFInvalidAccountException"},
  76. {"shape":"WAFDisallowedNameException"},
  77. {"shape":"WAFInvalidParameterException"},
  78. {"shape":"WAFLimitsExceededException"}
  79. ]
  80. },
  81. "CreateSqlInjectionMatchSet":{
  82. "name":"CreateSqlInjectionMatchSet",
  83. "http":{
  84. "method":"POST",
  85. "requestUri":"/"
  86. },
  87. "input":{"shape":"CreateSqlInjectionMatchSetRequest"},
  88. "output":{"shape":"CreateSqlInjectionMatchSetResponse"},
  89. "errors":[
  90. {"shape":"WAFDisallowedNameException"},
  91. {"shape":"WAFInternalErrorException"},
  92. {"shape":"WAFInvalidAccountException"},
  93. {"shape":"WAFInvalidParameterException"},
  94. {"shape":"WAFStaleDataException"},
  95. {"shape":"WAFLimitsExceededException"}
  96. ]
  97. },
  98. "CreateWebACL":{
  99. "name":"CreateWebACL",
  100. "http":{
  101. "method":"POST",
  102. "requestUri":"/"
  103. },
  104. "input":{"shape":"CreateWebACLRequest"},
  105. "output":{"shape":"CreateWebACLResponse"},
  106. "errors":[
  107. {"shape":"WAFStaleDataException"},
  108. {"shape":"WAFInternalErrorException"},
  109. {"shape":"WAFInvalidAccountException"},
  110. {"shape":"WAFDisallowedNameException"},
  111. {"shape":"WAFInvalidParameterException"},
  112. {"shape":"WAFLimitsExceededException"}
  113. ]
  114. },
  115. "CreateXssMatchSet":{
  116. "name":"CreateXssMatchSet",
  117. "http":{
  118. "method":"POST",
  119. "requestUri":"/"
  120. },
  121. "input":{"shape":"CreateXssMatchSetRequest"},
  122. "output":{"shape":"CreateXssMatchSetResponse"},
  123. "errors":[
  124. {"shape":"WAFDisallowedNameException"},
  125. {"shape":"WAFInternalErrorException"},
  126. {"shape":"WAFInvalidAccountException"},
  127. {"shape":"WAFInvalidParameterException"},
  128. {"shape":"WAFStaleDataException"},
  129. {"shape":"WAFLimitsExceededException"}
  130. ]
  131. },
  132. "DeleteByteMatchSet":{
  133. "name":"DeleteByteMatchSet",
  134. "http":{
  135. "method":"POST",
  136. "requestUri":"/"
  137. },
  138. "input":{"shape":"DeleteByteMatchSetRequest"},
  139. "output":{"shape":"DeleteByteMatchSetResponse"},
  140. "errors":[
  141. {"shape":"WAFInternalErrorException"},
  142. {"shape":"WAFInvalidAccountException"},
  143. {"shape":"WAFNonexistentItemException"},
  144. {"shape":"WAFReferencedItemException"},
  145. {"shape":"WAFStaleDataException"},
  146. {"shape":"WAFNonEmptyEntityException"}
  147. ]
  148. },
  149. "DeleteIPSet":{
  150. "name":"DeleteIPSet",
  151. "http":{
  152. "method":"POST",
  153. "requestUri":"/"
  154. },
  155. "input":{"shape":"DeleteIPSetRequest"},
  156. "output":{"shape":"DeleteIPSetResponse"},
  157. "errors":[
  158. {"shape":"WAFStaleDataException"},
  159. {"shape":"WAFInternalErrorException"},
  160. {"shape":"WAFInvalidAccountException"},
  161. {"shape":"WAFNonexistentItemException"},
  162. {"shape":"WAFReferencedItemException"},
  163. {"shape":"WAFNonEmptyEntityException"}
  164. ]
  165. },
  166. "DeleteRule":{
  167. "name":"DeleteRule",
  168. "http":{
  169. "method":"POST",
  170. "requestUri":"/"
  171. },
  172. "input":{"shape":"DeleteRuleRequest"},
  173. "output":{"shape":"DeleteRuleResponse"},
  174. "errors":[
  175. {"shape":"WAFStaleDataException"},
  176. {"shape":"WAFInternalErrorException"},
  177. {"shape":"WAFInvalidAccountException"},
  178. {"shape":"WAFNonexistentItemException"},
  179. {"shape":"WAFReferencedItemException"},
  180. {"shape":"WAFNonEmptyEntityException"}
  181. ]
  182. },
  183. "DeleteSizeConstraintSet":{
  184. "name":"DeleteSizeConstraintSet",
  185. "http":{
  186. "method":"POST",
  187. "requestUri":"/"
  188. },
  189. "input":{"shape":"DeleteSizeConstraintSetRequest"},
  190. "output":{"shape":"DeleteSizeConstraintSetResponse"},
  191. "errors":[
  192. {"shape":"WAFStaleDataException"},
  193. {"shape":"WAFInternalErrorException"},
  194. {"shape":"WAFInvalidAccountException"},
  195. {"shape":"WAFNonexistentItemException"},
  196. {"shape":"WAFReferencedItemException"},
  197. {"shape":"WAFNonEmptyEntityException"}
  198. ]
  199. },
  200. "DeleteSqlInjectionMatchSet":{
  201. "name":"DeleteSqlInjectionMatchSet",
  202. "http":{
  203. "method":"POST",
  204. "requestUri":"/"
  205. },
  206. "input":{"shape":"DeleteSqlInjectionMatchSetRequest"},
  207. "output":{"shape":"DeleteSqlInjectionMatchSetResponse"},
  208. "errors":[
  209. {"shape":"WAFInternalErrorException"},
  210. {"shape":"WAFInvalidAccountException"},
  211. {"shape":"WAFNonexistentItemException"},
  212. {"shape":"WAFReferencedItemException"},
  213. {"shape":"WAFStaleDataException"},
  214. {"shape":"WAFNonEmptyEntityException"}
  215. ]
  216. },
  217. "DeleteWebACL":{
  218. "name":"DeleteWebACL",
  219. "http":{
  220. "method":"POST",
  221. "requestUri":"/"
  222. },
  223. "input":{"shape":"DeleteWebACLRequest"},
  224. "output":{"shape":"DeleteWebACLResponse"},
  225. "errors":[
  226. {"shape":"WAFStaleDataException"},
  227. {"shape":"WAFInternalErrorException"},
  228. {"shape":"WAFInvalidAccountException"},
  229. {"shape":"WAFNonexistentItemException"},
  230. {"shape":"WAFReferencedItemException"},
  231. {"shape":"WAFNonEmptyEntityException"}
  232. ]
  233. },
  234. "DeleteXssMatchSet":{
  235. "name":"DeleteXssMatchSet",
  236. "http":{
  237. "method":"POST",
  238. "requestUri":"/"
  239. },
  240. "input":{"shape":"DeleteXssMatchSetRequest"},
  241. "output":{"shape":"DeleteXssMatchSetResponse"},
  242. "errors":[
  243. {"shape":"WAFInternalErrorException"},
  244. {"shape":"WAFInvalidAccountException"},
  245. {"shape":"WAFNonexistentItemException"},
  246. {"shape":"WAFReferencedItemException"},
  247. {"shape":"WAFStaleDataException"},
  248. {"shape":"WAFNonEmptyEntityException"}
  249. ]
  250. },
  251. "GetByteMatchSet":{
  252. "name":"GetByteMatchSet",
  253. "http":{
  254. "method":"POST",
  255. "requestUri":"/"
  256. },
  257. "input":{"shape":"GetByteMatchSetRequest"},
  258. "output":{"shape":"GetByteMatchSetResponse"},
  259. "errors":[
  260. {"shape":"WAFInternalErrorException"},
  261. {"shape":"WAFInvalidAccountException"},
  262. {"shape":"WAFNonexistentItemException"}
  263. ]
  264. },
  265. "GetChangeToken":{
  266. "name":"GetChangeToken",
  267. "http":{
  268. "method":"POST",
  269. "requestUri":"/"
  270. },
  271. "input":{"shape":"GetChangeTokenRequest"},
  272. "output":{"shape":"GetChangeTokenResponse"},
  273. "errors":[
  274. {"shape":"WAFInternalErrorException"}
  275. ]
  276. },
  277. "GetChangeTokenStatus":{
  278. "name":"GetChangeTokenStatus",
  279. "http":{
  280. "method":"POST",
  281. "requestUri":"/"
  282. },
  283. "input":{"shape":"GetChangeTokenStatusRequest"},
  284. "output":{"shape":"GetChangeTokenStatusResponse"},
  285. "errors":[
  286. {"shape":"WAFNonexistentItemException"},
  287. {"shape":"WAFInternalErrorException"}
  288. ]
  289. },
  290. "GetIPSet":{
  291. "name":"GetIPSet",
  292. "http":{
  293. "method":"POST",
  294. "requestUri":"/"
  295. },
  296. "input":{"shape":"GetIPSetRequest"},
  297. "output":{"shape":"GetIPSetResponse"},
  298. "errors":[
  299. {"shape":"WAFInternalErrorException"},
  300. {"shape":"WAFInvalidAccountException"},
  301. {"shape":"WAFNonexistentItemException"}
  302. ]
  303. },
  304. "GetRule":{
  305. "name":"GetRule",
  306. "http":{
  307. "method":"POST",
  308. "requestUri":"/"
  309. },
  310. "input":{"shape":"GetRuleRequest"},
  311. "output":{"shape":"GetRuleResponse"},
  312. "errors":[
  313. {"shape":"WAFInternalErrorException"},
  314. {"shape":"WAFInvalidAccountException"},
  315. {"shape":"WAFNonexistentItemException"}
  316. ]
  317. },
  318. "GetSampledRequests":{
  319. "name":"GetSampledRequests",
  320. "http":{
  321. "method":"POST",
  322. "requestUri":"/"
  323. },
  324. "input":{"shape":"GetSampledRequestsRequest"},
  325. "output":{"shape":"GetSampledRequestsResponse"},
  326. "errors":[
  327. {"shape":"WAFNonexistentItemException"},
  328. {"shape":"WAFInternalErrorException"}
  329. ]
  330. },
  331. "GetSizeConstraintSet":{
  332. "name":"GetSizeConstraintSet",
  333. "http":{
  334. "method":"POST",
  335. "requestUri":"/"
  336. },
  337. "input":{"shape":"GetSizeConstraintSetRequest"},
  338. "output":{"shape":"GetSizeConstraintSetResponse"},
  339. "errors":[
  340. {"shape":"WAFInternalErrorException"},
  341. {"shape":"WAFInvalidAccountException"},
  342. {"shape":"WAFNonexistentItemException"}
  343. ]
  344. },
  345. "GetSqlInjectionMatchSet":{
  346. "name":"GetSqlInjectionMatchSet",
  347. "http":{
  348. "method":"POST",
  349. "requestUri":"/"
  350. },
  351. "input":{"shape":"GetSqlInjectionMatchSetRequest"},
  352. "output":{"shape":"GetSqlInjectionMatchSetResponse"},
  353. "errors":[
  354. {"shape":"WAFInternalErrorException"},
  355. {"shape":"WAFInvalidAccountException"},
  356. {"shape":"WAFNonexistentItemException"}
  357. ]
  358. },
  359. "GetWebACL":{
  360. "name":"GetWebACL",
  361. "http":{
  362. "method":"POST",
  363. "requestUri":"/"
  364. },
  365. "input":{"shape":"GetWebACLRequest"},
  366. "output":{"shape":"GetWebACLResponse"},
  367. "errors":[
  368. {"shape":"WAFInternalErrorException"},
  369. {"shape":"WAFInvalidAccountException"},
  370. {"shape":"WAFNonexistentItemException"}
  371. ]
  372. },
  373. "GetXssMatchSet":{
  374. "name":"GetXssMatchSet",
  375. "http":{
  376. "method":"POST",
  377. "requestUri":"/"
  378. },
  379. "input":{"shape":"GetXssMatchSetRequest"},
  380. "output":{"shape":"GetXssMatchSetResponse"},
  381. "errors":[
  382. {"shape":"WAFInternalErrorException"},
  383. {"shape":"WAFInvalidAccountException"},
  384. {"shape":"WAFNonexistentItemException"}
  385. ]
  386. },
  387. "ListByteMatchSets":{
  388. "name":"ListByteMatchSets",
  389. "http":{
  390. "method":"POST",
  391. "requestUri":"/"
  392. },
  393. "input":{"shape":"ListByteMatchSetsRequest"},
  394. "output":{"shape":"ListByteMatchSetsResponse"},
  395. "errors":[
  396. {"shape":"WAFInternalErrorException"},
  397. {"shape":"WAFInvalidAccountException"}
  398. ]
  399. },
  400. "ListIPSets":{
  401. "name":"ListIPSets",
  402. "http":{
  403. "method":"POST",
  404. "requestUri":"/"
  405. },
  406. "input":{"shape":"ListIPSetsRequest"},
  407. "output":{"shape":"ListIPSetsResponse"},
  408. "errors":[
  409. {"shape":"WAFInternalErrorException"},
  410. {"shape":"WAFInvalidAccountException"}
  411. ]
  412. },
  413. "ListRules":{
  414. "name":"ListRules",
  415. "http":{
  416. "method":"POST",
  417. "requestUri":"/"
  418. },
  419. "input":{"shape":"ListRulesRequest"},
  420. "output":{"shape":"ListRulesResponse"},
  421. "errors":[
  422. {"shape":"WAFInternalErrorException"},
  423. {"shape":"WAFInvalidAccountException"}
  424. ]
  425. },
  426. "ListSizeConstraintSets":{
  427. "name":"ListSizeConstraintSets",
  428. "http":{
  429. "method":"POST",
  430. "requestUri":"/"
  431. },
  432. "input":{"shape":"ListSizeConstraintSetsRequest"},
  433. "output":{"shape":"ListSizeConstraintSetsResponse"},
  434. "errors":[
  435. {"shape":"WAFInternalErrorException"},
  436. {"shape":"WAFInvalidAccountException"}
  437. ]
  438. },
  439. "ListSqlInjectionMatchSets":{
  440. "name":"ListSqlInjectionMatchSets",
  441. "http":{
  442. "method":"POST",
  443. "requestUri":"/"
  444. },
  445. "input":{"shape":"ListSqlInjectionMatchSetsRequest"},
  446. "output":{"shape":"ListSqlInjectionMatchSetsResponse"},
  447. "errors":[
  448. {"shape":"WAFInternalErrorException"},
  449. {"shape":"WAFInvalidAccountException"}
  450. ]
  451. },
  452. "ListWebACLs":{
  453. "name":"ListWebACLs",
  454. "http":{
  455. "method":"POST",
  456. "requestUri":"/"
  457. },
  458. "input":{"shape":"ListWebACLsRequest"},
  459. "output":{"shape":"ListWebACLsResponse"},
  460. "errors":[
  461. {"shape":"WAFInternalErrorException"},
  462. {"shape":"WAFInvalidAccountException"}
  463. ]
  464. },
  465. "ListXssMatchSets":{
  466. "name":"ListXssMatchSets",
  467. "http":{
  468. "method":"POST",
  469. "requestUri":"/"
  470. },
  471. "input":{"shape":"ListXssMatchSetsRequest"},
  472. "output":{"shape":"ListXssMatchSetsResponse"},
  473. "errors":[
  474. {"shape":"WAFInternalErrorException"},
  475. {"shape":"WAFInvalidAccountException"}
  476. ]
  477. },
  478. "UpdateByteMatchSet":{
  479. "name":"UpdateByteMatchSet",
  480. "http":{
  481. "method":"POST",
  482. "requestUri":"/"
  483. },
  484. "input":{"shape":"UpdateByteMatchSetRequest"},
  485. "output":{"shape":"UpdateByteMatchSetResponse"},
  486. "errors":[
  487. {"shape":"WAFInternalErrorException"},
  488. {"shape":"WAFInvalidAccountException"},
  489. {"shape":"WAFInvalidOperationException"},
  490. {"shape":"WAFInvalidParameterException"},
  491. {"shape":"WAFNonexistentContainerException"},
  492. {"shape":"WAFNonexistentItemException"},
  493. {"shape":"WAFStaleDataException"},
  494. {"shape":"WAFLimitsExceededException"}
  495. ]
  496. },
  497. "UpdateIPSet":{
  498. "name":"UpdateIPSet",
  499. "http":{
  500. "method":"POST",
  501. "requestUri":"/"
  502. },
  503. "input":{"shape":"UpdateIPSetRequest"},
  504. "output":{"shape":"UpdateIPSetResponse"},
  505. "errors":[
  506. {"shape":"WAFStaleDataException"},
  507. {"shape":"WAFInternalErrorException"},
  508. {"shape":"WAFInvalidAccountException"},
  509. {"shape":"WAFInvalidOperationException"},
  510. {"shape":"WAFInvalidParameterException"},
  511. {"shape":"WAFNonexistentContainerException"},
  512. {"shape":"WAFNonexistentItemException"},
  513. {"shape":"WAFReferencedItemException"},
  514. {"shape":"WAFLimitsExceededException"}
  515. ]
  516. },
  517. "UpdateRule":{
  518. "name":"UpdateRule",
  519. "http":{
  520. "method":"POST",
  521. "requestUri":"/"
  522. },
  523. "input":{"shape":"UpdateRuleRequest"},
  524. "output":{"shape":"UpdateRuleResponse"},
  525. "errors":[
  526. {"shape":"WAFStaleDataException"},
  527. {"shape":"WAFInternalErrorException"},
  528. {"shape":"WAFInvalidAccountException"},
  529. {"shape":"WAFInvalidOperationException"},
  530. {"shape":"WAFInvalidParameterException"},
  531. {"shape":"WAFNonexistentContainerException"},
  532. {"shape":"WAFNonexistentItemException"},
  533. {"shape":"WAFReferencedItemException"},
  534. {"shape":"WAFLimitsExceededException"}
  535. ]
  536. },
  537. "UpdateSizeConstraintSet":{
  538. "name":"UpdateSizeConstraintSet",
  539. "http":{
  540. "method":"POST",
  541. "requestUri":"/"
  542. },
  543. "input":{"shape":"UpdateSizeConstraintSetRequest"},
  544. "output":{"shape":"UpdateSizeConstraintSetResponse"},
  545. "errors":[
  546. {"shape":"WAFStaleDataException"},
  547. {"shape":"WAFInternalErrorException"},
  548. {"shape":"WAFInvalidAccountException"},
  549. {"shape":"WAFInvalidOperationException"},
  550. {"shape":"WAFInvalidParameterException"},
  551. {"shape":"WAFNonexistentContainerException"},
  552. {"shape":"WAFNonexistentItemException"},
  553. {"shape":"WAFReferencedItemException"},
  554. {"shape":"WAFLimitsExceededException"}
  555. ]
  556. },
  557. "UpdateSqlInjectionMatchSet":{
  558. "name":"UpdateSqlInjectionMatchSet",
  559. "http":{
  560. "method":"POST",
  561. "requestUri":"/"
  562. },
  563. "input":{"shape":"UpdateSqlInjectionMatchSetRequest"},
  564. "output":{"shape":"UpdateSqlInjectionMatchSetResponse"},
  565. "errors":[
  566. {"shape":"WAFInternalErrorException"},
  567. {"shape":"WAFInvalidAccountException"},
  568. {"shape":"WAFInvalidOperationException"},
  569. {"shape":"WAFInvalidParameterException"},
  570. {"shape":"WAFNonexistentContainerException"},
  571. {"shape":"WAFNonexistentItemException"},
  572. {"shape":"WAFStaleDataException"},
  573. {"shape":"WAFLimitsExceededException"}
  574. ]
  575. },
  576. "UpdateWebACL":{
  577. "name":"UpdateWebACL",
  578. "http":{
  579. "method":"POST",
  580. "requestUri":"/"
  581. },
  582. "input":{"shape":"UpdateWebACLRequest"},
  583. "output":{"shape":"UpdateWebACLResponse"},
  584. "errors":[
  585. {"shape":"WAFStaleDataException"},
  586. {"shape":"WAFInternalErrorException"},
  587. {"shape":"WAFInvalidAccountException"},
  588. {"shape":"WAFInvalidOperationException"},
  589. {"shape":"WAFInvalidParameterException"},
  590. {"shape":"WAFNonexistentContainerException"},
  591. {"shape":"WAFNonexistentItemException"},
  592. {"shape":"WAFReferencedItemException"},
  593. {"shape":"WAFLimitsExceededException"}
  594. ]
  595. },
  596. "UpdateXssMatchSet":{
  597. "name":"UpdateXssMatchSet",
  598. "http":{
  599. "method":"POST",
  600. "requestUri":"/"
  601. },
  602. "input":{"shape":"UpdateXssMatchSetRequest"},
  603. "output":{"shape":"UpdateXssMatchSetResponse"},
  604. "errors":[
  605. {"shape":"WAFInternalErrorException"},
  606. {"shape":"WAFInvalidAccountException"},
  607. {"shape":"WAFInvalidOperationException"},
  608. {"shape":"WAFInvalidParameterException"},
  609. {"shape":"WAFNonexistentContainerException"},
  610. {"shape":"WAFNonexistentItemException"},
  611. {"shape":"WAFStaleDataException"},
  612. {"shape":"WAFLimitsExceededException"}
  613. ]
  614. }
  615. },
  616. "shapes":{
  617. "Action":{"type":"string"},
  618. "ActivatedRule":{
  619. "type":"structure",
  620. "required":[
  621. "Priority",
  622. "RuleId",
  623. "Action"
  624. ],
  625. "members":{
  626. "Priority":{"shape":"RulePriority"},
  627. "RuleId":{"shape":"ResourceId"},
  628. "Action":{"shape":"WafAction"}
  629. }
  630. },
  631. "ActivatedRules":{
  632. "type":"list",
  633. "member":{"shape":"ActivatedRule"}
  634. },
  635. "ByteMatchSet":{
  636. "type":"structure",
  637. "required":[
  638. "ByteMatchSetId",
  639. "ByteMatchTuples"
  640. ],
  641. "members":{
  642. "ByteMatchSetId":{"shape":"ResourceId"},
  643. "Name":{"shape":"ResourceName"},
  644. "ByteMatchTuples":{"shape":"ByteMatchTuples"}
  645. }
  646. },
  647. "ByteMatchSetSummaries":{
  648. "type":"list",
  649. "member":{"shape":"ByteMatchSetSummary"}
  650. },
  651. "ByteMatchSetSummary":{
  652. "type":"structure",
  653. "required":[
  654. "ByteMatchSetId",
  655. "Name"
  656. ],
  657. "members":{
  658. "ByteMatchSetId":{"shape":"ResourceId"},
  659. "Name":{"shape":"ResourceName"}
  660. }
  661. },
  662. "ByteMatchSetUpdate":{
  663. "type":"structure",
  664. "required":[
  665. "Action",
  666. "ByteMatchTuple"
  667. ],
  668. "members":{
  669. "Action":{"shape":"ChangeAction"},
  670. "ByteMatchTuple":{"shape":"ByteMatchTuple"}
  671. }
  672. },
  673. "ByteMatchSetUpdates":{
  674. "type":"list",
  675. "member":{"shape":"ByteMatchSetUpdate"}
  676. },
  677. "ByteMatchTargetString":{"type":"blob"},
  678. "ByteMatchTuple":{
  679. "type":"structure",
  680. "required":[
  681. "FieldToMatch",
  682. "TargetString",
  683. "TextTransformation",
  684. "PositionalConstraint"
  685. ],
  686. "members":{
  687. "FieldToMatch":{"shape":"FieldToMatch"},
  688. "TargetString":{"shape":"ByteMatchTargetString"},
  689. "TextTransformation":{"shape":"TextTransformation"},
  690. "PositionalConstraint":{"shape":"PositionalConstraint"}
  691. }
  692. },
  693. "ByteMatchTuples":{
  694. "type":"list",
  695. "member":{"shape":"ByteMatchTuple"}
  696. },
  697. "ChangeAction":{
  698. "type":"string",
  699. "enum":[
  700. "INSERT",
  701. "DELETE"
  702. ]
  703. },
  704. "ChangeToken":{"type":"string"},
  705. "ChangeTokenStatus":{
  706. "type":"string",
  707. "enum":[
  708. "PROVISIONED",
  709. "PENDING",
  710. "INSYNC"
  711. ]
  712. },
  713. "ComparisonOperator":{
  714. "type":"string",
  715. "enum":[
  716. "EQ",
  717. "NE",
  718. "LE",
  719. "LT",
  720. "GE",
  721. "GT"
  722. ]
  723. },
  724. "Country":{"type":"string"},
  725. "CreateByteMatchSetRequest":{
  726. "type":"structure",
  727. "required":[
  728. "Name",
  729. "ChangeToken"
  730. ],
  731. "members":{
  732. "Name":{"shape":"ResourceName"},
  733. "ChangeToken":{"shape":"ChangeToken"}
  734. }
  735. },
  736. "CreateByteMatchSetResponse":{
  737. "type":"structure",
  738. "members":{
  739. "ByteMatchSet":{"shape":"ByteMatchSet"},
  740. "ChangeToken":{"shape":"ChangeToken"}
  741. }
  742. },
  743. "CreateIPSetRequest":{
  744. "type":"structure",
  745. "required":[
  746. "Name",
  747. "ChangeToken"
  748. ],
  749. "members":{
  750. "Name":{"shape":"ResourceName"},
  751. "ChangeToken":{"shape":"ChangeToken"}
  752. }
  753. },
  754. "CreateIPSetResponse":{
  755. "type":"structure",
  756. "members":{
  757. "IPSet":{"shape":"IPSet"},
  758. "ChangeToken":{"shape":"ChangeToken"}
  759. }
  760. },
  761. "CreateRuleRequest":{
  762. "type":"structure",
  763. "required":[
  764. "Name",
  765. "MetricName",
  766. "ChangeToken"
  767. ],
  768. "members":{
  769. "Name":{"shape":"ResourceName"},
  770. "MetricName":{"shape":"MetricName"},
  771. "ChangeToken":{"shape":"ChangeToken"}
  772. }
  773. },
  774. "CreateRuleResponse":{
  775. "type":"structure",
  776. "members":{
  777. "Rule":{"shape":"Rule"},
  778. "ChangeToken":{"shape":"ChangeToken"}
  779. }
  780. },
  781. "CreateSizeConstraintSetRequest":{
  782. "type":"structure",
  783. "required":[
  784. "Name",
  785. "ChangeToken"
  786. ],
  787. "members":{
  788. "Name":{"shape":"ResourceName"},
  789. "ChangeToken":{"shape":"ChangeToken"}
  790. }
  791. },
  792. "CreateSizeConstraintSetResponse":{
  793. "type":"structure",
  794. "members":{
  795. "SizeConstraintSet":{"shape":"SizeConstraintSet"},
  796. "ChangeToken":{"shape":"ChangeToken"}
  797. }
  798. },
  799. "CreateSqlInjectionMatchSetRequest":{
  800. "type":"structure",
  801. "required":[
  802. "Name",
  803. "ChangeToken"
  804. ],
  805. "members":{
  806. "Name":{"shape":"ResourceName"},
  807. "ChangeToken":{"shape":"ChangeToken"}
  808. }
  809. },
  810. "CreateSqlInjectionMatchSetResponse":{
  811. "type":"structure",
  812. "members":{
  813. "SqlInjectionMatchSet":{"shape":"SqlInjectionMatchSet"},
  814. "ChangeToken":{"shape":"ChangeToken"}
  815. }
  816. },
  817. "CreateWebACLRequest":{
  818. "type":"structure",
  819. "required":[
  820. "Name",
  821. "MetricName",
  822. "DefaultAction",
  823. "ChangeToken"
  824. ],
  825. "members":{
  826. "Name":{"shape":"ResourceName"},
  827. "MetricName":{"shape":"MetricName"},
  828. "DefaultAction":{"shape":"WafAction"},
  829. "ChangeToken":{"shape":"ChangeToken"}
  830. }
  831. },
  832. "CreateWebACLResponse":{
  833. "type":"structure",
  834. "members":{
  835. "WebACL":{"shape":"WebACL"},
  836. "ChangeToken":{"shape":"ChangeToken"}
  837. }
  838. },
  839. "CreateXssMatchSetRequest":{
  840. "type":"structure",
  841. "required":[
  842. "Name",
  843. "ChangeToken"
  844. ],
  845. "members":{
  846. "Name":{"shape":"ResourceName"},
  847. "ChangeToken":{"shape":"ChangeToken"}
  848. }
  849. },
  850. "CreateXssMatchSetResponse":{
  851. "type":"structure",
  852. "members":{
  853. "XssMatchSet":{"shape":"XssMatchSet"},
  854. "ChangeToken":{"shape":"ChangeToken"}
  855. }
  856. },
  857. "DeleteByteMatchSetRequest":{
  858. "type":"structure",
  859. "required":[
  860. "ByteMatchSetId",
  861. "ChangeToken"
  862. ],
  863. "members":{
  864. "ByteMatchSetId":{"shape":"ResourceId"},
  865. "ChangeToken":{"shape":"ChangeToken"}
  866. }
  867. },
  868. "DeleteByteMatchSetResponse":{
  869. "type":"structure",
  870. "members":{
  871. "ChangeToken":{"shape":"ChangeToken"}
  872. }
  873. },
  874. "DeleteIPSetRequest":{
  875. "type":"structure",
  876. "required":[
  877. "IPSetId",
  878. "ChangeToken"
  879. ],
  880. "members":{
  881. "IPSetId":{"shape":"ResourceId"},
  882. "ChangeToken":{"shape":"ChangeToken"}
  883. }
  884. },
  885. "DeleteIPSetResponse":{
  886. "type":"structure",
  887. "members":{
  888. "ChangeToken":{"shape":"ChangeToken"}
  889. }
  890. },
  891. "DeleteRuleRequest":{
  892. "type":"structure",
  893. "required":[
  894. "RuleId",
  895. "ChangeToken"
  896. ],
  897. "members":{
  898. "RuleId":{"shape":"ResourceId"},
  899. "ChangeToken":{"shape":"ChangeToken"}
  900. }
  901. },
  902. "DeleteRuleResponse":{
  903. "type":"structure",
  904. "members":{
  905. "ChangeToken":{"shape":"ChangeToken"}
  906. }
  907. },
  908. "DeleteSizeConstraintSetRequest":{
  909. "type":"structure",
  910. "required":[
  911. "SizeConstraintSetId",
  912. "ChangeToken"
  913. ],
  914. "members":{
  915. "SizeConstraintSetId":{"shape":"ResourceId"},
  916. "ChangeToken":{"shape":"ChangeToken"}
  917. }
  918. },
  919. "DeleteSizeConstraintSetResponse":{
  920. "type":"structure",
  921. "members":{
  922. "ChangeToken":{"shape":"ChangeToken"}
  923. }
  924. },
  925. "DeleteSqlInjectionMatchSetRequest":{
  926. "type":"structure",
  927. "required":[
  928. "SqlInjectionMatchSetId",
  929. "ChangeToken"
  930. ],
  931. "members":{
  932. "SqlInjectionMatchSetId":{"shape":"ResourceId"},
  933. "ChangeToken":{"shape":"ChangeToken"}
  934. }
  935. },
  936. "DeleteSqlInjectionMatchSetResponse":{
  937. "type":"structure",
  938. "members":{
  939. "ChangeToken":{"shape":"ChangeToken"}
  940. }
  941. },
  942. "DeleteWebACLRequest":{
  943. "type":"structure",
  944. "required":[
  945. "WebACLId",
  946. "ChangeToken"
  947. ],
  948. "members":{
  949. "WebACLId":{"shape":"ResourceId"},
  950. "ChangeToken":{"shape":"ChangeToken"}
  951. }
  952. },
  953. "DeleteWebACLResponse":{
  954. "type":"structure",
  955. "members":{
  956. "ChangeToken":{"shape":"ChangeToken"}
  957. }
  958. },
  959. "DeleteXssMatchSetRequest":{
  960. "type":"structure",
  961. "required":[
  962. "XssMatchSetId",
  963. "ChangeToken"
  964. ],
  965. "members":{
  966. "XssMatchSetId":{"shape":"ResourceId"},
  967. "ChangeToken":{"shape":"ChangeToken"}
  968. }
  969. },
  970. "DeleteXssMatchSetResponse":{
  971. "type":"structure",
  972. "members":{
  973. "ChangeToken":{"shape":"ChangeToken"}
  974. }
  975. },
  976. "FieldToMatch":{
  977. "type":"structure",
  978. "required":["Type"],
  979. "members":{
  980. "Type":{"shape":"MatchFieldType"},
  981. "Data":{"shape":"MatchFieldData"}
  982. }
  983. },
  984. "GetByteMatchSetRequest":{
  985. "type":"structure",
  986. "required":["ByteMatchSetId"],
  987. "members":{
  988. "ByteMatchSetId":{"shape":"ResourceId"}
  989. }
  990. },
  991. "GetByteMatchSetResponse":{
  992. "type":"structure",
  993. "members":{
  994. "ByteMatchSet":{"shape":"ByteMatchSet"}
  995. }
  996. },
  997. "GetChangeTokenRequest":{
  998. "type":"structure",
  999. "members":{
  1000. }
  1001. },
  1002. "GetChangeTokenResponse":{
  1003. "type":"structure",
  1004. "members":{
  1005. "ChangeToken":{"shape":"ChangeToken"}
  1006. }
  1007. },
  1008. "GetChangeTokenStatusRequest":{
  1009. "type":"structure",
  1010. "required":["ChangeToken"],
  1011. "members":{
  1012. "ChangeToken":{"shape":"ChangeToken"}
  1013. }
  1014. },
  1015. "GetChangeTokenStatusResponse":{
  1016. "type":"structure",
  1017. "members":{
  1018. "ChangeTokenStatus":{"shape":"ChangeTokenStatus"}
  1019. }
  1020. },
  1021. "GetIPSetRequest":{
  1022. "type":"structure",
  1023. "required":["IPSetId"],
  1024. "members":{
  1025. "IPSetId":{"shape":"ResourceId"}
  1026. }
  1027. },
  1028. "GetIPSetResponse":{
  1029. "type":"structure",
  1030. "members":{
  1031. "IPSet":{"shape":"IPSet"}
  1032. }
  1033. },
  1034. "GetRuleRequest":{
  1035. "type":"structure",
  1036. "required":["RuleId"],
  1037. "members":{
  1038. "RuleId":{"shape":"ResourceId"}
  1039. }
  1040. },
  1041. "GetRuleResponse":{
  1042. "type":"structure",
  1043. "members":{
  1044. "Rule":{"shape":"Rule"}
  1045. }
  1046. },
  1047. "GetSampledRequestsRequest":{
  1048. "type":"structure",
  1049. "required":[
  1050. "WebAclId",
  1051. "RuleId",
  1052. "TimeWindow",
  1053. "MaxItems"
  1054. ],
  1055. "members":{
  1056. "WebAclId":{"shape":"ResourceId"},
  1057. "RuleId":{"shape":"ResourceId"},
  1058. "TimeWindow":{"shape":"TimeWindow"},
  1059. "MaxItems":{"shape":"ListMaxItems"}
  1060. }
  1061. },
  1062. "GetSampledRequestsResponse":{
  1063. "type":"structure",
  1064. "members":{
  1065. "SampledRequests":{"shape":"SampledHTTPRequests"},
  1066. "PopulationSize":{"shape":"PopulationSize"},
  1067. "TimeWindow":{"shape":"TimeWindow"}
  1068. }
  1069. },
  1070. "GetSizeConstraintSetRequest":{
  1071. "type":"structure",
  1072. "required":["SizeConstraintSetId"],
  1073. "members":{
  1074. "SizeConstraintSetId":{"shape":"ResourceId"}
  1075. }
  1076. },
  1077. "GetSizeConstraintSetResponse":{
  1078. "type":"structure",
  1079. "members":{
  1080. "SizeConstraintSet":{"shape":"SizeConstraintSet"}
  1081. }
  1082. },
  1083. "GetSqlInjectionMatchSetRequest":{
  1084. "type":"structure",
  1085. "required":["SqlInjectionMatchSetId"],
  1086. "members":{
  1087. "SqlInjectionMatchSetId":{"shape":"ResourceId"}
  1088. }
  1089. },
  1090. "GetSqlInjectionMatchSetResponse":{
  1091. "type":"structure",
  1092. "members":{
  1093. "SqlInjectionMatchSet":{"shape":"SqlInjectionMatchSet"}
  1094. }
  1095. },
  1096. "GetWebACLRequest":{
  1097. "type":"structure",
  1098. "required":["WebACLId"],
  1099. "members":{
  1100. "WebACLId":{"shape":"ResourceId"}
  1101. }
  1102. },
  1103. "GetWebACLResponse":{
  1104. "type":"structure",
  1105. "members":{
  1106. "WebACL":{"shape":"WebACL"}
  1107. }
  1108. },
  1109. "GetXssMatchSetRequest":{
  1110. "type":"structure",
  1111. "required":["XssMatchSetId"],
  1112. "members":{
  1113. "XssMatchSetId":{"shape":"ResourceId"}
  1114. }
  1115. },
  1116. "GetXssMatchSetResponse":{
  1117. "type":"structure",
  1118. "members":{
  1119. "XssMatchSet":{"shape":"XssMatchSet"}
  1120. }
  1121. },
  1122. "HTTPHeader":{
  1123. "type":"structure",
  1124. "members":{
  1125. "Name":{"shape":"HeaderName"},
  1126. "Value":{"shape":"HeaderValue"}
  1127. }
  1128. },
  1129. "HTTPHeaders":{
  1130. "type":"list",
  1131. "member":{"shape":"HTTPHeader"}
  1132. },
  1133. "HTTPMethod":{"type":"string"},
  1134. "HTTPRequest":{
  1135. "type":"structure",
  1136. "members":{
  1137. "ClientIP":{"shape":"IPString"},
  1138. "Country":{"shape":"Country"},
  1139. "URI":{"shape":"URIString"},
  1140. "Method":{"shape":"HTTPMethod"},
  1141. "HTTPVersion":{"shape":"HTTPVersion"},
  1142. "Headers":{"shape":"HTTPHeaders"}
  1143. }
  1144. },
  1145. "HTTPVersion":{"type":"string"},
  1146. "HeaderName":{"type":"string"},
  1147. "HeaderValue":{"type":"string"},
  1148. "IPSet":{
  1149. "type":"structure",
  1150. "required":[
  1151. "IPSetId",
  1152. "IPSetDescriptors"
  1153. ],
  1154. "members":{
  1155. "IPSetId":{"shape":"ResourceId"},
  1156. "Name":{"shape":"ResourceName"},
  1157. "IPSetDescriptors":{"shape":"IPSetDescriptors"}
  1158. }
  1159. },
  1160. "IPSetDescriptor":{
  1161. "type":"structure",
  1162. "required":[
  1163. "Type",
  1164. "Value"
  1165. ],
  1166. "members":{
  1167. "Type":{"shape":"IPSetDescriptorType"},
  1168. "Value":{"shape":"IPSetDescriptorValue"}
  1169. }
  1170. },
  1171. "IPSetDescriptorType":{
  1172. "type":"string",
  1173. "enum":["IPV4"]
  1174. },
  1175. "IPSetDescriptorValue":{"type":"string"},
  1176. "IPSetDescriptors":{
  1177. "type":"list",
  1178. "member":{"shape":"IPSetDescriptor"}
  1179. },
  1180. "IPSetSummaries":{
  1181. "type":"list",
  1182. "member":{"shape":"IPSetSummary"}
  1183. },
  1184. "IPSetSummary":{
  1185. "type":"structure",
  1186. "required":[
  1187. "IPSetId",
  1188. "Name"
  1189. ],
  1190. "members":{
  1191. "IPSetId":{"shape":"ResourceId"},
  1192. "Name":{"shape":"ResourceName"}
  1193. }
  1194. },
  1195. "IPSetUpdate":{
  1196. "type":"structure",
  1197. "required":[
  1198. "Action",
  1199. "IPSetDescriptor"
  1200. ],
  1201. "members":{
  1202. "Action":{"shape":"ChangeAction"},
  1203. "IPSetDescriptor":{"shape":"IPSetDescriptor"}
  1204. }
  1205. },
  1206. "IPSetUpdates":{
  1207. "type":"list",
  1208. "member":{"shape":"IPSetUpdate"}
  1209. },
  1210. "IPString":{"type":"string"},
  1211. "ListByteMatchSetsRequest":{
  1212. "type":"structure",
  1213. "required":["Limit"],
  1214. "members":{
  1215. "NextMarker":{"shape":"NextMarker"},
  1216. "Limit":{"shape":"PaginationLimit"}
  1217. }
  1218. },
  1219. "ListByteMatchSetsResponse":{
  1220. "type":"structure",
  1221. "members":{
  1222. "NextMarker":{"shape":"NextMarker"},
  1223. "ByteMatchSets":{"shape":"ByteMatchSetSummaries"}
  1224. }
  1225. },
  1226. "ListIPSetsRequest":{
  1227. "type":"structure",
  1228. "required":["Limit"],
  1229. "members":{
  1230. "NextMarker":{"shape":"NextMarker"},
  1231. "Limit":{"shape":"PaginationLimit"}
  1232. }
  1233. },
  1234. "ListIPSetsResponse":{
  1235. "type":"structure",
  1236. "members":{
  1237. "NextMarker":{"shape":"NextMarker"},
  1238. "IPSets":{"shape":"IPSetSummaries"}
  1239. }
  1240. },
  1241. "ListMaxItems":{
  1242. "type":"long",
  1243. "max":100,
  1244. "min":1
  1245. },
  1246. "ListRulesRequest":{
  1247. "type":"structure",
  1248. "required":["Limit"],
  1249. "members":{
  1250. "NextMarker":{"shape":"NextMarker"},
  1251. "Limit":{"shape":"PaginationLimit"}
  1252. }
  1253. },
  1254. "ListRulesResponse":{
  1255. "type":"structure",
  1256. "members":{
  1257. "NextMarker":{"shape":"NextMarker"},
  1258. "Rules":{"shape":"RuleSummaries"}
  1259. }
  1260. },
  1261. "ListSizeConstraintSetsRequest":{
  1262. "type":"structure",
  1263. "required":["Limit"],
  1264. "members":{
  1265. "NextMarker":{"shape":"NextMarker"},
  1266. "Limit":{"shape":"PaginationLimit"}
  1267. }
  1268. },
  1269. "ListSizeConstraintSetsResponse":{
  1270. "type":"structure",
  1271. "members":{
  1272. "NextMarker":{"shape":"NextMarker"},
  1273. "SizeConstraintSets":{"shape":"SizeConstraintSetSummaries"}
  1274. }
  1275. },
  1276. "ListSqlInjectionMatchSetsRequest":{
  1277. "type":"structure",
  1278. "required":["Limit"],
  1279. "members":{
  1280. "NextMarker":{"shape":"NextMarker"},
  1281. "Limit":{"shape":"PaginationLimit"}
  1282. }
  1283. },
  1284. "ListSqlInjectionMatchSetsResponse":{
  1285. "type":"structure",
  1286. "members":{
  1287. "NextMarker":{"shape":"NextMarker"},
  1288. "SqlInjectionMatchSets":{"shape":"SqlInjectionMatchSetSummaries"}
  1289. }
  1290. },
  1291. "ListWebACLsRequest":{
  1292. "type":"structure",
  1293. "required":["Limit"],
  1294. "members":{
  1295. "NextMarker":{"shape":"NextMarker"},
  1296. "Limit":{"shape":"PaginationLimit"}
  1297. }
  1298. },
  1299. "ListWebACLsResponse":{
  1300. "type":"structure",
  1301. "members":{
  1302. "NextMarker":{"shape":"NextMarker"},
  1303. "WebACLs":{"shape":"WebACLSummaries"}
  1304. }
  1305. },
  1306. "ListXssMatchSetsRequest":{
  1307. "type":"structure",
  1308. "required":["Limit"],
  1309. "members":{
  1310. "NextMarker":{"shape":"NextMarker"},
  1311. "Limit":{"shape":"PaginationLimit"}
  1312. }
  1313. },
  1314. "ListXssMatchSetsResponse":{
  1315. "type":"structure",
  1316. "members":{
  1317. "NextMarker":{"shape":"NextMarker"},
  1318. "XssMatchSets":{"shape":"XssMatchSetSummaries"}
  1319. }
  1320. },
  1321. "MatchFieldData":{"type":"string"},
  1322. "MatchFieldType":{
  1323. "type":"string",
  1324. "enum":[
  1325. "URI",
  1326. "QUERY_STRING",
  1327. "HEADER",
  1328. "METHOD",
  1329. "BODY"
  1330. ]
  1331. },
  1332. "MetricName":{"type":"string"},
  1333. "Negated":{"type":"boolean"},
  1334. "NextMarker":{
  1335. "type":"string",
  1336. "min":1
  1337. },
  1338. "PaginationLimit":{
  1339. "type":"integer",
  1340. "max":100,
  1341. "min":1
  1342. },
  1343. "ParameterExceptionField":{
  1344. "type":"string",
  1345. "enum":[
  1346. "CHANGE_ACTION",
  1347. "WAF_ACTION",
  1348. "PREDICATE_TYPE",
  1349. "IPSET_TYPE",
  1350. "BYTE_MATCH_FIELD_TYPE",
  1351. "SQL_INJECTION_MATCH_FIELD_TYPE",
  1352. "BYTE_MATCH_TEXT_TRANSFORMATION",
  1353. "BYTE_MATCH_POSITIONAL_CONSTRAINT",
  1354. "SIZE_CONSTRAINT_COMPARISON_OPERATOR"
  1355. ]
  1356. },
  1357. "ParameterExceptionParameter":{
  1358. "type":"string",
  1359. "min":1
  1360. },
  1361. "ParameterExceptionReason":{
  1362. "type":"string",
  1363. "enum":[
  1364. "INVALID_OPTION",
  1365. "ILLEGAL_COMBINATION"
  1366. ]
  1367. },
  1368. "PopulationSize":{"type":"long"},
  1369. "PositionalConstraint":{
  1370. "type":"string",
  1371. "enum":[
  1372. "EXACTLY",
  1373. "STARTS_WITH",
  1374. "ENDS_WITH",
  1375. "CONTAINS",
  1376. "CONTAINS_WORD"
  1377. ]
  1378. },
  1379. "Predicate":{
  1380. "type":"structure",
  1381. "required":[
  1382. "Negated",
  1383. "Type",
  1384. "DataId"
  1385. ],
  1386. "members":{
  1387. "Negated":{"shape":"Negated"},
  1388. "Type":{"shape":"PredicateType"},
  1389. "DataId":{"shape":"ResourceId"}
  1390. }
  1391. },
  1392. "PredicateType":{
  1393. "type":"string",
  1394. "enum":[
  1395. "IPMatch",
  1396. "ByteMatch",
  1397. "SqlInjectionMatch",
  1398. "SizeConstraint",
  1399. "XssMatch"
  1400. ]
  1401. },
  1402. "Predicates":{
  1403. "type":"list",
  1404. "member":{"shape":"Predicate"}
  1405. },
  1406. "ResourceId":{
  1407. "type":"string",
  1408. "max":128,
  1409. "min":1
  1410. },
  1411. "ResourceName":{
  1412. "type":"string",
  1413. "max":128,
  1414. "min":1
  1415. },
  1416. "Rule":{
  1417. "type":"structure",
  1418. "required":[
  1419. "RuleId",
  1420. "Predicates"
  1421. ],
  1422. "members":{
  1423. "RuleId":{"shape":"ResourceId"},
  1424. "Name":{"shape":"ResourceName"},
  1425. "MetricName":{"shape":"MetricName"},
  1426. "Predicates":{"shape":"Predicates"}
  1427. }
  1428. },
  1429. "RulePriority":{"type":"integer"},
  1430. "RuleSummaries":{
  1431. "type":"list",
  1432. "member":{"shape":"RuleSummary"}
  1433. },
  1434. "RuleSummary":{
  1435. "type":"structure",
  1436. "required":[
  1437. "RuleId",
  1438. "Name"
  1439. ],
  1440. "members":{
  1441. "RuleId":{"shape":"ResourceId"},
  1442. "Name":{"shape":"ResourceName"}
  1443. }
  1444. },
  1445. "RuleUpdate":{
  1446. "type":"structure",
  1447. "required":[
  1448. "Action",
  1449. "Predicate"
  1450. ],
  1451. "members":{
  1452. "Action":{"shape":"ChangeAction"},
  1453. "Predicate":{"shape":"Predicate"}
  1454. }
  1455. },
  1456. "RuleUpdates":{
  1457. "type":"list",
  1458. "member":{"shape":"RuleUpdate"}
  1459. },
  1460. "SampleWeight":{
  1461. "type":"long",
  1462. "min":0
  1463. },
  1464. "SampledHTTPRequest":{
  1465. "type":"structure",
  1466. "required":[
  1467. "Request",
  1468. "Weight"
  1469. ],
  1470. "members":{
  1471. "Request":{"shape":"HTTPRequest"},
  1472. "Weight":{"shape":"SampleWeight"},
  1473. "Timestamp":{"shape":"Timestamp"},
  1474. "Action":{"shape":"Action"}
  1475. }
  1476. },
  1477. "SampledHTTPRequests":{
  1478. "type":"list",
  1479. "member":{"shape":"SampledHTTPRequest"}
  1480. },
  1481. "Size":{
  1482. "type":"long",
  1483. "max":21474836480,
  1484. "min":0
  1485. },
  1486. "SizeConstraint":{
  1487. "type":"structure",
  1488. "required":[
  1489. "FieldToMatch",
  1490. "TextTransformation",
  1491. "ComparisonOperator",
  1492. "Size"
  1493. ],
  1494. "members":{
  1495. "FieldToMatch":{"shape":"FieldToMatch"},
  1496. "TextTransformation":{"shape":"TextTransformation"},
  1497. "ComparisonOperator":{"shape":"ComparisonOperator"},
  1498. "Size":{"shape":"Size"}
  1499. }
  1500. },
  1501. "SizeConstraintSet":{
  1502. "type":"structure",
  1503. "required":[
  1504. "SizeConstraintSetId",
  1505. "SizeConstraints"
  1506. ],
  1507. "members":{
  1508. "SizeConstraintSetId":{"shape":"ResourceId"},
  1509. "Name":{"shape":"ResourceName"},
  1510. "SizeConstraints":{"shape":"SizeConstraints"}
  1511. }
  1512. },
  1513. "SizeConstraintSetSummaries":{
  1514. "type":"list",
  1515. "member":{"shape":"SizeConstraintSetSummary"}
  1516. },
  1517. "SizeConstraintSetSummary":{
  1518. "type":"structure",
  1519. "required":[
  1520. "SizeConstraintSetId",
  1521. "Name"
  1522. ],
  1523. "members":{
  1524. "SizeConstraintSetId":{"shape":"ResourceId"},
  1525. "Name":{"shape":"ResourceName"}
  1526. }
  1527. },
  1528. "SizeConstraintSetUpdate":{
  1529. "type":"structure",
  1530. "required":[
  1531. "Action",
  1532. "SizeConstraint"
  1533. ],
  1534. "members":{
  1535. "Action":{"shape":"ChangeAction"},
  1536. "SizeConstraint":{"shape":"SizeConstraint"}
  1537. }
  1538. },
  1539. "SizeConstraintSetUpdates":{
  1540. "type":"list",
  1541. "member":{"shape":"SizeConstraintSetUpdate"}
  1542. },
  1543. "SizeConstraints":{
  1544. "type":"list",
  1545. "member":{"shape":"SizeConstraint"}
  1546. },
  1547. "SqlInjectionMatchSet":{
  1548. "type":"structure",
  1549. "required":[
  1550. "SqlInjectionMatchSetId",
  1551. "SqlInjectionMatchTuples"
  1552. ],
  1553. "members":{
  1554. "SqlInjectionMatchSetId":{"shape":"ResourceId"},
  1555. "Name":{"shape":"ResourceName"},
  1556. "SqlInjectionMatchTuples":{"shape":"SqlInjectionMatchTuples"}
  1557. }
  1558. },
  1559. "SqlInjectionMatchSetSummaries":{
  1560. "type":"list",
  1561. "member":{"shape":"SqlInjectionMatchSetSummary"}
  1562. },
  1563. "SqlInjectionMatchSetSummary":{
  1564. "type":"structure",
  1565. "required":[
  1566. "SqlInjectionMatchSetId",
  1567. "Name"
  1568. ],
  1569. "members":{
  1570. "SqlInjectionMatchSetId":{"shape":"ResourceId"},
  1571. "Name":{"shape":"ResourceName"}
  1572. }
  1573. },
  1574. "SqlInjectionMatchSetUpdate":{
  1575. "type":"structure",
  1576. "required":[
  1577. "Action",
  1578. "SqlInjectionMatchTuple"
  1579. ],
  1580. "members":{
  1581. "Action":{"shape":"ChangeAction"},
  1582. "SqlInjectionMatchTuple":{"shape":"SqlInjectionMatchTuple"}
  1583. }
  1584. },
  1585. "SqlInjectionMatchSetUpdates":{
  1586. "type":"list",
  1587. "member":{"shape":"SqlInjectionMatchSetUpdate"}
  1588. },
  1589. "SqlInjectionMatchTuple":{
  1590. "type":"structure",
  1591. "required":[
  1592. "FieldToMatch",
  1593. "TextTransformation"
  1594. ],
  1595. "members":{
  1596. "FieldToMatch":{"shape":"FieldToMatch"},
  1597. "TextTransformation":{"shape":"TextTransformation"}
  1598. }
  1599. },
  1600. "SqlInjectionMatchTuples":{
  1601. "type":"list",
  1602. "member":{"shape":"SqlInjectionMatchTuple"}
  1603. },
  1604. "TextTransformation":{
  1605. "type":"string",
  1606. "enum":[
  1607. "NONE",
  1608. "COMPRESS_WHITE_SPACE",
  1609. "HTML_ENTITY_DECODE",
  1610. "LOWERCASE",
  1611. "CMD_LINE",
  1612. "URL_DECODE"
  1613. ]
  1614. },
  1615. "TimeWindow":{
  1616. "type":"structure",
  1617. "required":[
  1618. "StartTime",
  1619. "EndTime"
  1620. ],
  1621. "members":{
  1622. "StartTime":{"shape":"Timestamp"},
  1623. "EndTime":{"shape":"Timestamp"}
  1624. }
  1625. },
  1626. "Timestamp":{"type":"timestamp"},
  1627. "URIString":{"type":"string"},
  1628. "UpdateByteMatchSetRequest":{
  1629. "type":"structure",
  1630. "required":[
  1631. "ByteMatchSetId",
  1632. "ChangeToken",
  1633. "Updates"
  1634. ],
  1635. "members":{
  1636. "ByteMatchSetId":{"shape":"ResourceId"},
  1637. "ChangeToken":{"shape":"ChangeToken"},
  1638. "Updates":{"shape":"ByteMatchSetUpdates"}
  1639. }
  1640. },
  1641. "UpdateByteMatchSetResponse":{
  1642. "type":"structure",
  1643. "members":{
  1644. "ChangeToken":{"shape":"ChangeToken"}
  1645. }
  1646. },
  1647. "UpdateIPSetRequest":{
  1648. "type":"structure",
  1649. "required":[
  1650. "IPSetId",
  1651. "ChangeToken",
  1652. "Updates"
  1653. ],
  1654. "members":{
  1655. "IPSetId":{"shape":"ResourceId"},
  1656. "ChangeToken":{"shape":"ChangeToken"},
  1657. "Updates":{"shape":"IPSetUpdates"}
  1658. }
  1659. },
  1660. "UpdateIPSetResponse":{
  1661. "type":"structure",
  1662. "members":{
  1663. "ChangeToken":{"shape":"ChangeToken"}
  1664. }
  1665. },
  1666. "UpdateRuleRequest":{
  1667. "type":"structure",
  1668. "required":[
  1669. "RuleId",
  1670. "ChangeToken",
  1671. "Updates"
  1672. ],
  1673. "members":{
  1674. "RuleId":{"shape":"ResourceId"},
  1675. "ChangeToken":{"shape":"ChangeToken"},
  1676. "Updates":{"shape":"RuleUpdates"}
  1677. }
  1678. },
  1679. "UpdateRuleResponse":{
  1680. "type":"structure",
  1681. "members":{
  1682. "ChangeToken":{"shape":"ChangeToken"}
  1683. }
  1684. },
  1685. "UpdateSizeConstraintSetRequest":{
  1686. "type":"structure",
  1687. "required":[
  1688. "SizeConstraintSetId",
  1689. "ChangeToken",
  1690. "Updates"
  1691. ],
  1692. "members":{
  1693. "SizeConstraintSetId":{"shape":"ResourceId"},
  1694. "ChangeToken":{"shape":"ChangeToken"},
  1695. "Updates":{"shape":"SizeConstraintSetUpdates"}
  1696. }
  1697. },
  1698. "UpdateSizeConstraintSetResponse":{
  1699. "type":"structure",
  1700. "members":{
  1701. "ChangeToken":{"shape":"ChangeToken"}
  1702. }
  1703. },
  1704. "UpdateSqlInjectionMatchSetRequest":{
  1705. "type":"structure",
  1706. "required":[
  1707. "SqlInjectionMatchSetId",
  1708. "ChangeToken",
  1709. "Updates"
  1710. ],
  1711. "members":{
  1712. "SqlInjectionMatchSetId":{"shape":"ResourceId"},
  1713. "ChangeToken":{"shape":"ChangeToken"},
  1714. "Updates":{"shape":"SqlInjectionMatchSetUpdates"}
  1715. }
  1716. },
  1717. "UpdateSqlInjectionMatchSetResponse":{
  1718. "type":"structure",
  1719. "members":{
  1720. "ChangeToken":{"shape":"ChangeToken"}
  1721. }
  1722. },
  1723. "UpdateWebACLRequest":{
  1724. "type":"structure",
  1725. "required":[
  1726. "WebACLId",
  1727. "ChangeToken"
  1728. ],
  1729. "members":{
  1730. "WebACLId":{"shape":"ResourceId"},
  1731. "ChangeToken":{"shape":"ChangeToken"},
  1732. "Updates":{"shape":"WebACLUpdates"},
  1733. "DefaultAction":{"shape":"WafAction"}
  1734. }
  1735. },
  1736. "UpdateWebACLResponse":{
  1737. "type":"structure",
  1738. "members":{
  1739. "ChangeToken":{"shape":"ChangeToken"}
  1740. }
  1741. },
  1742. "UpdateXssMatchSetRequest":{
  1743. "type":"structure",
  1744. "required":[
  1745. "XssMatchSetId",
  1746. "ChangeToken",
  1747. "Updates"
  1748. ],
  1749. "members":{
  1750. "XssMatchSetId":{"shape":"ResourceId"},
  1751. "ChangeToken":{"shape":"ChangeToken"},
  1752. "Updates":{"shape":"XssMatchSetUpdates"}
  1753. }
  1754. },
  1755. "UpdateXssMatchSetResponse":{
  1756. "type":"structure",
  1757. "members":{
  1758. "ChangeToken":{"shape":"ChangeToken"}
  1759. }
  1760. },
  1761. "WAFDisallowedNameException":{
  1762. "type":"structure",
  1763. "members":{
  1764. "message":{"shape":"errorMessage"}
  1765. },
  1766. "exception":true
  1767. },
  1768. "WAFInternalErrorException":{
  1769. "type":"structure",
  1770. "members":{
  1771. "message":{"shape":"errorMessage"}
  1772. },
  1773. "exception":true,
  1774. "fault":true
  1775. },
  1776. "WAFInvalidAccountException":{
  1777. "type":"structure",
  1778. "members":{
  1779. },
  1780. "exception":true
  1781. },
  1782. "WAFInvalidOperationException":{
  1783. "type":"structure",
  1784. "members":{
  1785. "message":{"shape":"errorMessage"}
  1786. },
  1787. "exception":true
  1788. },
  1789. "WAFInvalidParameterException":{
  1790. "type":"structure",
  1791. "members":{
  1792. "field":{"shape":"ParameterExceptionField"},
  1793. "parameter":{"shape":"ParameterExceptionParameter"},
  1794. "reason":{"shape":"ParameterExceptionReason"}
  1795. },
  1796. "exception":true
  1797. },
  1798. "WAFLimitsExceededException":{
  1799. "type":"structure",
  1800. "members":{
  1801. "message":{"shape":"errorMessage"}
  1802. },
  1803. "exception":true
  1804. },
  1805. "WAFNonEmptyEntityException":{
  1806. "type":"structure",
  1807. "members":{
  1808. "message":{"shape":"errorMessage"}
  1809. },
  1810. "exception":true
  1811. },
  1812. "WAFNonexistentContainerException":{
  1813. "type":"structure",
  1814. "members":{
  1815. "message":{"shape":"errorMessage"}
  1816. },
  1817. "exception":true
  1818. },
  1819. "WAFNonexistentItemException":{
  1820. "type":"structure",
  1821. "members":{
  1822. "message":{"shape":"errorMessage"}
  1823. },
  1824. "exception":true
  1825. },
  1826. "WAFReferencedItemException":{
  1827. "type":"structure",
  1828. "members":{
  1829. "message":{"shape":"errorMessage"}
  1830. },
  1831. "exception":true
  1832. },
  1833. "WAFStaleDataException":{
  1834. "type":"structure",
  1835. "members":{
  1836. "message":{"shape":"errorMessage"}
  1837. },
  1838. "exception":true
  1839. },
  1840. "WafAction":{
  1841. "type":"structure",
  1842. "required":["Type"],
  1843. "members":{
  1844. "Type":{"shape":"WafActionType"}
  1845. }
  1846. },
  1847. "WafActionType":{
  1848. "type":"string",
  1849. "enum":[
  1850. "BLOCK",
  1851. "ALLOW",
  1852. "COUNT"
  1853. ]
  1854. },
  1855. "WebACL":{
  1856. "type":"structure",
  1857. "required":[
  1858. "WebACLId",
  1859. "DefaultAction",
  1860. "Rules"
  1861. ],
  1862. "members":{
  1863. "WebACLId":{"shape":"ResourceId"},
  1864. "Name":{"shape":"ResourceName"},
  1865. "MetricName":{"shape":"MetricName"},
  1866. "DefaultAction":{"shape":"WafAction"},
  1867. "Rules":{"shape":"ActivatedRules"}
  1868. }
  1869. },
  1870. "WebACLSummaries":{
  1871. "type":"list",
  1872. "member":{"shape":"WebACLSummary"}
  1873. },
  1874. "WebACLSummary":{
  1875. "type":"structure",
  1876. "required":[
  1877. "WebACLId",
  1878. "Name"
  1879. ],
  1880. "members":{
  1881. "WebACLId":{"shape":"ResourceId"},
  1882. "Name":{"shape":"ResourceName"}
  1883. }
  1884. },
  1885. "WebACLUpdate":{
  1886. "type":"structure",
  1887. "required":[
  1888. "Action",
  1889. "ActivatedRule"
  1890. ],
  1891. "members":{
  1892. "Action":{"shape":"ChangeAction"},
  1893. "ActivatedRule":{"shape":"ActivatedRule"}
  1894. }
  1895. },
  1896. "WebACLUpdates":{
  1897. "type":"list",
  1898. "member":{"shape":"WebACLUpdate"}
  1899. },
  1900. "XssMatchSet":{
  1901. "type":"structure",
  1902. "required":[
  1903. "XssMatchSetId",
  1904. "XssMatchTuples"
  1905. ],
  1906. "members":{
  1907. "XssMatchSetId":{"shape":"ResourceId"},
  1908. "Name":{"shape":"ResourceName"},
  1909. "XssMatchTuples":{"shape":"XssMatchTuples"}
  1910. }
  1911. },
  1912. "XssMatchSetSummaries":{
  1913. "type":"list",
  1914. "member":{"shape":"XssMatchSetSummary"}
  1915. },
  1916. "XssMatchSetSummary":{
  1917. "type":"structure",
  1918. "required":[
  1919. "XssMatchSetId",
  1920. "Name"
  1921. ],
  1922. "members":{
  1923. "XssMatchSetId":{"shape":"ResourceId"},
  1924. "Name":{"shape":"ResourceName"}
  1925. }
  1926. },
  1927. "XssMatchSetUpdate":{
  1928. "type":"structure",
  1929. "required":[
  1930. "Action",
  1931. "XssMatchTuple"
  1932. ],
  1933. "members":{
  1934. "Action":{"shape":"ChangeAction"},
  1935. "XssMatchTuple":{"shape":"XssMatchTuple"}
  1936. }
  1937. },
  1938. "XssMatchSetUpdates":{
  1939. "type":"list",
  1940. "member":{"shape":"XssMatchSetUpdate"}
  1941. },
  1942. "XssMatchTuple":{
  1943. "type":"structure",
  1944. "required":[
  1945. "FieldToMatch",
  1946. "TextTransformation"
  1947. ],
  1948. "members":{
  1949. "FieldToMatch":{"shape":"FieldToMatch"},
  1950. "TextTransformation":{"shape":"TextTransformation"}
  1951. }
  1952. },
  1953. "XssMatchTuples":{
  1954. "type":"list",
  1955. "member":{"shape":"XssMatchTuple"}
  1956. },
  1957. "errorMessage":{"type":"string"}
  1958. }
  1959. }