12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570(* generated by: awso-codegen generate-all --botocore-data vendor/botocore/botocore/data -o aws --runtime-dir lib/runtime/awso --cli-dir awso-cli *)openAwsoopen!Import[@@@warning"-32"]letservice=Service.network_firewallletapiVersion="2020-11-12"letendpointPrefix="network-firewall"letserviceFullName="AWS Network Firewall"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="Network Firewall"lettargetPrefix="NetworkFirewall_20201112"letsimple_to_jsonto_valuex=Botodata.Json.value_to_json_scalar(to_valuex)letcomposed_to_jsonto_valuex=Botodata.Json.value_to_json(to_valuex)letto_queryto_valuex=Client.Query.of_value(to_valuex)letstructure_to_value_auxst~f=letfilter=function|(k,Somev)->Some(k,v)|_->Noneinletpairkv=(k,v)inletdefer_value(k,dv)=pairkdvin((List.filter_mapst~f:filter)|>(List.map~f:defer_value))|>(funx->`Structure(fx))letstructure_to_value=structure_to_value_aux~f:Fn.idletstructure_to_wrapped_value~wrapper~response=structure_to_value_aux~f:(funx->[(wrapper,(`Structurex));(response,(`Structure[]))])moduleTCPFlag=structtypenonrect=|FIN|SYN|RST|PSH|ACK|URG|ECE|CWR|Non_static_idofstringletmakei=iletto_string=function|FIN->"FIN"|SYN->"SYN"|RST->"RST"|PSH->"PSH"|ACK->"ACK"|URG->"URG"|ECE->"ECE"|CWR->"CWR"|Non_static_ids->sletof_string=function|"FIN"->FIN|"SYN"->SYN|"RST"->RST|"PSH"->PSH|"ACK"->ACK|"URG"->URG|"ECE"->ECE|"CWR"->CWR|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration TCPFlag"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TCPFlag"j)letto_json=simple_to_jsonto_valueendmoduleDimensionValue=structtypenonrect=stringletcontext_="DimensionValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9-_ ]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"DimensionValue"jletto_json=simple_to_jsonto_valueendmoduleAddressDefinition=structtypenonrect=stringletcontext_="AddressDefinition"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"^([a-fA-F\\d:\\.]+($|/\\d{1,3}))$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AddressDefinition"jletto_json=simple_to_jsonto_valueendmodulePortRangeBound=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:65535)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for PortRangeBound"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleFlags=structtypenonrect=TCPFlag.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TCPFlag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TCPFlag.of_xml)letof_jsonj=list_of_json~kind:"Flags"~of_json:TCPFlag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDimension=structtypenonrect={value:DimensionValue.t[@ocaml.doc"The value to use in the custom metric dimension."]}letcontext_="Dimension"letmake~value=fun()->{value}letto_valuex=structure_to_value[("Value",(Some(DimensionValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=DimensionValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inmake~value()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"DimensionValue.of_jsoninmake~value()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The value to use in an Amazon CloudWatch custom metric dimension. This is used in the PublishMetrics CustomAction. A CloudWatch custom metric dimension is a name/value pair that's part of the identity of a metric. Network Firewall sets the dimension name to CustomAction and you provide the dimension value. For more information about CloudWatch custom metric dimensions, see Publishing Custom Metrics in the Amazon CloudWatch User Guide."]moduleAddress=structtypenonrect={addressDefinition:AddressDefinition.t[@ocaml.doc"Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128. To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing."]}letcontext_="Address"letmake~addressDefinition=fun()->{addressDefinition}letto_valuex=structure_to_value[("AddressDefinition",(Some(AddressDefinition.to_valuex.addressDefinition)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaddressDefinition=AddressDefinition.of_xml(Xml.child_exn~context:context_xml_arg0"AddressDefinition")inmake~addressDefinition()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaddressDefinition=field_map_exnjson__"AddressDefinition"AddressDefinition.of_jsoninmake~addressDefinition()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A single IP address specification. This is used in the MatchAttributes source and destination specifications."]modulePortRange=structtypenonrect={fromPort:PortRangeBound.t[@ocaml.doc"The lower limit of the port range. This must be less than or equal to the ToPort specification."];toPort:PortRangeBound.t[@ocaml.doc"The upper limit of the port range. This must be greater than or equal to the FromPort specification."]}letcontext_="PortRange"letmake~fromPort=fun~toPort->fun()->{fromPort;toPort}letto_valuex=structure_to_value[("FromPort",(Some(PortRangeBound.to_valuex.fromPort)));("ToPort",(Some(PortRangeBound.to_valuex.toPort)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettoPort=PortRangeBound.of_xml(Xml.child_exn~context:context_xml_arg0"ToPort")inletfromPort=PortRangeBound.of_xml(Xml.child_exn~context:context_xml_arg0"FromPort")inmake~toPort~fromPort()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettoPort=field_map_exnjson__"ToPort"PortRangeBound.of_jsoninletfromPort=field_map_exnjson__"FromPort"PortRangeBound.of_jsoninmake~toPort~fromPort()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes, SourcePorts, and DestinationPorts settings."]moduleProtocolNumber=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:255)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for ProtocolNumber"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTCPFlagField=structtypenonrect={flags:Flags.t[@ocaml.doc"Used in conjunction with the Masks setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the Masks setting. For the flags that are specified in the masks setting, the following must be true for the packet to match: The ones that are set in this flags setting must be set in the packet. The ones that are not set in this flags setting must also not be set in the packet."];masks:Flags.toption[@ocaml.doc"The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting."]}letcontext_="TCPFlagField"letmake?masks=fun~flags->fun()->{masks;flags}letto_valuex=structure_to_value[("Flags",(Some(Flags.to_valuex.flags)));("Masks",(Option.mapx.masks~f:Flags.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmasks=(Option.map~f:Flags.of_xml)(Xml.childxml_arg0"Masks")inletflags=Flags.of_xml(Xml.child_exn~context:context_xml_arg0"Flags")inmake?masks~flags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmasks=field_mapjson__"Masks"Flags.of_jsoninletflags=field_map_exnjson__"Flags"Flags.of_jsoninmake?masks~flags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"TCP flags and masks to inspect packets for, used in stateless rules MatchAttributes settings."]moduleSetting=structtypenonrect=stringletcontext_="Setting"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:8192)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Setting"jletto_json=simple_to_jsonto_valueendmoduleDimensions=structtypenonrect=Dimension.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Dimension.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Dimension.of_xml)letof_jsonj=list_of_json~kind:"Dimensions"~of_json:Dimension.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAddresses=structtypenonrect=Address.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Address.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Address.of_xml)letof_jsonj=list_of_json~kind:"Addresses"~of_json:Address.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePortRanges=structtypenonrect=PortRange.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PortRange.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:PortRange.of_xml)letof_jsonj=list_of_json~kind:"PortRanges"~of_json:PortRange.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProtocolNumbers=structtypenonrect=ProtocolNumber.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProtocolNumber.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProtocolNumber.of_xml)letof_jsonj=list_of_json~kind:"ProtocolNumbers"~of_json:ProtocolNumber.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTCPFlags=structtypenonrect=TCPFlagField.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TCPFlagField.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TCPFlagField.of_xml)letof_jsonj=list_of_json~kind:"TCPFlags"~of_json:TCPFlagField.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCollectionMember_String=structtypenonrect=stringletcontext_="CollectionMember_String"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"CollectionMember_String"jletto_json=simple_to_jsonto_valueendmoduleProxyConditionValue=structtypenonrect=stringletcontext_="ProxyConditionValue"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProxyConditionValue"jletto_json=simple_to_jsonto_valueendmoduleKeyword=structtypenonrect=stringletcontext_="Keyword"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Keyword"jletto_json=simple_to_jsonto_valueendmoduleSettings=structtypenonrect=Setting.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Setting.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Setting.of_xml)letof_jsonj=list_of_json~kind:"Settings"~of_json:Setting.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePublishMetricAction=structtypenonrect={dimensions:Dimensions.t}letcontext_="PublishMetricAction"letmake~dimensions=fun()->{dimensions}letto_valuex=structure_to_value[("Dimensions",(Some(Dimensions.to_valuex.dimensions)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdimensions=Dimensions.of_xml(Xml.child_exn~context:context_xml_arg0"Dimensions")inmake~dimensions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdimensions=field_map_exnjson__"Dimensions"Dimensions.of_jsoninmake~dimensions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published."]moduleMatchAttributes=structtypenonrect={sources:Addresses.toption[@ocaml.doc"The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address."];destinations:Addresses.toption[@ocaml.doc"The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address."];sourcePorts:PortRanges.toption[@ocaml.doc"The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP)."];destinationPorts:PortRanges.toption[@ocaml.doc"The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY. This setting is only used for protocols 6 (TCP) and 17 (UDP)."];protocols:ProtocolNumbers.toption[@ocaml.doc"The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol."];tCPFlags:TCPFlags.toption[@ocaml.doc"The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP)."]}letmake?sources=fun?destinations->fun?sourcePorts->fun?destinationPorts->fun?protocols->fun?tCPFlags->fun()->{sources;destinations;sourcePorts;destinationPorts;protocols;tCPFlags}letto_valuex=structure_to_value[("Sources",(Option.mapx.sources~f:Addresses.to_value));("Destinations",(Option.mapx.destinations~f:Addresses.to_value));("SourcePorts",(Option.mapx.sourcePorts~f:PortRanges.to_value));("DestinationPorts",(Option.mapx.destinationPorts~f:PortRanges.to_value));("Protocols",(Option.mapx.protocols~f:ProtocolNumbers.to_value));("TCPFlags",(Option.mapx.tCPFlags~f:TCPFlags.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettCPFlags=(Option.map~f:TCPFlags.of_xml)(Xml.childxml_arg0"TCPFlags")inletprotocols=(Option.map~f:ProtocolNumbers.of_xml)(Xml.childxml_arg0"Protocols")inletdestinationPorts=(Option.map~f:PortRanges.of_xml)(Xml.childxml_arg0"DestinationPorts")inletsourcePorts=(Option.map~f:PortRanges.of_xml)(Xml.childxml_arg0"SourcePorts")inletdestinations=(Option.map~f:Addresses.of_xml)(Xml.childxml_arg0"Destinations")inletsources=(Option.map~f:Addresses.of_xml)(Xml.childxml_arg0"Sources")inmake?tCPFlags?protocols?destinationPorts?sourcePorts?destinations?sources()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettCPFlags=field_mapjson__"TCPFlags"TCPFlags.of_jsoninletprotocols=field_mapjson__"Protocols"ProtocolNumbers.of_jsoninletdestinationPorts=field_mapjson__"DestinationPorts"PortRanges.of_jsoninletsourcePorts=field_mapjson__"SourcePorts"PortRanges.of_jsoninletdestinations=field_mapjson__"Destinations"Addresses.of_jsoninletsources=field_mapjson__"Sources"Addresses.of_jsoninmake?tCPFlags?protocols?destinationPorts?sourcePorts?destinations?sources()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags."]moduleStatelessActions=structtypenonrect=CollectionMember_String.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CollectionMember_String.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:CollectionMember_String.of_xml)letof_jsonj=list_of_json~kind:"StatelessActions"~of_json:CollectionMember_String.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleConditionKey=structtypenonrect=stringletcontext_="ConditionKey"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConditionKey"jletto_json=simple_to_jsonto_valueendmoduleConditionOperator=structtypenonrect=stringletcontext_="ConditionOperator"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ConditionOperator"jletto_json=simple_to_jsonto_valueendmoduleProxyConditionValueList=structtypenonrect=ProxyConditionValue.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyConditionValue.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyConditionValue.of_xml)letof_jsonj=list_of_json~kind:"ProxyConditionValueList"~of_json:ProxyConditionValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceArn=structtypenonrect=stringletcontext_="ResourceArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^arn:aws.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceArn"jletto_json=simple_to_jsonto_valueendmoduleVariableDefinition=structtypenonrect=stringletcontext_="VariableDefinition"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->check_patterni~pattern:"^.*$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VariableDefinition"jletto_json=simple_to_jsonto_valueendmoduleDestination=structtypenonrect=stringletcontext_="Destination"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Destination"jletto_json=simple_to_jsonto_valueendmodulePort=structtypenonrect=stringletcontext_="Port"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Port"jletto_json=simple_to_jsonto_valueendmoduleSource=structtypenonrect=stringletcontext_="Source"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Source"jletto_json=simple_to_jsonto_valueendmoduleStatefulRuleDirection=structtypenonrect=|FORWARD|ANY|Non_static_idofstringletmakei=iletto_string=function|FORWARD->"FORWARD"|ANY->"ANY"|Non_static_ids->sletof_string=function|"FORWARD"->FORWARD|"ANY"->ANY|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration StatefulRuleDirection"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StatefulRuleDirection"j)letto_json=simple_to_jsonto_valueendmoduleStatefulRuleProtocol=structtypenonrect=|IP|TCP|UDP|ICMP|HTTP|FTP|TLS|SMB|DNS|DCERPC|SSH|SMTP|IMAP|MSN|KRB5|IKEV2|TFTP|NTP|DHCP|HTTP2|QUIC|Non_static_idofstringletmakei=iletto_string=function|IP->"IP"|TCP->"TCP"|UDP->"UDP"|ICMP->"ICMP"|HTTP->"HTTP"|FTP->"FTP"|TLS->"TLS"|SMB->"SMB"|DNS->"DNS"|DCERPC->"DCERPC"|SSH->"SSH"|SMTP->"SMTP"|IMAP->"IMAP"|MSN->"MSN"|KRB5->"KRB5"|IKEV2->"IKEV2"|TFTP->"TFTP"|NTP->"NTP"|DHCP->"DHCP"|HTTP2->"HTTP2"|QUIC->"QUIC"|Non_static_ids->sletof_string=function|"IP"->IP|"TCP"->TCP|"UDP"->UDP|"ICMP"->ICMP|"HTTP"->HTTP|"FTP"->FTP|"TLS"->TLS|"SMB"->SMB|"DNS"->DNS|"DCERPC"->DCERPC|"SSH"->SSH|"SMTP"->SMTP|"IMAP"->IMAP|"MSN"->MSN|"KRB5"->KRB5|"IKEV2"->IKEV2|"TFTP"->TFTP|"NTP"->NTP|"DHCP"->DHCP|"HTTP2"->HTTP2|"QUIC"->QUIC|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration StatefulRuleProtocol"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StatefulRuleProtocol"j)letto_json=simple_to_jsonto_valueendmoduleRuleOption=structtypenonrect={keyword:Keyword.t[@ocaml.doc"The keyword for the Suricata compatible rule option. You must include a sid (signature ID), and can optionally include other keywords. For information about Suricata compatible keywords, see Rule options in the Suricata documentation."];settings:Settings.toption[@ocaml.doc"The settings of the Suricata compatible rule option. Rule options have zero or more setting values, and the number of possible and required settings depends on the Keyword. For more information about the settings for specific options, see Rule options."]}letcontext_="RuleOption"letmake?settings=fun~keyword->fun()->{settings;keyword}letto_valuex=structure_to_value[("Keyword",(Some(Keyword.to_valuex.keyword)));("Settings",(Option.mapx.settings~f:Settings.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsettings=(Option.map~f:Settings.of_xml)(Xml.childxml_arg0"Settings")inletkeyword=Keyword.of_xml(Xml.child_exn~context:context_xml_arg0"Keyword")inmake?settings~keyword()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsettings=field_mapjson__"Settings"Settings.of_jsoninletkeyword=field_map_exnjson__"Keyword"Keyword.of_jsoninmake?settings~keyword()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Additional settings for a stateful rule. This is part of the StatefulRule configuration."]moduleActionDefinition=structtypenonrect={publishMetricAction:PublishMetricAction.toption[@ocaml.doc"Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published. You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it."]}letmake?publishMetricAction=fun()->{publishMetricAction}letto_valuex=structure_to_value[("PublishMetricAction",(Option.mapx.publishMetricAction~f:PublishMetricAction.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpublishMetricAction=(Option.map~f:PublishMetricAction.of_xml)(Xml.childxml_arg0"PublishMetricAction")inmake?publishMetricAction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpublishMetricAction=field_mapjson__"PublishMetricAction"PublishMetricAction.of_jsoninmake?publishMetricAction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A custom action to use in stateless rule actions settings. This is used in CustomAction."]moduleActionName=structtypenonrect=stringletcontext_="ActionName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ActionName"jletto_json=simple_to_jsonto_valueendmodulePriority=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:65535)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Priority"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleRuleDefinition=structtypenonrect={matchAttributes:MatchAttributes.t[@ocaml.doc"Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags."];actions:StatelessActions.t[@ocaml.doc"The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action and you can add custom actions. Network Firewall only forwards a packet for stateful rule inspection if you specify aws:forward_to_sfe for a rule that the packet matches, or if the packet doesn't match any stateless rule and you specify aws:forward_to_sfe for the StatelessDefaultActions setting for the FirewallPolicy. For every rule, you must specify exactly one of the following standard actions. aws:pass - Discontinues all inspection of the packet and permits it to go to its intended destination. aws:drop - Discontinues all inspection of the packet and blocks it from going to its intended destination. aws:forward_to_sfe - Discontinues stateless inspection of the packet and forwards it to the stateful rule engine for inspection. Additionally, you can specify a custom action. To do this, you define a custom action by name and type, then provide the name you've assigned to the action in this Actions setting. For information about the options, see CustomAction. To provide more than one action in this setting, separate the settings with a comma. For example, if you have a custom PublishMetrics action that you've named MyMetricsAction, then you could specify the standard action aws:pass and the custom action with \\[\226\128\156aws:pass\226\128\157, \226\128\156MyMetricsAction\226\128\157\\]."]}letcontext_="RuleDefinition"letmake~matchAttributes=fun~actions->fun()->{matchAttributes;actions}letto_valuex=structure_to_value[("MatchAttributes",(Some(MatchAttributes.to_valuex.matchAttributes)));("Actions",(Some(StatelessActions.to_valuex.actions)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letactions=StatelessActions.of_xml(Xml.child_exn~context:context_xml_arg0"Actions")inletmatchAttributes=MatchAttributes.of_xml(Xml.child_exn~context:context_xml_arg0"MatchAttributes")inmake~actions~matchAttributes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letactions=field_map_exnjson__"Actions"StatelessActions.of_jsoninletmatchAttributes=field_map_exnjson__"MatchAttributes"MatchAttributes.of_jsoninmake~actions~matchAttributes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The inspection criteria and action for a single stateless rule. Network Firewall inspects each packet for the specified matching criteria. When a packet matches the criteria, Network Firewall performs the rule's actions on the packet."]moduleProxyRuleCondition=structtypenonrect={conditionOperator:ConditionOperator.toption[@ocaml.doc"Defines how to perform a match."];conditionKey:ConditionKey.toption[@ocaml.doc"Defines what is to be matched."];conditionValues:ProxyConditionValueList.toption[@ocaml.doc"Specifes the exact value that needs to be matched against."]}letmake?conditionOperator=fun?conditionKey->fun?conditionValues->fun()->{conditionOperator;conditionKey;conditionValues}letto_valuex=structure_to_value[("ConditionOperator",(Option.mapx.conditionOperator~f:ConditionOperator.to_value));("ConditionKey",(Option.mapx.conditionKey~f:ConditionKey.to_value));("ConditionValues",(Option.mapx.conditionValues~f:ProxyConditionValueList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconditionValues=(Option.map~f:ProxyConditionValueList.of_xml)(Xml.childxml_arg0"ConditionValues")inletconditionKey=(Option.map~f:ConditionKey.of_xml)(Xml.childxml_arg0"ConditionKey")inletconditionOperator=(Option.map~f:ConditionOperator.of_xml)(Xml.childxml_arg0"ConditionOperator")inmake?conditionValues?conditionKey?conditionOperator()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconditionValues=field_mapjson__"ConditionValues"ProxyConditionValueList.of_jsoninletconditionKey=field_mapjson__"ConditionKey"ConditionKey.of_jsoninletconditionOperator=field_mapjson__"ConditionOperator"ConditionOperator.of_jsoninmake?conditionValues?conditionKey?conditionOperator()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Match criteria that specify what traffic attributes to examine."]moduleCIDRCount=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:1000000)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for CIDRCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmodulePerObjectSyncStatus=structtypenonrect=|PENDING|IN_SYNC|CAPACITY_CONSTRAINED|NOT_SUBSCRIBED|DEPRECATED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|IN_SYNC->"IN_SYNC"|CAPACITY_CONSTRAINED->"CAPACITY_CONSTRAINED"|NOT_SUBSCRIBED->"NOT_SUBSCRIBED"|DEPRECATED->"DEPRECATED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"IN_SYNC"->IN_SYNC|"CAPACITY_CONSTRAINED"->CAPACITY_CONSTRAINED|"NOT_SUBSCRIBED"->NOT_SUBSCRIBED|"DEPRECATED"->DEPRECATED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration PerObjectSyncStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PerObjectSyncStatus"j)letto_json=simple_to_jsonto_valueendmoduleUpdateToken=structtypenonrect=stringletcontext_="UpdateToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"UpdateToken"jletto_json=simple_to_jsonto_valueendmoduleRevocationCheckAction=structtypenonrect=|PASS|DROP|REJECT|Non_static_idofstringletmakei=iletto_string=function|PASS->"PASS"|DROP->"DROP"|REJECT->"REJECT"|Non_static_ids->sletof_string=function|"PASS"->PASS|"DROP"->DROP|"REJECT"->REJECT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration RevocationCheckAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RevocationCheckAction"j)letto_json=simple_to_jsonto_valueendmoduleServerCertificateScope=structtypenonrect={sources:Addresses.toption[@ocaml.doc"The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address."];destinations:Addresses.toption[@ocaml.doc"The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address."];sourcePorts:PortRanges.toption[@ocaml.doc"The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port. You can specify individual ports, for example 1994, and you can specify port ranges, such as 1990:1994."];destinationPorts:PortRanges.toption[@ocaml.doc"The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port. You can specify individual ports, for example 1994, and you can specify port ranges, such as 1990:1994."];protocols:ProtocolNumbers.toption[@ocaml.doc"The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol. Network Firewall currently supports only TCP."]}letmake?sources=fun?destinations->fun?sourcePorts->fun?destinationPorts->fun?protocols->fun()->{sources;destinations;sourcePorts;destinationPorts;protocols}letto_valuex=structure_to_value[("Sources",(Option.mapx.sources~f:Addresses.to_value));("Destinations",(Option.mapx.destinations~f:Addresses.to_value));("SourcePorts",(Option.mapx.sourcePorts~f:PortRanges.to_value));("DestinationPorts",(Option.mapx.destinationPorts~f:PortRanges.to_value));("Protocols",(Option.mapx.protocols~f:ProtocolNumbers.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprotocols=(Option.map~f:ProtocolNumbers.of_xml)(Xml.childxml_arg0"Protocols")inletdestinationPorts=(Option.map~f:PortRanges.of_xml)(Xml.childxml_arg0"DestinationPorts")inletsourcePorts=(Option.map~f:PortRanges.of_xml)(Xml.childxml_arg0"SourcePorts")inletdestinations=(Option.map~f:Addresses.of_xml)(Xml.childxml_arg0"Destinations")inletsources=(Option.map~f:Addresses.of_xml)(Xml.childxml_arg0"Sources")inmake?protocols?destinationPorts?sourcePorts?destinations?sources()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprotocols=field_mapjson__"Protocols"ProtocolNumbers.of_jsoninletdestinationPorts=field_mapjson__"DestinationPorts"PortRanges.of_jsoninletsourcePorts=field_mapjson__"SourcePorts"PortRanges.of_jsoninletdestinations=field_mapjson__"Destinations"Addresses.of_jsoninletsources=field_mapjson__"Sources"Addresses.of_jsoninmake?protocols?destinationPorts?sourcePorts?destinations?sources()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Settings that define the Secure Sockets Layer/Transport Layer Security (SSL/TLS) traffic that Network Firewall should decrypt for inspection by the stateful rule engine."]moduleServerCertificate=structtypenonrect={resourceArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server certificate that's used for inbound SSL/TLS inspection."]}letmake?resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Option.mapx.resourceArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ResourceArn")inmake?resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_mapjson__"ResourceArn"ResourceArn.of_jsoninmake?resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Any Certificate Manager (ACM) Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificate that's associated with a ServerCertificateConfiguration. Used in a TLSInspectionConfiguration for inspection of inbound traffic to your firewall. You must request or import a SSL/TLS certificate into ACM for each domain Network Firewall needs to decrypt and inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic going to your firewall. For information about working with certificates in Certificate Manager, see Request a public certificate or Importing certificates in the Certificate Manager User Guide."]moduleVariableDefinitionList=structtypenonrect=VariableDefinition.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VariableDefinition.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:VariableDefinition.of_xml)letof_jsonj=list_of_json~kind:"VariableDefinitionList"~of_json:VariableDefinition.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTargetType=structtypenonrect=|TLS_SNI|HTTP_HOST|Non_static_idofstringletmakei=iletto_string=function|TLS_SNI->"TLS_SNI"|HTTP_HOST->"HTTP_HOST"|Non_static_ids->sletof_string=function|"TLS_SNI"->TLS_SNI|"HTTP_HOST"->HTTP_HOST|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration TargetType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetType"j)letto_json=simple_to_jsonto_valueendmoduleHeader=structtypenonrect={protocol:StatefulRuleProtocol.t[@ocaml.doc"The protocol to inspect for. To specify all, you can use IP, because all traffic on Amazon Web Services and on the internet is IP."];source:Source.t[@ocaml.doc"The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY. Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128. To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing."];sourcePort:Port.t[@ocaml.doc"The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY."];direction:StatefulRuleDirection.t[@ocaml.doc"The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination."];destination:Destination.t[@ocaml.doc"The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY. Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128. To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing."];destinationPort:Port.t[@ocaml.doc"The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY."]}letcontext_="Header"letmake~protocol=fun~source->fun~sourcePort->fun~direction->fun~destination->fun~destinationPort->fun()->{protocol;source;sourcePort;direction;destination;destinationPort}letto_valuex=structure_to_value[("Protocol",(Some(StatefulRuleProtocol.to_valuex.protocol)));("Source",(Some(Source.to_valuex.source)));("SourcePort",(Some(Port.to_valuex.sourcePort)));("Direction",(Some(StatefulRuleDirection.to_valuex.direction)));("Destination",(Some(Destination.to_valuex.destination)));("DestinationPort",(Some(Port.to_valuex.destinationPort)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdestinationPort=Port.of_xml(Xml.child_exn~context:context_xml_arg0"DestinationPort")inletdestination=Destination.of_xml(Xml.child_exn~context:context_xml_arg0"Destination")inletdirection=StatefulRuleDirection.of_xml(Xml.child_exn~context:context_xml_arg0"Direction")inletsourcePort=Port.of_xml(Xml.child_exn~context:context_xml_arg0"SourcePort")inletsource=Source.of_xml(Xml.child_exn~context:context_xml_arg0"Source")inletprotocol=StatefulRuleProtocol.of_xml(Xml.child_exn~context:context_xml_arg0"Protocol")inmake~destinationPort~destination~direction~sourcePort~source~protocol()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdestinationPort=field_map_exnjson__"DestinationPort"Port.of_jsoninletdestination=field_map_exnjson__"Destination"Destination.of_jsoninletdirection=field_map_exnjson__"Direction"StatefulRuleDirection.of_jsoninletsourcePort=field_map_exnjson__"SourcePort"Port.of_jsoninletsource=field_map_exnjson__"Source"Source.of_jsoninletprotocol=field_map_exnjson__"Protocol"StatefulRuleProtocol.of_jsoninmake~destinationPort~destination~direction~sourcePort~source~protocol()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The basic rule criteria for Network Firewall to use to inspect packet headers in stateful traffic flow inspection. Traffic flows that match the criteria are a match for the corresponding StatefulRule."]moduleRuleOptions=structtypenonrect=RuleOption.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RuleOption.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:RuleOption.of_xml)letof_jsonj=list_of_json~kind:"RuleOptions"~of_json:RuleOption.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStatefulAction=structtypenonrect=|PASS|DROP|ALERT|REJECT|Non_static_idofstringletmakei=iletto_string=function|PASS->"PASS"|DROP->"DROP"|ALERT->"ALERT"|REJECT->"REJECT"|Non_static_ids->sletof_string=function|"PASS"->PASS|"DROP"->DROP|"ALERT"->ALERT|"REJECT"->REJECT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration StatefulAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StatefulAction"j)letto_json=simple_to_jsonto_valueendmoduleCustomAction=structtypenonrect={actionName:ActionName.t[@ocaml.doc"The descriptive name of the custom action. You can't change the name of a custom action after you create it."];actionDefinition:ActionDefinition.t[@ocaml.doc"The custom action associated with the action name."]}letcontext_="CustomAction"letmake~actionName=fun~actionDefinition->fun()->{actionName;actionDefinition}letto_valuex=structure_to_value[("ActionName",(Some(ActionName.to_valuex.actionName)));("ActionDefinition",(Some(ActionDefinition.to_valuex.actionDefinition)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letactionDefinition=ActionDefinition.of_xml(Xml.child_exn~context:context_xml_arg0"ActionDefinition")inletactionName=ActionName.of_xml(Xml.child_exn~context:context_xml_arg0"ActionName")inmake~actionDefinition~actionName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letactionDefinition=field_map_exnjson__"ActionDefinition"ActionDefinition.of_jsoninletactionName=field_map_exnjson__"ActionName"ActionName.of_jsoninmake~actionDefinition~actionName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An optional, non-standard action to use for stateless packet handling. You can define this in addition to the standard action that you must specify. You define and name the custom actions that you want to be able to use, and then you reference them by name in your actions settings. You can use custom actions in the following places: In a rule group's StatelessRulesAndCustomActions specification. The custom actions are available for use by name inside the StatelessRulesAndCustomActions where you define them. You can use them for your stateless rule actions to specify what to do with a packet that matches the rule's match attributes. In a FirewallPolicy specification, in StatelessCustomActions. The custom actions are available for use inside the policy where you define them. You can use them for the policy's default stateless actions settings to specify what to do with packets that don't match any of the policy's stateless rules."]moduleStatelessRule=structtypenonrect={ruleDefinition:RuleDefinition.t[@ocaml.doc"Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria."];priority:Priority.t[@ocaml.doc"Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group. Each stateless rule group uses exactly one StatelessRulesAndCustomActions object, and each StatelessRulesAndCustomActions contains exactly one StatelessRules object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single StatelessRules object. You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on."]}letcontext_="StatelessRule"letmake~ruleDefinition=fun~priority->fun()->{ruleDefinition;priority}letto_valuex=structure_to_value[("RuleDefinition",(Some(RuleDefinition.to_valuex.ruleDefinition)));("Priority",(Some(Priority.to_valuex.priority)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpriority=Priority.of_xml(Xml.child_exn~context:context_xml_arg0"Priority")inletruleDefinition=RuleDefinition.of_xml(Xml.child_exn~context:context_xml_arg0"RuleDefinition")inmake~priority~ruleDefinition()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpriority=field_map_exnjson__"Priority"Priority.of_jsoninletruleDefinition=field_map_exnjson__"RuleDefinition"RuleDefinition.of_jsoninmake~priority~ruleDefinition()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A single stateless rule. This is used in StatelessRulesAndCustomActions."]moduleHashMapKey=structtypenonrect=stringletcontext_="HashMapKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:3)>>=(fun()->(check_string_maxi~max:50)>>=(fun()->check_patterni~pattern:"^[0-9A-Za-z.\\-_@\\/]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HashMapKey"jletto_json=simple_to_jsonto_valueendmoduleHashMapValue=structtypenonrect=stringletcontext_="HashMapValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:"[\\s\\S]*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"HashMapValue"jletto_json=simple_to_jsonto_valueendmoduleOverrideAction=structtypenonrect=|DROP_TO_ALERT|Non_static_idofstringletmakei=iletto_string=function|DROP_TO_ALERT->"DROP_TO_ALERT"|Non_static_ids->sletof_string=function|"DROP_TO_ALERT"->DROP_TO_ALERT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration OverrideAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OverrideAction"j)letto_json=simple_to_jsonto_valueendmoduleAttachmentStatus=structtypenonrect=|CREATING|DELETING|FAILED|ERROR|SCALING|READY|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|DELETING->"DELETING"|FAILED->"FAILED"|ERROR->"ERROR"|SCALING->"SCALING"|READY->"READY"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"DELETING"->DELETING|"FAILED"->FAILED|"ERROR"->ERROR|"SCALING"->SCALING|"READY"->READY|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration AttachmentStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AttachmentStatus"j)letto_json=simple_to_jsonto_valueendmoduleAzSubnet=structtypenonrect=stringletcontext_="AzSubnet"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^subnet-[0-9a-f]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AzSubnet"jletto_json=simple_to_jsonto_valueendmoduleEndpointId=structtypenonrect=stringletcontext_="EndpointId"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"EndpointId"jletto_json=simple_to_jsonto_valueendmoduleStatusMessage=structtypenonrect=stringletcontext_="StatusMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StatusMessage"jletto_json=simple_to_jsonto_valueendmoduleDescription=structtypenonrect=stringletcontext_="Description"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:512)>>=(fun()->check_patterni~pattern:"^.*$"));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Description"jletto_json=simple_to_jsonto_valueendmoduleProxyRuleConditionList=structtypenonrect=ProxyRuleCondition.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyRuleCondition.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyRuleCondition.of_xml)letof_jsonj=list_of_json~kind:"ProxyRuleConditionList"~of_json:ProxyRuleCondition.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxyRulePhaseAction=structtypenonrect=|ALLOW|DENY|ALERT|Non_static_idofstringletmakei=iletto_string=function|ALLOW->"ALLOW"|DENY->"DENY"|ALERT->"ALERT"|Non_static_ids->sletof_string=function|"ALLOW"->ALLOW|"DENY"->DENY|"ALERT"->ALERT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ProxyRulePhaseAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProxyRulePhaseAction"j)letto_json=simple_to_jsonto_valueendmoduleResourceName=structtypenonrect=stringletcontext_="ResourceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9-]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceName"jletto_json=simple_to_jsonto_valueendmoduleProtocolString=structtypenonrect=stringletcontext_="ProtocolString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:12)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProtocolString"jletto_json=simple_to_jsonto_valueendmoduleIPSetArn=structtypenonrect=stringletcontext_="IPSetArn"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"IPSetArn"jletto_json=simple_to_jsonto_valueendmoduleIPSetMetadata=structtypenonrect={resolvedCIDRCount:CIDRCount.toption[@ocaml.doc"Describes the total number of CIDR blocks currently in use by the IP set references in a firewall. To determine how many CIDR blocks are available for you to use in a firewall, you can call AvailableCIDRCount."]}letmake?resolvedCIDRCount=fun()->{resolvedCIDRCount}letto_valuex=structure_to_value[("ResolvedCIDRCount",(Option.mapx.resolvedCIDRCount~f:CIDRCount.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolvedCIDRCount=(Option.map~f:CIDRCount.of_xml)(Xml.childxml_arg0"ResolvedCIDRCount")inmake?resolvedCIDRCount()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolvedCIDRCount=field_mapjson__"ResolvedCIDRCount"CIDRCount.of_jsoninmake?resolvedCIDRCount()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"General information about the IP set."]modulePerObjectStatus=structtypenonrect={syncStatus:PerObjectSyncStatus.toption[@ocaml.doc"Indicates whether this object is in sync with the version indicated in the update token."];updateToken:UpdateToken.toption[@ocaml.doc"The current version of the object that is either in sync or pending synchronization."]}letmake?syncStatus=fun?updateToken->fun()->{syncStatus;updateToken}letto_valuex=structure_to_value[("SyncStatus",(Option.mapx.syncStatus~f:PerObjectSyncStatus.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletsyncStatus=(Option.map~f:PerObjectSyncStatus.of_xml)(Xml.childxml_arg0"SyncStatus")inmake?updateToken?syncStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletsyncStatus=field_mapjson__"SyncStatus"PerObjectSyncStatus.of_jsoninmake?updateToken?syncStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides configuration status for a single policy or rule group that is used for a firewall endpoint. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of a SyncState for a firewall."]moduleStatusReason=structtypenonrect=stringletcontext_="StatusReason"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^[a-zA-Z0-9- ]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StatusReason"jletto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^.*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleCheckCertificateRevocationStatusActions=structtypenonrect={revokedStatusAction:RevocationCheckAction.toption[@ocaml.doc"Configures how Network Firewall processes traffic when it determines that the certificate presented by the server in the SSL/TLS connection has a revoked status. PASS - Allow the connection to continue, and pass subsequent packets to the stateful engine for inspection. DROP - Network Firewall closes the connection and drops subsequent packets for that connection. REJECT - Network Firewall sends a TCP reject packet back to your client. The service closes the connection and drops subsequent packets for that connection. REJECT is available only for TCP traffic."];unknownStatusAction:RevocationCheckAction.toption[@ocaml.doc"Configures how Network Firewall processes traffic when it determines that the certificate presented by the server in the SSL/TLS connection has an unknown status, or a status that cannot be determined for any other reason, including when the service is unable to connect to the OCSP and CRL endpoints for the certificate. PASS - Allow the connection to continue, and pass subsequent packets to the stateful engine for inspection. DROP - Network Firewall closes the connection and drops subsequent packets for that connection. REJECT - Network Firewall sends a TCP reject packet back to your client. The service closes the connection and drops subsequent packets for that connection. REJECT is available only for TCP traffic."]}letmake?revokedStatusAction=fun?unknownStatusAction->fun()->{revokedStatusAction;unknownStatusAction}letto_valuex=structure_to_value[("RevokedStatusAction",(Option.mapx.revokedStatusAction~f:RevocationCheckAction.to_value));("UnknownStatusAction",(Option.mapx.unknownStatusAction~f:RevocationCheckAction.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letunknownStatusAction=(Option.map~f:RevocationCheckAction.of_xml)(Xml.childxml_arg0"UnknownStatusAction")inletrevokedStatusAction=(Option.map~f:RevocationCheckAction.of_xml)(Xml.childxml_arg0"RevokedStatusAction")inmake?unknownStatusAction?revokedStatusAction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letunknownStatusAction=field_mapjson__"UnknownStatusAction"RevocationCheckAction.of_jsoninletrevokedStatusAction=field_mapjson__"RevokedStatusAction"RevocationCheckAction.of_jsoninmake?unknownStatusAction?revokedStatusAction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Defines the actions to take on the SSL/TLS connection if the certificate presented by the server in the connection has a revoked or unknown status."]moduleServerCertificateScopes=structtypenonrect=ServerCertificateScope.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServerCertificateScope.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ServerCertificateScope.of_xml)letof_jsonj=list_of_json~kind:"ServerCertificateScopes"~of_json:ServerCertificateScope.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleServerCertificates=structtypenonrect=ServerCertificate.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServerCertificate.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ServerCertificate.of_xml)letof_jsonj=list_of_json~kind:"ServerCertificates"~of_json:ServerCertificate.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIdentifiedType=structtypenonrect=|STATELESS_RULE_FORWARDING_ASYMMETRICALLY|STATELESS_RULE_CONTAINS_TCP_FLAGS|Non_static_idofstringletmakei=iletto_string=function|STATELESS_RULE_FORWARDING_ASYMMETRICALLY->"STATELESS_RULE_FORWARDING_ASYMMETRICALLY"|STATELESS_RULE_CONTAINS_TCP_FLAGS->"STATELESS_RULE_CONTAINS_TCP_FLAGS"|Non_static_ids->sletof_string=function|"STATELESS_RULE_FORWARDING_ASYMMETRICALLY"->STATELESS_RULE_FORWARDING_ASYMMETRICALLY|"STATELESS_RULE_CONTAINS_TCP_FLAGS"->STATELESS_RULE_CONTAINS_TCP_FLAGS|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration IdentifiedType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IdentifiedType"j)letto_json=simple_to_jsonto_valueendmoduleRuleIdList=structtypenonrect=CollectionMember_String.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CollectionMember_String.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:CollectionMember_String.of_xml)letof_jsonj=list_of_json~kind:"RuleIdList"~of_json:CollectionMember_String.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSummaryRuleOption=structtypenonrect=|SID|MSG|METADATA|Non_static_idofstringletmakei=iletto_string=function|SID->"SID"|MSG->"MSG"|METADATA->"METADATA"|Non_static_ids->sletof_string=function|"SID"->SID|"MSG"->MSG|"METADATA"->METADATA|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration SummaryRuleOption"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SummaryRuleOption"j)letto_json=simple_to_jsonto_valueendmoduleIPSetReference=structtypenonrect={referenceArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the resource that you are referencing in your rule group."]}letmake?referenceArn=fun()->{referenceArn}letto_valuex=structure_to_value[("ReferenceArn",(Option.mapx.referenceArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreferenceArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ReferenceArn")inmake?referenceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreferenceArn=field_mapjson__"ReferenceArn"ResourceArn.of_jsoninmake?referenceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configures one or more IP set references for a Suricata-compatible rule group. This is used in CreateRuleGroup or UpdateRuleGroup. An IP set reference is a rule variable that references resources that you create and manage in another Amazon Web Services service, such as an Amazon VPC prefix list. Network Firewall IP set references enable you to dynamically update the contents of your rules. When you create, update, or delete the resource you are referencing in your rule, Network Firewall automatically updates the rule's content with the changes. For more information about IP set references in Network Firewall, see Using IP set references in the Network Firewall Developer Guide. Network Firewall currently supports Amazon VPC prefix lists and resource groups in IP set references."]moduleIPSetReferenceName=structtypenonrect=stringletcontext_="IPSetReferenceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:32)>>=(fun()->check_patterni~pattern:"^[A-Za-z][A-Za-z0-9_]*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"IPSetReferenceName"jletto_json=simple_to_jsonto_valueendmoduleIPSet=structtypenonrect={definition:VariableDefinitionList.t[@ocaml.doc"The list of IP addresses and address ranges, in CIDR notation."]}letcontext_="IPSet"letmake~definition=fun()->{definition}letto_valuex=structure_to_value[("Definition",(Some(VariableDefinitionList.to_valuex.definition)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefinition=VariableDefinitionList.of_xml(Xml.child_exn~context:context_xml_arg0"Definition")inmake~definition()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefinition=field_map_exnjson__"Definition"VariableDefinitionList.of_jsoninmake~definition()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A list of IP addresses and address ranges, in CIDR notation. This is part of a RuleVariables."]moduleRuleVariableName=structtypenonrect=stringletcontext_="RuleVariableName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:32)>>=(fun()->check_patterni~pattern:"^[A-Za-z][A-Za-z0-9_]*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RuleVariableName"jletto_json=simple_to_jsonto_valueendmodulePortSet=structtypenonrect={definition:VariableDefinitionList.toption[@ocaml.doc"The set of port ranges."]}letmake?definition=fun()->{definition}letto_valuex=structure_to_value[("Definition",(Option.mapx.definition~f:VariableDefinitionList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdefinition=(Option.map~f:VariableDefinitionList.of_xml)(Xml.childxml_arg0"Definition")inmake?definition()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdefinition=field_mapjson__"Definition"VariableDefinitionList.of_jsoninmake?definition()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A set of port ranges for use in the rules in a rule group."]moduleGeneratedRulesType=structtypenonrect=|ALLOWLIST|DENYLIST|REJECTLIST|ALERTLIST|Non_static_idofstringletmakei=iletto_string=function|ALLOWLIST->"ALLOWLIST"|DENYLIST->"DENYLIST"|REJECTLIST->"REJECTLIST"|ALERTLIST->"ALERTLIST"|Non_static_ids->sletof_string=function|"ALLOWLIST"->ALLOWLIST|"DENYLIST"->DENYLIST|"REJECTLIST"->REJECTLIST|"ALERTLIST"->ALERTLIST|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration GeneratedRulesType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GeneratedRulesType"j)letto_json=simple_to_jsonto_valueendmoduleRuleTargets=structtypenonrect=CollectionMember_String.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CollectionMember_String.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:CollectionMember_String.of_xml)letof_jsonj=list_of_json~kind:"RuleTargets"~of_json:CollectionMember_String.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTargetTypes=structtypenonrect=TargetType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TargetType.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TargetType.of_xml)letof_jsonj=list_of_json~kind:"TargetTypes"~of_json:TargetType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStatefulRule=structtypenonrect={action:StatefulAction.t[@ocaml.doc"Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow. The actions for a stateful rule are defined as follows: PASS - Permits the packets to go to the intended destination. DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration. ALERT - Sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration. You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP. REJECT - Drops traffic that matches the conditions of the stateful rule, and sends a TCP reset packet back to sender of the packet. A TCP reset packet is a packet with no payload and an RST bit contained in the TCP header flags. REJECT is available only for TCP traffic. This option doesn't support FTP or IMAP protocols."];header:Header.t[@ocaml.doc"The stateful inspection criteria for this rule, used to inspect traffic flows."];ruleOptions:RuleOptions.t[@ocaml.doc"Additional options for the rule. These are the Suricata RuleOptions settings."]}letcontext_="StatefulRule"letmake~action=fun~header->fun~ruleOptions->fun()->{action;header;ruleOptions}letto_valuex=structure_to_value[("Action",(Some(StatefulAction.to_valuex.action)));("Header",(Some(Header.to_valuex.header)));("RuleOptions",(Some(RuleOptions.to_valuex.ruleOptions)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleOptions=RuleOptions.of_xml(Xml.child_exn~context:context_xml_arg0"RuleOptions")inletheader=Header.of_xml(Xml.child_exn~context:context_xml_arg0"Header")inletaction=StatefulAction.of_xml(Xml.child_exn~context:context_xml_arg0"Action")inmake~ruleOptions~header~action()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleOptions=field_map_exnjson__"RuleOptions"RuleOptions.of_jsoninletheader=field_map_exnjson__"Header"Header.of_jsoninletaction=field_map_exnjson__"Action"StatefulAction.of_jsoninmake~ruleOptions~header~action()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A single Suricata rules specification, for use in a stateful rule group. Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format."]moduleCustomActions=structtypenonrect=CustomAction.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CustomAction.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:CustomAction.of_xml)letof_jsonj=list_of_json~kind:"CustomActions"~of_json:CustomAction.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStatelessRules=structtypenonrect=StatelessRule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StatelessRule.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:StatelessRule.of_xml)letof_jsonj=list_of_json~kind:"StatelessRules"~of_json:StatelessRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListenerPropertyType=structtypenonrect=|HTTP|HTTPS|Non_static_idofstringletmakei=iletto_string=function|HTTP->"HTTP"|HTTPS->"HTTPS"|Non_static_ids->sletof_string=function|"HTTP"->HTTP|"HTTPS"->HTTPS|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ListenerPropertyType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ListenerPropertyType"j)letto_json=simple_to_jsonto_valueendmoduleNatGatewayPort=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for NatGatewayPort"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProxyConfigRuleGroupPriority=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for ProxyConfigRuleGroupPriority"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProxyConfigRuleGroupType=structtypenonrect=stringletcontext_="ProxyConfigRuleGroupType"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProxyConfigRuleGroupType"jletto_json=simple_to_jsonto_valueendmoduleLogDestinationMap=structtypenonrect=(HashMapKey.t*HashMapValue.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((HashMapKey.of_stringchopped),(HashMapValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(HashMapKey.to_valuex)|>(funx->(HashMapValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:HashMapKey.of_string~of_json:HashMapValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLogDestinationType=structtypenonrect=|S3|CloudWatchLogs|KinesisDataFirehose|Non_static_idofstringletmakei=iletto_string=function|S3->"S3"|CloudWatchLogs->"CloudWatchLogs"|KinesisDataFirehose->"KinesisDataFirehose"|Non_static_ids->sletof_string=function|"S3"->S3|"CloudWatchLogs"->CloudWatchLogs|"KinesisDataFirehose"->KinesisDataFirehose|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration LogDestinationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LogDestinationType"j)letto_json=simple_to_jsonto_valueendmoduleLogType=structtypenonrect=|ALERT|FLOW|TLS|Non_static_idofstringletmakei=iletto_string=function|ALERT->"ALERT"|FLOW->"FLOW"|TLS->"TLS"|Non_static_ids->sletof_string=function|"ALERT"->ALERT|"FLOW"->FLOW|"TLS"->TLS|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration LogType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LogType"j)letto_json=simple_to_jsonto_valueendmoduleTcpIdleTimeoutRangeBound=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for TcpIdleTimeoutRangeBound"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleDeepThreatInspection=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleStatefulRuleGroupOverride=structtypenonrect={action:OverrideAction.toption[@ocaml.doc"The action that changes the rule group from DROP to ALERT. This only applies to managed rule groups."]}letmake?action=fun()->{action}letto_valuex=structure_to_value[("Action",(Option.mapx.action~f:OverrideAction.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letaction=(Option.map~f:OverrideAction.of_xml)(Xml.childxml_arg0"Action")inmake?action()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letaction=field_mapjson__"Action"OverrideAction.of_jsoninmake?action()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The setting that allows the policy owner to change the behavior of the rule group within a policy."]moduleCount=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Count"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleAttachment=structtypenonrect={subnetId:AzSubnet.toption[@ocaml.doc"The unique identifier of the subnet that you've specified to be used for a firewall endpoint."];endpointId:EndpointId.toption[@ocaml.doc"The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint."];status:AttachmentStatus.toption[@ocaml.doc"The current status of the firewall endpoint instantiation in the subnet. When this value is READY, the endpoint is available to handle network traffic. Otherwise, this value reflects its state, for example CREATING or DELETING."];statusMessage:StatusMessage.toption[@ocaml.doc"If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the error or failure and how to resolve it. A FAILED status indicates a non-recoverable state, and a ERROR status indicates an issue that you can fix. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the causes for failiure or errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide."]}letmake?subnetId=fun?endpointId->fun?status->fun?statusMessage->fun()->{subnetId;endpointId;status;statusMessage}letto_valuex=structure_to_value[("SubnetId",(Option.mapx.subnetId~f:AzSubnet.to_value));("EndpointId",(Option.mapx.endpointId~f:EndpointId.to_value));("Status",(Option.mapx.status~f:AttachmentStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:AttachmentStatus.of_xml)(Xml.childxml_arg0"Status")inletendpointId=(Option.map~f:EndpointId.of_xml)(Xml.childxml_arg0"EndpointId")inletsubnetId=(Option.map~f:AzSubnet.of_xml)(Xml.childxml_arg0"SubnetId")inmake?statusMessage?status?endpointId?subnetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"AttachmentStatus.of_jsoninletendpointId=field_mapjson__"EndpointId"EndpointId.of_jsoninletsubnetId=field_mapjson__"SubnetId"AzSubnet.of_jsoninmake?statusMessage?status?endpointId?subnetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The definition and status of the firewall endpoint for a single subnet. In each configured subnet, Network Firewall instantiates a firewall endpoint to handle network traffic. This data type is used for any firewall endpoint type: For Firewall.SubnetMappings, this Attachment is part of the FirewallStatus sync states information. You define firewall subnets using CreateFirewall and AssociateSubnets. For VpcEndpointAssociation, this Attachment is part of the VpcEndpointAssociationStatus sync states information. You define these subnets using CreateVpcEndpointAssociation."]moduleProxyRule=structtypenonrect={proxyRuleName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it."];description:Description.toption[@ocaml.doc"A description of the proxy rule."];action:ProxyRulePhaseAction.toption[@ocaml.doc"Action to take."];conditions:ProxyRuleConditionList.toption[@ocaml.doc"Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against."]}letmake?proxyRuleName=fun?description->fun?action->fun?conditions->fun()->{proxyRuleName;description;action;conditions}letto_valuex=structure_to_value[("ProxyRuleName",(Option.mapx.proxyRuleName~f:ResourceName.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Action",(Option.mapx.action~f:ProxyRulePhaseAction.to_value));("Conditions",(Option.mapx.conditions~f:ProxyRuleConditionList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconditions=(Option.map~f:ProxyRuleConditionList.of_xml)(Xml.childxml_arg0"Conditions")inletaction=(Option.map~f:ProxyRulePhaseAction.of_xml)(Xml.childxml_arg0"Action")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletproxyRuleName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleName")inmake?conditions?action?description?proxyRuleName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconditions=field_mapjson__"Conditions"ProxyRuleConditionList.of_jsoninletaction=field_mapjson__"Action"ProxyRulePhaseAction.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletproxyRuleName=field_mapjson__"ProxyRuleName"ResourceName.of_jsoninmake?conditions?action?description?proxyRuleName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert)."]moduleProtocolStrings=structtypenonrect=ProtocolString.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProtocolString.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProtocolString.of_xml)letof_jsonj=list_of_json~kind:"ProtocolStrings"~of_json:ProtocolString.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAvailabilityZoneMappingString=structtypenonrect=stringletcontext_="AvailabilityZoneMappingString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"\\S+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AvailabilityZoneMappingString"jletto_json=simple_to_jsonto_valueendmoduleIPAddressType=structtypenonrect=|DUALSTACK|IPV4|IPV6|Non_static_idofstringletmakei=iletto_string=function|DUALSTACK->"DUALSTACK"|IPV4->"IPV4"|IPV6->"IPV6"|Non_static_ids->sletof_string=function|"DUALSTACK"->DUALSTACK|"IPV4"->IPV4|"IPV6"->IPV6|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration IPAddressType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IPAddressType"j)letto_json=simple_to_jsonto_valueendmoduleIPSetMetadataMap=structtypenonrect=(IPSetArn.t*IPSetMetadata.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types IPSetArn IPSetMetadata"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(IPSetArn.to_valuex)|>(funx->(IPSetMetadata.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:IPSetArn.of_string~of_json:IPSetMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSyncStateConfig=structtypenonrect=(ResourceName.t*PerObjectStatus.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types ResourceName PerObjectStatus"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(ResourceName.to_valuex)|>(funx->(PerObjectStatus.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:ResourceName.of_string~of_json:PerObjectStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInsertPosition=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for InsertPosition"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTlsCertificateData=structtypenonrect={certificateArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the certificate."];certificateSerial:CollectionMember_String.toption[@ocaml.doc"The serial number of the certificate."];status:CollectionMember_String.toption[@ocaml.doc"The status of the certificate."];statusMessage:StatusReason.toption[@ocaml.doc"Contains details about the certificate status, including information about certificate errors."]}letmake?certificateArn=fun?certificateSerial->fun?status->fun?statusMessage->fun()->{certificateArn;certificateSerial;status;statusMessage}letto_valuex=structure_to_value[("CertificateArn",(Option.mapx.certificateArn~f:ResourceArn.to_value));("CertificateSerial",(Option.mapx.certificateSerial~f:CollectionMember_String.to_value));("Status",(Option.mapx.status~f:CollectionMember_String.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusReason.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:StatusReason.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:CollectionMember_String.of_xml)(Xml.childxml_arg0"Status")inletcertificateSerial=(Option.map~f:CollectionMember_String.of_xml)(Xml.childxml_arg0"CertificateSerial")inletcertificateArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"CertificateArn")inmake?statusMessage?status?certificateSerial?certificateArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"StatusReason.of_jsoninletstatus=field_mapjson__"Status"CollectionMember_String.of_jsoninletcertificateSerial=field_mapjson__"CertificateSerial"CollectionMember_String.of_jsoninletcertificateArn=field_mapjson__"CertificateArn"ResourceArn.of_jsoninmake?statusMessage?status?certificateSerial?certificateArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains metadata about an Certificate Manager certificate."]moduleEncryptionType=structtypenonrect=|CUSTOMER_KMS|AWS_OWNED_KMS_KEY|Non_static_idofstringletmakei=iletto_string=function|CUSTOMER_KMS->"CUSTOMER_KMS"|AWS_OWNED_KMS_KEY->"AWS_OWNED_KMS_KEY"|Non_static_ids->sletof_string=function|"CUSTOMER_KMS"->CUSTOMER_KMS|"AWS_OWNED_KMS_KEY"->AWS_OWNED_KMS_KEY|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration EncryptionType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EncryptionType"j)letto_json=simple_to_jsonto_valueendmoduleKeyId=structtypenonrect=stringletcontext_="KeyId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"KeyId"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as \"customer.\" Tag keys are case-sensitive."];value:TagValue.t[@ocaml.doc"The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are case-sensitive."]}letcontext_="Tag"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("Key",(Some(TagKey.to_valuex.key)));("Value",(Some(TagValue.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=TagValue.of_xml(Xml.child_exn~context:context_xml_arg0"Value")inletkey=TagKey.of_xml(Xml.child_exn~context:context_xml_arg0"Key")inmake~value~key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_map_exnjson__"Value"TagValue.of_jsoninletkey=field_map_exnjson__"Key"TagKey.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A key:value pair associated with an Amazon Web Services resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as \"environment\") and the tag value represents a specific value within that category (such as \"test,\" \"development,\" or \"production\"). You can add up to 50 tags to each Amazon Web Services resource."]moduleServerCertificateConfiguration=structtypenonrect={serverCertificates:ServerCertificates.toption[@ocaml.doc"The list of server certificates to use for inbound SSL/TLS inspection."];scopes:ServerCertificateScopes.toption[@ocaml.doc"A list of scopes."];certificateAuthorityArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within Certificate Manager (ACM) to use for outbound SSL/TLS inspection. The following limitations apply: You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM. You can't use certificates issued by Private Certificate Authority. For more information about configuring certificates for outbound inspection, see Using SSL/TLS certificates with TLS inspection configurations in the Network Firewall Developer Guide. For information about working with certificates in ACM, see Importing certificates in the Certificate Manager User Guide."];checkCertificateRevocationStatus:CheckCertificateRevocationStatusActions.toption[@ocaml.doc"When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a CertificateAuthorityArn in ServerCertificateConfiguration."]}letmake?serverCertificates=fun?scopes->fun?certificateAuthorityArn->fun?checkCertificateRevocationStatus->fun()->{serverCertificates;scopes;certificateAuthorityArn;checkCertificateRevocationStatus}letto_valuex=structure_to_value[("ServerCertificates",(Option.mapx.serverCertificates~f:ServerCertificates.to_value));("Scopes",(Option.mapx.scopes~f:ServerCertificateScopes.to_value));("CertificateAuthorityArn",(Option.mapx.certificateAuthorityArn~f:ResourceArn.to_value));("CheckCertificateRevocationStatus",(Option.mapx.checkCertificateRevocationStatus~f:CheckCertificateRevocationStatusActions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcheckCertificateRevocationStatus=(Option.map~f:CheckCertificateRevocationStatusActions.of_xml)(Xml.childxml_arg0"CheckCertificateRevocationStatus")inletcertificateAuthorityArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"CertificateAuthorityArn")inletscopes=(Option.map~f:ServerCertificateScopes.of_xml)(Xml.childxml_arg0"Scopes")inletserverCertificates=(Option.map~f:ServerCertificates.of_xml)(Xml.childxml_arg0"ServerCertificates")inmake?checkCertificateRevocationStatus?certificateAuthorityArn?scopes?serverCertificates()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcheckCertificateRevocationStatus=field_mapjson__"CheckCertificateRevocationStatus"CheckCertificateRevocationStatusActions.of_jsoninletcertificateAuthorityArn=field_mapjson__"CertificateAuthorityArn"ResourceArn.of_jsoninletscopes=field_mapjson__"Scopes"ServerCertificateScopes.of_jsoninletserverCertificates=field_mapjson__"ServerCertificates"ServerCertificates.of_jsoninmake?checkCertificateRevocationStatus?certificateAuthorityArn?scopes?serverCertificates()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configures the Certificate Manager certificates and scope that Network Firewall uses to decrypt and re-encrypt traffic using a TLSInspectionConfiguration. You can configure ServerCertificates for inbound SSL/TLS inspection, a CertificateAuthorityArn for outbound SSL/TLS inspection, or both. For information about working with certificates for TLS inspection, see Using SSL/TLS server certficiates with TLS inspection configurations in the Network Firewall Developer Guide. If a server certificate that's associated with your TLSInspectionConfiguration is revoked, deleted, or expired it can result in client-side TLS errors."]moduleAnalysisResult=structtypenonrect={identifiedRuleIds:RuleIdList.toption[@ocaml.doc"The priority number of the stateless rules identified in the analysis."];identifiedType:IdentifiedType.toption[@ocaml.doc"The types of rule configurations that Network Firewall analyzes your rule groups for. Network Firewall analyzes stateless rule groups for the following types of rule configurations: STATELESS_RULE_FORWARDING_ASYMMETRICALLY Cause: One or more stateless rules with the action pass or forward are forwarding traffic asymmetrically. Specifically, the rule's set of source IP addresses or their associated port numbers, don't match the set of destination IP addresses or their associated port numbers. To mitigate: Make sure that there's an existing return path. For example, if the rule allows traffic from source 10.1.0.0/24 to destination 20.1.0.0/24, you should allow return traffic from source 20.1.0.0/24 to destination 10.1.0.0/24. STATELESS_RULE_CONTAINS_TCP_FLAGS Cause: At least one stateless rule with the action pass orforward contains TCP flags that are inconsistent in the forward and return directions. To mitigate: Prevent asymmetric routing issues caused by TCP flags by following these actions: Remove unnecessary TCP flag inspections from the rules. If you need to inspect TCP flags, check that the rules correctly account for changes in TCP flags throughout the TCP connection cycle, for example SYN and ACK flags used in a 3-way TCP handshake."];analysisDetail:CollectionMember_String.toption[@ocaml.doc"Provides analysis details for the identified rule."]}letmake?identifiedRuleIds=fun?identifiedType->fun?analysisDetail->fun()->{identifiedRuleIds;identifiedType;analysisDetail}letto_valuex=structure_to_value[("IdentifiedRuleIds",(Option.mapx.identifiedRuleIds~f:RuleIdList.to_value));("IdentifiedType",(Option.mapx.identifiedType~f:IdentifiedType.to_value));("AnalysisDetail",(Option.mapx.analysisDetail~f:CollectionMember_String.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letanalysisDetail=(Option.map~f:CollectionMember_String.of_xml)(Xml.childxml_arg0"AnalysisDetail")inletidentifiedType=(Option.map~f:IdentifiedType.of_xml)(Xml.childxml_arg0"IdentifiedType")inletidentifiedRuleIds=(Option.map~f:RuleIdList.of_xml)(Xml.childxml_arg0"IdentifiedRuleIds")inmake?analysisDetail?identifiedType?identifiedRuleIds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letanalysisDetail=field_mapjson__"AnalysisDetail"CollectionMember_String.of_jsoninletidentifiedType=field_mapjson__"IdentifiedType"IdentifiedType.of_jsoninletidentifiedRuleIds=field_mapjson__"IdentifiedRuleIds"RuleIdList.of_jsoninmake?analysisDetail?identifiedType?identifiedRuleIds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The analysis result for Network Firewall's stateless rule group analyzer. Every time you call CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup on a stateless rule group, Network Firewall analyzes the stateless rule groups in your account and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in a list of analysis results. The AnalysisResult data type is not related to traffic analysis reports you generate using StartAnalysisReport. For information on traffic analysis report results, see AnalysisTypeReportResult."]moduleSummaryRuleOptions=structtypenonrect=SummaryRuleOption.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SummaryRuleOption.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:SummaryRuleOption.of_xml)letof_jsonj=list_of_json~kind:"SummaryRuleOptions"~of_json:SummaryRuleOption.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIPSetReferenceMap=structtypenonrect=(IPSetReferenceName.t*IPSetReference.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types IPSetReferenceName IPSetReference"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(IPSetReferenceName.to_valuex)|>(funx->(IPSetReference.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:IPSetReferenceName.of_string~of_json:IPSetReference.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIPSets=structtypenonrect=(RuleVariableName.t*IPSet.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types RuleVariableName IPSet"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(RuleVariableName.to_valuex)|>(funx->(IPSet.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:RuleVariableName.of_string~of_json:IPSet.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePortSets=structtypenonrect=(RuleVariableName.t*PortSet.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types RuleVariableName PortSet"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(RuleVariableName.to_valuex)|>(funx->(PortSet.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:RuleVariableName.of_string~of_json:PortSet.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRulesSourceList=structtypenonrect={targets:RuleTargets.t[@ocaml.doc"The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following: Explicit names. For example, abc.example.com matches only the domain abc.example.com. Names that use a domain wildcard, which you indicate with an initial '.'. For example,.example.com matches example.com and matches all subdomains of example.com, such as abc.example.com and www.example.com."];targetTypes:TargetTypes.t[@ocaml.doc"The protocols you want to inspect. Specify TLS_SNI for HTTPS. Specify HTTP_HOST for HTTP. You can specify either or both."];generatedRulesType:GeneratedRulesType.t[@ocaml.doc"Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list. When logging is enabled and you choose Alert, traffic that matches the domain specifications generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy."]}letcontext_="RulesSourceList"letmake~targets=fun~targetTypes->fun~generatedRulesType->fun()->{targets;targetTypes;generatedRulesType}letto_valuex=structure_to_value[("Targets",(Some(RuleTargets.to_valuex.targets)));("TargetTypes",(Some(TargetTypes.to_valuex.targetTypes)));("GeneratedRulesType",(Some(GeneratedRulesType.to_valuex.generatedRulesType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letgeneratedRulesType=GeneratedRulesType.of_xml(Xml.child_exn~context:context_xml_arg0"GeneratedRulesType")inlettargetTypes=TargetTypes.of_xml(Xml.child_exn~context:context_xml_arg0"TargetTypes")inlettargets=RuleTargets.of_xml(Xml.child_exn~context:context_xml_arg0"Targets")inmake~generatedRulesType~targetTypes~targets()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letgeneratedRulesType=field_map_exnjson__"GeneratedRulesType"GeneratedRulesType.of_jsoninlettargetTypes=field_map_exnjson__"TargetTypes"TargetTypes.of_jsoninlettargets=field_map_exnjson__"Targets"RuleTargets.of_jsoninmake~generatedRulesType~targetTypes~targets()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stateful inspection criteria for a domain list rule group. For HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake. By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the HOME_NET rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see RuleVariables in this guide and Stateful domain list rule groups in Network Firewall in the Network Firewall Developer Guide."]moduleRulesString=structtypenonrect=stringletcontext_="RulesString"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:2000000)>>=(fun()->check_string_mini~min:0));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RulesString"jletto_json=simple_to_jsonto_valueendmoduleStatefulRules=structtypenonrect=StatefulRule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StatefulRule.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:StatefulRule.of_xml)letof_jsonj=list_of_json~kind:"StatefulRules"~of_json:StatefulRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStatelessRulesAndCustomActions=structtypenonrect={statelessRules:StatelessRules.t[@ocaml.doc"Defines the set of stateless rules for use in a stateless rule group."];customActions:CustomActions.toption[@ocaml.doc"Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinition Actions specification."]}letcontext_="StatelessRulesAndCustomActions"letmake?customActions=fun~statelessRules->fun()->{customActions;statelessRules}letto_valuex=structure_to_value[("StatelessRules",(Some(StatelessRules.to_valuex.statelessRules)));("CustomActions",(Option.mapx.customActions~f:CustomActions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcustomActions=(Option.map~f:CustomActions.of_xml)(Xml.childxml_arg0"CustomActions")inletstatelessRules=StatelessRules.of_xml(Xml.child_exn~context:context_xml_arg0"StatelessRules")inmake?customActions~statelessRules()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcustomActions=field_mapjson__"CustomActions"CustomActions.of_jsoninletstatelessRules=field_map_exnjson__"StatelessRules"StatelessRules.of_jsoninmake?customActions~statelessRules()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules."]moduleRuleOrder=structtypenonrect=|DEFAULT_ACTION_ORDER|STRICT_ORDER|Non_static_idofstringletmakei=iletto_string=function|DEFAULT_ACTION_ORDER->"DEFAULT_ACTION_ORDER"|STRICT_ORDER->"STRICT_ORDER"|Non_static_ids->sletof_string=function|"DEFAULT_ACTION_ORDER"->DEFAULT_ACTION_ORDER|"STRICT_ORDER"->STRICT_ORDER|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration RuleOrder"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RuleOrder"j)letto_json=simple_to_jsonto_valueendmoduleProxyRuleGroupPriorityResultPriority=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for ProxyRuleGroupPriorityResultPriority"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleListenerProperty=structtypenonrect={port:NatGatewayPort.toption[@ocaml.doc"Port for processing traffic."];type_:ListenerPropertyType.toption[@ocaml.doc"Selection of HTTP or HTTPS traffic."]}letmake?port=fun?type_->fun()->{port;type_}letto_valuex=structure_to_value[("Port",(Option.mapx.port~f:NatGatewayPort.to_value));("Type",(Option.mapx.type_~f:ListenerPropertyType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:ListenerPropertyType.of_xml)(Xml.childxml_arg0"Type")inletport=(Option.map~f:NatGatewayPort.of_xml)(Xml.childxml_arg0"Port")inmake?type_?port()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"ListenerPropertyType.of_jsoninletport=field_mapjson__"Port"NatGatewayPort.of_jsoninmake?type_?port()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Open port for taking HTTP or HTTPS traffic."]moduleTlsInterceptMode=structtypenonrect=|ENABLED|DISABLED|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|DISABLED->"DISABLED"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"DISABLED"->DISABLED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration TlsInterceptMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TlsInterceptMode"j)letto_json=simple_to_jsonto_valueendmoduleProxyConfigRuleGroup=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group."];type_:ProxyConfigRuleGroupType.toption[@ocaml.doc"Proxy rule group type."];priority:ProxyConfigRuleGroupPriority.toption[@ocaml.doc"Priority of the proxy rule group in the proxy configuration."]}letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun?type_->fun?priority->fun()->{proxyRuleGroupName;proxyRuleGroupArn;type_;priority}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value));("Type",(Option.mapx.type_~f:ProxyConfigRuleGroupType.to_value));("Priority",(Option.mapx.priority~f:ProxyConfigRuleGroupPriority.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpriority=(Option.map~f:ProxyConfigRuleGroupPriority.of_xml)(Xml.childxml_arg0"Priority")inlettype_=(Option.map~f:ProxyConfigRuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?priority?type_?proxyRuleGroupArn?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpriority=field_mapjson__"Priority"ProxyConfigRuleGroupPriority.of_jsoninlettype_=field_mapjson__"Type"ProxyConfigRuleGroupType.of_jsoninletproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?priority?type_?proxyRuleGroupArn?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Proxy rule group contained within a proxy configuration."]moduleLogDestinationConfig=structtypenonrect={logType:LogType.t[@ocaml.doc"The type of log to record. You can record the following types of logs from your Network Firewall stateful engine. ALERT - Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see StatefulRule. FLOW - Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group. TLS - Logs for events that are related to TLS inspection. For more information, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide."];logDestinationType:LogDestinationType.t[@ocaml.doc"The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream."];logDestination:LogDestinationMap.t[@ocaml.doc"The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type. For an Amazon S3 bucket, provide the name of the bucket, with key bucketName, and optionally provide a prefix, with key prefix. The following example specifies an Amazon S3 bucket named DOC-EXAMPLE-BUCKET and the prefix alerts: \"LogDestination\": \\{ \"bucketName\": \"DOC-EXAMPLE-BUCKET\", \"prefix\": \"alerts\" \\} For a CloudWatch log group, provide the name of the CloudWatch log group, with key logGroup. The following example specifies a log group named alert-log-group: \"LogDestination\": \\{ \"logGroup\": \"alert-log-group\" \\} For a Firehose delivery stream, provide the name of the delivery stream, with key deliveryStream. The following example specifies a delivery stream named alert-delivery-stream: \"LogDestination\": \\{ \"deliveryStream\": \"alert-delivery-stream\" \\}"]}letcontext_="LogDestinationConfig"letmake~logType=fun~logDestinationType->fun~logDestination->fun()->{logType;logDestinationType;logDestination}letto_valuex=structure_to_value[("LogType",(Some(LogType.to_valuex.logType)));("LogDestinationType",(Some(LogDestinationType.to_valuex.logDestinationType)));("LogDestination",(Some(LogDestinationMap.to_valuex.logDestination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogDestination=LogDestinationMap.of_xml(Xml.child_exn~context:context_xml_arg0"LogDestination")inletlogDestinationType=LogDestinationType.of_xml(Xml.child_exn~context:context_xml_arg0"LogDestinationType")inletlogType=LogType.of_xml(Xml.child_exn~context:context_xml_arg0"LogType")inmake~logDestination~logDestinationType~logType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogDestination=field_map_exnjson__"LogDestination"LogDestinationMap.of_jsoninletlogDestinationType=field_map_exnjson__"LogDestinationType"LogDestinationType.of_jsoninletlogType=field_map_exnjson__"LogType"LogType.of_jsoninmake~logDestination~logDestinationType~logType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Defines where Network Firewall sends logs for the firewall for one log type. This is used in LoggingConfiguration. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream. Network Firewall generates logs for stateful rule groups. You can save alert, flow, and TLS log types."]moduleFlowTimeouts=structtypenonrect={tcpIdleTimeoutSeconds:TcpIdleTimeoutRangeBound.toption[@ocaml.doc"The number of seconds that can pass without any TCP traffic sent through the firewall before the firewall determines that the connection is idle. After the idle timeout passes, data packets are dropped, however, the next TCP SYN packet is considered a new flow and is processed by the firewall. Clients or targets can use TCP keepalive packets to reset the idle timeout. You can define the TcpIdleTimeoutSeconds value to be between 60 and 6000 seconds. If no value is provided, it defaults to 350 seconds."]}letmake?tcpIdleTimeoutSeconds=fun()->{tcpIdleTimeoutSeconds}letto_valuex=structure_to_value[("TcpIdleTimeoutSeconds",(Option.mapx.tcpIdleTimeoutSeconds~f:TcpIdleTimeoutRangeBound.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettcpIdleTimeoutSeconds=(Option.map~f:TcpIdleTimeoutRangeBound.of_xml)(Xml.childxml_arg0"TcpIdleTimeoutSeconds")inmake?tcpIdleTimeoutSeconds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettcpIdleTimeoutSeconds=field_mapjson__"TcpIdleTimeoutSeconds"TcpIdleTimeoutRangeBound.of_jsoninmake?tcpIdleTimeoutSeconds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Describes the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle and Network Firewall removes the flow entry from its flow table. Existing connections and flows are not impacted when you update this value. Only new connections after you update this value are impacted."]moduleStreamExceptionPolicy=structtypenonrect=|DROP|CONTINUE|REJECT|Non_static_idofstringletmakei=iletto_string=function|DROP->"DROP"|CONTINUE->"CONTINUE"|REJECT->"REJECT"|Non_static_ids->sletof_string=function|"DROP"->DROP|"CONTINUE"->CONTINUE|"REJECT"->REJECT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration StreamExceptionPolicy"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StreamExceptionPolicy"j)letto_json=simple_to_jsonto_valueendmoduleStatefulRuleGroupReference=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the stateful rule group."];priority:Priority.toption[@ocaml.doc"An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings. Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on."];override:StatefulRuleGroupOverride.toption[@ocaml.doc"The action that allows the policy owner to override the behavior of the rule group within a policy."];deepThreatInspection:DeepThreatInspection.toption[@ocaml.doc"Network Firewall plans to augment the active threat defense managed rule group with an additional deep threat inspection capability. When this capability is released, Amazon Web Services will analyze service logs of network traffic processed by these rule groups to identify threat indicators across customers. Amazon Web Services will use these threat indicators to improve the active threat defense managed rule groups and protect the security of Amazon Web Services customers and services. Customers can opt-out of deep threat inspection at any time through the Network Firewall console or API. When customers opt out, Network Firewall will not use the network traffic processed by those customers' active threat defense rule groups for rule group improvement."]}letcontext_="StatefulRuleGroupReference"letmake?priority=fun?override->fun?deepThreatInspection->fun~resourceArn->fun()->{priority;override;deepThreatInspection;resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(ResourceArn.to_valuex.resourceArn)));("Priority",(Option.mapx.priority~f:Priority.to_value));("Override",(Option.mapx.override~f:StatefulRuleGroupOverride.to_value));("DeepThreatInspection",(Option.mapx.deepThreatInspection~f:DeepThreatInspection.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeepThreatInspection=(Option.map~f:DeepThreatInspection.of_xml)(Xml.childxml_arg0"DeepThreatInspection")inletoverride=(Option.map~f:StatefulRuleGroupOverride.of_xml)(Xml.childxml_arg0"Override")inletpriority=(Option.map~f:Priority.of_xml)(Xml.childxml_arg0"Priority")inletresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake?deepThreatInspection?override?priority~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeepThreatInspection=field_mapjson__"DeepThreatInspection"DeepThreatInspection.of_jsoninletoverride=field_mapjson__"Override"StatefulRuleGroupOverride.of_jsoninletpriority=field_mapjson__"Priority"Priority.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"ResourceArn.of_jsoninmake?deepThreatInspection?override?priority~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group."]moduleStatelessRuleGroupReference=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the stateless rule group."];priority:Priority.t[@ocaml.doc"An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy."]}letcontext_="StatelessRuleGroupReference"letmake~resourceArn=fun~priority->fun()->{resourceArn;priority}letto_valuex=structure_to_value[("ResourceArn",(Some(ResourceArn.to_valuex.resourceArn)));("Priority",(Some(Priority.to_valuex.priority)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpriority=Priority.of_xml(Xml.child_exn~context:context_xml_arg0"Priority")inletresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~priority~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpriority=field_map_exnjson__"Priority"Priority.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"ResourceArn.of_jsoninmake~priority~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Identifier for a single stateless rule group, used in a firewall policy to refer to the rule group."]moduleVendorName=structtypenonrect=stringletcontext_="VendorName"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VendorName"jletto_json=simple_to_jsonto_valueendmoduleFlowOperationId=structtypenonrect=stringletcontext_="FlowOperationId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:36)>>=(fun()->(check_string_maxi~max:36)>>=(fun()->check_patterni~pattern:"^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"FlowOperationId"jletto_json=simple_to_jsonto_valueendmoduleFlowOperationStatus=structtypenonrect=|COMPLETED|IN_PROGRESS|FAILED|COMPLETED_WITH_ERRORS|Non_static_idofstringletmakei=iletto_string=function|COMPLETED->"COMPLETED"|IN_PROGRESS->"IN_PROGRESS"|FAILED->"FAILED"|COMPLETED_WITH_ERRORS->"COMPLETED_WITH_ERRORS"|Non_static_ids->sletof_string=function|"COMPLETED"->COMPLETED|"IN_PROGRESS"->IN_PROGRESS|"FAILED"->FAILED|"COMPLETED_WITH_ERRORS"->COMPLETED_WITH_ERRORS|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration FlowOperationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FlowOperationStatus"j)letto_json=simple_to_jsonto_valueendmoduleFlowOperationType=structtypenonrect=|FLOW_FLUSH|FLOW_CAPTURE|Non_static_idofstringletmakei=iletto_string=function|FLOW_FLUSH->"FLOW_FLUSH"|FLOW_CAPTURE->"FLOW_CAPTURE"|Non_static_ids->sletof_string=function|"FLOW_FLUSH"->FLOW_FLUSH|"FLOW_CAPTURE"->FLOW_CAPTURE|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration FlowOperationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FlowOperationType"j)letto_json=simple_to_jsonto_valueendmoduleFlowRequestTimestamp=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleAge=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for Age"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleByteCount=structtypenonrect=Int64.tletmakei=iletof_string=Int64.of_stringletto_valuex=`Longxletto_queryv=to_queryto_valuevletto_headerx=Int64.to_stringxletof_xmlxml_arg0=Int64.of_string(string_of_xml~kind:"a long"xml_arg0)letof_jsonj=Int64.of_float(float_of_json~kind:"a long"j)letto_json=simple_to_jsonto_valueendmodulePacketCount=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for PacketCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTransitGatewayAttachmentId=structtypenonrect=stringletcontext_="TransitGatewayAttachmentId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^tgw-attach-[0-9a-z]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TransitGatewayAttachmentId"jletto_json=simple_to_jsonto_valueendmoduleAnalysisReportId=structtypenonrect=stringletcontext_="AnalysisReportId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"\\S+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AnalysisReportId"jletto_json=simple_to_jsonto_valueendmoduleEnabledAnalysisType=structtypenonrect=|TLS_SNI|HTTP_HOST|Non_static_idofstringletmakei=iletto_string=function|TLS_SNI->"TLS_SNI"|HTTP_HOST->"HTTP_HOST"|Non_static_ids->sletof_string=function|"TLS_SNI"->TLS_SNI|"HTTP_HOST"->HTTP_HOST|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration EnabledAnalysisType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EnabledAnalysisType"j)letto_json=simple_to_jsonto_valueendmoduleReportTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleStatus=structtypenonrect=stringletcontext_="Status"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Status"jletto_json=simple_to_jsonto_valueendmoduleDomain=structtypenonrect=stringletcontext_="Domain"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Domain"jletto_json=simple_to_jsonto_valueendmoduleFirstAccessed=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleHits=structtypenonrect={count:Count.toption[@ocaml.doc"The number of attempts made to access a domain."]}letmake?count=fun()->{count}letto_valuex=structure_to_value[("Count",(Option.mapx.count~f:Count.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcount=(Option.map~f:Count.of_xml)(Xml.childxml_arg0"Count")inmake?count()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcount=field_mapjson__"Count"Count.of_jsoninmake?count()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attempts made to a access domain."]moduleLastAccessed=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleUniqueSources=structtypenonrect={count:Count.toption[@ocaml.doc"The number of unique source IP addresses that connected to a domain."]}letmake?count=fun()->{count}letto_valuex=structure_to_value[("Count",(Option.mapx.count~f:Count.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcount=(Option.map~f:Count.of_xml)(Xml.childxml_arg0"Count")inmake?count()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcount=field_mapjson__"Count"Count.of_jsoninmake?count()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A unique source IP address that connected to a domain."]moduleAZSyncState=structtypenonrect={attachment:Attachment.toption}letmake?attachment=fun()->{attachment}letto_valuex=structure_to_value[("Attachment",(Option.mapx.attachment~f:Attachment.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letattachment=(Option.map~f:Attachment.of_xml)(Xml.childxml_arg0"Attachment")inmake?attachment()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letattachment=field_mapjson__"Attachment"Attachment.of_jsoninmake?attachment()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The status of the firewall endpoint defined by a VpcEndpointAssociation."]moduleAvailabilityZone=structtypenonrect=stringletcontext_="AvailabilityZone"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AvailabilityZone"jletto_json=simple_to_jsonto_valueendmoduleRuleSummary=structtypenonrect={sID:CollectionMember_String.toption[@ocaml.doc"The unique identifier (Signature ID) of the Suricata rule."];msg:CollectionMember_String.toption[@ocaml.doc"The contents taken from the rule's msg field."];metadata:CollectionMember_String.toption[@ocaml.doc"The contents of the rule's metadata."]}letmake?sID=fun?msg->fun?metadata->fun()->{sID;msg;metadata}letto_valuex=structure_to_value[("SID",(Option.mapx.sID~f:CollectionMember_String.to_value));("Msg",(Option.mapx.msg~f:CollectionMember_String.to_value));("Metadata",(Option.mapx.metadata~f:CollectionMember_String.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmetadata=(Option.map~f:CollectionMember_String.of_xml)(Xml.childxml_arg0"Metadata")inletmsg=(Option.map~f:CollectionMember_String.of_xml)(Xml.childxml_arg0"Msg")inletsID=(Option.map~f:CollectionMember_String.of_xml)(Xml.childxml_arg0"SID")inmake?metadata?msg?sID()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmetadata=field_mapjson__"Metadata"CollectionMember_String.of_jsoninletmsg=field_mapjson__"Msg"CollectionMember_String.of_jsoninletsID=field_mapjson__"SID"CollectionMember_String.of_jsoninmake?metadata?msg?sID()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type containing details about a Suricata rule. Contains: SID Msg Metadata Summaries are available for rule groups you manage and for active threat defense Amazon Web Services managed rule groups."]moduleProxyRuleList=structtypenonrect=ProxyRule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyRule.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyRule.of_xml)letof_jsonj=list_of_json~kind:"ProxyRuleList"~of_json:ProxyRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFlowFilter=structtypenonrect={sourceAddress:Address.toption;destinationAddress:Address.toption;sourcePort:Port.toption[@ocaml.doc"The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY."];destinationPort:Port.toption[@ocaml.doc"The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY."];protocols:ProtocolStrings.toption[@ocaml.doc"The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol."]}letmake?sourceAddress=fun?destinationAddress->fun?sourcePort->fun?destinationPort->fun?protocols->fun()->{sourceAddress;destinationAddress;sourcePort;destinationPort;protocols}letto_valuex=structure_to_value[("SourceAddress",(Option.mapx.sourceAddress~f:Address.to_value));("DestinationAddress",(Option.mapx.destinationAddress~f:Address.to_value));("SourcePort",(Option.mapx.sourcePort~f:Port.to_value));("DestinationPort",(Option.mapx.destinationPort~f:Port.to_value));("Protocols",(Option.mapx.protocols~f:ProtocolStrings.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprotocols=(Option.map~f:ProtocolStrings.of_xml)(Xml.childxml_arg0"Protocols")inletdestinationPort=(Option.map~f:Port.of_xml)(Xml.childxml_arg0"DestinationPort")inletsourcePort=(Option.map~f:Port.of_xml)(Xml.childxml_arg0"SourcePort")inletdestinationAddress=(Option.map~f:Address.of_xml)(Xml.childxml_arg0"DestinationAddress")inletsourceAddress=(Option.map~f:Address.of_xml)(Xml.childxml_arg0"SourceAddress")inmake?protocols?destinationPort?sourcePort?destinationAddress?sourceAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprotocols=field_mapjson__"Protocols"ProtocolStrings.of_jsoninletdestinationPort=field_mapjson__"DestinationPort"Port.of_jsoninletsourcePort=field_mapjson__"SourcePort"Port.of_jsoninletdestinationAddress=field_mapjson__"DestinationAddress"Address.of_jsoninletsourceAddress=field_mapjson__"SourceAddress"Address.of_jsoninmake?protocols?destinationPort?sourcePort?destinationAddress?sourceAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."]moduleAvailabilityZoneMapping=structtypenonrect={availabilityZone:AvailabilityZoneMappingString.t[@ocaml.doc"The ID of the Availability Zone where the firewall endpoint is located. For example, us-east-2a. The Availability Zone must be in the same Region as the transit gateway."]}letcontext_="AvailabilityZoneMapping"letmake~availabilityZone=fun()->{availabilityZone}letto_valuex=structure_to_value[("AvailabilityZone",(Some(AvailabilityZoneMappingString.to_valuex.availabilityZone)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZone=AvailabilityZoneMappingString.of_xml(Xml.child_exn~context:context_xml_arg0"AvailabilityZone")inmake~availabilityZone()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZone=field_map_exnjson__"AvailabilityZone"AvailabilityZoneMappingString.of_jsoninmake~availabilityZone()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Defines the mapping between an Availability Zone and a firewall endpoint for a transit gateway-attached firewall. Each mapping represents where the firewall can process traffic. You use these mappings when calling CreateFirewall, AssociateAvailabilityZones, and DisassociateAvailabilityZones. To retrieve the current Availability Zone mappings for a firewall, use DescribeFirewall."]moduleSubnetMapping=structtypenonrect={subnetId:CollectionMember_String.t[@ocaml.doc"The unique identifier for the subnet."];iPAddressType:IPAddressType.toption[@ocaml.doc"The subnet's IP address type. You can't change the IP address type after you create the subnet."]}letcontext_="SubnetMapping"letmake?iPAddressType=fun~subnetId->fun()->{iPAddressType;subnetId}letto_valuex=structure_to_value[("SubnetId",(Some(CollectionMember_String.to_valuex.subnetId)));("IPAddressType",(Option.mapx.iPAddressType~f:IPAddressType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letiPAddressType=(Option.map~f:IPAddressType.of_xml)(Xml.childxml_arg0"IPAddressType")inletsubnetId=CollectionMember_String.of_xml(Xml.child_exn~context:context_xml_arg0"SubnetId")inmake?iPAddressType~subnetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letiPAddressType=field_mapjson__"IPAddressType"IPAddressType.of_jsoninletsubnetId=field_map_exnjson__"SubnetId"CollectionMember_String.of_jsoninmake?iPAddressType~subnetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The ID for a subnet that's used in an association with a firewall. This is used in CreateFirewall, AssociateSubnets, and CreateVpcEndpointAssociation. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone."]moduleCIDRSummary=structtypenonrect={availableCIDRCount:CIDRCount.toption[@ocaml.doc"The number of CIDR blocks available for use by the IP set references in a firewall."];utilizedCIDRCount:CIDRCount.toption[@ocaml.doc"The number of CIDR blocks used by the IP set references in a firewall."];iPSetReferences:IPSetMetadataMap.toption[@ocaml.doc"The list of the IP set references used by a firewall."]}letmake?availableCIDRCount=fun?utilizedCIDRCount->fun?iPSetReferences->fun()->{availableCIDRCount;utilizedCIDRCount;iPSetReferences}letto_valuex=structure_to_value[("AvailableCIDRCount",(Option.mapx.availableCIDRCount~f:CIDRCount.to_value));("UtilizedCIDRCount",(Option.mapx.utilizedCIDRCount~f:CIDRCount.to_value));("IPSetReferences",(Option.mapx.iPSetReferences~f:IPSetMetadataMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letiPSetReferences=(Option.map~f:IPSetMetadataMap.of_xml)(Xml.childxml_arg0"IPSetReferences")inletutilizedCIDRCount=(Option.map~f:CIDRCount.of_xml)(Xml.childxml_arg0"UtilizedCIDRCount")inletavailableCIDRCount=(Option.map~f:CIDRCount.of_xml)(Xml.childxml_arg0"AvailableCIDRCount")inmake?iPSetReferences?utilizedCIDRCount?availableCIDRCount()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letiPSetReferences=field_mapjson__"IPSetReferences"IPSetMetadataMap.of_jsoninletutilizedCIDRCount=field_mapjson__"UtilizedCIDRCount"CIDRCount.of_jsoninletavailableCIDRCount=field_mapjson__"AvailableCIDRCount"CIDRCount.of_jsoninmake?iPSetReferences?utilizedCIDRCount?availableCIDRCount()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summarizes the CIDR blocks used by the IP set references in a firewall. Network Firewall calculates the number of CIDRs by taking an aggregated count of all CIDRs used by the IP sets you are referencing."]moduleSyncState=structtypenonrect={attachment:Attachment.toption[@ocaml.doc"The configuration and status for a single firewall subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic."];config:SyncStateConfig.toption[@ocaml.doc"The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic."]}letmake?attachment=fun?config->fun()->{attachment;config}letto_valuex=structure_to_value[("Attachment",(Option.mapx.attachment~f:Attachment.to_value));("Config",(Option.mapx.config~f:SyncStateConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfig=(Option.map~f:SyncStateConfig.of_xml)(Xml.childxml_arg0"Config")inletattachment=(Option.map~f:Attachment.of_xml)(Xml.childxml_arg0"Attachment")inmake?config?attachment()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfig=field_mapjson__"Config"SyncStateConfig.of_jsoninletattachment=field_mapjson__"Attachment"Attachment.of_jsoninmake?config?attachment()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The status of the firewall endpoint and firewall policy configuration for a single VPC subnet. This is part of the FirewallStatus. For each VPC subnet that you associate with a firewall, Network Firewall does the following: Instantiates a firewall endpoint in the subnet, ready to take traffic. Configures the endpoint with the current firewall policy settings, to provide the filtering behavior for the endpoint. When you update a firewall, for example to add a subnet association or change a rule group in the firewall policy, the affected sync states reflect out-of-sync or not ready status until the changes are complete."]moduleAttachmentId=structtypenonrect=stringletcontext_="AttachmentId"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AttachmentId"jletto_json=simple_to_jsonto_valueendmoduleTransitGatewayAttachmentStatus=structtypenonrect=|CREATING|DELETING|DELETED|FAILED|ERROR|READY|PENDING_ACCEPTANCE|REJECTING|REJECTED|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|DELETING->"DELETING"|DELETED->"DELETED"|FAILED->"FAILED"|ERROR->"ERROR"|READY->"READY"|PENDING_ACCEPTANCE->"PENDING_ACCEPTANCE"|REJECTING->"REJECTING"|REJECTED->"REJECTED"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"DELETING"->DELETING|"DELETED"->DELETED|"FAILED"->FAILED|"ERROR"->ERROR|"READY"->READY|"PENDING_ACCEPTANCE"->PENDING_ACCEPTANCE|"REJECTING"->REJECTING|"REJECTED"->REJECTED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration TransitGatewayAttachmentStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TransitGatewayAttachmentStatus"j)letto_json=simple_to_jsonto_valueendmoduleTransitGatewayAttachmentSyncStateMessage=structtypenonrect=stringletcontext_="TransitGatewayAttachmentSyncStateMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TransitGatewayAttachmentSyncStateMessage"jletto_json=simple_to_jsonto_valueendmoduleCreateProxyRule=structtypenonrect={proxyRuleName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it."];description:Description.toption[@ocaml.doc"A description of the proxy rule."];action:ProxyRulePhaseAction.toption[@ocaml.doc"Action to take."];conditions:ProxyRuleConditionList.toption[@ocaml.doc"Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against."];insertPosition:InsertPosition.toption[@ocaml.doc"Where to insert a proxy rule in a proxy rule group."]}letmake?proxyRuleName=fun?description->fun?action->fun?conditions->fun?insertPosition->fun()->{proxyRuleName;description;action;conditions;insertPosition}letto_valuex=structure_to_value[("ProxyRuleName",(Option.mapx.proxyRuleName~f:ResourceName.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Action",(Option.mapx.action~f:ProxyRulePhaseAction.to_value));("Conditions",(Option.mapx.conditions~f:ProxyRuleConditionList.to_value));("InsertPosition",(Option.mapx.insertPosition~f:InsertPosition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinsertPosition=(Option.map~f:InsertPosition.of_xml)(Xml.childxml_arg0"InsertPosition")inletconditions=(Option.map~f:ProxyRuleConditionList.of_xml)(Xml.childxml_arg0"Conditions")inletaction=(Option.map~f:ProxyRulePhaseAction.of_xml)(Xml.childxml_arg0"Action")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletproxyRuleName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleName")inmake?insertPosition?conditions?action?description?proxyRuleName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinsertPosition=field_mapjson__"InsertPosition"InsertPosition.of_jsoninletconditions=field_mapjson__"Conditions"ProxyRuleConditionList.of_jsoninletaction=field_mapjson__"Action"ProxyRulePhaseAction.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletproxyRuleName=field_mapjson__"ProxyRuleName"ResourceName.of_jsoninmake?insertPosition?conditions?action?description?proxyRuleName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert)."]moduleErrorMessage=structtypenonrect=stringletcontext_="ErrorMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleCertificates=structtypenonrect=TlsCertificateData.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TlsCertificateData.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TlsCertificateData.of_xml)letof_jsonj=list_of_json~kind:"Certificates"~of_json:TlsCertificateData.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEncryptionConfiguration=structtypenonrect={keyId:KeyId.toption[@ocaml.doc"The ID of the Amazon Web Services Key Management Service (KMS) customer managed key. You can use any of the key identifiers that KMS supports, unless you're using a key that's managed by another account. If you're using a key managed by another account, then specify the key ARN. For more information, see Key ID in the Amazon Web Services KMS Developer Guide."];type_:EncryptionType.t[@ocaml.doc"The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources."]}letcontext_="EncryptionConfiguration"letmake?keyId=fun~type_->fun()->{keyId;type_}letto_valuex=structure_to_value[("KeyId",(Option.mapx.keyId~f:KeyId.to_value));("Type",(Some(EncryptionType.to_valuex.type_)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=EncryptionType.of_xml(Xml.child_exn~context:context_xml_arg0"Type")inletkeyId=(Option.map~f:KeyId.of_xml)(Xml.childxml_arg0"KeyId")inmake~type_?keyId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_map_exnjson__"Type"EncryptionType.of_jsoninletkeyId=field_mapjson__"KeyId"KeyId.of_jsoninmake~type_?keyId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type that contains optional Amazon Web Services Key Management Service (KMS) encryption settings for your Network Firewall resources. Your data is encrypted by default with an Amazon Web Services owned key that Amazon Web Services owns and manages for you. You can use either the Amazon Web Services owned key, or provide your own customer managed key. To learn more about KMS encryption of your Network Firewall resources, see Encryption at rest with Amazon Web Services Key Managment Service in the Network Firewall Developer Guide."]moduleLastUpdateTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleNumberOfAssociations=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for NumberOfAssociations"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleResourceId=structtypenonrect=stringletcontext_="ResourceId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:36)>>=(fun()->(check_string_maxi~max:36)>>=(fun()->check_patterni~pattern:"^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceId"jletto_json=simple_to_jsonto_valueendmoduleResourceStatus=structtypenonrect=|ACTIVE|DELETING|ERROR|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|DELETING->"DELETING"|ERROR->"ERROR"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"DELETING"->DELETING|"ERROR"->ERROR|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ResourceStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceStatus"j)letto_json=simple_to_jsonto_valueendmoduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Tag.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Tag.of_xml)letof_jsonj=list_of_json~kind:"TagList"~of_json:Tag.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleServerCertificateConfigurations=structtypenonrect=ServerCertificateConfiguration.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServerCertificateConfiguration.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ServerCertificateConfiguration.of_xml)letof_jsonj=list_of_json~kind:"ServerCertificateConfigurations"~of_json:ServerCertificateConfiguration.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAnalysisResultList=structtypenonrect=AnalysisResult.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AnalysisResult.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:AnalysisResult.of_xml)letof_jsonj=list_of_json~kind:"AnalysisResultList"~of_json:AnalysisResult.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRuleCapacity=structtypenonrect=intletmakei=iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for RuleCapacity"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleRuleGroupType=structtypenonrect=|STATELESS|STATEFUL|STATEFUL_DOMAIN|Non_static_idofstringletmakei=iletto_string=function|STATELESS->"STATELESS"|STATEFUL->"STATEFUL"|STATEFUL_DOMAIN->"STATEFUL_DOMAIN"|Non_static_ids->sletof_string=function|"STATELESS"->STATELESS|"STATEFUL"->STATEFUL|"STATEFUL_DOMAIN"->STATEFUL_DOMAIN|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration RuleGroupType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RuleGroupType"j)letto_json=simple_to_jsonto_valueendmoduleSourceMetadata=structtypenonrect={sourceArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from."];sourceUpdateToken:UpdateToken.toption[@ocaml.doc"The update token of the Amazon Web Services managed rule group that your own rule group is copied from. To determine the update token for the managed rule group, call DescribeRuleGroup."]}letmake?sourceArn=fun?sourceUpdateToken->fun()->{sourceArn;sourceUpdateToken}letto_valuex=structure_to_value[("SourceArn",(Option.mapx.sourceArn~f:ResourceArn.to_value));("SourceUpdateToken",(Option.mapx.sourceUpdateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceUpdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"SourceUpdateToken")inletsourceArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"SourceArn")inmake?sourceUpdateToken?sourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceUpdateToken=field_mapjson__"SourceUpdateToken"UpdateToken.of_jsoninletsourceArn=field_mapjson__"SourceArn"ResourceArn.of_jsoninmake?sourceUpdateToken?sourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about the managed rule group that your own rule group is copied from. You can use the the metadata to track version updates made to the originating rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup."]moduleSummaryConfiguration=structtypenonrect={ruleOptions:SummaryRuleOptions.toption[@ocaml.doc"Specifies the selected rule options returned by DescribeRuleGroupSummary."]}letmake?ruleOptions=fun()->{ruleOptions}letto_valuex=structure_to_value[("RuleOptions",(Option.mapx.ruleOptions~f:SummaryRuleOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleOptions=(Option.map~f:SummaryRuleOptions.of_xml)(Xml.childxml_arg0"RuleOptions")inmake?ruleOptions()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleOptions=field_mapjson__"RuleOptions"SummaryRuleOptions.of_jsoninmake?ruleOptions()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type that specifies which Suricata rule metadata fields to use when displaying threat information. Contains: RuleOptions - The Suricata rule options fields to extract and display These settings affect how threat information appears in both the console and API responses. Summaries are available for rule groups you manage and for active threat defense Amazon Web Services managed rule groups."]moduleReferenceSets=structtypenonrect={iPSetReferences:IPSetReferenceMap.toption[@ocaml.doc"The list of IP set references."]}letmake?iPSetReferences=fun()->{iPSetReferences}letto_valuex=structure_to_value[("IPSetReferences",(Option.mapx.iPSetReferences~f:IPSetReferenceMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letiPSetReferences=(Option.map~f:IPSetReferenceMap.of_xml)(Xml.childxml_arg0"IPSetReferences")inmake?iPSetReferences()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letiPSetReferences=field_mapjson__"IPSetReferences"IPSetReferenceMap.of_jsoninmake?iPSetReferences()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a set of IP set references."]moduleRuleVariables=structtypenonrect={iPSets:IPSets.toption[@ocaml.doc"A list of IP addresses and address ranges, in CIDR notation."];portSets:PortSets.toption[@ocaml.doc"A list of port ranges."]}letmake?iPSets=fun?portSets->fun()->{iPSets;portSets}letto_valuex=structure_to_value[("IPSets",(Option.mapx.iPSets~f:IPSets.to_value));("PortSets",(Option.mapx.portSets~f:PortSets.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letportSets=(Option.map~f:PortSets.of_xml)(Xml.childxml_arg0"PortSets")inletiPSets=(Option.map~f:IPSets.of_xml)(Xml.childxml_arg0"IPSets")inmake?portSets?iPSets()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letportSets=field_mapjson__"PortSets"PortSets.of_jsoninletiPSets=field_mapjson__"IPSets"IPSets.of_jsoninmake?portSets?iPSets()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Settings that are available for use in the rules in the RuleGroup where this is defined. See CreateRuleGroup or UpdateRuleGroup for usage."]moduleRulesSource=structtypenonrect={rulesString:RulesString.toption[@ocaml.doc"Stateful inspection criteria, provided in Suricata compatible rules. Suricata is an open-source threat detection framework that includes a standard rule-based language for network traffic inspection. These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting. You can't use the priority keyword if the RuleOrder option in StatefulRuleOptions is set to STRICT_ORDER."];rulesSourceList:RulesSourceList.toption[@ocaml.doc"Stateful inspection criteria for a domain list rule group."];statefulRules:StatefulRules.toption[@ocaml.doc"An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format."];statelessRulesAndCustomActions:StatelessRulesAndCustomActions.toption[@ocaml.doc"Stateless inspection criteria to be used in a stateless rule group."]}letmake?rulesString=fun?rulesSourceList->fun?statefulRules->fun?statelessRulesAndCustomActions->fun()->{rulesString;rulesSourceList;statefulRules;statelessRulesAndCustomActions}letto_valuex=structure_to_value[("RulesString",(Option.mapx.rulesString~f:RulesString.to_value));("RulesSourceList",(Option.mapx.rulesSourceList~f:RulesSourceList.to_value));("StatefulRules",(Option.mapx.statefulRules~f:StatefulRules.to_value));("StatelessRulesAndCustomActions",(Option.mapx.statelessRulesAndCustomActions~f:StatelessRulesAndCustomActions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatelessRulesAndCustomActions=(Option.map~f:StatelessRulesAndCustomActions.of_xml)(Xml.childxml_arg0"StatelessRulesAndCustomActions")inletstatefulRules=(Option.map~f:StatefulRules.of_xml)(Xml.childxml_arg0"StatefulRules")inletrulesSourceList=(Option.map~f:RulesSourceList.of_xml)(Xml.childxml_arg0"RulesSourceList")inletrulesString=(Option.map~f:RulesString.of_xml)(Xml.childxml_arg0"RulesString")inmake?statelessRulesAndCustomActions?statefulRules?rulesSourceList?rulesString()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatelessRulesAndCustomActions=field_mapjson__"StatelessRulesAndCustomActions"StatelessRulesAndCustomActions.of_jsoninletstatefulRules=field_mapjson__"StatefulRules"StatefulRules.of_jsoninletrulesSourceList=field_mapjson__"RulesSourceList"RulesSourceList.of_jsoninletrulesString=field_mapjson__"RulesString"RulesString.of_jsoninmake?statelessRulesAndCustomActions?statefulRules?rulesSourceList?rulesString()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The stateless or stateful rules definitions for use in a single rule group. Each rule group requires a single RulesSource. You can use an instance of this for either stateless rules or stateful rules."]moduleStatefulRuleOptions=structtypenonrect={ruleOrder:RuleOrder.toption[@ocaml.doc"Indicates how to manage the order of the rule evaluation for the rule group. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide."]}letmake?ruleOrder=fun()->{ruleOrder}letto_valuex=structure_to_value[("RuleOrder",(Option.mapx.ruleOrder~f:RuleOrder.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleOrder=(Option.map~f:RuleOrder.of_xml)(Xml.childxml_arg0"RuleOrder")inmake?ruleOrder()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleOrder=field_mapjson__"RuleOrder"RuleOrder.of_jsoninmake?ruleOrder()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Additional options governing how Network Firewall handles the rule group. You can only use these for stateful rule groups."]moduleProxyRulePriority=structtypenonrect={proxyRuleName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it."];newPosition:InsertPosition.toption[@ocaml.doc"Where to move a proxy rule in a proxy rule group."]}letmake?proxyRuleName=fun?newPosition->fun()->{proxyRuleName;newPosition}letto_valuex=structure_to_value[("ProxyRuleName",(Option.mapx.proxyRuleName~f:ResourceName.to_value));("NewPosition",(Option.mapx.newPosition~f:InsertPosition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnewPosition=(Option.map~f:InsertPosition.of_xml)(Xml.childxml_arg0"NewPosition")inletproxyRuleName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleName")inmake?newPosition?proxyRuleName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnewPosition=field_mapjson__"NewPosition"InsertPosition.of_jsoninletproxyRuleName=field_mapjson__"ProxyRuleName"ResourceName.of_jsoninmake?newPosition?proxyRuleName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Proxy rule name and new desired position."]moduleProxyRuleGroupPriorityResult=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];priority:ProxyRuleGroupPriorityResultPriority.toption[@ocaml.doc"Priority of the proxy rule group in the proxy configuration."]}letmake?proxyRuleGroupName=fun?priority->fun()->{proxyRuleGroupName;priority}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("Priority",(Option.mapx.priority~f:ProxyRuleGroupPriorityResultPriority.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpriority=(Option.map~f:ProxyRuleGroupPriorityResultPriority.of_xml)(Xml.childxml_arg0"Priority")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?priority?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpriority=field_mapjson__"Priority"ProxyRuleGroupPriorityResultPriority.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?priority?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Proxy rule group along with its priority."]moduleProxyRuleGroupPriority=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];newPosition:InsertPosition.toption[@ocaml.doc"Where to move a proxy rule group in a proxy configuration."]}letmake?proxyRuleGroupName=fun?newPosition->fun()->{proxyRuleGroupName;newPosition}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("NewPosition",(Option.mapx.newPosition~f:InsertPosition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnewPosition=(Option.map~f:InsertPosition.of_xml)(Xml.childxml_arg0"NewPosition")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?newPosition?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnewPosition=field_mapjson__"NewPosition"InsertPosition.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?newPosition?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Proxy rule group name and new desired position."]moduleCreateTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleDeleteTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleFailureCode=structtypenonrect=stringletcontext_="FailureCode"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"FailureCode"jletto_json=simple_to_jsonto_valueendmoduleFailureMessage=structtypenonrect=stringletcontext_="FailureMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"FailureMessage"jletto_json=simple_to_jsonto_valueendmoduleListenerProperties=structtypenonrect=ListenerProperty.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ListenerProperty.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ListenerProperty.of_xml)letof_jsonj=list_of_json~kind:"ListenerProperties"~of_json:ListenerProperty.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNatGatewayId=structtypenonrect=stringletcontext_="NatGatewayId"letmakei=letopenResultinok_or_failwith(check_string_mini~min:1);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NatGatewayId"jletto_json=simple_to_jsonto_valueendmoduleProxyModifyState=structtypenonrect=|MODIFYING|COMPLETED|FAILED|Non_static_idofstringletmakei=iletto_string=function|MODIFYING->"MODIFYING"|COMPLETED->"COMPLETED"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"MODIFYING"->MODIFYING|"COMPLETED"->COMPLETED|"FAILED"->FAILED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ProxyModifyState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProxyModifyState"j)letto_json=simple_to_jsonto_valueendmoduleProxyState=structtypenonrect=|ATTACHING|ATTACHED|DETACHING|DETACHED|ATTACH_FAILED|DETACH_FAILED|Non_static_idofstringletmakei=iletto_string=function|ATTACHING->"ATTACHING"|ATTACHED->"ATTACHED"|DETACHING->"DETACHING"|DETACHED->"DETACHED"|ATTACH_FAILED->"ATTACH_FAILED"|DETACH_FAILED->"DETACH_FAILED"|Non_static_ids->sletof_string=function|"ATTACHING"->ATTACHING|"ATTACHED"->ATTACHED|"DETACHING"->DETACHING|"DETACHED"->DETACHED|"ATTACH_FAILED"->ATTACH_FAILED|"DETACH_FAILED"->DETACH_FAILED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ProxyState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ProxyState"j)letto_json=simple_to_jsonto_valueendmoduleTlsInterceptProperties=structtypenonrect={pcaArn:ResourceArn.toption[@ocaml.doc"Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication."];tlsInterceptMode:TlsInterceptMode.toption[@ocaml.doc"Specifies whether to enable or disable TLS Intercept Mode."]}letmake?pcaArn=fun?tlsInterceptMode->fun()->{pcaArn;tlsInterceptMode}letto_valuex=structure_to_value[("PcaArn",(Option.mapx.pcaArn~f:ResourceArn.to_value));("TlsInterceptMode",(Option.mapx.tlsInterceptMode~f:TlsInterceptMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettlsInterceptMode=(Option.map~f:TlsInterceptMode.of_xml)(Xml.childxml_arg0"TlsInterceptMode")inletpcaArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"PcaArn")inmake?tlsInterceptMode?pcaArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettlsInterceptMode=field_mapjson__"TlsInterceptMode"TlsInterceptMode.of_jsoninletpcaArn=field_mapjson__"PcaArn"ResourceArn.of_jsoninmake?tlsInterceptMode?pcaArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"TLS decryption on traffic to filter on attributes in the HTTP header."]moduleUpdateTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleListenerPropertyRequest=structtypenonrect={port:NatGatewayPort.t[@ocaml.doc"Port for processing traffic."];type_:ListenerPropertyType.t[@ocaml.doc"Selection of HTTP or HTTPS traffic."]}letcontext_="ListenerPropertyRequest"letmake~port=fun~type_->fun()->{port;type_}letto_valuex=structure_to_value[("Port",(Some(NatGatewayPort.to_valuex.port)));("Type",(Some(ListenerPropertyType.to_valuex.type_)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=ListenerPropertyType.of_xml(Xml.child_exn~context:context_xml_arg0"Type")inletport=NatGatewayPort.of_xml(Xml.child_exn~context:context_xml_arg0"Port")inmake~type_~port()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_map_exnjson__"Type"ListenerPropertyType.of_jsoninletport=field_map_exnjson__"Port"NatGatewayPort.of_jsoninmake~type_~port()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used specifically for the CreateProxy and UpdateProxy APIs. Open port for taking HTTP or HTTPS traffic."]moduleProxyConfigDefaultRulePhaseActionsRequest=structtypenonrect={preDNS:ProxyRulePhaseAction.toption[@ocaml.doc"Before domain resolution."];preREQUEST:ProxyRulePhaseAction.toption[@ocaml.doc"After DNS, before request."];postRESPONSE:ProxyRulePhaseAction.toption[@ocaml.doc"After receiving response."]}letmake?preDNS=fun?preREQUEST->fun?postRESPONSE->fun()->{preDNS;preREQUEST;postRESPONSE}letto_valuex=structure_to_value[("PreDNS",(Option.mapx.preDNS~f:ProxyRulePhaseAction.to_value));("PreREQUEST",(Option.mapx.preREQUEST~f:ProxyRulePhaseAction.to_value));("PostRESPONSE",(Option.mapx.postRESPONSE~f:ProxyRulePhaseAction.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpostRESPONSE=(Option.map~f:ProxyRulePhaseAction.of_xml)(Xml.childxml_arg0"PostRESPONSE")inletpreREQUEST=(Option.map~f:ProxyRulePhaseAction.of_xml)(Xml.childxml_arg0"PreREQUEST")inletpreDNS=(Option.map~f:ProxyRulePhaseAction.of_xml)(Xml.childxml_arg0"PreDNS")inmake?postRESPONSE?preREQUEST?preDNS()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpostRESPONSE=field_mapjson__"PostRESPONSE"ProxyRulePhaseAction.of_jsoninletpreREQUEST=field_mapjson__"PreREQUEST"ProxyRulePhaseAction.of_jsoninletpreDNS=field_mapjson__"PreDNS"ProxyRulePhaseAction.of_jsoninmake?postRESPONSE?preREQUEST?preDNS()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. This data type is used specifically for the CreateProxyConfiguration and UpdateProxyConfiguration APIs."]moduleProxyConfigRuleGroupSet=structtypenonrect=ProxyConfigRuleGroup.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyConfigRuleGroup.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyConfigRuleGroup.of_xml)letof_jsonj=list_of_json~kind:"ProxyConfigRuleGroupSet"~of_json:ProxyConfigRuleGroup.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLogDestinationConfigs=structtypenonrect=LogDestinationConfig.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LogDestinationConfig.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:LogDestinationConfig.of_xml)letof_jsonj=list_of_json~kind:"LogDestinationConfigs"~of_json:LogDestinationConfig.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnableTLSSessionHolding=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmodulePolicyVariables=structtypenonrect={ruleVariables:IPSets.toption[@ocaml.doc"The IPv4 or IPv6 addresses in CIDR notation to use for the Suricata HOME_NET variable. If your firewall uses an inspection VPC, you might want to override the HOME_NET variable with the CIDRs of your home networks. If you don't override HOME_NET with your own CIDRs, Network Firewall by default uses the CIDR of your inspection VPC."]}letmake?ruleVariables=fun()->{ruleVariables}letto_valuex=structure_to_value[("RuleVariables",(Option.mapx.ruleVariables~f:IPSets.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleVariables=(Option.map~f:IPSets.of_xml)(Xml.childxml_arg0"RuleVariables")inmake?ruleVariables()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleVariables=field_mapjson__"RuleVariables"IPSets.of_jsoninmake?ruleVariables()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains variables that you can use to override default Suricata settings in your firewall policy."]moduleStatefulActions=structtypenonrect=CollectionMember_String.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CollectionMember_String.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:CollectionMember_String.of_xml)letof_jsonj=list_of_json~kind:"StatefulActions"~of_json:CollectionMember_String.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStatefulEngineOptions=structtypenonrect={ruleOrder:RuleOrder.toption[@ocaml.doc"Indicates how to manage the order of stateful rule evaluation for the policy. STRICT_ORDER is the recommended option, but DEFAULT_ACTION_ORDER is the default option. With STRICT_ORDER, provide your rules in the order that you want them to be evaluated. You can then choose one or more default actions for packets that don't match any rules. Choose STRICT_ORDER to have the stateful rules engine determine the evaluation order of your rules. The default action for this rule order is PASS, followed by DROP, REJECT, and ALERT actions. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on your settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide."];streamExceptionPolicy:StreamExceptionPolicy.toption[@ocaml.doc"Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself. DROP - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior. CONTINUE - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to drop http traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent\226\128\148a TCP-layer rule using a flow:stateless rule would still match, as would the aws:drop_strict default action. REJECT - Network Firewall fails closed and drops all subsequent traffic going to the firewall. Network Firewall also sends a TCP reject packet back to your client so that the client can immediately establish a new session. Network Firewall will have context about the new session and will apply rules to the subsequent traffic."];flowTimeouts:FlowTimeouts.toption[@ocaml.doc"Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle."]}letmake?ruleOrder=fun?streamExceptionPolicy->fun?flowTimeouts->fun()->{ruleOrder;streamExceptionPolicy;flowTimeouts}letto_valuex=structure_to_value[("RuleOrder",(Option.mapx.ruleOrder~f:RuleOrder.to_value));("StreamExceptionPolicy",(Option.mapx.streamExceptionPolicy~f:StreamExceptionPolicy.to_value));("FlowTimeouts",(Option.mapx.flowTimeouts~f:FlowTimeouts.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowTimeouts=(Option.map~f:FlowTimeouts.of_xml)(Xml.childxml_arg0"FlowTimeouts")inletstreamExceptionPolicy=(Option.map~f:StreamExceptionPolicy.of_xml)(Xml.childxml_arg0"StreamExceptionPolicy")inletruleOrder=(Option.map~f:RuleOrder.of_xml)(Xml.childxml_arg0"RuleOrder")inmake?flowTimeouts?streamExceptionPolicy?ruleOrder()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowTimeouts=field_mapjson__"FlowTimeouts"FlowTimeouts.of_jsoninletstreamExceptionPolicy=field_mapjson__"StreamExceptionPolicy"StreamExceptionPolicy.of_jsoninletruleOrder=field_mapjson__"RuleOrder"RuleOrder.of_jsoninmake?flowTimeouts?streamExceptionPolicy?ruleOrder()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration settings for the handling of the stateful rule groups in a firewall policy."]moduleStatefulRuleGroupReferences=structtypenonrect=StatefulRuleGroupReference.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StatefulRuleGroupReference.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:StatefulRuleGroupReference.of_xml)letof_jsonj=list_of_json~kind:"StatefulRuleGroupReferences"~of_json:StatefulRuleGroupReference.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStatelessRuleGroupReferences=structtypenonrect=StatelessRuleGroupReference.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StatelessRuleGroupReference.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:StatelessRuleGroupReference.of_xml)letof_jsonj=list_of_json~kind:"StatelessRuleGroupReferences"~of_json:StatelessRuleGroupReference.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVpcEndpointAssociationMetadata=structtypenonrect={vpcEndpointAssociationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."]}letmake?vpcEndpointAssociationArn=fun()->{vpcEndpointAssociationArn}letto_valuex=structure_to_value[("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inmake?vpcEndpointAssociationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninmake?vpcEndpointAssociationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a VPC endpoint association, returned by ListVpcEndpointAssociations. You can use the information provided in the metadata to retrieve and manage a VPC endpoint association."]moduleTLSInspectionConfigurationMetadata=structtypenonrect={name:ResourceName.toption[@ocaml.doc"The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it."];arn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the TLS inspection configuration."]}letmake?name=fun?arn->fun()->{name;arn}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:ResourceName.to_value));("Arn",(Option.mapx.arn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"Arn")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"Name")inmake?arn?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"Arn"ResourceArn.of_jsoninletname=field_mapjson__"Name"ResourceName.of_jsoninmake?arn?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a TLS inspection configuration, returned by ListTLSInspectionConfigurations. You can use the information provided in the metadata to retrieve and manage a TLS configuration."]moduleRuleGroupMetadata=structtypenonrect={name:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it."];arn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the rule group."];vendorName:VendorName.toption[@ocaml.doc"The name of the Amazon Web Services Marketplace seller that provides this rule group."]}letmake?name=fun?arn->fun?vendorName->fun()->{name;arn;vendorName}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:ResourceName.to_value));("Arn",(Option.mapx.arn~f:ResourceArn.to_value));("VendorName",(Option.mapx.vendorName~f:VendorName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvendorName=(Option.map~f:VendorName.of_xml)(Xml.childxml_arg0"VendorName")inletarn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"Arn")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"Name")inmake?vendorName?arn?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvendorName=field_mapjson__"VendorName"VendorName.of_jsoninletarn=field_mapjson__"Arn"ResourceArn.of_jsoninletname=field_mapjson__"Name"ResourceName.of_jsoninmake?vendorName?arn?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a rule group, returned by ListRuleGroups. You can use the information provided in the metadata to retrieve and manage a rule group."]moduleProxyRuleGroupMetadata=structtypenonrect={name:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];arn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group."]}letmake?name=fun?arn->fun()->{name;arn}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:ResourceName.to_value));("Arn",(Option.mapx.arn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"Arn")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"Name")inmake?arn?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"Arn"ResourceArn.of_jsoninletname=field_mapjson__"Name"ResourceName.of_jsoninmake?arn?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a proxy rule group, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a proxy rule group. You can retrieve all objects for a proxy rule group by calling DescribeProxyRuleGroup."]moduleProxyConfigurationMetadata=structtypenonrect={name:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it."];arn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration."]}letmake?name=fun?arn->fun()->{name;arn}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:ResourceName.to_value));("Arn",(Option.mapx.arn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"Arn")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"Name")inmake?arn?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"Arn"ResourceArn.of_jsoninletname=field_mapjson__"Name"ResourceName.of_jsoninmake?arn?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a proxy configuration, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a proxy configuration. You can retrieve all objects for a proxy configuration by calling DescribeProxyConfiguration."]moduleProxyMetadata=structtypenonrect={name:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy. You can't change the name of a proxy after you create it."];arn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy."]}letmake?name=fun?arn->fun()->{name;arn}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:ResourceName.to_value));("Arn",(Option.mapx.arn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"Arn")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"Name")inmake?arn?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"Arn"ResourceArn.of_jsoninletname=field_mapjson__"Name"ResourceName.of_jsoninmake?arn?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a proxy, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a proxy. You can retrieve all objects for a proxy by calling DescribeProxy."]moduleFlowOperationMetadata=structtypenonrect={flowOperationId:FlowOperationId.toption[@ocaml.doc"A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands."];flowOperationType:FlowOperationType.toption[@ocaml.doc"Defines the type of FlowOperation."];flowRequestTimestamp:FlowRequestTimestamp.toption[@ocaml.doc"A timestamp indicating when the Suricata engine identified flows impacted by an operation."];flowOperationStatus:FlowOperationStatus.toption[@ocaml.doc"Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands. If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty."]}letmake?flowOperationId=fun?flowOperationType->fun?flowRequestTimestamp->fun?flowOperationStatus->fun()->{flowOperationId;flowOperationType;flowRequestTimestamp;flowOperationStatus}letto_valuex=structure_to_value[("FlowOperationId",(Option.mapx.flowOperationId~f:FlowOperationId.to_value));("FlowOperationType",(Option.mapx.flowOperationType~f:FlowOperationType.to_value));("FlowRequestTimestamp",(Option.mapx.flowRequestTimestamp~f:FlowRequestTimestamp.to_value));("FlowOperationStatus",(Option.mapx.flowOperationStatus~f:FlowOperationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowOperationStatus=(Option.map~f:FlowOperationStatus.of_xml)(Xml.childxml_arg0"FlowOperationStatus")inletflowRequestTimestamp=(Option.map~f:FlowRequestTimestamp.of_xml)(Xml.childxml_arg0"FlowRequestTimestamp")inletflowOperationType=(Option.map~f:FlowOperationType.of_xml)(Xml.childxml_arg0"FlowOperationType")inletflowOperationId=(Option.map~f:FlowOperationId.of_xml)(Xml.childxml_arg0"FlowOperationId")inmake?flowOperationStatus?flowRequestTimestamp?flowOperationType?flowOperationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowOperationStatus=field_mapjson__"FlowOperationStatus"FlowOperationStatus.of_jsoninletflowRequestTimestamp=field_mapjson__"FlowRequestTimestamp"FlowRequestTimestamp.of_jsoninletflowOperationType=field_mapjson__"FlowOperationType"FlowOperationType.of_jsoninletflowOperationId=field_mapjson__"FlowOperationId"FlowOperationId.of_jsoninmake?flowOperationStatus?flowRequestTimestamp?flowOperationType?flowOperationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An array of objects with metadata about the requested FlowOperation."]moduleFlow=structtypenonrect={sourceAddress:Address.toption;destinationAddress:Address.toption;sourcePort:Port.toption[@ocaml.doc"The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY."];destinationPort:Port.toption[@ocaml.doc"The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY."];protocol:ProtocolString.toption[@ocaml.doc"The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol."];age:Age.toption[@ocaml.doc"Returned as info about age of the flows identified by the flow operation."];packetCount:PacketCount.toption[@ocaml.doc"Returns the total number of data packets received or transmitted in a flow."];byteCount:ByteCount.toption[@ocaml.doc"Returns the number of bytes received or transmitted in a specific flow."]}letmake?sourceAddress=fun?destinationAddress->fun?sourcePort->fun?destinationPort->fun?protocol->fun?age->fun?packetCount->fun?byteCount->fun()->{sourceAddress;destinationAddress;sourcePort;destinationPort;protocol;age;packetCount;byteCount}letto_valuex=structure_to_value[("SourceAddress",(Option.mapx.sourceAddress~f:Address.to_value));("DestinationAddress",(Option.mapx.destinationAddress~f:Address.to_value));("SourcePort",(Option.mapx.sourcePort~f:Port.to_value));("DestinationPort",(Option.mapx.destinationPort~f:Port.to_value));("Protocol",(Option.mapx.protocol~f:ProtocolString.to_value));("Age",(Option.mapx.age~f:Age.to_value));("PacketCount",(Option.mapx.packetCount~f:PacketCount.to_value));("ByteCount",(Option.mapx.byteCount~f:ByteCount.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbyteCount=(Option.map~f:ByteCount.of_xml)(Xml.childxml_arg0"ByteCount")inletpacketCount=(Option.map~f:PacketCount.of_xml)(Xml.childxml_arg0"PacketCount")inletage=(Option.map~f:Age.of_xml)(Xml.childxml_arg0"Age")inletprotocol=(Option.map~f:ProtocolString.of_xml)(Xml.childxml_arg0"Protocol")inletdestinationPort=(Option.map~f:Port.of_xml)(Xml.childxml_arg0"DestinationPort")inletsourcePort=(Option.map~f:Port.of_xml)(Xml.childxml_arg0"SourcePort")inletdestinationAddress=(Option.map~f:Address.of_xml)(Xml.childxml_arg0"DestinationAddress")inletsourceAddress=(Option.map~f:Address.of_xml)(Xml.childxml_arg0"SourceAddress")inmake?byteCount?packetCount?age?protocol?destinationPort?sourcePort?destinationAddress?sourceAddress()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbyteCount=field_mapjson__"ByteCount"ByteCount.of_jsoninletpacketCount=field_mapjson__"PacketCount"PacketCount.of_jsoninletage=field_mapjson__"Age"Age.of_jsoninletprotocol=field_mapjson__"Protocol"ProtocolString.of_jsoninletdestinationPort=field_mapjson__"DestinationPort"Port.of_jsoninletsourcePort=field_mapjson__"SourcePort"Port.of_jsoninletdestinationAddress=field_mapjson__"DestinationAddress"Address.of_jsoninletsourceAddress=field_mapjson__"SourceAddress"Address.of_jsoninmake?byteCount?packetCount?age?protocol?destinationPort?sourcePort?destinationAddress?sourceAddress()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Any number of arrays, where each array is a single flow identified in the scope of the operation. If multiple flows were in the scope of the operation, multiple Flows arrays are returned."]moduleFirewallMetadata=structtypenonrect={firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];transitGatewayAttachmentId:TransitGatewayAttachmentId.toption[@ocaml.doc"The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls."]}letmake?firewallName=fun?firewallArn->fun?transitGatewayAttachmentId->fun()->{firewallName;firewallArn;transitGatewayAttachmentId}letto_valuex=structure_to_value[("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("TransitGatewayAttachmentId",(Option.mapx.transitGatewayAttachmentId~f:TransitGatewayAttachmentId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentId=(Option.map~f:TransitGatewayAttachmentId.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentId")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inmake?transitGatewayAttachmentId?firewallArn?firewallName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentId=field_mapjson__"TransitGatewayAttachmentId"TransitGatewayAttachmentId.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninmake?transitGatewayAttachmentId?firewallArn?firewallName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a firewall, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a firewall."]moduleVpcId=structtypenonrect=stringletcontext_="VpcId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^vpc-[0-9a-f]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VpcId"jletto_json=simple_to_jsonto_valueendmoduleFirewallPolicyMetadata=structtypenonrect={name:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it."];arn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy."]}letmake?name=fun?arn->fun()->{name;arn}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:ResourceName.to_value));("Arn",(Option.mapx.arn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"Arn")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"Name")inmake?arn?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"Arn"ResourceArn.of_jsoninletname=field_mapjson__"Name"ResourceName.of_jsoninmake?arn?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a firewall policy, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a firewall policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy."]moduleAnalysisReport=structtypenonrect={analysisReportId:AnalysisReportId.toption[@ocaml.doc"The unique ID of the query that ran when you requested an analysis report."];analysisType:EnabledAnalysisType.toption[@ocaml.doc"The type of traffic that will be used to generate a report."];reportTime:ReportTime.toption[@ocaml.doc"The date and time the analysis report was ran."];status:Status.toption[@ocaml.doc"The status of the analysis report you specify. Statuses include RUNNING, COMPLETED, or FAILED."]}letmake?analysisReportId=fun?analysisType->fun?reportTime->fun?status->fun()->{analysisReportId;analysisType;reportTime;status}letto_valuex=structure_to_value[("AnalysisReportId",(Option.mapx.analysisReportId~f:AnalysisReportId.to_value));("AnalysisType",(Option.mapx.analysisType~f:EnabledAnalysisType.to_value));("ReportTime",(Option.mapx.reportTime~f:ReportTime.to_value));("Status",(Option.mapx.status~f:Status.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inletreportTime=(Option.map~f:ReportTime.of_xml)(Xml.childxml_arg0"ReportTime")inletanalysisType=(Option.map~f:EnabledAnalysisType.of_xml)(Xml.childxml_arg0"AnalysisType")inletanalysisReportId=(Option.map~f:AnalysisReportId.of_xml)(Xml.childxml_arg0"AnalysisReportId")inmake?status?reportTime?analysisType?analysisReportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"Status"Status.of_jsoninletreportTime=field_mapjson__"ReportTime"ReportTime.of_jsoninletanalysisType=field_mapjson__"AnalysisType"EnabledAnalysisType.of_jsoninletanalysisReportId=field_mapjson__"AnalysisReportId"AnalysisReportId.of_jsoninmake?status?reportTime?analysisType?analysisReportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A report that captures key activity from the last 30 days of network traffic monitored by your firewall. You can generate up to one report per traffic type, per 30 day period. For example, when you successfully create an HTTP traffic report, you cannot create another HTTP traffic report until 30 days pass. Alternatively, if you generate a report that combines metrics on both HTTP and HTTPS traffic, you cannot create another report for either traffic type until 30 days pass."]moduleAnalysisTypeReportResult=structtypenonrect={protocol:CollectionMember_String.toption[@ocaml.doc"The type of traffic captured by the analysis report."];firstAccessed:FirstAccessed.toption[@ocaml.doc"The date and time any domain was first accessed (within the last 30 day period)."];lastAccessed:LastAccessed.toption[@ocaml.doc"The date and time any domain was last accessed (within the last 30 day period)."];domain:Domain.toption[@ocaml.doc"The most frequently accessed domains."];hits:Hits.toption[@ocaml.doc"The number of attempts made to access a observed domain."];uniqueSources:UniqueSources.toption[@ocaml.doc"The number of unique source IP addresses that connected to a domain."]}letmake?protocol=fun?firstAccessed->fun?lastAccessed->fun?domain->fun?hits->fun?uniqueSources->fun()->{protocol;firstAccessed;lastAccessed;domain;hits;uniqueSources}letto_valuex=structure_to_value[("Protocol",(Option.mapx.protocol~f:CollectionMember_String.to_value));("FirstAccessed",(Option.mapx.firstAccessed~f:FirstAccessed.to_value));("LastAccessed",(Option.mapx.lastAccessed~f:LastAccessed.to_value));("Domain",(Option.mapx.domain~f:Domain.to_value));("Hits",(Option.mapx.hits~f:Hits.to_value));("UniqueSources",(Option.mapx.uniqueSources~f:UniqueSources.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letuniqueSources=(Option.map~f:UniqueSources.of_xml)(Xml.childxml_arg0"UniqueSources")inlethits=(Option.map~f:Hits.of_xml)(Xml.childxml_arg0"Hits")inletdomain=(Option.map~f:Domain.of_xml)(Xml.childxml_arg0"Domain")inletlastAccessed=(Option.map~f:LastAccessed.of_xml)(Xml.childxml_arg0"LastAccessed")inletfirstAccessed=(Option.map~f:FirstAccessed.of_xml)(Xml.childxml_arg0"FirstAccessed")inletprotocol=(Option.map~f:CollectionMember_String.of_xml)(Xml.childxml_arg0"Protocol")inmake?uniqueSources?hits?domain?lastAccessed?firstAccessed?protocol()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letuniqueSources=field_mapjson__"UniqueSources"UniqueSources.of_jsoninlethits=field_mapjson__"Hits"Hits.of_jsoninletdomain=field_mapjson__"Domain"Domain.of_jsoninletlastAccessed=field_mapjson__"LastAccessed"LastAccessed.of_jsoninletfirstAccessed=field_mapjson__"FirstAccessed"FirstAccessed.of_jsoninletprotocol=field_mapjson__"Protocol"CollectionMember_String.of_jsoninmake?uniqueSources?hits?domain?lastAccessed?firstAccessed?protocol()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The results of a COMPLETED analysis report generated with StartAnalysisReport. For an example of traffic analysis report results, see the response syntax of GetAnalysisReportResults."]moduleAssociationSyncState=structtypenonrect=(AvailabilityZone.t*AZSyncState.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types AvailabilityZone AZSyncState"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(AvailabilityZone.to_valuex)|>(funx->(AZSyncState.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:AvailabilityZone.of_string~of_json:AZSyncState.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFirewallStatusValue=structtypenonrect=|PROVISIONING|DELETING|READY|Non_static_idofstringletmakei=iletto_string=function|PROVISIONING->"PROVISIONING"|DELETING->"DELETING"|READY->"READY"|Non_static_ids->sletof_string=function|"PROVISIONING"->PROVISIONING|"DELETING"->DELETING|"READY"->READY|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration FirewallStatusValue"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FirewallStatusValue"j)letto_json=simple_to_jsonto_valueendmoduleRuleSummaries=structtypenonrect=RuleSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RuleSummary.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:RuleSummary.of_xml)letof_jsonj=list_of_json~kind:"RuleSummaries"~of_json:RuleSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxyRulesByRequestPhase=structtypenonrect={preDNS:ProxyRuleList.toption[@ocaml.doc"Before domain resolution."];preREQUEST:ProxyRuleList.toption[@ocaml.doc"After DNS, before request."];postRESPONSE:ProxyRuleList.toption[@ocaml.doc"After receiving response."]}letmake?preDNS=fun?preREQUEST->fun?postRESPONSE->fun()->{preDNS;preREQUEST;postRESPONSE}letto_valuex=structure_to_value[("PreDNS",(Option.mapx.preDNS~f:ProxyRuleList.to_value));("PreREQUEST",(Option.mapx.preREQUEST~f:ProxyRuleList.to_value));("PostRESPONSE",(Option.mapx.postRESPONSE~f:ProxyRuleList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpostRESPONSE=(Option.map~f:ProxyRuleList.of_xml)(Xml.childxml_arg0"PostRESPONSE")inletpreREQUEST=(Option.map~f:ProxyRuleList.of_xml)(Xml.childxml_arg0"PreREQUEST")inletpreDNS=(Option.map~f:ProxyRuleList.of_xml)(Xml.childxml_arg0"PreDNS")inmake?postRESPONSE?preREQUEST?preDNS()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpostRESPONSE=field_mapjson__"PostRESPONSE"ProxyRuleList.of_jsoninletpreREQUEST=field_mapjson__"PreREQUEST"ProxyRuleList.of_jsoninletpreDNS=field_mapjson__"PreDNS"ProxyRuleList.of_jsoninmake?postRESPONSE?preREQUEST?preDNS()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied."]modulePrivateDNSName=structtypenonrect=stringletcontext_="PrivateDNSName"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PrivateDNSName"jletto_json=simple_to_jsonto_valueendmoduleVpcEndpointServiceName=structtypenonrect=stringletcontext_="VpcEndpointServiceName"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VpcEndpointServiceName"jletto_json=simple_to_jsonto_valueendmoduleFlowFilters=structtypenonrect=FlowFilter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FlowFilter.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:FlowFilter.of_xml)letof_jsonj=list_of_json~kind:"FlowFilters"~of_json:FlowFilter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAWSAccountId=structtypenonrect=stringletcontext_="AWSAccountId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:12)>>=(fun()->(check_string_maxi~max:12)>>=(fun()->check_patterni~pattern:"^\\d{12}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AWSAccountId"jletto_json=simple_to_jsonto_valueendmoduleAvailabilityZoneMappings=structtypenonrect=AvailabilityZoneMapping.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AvailabilityZoneMapping.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:AvailabilityZoneMapping.of_xml)letof_jsonj=list_of_json~kind:"AvailabilityZoneMappings"~of_json:AvailabilityZoneMapping.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBoolean=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleEnabledAnalysisTypes=structtypenonrect=EnabledAnalysisType.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnabledAnalysisType.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:EnabledAnalysisType.of_xml)letof_jsonj=list_of_json~kind:"EnabledAnalysisTypes"~of_json:EnabledAnalysisType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSubnetMappings=structtypenonrect=SubnetMapping.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SubnetMapping.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:SubnetMapping.of_xml)letof_jsonj=list_of_json~kind:"SubnetMappings"~of_json:SubnetMapping.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTransitGatewayId=structtypenonrect=stringletcontext_="TransitGatewayId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:"^tgw-[0-9a-z]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TransitGatewayId"jletto_json=simple_to_jsonto_valueendmoduleCapacityUsageSummary=structtypenonrect={cIDRs:CIDRSummary.toption[@ocaml.doc"Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall."]}letmake?cIDRs=fun()->{cIDRs}letto_valuex=structure_to_value[("CIDRs",(Option.mapx.cIDRs~f:CIDRSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcIDRs=(Option.map~f:CIDRSummary.of_xml)(Xml.childxml_arg0"CIDRs")inmake?cIDRs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcIDRs=field_mapjson__"CIDRs"CIDRSummary.of_jsoninmake?cIDRs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The capacity usage summary of the resources used by the ReferenceSets in a firewall."]moduleConfigurationSyncState=structtypenonrect=|PENDING|IN_SYNC|CAPACITY_CONSTRAINED|Non_static_idofstringletmakei=iletto_string=function|PENDING->"PENDING"|IN_SYNC->"IN_SYNC"|CAPACITY_CONSTRAINED->"CAPACITY_CONSTRAINED"|Non_static_ids->sletof_string=function|"PENDING"->PENDING|"IN_SYNC"->IN_SYNC|"CAPACITY_CONSTRAINED"->CAPACITY_CONSTRAINED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ConfigurationSyncState"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConfigurationSyncState"j)letto_json=simple_to_jsonto_valueendmoduleSyncStates=structtypenonrect=(AvailabilityZone.t*SyncState.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types AvailabilityZone SyncState"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(AvailabilityZone.to_valuex)|>(funx->(SyncState.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:AvailabilityZone.of_string~of_json:SyncState.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTransitGatewayAttachmentSyncState=structtypenonrect={attachmentId:AttachmentId.toption[@ocaml.doc"The unique identifier of the transit gateway attachment."];transitGatewayAttachmentStatus:TransitGatewayAttachmentStatus.toption[@ocaml.doc"The current status of the transit gateway attachment. Valid values are: CREATING - The attachment is being created DELETING - The attachment is being deleted DELETED - The attachment has been deleted FAILED - The attachment creation has failed and cannot be recovered ERROR - The attachment is in an error state that might be recoverable READY - The attachment is active and processing traffic PENDING_ACCEPTANCE - The attachment is waiting to be accepted REJECTING - The attachment is in the process of being rejected REJECTED - The attachment has been rejected"];statusMessage:TransitGatewayAttachmentSyncStateMessage.toption[@ocaml.doc"A message providing additional information about the current status, particularly useful when the transit gateway attachment is in a non-READY state. Valid values are: CREATING - The attachment is being created DELETING - The attachment is being deleted DELETED - The attachment has been deleted FAILED - The attachment creation has failed and cannot be recovered ERROR - The attachment is in an error state that might be recoverable READY - The attachment is active and processing traffic PENDING_ACCEPTANCE - The attachment is waiting to be accepted REJECTING - The attachment is in the process of being rejected REJECTED - The attachment has been rejected For information about troubleshooting endpoint failures, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide."]}letmake?attachmentId=fun?transitGatewayAttachmentStatus->fun?statusMessage->fun()->{attachmentId;transitGatewayAttachmentStatus;statusMessage}letto_valuex=structure_to_value[("AttachmentId",(Option.mapx.attachmentId~f:AttachmentId.to_value));("TransitGatewayAttachmentStatus",(Option.mapx.transitGatewayAttachmentStatus~f:TransitGatewayAttachmentStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:TransitGatewayAttachmentSyncStateMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:TransitGatewayAttachmentSyncStateMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inlettransitGatewayAttachmentStatus=(Option.map~f:TransitGatewayAttachmentStatus.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentStatus")inletattachmentId=(Option.map~f:AttachmentId.of_xml)(Xml.childxml_arg0"AttachmentId")inmake?statusMessage?transitGatewayAttachmentStatus?attachmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"TransitGatewayAttachmentSyncStateMessage.of_jsoninlettransitGatewayAttachmentStatus=field_mapjson__"TransitGatewayAttachmentStatus"TransitGatewayAttachmentStatus.of_jsoninletattachmentId=field_mapjson__"AttachmentId"AttachmentId.of_jsoninmake?statusMessage?transitGatewayAttachmentStatus?attachmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about the synchronization state of a transit gateway attachment, including its current status and any error messages. Network Firewall uses this to track the state of your transit gateway configuration changes."]moduleAvailabilityZoneMetadata=structtypenonrect={iPAddressType:IPAddressType.toption[@ocaml.doc"The IP address type of the Firewall subnet in the Availability Zone. You can't change the IP address type after you create the subnet."]}letmake?iPAddressType=fun()->{iPAddressType}letto_valuex=structure_to_value[("IPAddressType",(Option.mapx.iPAddressType~f:IPAddressType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letiPAddressType=(Option.map~f:IPAddressType.of_xml)(Xml.childxml_arg0"IPAddressType")inmake?iPAddressType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letiPAddressType=field_mapjson__"IPAddressType"IPAddressType.of_jsoninmake?iPAddressType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about an Availability Zone where the firewall has an endpoint defined."]moduleCreateProxyRuleList=structtypenonrect=CreateProxyRule.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:CreateProxyRule.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:CreateProxyRule.of_xml)letof_jsonj=list_of_json~kind:"CreateProxyRuleList"~of_json:CreateProxyRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxyRuleGroupAttachment=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];insertPosition:InsertPosition.toption[@ocaml.doc"Where to insert a proxy rule group in a proxy configuration."]}letmake?proxyRuleGroupName=fun?insertPosition->fun()->{proxyRuleGroupName;insertPosition}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("InsertPosition",(Option.mapx.insertPosition~f:InsertPosition.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinsertPosition=(Option.map~f:InsertPosition.of_xml)(Xml.childxml_arg0"InsertPosition")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?insertPosition?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinsertPosition=field_mapjson__"InsertPosition"InsertPosition.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?insertPosition?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The proxy rule group(s) to attach to the proxy configuration"]moduleInternalServerError=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request."]moduleInvalidRequestException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The operation failed because of a problem with your request. Examples include: You specified an unsupported parameter name or value. You tried to update a property with a value that isn't among the available types. Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request."]moduleInvalidTokenException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The token you provided is stale or isn't valid for the operation."]moduleResourceNotFoundException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Unable to locate a resource using the parameters that you provided."]moduleTLSInspectionConfigurationResponse=structtypenonrect={tLSInspectionConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the TLS inspection configuration."];tLSInspectionConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it."];tLSInspectionConfigurationId:ResourceId.toption[@ocaml.doc"A unique identifier for the TLS inspection configuration. This ID is returned in the responses to create and list commands. You provide it to operations such as update and delete."];tLSInspectionConfigurationStatus:ResourceStatus.toption[@ocaml.doc"Detailed information about the current status of a TLSInspectionConfiguration. You can retrieve this for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration and providing the TLS inspection configuration name and ARN."];description:Description.toption[@ocaml.doc"A description of the TLS inspection configuration."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."];lastModifiedTime:LastUpdateTime.toption[@ocaml.doc"The last time that the TLS inspection configuration was changed."];numberOfAssociations:NumberOfAssociations.toption[@ocaml.doc"The number of firewall policies that use this TLS inspection configuration."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains the Amazon Web Services KMS encryption configuration settings for your TLS inspection configuration."];certificates:Certificates.toption[@ocaml.doc"A list of the certificates associated with the TLS inspection configuration."];certificateAuthority:TlsCertificateData.toption}letmake?tLSInspectionConfigurationArn=fun?tLSInspectionConfigurationName->fun?tLSInspectionConfigurationId->fun?tLSInspectionConfigurationStatus->fun?description->fun?tags->fun?lastModifiedTime->fun?numberOfAssociations->fun?encryptionConfiguration->fun?certificates->fun?certificateAuthority->fun()->{tLSInspectionConfigurationArn;tLSInspectionConfigurationName;tLSInspectionConfigurationId;tLSInspectionConfigurationStatus;description;tags;lastModifiedTime;numberOfAssociations;encryptionConfiguration;certificates;certificateAuthority}letto_valuex=structure_to_value[("TLSInspectionConfigurationArn",(Option.mapx.tLSInspectionConfigurationArn~f:ResourceArn.to_value));("TLSInspectionConfigurationName",(Option.mapx.tLSInspectionConfigurationName~f:ResourceName.to_value));("TLSInspectionConfigurationId",(Option.mapx.tLSInspectionConfigurationId~f:ResourceId.to_value));("TLSInspectionConfigurationStatus",(Option.mapx.tLSInspectionConfigurationStatus~f:ResourceStatus.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("LastModifiedTime",(Option.mapx.lastModifiedTime~f:LastUpdateTime.to_value));("NumberOfAssociations",(Option.mapx.numberOfAssociations~f:NumberOfAssociations.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value));("Certificates",(Option.mapx.certificates~f:Certificates.to_value));("CertificateAuthority",(Option.mapx.certificateAuthority~f:TlsCertificateData.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcertificateAuthority=(Option.map~f:TlsCertificateData.of_xml)(Xml.childxml_arg0"CertificateAuthority")inletcertificates=(Option.map~f:Certificates.of_xml)(Xml.childxml_arg0"Certificates")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletnumberOfAssociations=(Option.map~f:NumberOfAssociations.of_xml)(Xml.childxml_arg0"NumberOfAssociations")inletlastModifiedTime=(Option.map~f:LastUpdateTime.of_xml)(Xml.childxml_arg0"LastModifiedTime")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettLSInspectionConfigurationStatus=(Option.map~f:ResourceStatus.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationStatus")inlettLSInspectionConfigurationId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationId")inlettLSInspectionConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationName")inlettLSInspectionConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationArn")inmake?certificateAuthority?certificates?encryptionConfiguration?numberOfAssociations?lastModifiedTime?tags?description?tLSInspectionConfigurationStatus?tLSInspectionConfigurationId?tLSInspectionConfigurationName?tLSInspectionConfigurationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcertificateAuthority=field_mapjson__"CertificateAuthority"TlsCertificateData.of_jsoninletcertificates=field_mapjson__"Certificates"Certificates.of_jsoninletencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletnumberOfAssociations=field_mapjson__"NumberOfAssociations"NumberOfAssociations.of_jsoninletlastModifiedTime=field_mapjson__"LastModifiedTime"LastUpdateTime.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettLSInspectionConfigurationStatus=field_mapjson__"TLSInspectionConfigurationStatus"ResourceStatus.of_jsoninlettLSInspectionConfigurationId=field_mapjson__"TLSInspectionConfigurationId"ResourceId.of_jsoninlettLSInspectionConfigurationName=field_mapjson__"TLSInspectionConfigurationName"ResourceName.of_jsoninlettLSInspectionConfigurationArn=field_mapjson__"TLSInspectionConfigurationArn"ResourceArn.of_jsoninmake?certificateAuthority?certificates?encryptionConfiguration?numberOfAssociations?lastModifiedTime?tags?description?tLSInspectionConfigurationStatus?tLSInspectionConfigurationId?tLSInspectionConfigurationName?tLSInspectionConfigurationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration."]moduleThrottlingException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Unable to process the request due to throttling limitations."]moduleTLSInspectionConfiguration=structtypenonrect={serverCertificateConfigurations:ServerCertificateConfigurations.toption[@ocaml.doc"Lists the server certificate configurations that are associated with the TLS configuration."]}letmake?serverCertificateConfigurations=fun()->{serverCertificateConfigurations}letto_valuex=structure_to_value[("ServerCertificateConfigurations",(Option.mapx.serverCertificateConfigurations~f:ServerCertificateConfigurations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverCertificateConfigurations=(Option.map~f:ServerCertificateConfigurations.of_xml)(Xml.childxml_arg0"ServerCertificateConfigurations")inmake?serverCertificateConfigurations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverCertificateConfigurations=field_mapjson__"ServerCertificateConfigurations"ServerCertificateConfigurations.of_jsoninmake?serverCertificateConfigurations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration. Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination. To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide."]moduleResourceOwnerCheckException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Unable to change the resource because your account doesn't own it."]moduleRuleGroupResponse=structtypenonrect={ruleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the rule group. If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource."];ruleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it."];ruleGroupId:ResourceId.toption[@ocaml.doc"The unique identifier for the rule group."];description:Description.toption[@ocaml.doc"A description of the rule group."];type_:RuleGroupType.toption[@ocaml.doc"Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules."];capacity:RuleCapacity.toption[@ocaml.doc"The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group. You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE."];ruleGroupStatus:ResourceStatus.toption[@ocaml.doc"Detailed information about the current status of a rule group."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."];consumedCapacity:RuleCapacity.toption[@ocaml.doc"The number of capacity units currently consumed by the rule group rules."];numberOfAssociations:NumberOfAssociations.toption[@ocaml.doc"The number of firewall policies that use this rule group."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group."];sourceMetadata:SourceMetadata.toption[@ocaml.doc"A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group."];snsTopic:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide.."];lastModifiedTime:LastUpdateTime.toption[@ocaml.doc"The last time that the rule group was changed."];analysisResults:AnalysisResultList.toption[@ocaml.doc"The list of analysis results for AnalyzeRuleGroup. If you set AnalyzeRuleGroup to TRUE in CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup, Network Firewall analyzes the rule group and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in the list of analysis results."];summaryConfiguration:SummaryConfiguration.toption[@ocaml.doc"A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned by DescribeRuleGroupSummary. The RuleOptions specified in SummaryConfiguration Rule metadata organization preferences"]}letmake?ruleGroupArn=fun?ruleGroupName->fun?ruleGroupId->fun?description->fun?type_->fun?capacity->fun?ruleGroupStatus->fun?tags->fun?consumedCapacity->fun?numberOfAssociations->fun?encryptionConfiguration->fun?sourceMetadata->fun?snsTopic->fun?lastModifiedTime->fun?analysisResults->fun?summaryConfiguration->fun()->{ruleGroupArn;ruleGroupName;ruleGroupId;description;type_;capacity;ruleGroupStatus;tags;consumedCapacity;numberOfAssociations;encryptionConfiguration;sourceMetadata;snsTopic;lastModifiedTime;analysisResults;summaryConfiguration}letto_valuex=structure_to_value[("RuleGroupArn",(Option.mapx.ruleGroupArn~f:ResourceArn.to_value));("RuleGroupName",(Option.mapx.ruleGroupName~f:ResourceName.to_value));("RuleGroupId",(Option.mapx.ruleGroupId~f:ResourceId.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Type",(Option.mapx.type_~f:RuleGroupType.to_value));("Capacity",(Option.mapx.capacity~f:RuleCapacity.to_value));("RuleGroupStatus",(Option.mapx.ruleGroupStatus~f:ResourceStatus.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("ConsumedCapacity",(Option.mapx.consumedCapacity~f:RuleCapacity.to_value));("NumberOfAssociations",(Option.mapx.numberOfAssociations~f:NumberOfAssociations.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value));("SourceMetadata",(Option.mapx.sourceMetadata~f:SourceMetadata.to_value));("SnsTopic",(Option.mapx.snsTopic~f:ResourceArn.to_value));("LastModifiedTime",(Option.mapx.lastModifiedTime~f:LastUpdateTime.to_value));("AnalysisResults",(Option.mapx.analysisResults~f:AnalysisResultList.to_value));("SummaryConfiguration",(Option.mapx.summaryConfiguration~f:SummaryConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsummaryConfiguration=(Option.map~f:SummaryConfiguration.of_xml)(Xml.childxml_arg0"SummaryConfiguration")inletanalysisResults=(Option.map~f:AnalysisResultList.of_xml)(Xml.childxml_arg0"AnalysisResults")inletlastModifiedTime=(Option.map~f:LastUpdateTime.of_xml)(Xml.childxml_arg0"LastModifiedTime")inletsnsTopic=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"SnsTopic")inletsourceMetadata=(Option.map~f:SourceMetadata.of_xml)(Xml.childxml_arg0"SourceMetadata")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletnumberOfAssociations=(Option.map~f:NumberOfAssociations.of_xml)(Xml.childxml_arg0"NumberOfAssociations")inletconsumedCapacity=(Option.map~f:RuleCapacity.of_xml)(Xml.childxml_arg0"ConsumedCapacity")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletruleGroupStatus=(Option.map~f:ResourceStatus.of_xml)(Xml.childxml_arg0"RuleGroupStatus")inletcapacity=(Option.map~f:RuleCapacity.of_xml)(Xml.childxml_arg0"Capacity")inlettype_=(Option.map~f:RuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletruleGroupId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"RuleGroupId")inletruleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"RuleGroupName")inletruleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"RuleGroupArn")inmake?summaryConfiguration?analysisResults?lastModifiedTime?snsTopic?sourceMetadata?encryptionConfiguration?numberOfAssociations?consumedCapacity?tags?ruleGroupStatus?capacity?type_?description?ruleGroupId?ruleGroupName?ruleGroupArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsummaryConfiguration=field_mapjson__"SummaryConfiguration"SummaryConfiguration.of_jsoninletanalysisResults=field_mapjson__"AnalysisResults"AnalysisResultList.of_jsoninletlastModifiedTime=field_mapjson__"LastModifiedTime"LastUpdateTime.of_jsoninletsnsTopic=field_mapjson__"SnsTopic"ResourceArn.of_jsoninletsourceMetadata=field_mapjson__"SourceMetadata"SourceMetadata.of_jsoninletencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletnumberOfAssociations=field_mapjson__"NumberOfAssociations"NumberOfAssociations.of_jsoninletconsumedCapacity=field_mapjson__"ConsumedCapacity"RuleCapacity.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletruleGroupStatus=field_mapjson__"RuleGroupStatus"ResourceStatus.of_jsoninletcapacity=field_mapjson__"Capacity"RuleCapacity.of_jsoninlettype_=field_mapjson__"Type"RuleGroupType.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletruleGroupId=field_mapjson__"RuleGroupId"ResourceId.of_jsoninletruleGroupName=field_mapjson__"RuleGroupName"ResourceName.of_jsoninletruleGroupArn=field_mapjson__"RuleGroupArn"ResourceArn.of_jsoninmake?summaryConfiguration?analysisResults?lastModifiedTime?snsTopic?sourceMetadata?encryptionConfiguration?numberOfAssociations?consumedCapacity?tags?ruleGroupStatus?capacity?type_?description?ruleGroupId?ruleGroupName?ruleGroupArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup."]moduleRuleGroup=structtypenonrect={ruleVariables:RuleVariables.toption[@ocaml.doc"Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups."];referenceSets:ReferenceSets.toption[@ocaml.doc"The list of a rule group's reference sets."];rulesSource:RulesSource.t[@ocaml.doc"The stateful rules or stateless rules for the rule group."];statefulRuleOptions:StatefulRuleOptions.toption[@ocaml.doc"Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings. Some limitations apply; for more information, see Strict evaluation order in the Network Firewall Developer Guide."]}letcontext_="RuleGroup"letmake?ruleVariables=fun?referenceSets->fun?statefulRuleOptions->fun~rulesSource->fun()->{ruleVariables;referenceSets;statefulRuleOptions;rulesSource}letto_valuex=structure_to_value[("RuleVariables",(Option.mapx.ruleVariables~f:RuleVariables.to_value));("ReferenceSets",(Option.mapx.referenceSets~f:ReferenceSets.to_value));("RulesSource",(Some(RulesSource.to_valuex.rulesSource)));("StatefulRuleOptions",(Option.mapx.statefulRuleOptions~f:StatefulRuleOptions.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatefulRuleOptions=(Option.map~f:StatefulRuleOptions.of_xml)(Xml.childxml_arg0"StatefulRuleOptions")inletrulesSource=RulesSource.of_xml(Xml.child_exn~context:context_xml_arg0"RulesSource")inletreferenceSets=(Option.map~f:ReferenceSets.of_xml)(Xml.childxml_arg0"ReferenceSets")inletruleVariables=(Option.map~f:RuleVariables.of_xml)(Xml.childxml_arg0"RuleVariables")inmake?statefulRuleOptions~rulesSource?referenceSets?ruleVariables()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatefulRuleOptions=field_mapjson__"StatefulRuleOptions"StatefulRuleOptions.of_jsoninletrulesSource=field_map_exnjson__"RulesSource"RulesSource.of_jsoninletreferenceSets=field_mapjson__"ReferenceSets"ReferenceSets.of_jsoninletruleVariables=field_mapjson__"RuleVariables"RuleVariables.of_jsoninmake?statefulRuleOptions~rulesSource?referenceSets?ruleVariables()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The object that defines the rules in a rule group. This, along with RuleGroupResponse, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup. Network Firewall uses a rule group to inspect and control network traffic. You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their traffic flow. To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from more than one firewall policy, and you can use a firewall policy in more than one firewall."]moduleProxyRulePriorityList=structtypenonrect=ProxyRulePriority.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyRulePriority.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyRulePriority.of_xml)letof_jsonj=list_of_json~kind:"ProxyRulePriorityList"~of_json:ProxyRulePriority.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRuleGroupRequestPhase=structtypenonrect=|PRE_DNS|PRE_REQ|POST_RES|Non_static_idofstringletmakei=iletto_string=function|PRE_DNS->"PRE_DNS"|PRE_REQ->"PRE_REQ"|POST_RES->"POST_RES"|Non_static_ids->sletof_string=function|"PRE_DNS"->PRE_DNS|"PRE_REQ"->PRE_REQ|"POST_RES"->POST_RES|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration RuleGroupRequestPhase"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RuleGroupRequestPhase"j)letto_json=simple_to_jsonto_valueendmoduleProxyRuleGroupPriorityResultList=structtypenonrect=ProxyRuleGroupPriorityResult.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyRuleGroupPriorityResult.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyRuleGroupPriorityResult.of_xml)letof_jsonj=list_of_json~kind:"ProxyRuleGroupPriorityResultList"~of_json:ProxyRuleGroupPriorityResult.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxyRuleGroupPriorityList=structtypenonrect=ProxyRuleGroupPriority.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyRuleGroupPriority.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyRuleGroupPriority.of_xml)letof_jsonj=list_of_json~kind:"ProxyRuleGroupPriorityList"~of_json:ProxyRuleGroupPriority.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxy=structtypenonrect={createTime:CreateTime.toption[@ocaml.doc"Time the Proxy was created."];deleteTime:DeleteTime.toption[@ocaml.doc"Time the Proxy was deleted."];updateTime:UpdateTime.toption[@ocaml.doc"Time the Proxy was updated."];failureCode:FailureCode.toption[@ocaml.doc"Failure code for cases when the Proxy fails to attach or update."];failureMessage:FailureMessage.toption[@ocaml.doc"Failure message for cases when the Proxy fails to attach or update."];proxyState:ProxyState.toption[@ocaml.doc"Current attachment/detachment status of the Proxy."];proxyModifyState:ProxyModifyState.toption[@ocaml.doc"Current modification status of the Proxy."];natGatewayId:NatGatewayId.toption[@ocaml.doc"The NAT Gateway for the proxy."];proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration."];proxyName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy. You can't change the name of a proxy after you create it."];proxyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy."];listenerProperties:ListenerProperties.toption[@ocaml.doc"Listener properties for HTTP and HTTPS traffic."];tlsInterceptProperties:TlsInterceptProperties.toption[@ocaml.doc"TLS decryption on traffic to filter on attributes in the HTTP header."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letmake?createTime=fun?deleteTime->fun?updateTime->fun?failureCode->fun?failureMessage->fun?proxyState->fun?proxyModifyState->fun?natGatewayId->fun?proxyConfigurationName->fun?proxyConfigurationArn->fun?proxyName->fun?proxyArn->fun?listenerProperties->fun?tlsInterceptProperties->fun?tags->fun()->{createTime;deleteTime;updateTime;failureCode;failureMessage;proxyState;proxyModifyState;natGatewayId;proxyConfigurationName;proxyConfigurationArn;proxyName;proxyArn;listenerProperties;tlsInterceptProperties;tags}letto_valuex=structure_to_value[("CreateTime",(Option.mapx.createTime~f:CreateTime.to_value));("DeleteTime",(Option.mapx.deleteTime~f:DeleteTime.to_value));("UpdateTime",(Option.mapx.updateTime~f:UpdateTime.to_value));("FailureCode",(Option.mapx.failureCode~f:FailureCode.to_value));("FailureMessage",(Option.mapx.failureMessage~f:FailureMessage.to_value));("ProxyState",(Option.mapx.proxyState~f:ProxyState.to_value));("ProxyModifyState",(Option.mapx.proxyModifyState~f:ProxyModifyState.to_value));("NatGatewayId",(Option.mapx.natGatewayId~f:NatGatewayId.to_value));("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value));("ProxyName",(Option.mapx.proxyName~f:ResourceName.to_value));("ProxyArn",(Option.mapx.proxyArn~f:ResourceArn.to_value));("ListenerProperties",(Option.mapx.listenerProperties~f:ListenerProperties.to_value));("TlsInterceptProperties",(Option.mapx.tlsInterceptProperties~f:TlsInterceptProperties.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inlettlsInterceptProperties=(Option.map~f:TlsInterceptProperties.of_xml)(Xml.childxml_arg0"TlsInterceptProperties")inletlistenerProperties=(Option.map~f:ListenerProperties.of_xml)(Xml.childxml_arg0"ListenerProperties")inletproxyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyArn")inletproxyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyName")inletproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inletnatGatewayId=(Option.map~f:NatGatewayId.of_xml)(Xml.childxml_arg0"NatGatewayId")inletproxyModifyState=(Option.map~f:ProxyModifyState.of_xml)(Xml.childxml_arg0"ProxyModifyState")inletproxyState=(Option.map~f:ProxyState.of_xml)(Xml.childxml_arg0"ProxyState")inletfailureMessage=(Option.map~f:FailureMessage.of_xml)(Xml.childxml_arg0"FailureMessage")inletfailureCode=(Option.map~f:FailureCode.of_xml)(Xml.childxml_arg0"FailureCode")inletupdateTime=(Option.map~f:UpdateTime.of_xml)(Xml.childxml_arg0"UpdateTime")inletdeleteTime=(Option.map~f:DeleteTime.of_xml)(Xml.childxml_arg0"DeleteTime")inletcreateTime=(Option.map~f:CreateTime.of_xml)(Xml.childxml_arg0"CreateTime")inmake?tags?tlsInterceptProperties?listenerProperties?proxyArn?proxyName?proxyConfigurationArn?proxyConfigurationName?natGatewayId?proxyModifyState?proxyState?failureMessage?failureCode?updateTime?deleteTime?createTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninlettlsInterceptProperties=field_mapjson__"TlsInterceptProperties"TlsInterceptProperties.of_jsoninletlistenerProperties=field_mapjson__"ListenerProperties"ListenerProperties.of_jsoninletproxyArn=field_mapjson__"ProxyArn"ResourceArn.of_jsoninletproxyName=field_mapjson__"ProxyName"ResourceName.of_jsoninletproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninletnatGatewayId=field_mapjson__"NatGatewayId"NatGatewayId.of_jsoninletproxyModifyState=field_mapjson__"ProxyModifyState"ProxyModifyState.of_jsoninletproxyState=field_mapjson__"ProxyState"ProxyState.of_jsoninletfailureMessage=field_mapjson__"FailureMessage"FailureMessage.of_jsoninletfailureCode=field_mapjson__"FailureCode"FailureCode.of_jsoninletupdateTime=field_mapjson__"UpdateTime"UpdateTime.of_jsoninletdeleteTime=field_mapjson__"DeleteTime"DeleteTime.of_jsoninletcreateTime=field_mapjson__"CreateTime"CreateTime.of_jsoninmake?tags?tlsInterceptProperties?listenerProperties?proxyArn?proxyName?proxyConfigurationArn?proxyConfigurationName?natGatewayId?proxyModifyState?proxyState?failureMessage?failureCode?updateTime?deleteTime?createTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Proxy attached to a NAT gateway."]moduleUnsupportedOperationException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The operation you requested isn't supported by Network Firewall."]moduleListenerPropertiesRequest=structtypenonrect=ListenerPropertyRequest.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:2)>>=(fun()->check_list_mini~min:0));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ListenerPropertyRequest.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ListenerPropertyRequest.of_xml)letof_jsonj=list_of_json~kind:"ListenerPropertiesRequest"~of_json:ListenerPropertyRequest.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTlsInterceptPropertiesRequest=structtypenonrect={pcaArn:ResourceArn.toption[@ocaml.doc"Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication."];tlsInterceptMode:TlsInterceptMode.toption[@ocaml.doc"Specifies whether to enable or disable TLS Intercept Mode."]}letmake?pcaArn=fun?tlsInterceptMode->fun()->{pcaArn;tlsInterceptMode}letto_valuex=structure_to_value[("PcaArn",(Option.mapx.pcaArn~f:ResourceArn.to_value));("TlsInterceptMode",(Option.mapx.tlsInterceptMode~f:TlsInterceptMode.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettlsInterceptMode=(Option.map~f:TlsInterceptMode.of_xml)(Xml.childxml_arg0"TlsInterceptMode")inletpcaArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"PcaArn")inmake?tlsInterceptMode?pcaArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettlsInterceptMode=field_mapjson__"TlsInterceptMode"TlsInterceptMode.of_jsoninletpcaArn=field_mapjson__"PcaArn"ResourceArn.of_jsoninmake?tlsInterceptMode?pcaArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This data type is used specifically for the CreateProxy and UpdateProxy APIs. TLS decryption on traffic to filter on attributes in the HTTP header."]moduleProxyConfiguration=structtypenonrect={proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration."];description:Description.toption[@ocaml.doc"A description of the proxy configuration."];createTime:CreateTime.toption[@ocaml.doc"Time the Proxy Configuration was created."];deleteTime:DeleteTime.toption[@ocaml.doc"Time the Proxy Configuration was deleted."];ruleGroups:ProxyConfigRuleGroupSet.toption[@ocaml.doc"Proxy rule groups within the proxy configuration."];defaultRulePhaseActions:ProxyConfigDefaultRulePhaseActionsRequest.toption[@ocaml.doc"Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. Pre-DNS - before domain resolution. Pre-Request - after DNS, before request. Post-Response - after receiving response."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun?description->fun?createTime->fun?deleteTime->fun?ruleGroups->fun?defaultRulePhaseActions->fun?tags->fun()->{proxyConfigurationName;proxyConfigurationArn;description;createTime;deleteTime;ruleGroups;defaultRulePhaseActions;tags}letto_valuex=structure_to_value[("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value));("Description",(Option.mapx.description~f:Description.to_value));("CreateTime",(Option.mapx.createTime~f:CreateTime.to_value));("DeleteTime",(Option.mapx.deleteTime~f:DeleteTime.to_value));("RuleGroups",(Option.mapx.ruleGroups~f:ProxyConfigRuleGroupSet.to_value));("DefaultRulePhaseActions",(Option.mapx.defaultRulePhaseActions~f:ProxyConfigDefaultRulePhaseActionsRequest.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdefaultRulePhaseActions=(Option.map~f:ProxyConfigDefaultRulePhaseActionsRequest.of_xml)(Xml.childxml_arg0"DefaultRulePhaseActions")inletruleGroups=(Option.map~f:ProxyConfigRuleGroupSet.of_xml)(Xml.childxml_arg0"RuleGroups")inletdeleteTime=(Option.map~f:DeleteTime.of_xml)(Xml.childxml_arg0"DeleteTime")inletcreateTime=(Option.map~f:CreateTime.of_xml)(Xml.childxml_arg0"CreateTime")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inmake?tags?defaultRulePhaseActions?ruleGroups?deleteTime?createTime?description?proxyConfigurationArn?proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletdefaultRulePhaseActions=field_mapjson__"DefaultRulePhaseActions"ProxyConfigDefaultRulePhaseActionsRequest.of_jsoninletruleGroups=field_mapjson__"RuleGroups"ProxyConfigRuleGroupSet.of_jsoninletdeleteTime=field_mapjson__"DeleteTime"DeleteTime.of_jsoninletcreateTime=field_mapjson__"CreateTime"CreateTime.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninmake?tags?defaultRulePhaseActions?ruleGroups?deleteTime?createTime?description?proxyConfigurationArn?proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration."]moduleEnableMonitoringDashboard=structtypenonrect=boolletmakei=iletof_string=Bool.of_stringletto_valuex=`Booleanxletto_queryv=to_queryto_valuevletto_headerx=Bool.to_stringxletof_xmlxml_arg0=Bool.of_string(string_of_xml~kind:"a boolean"xml_arg0)letof_json=bool_of_jsonletto_json=simple_to_jsonto_valueendmoduleLogDestinationPermissionException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Unable to send logs to a configured logging destination."]moduleLoggingConfiguration=structtypenonrect={logDestinationConfigs:LogDestinationConfigs.t[@ocaml.doc"Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups."]}letcontext_="LoggingConfiguration"letmake~logDestinationConfigs=fun()->{logDestinationConfigs}letto_valuex=structure_to_value[("LogDestinationConfigs",(Some(LogDestinationConfigs.to_valuex.logDestinationConfigs)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlogDestinationConfigs=LogDestinationConfigs.of_xml(Xml.child_exn~context:context_xml_arg0"LogDestinationConfigs")inmake~logDestinationConfigs()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlogDestinationConfigs=field_map_exnjson__"LogDestinationConfigs"LogDestinationConfigs.of_jsoninmake~logDestinationConfigs()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Defines how Network Firewall performs logging for a Firewall."]moduleFirewallPolicyResponse=structtypenonrect={firewallPolicyName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it."];firewallPolicyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy. If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource."];firewallPolicyId:ResourceId.toption[@ocaml.doc"The unique identifier for the firewall policy."];description:Description.toption[@ocaml.doc"A description of the firewall policy."];firewallPolicyStatus:ResourceStatus.toption[@ocaml.doc"The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."];consumedStatelessRuleCapacity:RuleCapacity.toption[@ocaml.doc"The number of capacity units currently consumed by the policy's stateless rules."];consumedStatefulRuleCapacity:RuleCapacity.toption[@ocaml.doc"The number of capacity units currently consumed by the policy's stateful rules."];consumedStatefulDomainCapacity:RuleCapacity.toption[@ocaml.doc"The total number of domain name specifications across all domain list rule groups in the firewall policy that use the stateful-domain-rulegroup resource type."];numberOfAssociations:NumberOfAssociations.toption[@ocaml.doc"The number of firewalls that are associated with this firewall policy."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy."];lastModifiedTime:LastUpdateTime.toption[@ocaml.doc"The last time that the firewall policy was changed."]}letmake?firewallPolicyName=fun?firewallPolicyArn->fun?firewallPolicyId->fun?description->fun?firewallPolicyStatus->fun?tags->fun?consumedStatelessRuleCapacity->fun?consumedStatefulRuleCapacity->fun?consumedStatefulDomainCapacity->fun?numberOfAssociations->fun?encryptionConfiguration->fun?lastModifiedTime->fun()->{firewallPolicyName;firewallPolicyArn;firewallPolicyId;description;firewallPolicyStatus;tags;consumedStatelessRuleCapacity;consumedStatefulRuleCapacity;consumedStatefulDomainCapacity;numberOfAssociations;encryptionConfiguration;lastModifiedTime}letto_valuex=structure_to_value[("FirewallPolicyName",(Option.mapx.firewallPolicyName~f:ResourceName.to_value));("FirewallPolicyArn",(Option.mapx.firewallPolicyArn~f:ResourceArn.to_value));("FirewallPolicyId",(Option.mapx.firewallPolicyId~f:ResourceId.to_value));("Description",(Option.mapx.description~f:Description.to_value));("FirewallPolicyStatus",(Option.mapx.firewallPolicyStatus~f:ResourceStatus.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("ConsumedStatelessRuleCapacity",(Option.mapx.consumedStatelessRuleCapacity~f:RuleCapacity.to_value));("ConsumedStatefulRuleCapacity",(Option.mapx.consumedStatefulRuleCapacity~f:RuleCapacity.to_value));("ConsumedStatefulDomainCapacity",(Option.mapx.consumedStatefulDomainCapacity~f:RuleCapacity.to_value));("NumberOfAssociations",(Option.mapx.numberOfAssociations~f:NumberOfAssociations.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value));("LastModifiedTime",(Option.mapx.lastModifiedTime~f:LastUpdateTime.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastModifiedTime=(Option.map~f:LastUpdateTime.of_xml)(Xml.childxml_arg0"LastModifiedTime")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletnumberOfAssociations=(Option.map~f:NumberOfAssociations.of_xml)(Xml.childxml_arg0"NumberOfAssociations")inletconsumedStatefulDomainCapacity=(Option.map~f:RuleCapacity.of_xml)(Xml.childxml_arg0"ConsumedStatefulDomainCapacity")inletconsumedStatefulRuleCapacity=(Option.map~f:RuleCapacity.of_xml)(Xml.childxml_arg0"ConsumedStatefulRuleCapacity")inletconsumedStatelessRuleCapacity=(Option.map~f:RuleCapacity.of_xml)(Xml.childxml_arg0"ConsumedStatelessRuleCapacity")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletfirewallPolicyStatus=(Option.map~f:ResourceStatus.of_xml)(Xml.childxml_arg0"FirewallPolicyStatus")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletfirewallPolicyId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallPolicyId")inletfirewallPolicyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallPolicyArn")inletfirewallPolicyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallPolicyName")inmake?lastModifiedTime?encryptionConfiguration?numberOfAssociations?consumedStatefulDomainCapacity?consumedStatefulRuleCapacity?consumedStatelessRuleCapacity?tags?firewallPolicyStatus?description?firewallPolicyId?firewallPolicyArn?firewallPolicyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastModifiedTime=field_mapjson__"LastModifiedTime"LastUpdateTime.of_jsoninletencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletnumberOfAssociations=field_mapjson__"NumberOfAssociations"NumberOfAssociations.of_jsoninletconsumedStatefulDomainCapacity=field_mapjson__"ConsumedStatefulDomainCapacity"RuleCapacity.of_jsoninletconsumedStatefulRuleCapacity=field_mapjson__"ConsumedStatefulRuleCapacity"RuleCapacity.of_jsoninletconsumedStatelessRuleCapacity=field_mapjson__"ConsumedStatelessRuleCapacity"RuleCapacity.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletfirewallPolicyStatus=field_mapjson__"FirewallPolicyStatus"ResourceStatus.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletfirewallPolicyId=field_mapjson__"FirewallPolicyId"ResourceId.of_jsoninletfirewallPolicyArn=field_mapjson__"FirewallPolicyArn"ResourceArn.of_jsoninletfirewallPolicyName=field_mapjson__"FirewallPolicyName"ResourceName.of_jsoninmake?lastModifiedTime?encryptionConfiguration?numberOfAssociations?consumedStatefulDomainCapacity?consumedStatefulRuleCapacity?consumedStatelessRuleCapacity?tags?firewallPolicyStatus?description?firewallPolicyId?firewallPolicyArn?firewallPolicyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy."]moduleFirewallPolicy=structtypenonrect={statelessRuleGroupReferences:StatelessRuleGroupReferences.toption[@ocaml.doc"References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules."];statelessDefaultActions:StatelessActions.t[@ocaml.doc"The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify aws:forward_to_sfe. You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice. For example, you could specify \\[\"aws:pass\"\\] or you could specify \\[\"aws:pass\", \226\128\156customActionName\226\128\157\\]. For information about compatibility, see the custom action descriptions under CustomAction."];statelessFragmentDefaultActions:StatelessActions.t[@ocaml.doc"The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify aws:forward_to_sfe. You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice. For example, you could specify \\[\"aws:pass\"\\] or you could specify \\[\"aws:pass\", \226\128\156customActionName\226\128\157\\]. For information about compatibility, see the custom action descriptions under CustomAction."];statelessCustomActions:CustomActions.toption[@ocaml.doc"The custom action definitions that are available for use in the firewall policy's StatelessDefaultActions setting. You name each custom action that you define, and then you can use it by name in your default actions specifications."];statefulRuleGroupReferences:StatefulRuleGroupReferences.toption[@ocaml.doc"References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules."];statefulDefaultActions:StatefulActions.toption[@ocaml.doc"The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order. Valid values of the stateful default action: aws:drop_strict aws:drop_established aws:alert_strict aws:alert_established For more information, see Strict evaluation order in the Network Firewall Developer Guide."];statefulEngineOptions:StatefulEngineOptions.toption[@ocaml.doc"Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings."];tLSInspectionConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the TLS inspection configuration."];policyVariables:PolicyVariables.toption[@ocaml.doc"Contains variables that you can use to override default Suricata settings in your firewall policy."];enableTLSSessionHolding:EnableTLSSessionHolding.toption[@ocaml.doc"When true, prevents TCP and TLS packets from reaching destination servers until TLS Inspection has evaluated Server Name Indication (SNI) rules. Requires an associated TLS Inspection configuration."]}letcontext_="FirewallPolicy"letmake?statelessRuleGroupReferences=fun?statelessCustomActions->fun?statefulRuleGroupReferences->fun?statefulDefaultActions->fun?statefulEngineOptions->fun?tLSInspectionConfigurationArn->fun?policyVariables->fun?enableTLSSessionHolding->fun~statelessDefaultActions->fun~statelessFragmentDefaultActions->fun()->{statelessRuleGroupReferences;statelessCustomActions;statefulRuleGroupReferences;statefulDefaultActions;statefulEngineOptions;tLSInspectionConfigurationArn;policyVariables;enableTLSSessionHolding;statelessDefaultActions;statelessFragmentDefaultActions}letto_valuex=structure_to_value[("StatelessRuleGroupReferences",(Option.mapx.statelessRuleGroupReferences~f:StatelessRuleGroupReferences.to_value));("StatelessDefaultActions",(Some(StatelessActions.to_valuex.statelessDefaultActions)));("StatelessFragmentDefaultActions",(Some(StatelessActions.to_valuex.statelessFragmentDefaultActions)));("StatelessCustomActions",(Option.mapx.statelessCustomActions~f:CustomActions.to_value));("StatefulRuleGroupReferences",(Option.mapx.statefulRuleGroupReferences~f:StatefulRuleGroupReferences.to_value));("StatefulDefaultActions",(Option.mapx.statefulDefaultActions~f:StatefulActions.to_value));("StatefulEngineOptions",(Option.mapx.statefulEngineOptions~f:StatefulEngineOptions.to_value));("TLSInspectionConfigurationArn",(Option.mapx.tLSInspectionConfigurationArn~f:ResourceArn.to_value));("PolicyVariables",(Option.mapx.policyVariables~f:PolicyVariables.to_value));("EnableTLSSessionHolding",(Option.mapx.enableTLSSessionHolding~f:EnableTLSSessionHolding.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenableTLSSessionHolding=(Option.map~f:EnableTLSSessionHolding.of_xml)(Xml.childxml_arg0"EnableTLSSessionHolding")inletpolicyVariables=(Option.map~f:PolicyVariables.of_xml)(Xml.childxml_arg0"PolicyVariables")inlettLSInspectionConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationArn")inletstatefulEngineOptions=(Option.map~f:StatefulEngineOptions.of_xml)(Xml.childxml_arg0"StatefulEngineOptions")inletstatefulDefaultActions=(Option.map~f:StatefulActions.of_xml)(Xml.childxml_arg0"StatefulDefaultActions")inletstatefulRuleGroupReferences=(Option.map~f:StatefulRuleGroupReferences.of_xml)(Xml.childxml_arg0"StatefulRuleGroupReferences")inletstatelessCustomActions=(Option.map~f:CustomActions.of_xml)(Xml.childxml_arg0"StatelessCustomActions")inletstatelessFragmentDefaultActions=StatelessActions.of_xml(Xml.child_exn~context:context_xml_arg0"StatelessFragmentDefaultActions")inletstatelessDefaultActions=StatelessActions.of_xml(Xml.child_exn~context:context_xml_arg0"StatelessDefaultActions")inletstatelessRuleGroupReferences=(Option.map~f:StatelessRuleGroupReferences.of_xml)(Xml.childxml_arg0"StatelessRuleGroupReferences")inmake?enableTLSSessionHolding?policyVariables?tLSInspectionConfigurationArn?statefulEngineOptions?statefulDefaultActions?statefulRuleGroupReferences?statelessCustomActions~statelessFragmentDefaultActions~statelessDefaultActions?statelessRuleGroupReferences()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenableTLSSessionHolding=field_mapjson__"EnableTLSSessionHolding"EnableTLSSessionHolding.of_jsoninletpolicyVariables=field_mapjson__"PolicyVariables"PolicyVariables.of_jsoninlettLSInspectionConfigurationArn=field_mapjson__"TLSInspectionConfigurationArn"ResourceArn.of_jsoninletstatefulEngineOptions=field_mapjson__"StatefulEngineOptions"StatefulEngineOptions.of_jsoninletstatefulDefaultActions=field_mapjson__"StatefulDefaultActions"StatefulActions.of_jsoninletstatefulRuleGroupReferences=field_mapjson__"StatefulRuleGroupReferences"StatefulRuleGroupReferences.of_jsoninletstatelessCustomActions=field_mapjson__"StatelessCustomActions"CustomActions.of_jsoninletstatelessFragmentDefaultActions=field_map_exnjson__"StatelessFragmentDefaultActions"StatelessActions.of_jsoninletstatelessDefaultActions=field_map_exnjson__"StatelessDefaultActions"StatelessActions.of_jsoninletstatelessRuleGroupReferences=field_mapjson__"StatelessRuleGroupReferences"StatelessRuleGroupReferences.of_jsoninmake?enableTLSSessionHolding?policyVariables?tLSInspectionConfigurationArn?statefulEngineOptions?statefulDefaultActions?statefulRuleGroupReferences?statelessCustomActions~statelessFragmentDefaultActions~statelessDefaultActions?statelessRuleGroupReferences()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The firewall policy defines the behavior of a firewall using a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls. This, along with FirewallPolicyResponse, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy."]moduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TagKey.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TagKey.of_xml)letof_jsonj=list_of_json~kind:"TagKeyList"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVpcEndpointId=structtypenonrect=stringletcontext_="VpcEndpointId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:5)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:"^vpce-[a-zA-Z0-9]*$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"VpcEndpointId"jletto_json=simple_to_jsonto_valueendmoduleInvalidResourcePolicyException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The policy statement failed validation."]modulePolicyString=structtypenonrect=stringletcontext_="PolicyString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:395000)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PolicyString"jletto_json=simple_to_jsonto_valueendmodulePaginationToken=structtypenonrect=stringletcontext_="PaginationToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:4096)>>=(fun()->check_patterni~pattern:"[0-9A-Za-z:\\/+=]+$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"PaginationToken"jletto_json=simple_to_jsonto_valueendmoduleVpcEndpointAssociations=structtypenonrect=VpcEndpointAssociationMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VpcEndpointAssociationMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:VpcEndpointAssociationMetadata.of_xml)letof_jsonj=list_of_json~kind:"VpcEndpointAssociations"~of_json:VpcEndpointAssociationMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePaginationMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:1));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for PaginationMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTagsPaginationMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:0));iletof_string=Int.of_stringletto_valuex=`Integerxletto_queryv=to_queryto_valuevletto_headerx=Int.to_stringxletof_xmlxml_arg0=Int.of_string(string_of_xml~kind:"an integer for TagsPaginationMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleTLSInspectionConfigurations=structtypenonrect=TLSInspectionConfigurationMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TLSInspectionConfigurationMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:TLSInspectionConfigurationMetadata.of_xml)letof_jsonj=list_of_json~kind:"TLSInspectionConfigurations"~of_json:TLSInspectionConfigurationMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRuleGroups=structtypenonrect=RuleGroupMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RuleGroupMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:RuleGroupMetadata.of_xml)letof_jsonj=list_of_json~kind:"RuleGroups"~of_json:RuleGroupMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceManagedStatus=structtypenonrect=|MANAGED|ACCOUNT|Non_static_idofstringletmakei=iletto_string=function|MANAGED->"MANAGED"|ACCOUNT->"ACCOUNT"|Non_static_ids->sletof_string=function|"MANAGED"->MANAGED|"ACCOUNT"->ACCOUNT|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ResourceManagedStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceManagedStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceManagedType=structtypenonrect=|AWS_MANAGED_THREAT_SIGNATURES|AWS_MANAGED_DOMAIN_LISTS|ACTIVE_THREAT_DEFENSE|PARTNER_MANAGED|Non_static_idofstringletmakei=iletto_string=function|AWS_MANAGED_THREAT_SIGNATURES->"AWS_MANAGED_THREAT_SIGNATURES"|AWS_MANAGED_DOMAIN_LISTS->"AWS_MANAGED_DOMAIN_LISTS"|ACTIVE_THREAT_DEFENSE->"ACTIVE_THREAT_DEFENSE"|PARTNER_MANAGED->"PARTNER_MANAGED"|Non_static_ids->sletof_string=function|"AWS_MANAGED_THREAT_SIGNATURES"->AWS_MANAGED_THREAT_SIGNATURES|"AWS_MANAGED_DOMAIN_LISTS"->AWS_MANAGED_DOMAIN_LISTS|"ACTIVE_THREAT_DEFENSE"->ACTIVE_THREAT_DEFENSE|"PARTNER_MANAGED"->PARTNER_MANAGED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ResourceManagedType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceManagedType"j)letto_json=simple_to_jsonto_valueendmoduleSubscriptionStatus=structtypenonrect=|NOT_SUBSCRIBED|SUBSCRIBED|Non_static_idofstringletmakei=iletto_string=function|NOT_SUBSCRIBED->"NOT_SUBSCRIBED"|SUBSCRIBED->"SUBSCRIBED"|Non_static_ids->sletof_string=function|"NOT_SUBSCRIBED"->NOT_SUBSCRIBED|"SUBSCRIBED"->SUBSCRIBED|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration SubscriptionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SubscriptionStatus"j)letto_json=simple_to_jsonto_valueendmoduleProxyRuleGroups=structtypenonrect=ProxyRuleGroupMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyRuleGroupMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyRuleGroupMetadata.of_xml)letof_jsonj=list_of_json~kind:"ProxyRuleGroups"~of_json:ProxyRuleGroupMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxyConfigurations=structtypenonrect=ProxyConfigurationMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyConfigurationMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyConfigurationMetadata.of_xml)letof_jsonj=list_of_json~kind:"ProxyConfigurations"~of_json:ProxyConfigurationMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleProxies=structtypenonrect=ProxyMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyMetadata.of_xml)letof_jsonj=list_of_json~kind:"Proxies"~of_json:ProxyMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFlowOperations=structtypenonrect=FlowOperationMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FlowOperationMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:FlowOperationMetadata.of_xml)letof_jsonj=list_of_json~kind:"FlowOperations"~of_json:FlowOperationMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFlows=structtypenonrect=Flow.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Flow.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:Flow.of_xml)letof_jsonj=list_of_json~kind:"Flows"~of_json:Flow.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFirewalls=structtypenonrect=FirewallMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FirewallMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:FirewallMetadata.of_xml)letof_jsonj=list_of_json~kind:"Firewalls"~of_json:FirewallMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVpcIds=structtypenonrect=VpcId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VpcId.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:VpcId.of_xml)letof_jsonj=list_of_json~kind:"VpcIds"~of_json:VpcId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFirewallPolicies=structtypenonrect=FirewallPolicyMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FirewallPolicyMetadata.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:FirewallPolicyMetadata.of_xml)letof_jsonj=list_of_json~kind:"FirewallPolicies"~of_json:FirewallPolicyMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAnalysisReports=structtypenonrect=AnalysisReport.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AnalysisReport.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:AnalysisReport.of_xml)letof_jsonj=list_of_json~kind:"AnalysisReports"~of_json:AnalysisReport.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAnalysisReportNextToken=structtypenonrect=stringletcontext_="AnalysisReportNextToken"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:1024)>>=(fun()->check_string_mini~min:1));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AnalysisReportNextToken"jletto_json=simple_to_jsonto_valueendmoduleAnalysisReportResults=structtypenonrect=AnalysisTypeReportResult.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AnalysisTypeReportResult.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:AnalysisTypeReportResult.of_xml)letof_jsonj=list_of_json~kind:"AnalysisReportResults"~of_json:AnalysisTypeReportResult.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEndTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleStartTime=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleInvalidOperationException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use."]moduleAzSubnets=structtypenonrect=AzSubnet.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AzSubnet.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:AzSubnet.of_xml)letof_jsonj=list_of_json~kind:"AzSubnets"~of_json:AzSubnet.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceArnList=structtypenonrect=ResourceArn.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceArn.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ResourceArn.of_xml)letof_jsonj=list_of_json~kind:"ResourceArnList"~of_json:ResourceArn.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResourceNameList=structtypenonrect=ResourceName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceName.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ResourceName.of_xml)letof_jsonj=list_of_json~kind:"ResourceNameList"~of_json:ResourceName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVpcEndpointAssociation=structtypenonrect={vpcEndpointAssociationId:ResourceId.toption[@ocaml.doc"The unique identifier of the VPC endpoint association."];vpcEndpointAssociationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];vpcId:VpcId.toption[@ocaml.doc"The unique identifier of the VPC for the endpoint association."];subnetMapping:SubnetMapping.toption;description:Description.toption[@ocaml.doc"A description of the VPC endpoint association."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letmake?vpcEndpointAssociationId=fun?vpcEndpointAssociationArn->fun?firewallArn->fun?vpcId->fun?subnetMapping->fun?description->fun?tags->fun()->{vpcEndpointAssociationId;vpcEndpointAssociationArn;firewallArn;vpcId;subnetMapping;description;tags}letto_valuex=structure_to_value[("VpcEndpointAssociationId",(Option.mapx.vpcEndpointAssociationId~f:ResourceId.to_value));("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("VpcId",(Option.mapx.vpcId~f:VpcId.to_value));("SubnetMapping",(Option.mapx.subnetMapping~f:SubnetMapping.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletsubnetMapping=(Option.map~f:SubnetMapping.of_xml)(Xml.childxml_arg0"SubnetMapping")inletvpcId=(Option.map~f:VpcId.of_xml)(Xml.childxml_arg0"VpcId")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inletvpcEndpointAssociationId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationId")inmake?tags?description?subnetMapping?vpcId?firewallArn?vpcEndpointAssociationArn?vpcEndpointAssociationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletsubnetMapping=field_mapjson__"SubnetMapping"SubnetMapping.of_jsoninletvpcId=field_mapjson__"VpcId"VpcId.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninletvpcEndpointAssociationId=field_mapjson__"VpcEndpointAssociationId"ResourceId.of_jsoninmake?tags?description?subnetMapping?vpcId?firewallArn?vpcEndpointAssociationArn?vpcEndpointAssociationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A VPC endpoint association defines a single subnet to use for a firewall endpoint for a Firewall. You can define VPC endpoint associations only in the Availability Zones that already have a subnet mapping defined in the Firewall resource. You can retrieve the list of Availability Zones that are available for use by calling DescribeFirewallMetadata. To manage firewall endpoints, first, in the Firewall specification, you specify a single VPC and one subnet for each of the Availability Zones where you want to use the firewall. Then you can define additional endpoints as VPC endpoint associations. You can use VPC endpoint associations to expand the protections of the firewall as follows: Protect multiple VPCs with a single firewall - You can use the firewall to protect other VPCs, either in your account or in accounts where the firewall is shared. You can only specify Availability Zones that already have a firewall endpoint defined in the Firewall subnet mappings. Define multiple firewall endpoints for a VPC in an Availability Zone - You can create additional firewall endpoints for the VPC that you have defined in the firewall, in any Availability Zone that already has an endpoint defined in the Firewall subnet mappings. You can create multiple VPC endpoint associations for any other VPC where you use the firewall. You can use Resource Access Manager to share a Firewall that you own with other accounts, which gives them the ability to use the firewall to create VPC endpoint associations. For information about sharing a firewall, see PutResourcePolicy in this guide and see Sharing Network Firewall resources in the Network Firewall Developer Guide. The status of the VPC endpoint association, which indicates whether it's ready to filter network traffic, is provided in the corresponding VpcEndpointAssociationStatus. You can retrieve both the association and its status by calling DescribeVpcEndpointAssociation."]moduleVpcEndpointAssociationStatus=structtypenonrect={status:FirewallStatusValue.toption[@ocaml.doc"The readiness of the configured firewall endpoint to handle network traffic."];associationSyncState:AssociationSyncState.toption[@ocaml.doc"The list of the Availability Zone sync states for all subnets that are defined by the firewall."]}letmake?status=fun?associationSyncState->fun()->{status;associationSyncState}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:FirewallStatusValue.to_value));("AssociationSyncState",(Option.mapx.associationSyncState~f:AssociationSyncState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letassociationSyncState=(Option.map~f:AssociationSyncState.of_xml)(Xml.childxml_arg0"AssociationSyncState")inletstatus=(Option.map~f:FirewallStatusValue.of_xml)(Xml.childxml_arg0"Status")inmake?associationSyncState?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letassociationSyncState=field_mapjson__"AssociationSyncState"AssociationSyncState.of_jsoninletstatus=field_mapjson__"Status"FirewallStatusValue.of_jsoninmake?associationSyncState?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information about the current status of a VpcEndpointAssociation. You can retrieve this by calling DescribeVpcEndpointAssociation and providing the VPC endpoint association ARN."]moduleSummary=structtypenonrect={ruleSummaries:RuleSummaries.toption[@ocaml.doc"An array of RuleSummary objects containing individual rule details that had been configured by the rulegroup's SummaryConfiguration."]}letmake?ruleSummaries=fun()->{ruleSummaries}letto_valuex=structure_to_value[("RuleSummaries",(Option.mapx.ruleSummaries~f:RuleSummaries.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleSummaries=(Option.map~f:RuleSummaries.of_xml)(Xml.childxml_arg0"RuleSummaries")inmake?ruleSummaries()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleSummaries=field_mapjson__"RuleSummaries"RuleSummaries.of_jsoninmake?ruleSummaries()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type containing summaries of security protections provided by a rule group. Network Firewall extracts this information from selected fields in the rule group's Suricata rules, based on your SummaryConfiguration settings."]moduleListingName=structtypenonrect=stringletcontext_="ListingName"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ListingName"jletto_json=simple_to_jsonto_valueendmoduleProductId=structtypenonrect=stringletcontext_="ProductId"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProductId"jletto_json=simple_to_jsonto_valueendmoduleProxyRuleGroup=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group."];createTime:CreateTime.toption[@ocaml.doc"Time the Proxy Rule Group was created."];deleteTime:DeleteTime.toption[@ocaml.doc"Time the Proxy Rule Group was deleted."];rules:ProxyRulesByRequestPhase.toption[@ocaml.doc"Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert)."];description:Description.toption[@ocaml.doc"A description of the proxy rule group."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun?createTime->fun?deleteTime->fun?rules->fun?description->fun?tags->fun()->{proxyRuleGroupName;proxyRuleGroupArn;createTime;deleteTime;rules;description;tags}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value));("CreateTime",(Option.mapx.createTime~f:CreateTime.to_value));("DeleteTime",(Option.mapx.deleteTime~f:DeleteTime.to_value));("Rules",(Option.mapx.rules~f:ProxyRulesByRequestPhase.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletrules=(Option.map~f:ProxyRulesByRequestPhase.of_xml)(Xml.childxml_arg0"Rules")inletdeleteTime=(Option.map~f:DeleteTime.of_xml)(Xml.childxml_arg0"DeleteTime")inletcreateTime=(Option.map~f:CreateTime.of_xml)(Xml.childxml_arg0"CreateTime")inletproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?tags?description?rules?deleteTime?createTime?proxyRuleGroupArn?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletrules=field_mapjson__"Rules"ProxyRulesByRequestPhase.of_jsoninletdeleteTime=field_mapjson__"DeleteTime"DeleteTime.of_jsoninletcreateTime=field_mapjson__"CreateTime"CreateTime.of_jsoninletproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?tags?description?rules?deleteTime?createTime?proxyRuleGroupArn?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Collections of related proxy filtering rules. Rule groups help you manage and reuse sets of rules across multiple proxy configurations."]moduleDescribeProxyResource=structtypenonrect={proxyName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy. You can't change the name of a proxy after you create it."];proxyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy."];proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration."];natGatewayId:NatGatewayId.toption[@ocaml.doc"The NAT Gateway for the proxy."];proxyState:ProxyState.toption[@ocaml.doc"Current attachment/detachment status of the Proxy."];proxyModifyState:ProxyModifyState.toption[@ocaml.doc"Current modification status of the Proxy."];listenerProperties:ListenerProperties.toption[@ocaml.doc"Listener properties for HTTP and HTTPS traffic."];tlsInterceptProperties:TlsInterceptProperties.toption[@ocaml.doc"TLS decryption on traffic to filter on attributes in the HTTP header."];vpcEndpointServiceName:VpcEndpointServiceName.toption[@ocaml.doc"The service endpoint created in the VPC."];privateDNSName:PrivateDNSName.toption[@ocaml.doc"The private DNS name of the Proxy."];createTime:CreateTime.toption[@ocaml.doc"Time the Proxy was created."];deleteTime:DeleteTime.toption[@ocaml.doc"Time the Proxy was deleted."];updateTime:UpdateTime.toption[@ocaml.doc"Time the Proxy was updated."];failureCode:FailureCode.toption[@ocaml.doc"Failure code for cases when the Proxy fails to attach or update."];failureMessage:FailureMessage.toption[@ocaml.doc"Failure message for cases when the Proxy fails to attach or update."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letmake?proxyName=fun?proxyArn->fun?proxyConfigurationName->fun?proxyConfigurationArn->fun?natGatewayId->fun?proxyState->fun?proxyModifyState->fun?listenerProperties->fun?tlsInterceptProperties->fun?vpcEndpointServiceName->fun?privateDNSName->fun?createTime->fun?deleteTime->fun?updateTime->fun?failureCode->fun?failureMessage->fun?tags->fun()->{proxyName;proxyArn;proxyConfigurationName;proxyConfigurationArn;natGatewayId;proxyState;proxyModifyState;listenerProperties;tlsInterceptProperties;vpcEndpointServiceName;privateDNSName;createTime;deleteTime;updateTime;failureCode;failureMessage;tags}letto_valuex=structure_to_value[("ProxyName",(Option.mapx.proxyName~f:ResourceName.to_value));("ProxyArn",(Option.mapx.proxyArn~f:ResourceArn.to_value));("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value));("NatGatewayId",(Option.mapx.natGatewayId~f:NatGatewayId.to_value));("ProxyState",(Option.mapx.proxyState~f:ProxyState.to_value));("ProxyModifyState",(Option.mapx.proxyModifyState~f:ProxyModifyState.to_value));("ListenerProperties",(Option.mapx.listenerProperties~f:ListenerProperties.to_value));("TlsInterceptProperties",(Option.mapx.tlsInterceptProperties~f:TlsInterceptProperties.to_value));("VpcEndpointServiceName",(Option.mapx.vpcEndpointServiceName~f:VpcEndpointServiceName.to_value));("PrivateDNSName",(Option.mapx.privateDNSName~f:PrivateDNSName.to_value));("CreateTime",(Option.mapx.createTime~f:CreateTime.to_value));("DeleteTime",(Option.mapx.deleteTime~f:DeleteTime.to_value));("UpdateTime",(Option.mapx.updateTime~f:UpdateTime.to_value));("FailureCode",(Option.mapx.failureCode~f:FailureCode.to_value));("FailureMessage",(Option.mapx.failureMessage~f:FailureMessage.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletfailureMessage=(Option.map~f:FailureMessage.of_xml)(Xml.childxml_arg0"FailureMessage")inletfailureCode=(Option.map~f:FailureCode.of_xml)(Xml.childxml_arg0"FailureCode")inletupdateTime=(Option.map~f:UpdateTime.of_xml)(Xml.childxml_arg0"UpdateTime")inletdeleteTime=(Option.map~f:DeleteTime.of_xml)(Xml.childxml_arg0"DeleteTime")inletcreateTime=(Option.map~f:CreateTime.of_xml)(Xml.childxml_arg0"CreateTime")inletprivateDNSName=(Option.map~f:PrivateDNSName.of_xml)(Xml.childxml_arg0"PrivateDNSName")inletvpcEndpointServiceName=(Option.map~f:VpcEndpointServiceName.of_xml)(Xml.childxml_arg0"VpcEndpointServiceName")inlettlsInterceptProperties=(Option.map~f:TlsInterceptProperties.of_xml)(Xml.childxml_arg0"TlsInterceptProperties")inletlistenerProperties=(Option.map~f:ListenerProperties.of_xml)(Xml.childxml_arg0"ListenerProperties")inletproxyModifyState=(Option.map~f:ProxyModifyState.of_xml)(Xml.childxml_arg0"ProxyModifyState")inletproxyState=(Option.map~f:ProxyState.of_xml)(Xml.childxml_arg0"ProxyState")inletnatGatewayId=(Option.map~f:NatGatewayId.of_xml)(Xml.childxml_arg0"NatGatewayId")inletproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inletproxyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyArn")inletproxyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyName")inmake?tags?failureMessage?failureCode?updateTime?deleteTime?createTime?privateDNSName?vpcEndpointServiceName?tlsInterceptProperties?listenerProperties?proxyModifyState?proxyState?natGatewayId?proxyConfigurationArn?proxyConfigurationName?proxyArn?proxyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletfailureMessage=field_mapjson__"FailureMessage"FailureMessage.of_jsoninletfailureCode=field_mapjson__"FailureCode"FailureCode.of_jsoninletupdateTime=field_mapjson__"UpdateTime"UpdateTime.of_jsoninletdeleteTime=field_mapjson__"DeleteTime"DeleteTime.of_jsoninletcreateTime=field_mapjson__"CreateTime"CreateTime.of_jsoninletprivateDNSName=field_mapjson__"PrivateDNSName"PrivateDNSName.of_jsoninletvpcEndpointServiceName=field_mapjson__"VpcEndpointServiceName"VpcEndpointServiceName.of_jsoninlettlsInterceptProperties=field_mapjson__"TlsInterceptProperties"TlsInterceptProperties.of_jsoninletlistenerProperties=field_mapjson__"ListenerProperties"ListenerProperties.of_jsoninletproxyModifyState=field_mapjson__"ProxyModifyState"ProxyModifyState.of_jsoninletproxyState=field_mapjson__"ProxyState"ProxyState.of_jsoninletnatGatewayId=field_mapjson__"NatGatewayId"NatGatewayId.of_jsoninletproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninletproxyArn=field_mapjson__"ProxyArn"ResourceArn.of_jsoninletproxyName=field_mapjson__"ProxyName"ResourceName.of_jsoninmake?tags?failureMessage?failureCode?updateTime?deleteTime?createTime?privateDNSName?vpcEndpointServiceName?tlsInterceptProperties?listenerProperties?proxyModifyState?proxyState?natGatewayId?proxyConfigurationArn?proxyConfigurationName?proxyArn?proxyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Proxy attached to a NAT gateway."]moduleFlowOperation=structtypenonrect={minimumFlowAgeInSeconds:Age.toption[@ocaml.doc"The reqested FlowOperation ignores flows with an age (in seconds) lower than MinimumFlowAgeInSeconds. You provide this for start commands."];flowFilters:FlowFilters.toption[@ocaml.doc"Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."]}letmake?minimumFlowAgeInSeconds=fun?flowFilters->fun()->{minimumFlowAgeInSeconds;flowFilters}letto_valuex=structure_to_value[("MinimumFlowAgeInSeconds",(Option.mapx.minimumFlowAgeInSeconds~f:Age.to_value));("FlowFilters",(Option.mapx.flowFilters~f:FlowFilters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowFilters=(Option.map~f:FlowFilters.of_xml)(Xml.childxml_arg0"FlowFilters")inletminimumFlowAgeInSeconds=(Option.map~f:Age.of_xml)(Xml.childxml_arg0"MinimumFlowAgeInSeconds")inmake?flowFilters?minimumFlowAgeInSeconds()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowFilters=field_mapjson__"FlowFilters"FlowFilters.of_jsoninletminimumFlowAgeInSeconds=field_mapjson__"MinimumFlowAgeInSeconds"Age.of_jsoninmake?flowFilters?minimumFlowAgeInSeconds()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a flow operation, such as related statuses, unique identifiers, and all filters defined in the operation. Flow operations let you manage the flows tracked in the flow table, also known as the firewall table. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort."]moduleFirewall=structtypenonrect={firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallPolicyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy. The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls."];vpcId:VpcId.toption[@ocaml.doc"The unique identifier of the VPC where the firewall is in use."];subnetMappings:SubnetMappings.toption[@ocaml.doc"The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall. These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone. In addition to these subnets, you can define other endpoints for the firewall in VpcEndpointAssociation resources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone."];deleteProtection:Boolean.toption[@ocaml.doc"A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE."];subnetChangeProtection:Boolean.toption[@ocaml.doc"A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."];firewallPolicyChangeProtection:Boolean.toption[@ocaml.doc"A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."];description:Description.toption[@ocaml.doc"A description of the firewall."];firewallId:ResourceId.toption[@ocaml.doc"The unique identifier for the firewall."];tags:TagList.toption;encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall."];numberOfAssociations:NumberOfAssociations.toption[@ocaml.doc"The number of VpcEndpointAssociation resources that use this firewall."];enabledAnalysisTypes:EnabledAnalysisTypes.toption[@ocaml.doc"An optional setting indicating the specific traffic analysis types to enable on the firewall."];transitGatewayId:TransitGatewayId.toption[@ocaml.doc"The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls."];transitGatewayOwnerAccountId:AWSAccountId.toption[@ocaml.doc"The Amazon Web Services account ID that owns the transit gateway. This may be different from the firewall owner's account ID when using a shared transit gateway."];availabilityZoneMappings:AvailabilityZoneMappings.toption[@ocaml.doc"The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic."];availabilityZoneChangeProtection:Boolean.toption[@ocaml.doc"A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to TRUE, you must first disable this protection before adding or removing Availability Zones."]}letmake?firewallName=fun?firewallArn->fun?firewallPolicyArn->fun?vpcId->fun?subnetMappings->fun?deleteProtection->fun?subnetChangeProtection->fun?firewallPolicyChangeProtection->fun?description->fun?firewallId->fun?tags->fun?encryptionConfiguration->fun?numberOfAssociations->fun?enabledAnalysisTypes->fun?transitGatewayId->fun?transitGatewayOwnerAccountId->fun?availabilityZoneMappings->fun?availabilityZoneChangeProtection->fun()->{firewallName;firewallArn;firewallPolicyArn;vpcId;subnetMappings;deleteProtection;subnetChangeProtection;firewallPolicyChangeProtection;description;firewallId;tags;encryptionConfiguration;numberOfAssociations;enabledAnalysisTypes;transitGatewayId;transitGatewayOwnerAccountId;availabilityZoneMappings;availabilityZoneChangeProtection}letto_valuex=structure_to_value[("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallPolicyArn",(Option.mapx.firewallPolicyArn~f:ResourceArn.to_value));("VpcId",(Option.mapx.vpcId~f:VpcId.to_value));("SubnetMappings",(Option.mapx.subnetMappings~f:SubnetMappings.to_value));("DeleteProtection",(Option.mapx.deleteProtection~f:Boolean.to_value));("SubnetChangeProtection",(Option.mapx.subnetChangeProtection~f:Boolean.to_value));("FirewallPolicyChangeProtection",(Option.mapx.firewallPolicyChangeProtection~f:Boolean.to_value));("Description",(Option.mapx.description~f:Description.to_value));("FirewallId",(Option.mapx.firewallId~f:ResourceId.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value));("NumberOfAssociations",(Option.mapx.numberOfAssociations~f:NumberOfAssociations.to_value));("EnabledAnalysisTypes",(Option.mapx.enabledAnalysisTypes~f:EnabledAnalysisTypes.to_value));("TransitGatewayId",(Option.mapx.transitGatewayId~f:TransitGatewayId.to_value));("TransitGatewayOwnerAccountId",(Option.mapx.transitGatewayOwnerAccountId~f:AWSAccountId.to_value));("AvailabilityZoneMappings",(Option.mapx.availabilityZoneMappings~f:AvailabilityZoneMappings.to_value));("AvailabilityZoneChangeProtection",(Option.mapx.availabilityZoneChangeProtection~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZoneChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AvailabilityZoneChangeProtection")inletavailabilityZoneMappings=(Option.map~f:AvailabilityZoneMappings.of_xml)(Xml.childxml_arg0"AvailabilityZoneMappings")inlettransitGatewayOwnerAccountId=(Option.map~f:AWSAccountId.of_xml)(Xml.childxml_arg0"TransitGatewayOwnerAccountId")inlettransitGatewayId=(Option.map~f:TransitGatewayId.of_xml)(Xml.childxml_arg0"TransitGatewayId")inletenabledAnalysisTypes=(Option.map~f:EnabledAnalysisTypes.of_xml)(Xml.childxml_arg0"EnabledAnalysisTypes")inletnumberOfAssociations=(Option.map~f:NumberOfAssociations.of_xml)(Xml.childxml_arg0"NumberOfAssociations")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletfirewallId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallId")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletfirewallPolicyChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"FirewallPolicyChangeProtection")inletsubnetChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SubnetChangeProtection")inletdeleteProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DeleteProtection")inletsubnetMappings=(Option.map~f:SubnetMappings.of_xml)(Xml.childxml_arg0"SubnetMappings")inletvpcId=(Option.map~f:VpcId.of_xml)(Xml.childxml_arg0"VpcId")inletfirewallPolicyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallPolicyArn")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inmake?availabilityZoneChangeProtection?availabilityZoneMappings?transitGatewayOwnerAccountId?transitGatewayId?enabledAnalysisTypes?numberOfAssociations?encryptionConfiguration?tags?firewallId?description?firewallPolicyChangeProtection?subnetChangeProtection?deleteProtection?subnetMappings?vpcId?firewallPolicyArn?firewallArn?firewallName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZoneChangeProtection=field_mapjson__"AvailabilityZoneChangeProtection"Boolean.of_jsoninletavailabilityZoneMappings=field_mapjson__"AvailabilityZoneMappings"AvailabilityZoneMappings.of_jsoninlettransitGatewayOwnerAccountId=field_mapjson__"TransitGatewayOwnerAccountId"AWSAccountId.of_jsoninlettransitGatewayId=field_mapjson__"TransitGatewayId"TransitGatewayId.of_jsoninletenabledAnalysisTypes=field_mapjson__"EnabledAnalysisTypes"EnabledAnalysisTypes.of_jsoninletnumberOfAssociations=field_mapjson__"NumberOfAssociations"NumberOfAssociations.of_jsoninletencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletfirewallId=field_mapjson__"FirewallId"ResourceId.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletfirewallPolicyChangeProtection=field_mapjson__"FirewallPolicyChangeProtection"Boolean.of_jsoninletsubnetChangeProtection=field_mapjson__"SubnetChangeProtection"Boolean.of_jsoninletdeleteProtection=field_mapjson__"DeleteProtection"Boolean.of_jsoninletsubnetMappings=field_mapjson__"SubnetMappings"SubnetMappings.of_jsoninletvpcId=field_mapjson__"VpcId"VpcId.of_jsoninletfirewallPolicyArn=field_mapjson__"FirewallPolicyArn"ResourceArn.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninmake?availabilityZoneChangeProtection?availabilityZoneMappings?transitGatewayOwnerAccountId?transitGatewayId?enabledAnalysisTypes?numberOfAssociations?encryptionConfiguration?tags?firewallId?description?firewallPolicyChangeProtection?subnetChangeProtection?deleteProtection?subnetMappings?vpcId?firewallPolicyArn?firewallArn?firewallName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A firewall defines the behavior of a firewall, the main VPC where the firewall is used, the Availability Zones where the firewall can be used, and one subnet to use for a firewall endpoint within each of the Availability Zones. The Availability Zones are defined implicitly in the subnet specifications. In addition to the firewall endpoints that you define in this Firewall specification, you can create firewall endpoints in VpcEndpointAssociation resources for any VPC, in any Availability Zone where the firewall is already in use. The status of the firewall, for example whether it's ready to filter network traffic, is provided in the corresponding FirewallStatus. You can retrieve both the firewall and firewall status by calling DescribeFirewall."]moduleFirewallStatus=structtypenonrect={status:FirewallStatusValue.toption[@ocaml.doc"The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you have it configured. This setting is READY only when the ConfigurationSyncStateSummary value is IN_SYNC and the Attachment Status values for all of the configured subnets are READY."];configurationSyncStateSummary:ConfigurationSyncState.toption[@ocaml.doc"The configuration sync state for the firewall. This summarizes the Config settings in the SyncStates for this firewall status object. When you create a firewall or update its configuration, for example by adding a rule group to its firewall policy, Network Firewall distributes the configuration changes to all Availability Zones that have subnets defined for the firewall. This summary indicates whether the configuration changes have been applied everywhere. This status must be IN_SYNC for the firewall to be ready for use, but it doesn't indicate that the firewall is ready. The Status setting indicates firewall readiness. It's based on this setting and the readiness of the firewall endpoints to take traffic."];syncStates:SyncStates.toption[@ocaml.doc"Status for the subnets that you've configured in the firewall. This contains one array element per Availability Zone where you've configured a subnet in the firewall. These objects provide detailed information for the settings ConfigurationSyncStateSummary and Status."];capacityUsageSummary:CapacityUsageSummary.toption[@ocaml.doc"Describes the capacity usage of the resources contained in a firewall's reference sets. Network Firewall calculates the capacity usage by taking an aggregated count of all of the resources used by all of the reference sets in a firewall."];transitGatewayAttachmentSyncState:TransitGatewayAttachmentSyncState.toption[@ocaml.doc"The synchronization state of the transit gateway attachment. This indicates whether the firewall's transit gateway configuration is properly synchronized and operational. Use this to verify that your transit gateway configuration changes have been applied."]}letmake?status=fun?configurationSyncStateSummary->fun?syncStates->fun?capacityUsageSummary->fun?transitGatewayAttachmentSyncState->fun()->{status;configurationSyncStateSummary;syncStates;capacityUsageSummary;transitGatewayAttachmentSyncState}letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:FirewallStatusValue.to_value));("ConfigurationSyncStateSummary",(Option.mapx.configurationSyncStateSummary~f:ConfigurationSyncState.to_value));("SyncStates",(Option.mapx.syncStates~f:SyncStates.to_value));("CapacityUsageSummary",(Option.mapx.capacityUsageSummary~f:CapacityUsageSummary.to_value));("TransitGatewayAttachmentSyncState",(Option.mapx.transitGatewayAttachmentSyncState~f:TransitGatewayAttachmentSyncState.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentSyncState=(Option.map~f:TransitGatewayAttachmentSyncState.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentSyncState")inletcapacityUsageSummary=(Option.map~f:CapacityUsageSummary.of_xml)(Xml.childxml_arg0"CapacityUsageSummary")inletsyncStates=(Option.map~f:SyncStates.of_xml)(Xml.childxml_arg0"SyncStates")inletconfigurationSyncStateSummary=(Option.map~f:ConfigurationSyncState.of_xml)(Xml.childxml_arg0"ConfigurationSyncStateSummary")inletstatus=(Option.map~f:FirewallStatusValue.of_xml)(Xml.childxml_arg0"Status")inmake?transitGatewayAttachmentSyncState?capacityUsageSummary?syncStates?configurationSyncStateSummary?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentSyncState=field_mapjson__"TransitGatewayAttachmentSyncState"TransitGatewayAttachmentSyncState.of_jsoninletcapacityUsageSummary=field_mapjson__"CapacityUsageSummary"CapacityUsageSummary.of_jsoninletsyncStates=field_mapjson__"SyncStates"SyncStates.of_jsoninletconfigurationSyncStateSummary=field_mapjson__"ConfigurationSyncStateSummary"ConfigurationSyncState.of_jsoninletstatus=field_mapjson__"Status"FirewallStatusValue.of_jsoninmake?transitGatewayAttachmentSyncState?capacityUsageSummary?syncStates?configurationSyncStateSummary?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information about the current status of a Firewall. You can retrieve this for a firewall by calling DescribeFirewall and providing the firewall name and ARN. The firewall status indicates a combined status. It indicates whether all subnets are up-to-date with the latest firewall configurations, which is based on the sync states config values, and also whether all subnets have their endpoints fully enabled, based on their sync states attachment values."]moduleSupportedAvailabilityZones=structtypenonrect=(AvailabilityZone.t*AvailabilityZoneMetadata.t)listletmakei=iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->let(_:string)=vinlet(_:string)=choppedinfailwith"no of_header for complex types AvailabilityZone AvailabilityZoneMetadata"))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(AvailabilityZone.to_valuex)|>(funx->(AvailabilityZoneMetadata.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:AvailabilityZone.of_string~of_json:AvailabilityZoneMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleInsufficientCapacityException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your request later."]moduleLimitExceededException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Unable to perform the operation because doing so would violate a limit setting."]moduleCreateProxyRulesByRequestPhase=structtypenonrect={preDNS:CreateProxyRuleList.toption[@ocaml.doc"Before domain resolution."];preREQUEST:CreateProxyRuleList.toption[@ocaml.doc"After DNS, before request."];postRESPONSE:CreateProxyRuleList.toption[@ocaml.doc"After receiving response."]}letmake?preDNS=fun?preREQUEST->fun?postRESPONSE->fun()->{preDNS;preREQUEST;postRESPONSE}letto_valuex=structure_to_value[("PreDNS",(Option.mapx.preDNS~f:CreateProxyRuleList.to_value));("PreREQUEST",(Option.mapx.preREQUEST~f:CreateProxyRuleList.to_value));("PostRESPONSE",(Option.mapx.postRESPONSE~f:CreateProxyRuleList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpostRESPONSE=(Option.map~f:CreateProxyRuleList.of_xml)(Xml.childxml_arg0"PostRESPONSE")inletpreREQUEST=(Option.map~f:CreateProxyRuleList.of_xml)(Xml.childxml_arg0"PreREQUEST")inletpreDNS=(Option.map~f:CreateProxyRuleList.of_xml)(Xml.childxml_arg0"PreDNS")inmake?postRESPONSE?preREQUEST?preDNS()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpostRESPONSE=field_mapjson__"PostRESPONSE"CreateProxyRuleList.of_jsoninletpreREQUEST=field_mapjson__"PreREQUEST"CreateProxyRuleList.of_jsoninletpreDNS=field_mapjson__"PreDNS"CreateProxyRuleList.of_jsoninmake?postRESPONSE?preREQUEST?preDNS()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. This data type is used specifically for the CreateProxyRules API. Pre-DNS - before domain resolution. Pre-Request - after DNS, before request. Post-Response - after receiving response."]moduleProxyRuleGroupAttachmentList=structtypenonrect=ProxyRuleGroupAttachment.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ProxyRuleGroupAttachment.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:ProxyRuleGroupAttachment.of_xml)letof_jsonj=list_of_json~kind:"ProxyRuleGroupAttachmentList"~of_json:ProxyRuleGroupAttachment.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpdateTLSInspectionConfigurationResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request. To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."];tLSInspectionConfigurationResponse:TLSInspectionConfigurationResponse.toption[@ocaml.doc"The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?tLSInspectionConfigurationResponse->fun()->{updateToken;tLSInspectionConfigurationResponse}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("TLSInspectionConfigurationResponse",(Option.mapx.tLSInspectionConfigurationResponse~f:TLSInspectionConfigurationResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettLSInspectionConfigurationResponse=(Option.map~f:TLSInspectionConfigurationResponse.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationResponse")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?tLSInspectionConfigurationResponse?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettLSInspectionConfigurationResponse=field_mapjson__"TLSInspectionConfigurationResponse"TLSInspectionConfigurationResponse.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?tLSInspectionConfigurationResponse?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by referencing it in one or more firewall policies. When you modify a TLS inspection configuration, you modify all firewall policies that use the TLS inspection configuration. To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration to retrieve the current TLSInspectionConfiguration object, update the object as needed, and then provide the updated object to this call."]moduleUpdateTLSInspectionConfigurationRequest=structtypenonrect={tLSInspectionConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the TLS inspection configuration."];tLSInspectionConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it."];tLSInspectionConfiguration:TLSInspectionConfiguration.t[@ocaml.doc"The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration. Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination. To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide."];description:Description.toption[@ocaml.doc"A description of the TLS inspection configuration."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains the Amazon Web Services KMS encryption configuration settings for your TLS inspection configuration."];updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request. To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}letcontext_="UpdateTLSInspectionConfigurationRequest"letmake?tLSInspectionConfigurationArn=fun?tLSInspectionConfigurationName->fun?description->fun?encryptionConfiguration->fun~tLSInspectionConfiguration->fun~updateToken->fun()->{tLSInspectionConfigurationArn;tLSInspectionConfigurationName;description;encryptionConfiguration;tLSInspectionConfiguration;updateToken}letto_valuex=structure_to_value[("TLSInspectionConfigurationArn",(Option.mapx.tLSInspectionConfigurationArn~f:ResourceArn.to_value));("TLSInspectionConfigurationName",(Option.mapx.tLSInspectionConfigurationName~f:ResourceName.to_value));("TLSInspectionConfiguration",(Some(TLSInspectionConfiguration.to_valuex.tLSInspectionConfiguration)));("Description",(Option.mapx.description~f:Description.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value));("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettLSInspectionConfiguration=TLSInspectionConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"TLSInspectionConfiguration")inlettLSInspectionConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationName")inlettLSInspectionConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationArn")inmake~updateToken?encryptionConfiguration?description~tLSInspectionConfiguration?tLSInspectionConfigurationName?tLSInspectionConfigurationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninletencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettLSInspectionConfiguration=field_map_exnjson__"TLSInspectionConfiguration"TLSInspectionConfiguration.of_jsoninlettLSInspectionConfigurationName=field_mapjson__"TLSInspectionConfigurationName"ResourceName.of_jsoninlettLSInspectionConfigurationArn=field_mapjson__"TLSInspectionConfigurationArn"ResourceArn.of_jsoninmake~updateToken?encryptionConfiguration?description~tLSInspectionConfiguration?tLSInspectionConfigurationName?tLSInspectionConfigurationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by referencing it in one or more firewall policies. When you modify a TLS inspection configuration, you modify all firewall policies that use the TLS inspection configuration. To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration to retrieve the current TLSInspectionConfiguration object, update the object as needed, and then provide the updated object to this call."]moduleUpdateSubnetChangeProtectionResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];subnetChangeProtection:Boolean.toption[@ocaml.doc"A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceOwnerCheckExceptionofResourceOwnerCheckException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?firewallArn->fun?firewallName->fun?subnetChangeProtection->fun()->{updateToken;firewallArn;firewallName;subnetChangeProtection}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceOwnerCheckExceptione->`Assoc[("error",(`String"ResourceOwnerCheckException"));("details",(ResourceOwnerCheckException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("SubnetChangeProtection",(Option.mapx.subnetChangeProtection~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubnetChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SubnetChangeProtection")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?subnetChangeProtection?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnetChangeProtection=field_mapjson__"SubnetChangeProtection"Boolean.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?subnetChangeProtection?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevendmoduleUpdateSubnetChangeProtectionRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];subnetChangeProtection:Boolean.t[@ocaml.doc"A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."]}letcontext_="UpdateSubnetChangeProtectionRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~subnetChangeProtection->fun()->{updateToken;firewallArn;firewallName;subnetChangeProtection}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("SubnetChangeProtection",(Some(Boolean.to_valuex.subnetChangeProtection)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubnetChangeProtection=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"SubnetChangeProtection")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~subnetChangeProtection?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnetChangeProtection=field_map_exnjson__"SubnetChangeProtection"Boolean.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~subnetChangeProtection?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevendmoduleUpdateRuleGroupResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."];ruleGroupResponse:RuleGroupResponse.toption[@ocaml.doc"The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?ruleGroupResponse->fun()->{updateToken;ruleGroupResponse}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("RuleGroupResponse",(Option.mapx.ruleGroupResponse~f:RuleGroupResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleGroupResponse=(Option.map~f:RuleGroupResponse.of_xml)(Xml.childxml_arg0"RuleGroupResponse")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?ruleGroupResponse?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleGroupResponse=field_mapjson__"RuleGroupResponse"RuleGroupResponse.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?ruleGroupResponse?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the rule settings for the specified rule group. You use a rule group by reference in one or more firewall policies. When you modify a rule group, you modify all firewall policies that use the rule group. To update a rule group, first call DescribeRuleGroup to retrieve the current RuleGroup object, update the object as needed, and then provide the updated object to this call."]moduleUpdateRuleGroupRequest=structtypenonrect={updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."];ruleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the rule group. You must specify the ARN or the name, and you can specify both."];ruleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."];ruleGroup:RuleGroup.toption[@ocaml.doc"An object that defines the rule group rules. You must provide either this rule group setting or a Rules setting, but not both."];rules:RulesString.toption[@ocaml.doc"A string containing stateful rule group rules specifications in Suricata flat format, with one rule per line. Use this to import your existing Suricata compatible rule groups. You must provide either this rules setting or a populated RuleGroup setting, but not both. You can provide your rule group specification in Suricata flat format through this setting when you create or update your rule group. The call response returns a RuleGroup object that Network Firewall has populated from your string."];type_:RuleGroupType.toption[@ocaml.doc"Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. This setting is required for requests that do not include the RuleGroupARN."];description:Description.toption[@ocaml.doc"A description of the rule group."];dryRun:Boolean.toption[@ocaml.doc"Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid. If set to FALSE, Network Firewall makes the requested changes to your resources."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains settings for encryption of your rule group resources."];sourceMetadata:SourceMetadata.toption[@ocaml.doc"A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to keep track of updates made to the originating rule group."];analyzeRuleGroup:Boolean.toption[@ocaml.doc"Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis and then updates the rule group for you. To run the stateless rule group analyzer without updating the rule group, set DryRun to TRUE."];summaryConfiguration:SummaryConfiguration.toption[@ocaml.doc"Updates the selected summary configuration for a rule group. Changes affect subsequent responses from DescribeRuleGroupSummary."]}letcontext_="UpdateRuleGroupRequest"letmake?ruleGroupArn=fun?ruleGroupName->fun?ruleGroup->fun?rules->fun?type_->fun?description->fun?dryRun->fun?encryptionConfiguration->fun?sourceMetadata->fun?analyzeRuleGroup->fun?summaryConfiguration->fun~updateToken->fun()->{ruleGroupArn;ruleGroupName;ruleGroup;rules;type_;description;dryRun;encryptionConfiguration;sourceMetadata;analyzeRuleGroup;summaryConfiguration;updateToken}letto_valuex=structure_to_value[("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)));("RuleGroupArn",(Option.mapx.ruleGroupArn~f:ResourceArn.to_value));("RuleGroupName",(Option.mapx.ruleGroupName~f:ResourceName.to_value));("RuleGroup",(Option.mapx.ruleGroup~f:RuleGroup.to_value));("Rules",(Option.mapx.rules~f:RulesString.to_value));("Type",(Option.mapx.type_~f:RuleGroupType.to_value));("Description",(Option.mapx.description~f:Description.to_value));("DryRun",(Option.mapx.dryRun~f:Boolean.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value));("SourceMetadata",(Option.mapx.sourceMetadata~f:SourceMetadata.to_value));("AnalyzeRuleGroup",(Option.mapx.analyzeRuleGroup~f:Boolean.to_value));("SummaryConfiguration",(Option.mapx.summaryConfiguration~f:SummaryConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsummaryConfiguration=(Option.map~f:SummaryConfiguration.of_xml)(Xml.childxml_arg0"SummaryConfiguration")inletanalyzeRuleGroup=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AnalyzeRuleGroup")inletsourceMetadata=(Option.map~f:SourceMetadata.of_xml)(Xml.childxml_arg0"SourceMetadata")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletdryRun=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DryRun")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettype_=(Option.map~f:RuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletrules=(Option.map~f:RulesString.of_xml)(Xml.childxml_arg0"Rules")inletruleGroup=(Option.map~f:RuleGroup.of_xml)(Xml.childxml_arg0"RuleGroup")inletruleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"RuleGroupName")inletruleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"RuleGroupArn")inletupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inmake?summaryConfiguration?analyzeRuleGroup?sourceMetadata?encryptionConfiguration?dryRun?description?type_?rules?ruleGroup?ruleGroupName?ruleGroupArn~updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsummaryConfiguration=field_mapjson__"SummaryConfiguration"SummaryConfiguration.of_jsoninletanalyzeRuleGroup=field_mapjson__"AnalyzeRuleGroup"Boolean.of_jsoninletsourceMetadata=field_mapjson__"SourceMetadata"SourceMetadata.of_jsoninletencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletdryRun=field_mapjson__"DryRun"Boolean.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettype_=field_mapjson__"Type"RuleGroupType.of_jsoninletrules=field_mapjson__"Rules"RulesString.of_jsoninletruleGroup=field_mapjson__"RuleGroup"RuleGroup.of_jsoninletruleGroupName=field_mapjson__"RuleGroupName"ResourceName.of_jsoninletruleGroupArn=field_mapjson__"RuleGroupArn"ResourceArn.of_jsoninletupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninmake?summaryConfiguration?analyzeRuleGroup?sourceMetadata?encryptionConfiguration?dryRun?description?type_?rules?ruleGroup?ruleGroupName?ruleGroupArn~updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the rule settings for the specified rule group. You use a rule group by reference in one or more firewall policies. When you modify a rule group, you modify all firewall policies that use the rule group. To update a rule group, first call DescribeRuleGroup to retrieve the current RuleGroup object, update the object as needed, and then provide the updated object to this call."]moduleUpdateProxyRuleResponse=structtypenonrect={proxyRule:ProxyRule.toption[@ocaml.doc"The updated proxy rule resource that reflects the updates from the request."];removedConditions:ProxyRuleConditionList.toption[@ocaml.doc"Proxy rule conditions removed from the rule."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRule=fun?removedConditions->fun?updateToken->fun()->{proxyRule;removedConditions;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRule",(Option.mapx.proxyRule~f:ProxyRule.to_value));("RemovedConditions",(Option.mapx.removedConditions~f:ProxyRuleConditionList.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletremovedConditions=(Option.map~f:ProxyRuleConditionList.of_xml)(Xml.childxml_arg0"RemovedConditions")inletproxyRule=(Option.map~f:ProxyRule.of_xml)(Xml.childxml_arg0"ProxyRule")inmake?updateToken?removedConditions?proxyRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletremovedConditions=field_mapjson__"RemovedConditions"ProxyRuleConditionList.of_jsoninletproxyRule=field_mapjson__"ProxyRule"ProxyRule.of_jsoninmake?updateToken?removedConditions?proxyRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the properties of the specified proxy rule."]moduleUpdateProxyRuleRequest=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it. You must specify the ARN or the name, and you can specify both."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group. You must specify the ARN or the name, and you can specify both."];proxyRuleName:ResourceName.t[@ocaml.doc"The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it."];description:Description.toption[@ocaml.doc"A description of the proxy rule."];action:ProxyRulePhaseAction.toption[@ocaml.doc"Depending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action."];addConditions:ProxyRuleConditionList.toption[@ocaml.doc"Proxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against."];removeConditions:ProxyRuleConditionList.toption[@ocaml.doc"Proxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against."];updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}letcontext_="UpdateProxyRuleRequest"letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun?description->fun?action->fun?addConditions->fun?removeConditions->fun~proxyRuleName->fun~updateToken->fun()->{proxyRuleGroupName;proxyRuleGroupArn;description;action;addConditions;removeConditions;proxyRuleName;updateToken}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value));("ProxyRuleName",(Some(ResourceName.to_valuex.proxyRuleName)));("Description",(Option.mapx.description~f:Description.to_value));("Action",(Option.mapx.action~f:ProxyRulePhaseAction.to_value));("AddConditions",(Option.mapx.addConditions~f:ProxyRuleConditionList.to_value));("RemoveConditions",(Option.mapx.removeConditions~f:ProxyRuleConditionList.to_value));("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inletremoveConditions=(Option.map~f:ProxyRuleConditionList.of_xml)(Xml.childxml_arg0"RemoveConditions")inletaddConditions=(Option.map~f:ProxyRuleConditionList.of_xml)(Xml.childxml_arg0"AddConditions")inletaction=(Option.map~f:ProxyRulePhaseAction.of_xml)(Xml.childxml_arg0"Action")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletproxyRuleName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ProxyRuleName")inletproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake~updateToken?removeConditions?addConditions?action?description~proxyRuleName?proxyRuleGroupArn?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninletremoveConditions=field_mapjson__"RemoveConditions"ProxyRuleConditionList.of_jsoninletaddConditions=field_mapjson__"AddConditions"ProxyRuleConditionList.of_jsoninletaction=field_mapjson__"Action"ProxyRulePhaseAction.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletproxyRuleName=field_map_exnjson__"ProxyRuleName"ResourceName.of_jsoninletproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake~updateToken?removeConditions?addConditions?action?description~proxyRuleName?proxyRuleGroupArn?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the properties of the specified proxy rule."]moduleUpdateProxyRulePrioritiesResponse=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group."];ruleGroupRequestPhase:RuleGroupRequestPhase.toption[@ocaml.doc"Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied."];rules:ProxyRulePriorityList.toption[@ocaml.doc"The updated proxy rule hierarchy that reflects the updates from the request."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request. To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun?ruleGroupRequestPhase->fun?rules->fun?updateToken->fun()->{proxyRuleGroupName;proxyRuleGroupArn;ruleGroupRequestPhase;rules;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value));("RuleGroupRequestPhase",(Option.mapx.ruleGroupRequestPhase~f:RuleGroupRequestPhase.to_value));("Rules",(Option.mapx.rules~f:ProxyRulePriorityList.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletrules=(Option.map~f:ProxyRulePriorityList.of_xml)(Xml.childxml_arg0"Rules")inletruleGroupRequestPhase=(Option.map~f:RuleGroupRequestPhase.of_xml)(Xml.childxml_arg0"RuleGroupRequestPhase")inletproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?updateToken?rules?ruleGroupRequestPhase?proxyRuleGroupArn?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletrules=field_mapjson__"Rules"ProxyRulePriorityList.of_jsoninletruleGroupRequestPhase=field_mapjson__"RuleGroupRequestPhase"RuleGroupRequestPhase.of_jsoninletproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?updateToken?rules?ruleGroupRequestPhase?proxyRuleGroupArn?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates proxy rule priorities within a proxy rule group."]moduleUpdateProxyRulePrioritiesRequest=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it. You must specify the ARN or the name, and you can specify both."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group. You must specify the ARN or the name, and you can specify both."];ruleGroupRequestPhase:RuleGroupRequestPhase.t[@ocaml.doc"Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied."];rules:ProxyRulePriorityList.t[@ocaml.doc"proxy rule resources to update to new positions."];updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request. To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}letcontext_="UpdateProxyRulePrioritiesRequest"letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun~ruleGroupRequestPhase->fun~rules->fun~updateToken->fun()->{proxyRuleGroupName;proxyRuleGroupArn;ruleGroupRequestPhase;rules;updateToken}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value));("RuleGroupRequestPhase",(Some(RuleGroupRequestPhase.to_valuex.ruleGroupRequestPhase)));("Rules",(Some(ProxyRulePriorityList.to_valuex.rules)));("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inletrules=ProxyRulePriorityList.of_xml(Xml.child_exn~context:context_xml_arg0"Rules")inletruleGroupRequestPhase=RuleGroupRequestPhase.of_xml(Xml.child_exn~context:context_xml_arg0"RuleGroupRequestPhase")inletproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake~updateToken~rules~ruleGroupRequestPhase?proxyRuleGroupArn?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninletrules=field_map_exnjson__"Rules"ProxyRulePriorityList.of_jsoninletruleGroupRequestPhase=field_map_exnjson__"RuleGroupRequestPhase"RuleGroupRequestPhase.of_jsoninletproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake~updateToken~rules~ruleGroupRequestPhase?proxyRuleGroupArn?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates proxy rule priorities within a proxy rule group."]moduleUpdateProxyRuleGroupPrioritiesResponse=structtypenonrect={proxyRuleGroups:ProxyRuleGroupPriorityResultList.toption[@ocaml.doc"The updated proxy rule group hierarchy that reflects the updates from the request."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRuleGroups=fun?updateToken->fun()->{proxyRuleGroups;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRuleGroups",(Option.mapx.proxyRuleGroups~f:ProxyRuleGroupPriorityResultList.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyRuleGroups=(Option.map~f:ProxyRuleGroupPriorityResultList.of_xml)(Xml.childxml_arg0"ProxyRuleGroups")inmake?updateToken?proxyRuleGroups()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyRuleGroups=field_mapjson__"ProxyRuleGroups"ProxyRuleGroupPriorityResultList.of_jsoninmake?updateToken?proxyRuleGroups()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates proxy rule group priorities within a proxy configuration."]moduleUpdateProxyRuleGroupPrioritiesRequest=structtypenonrect={proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it. You must specify the ARN or the name, and you can specify both."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration. You must specify the ARN or the name, and you can specify both."];ruleGroups:ProxyRuleGroupPriorityList.t[@ocaml.doc"proxy rule group resources to update to new positions."];updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}letcontext_="UpdateProxyRuleGroupPrioritiesRequest"letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun~ruleGroups->fun~updateToken->fun()->{proxyConfigurationName;proxyConfigurationArn;ruleGroups;updateToken}letto_valuex=structure_to_value[("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value));("RuleGroups",(Some(ProxyRuleGroupPriorityList.to_valuex.ruleGroups)));("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inletruleGroups=ProxyRuleGroupPriorityList.of_xml(Xml.child_exn~context:context_xml_arg0"RuleGroups")inletproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inmake~updateToken~ruleGroups?proxyConfigurationArn?proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninletruleGroups=field_map_exnjson__"RuleGroups"ProxyRuleGroupPriorityList.of_jsoninletproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninmake~updateToken~ruleGroups?proxyConfigurationArn?proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates proxy rule group priorities within a proxy configuration."]moduleUpdateProxyResponse=structtypenonrect={proxy:Proxy.toption[@ocaml.doc"The updated proxy resource that reflects the updates from the request."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request. To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`UnsupportedOperationExceptionofUnsupportedOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxy=fun?updateToken->fun()->{proxy;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UnsupportedOperationExceptione->`Assoc[("error",(`String"UnsupportedOperationException"));("details",(UnsupportedOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Proxy",(Option.mapx.proxy~f:Proxy.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxy=(Option.map~f:Proxy.of_xml)(Xml.childxml_arg0"Proxy")inmake?updateToken?proxy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxy=field_mapjson__"Proxy"Proxy.of_jsoninmake?updateToken?proxy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the properties of the specified proxy."]moduleUpdateProxyRequest=structtypenonrect={natGatewayId:NatGatewayId.t[@ocaml.doc"The NAT Gateway the proxy is attached to."];proxyName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy. You can't change the name of a proxy after you create it. You must specify the ARN or the name, and you can specify both."];proxyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy. You must specify the ARN or the name, and you can specify both."];listenerPropertiesToAdd:ListenerPropertiesRequest.toption[@ocaml.doc"Listener properties for HTTP and HTTPS traffic to add."];listenerPropertiesToRemove:ListenerPropertiesRequest.toption[@ocaml.doc"Listener properties for HTTP and HTTPS traffic to remove."];tlsInterceptProperties:TlsInterceptPropertiesRequest.toption[@ocaml.doc"TLS decryption on traffic to filter on attributes in the HTTP header."];updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request. To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}letcontext_="UpdateProxyRequest"letmake?proxyName=fun?proxyArn->fun?listenerPropertiesToAdd->fun?listenerPropertiesToRemove->fun?tlsInterceptProperties->fun~natGatewayId->fun~updateToken->fun()->{proxyName;proxyArn;listenerPropertiesToAdd;listenerPropertiesToRemove;tlsInterceptProperties;natGatewayId;updateToken}letto_valuex=structure_to_value[("NatGatewayId",(Some(NatGatewayId.to_valuex.natGatewayId)));("ProxyName",(Option.mapx.proxyName~f:ResourceName.to_value));("ProxyArn",(Option.mapx.proxyArn~f:ResourceArn.to_value));("ListenerPropertiesToAdd",(Option.mapx.listenerPropertiesToAdd~f:ListenerPropertiesRequest.to_value));("ListenerPropertiesToRemove",(Option.mapx.listenerPropertiesToRemove~f:ListenerPropertiesRequest.to_value));("TlsInterceptProperties",(Option.mapx.tlsInterceptProperties~f:TlsInterceptPropertiesRequest.to_value));("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inlettlsInterceptProperties=(Option.map~f:TlsInterceptPropertiesRequest.of_xml)(Xml.childxml_arg0"TlsInterceptProperties")inletlistenerPropertiesToRemove=(Option.map~f:ListenerPropertiesRequest.of_xml)(Xml.childxml_arg0"ListenerPropertiesToRemove")inletlistenerPropertiesToAdd=(Option.map~f:ListenerPropertiesRequest.of_xml)(Xml.childxml_arg0"ListenerPropertiesToAdd")inletproxyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyArn")inletproxyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyName")inletnatGatewayId=NatGatewayId.of_xml(Xml.child_exn~context:context_xml_arg0"NatGatewayId")inmake~updateToken?tlsInterceptProperties?listenerPropertiesToRemove?listenerPropertiesToAdd?proxyArn?proxyName~natGatewayId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninlettlsInterceptProperties=field_mapjson__"TlsInterceptProperties"TlsInterceptPropertiesRequest.of_jsoninletlistenerPropertiesToRemove=field_mapjson__"ListenerPropertiesToRemove"ListenerPropertiesRequest.of_jsoninletlistenerPropertiesToAdd=field_mapjson__"ListenerPropertiesToAdd"ListenerPropertiesRequest.of_jsoninletproxyArn=field_mapjson__"ProxyArn"ResourceArn.of_jsoninletproxyName=field_mapjson__"ProxyName"ResourceName.of_jsoninletnatGatewayId=field_map_exnjson__"NatGatewayId"NatGatewayId.of_jsoninmake~updateToken?tlsInterceptProperties?listenerPropertiesToRemove?listenerPropertiesToAdd?proxyArn?proxyName~natGatewayId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the properties of the specified proxy."]moduleUpdateProxyConfigurationResponse=structtypenonrect={proxyConfiguration:ProxyConfiguration.toption[@ocaml.doc"The updated proxy configuration resource that reflects the updates from the request."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyConfiguration=fun?updateToken->fun()->{proxyConfiguration;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyConfiguration",(Option.mapx.proxyConfiguration~f:ProxyConfiguration.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyConfiguration=(Option.map~f:ProxyConfiguration.of_xml)(Xml.childxml_arg0"ProxyConfiguration")inmake?updateToken?proxyConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyConfiguration=field_mapjson__"ProxyConfiguration"ProxyConfiguration.of_jsoninmake?updateToken?proxyConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the properties of the specified proxy configuration."]moduleUpdateProxyConfigurationRequest=structtypenonrect={proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it. You must specify the ARN or the name, and you can specify both."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration. You must specify the ARN or the name, and you can specify both."];defaultRulePhaseActions:ProxyConfigDefaultRulePhaseActionsRequest.t[@ocaml.doc"Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied."];updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}letcontext_="UpdateProxyConfigurationRequest"letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun~defaultRulePhaseActions->fun~updateToken->fun()->{proxyConfigurationName;proxyConfigurationArn;defaultRulePhaseActions;updateToken}letto_valuex=structure_to_value[("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value));("DefaultRulePhaseActions",(Some(ProxyConfigDefaultRulePhaseActionsRequest.to_valuex.defaultRulePhaseActions)));("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inletdefaultRulePhaseActions=ProxyConfigDefaultRulePhaseActionsRequest.of_xml(Xml.child_exn~context:context_xml_arg0"DefaultRulePhaseActions")inletproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inmake~updateToken~defaultRulePhaseActions?proxyConfigurationArn?proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninletdefaultRulePhaseActions=field_map_exnjson__"DefaultRulePhaseActions"ProxyConfigDefaultRulePhaseActionsRequest.of_jsoninletproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninmake~updateToken~defaultRulePhaseActions?proxyConfigurationArn?proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the properties of the specified proxy configuration."]moduleUpdateLoggingConfigurationResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];loggingConfiguration:LoggingConfiguration.toption;enableMonitoringDashboard:EnableMonitoringDashboard.toption[@ocaml.doc"A boolean that reflects whether or not the firewall monitoring dashboard is enabled on a firewall. Returns TRUE when the firewall monitoring dashboard is enabled on the firewall. Returns FALSE when the firewall monitoring dashboard is not enabled on the firewall."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`LogDestinationPermissionExceptionofLogDestinationPermissionException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?loggingConfiguration->fun?enableMonitoringDashboard->fun()->{firewallArn;firewallName;loggingConfiguration;enableMonitoringDashboard}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"LogDestinationPermissionException"->`LogDestinationPermissionException(LogDestinationPermissionException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"LogDestinationPermissionException"->`LogDestinationPermissionException(LogDestinationPermissionException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`LogDestinationPermissionExceptione->`Assoc[("error",(`String"LogDestinationPermissionException"));("details",(LogDestinationPermissionException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("LoggingConfiguration",(Option.mapx.loggingConfiguration~f:LoggingConfiguration.to_value));("EnableMonitoringDashboard",(Option.mapx.enableMonitoringDashboard~f:EnableMonitoringDashboard.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenableMonitoringDashboard=(Option.map~f:EnableMonitoringDashboard.of_xml)(Xml.childxml_arg0"EnableMonitoringDashboard")inletloggingConfiguration=(Option.map~f:LoggingConfiguration.of_xml)(Xml.childxml_arg0"LoggingConfiguration")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?enableMonitoringDashboard?loggingConfiguration?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenableMonitoringDashboard=field_mapjson__"EnableMonitoringDashboard"EnableMonitoringDashboard.of_jsoninletloggingConfiguration=field_mapjson__"LoggingConfiguration"LoggingConfiguration.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?enableMonitoringDashboard?loggingConfiguration?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Sets the logging configuration for the specified firewall. To change the logging configuration, retrieve the LoggingConfiguration by calling DescribeLoggingConfiguration, then change it and provide the modified object to this update call. You must change the logging configuration one LogDestinationConfig at a time inside the retrieved LoggingConfiguration object. You can perform only one of the following actions in any call to UpdateLoggingConfiguration: Create a new log destination object by adding a single LogDestinationConfig array element to LogDestinationConfigs. Delete a log destination object by removing a single LogDestinationConfig array element from LogDestinationConfigs. Change the LogDestination setting in a single LogDestinationConfig array element. You can't change the LogDestinationType or LogType in a LogDestinationConfig. To change these settings, delete the existing LogDestinationConfig object and create a new one, using two separate calls to this update operation."]moduleUpdateLoggingConfigurationRequest=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];loggingConfiguration:LoggingConfiguration.toption[@ocaml.doc"Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall."];enableMonitoringDashboard:EnableMonitoringDashboard.toption[@ocaml.doc"A boolean that lets you enable or disable the detailed firewall monitoring dashboard on the firewall. The monitoring dashboard provides comprehensive visibility into your firewall's flow logs and alert logs. After you enable detailed monitoring, you can access these dashboards directly from the Monitoring page of the Network Firewall console. Specify TRUE to enable the the detailed monitoring dashboard on the firewall. Specify FALSE to disable the the detailed monitoring dashboard on the firewall."]}letmake?firewallArn=fun?firewallName->fun?loggingConfiguration->fun?enableMonitoringDashboard->fun()->{firewallArn;firewallName;loggingConfiguration;enableMonitoringDashboard}letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("LoggingConfiguration",(Option.mapx.loggingConfiguration~f:LoggingConfiguration.to_value));("EnableMonitoringDashboard",(Option.mapx.enableMonitoringDashboard~f:EnableMonitoringDashboard.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenableMonitoringDashboard=(Option.map~f:EnableMonitoringDashboard.of_xml)(Xml.childxml_arg0"EnableMonitoringDashboard")inletloggingConfiguration=(Option.map~f:LoggingConfiguration.of_xml)(Xml.childxml_arg0"LoggingConfiguration")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?enableMonitoringDashboard?loggingConfiguration?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenableMonitoringDashboard=field_mapjson__"EnableMonitoringDashboard"EnableMonitoringDashboard.of_jsoninletloggingConfiguration=field_mapjson__"LoggingConfiguration"LoggingConfiguration.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?enableMonitoringDashboard?loggingConfiguration?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Sets the logging configuration for the specified firewall. To change the logging configuration, retrieve the LoggingConfiguration by calling DescribeLoggingConfiguration, then change it and provide the modified object to this update call. You must change the logging configuration one LogDestinationConfig at a time inside the retrieved LoggingConfiguration object. You can perform only one of the following actions in any call to UpdateLoggingConfiguration: Create a new log destination object by adding a single LogDestinationConfig array element to LogDestinationConfigs. Delete a log destination object by removing a single LogDestinationConfig array element from LogDestinationConfigs. Change the LogDestination setting in a single LogDestinationConfig array element. You can't change the LogDestinationType or LogType in a LogDestinationConfig. To change these settings, delete the existing LogDestinationConfig object and create a new one, using two separate calls to this update operation."]moduleUpdateFirewallPolicyResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token."];firewallPolicyResponse:FirewallPolicyResponse.toption[@ocaml.doc"The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?firewallPolicyResponse->fun()->{updateToken;firewallPolicyResponse}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallPolicyResponse",(Option.mapx.firewallPolicyResponse~f:FirewallPolicyResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicyResponse=(Option.map~f:FirewallPolicyResponse.of_xml)(Xml.childxml_arg0"FirewallPolicyResponse")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?firewallPolicyResponse?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicyResponse=field_mapjson__"FirewallPolicyResponse"FirewallPolicyResponse.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?firewallPolicyResponse?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the properties of the specified firewall policy."]moduleUpdateFirewallPolicyRequest=structtypenonrect={updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token."];firewallPolicyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy. You must specify the ARN or the name, and you can specify both."];firewallPolicyName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it. You must specify the ARN or the name, and you can specify both."];firewallPolicy:FirewallPolicy.t[@ocaml.doc"The updated firewall policy to use for the firewall. You can't add or remove a TLSInspectionConfiguration after you create a firewall policy. However, you can replace an existing TLS inspection configuration with another TLSInspectionConfiguration."];description:Description.toption[@ocaml.doc"A description of the firewall policy."];dryRun:Boolean.toption[@ocaml.doc"Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid. If set to FALSE, Network Firewall makes the requested changes to your resources."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains settings for encryption of your firewall policy resources."]}letcontext_="UpdateFirewallPolicyRequest"letmake?firewallPolicyArn=fun?firewallPolicyName->fun?description->fun?dryRun->fun?encryptionConfiguration->fun~updateToken->fun~firewallPolicy->fun()->{firewallPolicyArn;firewallPolicyName;description;dryRun;encryptionConfiguration;updateToken;firewallPolicy}letto_valuex=structure_to_value[("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)));("FirewallPolicyArn",(Option.mapx.firewallPolicyArn~f:ResourceArn.to_value));("FirewallPolicyName",(Option.mapx.firewallPolicyName~f:ResourceName.to_value));("FirewallPolicy",(Some(FirewallPolicy.to_valuex.firewallPolicy)));("Description",(Option.mapx.description~f:Description.to_value));("DryRun",(Option.mapx.dryRun~f:Boolean.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletdryRun=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DryRun")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletfirewallPolicy=FirewallPolicy.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallPolicy")inletfirewallPolicyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallPolicyName")inletfirewallPolicyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallPolicyArn")inletupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inmake?encryptionConfiguration?dryRun?description~firewallPolicy?firewallPolicyName?firewallPolicyArn~updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletdryRun=field_mapjson__"DryRun"Boolean.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletfirewallPolicy=field_map_exnjson__"FirewallPolicy"FirewallPolicy.of_jsoninletfirewallPolicyName=field_mapjson__"FirewallPolicyName"ResourceName.of_jsoninletfirewallPolicyArn=field_mapjson__"FirewallPolicyArn"ResourceArn.of_jsoninletupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninmake?encryptionConfiguration?dryRun?description~firewallPolicy?firewallPolicyName?firewallPolicyArn~updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the properties of the specified firewall policy."]moduleUpdateFirewallPolicyChangeProtectionResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];firewallPolicyChangeProtection:Boolean.toption[@ocaml.doc"A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceOwnerCheckExceptionofResourceOwnerCheckException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?firewallArn->fun?firewallName->fun?firewallPolicyChangeProtection->fun()->{updateToken;firewallArn;firewallName;firewallPolicyChangeProtection}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceOwnerCheckExceptione->`Assoc[("error",(`String"ResourceOwnerCheckException"));("details",(ResourceOwnerCheckException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallPolicyChangeProtection",(Option.mapx.firewallPolicyChangeProtection~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicyChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"FirewallPolicyChangeProtection")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?firewallPolicyChangeProtection?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicyChangeProtection=field_mapjson__"FirewallPolicyChangeProtection"Boolean.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?firewallPolicyChangeProtection?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Modifies the flag, ChangeProtection, which indicates whether it is possible to change the firewall. If the flag is set to TRUE, the firewall is protected from changes. This setting helps protect against accidentally changing a firewall that's in use."]moduleUpdateFirewallPolicyChangeProtectionRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];firewallPolicyChangeProtection:Boolean.t[@ocaml.doc"A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."]}letcontext_="UpdateFirewallPolicyChangeProtectionRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~firewallPolicyChangeProtection->fun()->{updateToken;firewallArn;firewallName;firewallPolicyChangeProtection}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallPolicyChangeProtection",(Some(Boolean.to_valuex.firewallPolicyChangeProtection)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicyChangeProtection=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallPolicyChangeProtection")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~firewallPolicyChangeProtection?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicyChangeProtection=field_map_exnjson__"FirewallPolicyChangeProtection"Boolean.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~firewallPolicyChangeProtection?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Modifies the flag, ChangeProtection, which indicates whether it is possible to change the firewall. If the flag is set to TRUE, the firewall is protected from changes. This setting helps protect against accidentally changing a firewall that's in use."]moduleUpdateFirewallEncryptionConfigurationResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];encryptionConfiguration:EncryptionConfiguration.toption}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceOwnerCheckExceptionofResourceOwnerCheckException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?updateToken->fun?encryptionConfiguration->fun()->{firewallArn;firewallName;updateToken;encryptionConfiguration}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceOwnerCheckExceptione->`Assoc[("error",(`String"ResourceOwnerCheckException"));("details",(ResourceOwnerCheckException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?encryptionConfiguration?updateToken?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?encryptionConfiguration?updateToken?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type that contains settings for encryption of your firewall resources."]moduleUpdateFirewallEncryptionConfigurationRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];encryptionConfiguration:EncryptionConfiguration.toption}letmake?updateToken=fun?firewallArn->fun?firewallName->fun?encryptionConfiguration->fun()->{updateToken;firewallArn;firewallName;encryptionConfiguration}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?encryptionConfiguration?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?encryptionConfiguration?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type that contains settings for encryption of your firewall resources."]moduleUpdateFirewallDescriptionResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];description:Description.toption[@ocaml.doc"A description of the firewall."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?description->fun?updateToken->fun()->{firewallArn;firewallName;description;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("Description",(Option.mapx.description~f:Description.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?updateToken?description?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?updateToken?description?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Modifies the description for the specified firewall. Use the description to help you identify the firewall when you're working with it."]moduleUpdateFirewallDescriptionRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];description:Description.toption[@ocaml.doc"The new description for the firewall. If you omit this setting, Network Firewall removes the description for the firewall."]}letmake?updateToken=fun?firewallArn->fun?firewallName->fun?description->fun()->{updateToken;firewallArn;firewallName;description}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("Description",(Option.mapx.description~f:Description.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?description?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"Description"Description.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?description?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Modifies the description for the specified firewall. Use the description to help you identify the firewall when you're working with it."]moduleUpdateFirewallDeleteProtectionResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];deleteProtection:Boolean.toption[@ocaml.doc"A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceOwnerCheckExceptionofResourceOwnerCheckException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?deleteProtection->fun?updateToken->fun()->{firewallArn;firewallName;deleteProtection;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceOwnerCheckExceptione->`Assoc[("error",(`String"ResourceOwnerCheckException"));("details",(ResourceOwnerCheckException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("DeleteProtection",(Option.mapx.deleteProtection~f:Boolean.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletdeleteProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DeleteProtection")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?updateToken?deleteProtection?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletdeleteProtection=field_mapjson__"DeleteProtection"Boolean.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?updateToken?deleteProtection?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Modifies the flag, DeleteProtection, which indicates whether it is possible to delete the firewall. If the flag is set to TRUE, the firewall is protected against deletion. This setting helps protect against accidentally deleting a firewall that's in use."]moduleUpdateFirewallDeleteProtectionRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];deleteProtection:Boolean.t[@ocaml.doc"A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE."]}letcontext_="UpdateFirewallDeleteProtectionRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~deleteProtection->fun()->{updateToken;firewallArn;firewallName;deleteProtection}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("DeleteProtection",(Some(Boolean.to_valuex.deleteProtection)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdeleteProtection=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"DeleteProtection")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~deleteProtection?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdeleteProtection=field_map_exnjson__"DeleteProtection"Boolean.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~deleteProtection?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Modifies the flag, DeleteProtection, which indicates whether it is possible to delete the firewall. If the flag is set to TRUE, the firewall is protected against deletion. This setting helps protect against accidentally deleting a firewall that's in use."]moduleUpdateFirewallAnalysisSettingsResponse=structtypenonrect={enabledAnalysisTypes:EnabledAnalysisTypes.toption[@ocaml.doc"An optional setting indicating the specific traffic analysis types to enable on the firewall."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?enabledAnalysisTypes=fun?firewallArn->fun?firewallName->fun?updateToken->fun()->{enabledAnalysisTypes;firewallArn;firewallName;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("EnabledAnalysisTypes",(Option.mapx.enabledAnalysisTypes~f:EnabledAnalysisTypes.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletenabledAnalysisTypes=(Option.map~f:EnabledAnalysisTypes.of_xml)(Xml.childxml_arg0"EnabledAnalysisTypes")inmake?updateToken?firewallName?firewallArn?enabledAnalysisTypes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletenabledAnalysisTypes=field_mapjson__"EnabledAnalysisTypes"EnabledAnalysisTypes.of_jsoninmake?updateToken?firewallName?firewallArn?enabledAnalysisTypes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Enables specific types of firewall analysis on a specific firewall you define."]moduleUpdateFirewallAnalysisSettingsRequest=structtypenonrect={enabledAnalysisTypes:EnabledAnalysisTypes.toption[@ocaml.doc"An optional setting indicating the specific traffic analysis types to enable on the firewall."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}letmake?enabledAnalysisTypes=fun?firewallArn->fun?firewallName->fun?updateToken->fun()->{enabledAnalysisTypes;firewallArn;firewallName;updateToken}letto_valuex=structure_to_value[("EnabledAnalysisTypes",(Option.mapx.enabledAnalysisTypes~f:EnabledAnalysisTypes.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletenabledAnalysisTypes=(Option.map~f:EnabledAnalysisTypes.of_xml)(Xml.childxml_arg0"EnabledAnalysisTypes")inmake?updateToken?firewallName?firewallArn?enabledAnalysisTypes()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletenabledAnalysisTypes=field_mapjson__"EnabledAnalysisTypes"EnabledAnalysisTypes.of_jsoninmake?updateToken?firewallName?firewallArn?enabledAnalysisTypes()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Enables specific types of firewall analysis on a specific firewall you define."]moduleUpdateAvailabilityZoneChangeProtectionResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];availabilityZoneChangeProtection:Boolean.toption[@ocaml.doc"A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceOwnerCheckExceptionofResourceOwnerCheckException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?firewallArn->fun?firewallName->fun?availabilityZoneChangeProtection->fun()->{updateToken;firewallArn;firewallName;availabilityZoneChangeProtection}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceOwnerCheckException"->`ResourceOwnerCheckException(ResourceOwnerCheckException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceOwnerCheckExceptione->`Assoc[("error",(`String"ResourceOwnerCheckException"));("details",(ResourceOwnerCheckException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("AvailabilityZoneChangeProtection",(Option.mapx.availabilityZoneChangeProtection~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZoneChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AvailabilityZoneChangeProtection")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?availabilityZoneChangeProtection?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZoneChangeProtection=field_mapjson__"AvailabilityZoneChangeProtection"Boolean.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?availabilityZoneChangeProtection?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Modifies the AvailabilityZoneChangeProtection setting for a transit gateway-attached firewall. When enabled, this setting prevents accidental changes to the firewall's Availability Zone configuration. This helps protect against disrupting traffic flow in production environments. When enabled, you must disable this protection before using AssociateAvailabilityZones or DisassociateAvailabilityZones to modify the firewall's Availability Zone configuration."]moduleUpdateAvailabilityZoneChangeProtectionRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];availabilityZoneChangeProtection:Boolean.t[@ocaml.doc"A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."]}letcontext_="UpdateAvailabilityZoneChangeProtectionRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~availabilityZoneChangeProtection->fun()->{updateToken;firewallArn;firewallName;availabilityZoneChangeProtection}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("AvailabilityZoneChangeProtection",(Some(Boolean.to_valuex.availabilityZoneChangeProtection)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZoneChangeProtection=Boolean.of_xml(Xml.child_exn~context:context_xml_arg0"AvailabilityZoneChangeProtection")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~availabilityZoneChangeProtection?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZoneChangeProtection=field_map_exnjson__"AvailabilityZoneChangeProtection"Boolean.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~availabilityZoneChangeProtection?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Modifies the AvailabilityZoneChangeProtection setting for a transit gateway-attached firewall. When enabled, this setting prevents accidental changes to the firewall's Availability Zone configuration. This helps protect against disrupting traffic flow in production environments. When enabled, you must disable this protection before using AssociateAvailabilityZones or DisassociateAvailabilityZones to modify the firewall's Availability Zone configuration."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the tags with the specified keys from the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource. You can manage tags for the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall policies, and rule groups."]moduleUntagResourceRequest=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource."];tagKeys:TagKeyList.t}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("ResourceArn",(Some(ResourceArn.to_valuex.resourceArn)));("TagKeys",(Some(TagKeyList.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeyList.of_xml(Xml.child_exn~context:context_xml_arg0"TagKeys")inletresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tagKeys~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettagKeys=field_map_exnjson__"TagKeys"TagKeyList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"ResourceArn.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the tags with the specified keys from the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource. You can manage tags for the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall policies, and rule groups."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds the specified tags to the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource. You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall policies, and rule groups."]moduleTagResourceRequest=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource."];tags:TagList.t}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("ResourceArn",(Some(ResourceArn.to_valuex.resourceArn)));("Tags",(Some(TagList.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagList.of_xml(Xml.child_exn~context:context_xml_arg0"Tags")inletresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~tags~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_map_exnjson__"Tags"TagList.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"ResourceArn.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds the specified tags to the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource. You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall policies, and rule groups."]moduleStartFlowFlushResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];flowOperationId:FlowOperationId.toption[@ocaml.doc"A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands."];flowOperationStatus:FlowOperationStatus.toption[@ocaml.doc"Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands. If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?flowOperationId->fun?flowOperationStatus->fun()->{firewallArn;flowOperationId;flowOperationStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FlowOperationId",(Option.mapx.flowOperationId~f:FlowOperationId.to_value));("FlowOperationStatus",(Option.mapx.flowOperationStatus~f:FlowOperationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowOperationStatus=(Option.map~f:FlowOperationStatus.of_xml)(Xml.childxml_arg0"FlowOperationStatus")inletflowOperationId=(Option.map~f:FlowOperationId.of_xml)(Xml.childxml_arg0"FlowOperationId")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?flowOperationStatus?flowOperationId?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowOperationStatus=field_mapjson__"FlowOperationStatus"FlowOperationStatus.of_jsoninletflowOperationId=field_mapjson__"FlowOperationId"FlowOperationId.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?flowOperationStatus?flowOperationId?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Begins the flushing of traffic from the firewall, according to the filters you define. When the operation starts, impacted flows are temporarily marked as timed out before the Suricata engine prunes, or flushes, the flows from the firewall table. While the flush completes, impacted flows are processed as midstream traffic. This may result in a temporary increase in midstream traffic metrics. We recommend that you double check your stream exception policy before you perform a flush operation."]moduleStartFlowFlushRequest=structtypenonrect={firewallArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];availabilityZone:AvailabilityZone.toption[@ocaml.doc"The ID of the Availability Zone where the firewall is located. For example, us-east-2a. Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."];vpcEndpointAssociationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."];vpcEndpointId:VpcEndpointId.toption[@ocaml.doc"A unique identifier for the primary endpoint associated with a firewall."];minimumFlowAgeInSeconds:Age.toption[@ocaml.doc"The reqested FlowOperation ignores flows with an age (in seconds) lower than MinimumFlowAgeInSeconds. You provide this for start commands."];flowFilters:FlowFilters.t[@ocaml.doc"Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."]}letcontext_="StartFlowFlushRequest"letmake?availabilityZone=fun?vpcEndpointAssociationArn->fun?vpcEndpointId->fun?minimumFlowAgeInSeconds->fun~firewallArn->fun~flowFilters->fun()->{availabilityZone;vpcEndpointAssociationArn;vpcEndpointId;minimumFlowAgeInSeconds;firewallArn;flowFilters}letto_valuex=structure_to_value[("FirewallArn",(Some(ResourceArn.to_valuex.firewallArn)));("AvailabilityZone",(Option.mapx.availabilityZone~f:AvailabilityZone.to_value));("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value));("VpcEndpointId",(Option.mapx.vpcEndpointId~f:VpcEndpointId.to_value));("MinimumFlowAgeInSeconds",(Option.mapx.minimumFlowAgeInSeconds~f:Age.to_value));("FlowFilters",(Some(FlowFilters.to_valuex.flowFilters)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowFilters=FlowFilters.of_xml(Xml.child_exn~context:context_xml_arg0"FlowFilters")inletminimumFlowAgeInSeconds=(Option.map~f:Age.of_xml)(Xml.childxml_arg0"MinimumFlowAgeInSeconds")inletvpcEndpointId=(Option.map~f:VpcEndpointId.of_xml)(Xml.childxml_arg0"VpcEndpointId")inletvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inletavailabilityZone=(Option.map~f:AvailabilityZone.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletfirewallArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallArn")inmake~flowFilters?minimumFlowAgeInSeconds?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone~firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowFilters=field_map_exnjson__"FlowFilters"FlowFilters.of_jsoninletminimumFlowAgeInSeconds=field_mapjson__"MinimumFlowAgeInSeconds"Age.of_jsoninletvpcEndpointId=field_mapjson__"VpcEndpointId"VpcEndpointId.of_jsoninletvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"AvailabilityZone.of_jsoninletfirewallArn=field_map_exnjson__"FirewallArn"ResourceArn.of_jsoninmake~flowFilters?minimumFlowAgeInSeconds?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone~firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Begins the flushing of traffic from the firewall, according to the filters you define. When the operation starts, impacted flows are temporarily marked as timed out before the Suricata engine prunes, or flushes, the flows from the firewall table. While the flush completes, impacted flows are processed as midstream traffic. This may result in a temporary increase in midstream traffic metrics. We recommend that you double check your stream exception policy before you perform a flush operation."]moduleStartFlowCaptureResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];flowOperationId:FlowOperationId.toption[@ocaml.doc"A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands."];flowOperationStatus:FlowOperationStatus.toption[@ocaml.doc"Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands. If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?flowOperationId->fun?flowOperationStatus->fun()->{firewallArn;flowOperationId;flowOperationStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FlowOperationId",(Option.mapx.flowOperationId~f:FlowOperationId.to_value));("FlowOperationStatus",(Option.mapx.flowOperationStatus~f:FlowOperationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowOperationStatus=(Option.map~f:FlowOperationStatus.of_xml)(Xml.childxml_arg0"FlowOperationStatus")inletflowOperationId=(Option.map~f:FlowOperationId.of_xml)(Xml.childxml_arg0"FlowOperationId")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?flowOperationStatus?flowOperationId?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowOperationStatus=field_mapjson__"FlowOperationStatus"FlowOperationStatus.of_jsoninletflowOperationId=field_mapjson__"FlowOperationId"FlowOperationId.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?flowOperationStatus?flowOperationId?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Begins capturing the flows in a firewall, according to the filters you define. Captures are similar, but not identical to snapshots. Capture operations provide visibility into flows that are not closed and are tracked by a firewall's flow table. Unlike snapshots, captures are a time-boxed view. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort. To avoid encountering operation limits, you should avoid starting captures with broad filters, like wide IP ranges. Instead, we recommend you define more specific criteria with FlowFilters, like narrow IP ranges, ports, or protocols."]moduleStartFlowCaptureRequest=structtypenonrect={firewallArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];availabilityZone:AvailabilityZone.toption[@ocaml.doc"The ID of the Availability Zone where the firewall is located. For example, us-east-2a. Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."];vpcEndpointAssociationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."];vpcEndpointId:VpcEndpointId.toption[@ocaml.doc"A unique identifier for the primary endpoint associated with a firewall."];minimumFlowAgeInSeconds:Age.toption[@ocaml.doc"The reqested FlowOperation ignores flows with an age (in seconds) lower than MinimumFlowAgeInSeconds. You provide this for start commands. We recommend setting this value to at least 1 minute (60 seconds) to reduce chance of capturing flows that are not yet established."];flowFilters:FlowFilters.t[@ocaml.doc"Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."]}letcontext_="StartFlowCaptureRequest"letmake?availabilityZone=fun?vpcEndpointAssociationArn->fun?vpcEndpointId->fun?minimumFlowAgeInSeconds->fun~firewallArn->fun~flowFilters->fun()->{availabilityZone;vpcEndpointAssociationArn;vpcEndpointId;minimumFlowAgeInSeconds;firewallArn;flowFilters}letto_valuex=structure_to_value[("FirewallArn",(Some(ResourceArn.to_valuex.firewallArn)));("AvailabilityZone",(Option.mapx.availabilityZone~f:AvailabilityZone.to_value));("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value));("VpcEndpointId",(Option.mapx.vpcEndpointId~f:VpcEndpointId.to_value));("MinimumFlowAgeInSeconds",(Option.mapx.minimumFlowAgeInSeconds~f:Age.to_value));("FlowFilters",(Some(FlowFilters.to_valuex.flowFilters)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowFilters=FlowFilters.of_xml(Xml.child_exn~context:context_xml_arg0"FlowFilters")inletminimumFlowAgeInSeconds=(Option.map~f:Age.of_xml)(Xml.childxml_arg0"MinimumFlowAgeInSeconds")inletvpcEndpointId=(Option.map~f:VpcEndpointId.of_xml)(Xml.childxml_arg0"VpcEndpointId")inletvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inletavailabilityZone=(Option.map~f:AvailabilityZone.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletfirewallArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallArn")inmake~flowFilters?minimumFlowAgeInSeconds?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone~firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowFilters=field_map_exnjson__"FlowFilters"FlowFilters.of_jsoninletminimumFlowAgeInSeconds=field_mapjson__"MinimumFlowAgeInSeconds"Age.of_jsoninletvpcEndpointId=field_mapjson__"VpcEndpointId"VpcEndpointId.of_jsoninletvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"AvailabilityZone.of_jsoninletfirewallArn=field_map_exnjson__"FirewallArn"ResourceArn.of_jsoninmake~flowFilters?minimumFlowAgeInSeconds?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone~firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Begins capturing the flows in a firewall, according to the filters you define. Captures are similar, but not identical to snapshots. Capture operations provide visibility into flows that are not closed and are tracked by a firewall's flow table. Unlike snapshots, captures are a time-boxed view. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort. To avoid encountering operation limits, you should avoid starting captures with broad filters, like wide IP ranges. Instead, we recommend you define more specific criteria with FlowFilters, like narrow IP ranges, ports, or protocols."]moduleStartAnalysisReportResponse=structtypenonrect={analysisReportId:AnalysisReportId.toption[@ocaml.doc"The unique ID of the query that ran when you requested an analysis report."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?analysisReportId=fun()->{analysisReportId}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("AnalysisReportId",(Option.mapx.analysisReportId~f:AnalysisReportId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letanalysisReportId=(Option.map~f:AnalysisReportId.of_xml)(Xml.childxml_arg0"AnalysisReportId")inmake?analysisReportId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letanalysisReportId=field_mapjson__"AnalysisReportId"AnalysisReportId.of_jsoninmake?analysisReportId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Generates a traffic analysis report for the timeframe and traffic type you specify. For information on the contents of a traffic analysis report, see AnalysisReport."]moduleStartAnalysisReportRequest=structtypenonrect={firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];analysisType:EnabledAnalysisType.t[@ocaml.doc"The type of traffic that will be used to generate a report."]}letcontext_="StartAnalysisReportRequest"letmake?firewallName=fun?firewallArn->fun~analysisType->fun()->{firewallName;firewallArn;analysisType}letto_valuex=structure_to_value[("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("AnalysisType",(Some(EnabledAnalysisType.to_valuex.analysisType)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letanalysisType=EnabledAnalysisType.of_xml(Xml.child_exn~context:context_xml_arg0"AnalysisType")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inmake~analysisType?firewallArn?firewallName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letanalysisType=field_map_exnjson__"AnalysisType"EnabledAnalysisType.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninmake~analysisType?firewallArn?firewallName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Generates a traffic analysis report for the timeframe and traffic type you specify. For information on the contents of a traffic analysis report, see AnalysisReport."]moduleRejectNetworkFirewallTransitGatewayAttachmentResponse=structtypenonrect={transitGatewayAttachmentId:TransitGatewayAttachmentId.toption[@ocaml.doc"The unique identifier of the transit gateway attachment that was rejected."];transitGatewayAttachmentStatus:TransitGatewayAttachmentStatus.toption[@ocaml.doc"The current status of the transit gateway attachment. Valid values are: CREATING - The attachment is being created DELETING - The attachment is being deleted DELETED - The attachment has been deleted FAILED - The attachment creation has failed and cannot be recovered ERROR - The attachment is in an error state that might be recoverable READY - The attachment is active and processing traffic PENDING_ACCEPTANCE - The attachment is waiting to be accepted REJECTING - The attachment is in the process of being rejected REJECTED - The attachment has been rejected For information about troubleshooting endpoint failures, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?transitGatewayAttachmentId=fun?transitGatewayAttachmentStatus->fun()->{transitGatewayAttachmentId;transitGatewayAttachmentStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TransitGatewayAttachmentId",(Option.mapx.transitGatewayAttachmentId~f:TransitGatewayAttachmentId.to_value));("TransitGatewayAttachmentStatus",(Option.mapx.transitGatewayAttachmentStatus~f:TransitGatewayAttachmentStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentStatus=(Option.map~f:TransitGatewayAttachmentStatus.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentStatus")inlettransitGatewayAttachmentId=(Option.map~f:TransitGatewayAttachmentId.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentId")inmake?transitGatewayAttachmentStatus?transitGatewayAttachmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentStatus=field_mapjson__"TransitGatewayAttachmentStatus"TransitGatewayAttachmentStatus.of_jsoninlettransitGatewayAttachmentId=field_mapjson__"TransitGatewayAttachmentId"TransitGatewayAttachmentId.of_jsoninmake?transitGatewayAttachmentStatus?transitGatewayAttachmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Rejects a transit gateway attachment request for Network Firewall. When you reject the attachment request, Network Firewall cancels the creation of routing components between the transit gateway and firewall endpoints. Only the transit gateway owner can reject the attachment. After rejection, no traffic will flow through the firewall endpoints for this attachment. Use DescribeFirewall to monitor the rejection status. To accept the attachment instead of rejecting it, use AcceptNetworkFirewallTransitGatewayAttachment. Once rejected, you cannot reverse this action. To establish connectivity, you must create a new transit gateway-attached firewall."]moduleRejectNetworkFirewallTransitGatewayAttachmentRequest=structtypenonrect={transitGatewayAttachmentId:TransitGatewayAttachmentId.t[@ocaml.doc"Required. The unique identifier of the transit gateway attachment to reject. This ID is returned in the response when creating a transit gateway-attached firewall."]}letcontext_="RejectNetworkFirewallTransitGatewayAttachmentRequest"letmake~transitGatewayAttachmentId=fun()->{transitGatewayAttachmentId}letto_valuex=structure_to_value[("TransitGatewayAttachmentId",(Some(TransitGatewayAttachmentId.to_valuex.transitGatewayAttachmentId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentId=TransitGatewayAttachmentId.of_xml(Xml.child_exn~context:context_xml_arg0"TransitGatewayAttachmentId")inmake~transitGatewayAttachmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentId=field_map_exnjson__"TransitGatewayAttachmentId"TransitGatewayAttachmentId.of_jsoninmake~transitGatewayAttachmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Rejects a transit gateway attachment request for Network Firewall. When you reject the attachment request, Network Firewall cancels the creation of routing components between the transit gateway and firewall endpoints. Only the transit gateway owner can reject the attachment. After rejection, no traffic will flow through the firewall endpoints for this attachment. Use DescribeFirewall to monitor the rejection status. To accept the attachment instead of rejecting it, use AcceptNetworkFirewallTransitGatewayAttachment. Once rejected, you cannot reverse this action. To establish connectivity, you must create a new transit gateway-attached firewall."]modulePutResourcePolicyResponse=structtypenonrect=unittypenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidResourcePolicyExceptionofInvalidResourcePolicyException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidResourcePolicyException"->`InvalidResourcePolicyException(InvalidResourcePolicyException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidResourcePolicyException"->`InvalidResourcePolicyException(InvalidResourcePolicyException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidResourcePolicyExceptione->`Assoc[("error",(`String"InvalidResourcePolicyException"));("details",(InvalidResourcePolicyException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates an IAM policy for your rule group, firewall policy, or firewall. Use this to share these resources between accounts. This operation works in conjunction with the Amazon Web Services Resource Access Manager (RAM) service to manage resource sharing for Network Firewall. For information about using sharing with Network Firewall resources, see Sharing Network Firewall resources in the Network Firewall Developer Guide. Use this operation to create or update a resource policy for your Network Firewall rule group, firewall policy, or firewall. In the resource policy, you specify the accounts that you want to share the Network Firewall resource with and the operations that you want the accounts to be able to perform. When you add an account in the resource policy, you then run the following Resource Access Manager (RAM) operations to access and accept the shared resource. GetResourceShareInvitations - Returns the Amazon Resource Names (ARNs) of the resource share invitations. AcceptResourceShareInvitation - Accepts the share invitation for a specified resource share. For additional information about resource sharing using RAM, see Resource Access Manager User Guide."]modulePutResourcePolicyRequest=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the account that you want to share your Network Firewall resources with."];policy:PolicyString.t[@ocaml.doc"The IAM policy statement that lists the accounts that you want to share your Network Firewall resources with and the operations that you want the accounts to be able to perform. For a rule group resource, you can specify the following operations in the Actions section of the statement: network-firewall:CreateFirewallPolicy network-firewall:UpdateFirewallPolicy network-firewall:ListRuleGroups For a firewall policy resource, you can specify the following operations in the Actions section of the statement: network-firewall:AssociateFirewallPolicy network-firewall:ListFirewallPolicies For a firewall resource, you can specify the following operations in the Actions section of the statement: network-firewall:CreateVpcEndpointAssociation network-firewall:DescribeFirewallMetadata network-firewall:ListFirewalls In the Resource section of the statement, you specify the ARNs for the Network Firewall resources that you want to share with the account that you specified in Arn."]}letcontext_="PutResourcePolicyRequest"letmake~resourceArn=fun~policy->fun()->{resourceArn;policy}letto_valuex=structure_to_value[("ResourceArn",(Some(ResourceArn.to_valuex.resourceArn)));("Policy",(Some(PolicyString.to_valuex.policy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=PolicyString.of_xml(Xml.child_exn~context:context_xml_arg0"Policy")inletresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~policy~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_map_exnjson__"Policy"PolicyString.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"ResourceArn.of_jsoninmake~policy~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates or updates an IAM policy for your rule group, firewall policy, or firewall. Use this to share these resources between accounts. This operation works in conjunction with the Amazon Web Services Resource Access Manager (RAM) service to manage resource sharing for Network Firewall. For information about using sharing with Network Firewall resources, see Sharing Network Firewall resources in the Network Firewall Developer Guide. Use this operation to create or update a resource policy for your Network Firewall rule group, firewall policy, or firewall. In the resource policy, you specify the accounts that you want to share the Network Firewall resource with and the operations that you want the accounts to be able to perform. When you add an account in the resource policy, you then run the following Resource Access Manager (RAM) operations to access and accept the shared resource. GetResourceShareInvitations - Returns the Amazon Resource Names (ARNs) of the resource share invitations. AcceptResourceShareInvitation - Accepts the share invitation for a specified resource share. For additional information about resource sharing using RAM, see Resource Access Manager User Guide."]moduleListVpcEndpointAssociationsResponse=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];vpcEndpointAssociations:VpcEndpointAssociations.toption[@ocaml.doc"The VPC endpoint assocation metadata objects for the firewall that you specified. If you didn't specify a firewall, this is all VPC endpoint associations that you have defined. Depending on your setting for max results and the number of firewalls you have, a single call might not be the full list."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?vpcEndpointAssociations->fun()->{nextToken;vpcEndpointAssociations}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("VpcEndpointAssociations",(Option.mapx.vpcEndpointAssociations~f:VpcEndpointAssociations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcEndpointAssociations=(Option.map~f:VpcEndpointAssociations.of_xml)(Xml.childxml_arg0"VpcEndpointAssociations")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?vpcEndpointAssociations?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcEndpointAssociations=field_mapjson__"VpcEndpointAssociations"VpcEndpointAssociations.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?vpcEndpointAssociations?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the VPC endpoint associations that you have defined. If you specify a fireawll, this returns only the endpoint associations for that firewall. Depending on your setting for max results and the number of associations, a single call might not return the full list."]moduleListVpcEndpointAssociationsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. If you don't specify this, Network Firewall retrieves all VPC endpoint associations that you have defined."]}letmake?nextToken=fun?maxResults->fun?firewallArn->fun()->{nextToken;maxResults;firewallArn}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?firewallArn?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?firewallArn?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the VPC endpoint associations that you have defined. If you specify a fireawll, this returns only the endpoint associations for that firewall. Depending on your setting for max results and the number of associations, a single call might not return the full list."]moduleListTagsForResourceResponse=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];tags:TagList.toption[@ocaml.doc"The tags that are associated with the resource."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?tags->fun()->{nextToken;tags}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?tags?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?tags?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the tags associated with the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource. You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall policies, and rule groups."]moduleListTagsForResourceRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:TagsPaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."];resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the resource."]}letcontext_="ListTagsForResourceRequest"letmake?nextToken=fun?maxResults->fun~resourceArn->fun()->{nextToken;maxResults;resourceArn}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:TagsPaginationMaxResults.to_value));("ResourceArn",(Some(ResourceArn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inletmaxResults=(Option.map~f:TagsPaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake~resourceArn?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"ResourceArn.of_jsoninletmaxResults=field_mapjson__"MaxResults"TagsPaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake~resourceArn?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the tags associated with the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource. You can tag the Amazon Web Services resources that you manage through Network Firewall: firewalls, firewall policies, and rule groups."]moduleListTLSInspectionConfigurationsResponse=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];tLSInspectionConfigurations:TLSInspectionConfigurations.toption[@ocaml.doc"The TLS inspection configuration metadata objects that you've defined. Depending on your setting for max results and the number of TLS inspection configurations, this might not be the full list."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?tLSInspectionConfigurations->fun()->{nextToken;tLSInspectionConfigurations}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("TLSInspectionConfigurations",(Option.mapx.tLSInspectionConfigurations~f:TLSInspectionConfigurations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettLSInspectionConfigurations=(Option.map~f:TLSInspectionConfigurations.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurations")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?tLSInspectionConfigurations?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettLSInspectionConfigurations=field_mapjson__"TLSInspectionConfigurations"TLSInspectionConfigurations.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?tLSInspectionConfigurations?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the TLS inspection configurations that you have defined. Depending on your setting for max results and the number of TLS inspection configurations, a single call might not return the full list."]moduleListTLSInspectionConfigurationsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the TLS inspection configurations that you have defined. Depending on your setting for max results and the number of TLS inspection configurations, a single call might not return the full list."]moduleListRuleGroupsResponse=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];ruleGroups:RuleGroups.toption[@ocaml.doc"The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?ruleGroups->fun()->{nextToken;ruleGroups}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("RuleGroups",(Option.mapx.ruleGroups~f:RuleGroups.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleGroups=(Option.map~f:RuleGroups.of_xml)(Xml.childxml_arg0"RuleGroups")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?ruleGroups?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleGroups=field_mapjson__"RuleGroups"RuleGroups.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?ruleGroups?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the rule groups that you have defined. Depending on your setting for max results and the number of rule groups, a single call might not return the full list."]moduleListRuleGroupsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."];scope:ResourceManagedStatus.toption[@ocaml.doc"The scope of the request. The default setting of ACCOUNT or a setting of NULL returns all of the rule groups in your account. A setting of MANAGED returns all available managed rule groups."];managedType:ResourceManagedType.toption[@ocaml.doc"Indicates the general category of the Amazon Web Services managed rule group."];subscriptionStatus:SubscriptionStatus.toption[@ocaml.doc"Filters the results to show only rule groups with the specified subscription status. Use this to find subscribed or unsubscribed rule groups."];type_:RuleGroupType.toption[@ocaml.doc"Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules."]}letmake?nextToken=fun?maxResults->fun?scope->fun?managedType->fun?subscriptionStatus->fun?type_->fun()->{nextToken;maxResults;scope;managedType;subscriptionStatus;type_}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value));("Scope",(Option.mapx.scope~f:ResourceManagedStatus.to_value));("ManagedType",(Option.mapx.managedType~f:ResourceManagedType.to_value));("SubscriptionStatus",(Option.mapx.subscriptionStatus~f:SubscriptionStatus.to_value));("Type",(Option.mapx.type_~f:RuleGroupType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:RuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletsubscriptionStatus=(Option.map~f:SubscriptionStatus.of_xml)(Xml.childxml_arg0"SubscriptionStatus")inletmanagedType=(Option.map~f:ResourceManagedType.of_xml)(Xml.childxml_arg0"ManagedType")inletscope=(Option.map~f:ResourceManagedStatus.of_xml)(Xml.childxml_arg0"Scope")inletmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?type_?subscriptionStatus?managedType?scope?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"RuleGroupType.of_jsoninletsubscriptionStatus=field_mapjson__"SubscriptionStatus"SubscriptionStatus.of_jsoninletmanagedType=field_mapjson__"ManagedType"ResourceManagedType.of_jsoninletscope=field_mapjson__"Scope"ResourceManagedStatus.of_jsoninletmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?type_?subscriptionStatus?managedType?scope?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the rule groups that you have defined. Depending on your setting for max results and the number of rule groups, a single call might not return the full list."]moduleListProxyRuleGroupsResponse=structtypenonrect={proxyRuleGroups:ProxyRuleGroups.toption[@ocaml.doc"The metadata for the proxy rule groups. Depending on your setting for max results and the number of proxy rule groups that you have, this might not be the full list."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRuleGroups=fun?nextToken->fun()->{proxyRuleGroups;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRuleGroups",(Option.mapx.proxyRuleGroups~f:ProxyRuleGroups.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletproxyRuleGroups=(Option.map~f:ProxyRuleGroups.of_xml)(Xml.childxml_arg0"ProxyRuleGroups")inmake?nextToken?proxyRuleGroups()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletproxyRuleGroups=field_mapjson__"ProxyRuleGroups"ProxyRuleGroups.of_jsoninmake?nextToken?proxyRuleGroups()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the proxy rule groups that you have defined. Depending on your setting for max results and the number of proxy rule groups, a single call might not return the full list."]moduleListProxyRuleGroupsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the proxy rule groups that you have defined. Depending on your setting for max results and the number of proxy rule groups, a single call might not return the full list."]moduleListProxyConfigurationsResponse=structtypenonrect={proxyConfigurations:ProxyConfigurations.toption[@ocaml.doc"The metadata for the proxy configurations. Depending on your setting for max results and the number of proxy configurations that you have, this might not be the full list."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyConfigurations=fun?nextToken->fun()->{proxyConfigurations;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyConfigurations",(Option.mapx.proxyConfigurations~f:ProxyConfigurations.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletproxyConfigurations=(Option.map~f:ProxyConfigurations.of_xml)(Xml.childxml_arg0"ProxyConfigurations")inmake?nextToken?proxyConfigurations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletproxyConfigurations=field_mapjson__"ProxyConfigurations"ProxyConfigurations.of_jsoninmake?nextToken?proxyConfigurations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the proxy configuration that you have defined. Depending on your setting for max results and the number of proxy configurations, a single call might not return the full list."]moduleListProxyConfigurationsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the proxy configuration that you have defined. Depending on your setting for max results and the number of proxy configurations, a single call might not return the full list."]moduleListProxiesResponse=structtypenonrect={proxies:Proxies.toption[@ocaml.doc"The metadata for the proxies. Depending on your setting for max results and the number of proxies that you have, this might not be the full list."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxies=fun?nextToken->fun()->{proxies;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Proxies",(Option.mapx.proxies~f:Proxies.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletproxies=(Option.map~f:Proxies.of_xml)(Xml.childxml_arg0"Proxies")inmake?nextToken?proxies()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletproxies=field_mapjson__"Proxies"Proxies.of_jsoninmake?nextToken?proxies()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the proxies that you have defined. Depending on your setting for max results and the number of proxies, a single call might not return the full list."]moduleListProxiesRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the proxies that you have defined. Depending on your setting for max results and the number of proxies, a single call might not return the full list."]moduleListFlowOperationsResponse=structtypenonrect={flowOperations:FlowOperations.toption[@ocaml.doc"Flow operations let you manage the flows tracked in the flow table, also known as the firewall table. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?flowOperations=fun?nextToken->fun()->{flowOperations;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FlowOperations",(Option.mapx.flowOperations~f:FlowOperations.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletflowOperations=(Option.map~f:FlowOperations.of_xml)(Xml.childxml_arg0"FlowOperations")inmake?nextToken?flowOperations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletflowOperations=field_mapjson__"FlowOperations"FlowOperations.of_jsoninmake?nextToken?flowOperations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all flow operations ran in a specific firewall. You can optionally narrow the request scope by specifying the operation type or Availability Zone associated with a firewall's flow operations. Flow operations let you manage the flows tracked in the flow table, also known as the firewall table. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort."]moduleListFlowOperationsRequest=structtypenonrect={firewallArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];availabilityZone:AvailabilityZone.toption[@ocaml.doc"The ID of the Availability Zone where the firewall is located. For example, us-east-2a. Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."];vpcEndpointAssociationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."];vpcEndpointId:VpcEndpointId.toption[@ocaml.doc"A unique identifier for the primary endpoint associated with a firewall."];flowOperationType:FlowOperationType.toption[@ocaml.doc"An optional string that defines whether any or all operation types are returned."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letcontext_="ListFlowOperationsRequest"letmake?availabilityZone=fun?vpcEndpointAssociationArn->fun?vpcEndpointId->fun?flowOperationType->fun?nextToken->fun?maxResults->fun~firewallArn->fun()->{availabilityZone;vpcEndpointAssociationArn;vpcEndpointId;flowOperationType;nextToken;maxResults;firewallArn}letto_valuex=structure_to_value[("FirewallArn",(Some(ResourceArn.to_valuex.firewallArn)));("AvailabilityZone",(Option.mapx.availabilityZone~f:AvailabilityZone.to_value));("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value));("VpcEndpointId",(Option.mapx.vpcEndpointId~f:VpcEndpointId.to_value));("FlowOperationType",(Option.mapx.flowOperationType~f:FlowOperationType.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletflowOperationType=(Option.map~f:FlowOperationType.of_xml)(Xml.childxml_arg0"FlowOperationType")inletvpcEndpointId=(Option.map~f:VpcEndpointId.of_xml)(Xml.childxml_arg0"VpcEndpointId")inletvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inletavailabilityZone=(Option.map~f:AvailabilityZone.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletfirewallArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallArn")inmake?maxResults?nextToken?flowOperationType?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone~firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletflowOperationType=field_mapjson__"FlowOperationType"FlowOperationType.of_jsoninletvpcEndpointId=field_mapjson__"VpcEndpointId"VpcEndpointId.of_jsoninletvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"AvailabilityZone.of_jsoninletfirewallArn=field_map_exnjson__"FirewallArn"ResourceArn.of_jsoninmake?maxResults?nextToken?flowOperationType?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone~firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all flow operations ran in a specific firewall. You can optionally narrow the request scope by specifying the operation type or Availability Zone associated with a firewall's flow operations. Flow operations let you manage the flows tracked in the flow table, also known as the firewall table. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort."]moduleListFlowOperationResultsResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];availabilityZone:AvailabilityZone.toption[@ocaml.doc"The ID of the Availability Zone where the firewall is located. For example, us-east-2a. Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."];vpcEndpointAssociationArn:ResourceArn.toption;vpcEndpointId:VpcEndpointId.toption;flowOperationId:FlowOperationId.toption[@ocaml.doc"A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands."];flowOperationStatus:FlowOperationStatus.toption[@ocaml.doc"Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands. If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty."];statusMessage:StatusReason.toption[@ocaml.doc"If the asynchronous operation fails, Network Firewall populates this with the reason for the error or failure. Options include Flow operation error and Flow timeout."];flowRequestTimestamp:FlowRequestTimestamp.toption[@ocaml.doc"A timestamp indicating when the Suricata engine identified flows impacted by an operation."];flows:Flows.toption[@ocaml.doc"Any number of arrays, where each array is a single flow identified in the scope of the operation. If multiple flows were in the scope of the operation, multiple Flows arrays are returned."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?availabilityZone->fun?vpcEndpointAssociationArn->fun?vpcEndpointId->fun?flowOperationId->fun?flowOperationStatus->fun?statusMessage->fun?flowRequestTimestamp->fun?flows->fun?nextToken->fun()->{firewallArn;availabilityZone;vpcEndpointAssociationArn;vpcEndpointId;flowOperationId;flowOperationStatus;statusMessage;flowRequestTimestamp;flows;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:AvailabilityZone.to_value));("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value));("VpcEndpointId",(Option.mapx.vpcEndpointId~f:VpcEndpointId.to_value));("FlowOperationId",(Option.mapx.flowOperationId~f:FlowOperationId.to_value));("FlowOperationStatus",(Option.mapx.flowOperationStatus~f:FlowOperationStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusReason.to_value));("FlowRequestTimestamp",(Option.mapx.flowRequestTimestamp~f:FlowRequestTimestamp.to_value));("Flows",(Option.mapx.flows~f:Flows.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletflows=(Option.map~f:Flows.of_xml)(Xml.childxml_arg0"Flows")inletflowRequestTimestamp=(Option.map~f:FlowRequestTimestamp.of_xml)(Xml.childxml_arg0"FlowRequestTimestamp")inletstatusMessage=(Option.map~f:StatusReason.of_xml)(Xml.childxml_arg0"StatusMessage")inletflowOperationStatus=(Option.map~f:FlowOperationStatus.of_xml)(Xml.childxml_arg0"FlowOperationStatus")inletflowOperationId=(Option.map~f:FlowOperationId.of_xml)(Xml.childxml_arg0"FlowOperationId")inletvpcEndpointId=(Option.map~f:VpcEndpointId.of_xml)(Xml.childxml_arg0"VpcEndpointId")inletvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inletavailabilityZone=(Option.map~f:AvailabilityZone.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?nextToken?flows?flowRequestTimestamp?statusMessage?flowOperationStatus?flowOperationId?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletflows=field_mapjson__"Flows"Flows.of_jsoninletflowRequestTimestamp=field_mapjson__"FlowRequestTimestamp"FlowRequestTimestamp.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusReason.of_jsoninletflowOperationStatus=field_mapjson__"FlowOperationStatus"FlowOperationStatus.of_jsoninletflowOperationId=field_mapjson__"FlowOperationId"FlowOperationId.of_jsoninletvpcEndpointId=field_mapjson__"VpcEndpointId"VpcEndpointId.of_jsoninletvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"AvailabilityZone.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?nextToken?flows?flowRequestTimestamp?statusMessage?flowOperationStatus?flowOperationId?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the results of a specific flow operation. Flow operations let you manage the flows tracked in the flow table, also known as the firewall table. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort."]moduleListFlowOperationResultsRequest=structtypenonrect={firewallArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];flowOperationId:FlowOperationId.t[@ocaml.doc"A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."];availabilityZone:AvailabilityZone.toption[@ocaml.doc"The ID of the Availability Zone where the firewall is located. For example, us-east-2a. Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."];vpcEndpointId:VpcEndpointId.toption[@ocaml.doc"A unique identifier for the primary endpoint associated with a firewall."];vpcEndpointAssociationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."]}letcontext_="ListFlowOperationResultsRequest"letmake?nextToken=fun?maxResults->fun?availabilityZone->fun?vpcEndpointId->fun?vpcEndpointAssociationArn->fun~firewallArn->fun~flowOperationId->fun()->{nextToken;maxResults;availabilityZone;vpcEndpointId;vpcEndpointAssociationArn;firewallArn;flowOperationId}letto_valuex=structure_to_value[("FirewallArn",(Some(ResourceArn.to_valuex.firewallArn)));("FlowOperationId",(Some(FlowOperationId.to_valuex.flowOperationId)));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:AvailabilityZone.to_value));("VpcEndpointId",(Option.mapx.vpcEndpointId~f:VpcEndpointId.to_value));("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inletvpcEndpointId=(Option.map~f:VpcEndpointId.of_xml)(Xml.childxml_arg0"VpcEndpointId")inletavailabilityZone=(Option.map~f:AvailabilityZone.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletflowOperationId=FlowOperationId.of_xml(Xml.child_exn~context:context_xml_arg0"FlowOperationId")inletfirewallArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallArn")inmake?vpcEndpointAssociationArn?vpcEndpointId?availabilityZone?maxResults?nextToken~flowOperationId~firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninletvpcEndpointId=field_mapjson__"VpcEndpointId"VpcEndpointId.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"AvailabilityZone.of_jsoninletmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletflowOperationId=field_map_exnjson__"FlowOperationId"FlowOperationId.of_jsoninletfirewallArn=field_map_exnjson__"FirewallArn"ResourceArn.of_jsoninmake?vpcEndpointAssociationArn?vpcEndpointId?availabilityZone?maxResults?nextToken~flowOperationId~firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the results of a specific flow operation. Flow operations let you manage the flows tracked in the flow table, also known as the firewall table. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort."]moduleListFirewallsResponse=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];firewalls:Firewalls.toption[@ocaml.doc"The firewall metadata objects for the VPCs that you specified. Depending on your setting for max results and the number of firewalls you have, a single call might not be the full list."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?firewalls->fun()->{nextToken;firewalls}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("Firewalls",(Option.mapx.firewalls~f:Firewalls.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewalls=(Option.map~f:Firewalls.of_xml)(Xml.childxml_arg0"Firewalls")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?firewalls?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewalls=field_mapjson__"Firewalls"Firewalls.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?firewalls?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the firewalls that you have defined. If you provide VPC identifiers in your request, this returns only the firewalls for those VPCs. Depending on your setting for max results and the number of firewalls, a single call might not return the full list."]moduleListFirewallsRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];vpcIds:VpcIds.toption[@ocaml.doc"The unique identifiers of the VPCs that you want Network Firewall to retrieve the firewalls for. Leave this blank to retrieve all firewalls that you have defined."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letmake?nextToken=fun?vpcIds->fun?maxResults->fun()->{nextToken;vpcIds;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("VpcIds",(Option.mapx.vpcIds~f:VpcIds.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletvpcIds=(Option.map~f:VpcIds.of_xml)(Xml.childxml_arg0"VpcIds")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?vpcIds?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletvpcIds=field_mapjson__"VpcIds"VpcIds.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?maxResults?vpcIds?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the firewalls that you have defined. If you provide VPC identifiers in your request, this returns only the firewalls for those VPCs. Depending on your setting for max results and the number of firewalls, a single call might not return the full list."]moduleListFirewallPoliciesResponse=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];firewallPolicies:FirewallPolicies.toption[@ocaml.doc"The metadata for the firewall policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?firewallPolicies->fun()->{nextToken;firewallPolicies}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("FirewallPolicies",(Option.mapx.firewallPolicies~f:FirewallPolicies.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicies=(Option.map~f:FirewallPolicies.of_xml)(Xml.childxml_arg0"FirewallPolicies")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?firewallPolicies?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicies=field_mapjson__"FirewallPolicies"FirewallPolicies.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?firewallPolicies?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the firewall policies that you have defined. Depending on your setting for max results and the number of firewall policies, a single call might not return the full list."]moduleListFirewallPoliciesRequest=structtypenonrect={nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the metadata for the firewall policies that you have defined. Depending on your setting for max results and the number of firewall policies, a single call might not return the full list."]moduleListAnalysisReportsResponse=structtypenonrect={analysisReports:AnalysisReports.toption[@ocaml.doc"The id and ReportTime associated with a requested analysis report. Does not provide the status of the analysis report."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?analysisReports=fun?nextToken->fun()->{analysisReports;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("AnalysisReports",(Option.mapx.analysisReports~f:AnalysisReports.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletanalysisReports=(Option.map~f:AnalysisReports.of_xml)(Xml.childxml_arg0"AnalysisReports")inmake?nextToken?analysisReports()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletanalysisReports=field_mapjson__"AnalysisReports"AnalysisReports.of_jsoninmake?nextToken?analysisReports()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all traffic analysis reports generated within the last 30 days."]moduleListAnalysisReportsRequest=structtypenonrect={firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];nextToken:PaginationToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letmake?firewallName=fun?firewallArn->fun?nextToken->fun?maxResults->fun()->{firewallName;firewallArn;nextToken;maxResults}letto_valuex=structure_to_value[("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("NextToken",(Option.mapx.nextToken~f:PaginationToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:PaginationToken.of_xml)(Xml.childxml_arg0"NextToken")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inmake?maxResults?nextToken?firewallArn?firewallName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"PaginationToken.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninmake?maxResults?nextToken?firewallArn?firewallName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all traffic analysis reports generated within the last 30 days."]moduleGetAnalysisReportResultsResponse=structtypenonrect={status:Status.toption[@ocaml.doc"The status of the analysis report you specify. Statuses include RUNNING, COMPLETED, or FAILED."];startTime:StartTime.toption[@ocaml.doc"The date and time within the last 30 days from which to start retrieving analysis data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ."];endTime:EndTime.toption[@ocaml.doc"The date and time, up to the current date, from which to stop retrieving analysis data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ)."];reportTime:ReportTime.toption[@ocaml.doc"The date and time the analysis report was ran."];analysisType:EnabledAnalysisType.toption[@ocaml.doc"The type of traffic that will be used to generate a report."];nextToken:AnalysisReportNextToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];analysisReportResults:AnalysisReportResults.toption[@ocaml.doc"Retrieves the results of a traffic analysis report."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?status=fun?startTime->fun?endTime->fun?reportTime->fun?analysisType->fun?nextToken->fun?analysisReportResults->fun()->{status;startTime;endTime;reportTime;analysisType;nextToken;analysisReportResults}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Status",(Option.mapx.status~f:Status.to_value));("StartTime",(Option.mapx.startTime~f:StartTime.to_value));("EndTime",(Option.mapx.endTime~f:EndTime.to_value));("ReportTime",(Option.mapx.reportTime~f:ReportTime.to_value));("AnalysisType",(Option.mapx.analysisType~f:EnabledAnalysisType.to_value));("NextToken",(Option.mapx.nextToken~f:AnalysisReportNextToken.to_value));("AnalysisReportResults",(Option.mapx.analysisReportResults~f:AnalysisReportResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letanalysisReportResults=(Option.map~f:AnalysisReportResults.of_xml)(Xml.childxml_arg0"AnalysisReportResults")inletnextToken=(Option.map~f:AnalysisReportNextToken.of_xml)(Xml.childxml_arg0"NextToken")inletanalysisType=(Option.map~f:EnabledAnalysisType.of_xml)(Xml.childxml_arg0"AnalysisType")inletreportTime=(Option.map~f:ReportTime.of_xml)(Xml.childxml_arg0"ReportTime")inletendTime=(Option.map~f:EndTime.of_xml)(Xml.childxml_arg0"EndTime")inletstartTime=(Option.map~f:StartTime.of_xml)(Xml.childxml_arg0"StartTime")inletstatus=(Option.map~f:Status.of_xml)(Xml.childxml_arg0"Status")inmake?analysisReportResults?nextToken?analysisType?reportTime?endTime?startTime?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letanalysisReportResults=field_mapjson__"AnalysisReportResults"AnalysisReportResults.of_jsoninletnextToken=field_mapjson__"NextToken"AnalysisReportNextToken.of_jsoninletanalysisType=field_mapjson__"AnalysisType"EnabledAnalysisType.of_jsoninletreportTime=field_mapjson__"ReportTime"ReportTime.of_jsoninletendTime=field_mapjson__"EndTime"EndTime.of_jsoninletstartTime=field_mapjson__"StartTime"StartTime.of_jsoninletstatus=field_mapjson__"Status"Status.of_jsoninmake?analysisReportResults?nextToken?analysisType?reportTime?endTime?startTime?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The results of a COMPLETED analysis report generated with StartAnalysisReport. For more information, see AnalysisTypeReportResult."]moduleGetAnalysisReportResultsRequest=structtypenonrect={firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];analysisReportId:AnalysisReportId.t[@ocaml.doc"The unique ID of the query that ran when you requested an analysis report."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];nextToken:AnalysisReportNextToken.toption[@ocaml.doc"When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request."];maxResults:PaginationMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects."]}letcontext_="GetAnalysisReportResultsRequest"letmake?firewallName=fun?firewallArn->fun?nextToken->fun?maxResults->fun~analysisReportId->fun()->{firewallName;firewallArn;nextToken;maxResults;analysisReportId}letto_valuex=structure_to_value[("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("AnalysisReportId",(Some(AnalysisReportId.to_valuex.analysisReportId)));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("NextToken",(Option.mapx.nextToken~f:AnalysisReportNextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:PaginationMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:PaginationMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:AnalysisReportNextToken.of_xml)(Xml.childxml_arg0"NextToken")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletanalysisReportId=AnalysisReportId.of_xml(Xml.child_exn~context:context_xml_arg0"AnalysisReportId")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inmake?maxResults?nextToken?firewallArn~analysisReportId?firewallName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"MaxResults"PaginationMaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"AnalysisReportNextToken.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletanalysisReportId=field_map_exnjson__"AnalysisReportId"AnalysisReportId.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninmake?maxResults?nextToken?firewallArn~analysisReportId?firewallName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The results of a COMPLETED analysis report generated with StartAnalysisReport. For more information, see AnalysisTypeReportResult."]moduleDisassociateSubnetsResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];subnetMappings:SubnetMappings.toption[@ocaml.doc"The IDs of the subnets that are associated with the firewall."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?subnetMappings->fun?updateToken->fun()->{firewallArn;firewallName;subnetMappings;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("SubnetMappings",(Option.mapx.subnetMappings~f:SubnetMappings.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletsubnetMappings=(Option.map~f:SubnetMappings.of_xml)(Xml.childxml_arg0"SubnetMappings")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?updateToken?subnetMappings?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletsubnetMappings=field_mapjson__"SubnetMappings"SubnetMappings.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?updateToken?subnetMappings?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the specified subnet associations from the firewall. This removes the firewall endpoints from the subnets and removes any network filtering protections that the endpoints were providing."]moduleDisassociateSubnetsRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];subnetIds:AzSubnets.t[@ocaml.doc"The unique identifiers for the subnets that you want to disassociate."]}letcontext_="DisassociateSubnetsRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~subnetIds->fun()->{updateToken;firewallArn;firewallName;subnetIds}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("SubnetIds",(Some(AzSubnets.to_valuex.subnetIds)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubnetIds=AzSubnets.of_xml(Xml.child_exn~context:context_xml_arg0"SubnetIds")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~subnetIds?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnetIds=field_map_exnjson__"SubnetIds"AzSubnets.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~subnetIds?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the specified subnet associations from the firewall. This removes the firewall endpoints from the subnets and removes any network filtering protections that the endpoints were providing."]moduleDisassociateAvailabilityZonesResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];availabilityZoneMappings:AvailabilityZoneMappings.toption[@ocaml.doc"The remaining Availability Zones where the firewall has endpoints after the disassociation."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?availabilityZoneMappings->fun?updateToken->fun()->{firewallArn;firewallName;availabilityZoneMappings;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("AvailabilityZoneMappings",(Option.mapx.availabilityZoneMappings~f:AvailabilityZoneMappings.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletavailabilityZoneMappings=(Option.map~f:AvailabilityZoneMappings.of_xml)(Xml.childxml_arg0"AvailabilityZoneMappings")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?updateToken?availabilityZoneMappings?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletavailabilityZoneMappings=field_mapjson__"AvailabilityZoneMappings"AvailabilityZoneMappings.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?updateToken?availabilityZoneMappings?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the specified Availability Zone associations from a transit gateway-attached firewall. This removes the firewall endpoints from these Availability Zones and stops traffic filtering in those zones. Before removing an Availability Zone, ensure you've updated your transit gateway route tables to redirect traffic appropriately. If AvailabilityZoneChangeProtection is enabled, you must first disable it using UpdateAvailabilityZoneChangeProtection. To verify the status of your Availability Zone changes, use DescribeFirewall."]moduleDisassociateAvailabilityZonesRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];availabilityZoneMappings:AvailabilityZoneMappings.t[@ocaml.doc"Required. The Availability Zones to remove from the firewall's configuration."]}letcontext_="DisassociateAvailabilityZonesRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~availabilityZoneMappings->fun()->{updateToken;firewallArn;firewallName;availabilityZoneMappings}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("AvailabilityZoneMappings",(Some(AvailabilityZoneMappings.to_valuex.availabilityZoneMappings)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZoneMappings=AvailabilityZoneMappings.of_xml(Xml.child_exn~context:context_xml_arg0"AvailabilityZoneMappings")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~availabilityZoneMappings?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZoneMappings=field_map_exnjson__"AvailabilityZoneMappings"AvailabilityZoneMappings.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~availabilityZoneMappings?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the specified Availability Zone associations from a transit gateway-attached firewall. This removes the firewall endpoints from these Availability Zones and stops traffic filtering in those zones. Before removing an Availability Zone, ensure you've updated your transit gateway route tables to redirect traffic appropriately. If AvailabilityZoneChangeProtection is enabled, you must first disable it using UpdateAvailabilityZoneChangeProtection. To verify the status of your Availability Zone changes, use DescribeFirewall."]moduleDetachRuleGroupsFromProxyConfigurationResponse=structtypenonrect={proxyConfiguration:ProxyConfiguration.toption[@ocaml.doc"The updated proxy configuration resource that reflects the updates from the request."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyConfiguration=fun?updateToken->fun()->{proxyConfiguration;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyConfiguration",(Option.mapx.proxyConfiguration~f:ProxyConfiguration.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyConfiguration=(Option.map~f:ProxyConfiguration.of_xml)(Xml.childxml_arg0"ProxyConfiguration")inmake?updateToken?proxyConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyConfiguration=field_mapjson__"ProxyConfiguration"ProxyConfiguration.of_jsoninmake?updateToken?proxyConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detaches ProxyRuleGroup resources from a ProxyConfiguration A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration."]moduleDetachRuleGroupsFromProxyConfigurationRequest=structtypenonrect={proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it. You must specify the ARN or the name, and you can specify both."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration. You must specify the ARN or the name, and you can specify both."];ruleGroupNames:ResourceNameList.toption[@ocaml.doc"The proxy rule group names to detach from the proxy configuration"];ruleGroupArns:ResourceArnList.toption[@ocaml.doc"The proxy rule group arns to detach from the proxy configuration"];updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}letcontext_="DetachRuleGroupsFromProxyConfigurationRequest"letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun?ruleGroupNames->fun?ruleGroupArns->fun~updateToken->fun()->{proxyConfigurationName;proxyConfigurationArn;ruleGroupNames;ruleGroupArns;updateToken}letto_valuex=structure_to_value[("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value));("RuleGroupNames",(Option.mapx.ruleGroupNames~f:ResourceNameList.to_value));("RuleGroupArns",(Option.mapx.ruleGroupArns~f:ResourceArnList.to_value));("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inletruleGroupArns=(Option.map~f:ResourceArnList.of_xml)(Xml.childxml_arg0"RuleGroupArns")inletruleGroupNames=(Option.map~f:ResourceNameList.of_xml)(Xml.childxml_arg0"RuleGroupNames")inletproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inmake~updateToken?ruleGroupArns?ruleGroupNames?proxyConfigurationArn?proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninletruleGroupArns=field_mapjson__"RuleGroupArns"ResourceArnList.of_jsoninletruleGroupNames=field_mapjson__"RuleGroupNames"ResourceNameList.of_jsoninletproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninmake~updateToken?ruleGroupArns?ruleGroupNames?proxyConfigurationArn?proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detaches ProxyRuleGroup resources from a ProxyConfiguration A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration."]moduleDescribeVpcEndpointAssociationResponse=structtypenonrect={vpcEndpointAssociation:VpcEndpointAssociation.toption[@ocaml.doc"The configuration settings for the VPC endpoint association. These settings include the firewall and the VPC and subnet to use for the firewall endpoint."];vpcEndpointAssociationStatus:VpcEndpointAssociationStatus.toption[@ocaml.doc"Detailed information about the current status of a VpcEndpointAssociation. You can retrieve this by calling DescribeVpcEndpointAssociation and providing the VPC endpoint association ARN."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpcEndpointAssociation=fun?vpcEndpointAssociationStatus->fun()->{vpcEndpointAssociation;vpcEndpointAssociationStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VpcEndpointAssociation",(Option.mapx.vpcEndpointAssociation~f:VpcEndpointAssociation.to_value));("VpcEndpointAssociationStatus",(Option.mapx.vpcEndpointAssociationStatus~f:VpcEndpointAssociationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcEndpointAssociationStatus=(Option.map~f:VpcEndpointAssociationStatus.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationStatus")inletvpcEndpointAssociation=(Option.map~f:VpcEndpointAssociation.of_xml)(Xml.childxml_arg0"VpcEndpointAssociation")inmake?vpcEndpointAssociationStatus?vpcEndpointAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcEndpointAssociationStatus=field_mapjson__"VpcEndpointAssociationStatus"VpcEndpointAssociationStatus.of_jsoninletvpcEndpointAssociation=field_mapjson__"VpcEndpointAssociation"VpcEndpointAssociation.of_jsoninmake?vpcEndpointAssociationStatus?vpcEndpointAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data object for the specified VPC endpoint association."]moduleDescribeVpcEndpointAssociationRequest=structtypenonrect={vpcEndpointAssociationArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."]}letcontext_="DescribeVpcEndpointAssociationRequest"letmake~vpcEndpointAssociationArn=fun()->{vpcEndpointAssociationArn}letto_valuex=structure_to_value[("VpcEndpointAssociationArn",(Some(ResourceArn.to_valuex.vpcEndpointAssociationArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcEndpointAssociationArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"VpcEndpointAssociationArn")inmake~vpcEndpointAssociationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcEndpointAssociationArn=field_map_exnjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninmake~vpcEndpointAssociationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data object for the specified VPC endpoint association."]moduleDescribeTLSInspectionConfigurationResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request. To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."];tLSInspectionConfiguration:TLSInspectionConfiguration.toption[@ocaml.doc"The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration. Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination. To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide."];tLSInspectionConfigurationResponse:TLSInspectionConfigurationResponse.toption[@ocaml.doc"The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?tLSInspectionConfiguration->fun?tLSInspectionConfigurationResponse->fun()->{updateToken;tLSInspectionConfiguration;tLSInspectionConfigurationResponse}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("TLSInspectionConfiguration",(Option.mapx.tLSInspectionConfiguration~f:TLSInspectionConfiguration.to_value));("TLSInspectionConfigurationResponse",(Option.mapx.tLSInspectionConfigurationResponse~f:TLSInspectionConfigurationResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettLSInspectionConfigurationResponse=(Option.map~f:TLSInspectionConfigurationResponse.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationResponse")inlettLSInspectionConfiguration=(Option.map~f:TLSInspectionConfiguration.of_xml)(Xml.childxml_arg0"TLSInspectionConfiguration")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?tLSInspectionConfigurationResponse?tLSInspectionConfiguration?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettLSInspectionConfigurationResponse=field_mapjson__"TLSInspectionConfigurationResponse"TLSInspectionConfigurationResponse.of_jsoninlettLSInspectionConfiguration=field_mapjson__"TLSInspectionConfiguration"TLSInspectionConfiguration.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?tLSInspectionConfigurationResponse?tLSInspectionConfiguration?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified TLS inspection configuration."]moduleDescribeTLSInspectionConfigurationRequest=structtypenonrect={tLSInspectionConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the TLS inspection configuration. You must specify the ARN or the name, and you can specify both."];tLSInspectionConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it. You must specify the ARN or the name, and you can specify both."]}letmake?tLSInspectionConfigurationArn=fun?tLSInspectionConfigurationName->fun()->{tLSInspectionConfigurationArn;tLSInspectionConfigurationName}letto_valuex=structure_to_value[("TLSInspectionConfigurationArn",(Option.mapx.tLSInspectionConfigurationArn~f:ResourceArn.to_value));("TLSInspectionConfigurationName",(Option.mapx.tLSInspectionConfigurationName~f:ResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettLSInspectionConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationName")inlettLSInspectionConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationArn")inmake?tLSInspectionConfigurationName?tLSInspectionConfigurationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettLSInspectionConfigurationName=field_mapjson__"TLSInspectionConfigurationName"ResourceName.of_jsoninlettLSInspectionConfigurationArn=field_mapjson__"TLSInspectionConfigurationArn"ResourceArn.of_jsoninmake?tLSInspectionConfigurationName?tLSInspectionConfigurationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified TLS inspection configuration."]moduleDescribeRuleGroupSummaryResponse=structtypenonrect={ruleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it."];description:Description.toption[@ocaml.doc"A description of the rule group."];summary:Summary.toption[@ocaml.doc"A complex type that contains rule information based on the rule group's configured summary settings. The content varies depending on the fields that you specified to extract in your SummaryConfiguration. When you haven't configured any summary settings, this returns an empty array. The response might include: Rule identifiers Rule descriptions Any metadata fields that you specified in your SummaryConfiguration"]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ruleGroupName=fun?description->fun?summary->fun()->{ruleGroupName;description;summary}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RuleGroupName",(Option.mapx.ruleGroupName~f:ResourceName.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Summary",(Option.mapx.summary~f:Summary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsummary=(Option.map~f:Summary.of_xml)(Xml.childxml_arg0"Summary")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletruleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"RuleGroupName")inmake?summary?description?ruleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsummary=field_mapjson__"Summary"Summary.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletruleGroupName=field_mapjson__"RuleGroupName"ResourceName.of_jsoninmake?summary?description?ruleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns detailed information for a stateful rule group. For active threat defense Amazon Web Services managed rule groups, this operation provides insight into the protections enabled by the rule group, based on Suricata rule metadata fields. Summaries are available for rule groups you manage and for active threat defense Amazon Web Services managed rule groups. To modify how threat information appears in summaries, use the SummaryConfiguration parameter in UpdateRuleGroup."]moduleDescribeRuleGroupSummaryRequest=structtypenonrect={ruleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."];ruleGroupArn:ResourceArn.toption[@ocaml.doc"Required. The Amazon Resource Name (ARN) of the rule group. You must specify the ARN or the name, and you can specify both."];type_:RuleGroupType.toption[@ocaml.doc"The type of rule group you want a summary for. This is a required field. Valid value: STATEFUL Note that STATELESS exists but is not currently supported. If you provide STATELESS, an exception is returned."]}letmake?ruleGroupName=fun?ruleGroupArn->fun?type_->fun()->{ruleGroupName;ruleGroupArn;type_}letto_valuex=structure_to_value[("RuleGroupName",(Option.mapx.ruleGroupName~f:ResourceName.to_value));("RuleGroupArn",(Option.mapx.ruleGroupArn~f:ResourceArn.to_value));("Type",(Option.mapx.type_~f:RuleGroupType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:RuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletruleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"RuleGroupArn")inletruleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"RuleGroupName")inmake?type_?ruleGroupArn?ruleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"RuleGroupType.of_jsoninletruleGroupArn=field_mapjson__"RuleGroupArn"ResourceArn.of_jsoninletruleGroupName=field_mapjson__"RuleGroupName"ResourceName.of_jsoninmake?type_?ruleGroupArn?ruleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns detailed information for a stateful rule group. For active threat defense Amazon Web Services managed rule groups, this operation provides insight into the protections enabled by the rule group, based on Suricata rule metadata fields. Summaries are available for rule groups you manage and for active threat defense Amazon Web Services managed rule groups. To modify how threat information appears in summaries, use the SummaryConfiguration parameter in UpdateRuleGroup."]moduleDescribeRuleGroupResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."];ruleGroup:RuleGroup.toption[@ocaml.doc"The object that defines the rules in a rule group. This, along with RuleGroupResponse, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup. Network Firewall uses a rule group to inspect and control network traffic. You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their traffic flow. To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from more than one firewall policy, and you can use a firewall policy in more than one firewall."];ruleGroupResponse:RuleGroupResponse.toption[@ocaml.doc"The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?ruleGroup->fun?ruleGroupResponse->fun()->{updateToken;ruleGroup;ruleGroupResponse}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("RuleGroup",(Option.mapx.ruleGroup~f:RuleGroup.to_value));("RuleGroupResponse",(Option.mapx.ruleGroupResponse~f:RuleGroupResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleGroupResponse=(Option.map~f:RuleGroupResponse.of_xml)(Xml.childxml_arg0"RuleGroupResponse")inletruleGroup=(Option.map~f:RuleGroup.of_xml)(Xml.childxml_arg0"RuleGroup")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?ruleGroupResponse?ruleGroup?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleGroupResponse=field_mapjson__"RuleGroupResponse"RuleGroupResponse.of_jsoninletruleGroup=field_mapjson__"RuleGroup"RuleGroup.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?ruleGroupResponse?ruleGroup?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified rule group."]moduleDescribeRuleGroupRequest=structtypenonrect={ruleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."];ruleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the rule group. You must specify the ARN or the name, and you can specify both."];type_:RuleGroupType.toption[@ocaml.doc"Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. This setting is required for requests that do not include the RuleGroupARN."];analyzeRuleGroup:Boolean.toption[@ocaml.doc"Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis."]}letmake?ruleGroupName=fun?ruleGroupArn->fun?type_->fun?analyzeRuleGroup->fun()->{ruleGroupName;ruleGroupArn;type_;analyzeRuleGroup}letto_valuex=structure_to_value[("RuleGroupName",(Option.mapx.ruleGroupName~f:ResourceName.to_value));("RuleGroupArn",(Option.mapx.ruleGroupArn~f:ResourceArn.to_value));("Type",(Option.mapx.type_~f:RuleGroupType.to_value));("AnalyzeRuleGroup",(Option.mapx.analyzeRuleGroup~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letanalyzeRuleGroup=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AnalyzeRuleGroup")inlettype_=(Option.map~f:RuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletruleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"RuleGroupArn")inletruleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"RuleGroupName")inmake?analyzeRuleGroup?type_?ruleGroupArn?ruleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letanalyzeRuleGroup=field_mapjson__"AnalyzeRuleGroup"Boolean.of_jsoninlettype_=field_mapjson__"Type"RuleGroupType.of_jsoninletruleGroupArn=field_mapjson__"RuleGroupArn"ResourceArn.of_jsoninletruleGroupName=field_mapjson__"RuleGroupName"ResourceName.of_jsoninmake?analyzeRuleGroup?type_?ruleGroupArn?ruleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified rule group."]moduleDescribeRuleGroupMetadataResponse=structtypenonrect={ruleGroupArn:ResourceArn.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."];ruleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."];description:Description.toption[@ocaml.doc"Returns the metadata objects for the specified rule group."];type_:RuleGroupType.toption[@ocaml.doc"Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. This setting is required for requests that do not include the RuleGroupARN."];capacity:RuleCapacity.toption[@ocaml.doc"The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group. You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE."];statefulRuleOptions:StatefulRuleOptions.toption;lastModifiedTime:LastUpdateTime.toption[@ocaml.doc"A timestamp indicating when the rule group was last modified."];vendorName:VendorName.toption[@ocaml.doc"The name of the Amazon Web Services Marketplace vendor that provides this rule group."];productId:ProductId.toption[@ocaml.doc"The unique identifier for the product listing associated with this rule group."];listingName:ListingName.toption[@ocaml.doc"The display name of the product listing for this rule group."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ruleGroupArn=fun?ruleGroupName->fun?description->fun?type_->fun?capacity->fun?statefulRuleOptions->fun?lastModifiedTime->fun?vendorName->fun?productId->fun?listingName->fun()->{ruleGroupArn;ruleGroupName;description;type_;capacity;statefulRuleOptions;lastModifiedTime;vendorName;productId;listingName}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RuleGroupArn",(Option.mapx.ruleGroupArn~f:ResourceArn.to_value));("RuleGroupName",(Option.mapx.ruleGroupName~f:ResourceName.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Type",(Option.mapx.type_~f:RuleGroupType.to_value));("Capacity",(Option.mapx.capacity~f:RuleCapacity.to_value));("StatefulRuleOptions",(Option.mapx.statefulRuleOptions~f:StatefulRuleOptions.to_value));("LastModifiedTime",(Option.mapx.lastModifiedTime~f:LastUpdateTime.to_value));("VendorName",(Option.mapx.vendorName~f:VendorName.to_value));("ProductId",(Option.mapx.productId~f:ProductId.to_value));("ListingName",(Option.mapx.listingName~f:ListingName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlistingName=(Option.map~f:ListingName.of_xml)(Xml.childxml_arg0"ListingName")inletproductId=(Option.map~f:ProductId.of_xml)(Xml.childxml_arg0"ProductId")inletvendorName=(Option.map~f:VendorName.of_xml)(Xml.childxml_arg0"VendorName")inletlastModifiedTime=(Option.map~f:LastUpdateTime.of_xml)(Xml.childxml_arg0"LastModifiedTime")inletstatefulRuleOptions=(Option.map~f:StatefulRuleOptions.of_xml)(Xml.childxml_arg0"StatefulRuleOptions")inletcapacity=(Option.map~f:RuleCapacity.of_xml)(Xml.childxml_arg0"Capacity")inlettype_=(Option.map~f:RuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletruleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"RuleGroupName")inletruleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"RuleGroupArn")inmake?listingName?productId?vendorName?lastModifiedTime?statefulRuleOptions?capacity?type_?description?ruleGroupName?ruleGroupArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlistingName=field_mapjson__"ListingName"ListingName.of_jsoninletproductId=field_mapjson__"ProductId"ProductId.of_jsoninletvendorName=field_mapjson__"VendorName"VendorName.of_jsoninletlastModifiedTime=field_mapjson__"LastModifiedTime"LastUpdateTime.of_jsoninletstatefulRuleOptions=field_mapjson__"StatefulRuleOptions"StatefulRuleOptions.of_jsoninletcapacity=field_mapjson__"Capacity"RuleCapacity.of_jsoninlettype_=field_mapjson__"Type"RuleGroupType.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletruleGroupName=field_mapjson__"RuleGroupName"ResourceName.of_jsoninletruleGroupArn=field_mapjson__"RuleGroupArn"ResourceArn.of_jsoninmake?listingName?productId?vendorName?lastModifiedTime?statefulRuleOptions?capacity?type_?description?ruleGroupName?ruleGroupArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a rule group, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup."]moduleDescribeRuleGroupMetadataRequest=structtypenonrect={ruleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."];ruleGroupArn:ResourceArn.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."];type_:RuleGroupType.toption[@ocaml.doc"Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. This setting is required for requests that do not include the RuleGroupARN."]}letmake?ruleGroupName=fun?ruleGroupArn->fun?type_->fun()->{ruleGroupName;ruleGroupArn;type_}letto_valuex=structure_to_value[("RuleGroupName",(Option.mapx.ruleGroupName~f:ResourceName.to_value));("RuleGroupArn",(Option.mapx.ruleGroupArn~f:ResourceArn.to_value));("Type",(Option.mapx.type_~f:RuleGroupType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:RuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletruleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"RuleGroupArn")inletruleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"RuleGroupName")inmake?type_?ruleGroupArn?ruleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"RuleGroupType.of_jsoninletruleGroupArn=field_mapjson__"RuleGroupArn"ResourceArn.of_jsoninletruleGroupName=field_mapjson__"RuleGroupName"ResourceName.of_jsoninmake?type_?ruleGroupArn?ruleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a rule group, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup."]moduleDescribeResourcePolicyResponse=structtypenonrect={policy:PolicyString.toption[@ocaml.doc"The IAM policy for the resource."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?policy=fun()->{policy}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Policy",(Option.mapx.policy~f:PolicyString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpolicy=(Option.map~f:PolicyString.of_xml)(Xml.childxml_arg0"Policy")inmake?policy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpolicy=field_mapjson__"Policy"PolicyString.of_jsoninmake?policy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a resource policy that you created in a PutResourcePolicy request."]moduleDescribeResourcePolicyRequest=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve."]}letcontext_="DescribeResourcePolicyRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(ResourceArn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"ResourceArn.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a resource policy that you created in a PutResourcePolicy request."]moduleDescribeProxyRuleResponse=structtypenonrect={proxyRule:ProxyRule.toption[@ocaml.doc"The configuration for the specified proxy rule."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRule=fun?updateToken->fun()->{proxyRule;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRule",(Option.mapx.proxyRule~f:ProxyRule.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyRule=(Option.map~f:ProxyRule.of_xml)(Xml.childxml_arg0"ProxyRule")inmake?updateToken?proxyRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyRule=field_mapjson__"ProxyRule"ProxyRule.of_jsoninmake?updateToken?proxyRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified proxy configuration for the specified proxy rule group."]moduleDescribeProxyRuleRequest=structtypenonrect={proxyRuleName:ResourceName.t[@ocaml.doc"The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it."];proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it. You must specify the ARN or the name, and you can specify both."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group. You must specify the ARN or the name, and you can specify both."]}letcontext_="DescribeProxyRuleRequest"letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun~proxyRuleName->fun()->{proxyRuleGroupName;proxyRuleGroupArn;proxyRuleName}letto_valuex=structure_to_value[("ProxyRuleName",(Some(ResourceName.to_valuex.proxyRuleName)));("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inletproxyRuleName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ProxyRuleName")inmake?proxyRuleGroupArn?proxyRuleGroupName~proxyRuleName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninletproxyRuleName=field_map_exnjson__"ProxyRuleName"ResourceName.of_jsoninmake?proxyRuleGroupArn?proxyRuleGroupName~proxyRuleName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified proxy configuration for the specified proxy rule group."]moduleDescribeProxyRuleGroupResponse=structtypenonrect={proxyRuleGroup:ProxyRuleGroup.toption[@ocaml.doc"The configuration for the specified proxy rule group."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request. To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRuleGroup=fun?updateToken->fun()->{proxyRuleGroup;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRuleGroup",(Option.mapx.proxyRuleGroup~f:ProxyRuleGroup.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyRuleGroup=(Option.map~f:ProxyRuleGroup.of_xml)(Xml.childxml_arg0"ProxyRuleGroup")inmake?updateToken?proxyRuleGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyRuleGroup=field_mapjson__"ProxyRuleGroup"ProxyRuleGroup.of_jsoninmake?updateToken?proxyRuleGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified proxy rule group."]moduleDescribeProxyRuleGroupRequest=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it. You must specify the ARN or the name, and you can specify both."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group. You must specify the ARN or the name, and you can specify both."]}letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun()->{proxyRuleGroupName;proxyRuleGroupArn}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?proxyRuleGroupArn?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?proxyRuleGroupArn?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified proxy rule group."]moduleDescribeProxyResponse=structtypenonrect={proxy:DescribeProxyResource.toption[@ocaml.doc"Proxy attached to a NAT gateway."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request. To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxy=fun?updateToken->fun()->{proxy;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Proxy",(Option.mapx.proxy~f:DescribeProxyResource.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxy=(Option.map~f:DescribeProxyResource.of_xml)(Xml.childxml_arg0"Proxy")inmake?updateToken?proxy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxy=field_mapjson__"Proxy"DescribeProxyResource.of_jsoninmake?updateToken?proxy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified proxy."]moduleDescribeProxyRequest=structtypenonrect={proxyName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy. You can't change the name of a proxy after you create it. You must specify the ARN or the name, and you can specify both."];proxyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy. You must specify the ARN or the name, and you can specify both."]}letmake?proxyName=fun?proxyArn->fun()->{proxyName;proxyArn}letto_valuex=structure_to_value[("ProxyName",(Option.mapx.proxyName~f:ResourceName.to_value));("ProxyArn",(Option.mapx.proxyArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyArn")inletproxyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyName")inmake?proxyArn?proxyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyArn=field_mapjson__"ProxyArn"ResourceArn.of_jsoninletproxyName=field_mapjson__"ProxyName"ResourceName.of_jsoninmake?proxyArn?proxyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified proxy."]moduleDescribeProxyConfigurationResponse=structtypenonrect={proxyConfiguration:ProxyConfiguration.toption[@ocaml.doc"The configuration for the specified proxy configuration."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyConfiguration=fun?updateToken->fun()->{proxyConfiguration;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyConfiguration",(Option.mapx.proxyConfiguration~f:ProxyConfiguration.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyConfiguration=(Option.map~f:ProxyConfiguration.of_xml)(Xml.childxml_arg0"ProxyConfiguration")inmake?updateToken?proxyConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyConfiguration=field_mapjson__"ProxyConfiguration"ProxyConfiguration.of_jsoninmake?updateToken?proxyConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified proxy configuration."]moduleDescribeProxyConfigurationRequest=structtypenonrect={proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it. You must specify the ARN or the name, and you can specify both."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration. You must specify the ARN or the name, and you can specify both."]}letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun()->{proxyConfigurationName;proxyConfigurationArn}letto_valuex=structure_to_value[("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inmake?proxyConfigurationArn?proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninmake?proxyConfigurationArn?proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified proxy configuration."]moduleDescribeLoggingConfigurationResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];loggingConfiguration:LoggingConfiguration.toption;enableMonitoringDashboard:EnableMonitoringDashboard.toption[@ocaml.doc"A boolean that reflects whether or not the firewall monitoring dashboard is enabled on a firewall. Returns TRUE when the firewall monitoring dashboard is enabled on the firewall. Returns FALSE when the firewall monitoring dashboard is not enabled on the firewall."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?loggingConfiguration->fun?enableMonitoringDashboard->fun()->{firewallArn;loggingConfiguration;enableMonitoringDashboard}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("LoggingConfiguration",(Option.mapx.loggingConfiguration~f:LoggingConfiguration.to_value));("EnableMonitoringDashboard",(Option.mapx.enableMonitoringDashboard~f:EnableMonitoringDashboard.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenableMonitoringDashboard=(Option.map~f:EnableMonitoringDashboard.of_xml)(Xml.childxml_arg0"EnableMonitoringDashboard")inletloggingConfiguration=(Option.map~f:LoggingConfiguration.of_xml)(Xml.childxml_arg0"LoggingConfiguration")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?enableMonitoringDashboard?loggingConfiguration?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenableMonitoringDashboard=field_mapjson__"EnableMonitoringDashboard"EnableMonitoringDashboard.of_jsoninletloggingConfiguration=field_mapjson__"LoggingConfiguration"LoggingConfiguration.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?enableMonitoringDashboard?loggingConfiguration?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the logging configuration for the specified firewall."]moduleDescribeLoggingConfigurationRequest=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."]}letmake?firewallArn=fun?firewallName->fun()->{firewallArn;firewallName}letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the logging configuration for the specified firewall."]moduleDescribeFlowOperationResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];availabilityZone:AvailabilityZone.toption[@ocaml.doc"The ID of the Availability Zone where the firewall is located. For example, us-east-2a. Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."];vpcEndpointAssociationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."];vpcEndpointId:VpcEndpointId.toption[@ocaml.doc"A unique identifier for the primary endpoint associated with a firewall."];flowOperationId:FlowOperationId.toption[@ocaml.doc"A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands."];flowOperationType:FlowOperationType.toption[@ocaml.doc"Defines the type of FlowOperation."];flowOperationStatus:FlowOperationStatus.toption[@ocaml.doc"Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands. If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty."];statusMessage:StatusReason.toption[@ocaml.doc"If the asynchronous operation fails, Network Firewall populates this with the reason for the error or failure. Options include Flow operation error and Flow timeout."];flowRequestTimestamp:FlowRequestTimestamp.toption[@ocaml.doc"A timestamp indicating when the Suricata engine identified flows impacted by an operation."];flowOperation:FlowOperation.toption[@ocaml.doc"Returns key information about a flow operation, such as related statuses, unique identifiers, and all filters defined in the operation."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?availabilityZone->fun?vpcEndpointAssociationArn->fun?vpcEndpointId->fun?flowOperationId->fun?flowOperationType->fun?flowOperationStatus->fun?statusMessage->fun?flowRequestTimestamp->fun?flowOperation->fun()->{firewallArn;availabilityZone;vpcEndpointAssociationArn;vpcEndpointId;flowOperationId;flowOperationType;flowOperationStatus;statusMessage;flowRequestTimestamp;flowOperation}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("AvailabilityZone",(Option.mapx.availabilityZone~f:AvailabilityZone.to_value));("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value));("VpcEndpointId",(Option.mapx.vpcEndpointId~f:VpcEndpointId.to_value));("FlowOperationId",(Option.mapx.flowOperationId~f:FlowOperationId.to_value));("FlowOperationType",(Option.mapx.flowOperationType~f:FlowOperationType.to_value));("FlowOperationStatus",(Option.mapx.flowOperationStatus~f:FlowOperationStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusReason.to_value));("FlowRequestTimestamp",(Option.mapx.flowRequestTimestamp~f:FlowRequestTimestamp.to_value));("FlowOperation",(Option.mapx.flowOperation~f:FlowOperation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowOperation=(Option.map~f:FlowOperation.of_xml)(Xml.childxml_arg0"FlowOperation")inletflowRequestTimestamp=(Option.map~f:FlowRequestTimestamp.of_xml)(Xml.childxml_arg0"FlowRequestTimestamp")inletstatusMessage=(Option.map~f:StatusReason.of_xml)(Xml.childxml_arg0"StatusMessage")inletflowOperationStatus=(Option.map~f:FlowOperationStatus.of_xml)(Xml.childxml_arg0"FlowOperationStatus")inletflowOperationType=(Option.map~f:FlowOperationType.of_xml)(Xml.childxml_arg0"FlowOperationType")inletflowOperationId=(Option.map~f:FlowOperationId.of_xml)(Xml.childxml_arg0"FlowOperationId")inletvpcEndpointId=(Option.map~f:VpcEndpointId.of_xml)(Xml.childxml_arg0"VpcEndpointId")inletvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inletavailabilityZone=(Option.map~f:AvailabilityZone.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?flowOperation?flowRequestTimestamp?statusMessage?flowOperationStatus?flowOperationType?flowOperationId?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowOperation=field_mapjson__"FlowOperation"FlowOperation.of_jsoninletflowRequestTimestamp=field_mapjson__"FlowRequestTimestamp"FlowRequestTimestamp.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusReason.of_jsoninletflowOperationStatus=field_mapjson__"FlowOperationStatus"FlowOperationStatus.of_jsoninletflowOperationType=field_mapjson__"FlowOperationType"FlowOperationType.of_jsoninletflowOperationId=field_mapjson__"FlowOperationId"FlowOperationId.of_jsoninletvpcEndpointId=field_mapjson__"VpcEndpointId"VpcEndpointId.of_jsoninletvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"AvailabilityZone.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?flowOperation?flowRequestTimestamp?statusMessage?flowOperationStatus?flowOperationType?flowOperationId?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns key information about a specific flow operation."]moduleDescribeFlowOperationRequest=structtypenonrect={firewallArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];availabilityZone:AvailabilityZone.toption[@ocaml.doc"The ID of the Availability Zone where the firewall is located. For example, us-east-2a. Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation."];vpcEndpointAssociationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."];vpcEndpointId:VpcEndpointId.toption[@ocaml.doc"A unique identifier for the primary endpoint associated with a firewall."];flowOperationId:FlowOperationId.t[@ocaml.doc"A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands."]}letcontext_="DescribeFlowOperationRequest"letmake?availabilityZone=fun?vpcEndpointAssociationArn->fun?vpcEndpointId->fun~firewallArn->fun~flowOperationId->fun()->{availabilityZone;vpcEndpointAssociationArn;vpcEndpointId;firewallArn;flowOperationId}letto_valuex=structure_to_value[("FirewallArn",(Some(ResourceArn.to_valuex.firewallArn)));("AvailabilityZone",(Option.mapx.availabilityZone~f:AvailabilityZone.to_value));("VpcEndpointAssociationArn",(Option.mapx.vpcEndpointAssociationArn~f:ResourceArn.to_value));("VpcEndpointId",(Option.mapx.vpcEndpointId~f:VpcEndpointId.to_value));("FlowOperationId",(Some(FlowOperationId.to_valuex.flowOperationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letflowOperationId=FlowOperationId.of_xml(Xml.child_exn~context:context_xml_arg0"FlowOperationId")inletvpcEndpointId=(Option.map~f:VpcEndpointId.of_xml)(Xml.childxml_arg0"VpcEndpointId")inletvpcEndpointAssociationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationArn")inletavailabilityZone=(Option.map~f:AvailabilityZone.of_xml)(Xml.childxml_arg0"AvailabilityZone")inletfirewallArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallArn")inmake~flowOperationId?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone~firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letflowOperationId=field_map_exnjson__"FlowOperationId"FlowOperationId.of_jsoninletvpcEndpointId=field_mapjson__"VpcEndpointId"VpcEndpointId.of_jsoninletvpcEndpointAssociationArn=field_mapjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninletavailabilityZone=field_mapjson__"AvailabilityZone"AvailabilityZone.of_jsoninletfirewallArn=field_map_exnjson__"FirewallArn"ResourceArn.of_jsoninmake~flowOperationId?vpcEndpointId?vpcEndpointAssociationArn?availabilityZone~firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns key information about a specific flow operation."]moduleDescribeFirewallResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewall:Firewall.toption[@ocaml.doc"The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints."];firewallStatus:FirewallStatus.toption[@ocaml.doc"Detailed information about the current status of a Firewall. You can retrieve this for a firewall by calling DescribeFirewall and providing the firewall name and ARN. The firewall status indicates a combined status. It indicates whether all subnets are up-to-date with the latest firewall configurations, which is based on the sync states config values, and also whether all subnets have their endpoints fully enabled, based on their sync states attachment values."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?firewall->fun?firewallStatus->fun()->{updateToken;firewall;firewallStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("Firewall",(Option.mapx.firewall~f:Firewall.to_value));("FirewallStatus",(Option.mapx.firewallStatus~f:FirewallStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallStatus=(Option.map~f:FirewallStatus.of_xml)(Xml.childxml_arg0"FirewallStatus")inletfirewall=(Option.map~f:Firewall.of_xml)(Xml.childxml_arg0"Firewall")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?firewallStatus?firewall?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallStatus=field_mapjson__"FirewallStatus"FirewallStatus.of_jsoninletfirewall=field_mapjson__"Firewall"Firewall.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?firewallStatus?firewall?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified firewall."]moduleDescribeFirewallRequest=structtypenonrect={firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."]}letmake?firewallName=fun?firewallArn->fun()->{firewallName;firewallArn}letto_valuex=structure_to_value[("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inmake?firewallArn?firewallName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninmake?firewallArn?firewallName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified firewall."]moduleDescribeFirewallPolicyResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token."];firewallPolicyResponse:FirewallPolicyResponse.toption[@ocaml.doc"The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy."];firewallPolicy:FirewallPolicy.toption[@ocaml.doc"The policy for the specified firewall policy."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?firewallPolicyResponse->fun?firewallPolicy->fun()->{updateToken;firewallPolicyResponse;firewallPolicy}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallPolicyResponse",(Option.mapx.firewallPolicyResponse~f:FirewallPolicyResponse.to_value));("FirewallPolicy",(Option.mapx.firewallPolicy~f:FirewallPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicy=(Option.map~f:FirewallPolicy.of_xml)(Xml.childxml_arg0"FirewallPolicy")inletfirewallPolicyResponse=(Option.map~f:FirewallPolicyResponse.of_xml)(Xml.childxml_arg0"FirewallPolicyResponse")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?firewallPolicy?firewallPolicyResponse?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicy=field_mapjson__"FirewallPolicy"FirewallPolicy.of_jsoninletfirewallPolicyResponse=field_mapjson__"FirewallPolicyResponse"FirewallPolicyResponse.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?firewallPolicy?firewallPolicyResponse?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified firewall policy."]moduleDescribeFirewallPolicyRequest=structtypenonrect={firewallPolicyName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it. You must specify the ARN or the name, and you can specify both."];firewallPolicyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy. You must specify the ARN or the name, and you can specify both."]}letmake?firewallPolicyName=fun?firewallPolicyArn->fun()->{firewallPolicyName;firewallPolicyArn}letto_valuex=structure_to_value[("FirewallPolicyName",(Option.mapx.firewallPolicyName~f:ResourceName.to_value));("FirewallPolicyArn",(Option.mapx.firewallPolicyArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallPolicyArn")inletfirewallPolicyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallPolicyName")inmake?firewallPolicyArn?firewallPolicyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicyArn=field_mapjson__"FirewallPolicyArn"ResourceArn.of_jsoninletfirewallPolicyName=field_mapjson__"FirewallPolicyName"ResourceName.of_jsoninmake?firewallPolicyArn?firewallPolicyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the data objects for the specified firewall policy."]moduleDescribeFirewallMetadataResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallPolicyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy."];description:Description.toption[@ocaml.doc"A description of the firewall."];status:FirewallStatusValue.toption[@ocaml.doc"The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you have it configured. This setting is READY only when the ConfigurationSyncStateSummary value is IN_SYNC and the Attachment Status values for all of the configured subnets are READY."];supportedAvailabilityZones:SupportedAvailabilityZones.toption[@ocaml.doc"The Availability Zones that the firewall currently supports. This includes all Availability Zones for which the firewall has a subnet defined."];transitGatewayAttachmentId:TransitGatewayAttachmentId.toption[@ocaml.doc"The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallPolicyArn->fun?description->fun?status->fun?supportedAvailabilityZones->fun?transitGatewayAttachmentId->fun()->{firewallArn;firewallPolicyArn;description;status;supportedAvailabilityZones;transitGatewayAttachmentId}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallPolicyArn",(Option.mapx.firewallPolicyArn~f:ResourceArn.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Status",(Option.mapx.status~f:FirewallStatusValue.to_value));("SupportedAvailabilityZones",(Option.mapx.supportedAvailabilityZones~f:SupportedAvailabilityZones.to_value));("TransitGatewayAttachmentId",(Option.mapx.transitGatewayAttachmentId~f:TransitGatewayAttachmentId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentId=(Option.map~f:TransitGatewayAttachmentId.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentId")inletsupportedAvailabilityZones=(Option.map~f:SupportedAvailabilityZones.of_xml)(Xml.childxml_arg0"SupportedAvailabilityZones")inletstatus=(Option.map~f:FirewallStatusValue.of_xml)(Xml.childxml_arg0"Status")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletfirewallPolicyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallPolicyArn")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?transitGatewayAttachmentId?supportedAvailabilityZones?status?description?firewallPolicyArn?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentId=field_mapjson__"TransitGatewayAttachmentId"TransitGatewayAttachmentId.of_jsoninletsupportedAvailabilityZones=field_mapjson__"SupportedAvailabilityZones"SupportedAvailabilityZones.of_jsoninletstatus=field_mapjson__"Status"FirewallStatusValue.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletfirewallPolicyArn=field_mapjson__"FirewallPolicyArn"ResourceArn.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?transitGatewayAttachmentId?supportedAvailabilityZones?status?description?firewallPolicyArn?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the high-level information about a firewall, including the Availability Zones where the Firewall is currently in use."]moduleDescribeFirewallMetadataRequest=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."]}letmake?firewallArn=fun()->{firewallArn}letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the high-level information about a firewall, including the Availability Zones where the Firewall is currently in use."]moduleDeleteVpcEndpointAssociationResponse=structtypenonrect={vpcEndpointAssociation:VpcEndpointAssociation.toption[@ocaml.doc"The configuration settings for the VPC endpoint association. These settings include the firewall and the VPC and subnet to use for the firewall endpoint."];vpcEndpointAssociationStatus:VpcEndpointAssociationStatus.toption[@ocaml.doc"Detailed information about the current status of a VpcEndpointAssociation. You can retrieve this by calling DescribeVpcEndpointAssociation and providing the VPC endpoint association ARN."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpcEndpointAssociation=fun?vpcEndpointAssociationStatus->fun()->{vpcEndpointAssociation;vpcEndpointAssociationStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VpcEndpointAssociation",(Option.mapx.vpcEndpointAssociation~f:VpcEndpointAssociation.to_value));("VpcEndpointAssociationStatus",(Option.mapx.vpcEndpointAssociationStatus~f:VpcEndpointAssociationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcEndpointAssociationStatus=(Option.map~f:VpcEndpointAssociationStatus.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationStatus")inletvpcEndpointAssociation=(Option.map~f:VpcEndpointAssociation.of_xml)(Xml.childxml_arg0"VpcEndpointAssociation")inmake?vpcEndpointAssociationStatus?vpcEndpointAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcEndpointAssociationStatus=field_mapjson__"VpcEndpointAssociationStatus"VpcEndpointAssociationStatus.of_jsoninletvpcEndpointAssociation=field_mapjson__"VpcEndpointAssociation"VpcEndpointAssociation.of_jsoninmake?vpcEndpointAssociationStatus?vpcEndpointAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified VpcEndpointAssociation. You can check whether an endpoint association is in use by reviewing the route tables for the Availability Zones where you have the endpoint subnet mapping. You can retrieve the subnet mapping by calling DescribeVpcEndpointAssociation. You define and update the route tables through Amazon VPC. As needed, update the route tables for the Availability Zone to remove the firewall endpoint for the association. When the route tables no longer use the firewall endpoint, you can remove the endpoint association safely."]moduleDeleteVpcEndpointAssociationRequest=structtypenonrect={vpcEndpointAssociationArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of a VPC endpoint association."]}letcontext_="DeleteVpcEndpointAssociationRequest"letmake~vpcEndpointAssociationArn=fun()->{vpcEndpointAssociationArn}letto_valuex=structure_to_value[("VpcEndpointAssociationArn",(Some(ResourceArn.to_valuex.vpcEndpointAssociationArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcEndpointAssociationArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"VpcEndpointAssociationArn")inmake~vpcEndpointAssociationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcEndpointAssociationArn=field_map_exnjson__"VpcEndpointAssociationArn"ResourceArn.of_jsoninmake~vpcEndpointAssociationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified VpcEndpointAssociation. You can check whether an endpoint association is in use by reviewing the route tables for the Availability Zones where you have the endpoint subnet mapping. You can retrieve the subnet mapping by calling DescribeVpcEndpointAssociation. You define and update the route tables through Amazon VPC. As needed, update the route tables for the Availability Zone to remove the firewall endpoint for the association. When the route tables no longer use the firewall endpoint, you can remove the endpoint association safely."]moduleDeleteTLSInspectionConfigurationResponse=structtypenonrect={tLSInspectionConfigurationResponse:TLSInspectionConfigurationResponse.toption[@ocaml.doc"The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tLSInspectionConfigurationResponse=fun()->{tLSInspectionConfigurationResponse}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TLSInspectionConfigurationResponse",(Option.mapx.tLSInspectionConfigurationResponse~f:TLSInspectionConfigurationResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettLSInspectionConfigurationResponse=(Option.map~f:TLSInspectionConfigurationResponse.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationResponse")inmake?tLSInspectionConfigurationResponse()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettLSInspectionConfigurationResponse=field_mapjson__"TLSInspectionConfigurationResponse"TLSInspectionConfigurationResponse.of_jsoninmake?tLSInspectionConfigurationResponse()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified TLSInspectionConfiguration."]moduleDeleteTLSInspectionConfigurationRequest=structtypenonrect={tLSInspectionConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the TLS inspection configuration. You must specify the ARN or the name, and you can specify both."];tLSInspectionConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it. You must specify the ARN or the name, and you can specify both."]}letmake?tLSInspectionConfigurationArn=fun?tLSInspectionConfigurationName->fun()->{tLSInspectionConfigurationArn;tLSInspectionConfigurationName}letto_valuex=structure_to_value[("TLSInspectionConfigurationArn",(Option.mapx.tLSInspectionConfigurationArn~f:ResourceArn.to_value));("TLSInspectionConfigurationName",(Option.mapx.tLSInspectionConfigurationName~f:ResourceName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettLSInspectionConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationName")inlettLSInspectionConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationArn")inmake?tLSInspectionConfigurationName?tLSInspectionConfigurationArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettLSInspectionConfigurationName=field_mapjson__"TLSInspectionConfigurationName"ResourceName.of_jsoninlettLSInspectionConfigurationArn=field_mapjson__"TLSInspectionConfigurationArn"ResourceArn.of_jsoninmake?tLSInspectionConfigurationName?tLSInspectionConfigurationArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified TLSInspectionConfiguration."]moduleDeleteRuleGroupResponse=structtypenonrect={ruleGroupResponse:RuleGroupResponse.toption[@ocaml.doc"The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`UnsupportedOperationExceptionofUnsupportedOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?ruleGroupResponse=fun()->{ruleGroupResponse}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UnsupportedOperationExceptione->`Assoc[("error",(`String"UnsupportedOperationException"));("details",(UnsupportedOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("RuleGroupResponse",(Option.mapx.ruleGroupResponse~f:RuleGroupResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleGroupResponse=(Option.map~f:RuleGroupResponse.of_xml)(Xml.childxml_arg0"RuleGroupResponse")inmake?ruleGroupResponse()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleGroupResponse=field_mapjson__"RuleGroupResponse"RuleGroupResponse.of_jsoninmake?ruleGroupResponse()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified RuleGroup."]moduleDeleteRuleGroupRequest=structtypenonrect={ruleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it. You must specify the ARN or the name, and you can specify both."];ruleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the rule group. You must specify the ARN or the name, and you can specify both."];type_:RuleGroupType.toption[@ocaml.doc"Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. This setting is required for requests that do not include the RuleGroupARN."]}letmake?ruleGroupName=fun?ruleGroupArn->fun?type_->fun()->{ruleGroupName;ruleGroupArn;type_}letto_valuex=structure_to_value[("RuleGroupName",(Option.mapx.ruleGroupName~f:ResourceName.to_value));("RuleGroupArn",(Option.mapx.ruleGroupArn~f:ResourceArn.to_value));("Type",(Option.mapx.type_~f:RuleGroupType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettype_=(Option.map~f:RuleGroupType.of_xml)(Xml.childxml_arg0"Type")inletruleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"RuleGroupArn")inletruleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"RuleGroupName")inmake?type_?ruleGroupArn?ruleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettype_=field_mapjson__"Type"RuleGroupType.of_jsoninletruleGroupArn=field_mapjson__"RuleGroupArn"ResourceArn.of_jsoninletruleGroupName=field_mapjson__"RuleGroupName"ResourceName.of_jsoninmake?type_?ruleGroupArn?ruleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified RuleGroup."]moduleDeleteResourcePolicyResponse=structtypenonrect=unittypenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidResourcePolicyExceptionofInvalidResourcePolicyException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidResourcePolicyException"->`InvalidResourcePolicyException(InvalidResourcePolicyException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidResourcePolicyException"->`InvalidResourcePolicyException(InvalidResourcePolicyException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidResourcePolicyExceptione->`Assoc[("error",(`String"InvalidResourcePolicyException"));("details",(InvalidResourcePolicyException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letof_header_and_body=((fun(xs,pipe)->make())[@warning"-27"])letto_value_=`Structure[]letto_queryv=to_queryto_valuevletof_xml_=make()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_json_=make()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a resource policy that you created in a PutResourcePolicy request."]moduleDeleteResourcePolicyRequest=structtypenonrect={resourceArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to delete."]}letcontext_="DeleteResourcePolicyRequest"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(ResourceArn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"ResourceArn"ResourceArn.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a resource policy that you created in a PutResourcePolicy request."]moduleDeleteProxyRulesResponse=structtypenonrect={proxyRuleGroup:ProxyRuleGroup.toption[@ocaml.doc"The properties that define the proxy rule group with the newly created proxy rule(s)."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRuleGroup=fun()->{proxyRuleGroup}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRuleGroup",(Option.mapx.proxyRuleGroup~f:ProxyRuleGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyRuleGroup=(Option.map~f:ProxyRuleGroup.of_xml)(Xml.childxml_arg0"ProxyRuleGroup")inmake?proxyRuleGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyRuleGroup=field_mapjson__"ProxyRuleGroup"ProxyRuleGroup.of_jsoninmake?proxyRuleGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified ProxyRule(s). currently attached to a ProxyRuleGroup"]moduleDeleteProxyRulesRequest=structtypenonrect={proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group. You must specify the ARN or the name, and you can specify both."];proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it. You must specify the ARN or the name, and you can specify both."];rules:ResourceNameList.t[@ocaml.doc"The proxy rule(s) to remove from the existing proxy rule group."]}letcontext_="DeleteProxyRulesRequest"letmake?proxyRuleGroupArn=fun?proxyRuleGroupName->fun~rules->fun()->{proxyRuleGroupArn;proxyRuleGroupName;rules}letto_valuex=structure_to_value[("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value));("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("Rules",(Some(ResourceNameList.to_valuex.rules)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrules=ResourceNameList.of_xml(Xml.child_exn~context:context_xml_arg0"Rules")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inletproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inmake~rules?proxyRuleGroupName?proxyRuleGroupArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrules=field_map_exnjson__"Rules"ResourceNameList.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninletproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninmake~rules?proxyRuleGroupName?proxyRuleGroupArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified ProxyRule(s). currently attached to a ProxyRuleGroup"]moduleDeleteProxyRuleGroupResponse=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun()->{proxyRuleGroupName;proxyRuleGroupArn}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?proxyRuleGroupArn?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?proxyRuleGroupArn?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified ProxyRuleGroup."]moduleDeleteProxyRuleGroupRequest=structtypenonrect={proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it. You must specify the ARN or the name, and you can specify both."];proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group. You must specify the ARN or the name, and you can specify both."]}letmake?proxyRuleGroupName=fun?proxyRuleGroupArn->fun()->{proxyRuleGroupName;proxyRuleGroupArn}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inmake?proxyRuleGroupArn?proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?proxyRuleGroupArn?proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified ProxyRuleGroup."]moduleDeleteProxyResponse=structtypenonrect={natGatewayId:NatGatewayId.toption[@ocaml.doc"The NAT Gateway the Proxy was attached to."];proxyName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy. You can't change the name of a proxy after you create it."];proxyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`UnsupportedOperationExceptionofUnsupportedOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?natGatewayId=fun?proxyName->fun?proxyArn->fun()->{natGatewayId;proxyName;proxyArn}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UnsupportedOperationExceptione->`Assoc[("error",(`String"UnsupportedOperationException"));("details",(UnsupportedOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("NatGatewayId",(Option.mapx.natGatewayId~f:NatGatewayId.to_value));("ProxyName",(Option.mapx.proxyName~f:ResourceName.to_value));("ProxyArn",(Option.mapx.proxyArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyArn")inletproxyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyName")inletnatGatewayId=(Option.map~f:NatGatewayId.of_xml)(Xml.childxml_arg0"NatGatewayId")inmake?proxyArn?proxyName?natGatewayId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyArn=field_mapjson__"ProxyArn"ResourceArn.of_jsoninletproxyName=field_mapjson__"ProxyName"ResourceName.of_jsoninletnatGatewayId=field_mapjson__"NatGatewayId"NatGatewayId.of_jsoninmake?proxyArn?proxyName?natGatewayId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified Proxy. Detaches a Proxy configuration from a NAT Gateway."]moduleDeleteProxyRequest=structtypenonrect={natGatewayId:NatGatewayId.t[@ocaml.doc"The NAT Gateway the proxy is attached to."];proxyName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy. You can't change the name of a proxy after you create it. You must specify the ARN or the name, and you can specify both."];proxyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy. You must specify the ARN or the name, and you can specify both."]}letcontext_="DeleteProxyRequest"letmake?proxyName=fun?proxyArn->fun~natGatewayId->fun()->{proxyName;proxyArn;natGatewayId}letto_valuex=structure_to_value[("NatGatewayId",(Some(NatGatewayId.to_valuex.natGatewayId)));("ProxyName",(Option.mapx.proxyName~f:ResourceName.to_value));("ProxyArn",(Option.mapx.proxyArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyArn")inletproxyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyName")inletnatGatewayId=NatGatewayId.of_xml(Xml.child_exn~context:context_xml_arg0"NatGatewayId")inmake?proxyArn?proxyName~natGatewayId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyArn=field_mapjson__"ProxyArn"ResourceArn.of_jsoninletproxyName=field_mapjson__"ProxyName"ResourceName.of_jsoninletnatGatewayId=field_map_exnjson__"NatGatewayId"NatGatewayId.of_jsoninmake?proxyArn?proxyName~natGatewayId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified Proxy. Detaches a Proxy configuration from a NAT Gateway."]moduleDeleteProxyConfigurationResponse=structtypenonrect={proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun()->{proxyConfigurationName;proxyConfigurationArn}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inmake?proxyConfigurationArn?proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninmake?proxyConfigurationArn?proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified ProxyConfiguration."]moduleDeleteProxyConfigurationRequest=structtypenonrect={proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it. You must specify the ARN or the name, and you can specify both."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration. You must specify the ARN or the name, and you can specify both."]}letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun()->{proxyConfigurationName;proxyConfigurationArn}letto_valuex=structure_to_value[("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inmake?proxyConfigurationArn?proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninmake?proxyConfigurationArn?proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified ProxyConfiguration."]moduleDeleteNetworkFirewallTransitGatewayAttachmentResponse=structtypenonrect={transitGatewayAttachmentId:TransitGatewayAttachmentId.toption[@ocaml.doc"The ID of the transit gateway attachment that was deleted."];transitGatewayAttachmentStatus:TransitGatewayAttachmentStatus.toption[@ocaml.doc"The current status of the transit gateway attachment deletion process. Valid values are: CREATING - The attachment is being created DELETING - The attachment is being deleted DELETED - The attachment has been deleted FAILED - The attachment creation has failed and cannot be recovered ERROR - The attachment is in an error state that might be recoverable READY - The attachment is active and processing traffic PENDING_ACCEPTANCE - The attachment is waiting to be accepted REJECTING - The attachment is in the process of being rejected REJECTED - The attachment has been rejected"]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?transitGatewayAttachmentId=fun?transitGatewayAttachmentStatus->fun()->{transitGatewayAttachmentId;transitGatewayAttachmentStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TransitGatewayAttachmentId",(Option.mapx.transitGatewayAttachmentId~f:TransitGatewayAttachmentId.to_value));("TransitGatewayAttachmentStatus",(Option.mapx.transitGatewayAttachmentStatus~f:TransitGatewayAttachmentStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentStatus=(Option.map~f:TransitGatewayAttachmentStatus.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentStatus")inlettransitGatewayAttachmentId=(Option.map~f:TransitGatewayAttachmentId.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentId")inmake?transitGatewayAttachmentStatus?transitGatewayAttachmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentStatus=field_mapjson__"TransitGatewayAttachmentStatus"TransitGatewayAttachmentStatus.of_jsoninlettransitGatewayAttachmentId=field_mapjson__"TransitGatewayAttachmentId"TransitGatewayAttachmentId.of_jsoninmake?transitGatewayAttachmentStatus?transitGatewayAttachmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a transit gateway attachment from a Network Firewall. Either the firewall owner or the transit gateway owner can delete the attachment. After you delete a transit gateway attachment, traffic will no longer flow through the firewall endpoints. After you initiate the delete operation, use DescribeFirewall to monitor the deletion status."]moduleDeleteNetworkFirewallTransitGatewayAttachmentRequest=structtypenonrect={transitGatewayAttachmentId:TransitGatewayAttachmentId.t[@ocaml.doc"Required. The unique identifier of the transit gateway attachment to delete."]}letcontext_="DeleteNetworkFirewallTransitGatewayAttachmentRequest"letmake~transitGatewayAttachmentId=fun()->{transitGatewayAttachmentId}letto_valuex=structure_to_value[("TransitGatewayAttachmentId",(Some(TransitGatewayAttachmentId.to_valuex.transitGatewayAttachmentId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentId=TransitGatewayAttachmentId.of_xml(Xml.child_exn~context:context_xml_arg0"TransitGatewayAttachmentId")inmake~transitGatewayAttachmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentId=field_map_exnjson__"TransitGatewayAttachmentId"TransitGatewayAttachmentId.of_jsoninmake~transitGatewayAttachmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a transit gateway attachment from a Network Firewall. Either the firewall owner or the transit gateway owner can delete the attachment. After you delete a transit gateway attachment, traffic will no longer flow through the firewall endpoints. After you initiate the delete operation, use DescribeFirewall to monitor the deletion status."]moduleDeleteFirewallResponse=structtypenonrect={firewall:Firewall.toption;firewallStatus:FirewallStatus.toption}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`UnsupportedOperationExceptionofUnsupportedOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewall=fun?firewallStatus->fun()->{firewall;firewallStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UnsupportedOperationExceptione->`Assoc[("error",(`String"UnsupportedOperationException"));("details",(UnsupportedOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Firewall",(Option.mapx.firewall~f:Firewall.to_value));("FirewallStatus",(Option.mapx.firewallStatus~f:FirewallStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallStatus=(Option.map~f:FirewallStatus.of_xml)(Xml.childxml_arg0"FirewallStatus")inletfirewall=(Option.map~f:Firewall.of_xml)(Xml.childxml_arg0"Firewall")inmake?firewallStatus?firewall()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallStatus=field_mapjson__"FirewallStatus"FirewallStatus.of_jsoninletfirewall=field_mapjson__"Firewall"Firewall.of_jsoninmake?firewallStatus?firewall()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified Firewall and its FirewallStatus. This operation requires the firewall's DeleteProtection flag to be FALSE. You can't revert this operation. You can check whether a firewall is in use by reviewing the route tables for the Availability Zones where you have firewall subnet mappings. Retrieve the subnet mappings by calling DescribeFirewall. You define and update the route tables through Amazon VPC. As needed, update the route tables for the zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints, you can remove the firewall safely. To delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection, then delete the firewall by calling DeleteFirewall."]moduleDeleteFirewallRequest=structtypenonrect={firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."]}letmake?firewallName=fun?firewallArn->fun()->{firewallName;firewallArn}letto_valuex=structure_to_value[("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inmake?firewallArn?firewallName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninmake?firewallArn?firewallName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified Firewall and its FirewallStatus. This operation requires the firewall's DeleteProtection flag to be FALSE. You can't revert this operation. You can check whether a firewall is in use by reviewing the route tables for the Availability Zones where you have firewall subnet mappings. Retrieve the subnet mappings by calling DescribeFirewall. You define and update the route tables through Amazon VPC. As needed, update the route tables for the zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints, you can remove the firewall safely. To delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection, then delete the firewall by calling DeleteFirewall."]moduleDeleteFirewallPolicyResponse=structtypenonrect={firewallPolicyResponse:FirewallPolicyResponse.toption[@ocaml.doc"The object containing the definition of the FirewallPolicyResponse that you asked to delete."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`UnsupportedOperationExceptionofUnsupportedOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallPolicyResponse=fun()->{firewallPolicyResponse}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UnsupportedOperationExceptione->`Assoc[("error",(`String"UnsupportedOperationException"));("details",(UnsupportedOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallPolicyResponse",(Option.mapx.firewallPolicyResponse~f:FirewallPolicyResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicyResponse=(Option.map~f:FirewallPolicyResponse.of_xml)(Xml.childxml_arg0"FirewallPolicyResponse")inmake?firewallPolicyResponse()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicyResponse=field_mapjson__"FirewallPolicyResponse"FirewallPolicyResponse.of_jsoninmake?firewallPolicyResponse()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified FirewallPolicy."]moduleDeleteFirewallPolicyRequest=structtypenonrect={firewallPolicyName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it. You must specify the ARN or the name, and you can specify both."];firewallPolicyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy. You must specify the ARN or the name, and you can specify both."]}letmake?firewallPolicyName=fun?firewallPolicyArn->fun()->{firewallPolicyName;firewallPolicyArn}letto_valuex=structure_to_value[("FirewallPolicyName",(Option.mapx.firewallPolicyName~f:ResourceName.to_value));("FirewallPolicyArn",(Option.mapx.firewallPolicyArn~f:ResourceArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallPolicyArn")inletfirewallPolicyName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallPolicyName")inmake?firewallPolicyArn?firewallPolicyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicyArn=field_mapjson__"FirewallPolicyArn"ResourceArn.of_jsoninletfirewallPolicyName=field_mapjson__"FirewallPolicyName"ResourceName.of_jsoninmake?firewallPolicyArn?firewallPolicyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified FirewallPolicy."]moduleCreateVpcEndpointAssociationResponse=structtypenonrect={vpcEndpointAssociation:VpcEndpointAssociation.toption[@ocaml.doc"The configuration settings for the VPC endpoint association. These settings include the firewall and the VPC and subnet to use for the firewall endpoint."];vpcEndpointAssociationStatus:VpcEndpointAssociationStatus.toption[@ocaml.doc"Detailed information about the current status of a VpcEndpointAssociation. You can retrieve this by calling DescribeVpcEndpointAssociation and providing the VPC endpoint association ARN."]}typenonrecerror=[`InsufficientCapacityExceptionofInsufficientCapacityException.t|`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?vpcEndpointAssociation=fun?vpcEndpointAssociationStatus->fun()->{vpcEndpointAssociation;vpcEndpointAssociationStatus}leterror_of_jsonnamejson=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InsufficientCapacityExceptione->`Assoc[("error",(`String"InsufficientCapacityException"));("details",(InsufficientCapacityException.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("VpcEndpointAssociation",(Option.mapx.vpcEndpointAssociation~f:VpcEndpointAssociation.to_value));("VpcEndpointAssociationStatus",(Option.mapx.vpcEndpointAssociationStatus~f:VpcEndpointAssociationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvpcEndpointAssociationStatus=(Option.map~f:VpcEndpointAssociationStatus.of_xml)(Xml.childxml_arg0"VpcEndpointAssociationStatus")inletvpcEndpointAssociation=(Option.map~f:VpcEndpointAssociation.of_xml)(Xml.childxml_arg0"VpcEndpointAssociation")inmake?vpcEndpointAssociationStatus?vpcEndpointAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvpcEndpointAssociationStatus=field_mapjson__"VpcEndpointAssociationStatus"VpcEndpointAssociationStatus.of_jsoninletvpcEndpointAssociation=field_mapjson__"VpcEndpointAssociation"VpcEndpointAssociation.of_jsoninmake?vpcEndpointAssociationStatus?vpcEndpointAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a firewall endpoint for an Network Firewall firewall. This type of firewall endpoint is independent of the firewall endpoints that you specify in the Firewall itself, and you define it in addition to those endpoints after the firewall has been created. You can define a VPC endpoint association using a different VPC than the one you used in the firewall specifications."]moduleCreateVpcEndpointAssociationRequest=structtypenonrect={firewallArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];vpcId:VpcId.t[@ocaml.doc"The unique identifier of the VPC where you want to create a firewall endpoint."];subnetMapping:SubnetMapping.t;description:Description.toption[@ocaml.doc"A description of the VPC endpoint association."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letcontext_="CreateVpcEndpointAssociationRequest"letmake?description=fun?tags->fun~firewallArn->fun~vpcId->fun~subnetMapping->fun()->{description;tags;firewallArn;vpcId;subnetMapping}letto_valuex=structure_to_value[("FirewallArn",(Some(ResourceArn.to_valuex.firewallArn)));("VpcId",(Some(VpcId.to_valuex.vpcId)));("SubnetMapping",(Some(SubnetMapping.to_valuex.subnetMapping)));("Description",(Option.mapx.description~f:Description.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletsubnetMapping=SubnetMapping.of_xml(Xml.child_exn~context:context_xml_arg0"SubnetMapping")inletvpcId=VpcId.of_xml(Xml.child_exn~context:context_xml_arg0"VpcId")inletfirewallArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallArn")inmake?tags?description~subnetMapping~vpcId~firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletsubnetMapping=field_map_exnjson__"SubnetMapping"SubnetMapping.of_jsoninletvpcId=field_map_exnjson__"VpcId"VpcId.of_jsoninletfirewallArn=field_map_exnjson__"FirewallArn"ResourceArn.of_jsoninmake?tags?description~subnetMapping~vpcId~firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a firewall endpoint for an Network Firewall firewall. This type of firewall endpoint is independent of the firewall endpoints that you specify in the Firewall itself, and you define it in addition to those endpoints after the firewall has been created. You can define a VPC endpoint association using a different VPC than the one you used in the firewall specifications."]moduleCreateTLSInspectionConfigurationResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request. To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."];tLSInspectionConfigurationResponse:TLSInspectionConfigurationResponse.toption[@ocaml.doc"The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration."]}typenonrecerror=[`InsufficientCapacityExceptionofInsufficientCapacityException.t|`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?tLSInspectionConfigurationResponse->fun()->{updateToken;tLSInspectionConfigurationResponse}leterror_of_jsonnamejson=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InsufficientCapacityExceptione->`Assoc[("error",(`String"InsufficientCapacityException"));("details",(InsufficientCapacityException.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("TLSInspectionConfigurationResponse",(Option.mapx.tLSInspectionConfigurationResponse~f:TLSInspectionConfigurationResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettLSInspectionConfigurationResponse=(Option.map~f:TLSInspectionConfigurationResponse.of_xml)(Xml.childxml_arg0"TLSInspectionConfigurationResponse")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?tLSInspectionConfigurationResponse?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettLSInspectionConfigurationResponse=field_mapjson__"TLSInspectionConfigurationResponse"TLSInspectionConfigurationResponse.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?tLSInspectionConfigurationResponse?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall TLS inspection configuration. Network Firewall uses TLS inspection configurations to decrypt your firewall's inbound and outbound SSL/TLS traffic. After decryption, Network Firewall inspects the traffic according to your firewall policy's stateful rules, and then re-encrypts it before sending it to its destination. You can enable inspection of your firewall's inbound traffic, outbound traffic, or both. To use TLS inspection with your firewall, you must first import or provision certificates using ACM, create a TLS inspection configuration, add that configuration to a new firewall policy, and then associate that policy with your firewall. To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration. To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and DescribeTLSInspectionConfiguration. For more information about TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide."]moduleCreateTLSInspectionConfigurationRequest=structtypenonrect={tLSInspectionConfigurationName:ResourceName.t[@ocaml.doc"The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it."];tLSInspectionConfiguration:TLSInspectionConfiguration.t[@ocaml.doc"The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration. Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination. To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide."];description:Description.toption[@ocaml.doc"A description of the TLS inspection configuration."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."];encryptionConfiguration:EncryptionConfiguration.toption}letcontext_="CreateTLSInspectionConfigurationRequest"letmake?description=fun?tags->fun?encryptionConfiguration->fun~tLSInspectionConfigurationName->fun~tLSInspectionConfiguration->fun()->{description;tags;encryptionConfiguration;tLSInspectionConfigurationName;tLSInspectionConfiguration}letto_valuex=structure_to_value[("TLSInspectionConfigurationName",(Some(ResourceName.to_valuex.tLSInspectionConfigurationName)));("TLSInspectionConfiguration",(Some(TLSInspectionConfiguration.to_valuex.tLSInspectionConfiguration)));("Description",(Option.mapx.description~f:Description.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettLSInspectionConfiguration=TLSInspectionConfiguration.of_xml(Xml.child_exn~context:context_xml_arg0"TLSInspectionConfiguration")inlettLSInspectionConfigurationName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"TLSInspectionConfigurationName")inmake?encryptionConfiguration?tags?description~tLSInspectionConfiguration~tLSInspectionConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettLSInspectionConfiguration=field_map_exnjson__"TLSInspectionConfiguration"TLSInspectionConfiguration.of_jsoninlettLSInspectionConfigurationName=field_map_exnjson__"TLSInspectionConfigurationName"ResourceName.of_jsoninmake?encryptionConfiguration?tags?description~tLSInspectionConfiguration~tLSInspectionConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall TLS inspection configuration. Network Firewall uses TLS inspection configurations to decrypt your firewall's inbound and outbound SSL/TLS traffic. After decryption, Network Firewall inspects the traffic according to your firewall policy's stateful rules, and then re-encrypts it before sending it to its destination. You can enable inspection of your firewall's inbound traffic, outbound traffic, or both. To use TLS inspection with your firewall, you must first import or provision certificates using ACM, create a TLS inspection configuration, add that configuration to a new firewall policy, and then associate that policy with your firewall. To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration. To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and DescribeTLSInspectionConfiguration. For more information about TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide."]moduleCreateRuleGroupResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."];ruleGroupResponse:RuleGroupResponse.toption[@ocaml.doc"The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup."]}typenonrecerror=[`InsufficientCapacityExceptionofInsufficientCapacityException.t|`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?ruleGroupResponse->fun()->{updateToken;ruleGroupResponse}leterror_of_jsonnamejson=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InsufficientCapacityExceptione->`Assoc[("error",(`String"InsufficientCapacityException"));("details",(InsufficientCapacityException.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("RuleGroupResponse",(Option.mapx.ruleGroupResponse~f:RuleGroupResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letruleGroupResponse=(Option.map~f:RuleGroupResponse.of_xml)(Xml.childxml_arg0"RuleGroupResponse")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?ruleGroupResponse?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letruleGroupResponse=field_mapjson__"RuleGroupResponse"RuleGroupResponse.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?ruleGroupResponse?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates the specified stateless or stateful rule group, which includes the rules for network traffic inspection, a capacity setting, and tags. You provide your rule group specification in your request using either RuleGroup or Rules."]moduleCreateRuleGroupRequest=structtypenonrect={ruleGroupName:ResourceName.t[@ocaml.doc"The descriptive name of the rule group. You can't change the name of a rule group after you create it."];ruleGroup:RuleGroup.toption[@ocaml.doc"An object that defines the rule group rules. You must provide either this rule group setting or a Rules setting, but not both."];rules:RulesString.toption[@ocaml.doc"A string containing stateful rule group rules specifications in Suricata flat format, with one rule per line. Use this to import your existing Suricata compatible rule groups. You must provide either this rules setting or a populated RuleGroup setting, but not both. You can provide your rule group specification in Suricata flat format through this setting when you create or update your rule group. The call response returns a RuleGroup object that Network Firewall has populated from your string."];type_:RuleGroupType.t[@ocaml.doc"Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules."];description:Description.toption[@ocaml.doc"A description of the rule group."];capacity:RuleCapacity.t[@ocaml.doc"The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group. You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE. You can't change or exceed this capacity when you update the rule group, so leave room for your rule group to grow. Capacity for a stateless rule group For a stateless rule group, the capacity required is the sum of the capacity requirements of the individual rules that you expect to have in the rule group. To calculate the capacity requirement of a single rule, multiply the capacity requirement values of each of the rule's match settings: A match setting with no criteria specified has a value of 1. A match setting with Any specified has a value of 1. All other match settings have a value equal to the number of elements provided in the setting. For example, a protocol setting \\[\"UDP\"\\] and a source setting \\[\"10.0.0.0/24\"\\] each have a value of 1. A protocol setting \\[\"UDP\",\"TCP\"\\] has a value of 2. A source setting \\[\"10.0.0.0/24\",\"10.0.0.1/24\",\"10.0.0.2/24\"\\] has a value of 3. A rule with no criteria specified in any of its match settings has a capacity requirement of 1. A rule with protocol setting \\[\"UDP\",\"TCP\"\\], source setting \\[\"10.0.0.0/24\",\"10.0.0.1/24\",\"10.0.0.2/24\"\\], and a single specification or no specification for each of the other match settings has a capacity requirement of 6. Capacity for a stateful rule group For a stateful rule group, the minimum capacity required is the number of individual rules that you expect to have in the rule group."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."];dryRun:Boolean.toption[@ocaml.doc"Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid. If set to FALSE, Network Firewall makes the requested changes to your resources."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains settings for encryption of your rule group resources."];sourceMetadata:SourceMetadata.toption[@ocaml.doc"A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to keep track of updates made to the originating rule group."];analyzeRuleGroup:Boolean.toption[@ocaml.doc"Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis and then creates the rule group for you. To run the stateless rule group analyzer without creating the rule group, set DryRun to TRUE."];summaryConfiguration:SummaryConfiguration.toption[@ocaml.doc"An object that contains a RuleOptions array of strings. You use RuleOptions to determine which of the following RuleSummary values are returned in response to DescribeRuleGroupSummary. Metadata - returns Msg SID"]}letcontext_="CreateRuleGroupRequest"letmake?ruleGroup=fun?rules->fun?description->fun?tags->fun?dryRun->fun?encryptionConfiguration->fun?sourceMetadata->fun?analyzeRuleGroup->fun?summaryConfiguration->fun~ruleGroupName->fun~type_->fun~capacity->fun()->{ruleGroup;rules;description;tags;dryRun;encryptionConfiguration;sourceMetadata;analyzeRuleGroup;summaryConfiguration;ruleGroupName;type_;capacity}letto_valuex=structure_to_value[("RuleGroupName",(Some(ResourceName.to_valuex.ruleGroupName)));("RuleGroup",(Option.mapx.ruleGroup~f:RuleGroup.to_value));("Rules",(Option.mapx.rules~f:RulesString.to_value));("Type",(Some(RuleGroupType.to_valuex.type_)));("Description",(Option.mapx.description~f:Description.to_value));("Capacity",(Some(RuleCapacity.to_valuex.capacity)));("Tags",(Option.mapx.tags~f:TagList.to_value));("DryRun",(Option.mapx.dryRun~f:Boolean.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value));("SourceMetadata",(Option.mapx.sourceMetadata~f:SourceMetadata.to_value));("AnalyzeRuleGroup",(Option.mapx.analyzeRuleGroup~f:Boolean.to_value));("SummaryConfiguration",(Option.mapx.summaryConfiguration~f:SummaryConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsummaryConfiguration=(Option.map~f:SummaryConfiguration.of_xml)(Xml.childxml_arg0"SummaryConfiguration")inletanalyzeRuleGroup=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AnalyzeRuleGroup")inletsourceMetadata=(Option.map~f:SourceMetadata.of_xml)(Xml.childxml_arg0"SourceMetadata")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletdryRun=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DryRun")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletcapacity=RuleCapacity.of_xml(Xml.child_exn~context:context_xml_arg0"Capacity")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inlettype_=RuleGroupType.of_xml(Xml.child_exn~context:context_xml_arg0"Type")inletrules=(Option.map~f:RulesString.of_xml)(Xml.childxml_arg0"Rules")inletruleGroup=(Option.map~f:RuleGroup.of_xml)(Xml.childxml_arg0"RuleGroup")inletruleGroupName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"RuleGroupName")inmake?summaryConfiguration?analyzeRuleGroup?sourceMetadata?encryptionConfiguration?dryRun?tags~capacity?description~type_?rules?ruleGroup~ruleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsummaryConfiguration=field_mapjson__"SummaryConfiguration"SummaryConfiguration.of_jsoninletanalyzeRuleGroup=field_mapjson__"AnalyzeRuleGroup"Boolean.of_jsoninletsourceMetadata=field_mapjson__"SourceMetadata"SourceMetadata.of_jsoninletencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletdryRun=field_mapjson__"DryRun"Boolean.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletcapacity=field_map_exnjson__"Capacity"RuleCapacity.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninlettype_=field_map_exnjson__"Type"RuleGroupType.of_jsoninletrules=field_mapjson__"Rules"RulesString.of_jsoninletruleGroup=field_mapjson__"RuleGroup"RuleGroup.of_jsoninletruleGroupName=field_map_exnjson__"RuleGroupName"ResourceName.of_jsoninmake?summaryConfiguration?analyzeRuleGroup?sourceMetadata?encryptionConfiguration?dryRun?tags~capacity?description~type_?rules?ruleGroup~ruleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates the specified stateless or stateful rule group, which includes the rules for network traffic inspection, a capacity setting, and tags. You provide your rule group specification in your request using either RuleGroup or Rules."]moduleCreateProxyRulesResponse=structtypenonrect={proxyRuleGroup:ProxyRuleGroup.toption[@ocaml.doc"The properties that define the proxy rule group with the newly created proxy rule(s)."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRuleGroup=fun?updateToken->fun()->{proxyRuleGroup;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRuleGroup",(Option.mapx.proxyRuleGroup~f:ProxyRuleGroup.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyRuleGroup=(Option.map~f:ProxyRuleGroup.of_xml)(Xml.childxml_arg0"ProxyRuleGroup")inmake?updateToken?proxyRuleGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyRuleGroup=field_mapjson__"ProxyRuleGroup"ProxyRuleGroup.of_jsoninmake?updateToken?proxyRuleGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates Network Firewall ProxyRule resources. Attaches new proxy rule(s) to an existing proxy rule group. To retrieve information about individual proxy rules, use DescribeProxyRuleGroup and DescribeProxyRule."]moduleCreateProxyRulesRequest=structtypenonrect={proxyRuleGroupArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy rule group. You must specify the ARN or the name, and you can specify both."];proxyRuleGroupName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it. You must specify the ARN or the name, and you can specify both."];rules:CreateProxyRulesByRequestPhase.t[@ocaml.doc"Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert)."]}letcontext_="CreateProxyRulesRequest"letmake?proxyRuleGroupArn=fun?proxyRuleGroupName->fun~rules->fun()->{proxyRuleGroupArn;proxyRuleGroupName;rules}letto_valuex=structure_to_value[("ProxyRuleGroupArn",(Option.mapx.proxyRuleGroupArn~f:ResourceArn.to_value));("ProxyRuleGroupName",(Option.mapx.proxyRuleGroupName~f:ResourceName.to_value));("Rules",(Some(CreateProxyRulesByRequestPhase.to_valuex.rules)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrules=CreateProxyRulesByRequestPhase.of_xml(Xml.child_exn~context:context_xml_arg0"Rules")inletproxyRuleGroupName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyRuleGroupName")inletproxyRuleGroupArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyRuleGroupArn")inmake~rules?proxyRuleGroupName?proxyRuleGroupArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrules=field_map_exnjson__"Rules"CreateProxyRulesByRequestPhase.of_jsoninletproxyRuleGroupName=field_mapjson__"ProxyRuleGroupName"ResourceName.of_jsoninletproxyRuleGroupArn=field_mapjson__"ProxyRuleGroupArn"ResourceArn.of_jsoninmake~rules?proxyRuleGroupName?proxyRuleGroupArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates Network Firewall ProxyRule resources. Attaches new proxy rule(s) to an existing proxy rule group. To retrieve information about individual proxy rules, use DescribeProxyRuleGroup and DescribeProxyRule."]moduleCreateProxyRuleGroupResponse=structtypenonrect={proxyRuleGroup:ProxyRuleGroup.toption[@ocaml.doc"The properties that define the proxy rule group."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request. To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyRuleGroup=fun?updateToken->fun()->{proxyRuleGroup;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyRuleGroup",(Option.mapx.proxyRuleGroup~f:ProxyRuleGroup.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyRuleGroup=(Option.map~f:ProxyRuleGroup.of_xml)(Xml.childxml_arg0"ProxyRuleGroup")inmake?updateToken?proxyRuleGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyRuleGroup=field_mapjson__"ProxyRuleGroup"ProxyRuleGroup.of_jsoninmake?updateToken?proxyRuleGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall ProxyRuleGroup Collections of related proxy filtering rules. Rule groups help you manage and reuse sets of rules across multiple proxy configurations. To manage a proxy rule group's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about proxy rule groups, use ListProxyRuleGroups and DescribeProxyRuleGroup. To retrieve information about individual proxy rules, use DescribeProxyRuleGroup and DescribeProxyRule."]moduleCreateProxyRuleGroupRequest=structtypenonrect={proxyRuleGroupName:ResourceName.t[@ocaml.doc"The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it."];description:Description.toption[@ocaml.doc"A description of the proxy rule group."];rules:ProxyRulesByRequestPhase.toption[@ocaml.doc"Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert)."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letcontext_="CreateProxyRuleGroupRequest"letmake?description=fun?rules->fun?tags->fun~proxyRuleGroupName->fun()->{description;rules;tags;proxyRuleGroupName}letto_valuex=structure_to_value[("ProxyRuleGroupName",(Some(ResourceName.to_valuex.proxyRuleGroupName)));("Description",(Option.mapx.description~f:Description.to_value));("Rules",(Option.mapx.rules~f:ProxyRulesByRequestPhase.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletrules=(Option.map~f:ProxyRulesByRequestPhase.of_xml)(Xml.childxml_arg0"Rules")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletproxyRuleGroupName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ProxyRuleGroupName")inmake?tags?rules?description~proxyRuleGroupName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletrules=field_mapjson__"Rules"ProxyRulesByRequestPhase.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletproxyRuleGroupName=field_map_exnjson__"ProxyRuleGroupName"ResourceName.of_jsoninmake?tags?rules?description~proxyRuleGroupName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall ProxyRuleGroup Collections of related proxy filtering rules. Rule groups help you manage and reuse sets of rules across multiple proxy configurations. To manage a proxy rule group's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about proxy rule groups, use ListProxyRuleGroups and DescribeProxyRuleGroup. To retrieve information about individual proxy rules, use DescribeProxyRuleGroup and DescribeProxyRule."]moduleCreateProxyResponse=structtypenonrect={proxy:Proxy.toption[@ocaml.doc"Proxy attached to a NAT gateway."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request. To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`UnsupportedOperationExceptionofUnsupportedOperationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxy=fun?updateToken->fun()->{proxy;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"UnsupportedOperationException"->`UnsupportedOperationException(UnsupportedOperationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`UnsupportedOperationExceptione->`Assoc[("error",(`String"UnsupportedOperationException"));("details",(UnsupportedOperationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Proxy",(Option.mapx.proxy~f:Proxy.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxy=(Option.map~f:Proxy.of_xml)(Xml.childxml_arg0"Proxy")inmake?updateToken?proxy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxy=field_mapjson__"Proxy"Proxy.of_jsoninmake?updateToken?proxy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall Proxy Attaches a Proxy configuration to a NAT Gateway. To manage a proxy's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about proxies, use ListProxies and DescribeProxy."]moduleCreateProxyRequest=structtypenonrect={proxyName:ResourceName.t[@ocaml.doc"The descriptive name of the proxy. You can't change the name of a proxy after you create it."];natGatewayId:NatGatewayId.t[@ocaml.doc"A unique identifier for the NAT gateway to use with proxy resources."];proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it. You must specify the ARN or the name, and you can specify both."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration. You must specify the ARN or the name, and you can specify both."];listenerProperties:ListenerPropertiesRequest.toption[@ocaml.doc"Listener properties for HTTP and HTTPS traffic."];tlsInterceptProperties:TlsInterceptPropertiesRequest.t[@ocaml.doc"TLS decryption on traffic to filter on attributes in the HTTP header."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letcontext_="CreateProxyRequest"letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun?listenerProperties->fun?tags->fun~proxyName->fun~natGatewayId->fun~tlsInterceptProperties->fun()->{proxyConfigurationName;proxyConfigurationArn;listenerProperties;tags;proxyName;natGatewayId;tlsInterceptProperties}letto_valuex=structure_to_value[("ProxyName",(Some(ResourceName.to_valuex.proxyName)));("NatGatewayId",(Some(NatGatewayId.to_valuex.natGatewayId)));("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value));("ListenerProperties",(Option.mapx.listenerProperties~f:ListenerPropertiesRequest.to_value));("TlsInterceptProperties",(Some(TlsInterceptPropertiesRequest.to_valuex.tlsInterceptProperties)));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inlettlsInterceptProperties=TlsInterceptPropertiesRequest.of_xml(Xml.child_exn~context:context_xml_arg0"TlsInterceptProperties")inletlistenerProperties=(Option.map~f:ListenerPropertiesRequest.of_xml)(Xml.childxml_arg0"ListenerProperties")inletproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inletnatGatewayId=NatGatewayId.of_xml(Xml.child_exn~context:context_xml_arg0"NatGatewayId")inletproxyName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ProxyName")inmake?tags~tlsInterceptProperties?listenerProperties?proxyConfigurationArn?proxyConfigurationName~natGatewayId~proxyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninlettlsInterceptProperties=field_map_exnjson__"TlsInterceptProperties"TlsInterceptPropertiesRequest.of_jsoninletlistenerProperties=field_mapjson__"ListenerProperties"ListenerPropertiesRequest.of_jsoninletproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninletnatGatewayId=field_map_exnjson__"NatGatewayId"NatGatewayId.of_jsoninletproxyName=field_map_exnjson__"ProxyName"ResourceName.of_jsoninmake?tags~tlsInterceptProperties?listenerProperties?proxyConfigurationArn?proxyConfigurationName~natGatewayId~proxyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall Proxy Attaches a Proxy configuration to a NAT Gateway. To manage a proxy's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about proxies, use ListProxies and DescribeProxy."]moduleCreateProxyConfigurationResponse=structtypenonrect={proxyConfiguration:ProxyConfiguration.toption[@ocaml.doc"The properties that define the proxy configuration."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyConfiguration=fun?updateToken->fun()->{proxyConfiguration;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyConfiguration",(Option.mapx.proxyConfiguration~f:ProxyConfiguration.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyConfiguration=(Option.map~f:ProxyConfiguration.of_xml)(Xml.childxml_arg0"ProxyConfiguration")inmake?updateToken?proxyConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyConfiguration=field_mapjson__"ProxyConfiguration"ProxyConfiguration.of_jsoninmake?updateToken?proxyConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall ProxyConfiguration A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration. To manage a proxy configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about proxies, use ListProxyConfigurations and DescribeProxyConfiguration."]moduleCreateProxyConfigurationRequest=structtypenonrect={proxyConfigurationName:ResourceName.t[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it."];description:Description.toption[@ocaml.doc"A description of the proxy configuration."];ruleGroupNames:ResourceNameList.toption[@ocaml.doc"The proxy rule group name(s) to attach to the proxy configuration. You must specify the ARNs or the names, and you can specify both."];ruleGroupArns:ResourceArnList.toption[@ocaml.doc"The proxy rule group arn(s) to attach to the proxy configuration. You must specify the ARNs or the names, and you can specify both."];defaultRulePhaseActions:ProxyConfigDefaultRulePhaseActionsRequest.t[@ocaml.doc"Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."]}letcontext_="CreateProxyConfigurationRequest"letmake?description=fun?ruleGroupNames->fun?ruleGroupArns->fun?tags->fun~proxyConfigurationName->fun~defaultRulePhaseActions->fun()->{description;ruleGroupNames;ruleGroupArns;tags;proxyConfigurationName;defaultRulePhaseActions}letto_valuex=structure_to_value[("ProxyConfigurationName",(Some(ResourceName.to_valuex.proxyConfigurationName)));("Description",(Option.mapx.description~f:Description.to_value));("RuleGroupNames",(Option.mapx.ruleGroupNames~f:ResourceNameList.to_value));("RuleGroupArns",(Option.mapx.ruleGroupArns~f:ResourceArnList.to_value));("DefaultRulePhaseActions",(Some(ProxyConfigDefaultRulePhaseActionsRequest.to_valuex.defaultRulePhaseActions)));("Tags",(Option.mapx.tags~f:TagList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdefaultRulePhaseActions=ProxyConfigDefaultRulePhaseActionsRequest.of_xml(Xml.child_exn~context:context_xml_arg0"DefaultRulePhaseActions")inletruleGroupArns=(Option.map~f:ResourceArnList.of_xml)(Xml.childxml_arg0"RuleGroupArns")inletruleGroupNames=(Option.map~f:ResourceNameList.of_xml)(Xml.childxml_arg0"RuleGroupNames")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletproxyConfigurationName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"ProxyConfigurationName")inmake?tags~defaultRulePhaseActions?ruleGroupArns?ruleGroupNames?description~proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletdefaultRulePhaseActions=field_map_exnjson__"DefaultRulePhaseActions"ProxyConfigDefaultRulePhaseActionsRequest.of_jsoninletruleGroupArns=field_mapjson__"RuleGroupArns"ResourceArnList.of_jsoninletruleGroupNames=field_mapjson__"RuleGroupNames"ResourceNameList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletproxyConfigurationName=field_map_exnjson__"ProxyConfigurationName"ResourceName.of_jsoninmake?tags~defaultRulePhaseActions?ruleGroupArns?ruleGroupNames?description~proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall ProxyConfiguration A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration. To manage a proxy configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about proxies, use ListProxyConfigurations and DescribeProxyConfiguration."]moduleCreateFirewallResponse=structtypenonrect={firewall:Firewall.toption[@ocaml.doc"The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints."];firewallStatus:FirewallStatus.toption[@ocaml.doc"Detailed information about the current status of a Firewall. You can retrieve this for a firewall by calling DescribeFirewall and providing the firewall name and ARN. The firewall status indicates a combined status. It indicates whether all subnets are up-to-date with the latest firewall configurations, which is based on the sync states config values, and also whether all subnets have their endpoints fully enabled, based on their sync states attachment values."]}typenonrecerror=[`InsufficientCapacityExceptionofInsufficientCapacityException.t|`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewall=fun?firewallStatus->fun()->{firewall;firewallStatus}leterror_of_jsonnamejson=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InsufficientCapacityExceptione->`Assoc[("error",(`String"InsufficientCapacityException"));("details",(InsufficientCapacityException.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Firewall",(Option.mapx.firewall~f:Firewall.to_value));("FirewallStatus",(Option.mapx.firewallStatus~f:FirewallStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallStatus=(Option.map~f:FirewallStatus.of_xml)(Xml.childxml_arg0"FirewallStatus")inletfirewall=(Option.map~f:Firewall.of_xml)(Xml.childxml_arg0"Firewall")inmake?firewallStatus?firewall()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallStatus=field_mapjson__"FirewallStatus"FirewallStatus.of_jsoninletfirewall=field_mapjson__"Firewall"Firewall.of_jsoninmake?firewallStatus?firewall()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall Firewall and accompanying FirewallStatus for a VPC. The firewall defines the configuration settings for an Network Firewall firewall. The settings that you can define at creation include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall Amazon Web Services resource. After you create a firewall, you can provide additional settings, like the logging configuration. To update the settings for a firewall, you use the operations that apply to the settings themselves, for example UpdateLoggingConfiguration, AssociateSubnets, and UpdateFirewallDeleteProtection. To manage a firewall's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about firewalls, use ListFirewalls and DescribeFirewall. To generate a report on the last 30 days of traffic monitored by a firewall, use StartAnalysisReport."]moduleCreateFirewallRequest=structtypenonrect={firewallName:ResourceName.t[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];firewallPolicyArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall."];vpcId:VpcId.toption[@ocaml.doc"The unique identifier of the VPC where Network Firewall should create the firewall. You can't change this setting after you create the firewall."];subnetMappings:SubnetMappings.toption[@ocaml.doc"The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet."];deleteProtection:Boolean.toption[@ocaml.doc"A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE."];subnetChangeProtection:Boolean.toption[@ocaml.doc"A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."];firewallPolicyChangeProtection:Boolean.toption[@ocaml.doc"A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE."];description:Description.toption[@ocaml.doc"A description of the firewall."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains settings for encryption of your firewall resources."];enabledAnalysisTypes:EnabledAnalysisTypes.toption[@ocaml.doc"An optional setting indicating the specific traffic analysis types to enable on the firewall."];transitGatewayId:TransitGatewayId.toption[@ocaml.doc"Required when creating a transit gateway-attached firewall. The unique identifier of the transit gateway to attach to this firewall. You can provide either a transit gateway from your account or one that has been shared with you through Resource Access Manager. After creating the firewall, you cannot change the transit gateway association. To use a different transit gateway, you must create a new firewall. For information about creating firewalls, see CreateFirewall. For specific guidance about transit gateway-attached firewalls, see Considerations for transit gateway-attached firewalls in the Network Firewall Developer Guide."];availabilityZoneMappings:AvailabilityZoneMappings.toption[@ocaml.doc"Required. The Availability Zones where you want to create firewall endpoints for a transit gateway-attached firewall. You must specify at least one Availability Zone. Consider enabling the firewall in every Availability Zone where you have workloads to maintain Availability Zone isolation. You can modify Availability Zones later using AssociateAvailabilityZones or DisassociateAvailabilityZones, but this may briefly disrupt traffic. The AvailabilityZoneChangeProtection setting controls whether you can make these modifications."];availabilityZoneChangeProtection:Boolean.toption[@ocaml.doc"Optional. A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to TRUE, you cannot add or remove Availability Zones without first disabling this protection using UpdateAvailabilityZoneChangeProtection. Default value: FALSE"]}letcontext_="CreateFirewallRequest"letmake?vpcId=fun?subnetMappings->fun?deleteProtection->fun?subnetChangeProtection->fun?firewallPolicyChangeProtection->fun?description->fun?tags->fun?encryptionConfiguration->fun?enabledAnalysisTypes->fun?transitGatewayId->fun?availabilityZoneMappings->fun?availabilityZoneChangeProtection->fun~firewallName->fun~firewallPolicyArn->fun()->{vpcId;subnetMappings;deleteProtection;subnetChangeProtection;firewallPolicyChangeProtection;description;tags;encryptionConfiguration;enabledAnalysisTypes;transitGatewayId;availabilityZoneMappings;availabilityZoneChangeProtection;firewallName;firewallPolicyArn}letto_valuex=structure_to_value[("FirewallName",(Some(ResourceName.to_valuex.firewallName)));("FirewallPolicyArn",(Some(ResourceArn.to_valuex.firewallPolicyArn)));("VpcId",(Option.mapx.vpcId~f:VpcId.to_value));("SubnetMappings",(Option.mapx.subnetMappings~f:SubnetMappings.to_value));("DeleteProtection",(Option.mapx.deleteProtection~f:Boolean.to_value));("SubnetChangeProtection",(Option.mapx.subnetChangeProtection~f:Boolean.to_value));("FirewallPolicyChangeProtection",(Option.mapx.firewallPolicyChangeProtection~f:Boolean.to_value));("Description",(Option.mapx.description~f:Description.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value));("EnabledAnalysisTypes",(Option.mapx.enabledAnalysisTypes~f:EnabledAnalysisTypes.to_value));("TransitGatewayId",(Option.mapx.transitGatewayId~f:TransitGatewayId.to_value));("AvailabilityZoneMappings",(Option.mapx.availabilityZoneMappings~f:AvailabilityZoneMappings.to_value));("AvailabilityZoneChangeProtection",(Option.mapx.availabilityZoneChangeProtection~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZoneChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"AvailabilityZoneChangeProtection")inletavailabilityZoneMappings=(Option.map~f:AvailabilityZoneMappings.of_xml)(Xml.childxml_arg0"AvailabilityZoneMappings")inlettransitGatewayId=(Option.map~f:TransitGatewayId.of_xml)(Xml.childxml_arg0"TransitGatewayId")inletenabledAnalysisTypes=(Option.map~f:EnabledAnalysisTypes.of_xml)(Xml.childxml_arg0"EnabledAnalysisTypes")inletencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletfirewallPolicyChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"FirewallPolicyChangeProtection")inletsubnetChangeProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"SubnetChangeProtection")inletdeleteProtection=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DeleteProtection")inletsubnetMappings=(Option.map~f:SubnetMappings.of_xml)(Xml.childxml_arg0"SubnetMappings")inletvpcId=(Option.map~f:VpcId.of_xml)(Xml.childxml_arg0"VpcId")inletfirewallPolicyArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallPolicyArn")inletfirewallName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallName")inmake?availabilityZoneChangeProtection?availabilityZoneMappings?transitGatewayId?enabledAnalysisTypes?encryptionConfiguration?tags?description?firewallPolicyChangeProtection?subnetChangeProtection?deleteProtection?subnetMappings?vpcId~firewallPolicyArn~firewallName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZoneChangeProtection=field_mapjson__"AvailabilityZoneChangeProtection"Boolean.of_jsoninletavailabilityZoneMappings=field_mapjson__"AvailabilityZoneMappings"AvailabilityZoneMappings.of_jsoninlettransitGatewayId=field_mapjson__"TransitGatewayId"TransitGatewayId.of_jsoninletenabledAnalysisTypes=field_mapjson__"EnabledAnalysisTypes"EnabledAnalysisTypes.of_jsoninletencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletfirewallPolicyChangeProtection=field_mapjson__"FirewallPolicyChangeProtection"Boolean.of_jsoninletsubnetChangeProtection=field_mapjson__"SubnetChangeProtection"Boolean.of_jsoninletdeleteProtection=field_mapjson__"DeleteProtection"Boolean.of_jsoninletsubnetMappings=field_mapjson__"SubnetMappings"SubnetMappings.of_jsoninletvpcId=field_mapjson__"VpcId"VpcId.of_jsoninletfirewallPolicyArn=field_map_exnjson__"FirewallPolicyArn"ResourceArn.of_jsoninletfirewallName=field_map_exnjson__"FirewallName"ResourceName.of_jsoninmake?availabilityZoneChangeProtection?availabilityZoneMappings?transitGatewayId?enabledAnalysisTypes?encryptionConfiguration?tags?description?firewallPolicyChangeProtection?subnetChangeProtection?deleteProtection?subnetMappings?vpcId~firewallPolicyArn~firewallName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an Network Firewall Firewall and accompanying FirewallStatus for a VPC. The firewall defines the configuration settings for an Network Firewall firewall. The settings that you can define at creation include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall Amazon Web Services resource. After you create a firewall, you can provide additional settings, like the logging configuration. To update the settings for a firewall, you use the operations that apply to the settings themselves, for example UpdateLoggingConfiguration, AssociateSubnets, and UpdateFirewallDeleteProtection. To manage a firewall's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about firewalls, use ListFirewalls and DescribeFirewall. To generate a report on the last 30 days of traffic monitored by a firewall, use StartAnalysisReport."]moduleCreateFirewallPolicyResponse=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token."];firewallPolicyResponse:FirewallPolicyResponse.toption[@ocaml.doc"The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy."]}typenonrecerror=[`InsufficientCapacityExceptionofInsufficientCapacityException.t|`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?updateToken=fun?firewallPolicyResponse->fun()->{updateToken;firewallPolicyResponse}leterror_of_jsonnamejson=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InsufficientCapacityExceptione->`Assoc[("error",(`String"InsufficientCapacityException"));("details",(InsufficientCapacityException.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallPolicyResponse",(Option.mapx.firewallPolicyResponse~f:FirewallPolicyResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicyResponse=(Option.map~f:FirewallPolicyResponse.of_xml)(Xml.childxml_arg0"FirewallPolicyResponse")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake?firewallPolicyResponse?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicyResponse=field_mapjson__"FirewallPolicyResponse"FirewallPolicyResponse.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake?firewallPolicyResponse?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates the firewall policy for the firewall according to the specifications. An Network Firewall firewall policy defines the behavior of a firewall, in a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls."]moduleCreateFirewallPolicyRequest=structtypenonrect={firewallPolicyName:ResourceName.t[@ocaml.doc"The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it."];firewallPolicy:FirewallPolicy.t[@ocaml.doc"The rule groups and policy actions to use in the firewall policy."];description:Description.toption[@ocaml.doc"A description of the firewall policy."];tags:TagList.toption[@ocaml.doc"The key:value pairs to associate with the resource."];dryRun:Boolean.toption[@ocaml.doc"Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid. If set to FALSE, Network Firewall makes the requested changes to your resources."];encryptionConfiguration:EncryptionConfiguration.toption[@ocaml.doc"A complex type that contains settings for encryption of your firewall policy resources."]}letcontext_="CreateFirewallPolicyRequest"letmake?description=fun?tags->fun?dryRun->fun?encryptionConfiguration->fun~firewallPolicyName->fun~firewallPolicy->fun()->{description;tags;dryRun;encryptionConfiguration;firewallPolicyName;firewallPolicy}letto_valuex=structure_to_value[("FirewallPolicyName",(Some(ResourceName.to_valuex.firewallPolicyName)));("FirewallPolicy",(Some(FirewallPolicy.to_valuex.firewallPolicy)));("Description",(Option.mapx.description~f:Description.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("DryRun",(Option.mapx.dryRun~f:Boolean.to_value));("EncryptionConfiguration",(Option.mapx.encryptionConfiguration~f:EncryptionConfiguration.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letencryptionConfiguration=(Option.map~f:EncryptionConfiguration.of_xml)(Xml.childxml_arg0"EncryptionConfiguration")inletdryRun=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"DryRun")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletdescription=(Option.map~f:Description.of_xml)(Xml.childxml_arg0"Description")inletfirewallPolicy=FirewallPolicy.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallPolicy")inletfirewallPolicyName=ResourceName.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallPolicyName")inmake?encryptionConfiguration?dryRun?tags?description~firewallPolicy~firewallPolicyName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letencryptionConfiguration=field_mapjson__"EncryptionConfiguration"EncryptionConfiguration.of_jsoninletdryRun=field_mapjson__"DryRun"Boolean.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletdescription=field_mapjson__"Description"Description.of_jsoninletfirewallPolicy=field_map_exnjson__"FirewallPolicy"FirewallPolicy.of_jsoninletfirewallPolicyName=field_map_exnjson__"FirewallPolicyName"ResourceName.of_jsoninmake?encryptionConfiguration?dryRun?tags?description~firewallPolicy~firewallPolicyName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates the firewall policy for the firewall according to the specifications. An Network Firewall firewall policy defines the behavior of a firewall, in a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls."]moduleAttachRuleGroupsToProxyConfigurationResponse=structtypenonrect={proxyConfiguration:ProxyConfiguration.toption[@ocaml.doc"The updated proxy configuration resource that reflects the updates from the request."];updateToken:UpdateToken.toption[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?proxyConfiguration=fun?updateToken->fun()->{proxyConfiguration;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ProxyConfiguration",(Option.mapx.proxyConfiguration~f:ProxyConfiguration.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletproxyConfiguration=(Option.map~f:ProxyConfiguration.of_xml)(Xml.childxml_arg0"ProxyConfiguration")inmake?updateToken?proxyConfiguration()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletproxyConfiguration=field_mapjson__"ProxyConfiguration"ProxyConfiguration.of_jsoninmake?updateToken?proxyConfiguration()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attaches ProxyRuleGroup resources to a ProxyConfiguration A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration."]moduleAttachRuleGroupsToProxyConfigurationRequest=structtypenonrect={proxyConfigurationName:ResourceName.toption[@ocaml.doc"The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it. You must specify the ARN or the name, and you can specify both."];proxyConfigurationArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of a proxy configuration. You must specify the ARN or the name, and you can specify both."];ruleGroups:ProxyRuleGroupAttachmentList.t[@ocaml.doc"The proxy rule group(s) to attach to the proxy configuration"];updateToken:UpdateToken.t[@ocaml.doc"A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token."]}letcontext_="AttachRuleGroupsToProxyConfigurationRequest"letmake?proxyConfigurationName=fun?proxyConfigurationArn->fun~ruleGroups->fun~updateToken->fun()->{proxyConfigurationName;proxyConfigurationArn;ruleGroups;updateToken}letto_valuex=structure_to_value[("ProxyConfigurationName",(Option.mapx.proxyConfigurationName~f:ResourceName.to_value));("ProxyConfigurationArn",(Option.mapx.proxyConfigurationArn~f:ResourceArn.to_value));("RuleGroups",(Some(ProxyRuleGroupAttachmentList.to_valuex.ruleGroups)));("UpdateToken",(Some(UpdateToken.to_valuex.updateToken)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=UpdateToken.of_xml(Xml.child_exn~context:context_xml_arg0"UpdateToken")inletruleGroups=ProxyRuleGroupAttachmentList.of_xml(Xml.child_exn~context:context_xml_arg0"RuleGroups")inletproxyConfigurationArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"ProxyConfigurationArn")inletproxyConfigurationName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"ProxyConfigurationName")inmake~updateToken~ruleGroups?proxyConfigurationArn?proxyConfigurationName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_map_exnjson__"UpdateToken"UpdateToken.of_jsoninletruleGroups=field_map_exnjson__"RuleGroups"ProxyRuleGroupAttachmentList.of_jsoninletproxyConfigurationArn=field_mapjson__"ProxyConfigurationArn"ResourceArn.of_jsoninletproxyConfigurationName=field_mapjson__"ProxyConfigurationName"ResourceName.of_jsoninmake~updateToken~ruleGroups?proxyConfigurationArn?proxyConfigurationName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attaches ProxyRuleGroup resources to a ProxyConfiguration A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration."]moduleAssociateSubnetsResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];subnetMappings:SubnetMappings.toption[@ocaml.doc"The IDs of the subnets that are associated with the firewall."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InsufficientCapacityExceptionofInsufficientCapacityException.t|`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?subnetMappings->fun?updateToken->fun()->{firewallArn;firewallName;subnetMappings;updateToken}leterror_of_jsonnamejson=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InsufficientCapacityExceptione->`Assoc[("error",(`String"InsufficientCapacityException"));("details",(InsufficientCapacityException.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("SubnetMappings",(Option.mapx.subnetMappings~f:SubnetMappings.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletsubnetMappings=(Option.map~f:SubnetMappings.of_xml)(Xml.childxml_arg0"SubnetMappings")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?updateToken?subnetMappings?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletsubnetMappings=field_mapjson__"SubnetMappings"SubnetMappings.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?updateToken?subnetMappings?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates the specified subnets in the Amazon VPC to the firewall. You can specify one subnet for each of the Availability Zones that the VPC spans. This request creates an Network Firewall firewall endpoint in each of the subnets. To enable the firewall's protections, you must also modify the VPC's route tables for each subnet's Availability Zone, to redirect the traffic that's coming into and going out of the zone through the firewall endpoint."]moduleAssociateSubnetsRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];subnetMappings:SubnetMappings.t[@ocaml.doc"The IDs of the subnets that you want to associate with the firewall."]}letcontext_="AssociateSubnetsRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~subnetMappings->fun()->{updateToken;firewallArn;firewallName;subnetMappings}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("SubnetMappings",(Some(SubnetMappings.to_valuex.subnetMappings)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsubnetMappings=SubnetMappings.of_xml(Xml.child_exn~context:context_xml_arg0"SubnetMappings")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~subnetMappings?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsubnetMappings=field_map_exnjson__"SubnetMappings"SubnetMappings.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~subnetMappings?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates the specified subnets in the Amazon VPC to the firewall. You can specify one subnet for each of the Availability Zones that the VPC spans. This request creates an Network Firewall firewall endpoint in each of the subnets. To enable the firewall's protections, you must also modify the VPC's route tables for each subnet's Availability Zone, to redirect the traffic that's coming into and going out of the zone through the firewall endpoint."]moduleAssociateFirewallPolicyResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];firewallPolicyArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?firewallPolicyArn->fun?updateToken->fun()->{firewallArn;firewallName;firewallPolicyArn;updateToken}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallPolicyArn",(Option.mapx.firewallPolicyArn~f:ResourceArn.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletfirewallPolicyArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallPolicyArn")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?updateToken?firewallPolicyArn?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletfirewallPolicyArn=field_mapjson__"FirewallPolicyArn"ResourceArn.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?updateToken?firewallPolicyArn?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a FirewallPolicy to a Firewall. A firewall policy defines how to monitor and manage your VPC network traffic, using a collection of inspection rule groups and other settings. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls."]moduleAssociateFirewallPolicyRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];firewallPolicyArn:ResourceArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall policy."]}letcontext_="AssociateFirewallPolicyRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~firewallPolicyArn->fun()->{updateToken;firewallArn;firewallName;firewallPolicyArn}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("FirewallPolicyArn",(Some(ResourceArn.to_valuex.firewallPolicyArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallPolicyArn=ResourceArn.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallPolicyArn")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~firewallPolicyArn?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallPolicyArn=field_map_exnjson__"FirewallPolicyArn"ResourceArn.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~firewallPolicyArn?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a FirewallPolicy to a Firewall. A firewall policy defines how to monitor and manage your VPC network traffic, using a collection of inspection rule groups and other settings. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls."]moduleAssociateAvailabilityZonesResponse=structtypenonrect={firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it."];availabilityZoneMappings:AvailabilityZoneMappings.toption[@ocaml.doc"The Availability Zones where Network Firewall created firewall endpoints. Each mapping specifies an Availability Zone where the firewall processes traffic."];updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."]}typenonrecerror=[`InsufficientCapacityExceptionofInsufficientCapacityException.t|`InternalServerErrorofInternalServerError.t|`InvalidOperationExceptionofInvalidOperationException.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTokenExceptionofInvalidTokenException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallArn=fun?firewallName->fun?availabilityZoneMappings->fun?updateToken->fun()->{firewallArn;firewallName;availabilityZoneMappings;updateToken}leterror_of_jsonnamejson=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_jsonjson)|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InsufficientCapacityException"->`InsufficientCapacityException(InsufficientCapacityException.of_xmlxml)|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidOperationException"->`InvalidOperationException(InvalidOperationException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTokenException"->`InvalidTokenException(InvalidTokenException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InsufficientCapacityExceptione->`Assoc[("error",(`String"InsufficientCapacityException"));("details",(InsufficientCapacityException.to_jsone))]|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidOperationExceptione->`Assoc[("error",(`String"InvalidOperationException"));("details",(InvalidOperationException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTokenExceptione->`Assoc[("error",(`String"InvalidTokenException"));("details",(InvalidTokenException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("AvailabilityZoneMappings",(Option.mapx.availabilityZoneMappings~f:AvailabilityZoneMappings.to_value));("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inletavailabilityZoneMappings=(Option.map~f:AvailabilityZoneMappings.of_xml)(Xml.childxml_arg0"AvailabilityZoneMappings")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inmake?updateToken?availabilityZoneMappings?firewallName?firewallArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninletavailabilityZoneMappings=field_mapjson__"AvailabilityZoneMappings"AvailabilityZoneMappings.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninmake?updateToken?availabilityZoneMappings?firewallName?firewallArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates the specified Availability Zones with a transit gateway-attached firewall. For each Availability Zone, Network Firewall creates a firewall endpoint to process traffic. You can specify one or more Availability Zones where you want to deploy the firewall. After adding Availability Zones, you must update your transit gateway route tables to direct traffic through the new firewall endpoints. Use DescribeFirewall to monitor the status of the new endpoints."]moduleAssociateAvailabilityZonesRequest=structtypenonrect={updateToken:UpdateToken.toption[@ocaml.doc"An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it. To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token."];firewallArn:ResourceArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both."];firewallName:ResourceName.toption[@ocaml.doc"The descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both."];availabilityZoneMappings:AvailabilityZoneMappings.t[@ocaml.doc"Required. The Availability Zones where you want to create firewall endpoints. You must specify at least one Availability Zone."]}letcontext_="AssociateAvailabilityZonesRequest"letmake?updateToken=fun?firewallArn->fun?firewallName->fun~availabilityZoneMappings->fun()->{updateToken;firewallArn;firewallName;availabilityZoneMappings}letto_valuex=structure_to_value[("UpdateToken",(Option.mapx.updateToken~f:UpdateToken.to_value));("FirewallArn",(Option.mapx.firewallArn~f:ResourceArn.to_value));("FirewallName",(Option.mapx.firewallName~f:ResourceName.to_value));("AvailabilityZoneMappings",(Some(AvailabilityZoneMappings.to_valuex.availabilityZoneMappings)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letavailabilityZoneMappings=AvailabilityZoneMappings.of_xml(Xml.child_exn~context:context_xml_arg0"AvailabilityZoneMappings")inletfirewallName=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"FirewallName")inletfirewallArn=(Option.map~f:ResourceArn.of_xml)(Xml.childxml_arg0"FirewallArn")inletupdateToken=(Option.map~f:UpdateToken.of_xml)(Xml.childxml_arg0"UpdateToken")inmake~availabilityZoneMappings?firewallName?firewallArn?updateToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letavailabilityZoneMappings=field_map_exnjson__"AvailabilityZoneMappings"AvailabilityZoneMappings.of_jsoninletfirewallName=field_mapjson__"FirewallName"ResourceName.of_jsoninletfirewallArn=field_mapjson__"FirewallArn"ResourceArn.of_jsoninletupdateToken=field_mapjson__"UpdateToken"UpdateToken.of_jsoninmake~availabilityZoneMappings?firewallName?firewallArn?updateToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates the specified Availability Zones with a transit gateway-attached firewall. For each Availability Zone, Network Firewall creates a firewall endpoint to process traffic. You can specify one or more Availability Zones where you want to deploy the firewall. After adding Availability Zones, you must update your transit gateway route tables to direct traffic through the new firewall endpoints. Use DescribeFirewall to monitor the status of the new endpoints."]moduleAcceptNetworkFirewallTransitGatewayAttachmentResponse=structtypenonrect={transitGatewayAttachmentId:TransitGatewayAttachmentId.toption[@ocaml.doc"The unique identifier of the transit gateway attachment that was accepted."];transitGatewayAttachmentStatus:TransitGatewayAttachmentStatus.toption[@ocaml.doc"The current status of the transit gateway attachment. Valid values are: CREATING - The attachment is being created DELETING - The attachment is being deleted DELETED - The attachment has been deleted FAILED - The attachment creation has failed and cannot be recovered ERROR - The attachment is in an error state that might be recoverable READY - The attachment is active and processing traffic PENDING_ACCEPTANCE - The attachment is waiting to be accepted REJECTING - The attachment is in the process of being rejected REJECTED - The attachment has been rejected"]}typenonrecerror=[`InternalServerErrorofInternalServerError.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?transitGatewayAttachmentId=fun?transitGatewayAttachmentStatus->fun()->{transitGatewayAttachmentId;transitGatewayAttachmentStatus}leterror_of_jsonnamejson=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerError"->`InternalServerError(InternalServerError.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`InternalServerErrore->`Assoc[("error",(`String"InternalServerError"));("details",(InternalServerError.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("TransitGatewayAttachmentId",(Option.mapx.transitGatewayAttachmentId~f:TransitGatewayAttachmentId.to_value));("TransitGatewayAttachmentStatus",(Option.mapx.transitGatewayAttachmentStatus~f:TransitGatewayAttachmentStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentStatus=(Option.map~f:TransitGatewayAttachmentStatus.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentStatus")inlettransitGatewayAttachmentId=(Option.map~f:TransitGatewayAttachmentId.of_xml)(Xml.childxml_arg0"TransitGatewayAttachmentId")inmake?transitGatewayAttachmentStatus?transitGatewayAttachmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentStatus=field_mapjson__"TransitGatewayAttachmentStatus"TransitGatewayAttachmentStatus.of_jsoninlettransitGatewayAttachmentId=field_mapjson__"TransitGatewayAttachmentId"TransitGatewayAttachmentId.of_jsoninmake?transitGatewayAttachmentStatus?transitGatewayAttachmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Accepts a transit gateway attachment request for Network Firewall. When you accept the attachment request, Network Firewall creates the necessary routing components to enable traffic flow between the transit gateway and firewall endpoints. You must accept a transit gateway attachment to complete the creation of a transit gateway-attached firewall, unless auto-accept is enabled on the transit gateway. After acceptance, use DescribeFirewall to verify the firewall status. To reject an attachment instead of accepting it, use RejectNetworkFirewallTransitGatewayAttachment. It can take several minutes for the attachment acceptance to complete and the firewall to become available."]moduleAcceptNetworkFirewallTransitGatewayAttachmentRequest=structtypenonrect={transitGatewayAttachmentId:TransitGatewayAttachmentId.t[@ocaml.doc"Required. The unique identifier of the transit gateway attachment to accept. This ID is returned in the response when creating a transit gateway-attached firewall."]}letcontext_="AcceptNetworkFirewallTransitGatewayAttachmentRequest"letmake~transitGatewayAttachmentId=fun()->{transitGatewayAttachmentId}letto_valuex=structure_to_value[("TransitGatewayAttachmentId",(Some(TransitGatewayAttachmentId.to_valuex.transitGatewayAttachmentId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransitGatewayAttachmentId=TransitGatewayAttachmentId.of_xml(Xml.child_exn~context:context_xml_arg0"TransitGatewayAttachmentId")inmake~transitGatewayAttachmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransitGatewayAttachmentId=field_map_exnjson__"TransitGatewayAttachmentId"TransitGatewayAttachmentId.of_jsoninmake~transitGatewayAttachmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Accepts a transit gateway attachment request for Network Firewall. When you accept the attachment request, Network Firewall creates the necessary routing components to enable traffic flow between the transit gateway and firewall endpoints. You must accept a transit gateway attachment to complete the creation of a transit gateway-attached firewall, unless auto-accept is enabled on the transit gateway. After acceptance, use DescribeFirewall to verify the firewall status. To reject an attachment instead of accepting it, use RejectNetworkFirewallTransitGatewayAttachment. It can take several minutes for the attachment acceptance to complete and the firewall to become available."]