1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101(* 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.route53resolverletapiVersion="2018-04-01"letendpointPrefix="route53resolver"letserviceFullName="Amazon Route 53 Resolver"letsignatureVersion="v4"letprotocol="json"letglobalEndpoint=endpointPrefix^".amazonaws.com"letserviceAbbreviation="Route53Resolver"lettargetPrefix="Route53Resolver"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[]))])moduleIp=structtypenonrect=stringletcontext_="Ip"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:36)>>=(fun()->check_string_mini~min:7));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Ip"jletto_json=simple_to_jsonto_valueendmoduleIpv6=structtypenonrect=stringletcontext_="Ipv6"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:39)>>=(fun()->check_string_mini~min:7));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Ipv6"jletto_json=simple_to_jsonto_valueendmodulePort=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 Port"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleProtocol=structtypenonrect=|DoH|Do53|DoH_FIPS|Non_static_idofstringletmakei=iletto_string=function|DoH->"DoH"|Do53->"Do53"|DoH_FIPS->"DoH-FIPS"|Non_static_ids->sletof_string=function|"DoH"->DoH|"Do53"->Do53|"DoH-FIPS"->DoH_FIPS|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 Protocol"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Protocol"j)letto_json=simple_to_jsonto_valueendmoduleServerNameIndication=structtypenonrect=stringletcontext_="ServerNameIndication"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(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:"ServerNameIndication"jletto_json=simple_to_jsonto_valueendmoduleTargetAddress=structtypenonrect={ip:Ip.toption[@ocaml.doc"One IPv4 address that you want to forward DNS queries to."];port:Port.toption[@ocaml.doc"The port at Ip that you want to forward DNS queries to."];ipv6:Ipv6.toption[@ocaml.doc"One IPv6 address that you want to forward DNS queries to."];protocol:Protocol.toption[@ocaml.doc"The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule."];serverNameIndication:ServerNameIndication.toption[@ocaml.doc"The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of the TargetAddress is DoH."]}letmake?ip=fun?port->fun?ipv6->fun?protocol->fun?serverNameIndication->fun()->{ip;port;ipv6;protocol;serverNameIndication}letto_valuex=structure_to_value[("Ip",(Option.mapx.ip~f:Ip.to_value));("Port",(Option.mapx.port~f:Port.to_value));("Ipv6",(Option.mapx.ipv6~f:Ipv6.to_value));("Protocol",(Option.mapx.protocol~f:Protocol.to_value));("ServerNameIndication",(Option.mapx.serverNameIndication~f:ServerNameIndication.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverNameIndication=(Option.map~f:ServerNameIndication.of_xml)(Xml.childxml_arg0"ServerNameIndication")inletprotocol=(Option.map~f:Protocol.of_xml)(Xml.childxml_arg0"Protocol")inletipv6=(Option.map~f:Ipv6.of_xml)(Xml.childxml_arg0"Ipv6")inletport=(Option.map~f:Port.of_xml)(Xml.childxml_arg0"Port")inletip=(Option.map~f:Ip.of_xml)(Xml.childxml_arg0"Ip")inmake?serverNameIndication?protocol?ipv6?port?ip()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverNameIndication=field_mapjson__"ServerNameIndication"ServerNameIndication.of_jsoninletprotocol=field_mapjson__"Protocol"Protocol.of_jsoninletipv6=field_mapjson__"Ipv6"Ipv6.of_jsoninletport=field_mapjson__"Port"Port.of_jsoninletip=field_mapjson__"Ip"Ip.of_jsoninmake?serverNameIndication?protocol?ipv6?port?ip()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to."]moduleFilterValue=structtypenonrect=stringletcontext_="FilterValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:600)>>=(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:"FilterValue"jletto_json=simple_to_jsonto_valueendmoduleResourceId=structtypenonrect=stringletcontext_="ResourceId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(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:"ResourceId"jletto_json=simple_to_jsonto_valueendmoduleTagKey=structtypenonrect=stringletcontext_="TagKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:128)>>=(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:"TagKey"jletto_json=simple_to_jsonto_valueendmoduleTagValue=structtypenonrect=stringletcontext_="TagValue"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(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:"TagValue"jletto_json=simple_to_jsonto_valueendmoduleAccountId=structtypenonrect=stringletcontext_="AccountId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:32)>>=(fun()->check_string_mini~min: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:"AccountId"jletto_json=simple_to_jsonto_valueendmoduleArn=structtypenonrect=stringletcontext_="Arn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(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:"Arn"jletto_json=simple_to_jsonto_valueendmoduleCreatorRequestId=structtypenonrect=stringletcontext_="CreatorRequestId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(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:"CreatorRequestId"jletto_json=simple_to_jsonto_valueendmoduleDelegationRecord=structtypenonrect=stringletcontext_="DelegationRecord"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(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:"DelegationRecord"jletto_json=simple_to_jsonto_valueendmoduleDomainName=structtypenonrect=stringletcontext_="DomainName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:256)>>=(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:"DomainName"jletto_json=simple_to_jsonto_valueendmoduleName=structtypenonrect=stringletcontext_="Name"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"(?!^[0-9]+$)([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:"Name"jletto_json=simple_to_jsonto_valueendmoduleResolverRuleStatus=structtypenonrect=|COMPLETE|DELETING|UPDATING|FAILED|Non_static_idofstringletmakei=iletto_string=function|COMPLETE->"COMPLETE"|DELETING->"DELETING"|UPDATING->"UPDATING"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"COMPLETE"->COMPLETE|"DELETING"->DELETING|"UPDATING"->UPDATING|"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 ResolverRuleStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverRuleStatus"j)letto_json=simple_to_jsonto_valueendmoduleRfc3339TimeString=structtypenonrect=stringletcontext_="Rfc3339TimeString"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:40)>>=(fun()->check_string_mini~min:20));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Rfc3339TimeString"jletto_json=simple_to_jsonto_valueendmoduleRuleTypeOption=structtypenonrect=|FORWARD|SYSTEM|RECURSIVE|DELEGATE|Non_static_idofstringletmakei=iletto_string=function|FORWARD->"FORWARD"|SYSTEM->"SYSTEM"|RECURSIVE->"RECURSIVE"|DELEGATE->"DELEGATE"|Non_static_ids->sletof_string=function|"FORWARD"->FORWARD|"SYSTEM"->SYSTEM|"RECURSIVE"->RECURSIVE|"DELEGATE"->DELEGATE|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 RuleTypeOption"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RuleTypeOption"j)letto_json=simple_to_jsonto_valueendmoduleShareStatus=structtypenonrect=|NOT_SHARED|SHARED_WITH_ME|SHARED_BY_ME|Non_static_idofstringletmakei=iletto_string=function|NOT_SHARED->"NOT_SHARED"|SHARED_WITH_ME->"SHARED_WITH_ME"|SHARED_BY_ME->"SHARED_BY_ME"|Non_static_ids->sletof_string=function|"NOT_SHARED"->NOT_SHARED|"SHARED_WITH_ME"->SHARED_WITH_ME|"SHARED_BY_ME"->SHARED_BY_ME|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 ShareStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ShareStatus"j)letto_json=simple_to_jsonto_valueendmoduleStatusMessage=structtypenonrect=stringletcontext_="StatusMessage"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:255);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_valueendmoduleTargetList=structtypenonrect=TargetAddress.tlistletmakei=letopenResultinok_or_failwith(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:TargetAddress.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:TargetAddress.of_xml)letof_jsonj=list_of_json~kind:"TargetList"~of_json:TargetAddress.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFilterName=structtypenonrect=stringletcontext_="FilterName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(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:"FilterName"jletto_json=simple_to_jsonto_valueendmoduleFilterValues=structtypenonrect=FilterValue.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FilterValue.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:FilterValue.of_xml)letof_jsonj=list_of_json~kind:"FilterValues"~of_json:FilterValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResolverRuleAssociationStatus=structtypenonrect=|CREATING|COMPLETE|DELETING|FAILED|OVERRIDDEN|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|COMPLETE->"COMPLETE"|DELETING->"DELETING"|FAILED->"FAILED"|OVERRIDDEN->"OVERRIDDEN"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"COMPLETE"->COMPLETE|"DELETING"->DELETING|"FAILED"->FAILED|"OVERRIDDEN"->OVERRIDDEN|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 ResolverRuleAssociationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverRuleAssociationStatus"j)letto_json=simple_to_jsonto_valueendmoduleCount=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_valueendmoduleDestinationArn=structtypenonrect=stringletcontext_="DestinationArn"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:600)>>=(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:"DestinationArn"jletto_json=simple_to_jsonto_valueendmoduleResolverQueryLogConfigName=structtypenonrect=stringletcontext_="ResolverQueryLogConfigName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:"(?!^[0-9]+$)([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:"ResolverQueryLogConfigName"jletto_json=simple_to_jsonto_valueendmoduleResolverQueryLogConfigStatus=structtypenonrect=|CREATING|CREATED|DELETING|FAILED|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|CREATED->"CREATED"|DELETING->"DELETING"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"CREATED"->CREATED|"DELETING"->DELETING|"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 ResolverQueryLogConfigStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverQueryLogConfigStatus"j)letto_json=simple_to_jsonto_valueendmoduleResolverQueryLogConfigAssociationError=structtypenonrect=|NONE|DESTINATION_NOT_FOUND|ACCESS_DENIED|INTERNAL_SERVICE_ERROR|Non_static_idofstringletmakei=iletto_string=function|NONE->"NONE"|DESTINATION_NOT_FOUND->"DESTINATION_NOT_FOUND"|ACCESS_DENIED->"ACCESS_DENIED"|INTERNAL_SERVICE_ERROR->"INTERNAL_SERVICE_ERROR"|Non_static_ids->sletof_string=function|"NONE"->NONE|"DESTINATION_NOT_FOUND"->DESTINATION_NOT_FOUND|"ACCESS_DENIED"->ACCESS_DENIED|"INTERNAL_SERVICE_ERROR"->INTERNAL_SERVICE_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 ResolverQueryLogConfigAssociationError"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverQueryLogConfigAssociationError"j)letto_json=simple_to_jsonto_valueendmoduleResolverQueryLogConfigAssociationErrorMessage=structtypenonrect=stringletcontext_="ResolverQueryLogConfigAssociationErrorMessage"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:"ResolverQueryLogConfigAssociationErrorMessage"jletto_json=simple_to_jsonto_valueendmoduleResolverQueryLogConfigAssociationStatus=structtypenonrect=|CREATING|ACTIVE|ACTION_NEEDED|DELETING|FAILED|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|ACTIVE->"ACTIVE"|ACTION_NEEDED->"ACTION_NEEDED"|DELETING->"DELETING"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"ACTIVE"->ACTIVE|"ACTION_NEEDED"->ACTION_NEEDED|"DELETING"->DELETING|"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 ResolverQueryLogConfigAssociationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverQueryLogConfigAssociationStatus"j)letto_json=simple_to_jsonto_valueendmoduleDns64Enabled=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_valueendmoduleIpAddressCount=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 IpAddressCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleIpv6InternetAccessEnabled=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_valueendmoduleOutpostArn=structtypenonrect=stringletcontext_="OutpostArn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:255)>>=(fun()->check_patterni~pattern:"^arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:outpost/op-[a-f0-9]{17}$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OutpostArn"jletto_json=simple_to_jsonto_valueendmoduleOutpostInstanceType=structtypenonrect=stringletcontext_="OutpostInstanceType"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(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:"OutpostInstanceType"jletto_json=simple_to_jsonto_valueendmoduleProtocolList=structtypenonrect=Protocol.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:2)>>=(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:Protocol.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:Protocol.of_xml)letof_jsonj=list_of_json~kind:"ProtocolList"~of_json:Protocol.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResolverEndpointDirection=structtypenonrect=|INBOUND|OUTBOUND|INBOUND_DELEGATION|Non_static_idofstringletmakei=iletto_string=function|INBOUND->"INBOUND"|OUTBOUND->"OUTBOUND"|INBOUND_DELEGATION->"INBOUND_DELEGATION"|Non_static_ids->sletof_string=function|"INBOUND"->INBOUND|"OUTBOUND"->OUTBOUND|"INBOUND_DELEGATION"->INBOUND_DELEGATION|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 ResolverEndpointDirection"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverEndpointDirection"j)letto_json=simple_to_jsonto_valueendmoduleResolverEndpointStatus=structtypenonrect=|CREATING|OPERATIONAL|UPDATING|AUTO_RECOVERING|ACTION_NEEDED|DELETING|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|OPERATIONAL->"OPERATIONAL"|UPDATING->"UPDATING"|AUTO_RECOVERING->"AUTO_RECOVERING"|ACTION_NEEDED->"ACTION_NEEDED"|DELETING->"DELETING"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"OPERATIONAL"->OPERATIONAL|"UPDATING"->UPDATING|"AUTO_RECOVERING"->AUTO_RECOVERING|"ACTION_NEEDED"->ACTION_NEEDED|"DELETING"->DELETING|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 ResolverEndpointStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverEndpointStatus"j)letto_json=simple_to_jsonto_valueendmoduleResolverEndpointType=structtypenonrect=|IPV6|IPV4|DUALSTACK|Non_static_idofstringletmakei=iletto_string=function|IPV6->"IPV6"|IPV4->"IPV4"|DUALSTACK->"DUALSTACK"|Non_static_ids->sletof_string=function|"IPV6"->IPV6|"IPV4"->IPV4|"DUALSTACK"->DUALSTACK|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 ResolverEndpointType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverEndpointType"j)letto_json=simple_to_jsonto_valueendmoduleRniEnhancedMetricsEnabled=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_valueendmoduleSecurityGroupIds=structtypenonrect=ResourceId.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResourceId.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:ResourceId.of_xml)letof_jsonj=list_of_json~kind:"SecurityGroupIds"~of_json:ResourceId.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTargetNameServerMetricsEnabled=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_valueendmoduleIpAddressStatus=structtypenonrect=|CREATING|FAILED_CREATION|ATTACHING|ATTACHED|REMAP_DETACHING|REMAP_ATTACHING|DETACHING|FAILED_RESOURCE_GONE|DELETING|DELETE_FAILED_FAS_EXPIRED|UPDATING|UPDATE_FAILED|ISOLATED|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|FAILED_CREATION->"FAILED_CREATION"|ATTACHING->"ATTACHING"|ATTACHED->"ATTACHED"|REMAP_DETACHING->"REMAP_DETACHING"|REMAP_ATTACHING->"REMAP_ATTACHING"|DETACHING->"DETACHING"|FAILED_RESOURCE_GONE->"FAILED_RESOURCE_GONE"|DELETING->"DELETING"|DELETE_FAILED_FAS_EXPIRED->"DELETE_FAILED_FAS_EXPIRED"|UPDATING->"UPDATING"|UPDATE_FAILED->"UPDATE_FAILED"|ISOLATED->"ISOLATED"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"FAILED_CREATION"->FAILED_CREATION|"ATTACHING"->ATTACHING|"ATTACHED"->ATTACHED|"REMAP_DETACHING"->REMAP_DETACHING|"REMAP_ATTACHING"->REMAP_ATTACHING|"DETACHING"->DETACHING|"FAILED_RESOURCE_GONE"->FAILED_RESOURCE_GONE|"DELETING"->DELETING|"DELETE_FAILED_FAS_EXPIRED"->DELETE_FAILED_FAS_EXPIRED|"UPDATING"->UPDATING|"UPDATE_FAILED"->UPDATE_FAILED|"ISOLATED"->ISOLATED|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 IpAddressStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"IpAddressStatus"j)letto_json=simple_to_jsonto_valueendmoduleSubnetId=structtypenonrect=stringletcontext_="SubnetId"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:32)>>=(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:"SubnetId"jletto_json=simple_to_jsonto_valueendmoduleResolverDNSSECValidationStatus=structtypenonrect=|ENABLING|ENABLED|DISABLING|DISABLED|UPDATING_TO_USE_LOCAL_RESOURCE_SETTING|USE_LOCAL_RESOURCE_SETTING|Non_static_idofstringletmakei=iletto_string=function|ENABLING->"ENABLING"|ENABLED->"ENABLED"|DISABLING->"DISABLING"|DISABLED->"DISABLED"|UPDATING_TO_USE_LOCAL_RESOURCE_SETTING->"UPDATING_TO_USE_LOCAL_RESOURCE_SETTING"|USE_LOCAL_RESOURCE_SETTING->"USE_LOCAL_RESOURCE_SETTING"|Non_static_ids->sletof_string=function|"ENABLING"->ENABLING|"ENABLED"->ENABLED|"DISABLING"->DISABLING|"DISABLED"->DISABLED|"UPDATING_TO_USE_LOCAL_RESOURCE_SETTING"->UPDATING_TO_USE_LOCAL_RESOURCE_SETTING|"USE_LOCAL_RESOURCE_SETTING"->USE_LOCAL_RESOURCE_SETTING|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 ResolverDNSSECValidationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverDNSSECValidationStatus"j)letto_json=simple_to_jsonto_valueendmoduleResolverAutodefinedReverseStatus=structtypenonrect=|ENABLING|ENABLED|DISABLING|DISABLED|UPDATING_TO_USE_LOCAL_RESOURCE_SETTING|USE_LOCAL_RESOURCE_SETTING|Non_static_idofstringletmakei=iletto_string=function|ENABLING->"ENABLING"|ENABLED->"ENABLED"|DISABLING->"DISABLING"|DISABLED->"DISABLED"|UPDATING_TO_USE_LOCAL_RESOURCE_SETTING->"UPDATING_TO_USE_LOCAL_RESOURCE_SETTING"|USE_LOCAL_RESOURCE_SETTING->"USE_LOCAL_RESOURCE_SETTING"|Non_static_ids->sletof_string=function|"ENABLING"->ENABLING|"ENABLED"->ENABLED|"DISABLING"->DISABLING|"DISABLED"->DISABLED|"UPDATING_TO_USE_LOCAL_RESOURCE_SETTING"->UPDATING_TO_USE_LOCAL_RESOURCE_SETTING|"USE_LOCAL_RESOURCE_SETTING"->USE_LOCAL_RESOURCE_SETTING|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 ResolverAutodefinedReverseStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResolverAutodefinedReverseStatus"j)letto_json=simple_to_jsonto_valueendmoduleInstanceCount=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 InstanceCount"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleOutpostResolverName=structtypenonrect=stringletcontext_="OutpostResolverName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(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:"OutpostResolverName"jletto_json=simple_to_jsonto_valueendmoduleOutpostResolverStatus=structtypenonrect=|CREATING|OPERATIONAL|UPDATING|DELETING|ACTION_NEEDED|FAILED_CREATION|FAILED_DELETION|Non_static_idofstringletmakei=iletto_string=function|CREATING->"CREATING"|OPERATIONAL->"OPERATIONAL"|UPDATING->"UPDATING"|DELETING->"DELETING"|ACTION_NEEDED->"ACTION_NEEDED"|FAILED_CREATION->"FAILED_CREATION"|FAILED_DELETION->"FAILED_DELETION"|Non_static_ids->sletof_string=function|"CREATING"->CREATING|"OPERATIONAL"->OPERATIONAL|"UPDATING"->UPDATING|"DELETING"->DELETING|"ACTION_NEEDED"->ACTION_NEEDED|"FAILED_CREATION"->FAILED_CREATION|"FAILED_DELETION"->FAILED_DELETION|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 OutpostResolverStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OutpostResolverStatus"j)letto_json=simple_to_jsonto_valueendmoduleOutpostResolverStatusMessage=structtypenonrect=stringletcontext_="OutpostResolverStatusMessage"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:4096);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OutpostResolverStatusMessage"jletto_json=simple_to_jsonto_valueendmoduleAction=structtypenonrect=|ALLOW|BLOCK|ALERT|Non_static_idofstringletmakei=iletto_string=function|ALLOW->"ALLOW"|BLOCK->"BLOCK"|ALERT->"ALERT"|Non_static_ids->sletof_string=function|"ALLOW"->ALLOW|"BLOCK"->BLOCK|"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 Action"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Action"j)letto_json=simple_to_jsonto_valueendmoduleBlockOverrideDnsType=structtypenonrect=|CNAME|Non_static_idofstringletmakei=iletto_string=function|CNAME->"CNAME"|Non_static_ids->sletof_string=function|"CNAME"->CNAME|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 BlockOverrideDnsType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BlockOverrideDnsType"j)letto_json=simple_to_jsonto_valueendmoduleBlockOverrideDomain=structtypenonrect=stringletcontext_="BlockOverrideDomain"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(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:"BlockOverrideDomain"jletto_json=simple_to_jsonto_valueendmoduleBlockResponse=structtypenonrect=|NODATA|NXDOMAIN|OVERRIDE|Non_static_idofstringletmakei=iletto_string=function|NODATA->"NODATA"|NXDOMAIN->"NXDOMAIN"|OVERRIDE->"OVERRIDE"|Non_static_ids->sletof_string=function|"NODATA"->NODATA|"NXDOMAIN"->NXDOMAIN|"OVERRIDE"->OVERRIDE|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 BlockResponse"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BlockResponse"j)letto_json=simple_to_jsonto_valueendmoduleConfidenceThreshold=structtypenonrect=|LOW|MEDIUM|HIGH|Non_static_idofstringletmakei=iletto_string=function|LOW->"LOW"|MEDIUM->"MEDIUM"|HIGH->"HIGH"|Non_static_ids->sletof_string=function|"LOW"->LOW|"MEDIUM"->MEDIUM|"HIGH"->HIGH|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 ConfidenceThreshold"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ConfidenceThreshold"j)letto_json=simple_to_jsonto_valueendmoduleDnsThreatProtection=structtypenonrect=|DGA|DNS_TUNNELING|DICTIONARY_DGA|Non_static_idofstringletmakei=iletto_string=function|DGA->"DGA"|DNS_TUNNELING->"DNS_TUNNELING"|DICTIONARY_DGA->"DICTIONARY_DGA"|Non_static_ids->sletof_string=function|"DGA"->DGA|"DNS_TUNNELING"->DNS_TUNNELING|"DICTIONARY_DGA"->DICTIONARY_DGA|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 DnsThreatProtection"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DnsThreatProtection"j)letto_json=simple_to_jsonto_valueendmoduleFirewallDomainRedirectionAction=structtypenonrect=|INSPECT_REDIRECTION_DOMAIN|TRUST_REDIRECTION_DOMAIN|Non_static_idofstringletmakei=iletto_string=function|INSPECT_REDIRECTION_DOMAIN->"INSPECT_REDIRECTION_DOMAIN"|TRUST_REDIRECTION_DOMAIN->"TRUST_REDIRECTION_DOMAIN"|Non_static_ids->sletof_string=function|"INSPECT_REDIRECTION_DOMAIN"->INSPECT_REDIRECTION_DOMAIN|"TRUST_REDIRECTION_DOMAIN"->TRUST_REDIRECTION_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 FirewallDomainRedirectionAction"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FirewallDomainRedirectionAction"j)letto_json=simple_to_jsonto_valueendmodulePriority=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 Priority"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleQtype=structtypenonrect=stringletcontext_="Qtype"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:16)>>=(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:"Qtype"jletto_json=simple_to_jsonto_valueendmoduleUnsigned=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 Unsigned"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleFirewallRuleGroupAssociationStatus=structtypenonrect=|COMPLETE|DELETING|UPDATING|Non_static_idofstringletmakei=iletto_string=function|COMPLETE->"COMPLETE"|DELETING->"DELETING"|UPDATING->"UPDATING"|Non_static_ids->sletof_string=function|"COMPLETE"->COMPLETE|"DELETING"->DELETING|"UPDATING"->UPDATING|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 FirewallRuleGroupAssociationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FirewallRuleGroupAssociationStatus"j)letto_json=simple_to_jsonto_valueendmoduleMutationProtectionStatus=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 MutationProtectionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"MutationProtectionStatus"j)letto_json=simple_to_jsonto_valueendmoduleServicePrinciple=structtypenonrect=stringletcontext_="ServicePrinciple"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:512)>>=(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:"ServicePrinciple"jletto_json=simple_to_jsonto_valueendmoduleFirewallFailOpenStatus=structtypenonrect=|ENABLED|DISABLED|USE_LOCAL_RESOURCE_SETTING|Non_static_idofstringletmakei=iletto_string=function|ENABLED->"ENABLED"|DISABLED->"DISABLED"|USE_LOCAL_RESOURCE_SETTING->"USE_LOCAL_RESOURCE_SETTING"|Non_static_ids->sletof_string=function|"ENABLED"->ENABLED|"DISABLED"->DISABLED|"USE_LOCAL_RESOURCE_SETTING"->USE_LOCAL_RESOURCE_SETTING|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 FirewallFailOpenStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FirewallFailOpenStatus"j)letto_json=simple_to_jsonto_valueendmoduleExceptionMessage=structtypenonrect=stringletcontext_="ExceptionMessage"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:"ExceptionMessage"jletto_json=simple_to_jsonto_valueendmoduleString_=structtypenonrect=stringletcontext_="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:"String"jletto_json=simple_to_jsonto_valueendmoduleUpdateIpAddress=structtypenonrect={ipId:ResourceId.t[@ocaml.doc"The ID of the IP address, specified by the ResolverEndpointId."];ipv6:Ipv6.t[@ocaml.doc"The IPv6 address that you want to use for DNS queries."]}letcontext_="UpdateIpAddress"letmake~ipId=fun~ipv6->fun()->{ipId;ipv6}letto_valuex=structure_to_value[("IpId",(Some(ResourceId.to_valuex.ipId)));("Ipv6",(Some(Ipv6.to_valuex.ipv6)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipv6=Ipv6.of_xml(Xml.child_exn~context:context_xml_arg0"Ipv6")inletipId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"IpId")inmake~ipv6~ipId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipv6=field_map_exnjson__"Ipv6"Ipv6.of_jsoninletipId=field_map_exnjson__"IpId"ResourceId.of_jsoninmake~ipv6~ipId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides information about the IP address type in response to UpdateResolverEndpoint."]moduleFirewallDomainName=structtypenonrect=stringletcontext_="FirewallDomainName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:255)>>=(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:"FirewallDomainName"jletto_json=simple_to_jsonto_valueendmoduleTag=structtypenonrect={key:TagKey.t[@ocaml.doc"The name for the tag. For example, if you want to associate Resolver resources with the account IDs of your customers for billing purposes, the value of Key might be account-id."];value:TagValue.t[@ocaml.doc"The value for the tag. For example, if Key is account-id, then Value might be the ID of the customer account that you're creating the resource for."]}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"One tag that you want to add to the specified resource. A tag consists of a Key (a name for the tag) and a Value."]moduleResolverRule=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID that Resolver assigned to the Resolver rule when you created it."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string that you specified when you created the Resolver rule. CreatorRequestId identifies the request and allows failed requests to be retried without the risk of running the operation twice."];arn:Arn.toption[@ocaml.doc"The ARN (Amazon Resource Name) for the Resolver rule specified by Id."];domainName:DomainName.toption[@ocaml.doc"DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps. If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com)."];status:ResolverRuleStatus.toption[@ocaml.doc"A code that specifies the current status of the Resolver rule."];statusMessage:StatusMessage.toption[@ocaml.doc"A detailed description of the status of a Resolver rule."];ruleType:RuleTypeOption.toption[@ocaml.doc"When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD or DELEGATE. If a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains the most specific domain name (www.example.com). When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM. For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify FORWARD for RuleType. To then have Resolver process queries for apex.example.com, you create a rule and specify SYSTEM for RuleType. Currently, only Resolver can create rules that have a value of RECURSIVE for RuleType."];name:Name.toption[@ocaml.doc"The name for the Resolver rule, which you specified when you created the Resolver rule. The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers."];targetIps:TargetList.toption[@ocaml.doc"An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network."];resolverEndpointId:ResourceId.toption[@ocaml.doc"The ID of the endpoint that the rule is associated with."];ownerId:AccountId.toption[@ocaml.doc"When a rule is shared with another Amazon Web Services account, the account ID of the account that the rule is shared with."];shareStatus:ShareStatus.toption[@ocaml.doc"Whether the rule is shared and, if so, whether the current account is sharing the rule with another account, or another account is sharing the rule with the current account."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the Resolver rule was created, in Unix time format and Coordinated Universal Time (UTC)."];modificationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the Resolver rule was last updated, in Unix time format and Coordinated Universal Time (UTC)."];delegationRecord:DelegationRecord.toption[@ocaml.doc"DNS queries with delegation records that point to this domain name are forwarded to resolvers on your network."]}letmake?id=fun?creatorRequestId->fun?arn->fun?domainName->fun?status->fun?statusMessage->fun?ruleType->fun?name->fun?targetIps->fun?resolverEndpointId->fun?ownerId->fun?shareStatus->fun?creationTime->fun?modificationTime->fun?delegationRecord->fun()->{id;creatorRequestId;arn;domainName;status;statusMessage;ruleType;name;targetIps;resolverEndpointId;ownerId;shareStatus;creationTime;modificationTime;delegationRecord}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("DomainName",(Option.mapx.domainName~f:DomainName.to_value));("Status",(Option.mapx.status~f:ResolverRuleStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("RuleType",(Option.mapx.ruleType~f:RuleTypeOption.to_value));("Name",(Option.mapx.name~f:Name.to_value));("TargetIps",(Option.mapx.targetIps~f:TargetList.to_value));("ResolverEndpointId",(Option.mapx.resolverEndpointId~f:ResourceId.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("ShareStatus",(Option.mapx.shareStatus~f:ShareStatus.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339TimeString.to_value));("DelegationRecord",(Option.mapx.delegationRecord~f:DelegationRecord.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdelegationRecord=(Option.map~f:DelegationRecord.of_xml)(Xml.childxml_arg0"DelegationRecord")inletmodificationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"ModificationTime")inletcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletshareStatus=(Option.map~f:ShareStatus.of_xml)(Xml.childxml_arg0"ShareStatus")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletresolverEndpointId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResolverEndpointId")inlettargetIps=(Option.map~f:TargetList.of_xml)(Xml.childxml_arg0"TargetIps")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletruleType=(Option.map~f:RuleTypeOption.of_xml)(Xml.childxml_arg0"RuleType")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:ResolverRuleStatus.of_xml)(Xml.childxml_arg0"Status")inletdomainName=(Option.map~f:DomainName.of_xml)(Xml.childxml_arg0"DomainName")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?delegationRecord?modificationTime?creationTime?shareStatus?ownerId?resolverEndpointId?targetIps?name?ruleType?statusMessage?status?domainName?arn?creatorRequestId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdelegationRecord=field_mapjson__"DelegationRecord"DelegationRecord.of_jsoninletmodificationTime=field_mapjson__"ModificationTime"Rfc3339TimeString.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletshareStatus=field_mapjson__"ShareStatus"ShareStatus.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletresolverEndpointId=field_mapjson__"ResolverEndpointId"ResourceId.of_jsoninlettargetIps=field_mapjson__"TargetIps"TargetList.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletruleType=field_mapjson__"RuleType"RuleTypeOption.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"ResolverRuleStatus.of_jsoninletdomainName=field_mapjson__"DomainName"DomainName.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?delegationRecord?modificationTime?creationTime?shareStatus?ownerId?resolverEndpointId?targetIps?name?ruleType?statusMessage?status?domainName?arn?creatorRequestId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For queries that originate in your VPC, detailed information about a Resolver rule, which specifies how to route DNS queries out of the VPC. The ResolverRule parameter appears in the response to a CreateResolverRule, DeleteResolverRule, GetResolverRule, ListResolverRules, or UpdateResolverRule request."]moduleFilter=structtypenonrect={name:FilterName.toption[@ocaml.doc"The name of the parameter that you want to use to filter objects. The valid values for Name depend on the action that you're including the filter in, ListResolverEndpoints, ListResolverRules, ListResolverRuleAssociations, ListResolverQueryLogConfigs, or ListResolverQueryLogConfigAssociations. In early versions of Resolver, values for Name were listed as uppercase, with underscore (_) delimiters. For example, CreatorRequestId was originally listed as CREATOR_REQUEST_ID. Uppercase values for Name are still supported. ListResolverEndpoints Valid values for Name include the following: CreatorRequestId: The value that you specified when you created the Resolver endpoint. Direction: Whether you want to return inbound or outbound Resolver endpoints. If you specify DIRECTION for Name, specify INBOUND or OUTBOUND for Values. HostVPCId: The ID of the VPC that inbound DNS queries pass through on the way from your network to your VPCs in a region, or the VPC that outbound queries pass through on the way from your VPCs to your network. In a CreateResolverEndpoint request, SubnetId indirectly identifies the VPC. In a GetResolverEndpoint request, the VPC ID for a Resolver endpoint is returned in the HostVPCId element. IpAddressCount: The number of IP addresses that you have associated with the Resolver endpoint. Name: The name of the Resolver endpoint. SecurityGroupIds: The IDs of the VPC security groups that you specified when you created the Resolver endpoint. Status: The status of the Resolver endpoint. If you specify Status for Name, specify one of the following status codes for Values: CREATING, OPERATIONAL, UPDATING, AUTO_RECOVERING, ACTION_NEEDED, or DELETING. For more information, see Status in ResolverEndpoint. ListResolverRules Valid values for Name include the following: CreatorRequestId: The value that you specified when you created the Resolver rule. DomainName: The domain name for which Resolver is forwarding DNS queries to your network. In the value that you specify for Values, include a trailing dot (.) after the domain name. For example, if the domain name is example.com, specify the following value. Note the \".\" after com: example.com. Name: The name of the Resolver rule. ResolverEndpointId: The ID of the Resolver endpoint that the Resolver rule is associated with. You can filter on the Resolver endpoint only for rules that have a value of FORWARD for RuleType. Status: The status of the Resolver rule. If you specify Status for Name, specify one of the following status codes for Values: COMPLETE, DELETING, UPDATING, or FAILED. Type: The type of the Resolver rule. If you specify TYPE for Name, specify FORWARD or SYSTEM for Values. ListResolverRuleAssociations Valid values for Name include the following: Name: The name of the Resolver rule association. ResolverRuleId: The ID of the Resolver rule that is associated with one or more VPCs. Status: The status of the Resolver rule association. If you specify Status for Name, specify one of the following status codes for Values: CREATING, COMPLETE, DELETING, or FAILED. VPCId: The ID of the VPC that the Resolver rule is associated with. ListResolverQueryLogConfigs Valid values for Name include the following: Arn: The ARN for the query logging configuration. AssociationCount: The number of VPCs that are associated with the query logging configuration. CreationTime: The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC). CreatorRequestId: A unique string that identifies the request that created the query logging configuration. Destination: The Amazon Web Services service that you want to forward query logs to. Valid values include the following: S3 CloudWatchLogs KinesisFirehose DestinationArn: The ARN of the location that Resolver is sending query logs to. This value can be the ARN for an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Id: The ID of the query logging configuration Name: The name of the query logging configuration OwnerId: The Amazon Web Services account ID for the account that created the query logging configuration. ShareStatus: An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Valid values include: NOT_SHARED, SHARED_WITH_ME, or SHARED_BY_ME. Status: The status of the query logging configuration. If you specify Status for Name, specify the applicable status code for Values: CREATING, CREATED, DELETING, or FAILED. For more information, see Status. ListResolverQueryLogConfigAssociations Valid values for Name include the following: CreationTime: The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC). Error: If the value of Status is FAILED, specify the cause: DESTINATION_NOT_FOUND or ACCESS_DENIED. Id: The ID of the query logging association. ResolverQueryLogConfigId: The ID of the query logging configuration that a VPC is associated with. ResourceId: The ID of the Amazon VPC that is associated with the query logging configuration. Status: The status of the query logging association. If you specify Status for Name, specify the applicable status code for Values: CREATING, CREATED, DELETING, or FAILED. For more information, see Status."];values:FilterValues.toption[@ocaml.doc"When you're using a List operation and you want the operation to return a subset of objects, such as Resolver endpoints or Resolver rules, the value of the parameter that you want to use to filter objects. For example, to list only inbound Resolver endpoints, specify Direction for Name and specify INBOUND for Values."]}letmake?name=fun?values->fun()->{name;values}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:FilterName.to_value));("Values",(Option.mapx.values~f:FilterValues.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalues=(Option.map~f:FilterValues.of_xml)(Xml.childxml_arg0"Values")inletname=(Option.map~f:FilterName.of_xml)(Xml.childxml_arg0"Name")inmake?values?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalues=field_mapjson__"Values"FilterValues.of_jsoninletname=field_mapjson__"Name"FilterName.of_jsoninmake?values?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For Resolver list operations (ListResolverEndpoints, ListResolverRules, ListResolverRuleAssociations, ListResolverQueryLogConfigs, ListResolverQueryLogConfigAssociations), and ListResolverDnssecConfigs), an optional specification to return a subset of objects. To filter objects, such as Resolver endpoints or Resolver rules, you specify Name and Values. For example, to list only inbound Resolver endpoints, specify Direction for Name and specify INBOUND for Values."]moduleResolverRuleAssociation=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request."];resolverRuleId:ResourceId.toption[@ocaml.doc"The ID of the Resolver rule that you associated with the VPC that is specified by VPCId."];name:Name.toption[@ocaml.doc"The name of an association between a Resolver rule and a VPC. The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers."];vPCId:ResourceId.toption[@ocaml.doc"The ID of the VPC that you associated the Resolver rule with."];status:ResolverRuleAssociationStatus.toption[@ocaml.doc"A code that specifies the current status of the association between a Resolver rule and a VPC."];statusMessage:StatusMessage.toption[@ocaml.doc"A detailed description of the status of the association between a Resolver rule and a VPC."]}letmake?id=fun?resolverRuleId->fun?name->fun?vPCId->fun?status->fun?statusMessage->fun()->{id;resolverRuleId;name;vPCId;status;statusMessage}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("ResolverRuleId",(Option.mapx.resolverRuleId~f:ResourceId.to_value));("Name",(Option.mapx.name~f:Name.to_value));("VPCId",(Option.mapx.vPCId~f:ResourceId.to_value));("Status",(Option.mapx.status~f:ResolverRuleAssociationStatus.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:ResolverRuleAssociationStatus.of_xml)(Xml.childxml_arg0"Status")inletvPCId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"VPCId")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletresolverRuleId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResolverRuleId")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?statusMessage?status?vPCId?name?resolverRuleId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"ResolverRuleAssociationStatus.of_jsoninletvPCId=field_mapjson__"VPCId"ResourceId.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletresolverRuleId=field_mapjson__"ResolverRuleId"ResourceId.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?statusMessage?status?vPCId?name?resolverRuleId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In the response to an AssociateResolverRule, DisassociateResolverRule, or ListResolverRuleAssociations request, provides information about an association between a Resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network."]moduleResolverQueryLogConfig=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID for the query logging configuration."];ownerId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the account that created the query logging configuration."];status:ResolverQueryLogConfigStatus.toption[@ocaml.doc"The status of the specified query logging configuration. Valid values include the following: CREATING: Resolver is creating the query logging configuration. CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging configuration. FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes: The specified destination (for example, an Amazon S3 bucket) was deleted. Permissions don't allow sending logs to the destination."];shareStatus:ShareStatus.toption[@ocaml.doc"An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM)."];associationCount:Count.toption[@ocaml.doc"The number of VPCs that are associated with the query logging configuration."];arn:Arn.toption[@ocaml.doc"The ARN for the query logging configuration."];name:ResolverQueryLogConfigName.toption[@ocaml.doc"The name of the query logging configuration."];destinationArn:DestinationArn.toption[@ocaml.doc"The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string that identifies the request that created the query logging configuration. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC)."]}letmake?id=fun?ownerId->fun?status->fun?shareStatus->fun?associationCount->fun?arn->fun?name->fun?destinationArn->fun?creatorRequestId->fun?creationTime->fun()->{id;ownerId;status;shareStatus;associationCount;arn;name;destinationArn;creatorRequestId;creationTime}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("Status",(Option.mapx.status~f:ResolverQueryLogConfigStatus.to_value));("ShareStatus",(Option.mapx.shareStatus~f:ShareStatus.to_value));("AssociationCount",(Option.mapx.associationCount~f:Count.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("Name",(Option.mapx.name~f:ResolverQueryLogConfigName.to_value));("DestinationArn",(Option.mapx.destinationArn~f:DestinationArn.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletdestinationArn=(Option.map~f:DestinationArn.of_xml)(Xml.childxml_arg0"DestinationArn")inletname=(Option.map~f:ResolverQueryLogConfigName.of_xml)(Xml.childxml_arg0"Name")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletassociationCount=(Option.map~f:Count.of_xml)(Xml.childxml_arg0"AssociationCount")inletshareStatus=(Option.map~f:ShareStatus.of_xml)(Xml.childxml_arg0"ShareStatus")inletstatus=(Option.map~f:ResolverQueryLogConfigStatus.of_xml)(Xml.childxml_arg0"Status")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?creationTime?creatorRequestId?destinationArn?name?arn?associationCount?shareStatus?status?ownerId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletdestinationArn=field_mapjson__"DestinationArn"DestinationArn.of_jsoninletname=field_mapjson__"Name"ResolverQueryLogConfigName.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletassociationCount=field_mapjson__"AssociationCount"Count.of_jsoninletshareStatus=field_mapjson__"ShareStatus"ShareStatus.of_jsoninletstatus=field_mapjson__"Status"ResolverQueryLogConfigStatus.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?creationTime?creatorRequestId?destinationArn?name?arn?associationCount?shareStatus?status?ownerId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In the response to a CreateResolverQueryLogConfig, DeleteResolverQueryLogConfig, GetResolverQueryLogConfig, or ListResolverQueryLogConfigs request, a complex type that contains settings for one query logging configuration."]moduleResolverQueryLogConfigAssociation=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the query logging association."];resolverQueryLogConfigId:ResourceId.toption[@ocaml.doc"The ID of the query logging configuration that a VPC is associated with."];resourceId:ResourceId.toption[@ocaml.doc"The ID of the Amazon VPC that is associated with the query logging configuration."];status:ResolverQueryLogConfigAssociationStatus.toption[@ocaml.doc"The status of the specified query logging association. Valid values include the following: CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging association. FAILED: Resolver either couldn't create or couldn't delete the query logging association."];error:ResolverQueryLogConfigAssociationError.toption[@ocaml.doc"If the value of Status is FAILED, the value of Error indicates the cause: DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. ACCESS_DENIED: Permissions don't allow sending logs to the destination. If the value of Status is a value other than FAILED, Error is null."];errorMessage:ResolverQueryLogConfigAssociationErrorMessage.toption[@ocaml.doc"Contains additional information about the error. If the value or Error is null, the value of ErrorMessage also is null."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC)."]}letmake?id=fun?resolverQueryLogConfigId->fun?resourceId->fun?status->fun?error->fun?errorMessage->fun?creationTime->fun()->{id;resolverQueryLogConfigId;resourceId;status;error;errorMessage;creationTime}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("ResolverQueryLogConfigId",(Option.mapx.resolverQueryLogConfigId~f:ResourceId.to_value));("ResourceId",(Option.mapx.resourceId~f:ResourceId.to_value));("Status",(Option.mapx.status~f:ResolverQueryLogConfigAssociationStatus.to_value));("Error",(Option.mapx.error~f:ResolverQueryLogConfigAssociationError.to_value));("ErrorMessage",(Option.mapx.errorMessage~f:ResolverQueryLogConfigAssociationErrorMessage.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inleterrorMessage=(Option.map~f:ResolverQueryLogConfigAssociationErrorMessage.of_xml)(Xml.childxml_arg0"ErrorMessage")inleterror=(Option.map~f:ResolverQueryLogConfigAssociationError.of_xml)(Xml.childxml_arg0"Error")inletstatus=(Option.map~f:ResolverQueryLogConfigAssociationStatus.of_xml)(Xml.childxml_arg0"Status")inletresourceId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResourceId")inletresolverQueryLogConfigId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfigId")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?creationTime?errorMessage?error?status?resourceId?resolverQueryLogConfigId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninleterrorMessage=field_mapjson__"ErrorMessage"ResolverQueryLogConfigAssociationErrorMessage.of_jsoninleterror=field_mapjson__"Error"ResolverQueryLogConfigAssociationError.of_jsoninletstatus=field_mapjson__"Status"ResolverQueryLogConfigAssociationStatus.of_jsoninletresourceId=field_mapjson__"ResourceId"ResourceId.of_jsoninletresolverQueryLogConfigId=field_mapjson__"ResolverQueryLogConfigId"ResourceId.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?creationTime?errorMessage?error?status?resourceId?resolverQueryLogConfigId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In the response to an AssociateResolverQueryLogConfig, DisassociateResolverQueryLogConfig, GetResolverQueryLogConfigAssociation, or ListResolverQueryLogConfigAssociations, request, a complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration."]moduleResolverEndpoint=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the Resolver endpoint."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string that identifies the request that created the Resolver endpoint. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice."];arn:Arn.toption[@ocaml.doc"The ARN (Amazon Resource Name) for the Resolver endpoint."];name:Name.toption[@ocaml.doc"The name that you assigned to the Resolver endpoint when you submitted a CreateResolverEndpoint request."];securityGroupIds:SecurityGroupIds.toption[@ocaml.doc"The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound rules (for inbound endpoints) or outbound rules (for outbound endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network."];direction:ResolverEndpointDirection.toption[@ocaml.doc"Indicates whether the Resolver endpoint allows inbound or outbound DNS queries: INBOUND: allows DNS queries to your VPC from your network OUTBOUND: allows DNS queries from your VPC to your network INBOUND_DELEGATION: Resolver delegates queries to Route 53 private hosted zones from your network."];ipAddressCount:IpAddressCount.toption[@ocaml.doc"The number of IP addresses that the Resolver endpoint can use for DNS queries."];hostVPCId:ResourceId.toption[@ocaml.doc"The ID of the VPC that you want to create the Resolver endpoint in."];status:ResolverEndpointStatus.toption[@ocaml.doc"A code that specifies the current status of the Resolver endpoint. Valid values include the following: CREATING: Resolver is creating and configuring one or more Amazon VPC network interfaces for this endpoint. OPERATIONAL: The Amazon VPC network interfaces for this endpoint are correctly configured and able to pass inbound or outbound DNS queries between your network and Resolver. UPDATING: Resolver is associating or disassociating one or more network interfaces with this endpoint. AUTO_RECOVERING: Resolver is trying to recover one or more of the network interfaces that are associated with this endpoint. During the recovery process, the endpoint functions with limited capacity because of the limit on the number of DNS queries per IP address (per network interface). For the current limit, see Limits on Route 53 Resolver. ACTION_NEEDED: This endpoint is unhealthy, and Resolver can't automatically recover it. To resolve the problem, we recommend that you check each IP address that you associated with the endpoint. For each IP address that isn't available, add another IP address and then delete the IP address that isn't available. (An endpoint must always include at least two IP addresses.) A status of ACTION_NEEDED can have a variety of causes. Here are two common causes: One or more of the network interfaces that are associated with the endpoint were deleted using Amazon VPC. The network interface couldn't be created for some reason that's outside the control of Resolver. DELETING: Resolver is deleting this endpoint and the associated network interfaces."];statusMessage:StatusMessage.toption[@ocaml.doc"A detailed description of the status of the Resolver endpoint."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC)."];modificationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC)."];outpostArn:OutpostArn.toption[@ocaml.doc"The ARN (Amazon Resource Name) for the Outpost."];preferredInstanceType:OutpostInstanceType.toption[@ocaml.doc"The Amazon EC2 instance type."];resolverEndpointType:ResolverEndpointType.toption[@ocaml.doc"The Resolver endpoint IP address type."];protocols:ProtocolList.toption[@ocaml.doc"Protocols used for the endpoint. DoH-FIPS is applicable for a default inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 and DoH-FIPS in combination. Do53 alone. DoH alone. DoH-FIPS alone. None, which is treated as Do53. For a delegation inbound endpoint you can use Do53 only. For an outbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 alone. DoH alone. None, which is treated as Do53."];rniEnhancedMetricsEnabled:RniEnhancedMetricsEnabled.toption[@ocaml.doc"Indicates whether RNI enhanced metrics are enabled for the Resolver endpoint. When enabled, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint. When disabled, these metrics are not published."];targetNameServerMetricsEnabled:TargetNameServerMetricsEnabled.toption[@ocaml.doc"Indicates whether target name server metrics are enabled for the outbound Resolver endpoint. When enabled, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint. When disabled, these metrics are not published. This feature is not supported for inbound Resolver endpoint."];dns64Enabled:Dns64Enabled.toption[@ocaml.doc"Indicates whether DNS64 is enabled for the inbound Resolver endpoint. When true, Route 53 Resolver synthesizes AAAA (IPv6) records for IPv4-only services by prepending the 64:ff9b::/96 prefix to the IPv4 address."];ipv6InternetAccessEnabled:Ipv6InternetAccessEnabled.toption[@ocaml.doc"Indicates whether IPv6 internet access is enabled for the outbound Resolver endpoint. When true, the endpoint elastic network interfaces (ENIs) can forward DNS queries to public IPv6 targets through an internet gateway."]}letmake?id=fun?creatorRequestId->fun?arn->fun?name->fun?securityGroupIds->fun?direction->fun?ipAddressCount->fun?hostVPCId->fun?status->fun?statusMessage->fun?creationTime->fun?modificationTime->fun?outpostArn->fun?preferredInstanceType->fun?resolverEndpointType->fun?protocols->fun?rniEnhancedMetricsEnabled->fun?targetNameServerMetricsEnabled->fun?dns64Enabled->fun?ipv6InternetAccessEnabled->fun()->{id;creatorRequestId;arn;name;securityGroupIds;direction;ipAddressCount;hostVPCId;status;statusMessage;creationTime;modificationTime;outpostArn;preferredInstanceType;resolverEndpointType;protocols;rniEnhancedMetricsEnabled;targetNameServerMetricsEnabled;dns64Enabled;ipv6InternetAccessEnabled}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("Name",(Option.mapx.name~f:Name.to_value));("SecurityGroupIds",(Option.mapx.securityGroupIds~f:SecurityGroupIds.to_value));("Direction",(Option.mapx.direction~f:ResolverEndpointDirection.to_value));("IpAddressCount",(Option.mapx.ipAddressCount~f:IpAddressCount.to_value));("HostVPCId",(Option.mapx.hostVPCId~f:ResourceId.to_value));("Status",(Option.mapx.status~f:ResolverEndpointStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339TimeString.to_value));("OutpostArn",(Option.mapx.outpostArn~f:OutpostArn.to_value));("PreferredInstanceType",(Option.mapx.preferredInstanceType~f:OutpostInstanceType.to_value));("ResolverEndpointType",(Option.mapx.resolverEndpointType~f:ResolverEndpointType.to_value));("Protocols",(Option.mapx.protocols~f:ProtocolList.to_value));("RniEnhancedMetricsEnabled",(Option.mapx.rniEnhancedMetricsEnabled~f:RniEnhancedMetricsEnabled.to_value));("TargetNameServerMetricsEnabled",(Option.mapx.targetNameServerMetricsEnabled~f:TargetNameServerMetricsEnabled.to_value));("Dns64Enabled",(Option.mapx.dns64Enabled~f:Dns64Enabled.to_value));("Ipv6InternetAccessEnabled",(Option.mapx.ipv6InternetAccessEnabled~f:Ipv6InternetAccessEnabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipv6InternetAccessEnabled=(Option.map~f:Ipv6InternetAccessEnabled.of_xml)(Xml.childxml_arg0"Ipv6InternetAccessEnabled")inletdns64Enabled=(Option.map~f:Dns64Enabled.of_xml)(Xml.childxml_arg0"Dns64Enabled")inlettargetNameServerMetricsEnabled=(Option.map~f:TargetNameServerMetricsEnabled.of_xml)(Xml.childxml_arg0"TargetNameServerMetricsEnabled")inletrniEnhancedMetricsEnabled=(Option.map~f:RniEnhancedMetricsEnabled.of_xml)(Xml.childxml_arg0"RniEnhancedMetricsEnabled")inletprotocols=(Option.map~f:ProtocolList.of_xml)(Xml.childxml_arg0"Protocols")inletresolverEndpointType=(Option.map~f:ResolverEndpointType.of_xml)(Xml.childxml_arg0"ResolverEndpointType")inletpreferredInstanceType=(Option.map~f:OutpostInstanceType.of_xml)(Xml.childxml_arg0"PreferredInstanceType")inletoutpostArn=(Option.map~f:OutpostArn.of_xml)(Xml.childxml_arg0"OutpostArn")inletmodificationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"ModificationTime")inletcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:ResolverEndpointStatus.of_xml)(Xml.childxml_arg0"Status")inlethostVPCId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"HostVPCId")inletipAddressCount=(Option.map~f:IpAddressCount.of_xml)(Xml.childxml_arg0"IpAddressCount")inletdirection=(Option.map~f:ResolverEndpointDirection.of_xml)(Xml.childxml_arg0"Direction")inletsecurityGroupIds=(Option.map~f:SecurityGroupIds.of_xml)(Xml.childxml_arg0"SecurityGroupIds")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?ipv6InternetAccessEnabled?dns64Enabled?targetNameServerMetricsEnabled?rniEnhancedMetricsEnabled?protocols?resolverEndpointType?preferredInstanceType?outpostArn?modificationTime?creationTime?statusMessage?status?hostVPCId?ipAddressCount?direction?securityGroupIds?name?arn?creatorRequestId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipv6InternetAccessEnabled=field_mapjson__"Ipv6InternetAccessEnabled"Ipv6InternetAccessEnabled.of_jsoninletdns64Enabled=field_mapjson__"Dns64Enabled"Dns64Enabled.of_jsoninlettargetNameServerMetricsEnabled=field_mapjson__"TargetNameServerMetricsEnabled"TargetNameServerMetricsEnabled.of_jsoninletrniEnhancedMetricsEnabled=field_mapjson__"RniEnhancedMetricsEnabled"RniEnhancedMetricsEnabled.of_jsoninletprotocols=field_mapjson__"Protocols"ProtocolList.of_jsoninletresolverEndpointType=field_mapjson__"ResolverEndpointType"ResolverEndpointType.of_jsoninletpreferredInstanceType=field_mapjson__"PreferredInstanceType"OutpostInstanceType.of_jsoninletoutpostArn=field_mapjson__"OutpostArn"OutpostArn.of_jsoninletmodificationTime=field_mapjson__"ModificationTime"Rfc3339TimeString.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"ResolverEndpointStatus.of_jsoninlethostVPCId=field_mapjson__"HostVPCId"ResourceId.of_jsoninletipAddressCount=field_mapjson__"IpAddressCount"IpAddressCount.of_jsoninletdirection=field_mapjson__"Direction"ResolverEndpointDirection.of_jsoninletsecurityGroupIds=field_mapjson__"SecurityGroupIds"SecurityGroupIds.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?ipv6InternetAccessEnabled?dns64Enabled?targetNameServerMetricsEnabled?rniEnhancedMetricsEnabled?protocols?resolverEndpointType?preferredInstanceType?outpostArn?modificationTime?creationTime?statusMessage?status?hostVPCId?ipAddressCount?direction?securityGroupIds?name?arn?creatorRequestId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In the response to a CreateResolverEndpoint, DeleteResolverEndpoint, GetResolverEndpoint, Updates the name, or ResolverEndpointType for an endpoint, or UpdateResolverEndpoint request, a complex type that contains settings for an existing inbound or outbound Resolver endpoint."]moduleIpAddressResponse=structtypenonrect={ipId:ResourceId.toption[@ocaml.doc"The ID of one IP address."];subnetId:SubnetId.toption[@ocaml.doc"The ID of one subnet."];ip:Ip.toption[@ocaml.doc"One IPv4 address that the Resolver endpoint uses for DNS queries."];ipv6:Ipv6.toption[@ocaml.doc"One IPv6 address that the Resolver endpoint uses for DNS queries."];status:IpAddressStatus.toption[@ocaml.doc"A status code that gives the current status of the request."];statusMessage:StatusMessage.toption[@ocaml.doc"A message that provides additional information about the status of the request."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the IP address was created, in Unix time format and Coordinated Universal Time (UTC)."];modificationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the IP address was last modified, in Unix time format and Coordinated Universal Time (UTC)."]}letmake?ipId=fun?subnetId->fun?ip->fun?ipv6->fun?status->fun?statusMessage->fun?creationTime->fun?modificationTime->fun()->{ipId;subnetId;ip;ipv6;status;statusMessage;creationTime;modificationTime}letto_valuex=structure_to_value[("IpId",(Option.mapx.ipId~f:ResourceId.to_value));("SubnetId",(Option.mapx.subnetId~f:SubnetId.to_value));("Ip",(Option.mapx.ip~f:Ip.to_value));("Ipv6",(Option.mapx.ipv6~f:Ipv6.to_value));("Status",(Option.mapx.status~f:IpAddressStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339TimeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmodificationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"ModificationTime")inletcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:IpAddressStatus.of_xml)(Xml.childxml_arg0"Status")inletipv6=(Option.map~f:Ipv6.of_xml)(Xml.childxml_arg0"Ipv6")inletip=(Option.map~f:Ip.of_xml)(Xml.childxml_arg0"Ip")inletsubnetId=(Option.map~f:SubnetId.of_xml)(Xml.childxml_arg0"SubnetId")inletipId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"IpId")inmake?modificationTime?creationTime?statusMessage?status?ipv6?ip?subnetId?ipId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmodificationTime=field_mapjson__"ModificationTime"Rfc3339TimeString.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"IpAddressStatus.of_jsoninletipv6=field_mapjson__"Ipv6"Ipv6.of_jsoninletip=field_mapjson__"Ip"Ip.of_jsoninletsubnetId=field_mapjson__"SubnetId"SubnetId.of_jsoninletipId=field_mapjson__"IpId"ResourceId.of_jsoninmake?modificationTime?creationTime?statusMessage?status?ipv6?ip?subnetId?ipId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In the response to a GetResolverEndpoint request, information about the IP addresses that the Resolver endpoint uses for DNS queries."]moduleResolverDnssecConfig=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID for a configuration for DNSSEC validation."];ownerId:AccountId.toption[@ocaml.doc"The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation."];resourceId:ResourceId.toption[@ocaml.doc"The ID of the virtual private cloud (VPC) that you're configuring the DNSSEC validation status for."];validationStatus:ResolverDNSSECValidationStatus.toption[@ocaml.doc"The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING: DNSSEC validation is being enabled but is not complete. ENABLED: DNSSEC validation is enabled. DISABLING: DNSSEC validation is being disabled but is not complete. DISABLED DNSSEC validation is disabled."]}letmake?id=fun?ownerId->fun?resourceId->fun?validationStatus->fun()->{id;ownerId;resourceId;validationStatus}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("ResourceId",(Option.mapx.resourceId~f:ResourceId.to_value));("ValidationStatus",(Option.mapx.validationStatus~f:ResolverDNSSECValidationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidationStatus=(Option.map~f:ResolverDNSSECValidationStatus.of_xml)(Xml.childxml_arg0"ValidationStatus")inletresourceId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResourceId")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?validationStatus?resourceId?ownerId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidationStatus=field_mapjson__"ValidationStatus"ResolverDNSSECValidationStatus.of_jsoninletresourceId=field_mapjson__"ResourceId"ResourceId.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?validationStatus?resourceId?ownerId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type that contains information about a configuration for DNSSEC validation."]moduleResolverConfig=structtypenonrect={id:ResourceId.toption[@ocaml.doc"ID for the Resolver configuration."];resourceId:ResourceId.toption[@ocaml.doc"The ID of the Amazon Virtual Private Cloud VPC or a Route 53 Profile that you're configuring Resolver for."];ownerId:AccountId.toption[@ocaml.doc"The owner account ID of the Amazon Virtual Private Cloud VPC."];autodefinedReverse:ResolverAutodefinedReverseStatus.toption[@ocaml.doc"The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. The status can be one of following: ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. ENABLED: Autodefined rules for reverse DNS lookups are enabled. DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. DISABLED: Autodefined rules for reverse DNS lookups are disabled."]}letmake?id=fun?resourceId->fun?ownerId->fun?autodefinedReverse->fun()->{id;resourceId;ownerId;autodefinedReverse}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("ResourceId",(Option.mapx.resourceId~f:ResourceId.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("AutodefinedReverse",(Option.mapx.autodefinedReverse~f:ResolverAutodefinedReverseStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautodefinedReverse=(Option.map~f:ResolverAutodefinedReverseStatus.of_xml)(Xml.childxml_arg0"AutodefinedReverse")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletresourceId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResourceId")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?autodefinedReverse?ownerId?resourceId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautodefinedReverse=field_mapjson__"AutodefinedReverse"ResolverAutodefinedReverseStatus.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletresourceId=field_mapjson__"ResourceId"ResourceId.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?autodefinedReverse?ownerId?resourceId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type that contains information about a Resolver configuration for a VPC."]moduleOutpostResolver=structtypenonrect={arn:Arn.toption[@ocaml.doc"The ARN (Amazon Resource Name) for the Resolver on an Outpost."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the Outpost Resolver was created, in Unix time format and Coordinated Universal Time (UTC)."];modificationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the Outpost Resolver was modified, in Unix time format and Coordinated Universal Time (UTC)."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string that identifies the request that created the Resolver endpoint. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice."];id:ResourceId.toption[@ocaml.doc"The ID of the Resolver on Outpost."];instanceCount:InstanceCount.toption[@ocaml.doc"Amazon EC2 instance count for the Resolver on the Outpost."];preferredInstanceType:OutpostInstanceType.toption[@ocaml.doc"The Amazon EC2 instance type."];name:OutpostResolverName.toption[@ocaml.doc"Name of the Resolver."];status:OutpostResolverStatus.toption[@ocaml.doc"Status of the Resolver."];statusMessage:OutpostResolverStatusMessage.toption[@ocaml.doc"A detailed description of the Resolver."];outpostArn:OutpostArn.toption[@ocaml.doc"The ARN (Amazon Resource Name) for the Outpost."]}letmake?arn=fun?creationTime->fun?modificationTime->fun?creatorRequestId->fun?id->fun?instanceCount->fun?preferredInstanceType->fun?name->fun?status->fun?statusMessage->fun?outpostArn->fun()->{arn;creationTime;modificationTime;creatorRequestId;id;instanceCount;preferredInstanceType;name;status;statusMessage;outpostArn}letto_valuex=structure_to_value[("Arn",(Option.mapx.arn~f:Arn.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339TimeString.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("Id",(Option.mapx.id~f:ResourceId.to_value));("InstanceCount",(Option.mapx.instanceCount~f:InstanceCount.to_value));("PreferredInstanceType",(Option.mapx.preferredInstanceType~f:OutpostInstanceType.to_value));("Name",(Option.mapx.name~f:OutpostResolverName.to_value));("Status",(Option.mapx.status~f:OutpostResolverStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:OutpostResolverStatusMessage.to_value));("OutpostArn",(Option.mapx.outpostArn~f:OutpostArn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutpostArn=(Option.map~f:OutpostArn.of_xml)(Xml.childxml_arg0"OutpostArn")inletstatusMessage=(Option.map~f:OutpostResolverStatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:OutpostResolverStatus.of_xml)(Xml.childxml_arg0"Status")inletname=(Option.map~f:OutpostResolverName.of_xml)(Xml.childxml_arg0"Name")inletpreferredInstanceType=(Option.map~f:OutpostInstanceType.of_xml)(Xml.childxml_arg0"PreferredInstanceType")inletinstanceCount=(Option.map~f:InstanceCount.of_xml)(Xml.childxml_arg0"InstanceCount")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletmodificationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"ModificationTime")inletcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inmake?outpostArn?statusMessage?status?name?preferredInstanceType?instanceCount?id?creatorRequestId?modificationTime?creationTime?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutpostArn=field_mapjson__"OutpostArn"OutpostArn.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"OutpostResolverStatusMessage.of_jsoninletstatus=field_mapjson__"Status"OutpostResolverStatus.of_jsoninletname=field_mapjson__"Name"OutpostResolverName.of_jsoninletpreferredInstanceType=field_mapjson__"PreferredInstanceType"OutpostInstanceType.of_jsoninletinstanceCount=field_mapjson__"InstanceCount"InstanceCount.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletmodificationTime=field_mapjson__"ModificationTime"Rfc3339TimeString.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninmake?outpostArn?statusMessage?status?name?preferredInstanceType?instanceCount?id?creatorRequestId?modificationTime?creationTime?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A complex type that contains settings for an existing Resolver on an Outpost."]moduleFirewallRule=structtypenonrect={firewallRuleGroupId:ResourceId.toption[@ocaml.doc"The unique identifier of the Firewall rule group of the rule."];firewallDomainListId:ResourceId.toption[@ocaml.doc"The ID of the domain list that's used in the rule."];firewallThreatProtectionId:ResourceId.toption[@ocaml.doc"ID of the DNS Firewall Advanced rule."];name:Name.toption[@ocaml.doc"The name of the rule."];priority:Priority.toption[@ocaml.doc"The priority of the rule in the rule group. This value must be unique within the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting."];action:Action.toption[@ocaml.doc"The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. ALERT - Permit the request to go through but send an alert to the logs. BLOCK - Disallow the request. If this is specified, additional handling details are provided in the rule's BlockResponse setting."];blockResponse:BlockResponse.toption[@ocaml.doc"The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK. NODATA - Respond indicating that the query was successful, but no response is available for it. NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist. OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings."];blockOverrideDomain:BlockOverrideDomain.toption[@ocaml.doc"The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE."];blockOverrideDnsType:BlockOverrideDnsType.toption[@ocaml.doc"The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE."];blockOverrideTtl:Unsigned.toption[@ocaml.doc"The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC)."];modificationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC)."];firewallDomainRedirectionAction:FirewallDomainRedirectionAction.toption[@ocaml.doc"How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list."];qtype:Qtype.toption[@ocaml.doc"The DNS query type you want the rule to evaluate. Allowed values are; A: Returns an IPv4 address. AAAA: Returns an Ipv6 address. CAA: Restricts CAs that can create SSL/TLS certifications for the domain. CNAME: Returns another domain name. DS: Record that identifies the DNSSEC signing key of a delegated zone. MX: Specifies mail servers. NAPTR: Regular-expression-based rewriting of domain names. NS: Authoritative name servers. PTR: Maps an IP address to a domain name. SOA: Start of authority record for the zone. SPF: Lists the servers authorized to send emails from a domain. SRV: Application specific values that identify servers. TXT: Verifies email senders and application-specific values. A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types."];dnsThreatProtection:DnsThreatProtection.toption[@ocaml.doc"The type of the DNS Firewall Advanced rule. Valid values are: DGA: Domain generation algorithms detection. DGAs are used by attackers to generate a large number of domains to to launch malware attacks. DNS_TUNNELING: DNS tunneling detection. DNS tunneling is used by attackers to exfiltrate data from the client by using the DNS tunnel without making a network connection to the client."];confidenceThreshold:ConfidenceThreshold.toption[@ocaml.doc"The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: LOW: Provides the highest detection rate for threats, but also increases false positives. MEDIUM: Provides a balance between detecting threats and false positives. HIGH: Detects only the most well corroborated threats with a low rate of false positives."]}letmake?firewallRuleGroupId=fun?firewallDomainListId->fun?firewallThreatProtectionId->fun?name->fun?priority->fun?action->fun?blockResponse->fun?blockOverrideDomain->fun?blockOverrideDnsType->fun?blockOverrideTtl->fun?creatorRequestId->fun?creationTime->fun?modificationTime->fun?firewallDomainRedirectionAction->fun?qtype->fun?dnsThreatProtection->fun?confidenceThreshold->fun()->{firewallRuleGroupId;firewallDomainListId;firewallThreatProtectionId;name;priority;action;blockResponse;blockOverrideDomain;blockOverrideDnsType;blockOverrideTtl;creatorRequestId;creationTime;modificationTime;firewallDomainRedirectionAction;qtype;dnsThreatProtection;confidenceThreshold}letto_valuex=structure_to_value[("FirewallRuleGroupId",(Option.mapx.firewallRuleGroupId~f:ResourceId.to_value));("FirewallDomainListId",(Option.mapx.firewallDomainListId~f:ResourceId.to_value));("FirewallThreatProtectionId",(Option.mapx.firewallThreatProtectionId~f:ResourceId.to_value));("Name",(Option.mapx.name~f:Name.to_value));("Priority",(Option.mapx.priority~f:Priority.to_value));("Action",(Option.mapx.action~f:Action.to_value));("BlockResponse",(Option.mapx.blockResponse~f:BlockResponse.to_value));("BlockOverrideDomain",(Option.mapx.blockOverrideDomain~f:BlockOverrideDomain.to_value));("BlockOverrideDnsType",(Option.mapx.blockOverrideDnsType~f:BlockOverrideDnsType.to_value));("BlockOverrideTtl",(Option.mapx.blockOverrideTtl~f:Unsigned.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339TimeString.to_value));("FirewallDomainRedirectionAction",(Option.mapx.firewallDomainRedirectionAction~f:FirewallDomainRedirectionAction.to_value));("Qtype",(Option.mapx.qtype~f:Qtype.to_value));("DnsThreatProtection",(Option.mapx.dnsThreatProtection~f:DnsThreatProtection.to_value));("ConfidenceThreshold",(Option.mapx.confidenceThreshold~f:ConfidenceThreshold.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfidenceThreshold=(Option.map~f:ConfidenceThreshold.of_xml)(Xml.childxml_arg0"ConfidenceThreshold")inletdnsThreatProtection=(Option.map~f:DnsThreatProtection.of_xml)(Xml.childxml_arg0"DnsThreatProtection")inletqtype=(Option.map~f:Qtype.of_xml)(Xml.childxml_arg0"Qtype")inletfirewallDomainRedirectionAction=(Option.map~f:FirewallDomainRedirectionAction.of_xml)(Xml.childxml_arg0"FirewallDomainRedirectionAction")inletmodificationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"ModificationTime")inletcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletblockOverrideTtl=(Option.map~f:Unsigned.of_xml)(Xml.childxml_arg0"BlockOverrideTtl")inletblockOverrideDnsType=(Option.map~f:BlockOverrideDnsType.of_xml)(Xml.childxml_arg0"BlockOverrideDnsType")inletblockOverrideDomain=(Option.map~f:BlockOverrideDomain.of_xml)(Xml.childxml_arg0"BlockOverrideDomain")inletblockResponse=(Option.map~f:BlockResponse.of_xml)(Xml.childxml_arg0"BlockResponse")inletaction=(Option.map~f:Action.of_xml)(Xml.childxml_arg0"Action")inletpriority=(Option.map~f:Priority.of_xml)(Xml.childxml_arg0"Priority")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletfirewallThreatProtectionId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallThreatProtectionId")inletfirewallDomainListId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallDomainListId")inletfirewallRuleGroupId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallRuleGroupId")inmake?confidenceThreshold?dnsThreatProtection?qtype?firewallDomainRedirectionAction?modificationTime?creationTime?creatorRequestId?blockOverrideTtl?blockOverrideDnsType?blockOverrideDomain?blockResponse?action?priority?name?firewallThreatProtectionId?firewallDomainListId?firewallRuleGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfidenceThreshold=field_mapjson__"ConfidenceThreshold"ConfidenceThreshold.of_jsoninletdnsThreatProtection=field_mapjson__"DnsThreatProtection"DnsThreatProtection.of_jsoninletqtype=field_mapjson__"Qtype"Qtype.of_jsoninletfirewallDomainRedirectionAction=field_mapjson__"FirewallDomainRedirectionAction"FirewallDomainRedirectionAction.of_jsoninletmodificationTime=field_mapjson__"ModificationTime"Rfc3339TimeString.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletblockOverrideTtl=field_mapjson__"BlockOverrideTtl"Unsigned.of_jsoninletblockOverrideDnsType=field_mapjson__"BlockOverrideDnsType"BlockOverrideDnsType.of_jsoninletblockOverrideDomain=field_mapjson__"BlockOverrideDomain"BlockOverrideDomain.of_jsoninletblockResponse=field_mapjson__"BlockResponse"BlockResponse.of_jsoninletaction=field_mapjson__"Action"Action.of_jsoninletpriority=field_mapjson__"Priority"Priority.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletfirewallThreatProtectionId=field_mapjson__"FirewallThreatProtectionId"ResourceId.of_jsoninletfirewallDomainListId=field_mapjson__"FirewallDomainListId"ResourceId.of_jsoninletfirewallRuleGroupId=field_mapjson__"FirewallRuleGroupId"ResourceId.of_jsoninmake?confidenceThreshold?dnsThreatProtection?qtype?firewallDomainRedirectionAction?modificationTime?creationTime?creatorRequestId?blockOverrideTtl?blockOverrideDnsType?blockOverrideDomain?blockResponse?action?priority?name?firewallThreatProtectionId?firewallDomainListId?firewallRuleGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A single firewall rule in a rule group."]moduleFirewallRuleGroupMetadata=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the rule group."];arn:Arn.toption[@ocaml.doc"The ARN (Amazon Resource Name) of the rule group."];name:Name.toption[@ocaml.doc"The name of the rule group."];ownerId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp."];shareStatus:ShareStatus.toption[@ocaml.doc"Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM)."]}letmake?id=fun?arn->fun?name->fun?ownerId->fun?creatorRequestId->fun?shareStatus->fun()->{id;arn;name;ownerId;creatorRequestId;shareStatus}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("Name",(Option.mapx.name~f:Name.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("ShareStatus",(Option.mapx.shareStatus~f:ShareStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letshareStatus=(Option.map~f:ShareStatus.of_xml)(Xml.childxml_arg0"ShareStatus")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?shareStatus?creatorRequestId?ownerId?name?arn?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letshareStatus=field_mapjson__"ShareStatus"ShareStatus.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?shareStatus?creatorRequestId?ownerId?name?arn?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Minimal high-level information for a firewall rule group. The action ListFirewallRuleGroups returns an array of these objects. To retrieve full information for a firewall rule group, call GetFirewallRuleGroup and ListFirewallRules."]moduleFirewallRuleGroupAssociation=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The identifier for the association."];arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall rule group association."];firewallRuleGroupId:ResourceId.toption[@ocaml.doc"The unique identifier of the firewall rule group."];vpcId:ResourceId.toption[@ocaml.doc"The unique identifier of the VPC that is associated with the rule group."];name:Name.toption[@ocaml.doc"The name of the association."];priority:Priority.toption[@ocaml.doc"The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from rule group with the lowest numeric priority setting."];mutationProtection:MutationProtectionStatus.toption[@ocaml.doc"If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections."];managedOwnerName:ServicePrinciple.toption[@ocaml.doc"The owner of the association, used only for associations that are not managed by you. If you use Firewall Manager to manage your DNS Firewalls, then this reports Firewall Manager as the managed owner."];status:FirewallRuleGroupAssociationStatus.toption[@ocaml.doc"The current status of the association."];statusMessage:StatusMessage.toption[@ocaml.doc"Additional information about the status of the response, if available."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC)."];modificationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC)."]}letmake?id=fun?arn->fun?firewallRuleGroupId->fun?vpcId->fun?name->fun?priority->fun?mutationProtection->fun?managedOwnerName->fun?status->fun?statusMessage->fun?creatorRequestId->fun?creationTime->fun?modificationTime->fun()->{id;arn;firewallRuleGroupId;vpcId;name;priority;mutationProtection;managedOwnerName;status;statusMessage;creatorRequestId;creationTime;modificationTime}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("FirewallRuleGroupId",(Option.mapx.firewallRuleGroupId~f:ResourceId.to_value));("VpcId",(Option.mapx.vpcId~f:ResourceId.to_value));("Name",(Option.mapx.name~f:Name.to_value));("Priority",(Option.mapx.priority~f:Priority.to_value));("MutationProtection",(Option.mapx.mutationProtection~f:MutationProtectionStatus.to_value));("ManagedOwnerName",(Option.mapx.managedOwnerName~f:ServicePrinciple.to_value));("Status",(Option.mapx.status~f:FirewallRuleGroupAssociationStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339TimeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmodificationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"ModificationTime")inletcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:FirewallRuleGroupAssociationStatus.of_xml)(Xml.childxml_arg0"Status")inletmanagedOwnerName=(Option.map~f:ServicePrinciple.of_xml)(Xml.childxml_arg0"ManagedOwnerName")inletmutationProtection=(Option.map~f:MutationProtectionStatus.of_xml)(Xml.childxml_arg0"MutationProtection")inletpriority=(Option.map~f:Priority.of_xml)(Xml.childxml_arg0"Priority")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletvpcId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"VpcId")inletfirewallRuleGroupId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallRuleGroupId")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?modificationTime?creationTime?creatorRequestId?statusMessage?status?managedOwnerName?mutationProtection?priority?name?vpcId?firewallRuleGroupId?arn?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmodificationTime=field_mapjson__"ModificationTime"Rfc3339TimeString.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"FirewallRuleGroupAssociationStatus.of_jsoninletmanagedOwnerName=field_mapjson__"ManagedOwnerName"ServicePrinciple.of_jsoninletmutationProtection=field_mapjson__"MutationProtection"MutationProtectionStatus.of_jsoninletpriority=field_mapjson__"Priority"Priority.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletvpcId=field_mapjson__"VpcId"ResourceId.of_jsoninletfirewallRuleGroupId=field_mapjson__"FirewallRuleGroupId"ResourceId.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?modificationTime?creationTime?creatorRequestId?statusMessage?status?managedOwnerName?mutationProtection?priority?name?vpcId?firewallRuleGroupId?arn?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An association between a firewall rule group and a VPC, which enables DNS filtering for the VPC."]moduleFirewallDomainListMetadata=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the domain list."];arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall domain list metadata."];name:Name.toption[@ocaml.doc"The name of the domain list."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp."];managedOwnerName:ServicePrinciple.toption[@ocaml.doc"The owner of the list, used only for lists that are not managed by you. For example, the managed domain list AWSManagedDomainsMalwareDomainList has the managed owner name Route 53 Resolver DNS Firewall."]}letmake?id=fun?arn->fun?name->fun?creatorRequestId->fun?managedOwnerName->fun()->{id;arn;name;creatorRequestId;managedOwnerName}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("Name",(Option.mapx.name~f:Name.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("ManagedOwnerName",(Option.mapx.managedOwnerName~f:ServicePrinciple.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanagedOwnerName=(Option.map~f:ServicePrinciple.of_xml)(Xml.childxml_arg0"ManagedOwnerName")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?managedOwnerName?creatorRequestId?name?arn?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanagedOwnerName=field_mapjson__"ManagedOwnerName"ServicePrinciple.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?managedOwnerName?creatorRequestId?name?arn?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Minimal high-level information for a firewall domain list. The action ListFirewallDomainLists returns an array of these objects. To retrieve full information for a firewall domain list, call GetFirewallDomainList and ListFirewallDomains."]moduleFirewallConfig=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the firewall configuration."];resourceId:ResourceId.toption[@ocaml.doc"The ID of the VPC that this firewall configuration applies to."];ownerId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to."];firewallFailOpen:FirewallFailOpenStatus.toption[@ocaml.doc"Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply. By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query. If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association."]}letmake?id=fun?resourceId->fun?ownerId->fun?firewallFailOpen->fun()->{id;resourceId;ownerId;firewallFailOpen}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("ResourceId",(Option.mapx.resourceId~f:ResourceId.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("FirewallFailOpen",(Option.mapx.firewallFailOpen~f:FirewallFailOpenStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallFailOpen=(Option.map~f:FirewallFailOpenStatus.of_xml)(Xml.childxml_arg0"FirewallFailOpen")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletresourceId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResourceId")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?firewallFailOpen?ownerId?resourceId?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallFailOpen=field_mapjson__"FirewallFailOpen"FirewallFailOpenStatus.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletresourceId=field_mapjson__"ResourceId"ResourceId.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?firewallFailOpen?ownerId?resourceId?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC)."]moduleFirewallRuleGroupStatus=structtypenonrect=|COMPLETE|DELETING|UPDATING|Non_static_idofstringletmakei=iletto_string=function|COMPLETE->"COMPLETE"|DELETING->"DELETING"|UPDATING->"UPDATING"|Non_static_ids->sletof_string=function|"COMPLETE"->COMPLETE|"DELETING"->DELETING|"UPDATING"->UPDATING|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 FirewallRuleGroupStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FirewallRuleGroupStatus"j)letto_json=simple_to_jsonto_valueendmoduleFirewallDomainListStatus=structtypenonrect=|COMPLETE|COMPLETE_IMPORT_FAILED|IMPORTING|DELETING|UPDATING|Non_static_idofstringletmakei=iletto_string=function|COMPLETE->"COMPLETE"|COMPLETE_IMPORT_FAILED->"COMPLETE_IMPORT_FAILED"|IMPORTING->"IMPORTING"|DELETING->"DELETING"|UPDATING->"UPDATING"|Non_static_ids->sletof_string=function|"COMPLETE"->COMPLETE|"COMPLETE_IMPORT_FAILED"->COMPLETE_IMPORT_FAILED|"IMPORTING"->IMPORTING|"DELETING"->DELETING|"UPDATING"->UPDATING|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 FirewallDomainListStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FirewallDomainListStatus"j)letto_json=simple_to_jsonto_valueendmoduleIpAddressRequest=structtypenonrect={subnetId:SubnetId.t[@ocaml.doc"The ID of the subnet that contains the IP address."];ip:Ip.toption[@ocaml.doc"The IPv4 address that you want to use for DNS queries."];ipv6:Ipv6.toption[@ocaml.doc"The IPv6 address that you want to use for DNS queries."]}letcontext_="IpAddressRequest"letmake?ip=fun?ipv6->fun~subnetId->fun()->{ip;ipv6;subnetId}letto_valuex=structure_to_value[("SubnetId",(Some(SubnetId.to_valuex.subnetId)));("Ip",(Option.mapx.ip~f:Ip.to_value));("Ipv6",(Option.mapx.ipv6~f:Ipv6.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipv6=(Option.map~f:Ipv6.of_xml)(Xml.childxml_arg0"Ipv6")inletip=(Option.map~f:Ip.of_xml)(Xml.childxml_arg0"Ip")inletsubnetId=SubnetId.of_xml(Xml.child_exn~context:context_xml_arg0"SubnetId")inmake?ipv6?ip~subnetId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipv6=field_mapjson__"Ipv6"Ipv6.of_jsoninletip=field_mapjson__"Ip"Ip.of_jsoninletsubnetId=field_map_exnjson__"SubnetId"SubnetId.of_jsoninmake?ipv6?ip~subnetId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In a CreateResolverEndpoint request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). IpAddressRequest also includes the ID of the subnet that contains the IP address."]moduleAccessDeniedException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The current account doesn't have the IAM permissions required to perform the specified Resolver operation. This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs."]moduleInternalServiceErrorException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"We encountered an unknown error. Try again in a few minutes."]moduleInvalidParameterException=structtypenonrect={message:ExceptionMessage.toption;fieldName:String_.toption[@ocaml.doc"For an InvalidParameterException error, the name of the parameter that's invalid."]}letmake?message=fun?fieldName->fun()->{message;fieldName}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value));("FieldName",(Option.mapx.fieldName~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfieldName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"FieldName")inletmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?fieldName?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfieldName=field_mapjson__"FieldName"String_.of_jsoninletmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?fieldName?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"One or more parameters in this request are not valid."]moduleInvalidRequestException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request is invalid."]moduleLimitExceededException=structtypenonrect={message:String_.toption;resourceType:String_.toption[@ocaml.doc"For a LimitExceededException error, the type of resource that exceeded the current limit."]}letmake?message=fun?resourceType->fun()->{message;resourceType}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?resourceType?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?resourceType?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request caused one or more limits to be exceeded."]moduleResourceNotFoundException=structtypenonrect={message:String_.toption;resourceType:String_.toption[@ocaml.doc"For a ResourceNotFoundException error, the type of resource that doesn't exist."]}letmake?message=fun?resourceType->fun()->{message;resourceType}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?resourceType?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?resourceType?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified resource doesn't exist."]moduleResourceUnavailableException=structtypenonrect={message:String_.toption;resourceType:String_.toption[@ocaml.doc"For a ResourceUnavailableException error, the type of resource that isn't available."]}letmake?message=fun?resourceType->fun()->{message;resourceType}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?resourceType?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?resourceType?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified resource isn't available."]moduleThrottlingException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was throttled. Try again in a few minutes."]moduleResolverRuleConfig=structtypenonrect={name:Name.toption[@ocaml.doc"The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console. The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers."];targetIps:TargetList.toption[@ocaml.doc"For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to."];resolverEndpointId:ResourceId.toption[@ocaml.doc"The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps."]}letmake?name=fun?targetIps->fun?resolverEndpointId->fun()->{name;targetIps;resolverEndpointId}letto_valuex=structure_to_value[("Name",(Option.mapx.name~f:Name.to_value));("TargetIps",(Option.mapx.targetIps~f:TargetList.to_value));("ResolverEndpointId",(Option.mapx.resolverEndpointId~f:ResourceId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpointId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResolverEndpointId")inlettargetIps=(Option.map~f:TargetList.of_xml)(Xml.childxml_arg0"TargetIps")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inmake?resolverEndpointId?targetIps?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpointId=field_mapjson__"ResolverEndpointId"ResourceId.of_jsoninlettargetIps=field_mapjson__"TargetIps"TargetList.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninmake?resolverEndpointId?targetIps?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In an UpdateResolverRule request, information about the changes that you want to make."]moduleUpdateIpAddresses=structtypenonrect=UpdateIpAddress.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:50)>>=(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:UpdateIpAddress.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:UpdateIpAddress.of_xml)letof_jsonj=list_of_json~kind:"UpdateIpAddresses"~of_json:UpdateIpAddress.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleValidation=structtypenonrect=|ENABLE|DISABLE|USE_LOCAL_RESOURCE_SETTING|Non_static_idofstringletmakei=iletto_string=function|ENABLE->"ENABLE"|DISABLE->"DISABLE"|USE_LOCAL_RESOURCE_SETTING->"USE_LOCAL_RESOURCE_SETTING"|Non_static_ids->sletof_string=function|"ENABLE"->ENABLE|"DISABLE"->DISABLE|"USE_LOCAL_RESOURCE_SETTING"->USE_LOCAL_RESOURCE_SETTING|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 Validation"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Validation"j)letto_json=simple_to_jsonto_valueendmoduleValidationException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain."]moduleAutodefinedReverseFlag=structtypenonrect=|ENABLE|DISABLE|USE_LOCAL_RESOURCE_SETTING|Non_static_idofstringletmakei=iletto_string=function|ENABLE->"ENABLE"|DISABLE->"DISABLE"|USE_LOCAL_RESOURCE_SETTING->"USE_LOCAL_RESOURCE_SETTING"|Non_static_ids->sletof_string=function|"ENABLE"->ENABLE|"DISABLE"->DISABLE|"USE_LOCAL_RESOURCE_SETTING"->USE_LOCAL_RESOURCE_SETTING|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 AutodefinedReverseFlag"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AutodefinedReverseFlag"j)letto_json=simple_to_jsonto_valueendmoduleConflictException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted."]moduleServiceQuotaExceededException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Fulfilling the request would cause one or more quotas to be exceeded."]moduleBlockOverrideTtl=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:604800)>>=(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 BlockOverrideTtl"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleFirewallDomainUpdateOperation=structtypenonrect=|ADD|REMOVE|REPLACE|Non_static_idofstringletmakei=iletto_string=function|ADD->"ADD"|REMOVE->"REMOVE"|REPLACE->"REPLACE"|Non_static_ids->sletof_string=function|"ADD"->ADD|"REMOVE"->REMOVE|"REPLACE"->REPLACE|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 FirewallDomainUpdateOperation"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FirewallDomainUpdateOperation"j)letto_json=simple_to_jsonto_valueendmoduleFirewallDomains=structtypenonrect=FirewallDomainName.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FirewallDomainName.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:FirewallDomainName.of_xml)letof_jsonj=list_of_json~kind:"FirewallDomains"~of_json:FirewallDomainName.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagKeyList=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:200);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_valuevendmoduleInvalidTagException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified tag is invalid."]moduleTagList=structtypenonrect=Tag.tlistletmakei=letopenResultinok_or_failwith(check_list_maxi~max:200);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_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_valueendmoduleInvalidPolicyDocument=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified Resolver rule policy is invalid."]moduleUnknownResourceException=structtypenonrect={message:ExceptionMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:ExceptionMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ExceptionMessage.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"ExceptionMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified resource doesn't exist."]moduleResolverRulePolicy=structtypenonrect=stringletcontext_="ResolverRulePolicy"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:30000);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResolverRulePolicy"jletto_json=simple_to_jsonto_valueendmoduleResolverQueryLogConfigPolicy=structtypenonrect=stringletcontext_="ResolverQueryLogConfigPolicy"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:30000);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResolverQueryLogConfigPolicy"jletto_json=simple_to_jsonto_valueendmoduleFirewallRuleGroupPolicy=structtypenonrect=stringletcontext_="FirewallRuleGroupPolicy"letmakei=letopenResultinok_or_failwith(check_string_maxi~max:30000);iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"FirewallRuleGroupPolicy"jletto_json=simple_to_jsonto_valueendmoduleInvalidNextTokenException=structtypenonrect={message:String_.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"Message"String_.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The value that you specified for NextToken in a List request isn't valid."]moduleNextToken=structtypenonrect=stringletcontext_="NextToken"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:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleMaxResults=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 MaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleResolverRules=structtypenonrect=ResolverRule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResolverRule.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:ResolverRule.of_xml)letof_jsonj=list_of_json~kind:"ResolverRules"~of_json:ResolverRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFilters=structtypenonrect=Filter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Filter.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:Filter.of_xml)letof_jsonj=list_of_json~kind:"Filters"~of_json:Filter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResolverRuleAssociations=structtypenonrect=ResolverRuleAssociation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResolverRuleAssociation.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:ResolverRuleAssociation.of_xml)letof_jsonj=list_of_json~kind:"ResolverRuleAssociations"~of_json:ResolverRuleAssociation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResolverQueryLogConfigList=structtypenonrect=ResolverQueryLogConfig.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResolverQueryLogConfig.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:ResolverQueryLogConfig.of_xml)letof_jsonj=list_of_json~kind:"ResolverQueryLogConfigList"~of_json:ResolverQueryLogConfig.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSortByKey=structtypenonrect=stringletcontext_="SortByKey"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:64)>>=(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:"SortByKey"jletto_json=simple_to_jsonto_valueendmoduleSortOrder=structtypenonrect=|ASCENDING|DESCENDING|Non_static_idofstringletmakei=iletto_string=function|ASCENDING->"ASCENDING"|DESCENDING->"DESCENDING"|Non_static_ids->sletof_string=function|"ASCENDING"->ASCENDING|"DESCENDING"->DESCENDING|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 SortOrder"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SortOrder"j)letto_json=simple_to_jsonto_valueendmoduleResolverQueryLogConfigAssociationList=structtypenonrect=ResolverQueryLogConfigAssociation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResolverQueryLogConfigAssociation.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:ResolverQueryLogConfigAssociation.of_xml)letof_jsonj=list_of_json~kind:"ResolverQueryLogConfigAssociationList"~of_json:ResolverQueryLogConfigAssociation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResolverEndpoints=structtypenonrect=ResolverEndpoint.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResolverEndpoint.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:ResolverEndpoint.of_xml)letof_jsonj=list_of_json~kind:"ResolverEndpoints"~of_json:ResolverEndpoint.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleIpAddressesResponse=structtypenonrect=IpAddressResponse.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IpAddressResponse.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:IpAddressResponse.of_xml)letof_jsonj=list_of_json~kind:"IpAddressesResponse"~of_json:IpAddressResponse.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResolverDnssecConfigList=structtypenonrect=ResolverDnssecConfig.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResolverDnssecConfig.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:ResolverDnssecConfig.of_xml)letof_jsonj=list_of_json~kind:"ResolverDnssecConfigList"~of_json:ResolverDnssecConfig.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleResolverConfigList=structtypenonrect=ResolverConfig.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ResolverConfig.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:ResolverConfig.of_xml)letof_jsonj=list_of_json~kind:"ResolverConfigList"~of_json:ResolverConfig.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListResolverConfigsMaxResult=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:5));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 ListResolverConfigsMaxResult"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleOutpostResolverList=structtypenonrect=OutpostResolver.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:OutpostResolver.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:OutpostResolver.of_xml)letof_jsonj=list_of_json~kind:"OutpostResolverList"~of_json:OutpostResolver.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFirewallRules=structtypenonrect=FirewallRule.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FirewallRule.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:FirewallRule.of_xml)letof_jsonj=list_of_json~kind:"FirewallRules"~of_json:FirewallRule.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFirewallRuleGroupMetadataList=structtypenonrect=FirewallRuleGroupMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FirewallRuleGroupMetadata.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:FirewallRuleGroupMetadata.of_xml)letof_jsonj=list_of_json~kind:"FirewallRuleGroupMetadataList"~of_json:FirewallRuleGroupMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFirewallRuleGroupAssociations=structtypenonrect=FirewallRuleGroupAssociation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FirewallRuleGroupAssociation.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:FirewallRuleGroupAssociation.of_xml)letof_jsonj=list_of_json~kind:"FirewallRuleGroupAssociations"~of_json:FirewallRuleGroupAssociation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListDomainMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:5000)>>=(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 ListDomainMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleFirewallDomainListMetadataList=structtypenonrect=FirewallDomainListMetadata.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FirewallDomainListMetadata.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:FirewallDomainListMetadata.of_xml)letof_jsonj=list_of_json~kind:"FirewallDomainListMetadataList"~of_json:FirewallDomainListMetadata.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleFirewallConfigList=structtypenonrect=FirewallConfig.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:FirewallConfig.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:FirewallConfig.of_xml)letof_jsonj=list_of_json~kind:"FirewallConfigList"~of_json:FirewallConfig.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListFirewallConfigsMaxResult=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:10)>>=(fun()->check_int_mini~min:5));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 ListFirewallConfigsMaxResult"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleDomainListFileUrl=structtypenonrect=stringletcontext_="DomainListFileUrl"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:"DomainListFileUrl"jletto_json=simple_to_jsonto_valueendmoduleFirewallDomainImportOperation=structtypenonrect=|REPLACE|Non_static_idofstringletmakei=iletto_string=function|REPLACE->"REPLACE"|Non_static_ids->sletof_string=function|"REPLACE"->REPLACE|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 FirewallDomainImportOperation"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"FirewallDomainImportOperation"j)letto_json=simple_to_jsonto_valueendmoduleFirewallRuleGroup=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the rule group."];arn:Arn.toption[@ocaml.doc"The ARN (Amazon Resource Name) of the rule group."];name:Name.toption[@ocaml.doc"The name of the rule group."];ruleCount:Unsigned.toption[@ocaml.doc"The number of rules in the rule group."];status:FirewallRuleGroupStatus.toption[@ocaml.doc"The status of the domain list."];statusMessage:StatusMessage.toption[@ocaml.doc"Additional information about the status of the rule group, if available."];ownerId:AccountId.toption[@ocaml.doc"The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp."];shareStatus:ShareStatus.toption[@ocaml.doc"Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM)."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC)."];modificationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC)."]}letmake?id=fun?arn->fun?name->fun?ruleCount->fun?status->fun?statusMessage->fun?ownerId->fun?creatorRequestId->fun?shareStatus->fun?creationTime->fun?modificationTime->fun()->{id;arn;name;ruleCount;status;statusMessage;ownerId;creatorRequestId;shareStatus;creationTime;modificationTime}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("Name",(Option.mapx.name~f:Name.to_value));("RuleCount",(Option.mapx.ruleCount~f:Unsigned.to_value));("Status",(Option.mapx.status~f:FirewallRuleGroupStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("OwnerId",(Option.mapx.ownerId~f:AccountId.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("ShareStatus",(Option.mapx.shareStatus~f:ShareStatus.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339TimeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmodificationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"ModificationTime")inletcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletshareStatus=(Option.map~f:ShareStatus.of_xml)(Xml.childxml_arg0"ShareStatus")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletownerId=(Option.map~f:AccountId.of_xml)(Xml.childxml_arg0"OwnerId")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:FirewallRuleGroupStatus.of_xml)(Xml.childxml_arg0"Status")inletruleCount=(Option.map~f:Unsigned.of_xml)(Xml.childxml_arg0"RuleCount")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?modificationTime?creationTime?shareStatus?creatorRequestId?ownerId?statusMessage?status?ruleCount?name?arn?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmodificationTime=field_mapjson__"ModificationTime"Rfc3339TimeString.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletshareStatus=field_mapjson__"ShareStatus"ShareStatus.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletownerId=field_mapjson__"OwnerId"AccountId.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"FirewallRuleGroupStatus.of_jsoninletruleCount=field_mapjson__"RuleCount"Unsigned.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?modificationTime?creationTime?shareStatus?creatorRequestId?ownerId?statusMessage?status?ruleCount?name?arn?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information for a firewall rule group. A firewall rule group is a collection of rules that DNS Firewall uses to filter DNS network traffic for a VPC. To retrieve the rules for the rule group, call ListFirewallRules."]moduleFirewallDomainList=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the domain list."];arn:Arn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the firewall domain list."];name:Name.toption[@ocaml.doc"The name of the domain list."];domainCount:Unsigned.toption[@ocaml.doc"The number of domain names that are specified in the domain list."];status:FirewallDomainListStatus.toption[@ocaml.doc"The status of the domain list."];statusMessage:StatusMessage.toption[@ocaml.doc"Additional information about the status of the list, if available."];managedOwnerName:ServicePrinciple.toption[@ocaml.doc"The owner of the list, used only for lists that are not managed by you. For example, the managed domain list AWSManagedDomainsMalwareDomainList has the managed owner name Route 53 Resolver DNS Firewall."];creatorRequestId:CreatorRequestId.toption[@ocaml.doc"A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp."];creationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the domain list was created, in Unix time format and Coordinated Universal Time (UTC)."];modificationTime:Rfc3339TimeString.toption[@ocaml.doc"The date and time that the domain list was last modified, in Unix time format and Coordinated Universal Time (UTC)."]}letmake?id=fun?arn->fun?name->fun?domainCount->fun?status->fun?statusMessage->fun?managedOwnerName->fun?creatorRequestId->fun?creationTime->fun?modificationTime->fun()->{id;arn;name;domainCount;status;statusMessage;managedOwnerName;creatorRequestId;creationTime;modificationTime}letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("Arn",(Option.mapx.arn~f:Arn.to_value));("Name",(Option.mapx.name~f:Name.to_value));("DomainCount",(Option.mapx.domainCount~f:Unsigned.to_value));("Status",(Option.mapx.status~f:FirewallDomainListStatus.to_value));("StatusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("ManagedOwnerName",(Option.mapx.managedOwnerName~f:ServicePrinciple.to_value));("CreatorRequestId",(Option.mapx.creatorRequestId~f:CreatorRequestId.to_value));("CreationTime",(Option.mapx.creationTime~f:Rfc3339TimeString.to_value));("ModificationTime",(Option.mapx.modificationTime~f:Rfc3339TimeString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmodificationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"ModificationTime")inletcreationTime=(Option.map~f:Rfc3339TimeString.of_xml)(Xml.childxml_arg0"CreationTime")inletcreatorRequestId=(Option.map~f:CreatorRequestId.of_xml)(Xml.childxml_arg0"CreatorRequestId")inletmanagedOwnerName=(Option.map~f:ServicePrinciple.of_xml)(Xml.childxml_arg0"ManagedOwnerName")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"StatusMessage")inletstatus=(Option.map~f:FirewallDomainListStatus.of_xml)(Xml.childxml_arg0"Status")inletdomainCount=(Option.map~f:Unsigned.of_xml)(Xml.childxml_arg0"DomainCount")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"Arn")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?modificationTime?creationTime?creatorRequestId?managedOwnerName?statusMessage?status?domainCount?name?arn?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmodificationTime=field_mapjson__"ModificationTime"Rfc3339TimeString.of_jsoninletcreationTime=field_mapjson__"CreationTime"Rfc3339TimeString.of_jsoninletcreatorRequestId=field_mapjson__"CreatorRequestId"CreatorRequestId.of_jsoninletmanagedOwnerName=field_mapjson__"ManagedOwnerName"ServicePrinciple.of_jsoninletstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"FirewallDomainListStatus.of_jsoninletdomainCount=field_mapjson__"DomainCount"Unsigned.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletarn=field_mapjson__"Arn"Arn.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?modificationTime?creationTime?creatorRequestId?managedOwnerName?statusMessage?status?domainCount?name?arn?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"High-level information about a list of firewall domains for use in a FirewallRule. This is returned by GetFirewallDomainList. To retrieve the domains that are defined for this domain list, call ListFirewallDomains."]moduleResourceExistsException=structtypenonrect={message:String_.toption;resourceType:String_.toption[@ocaml.doc"For a ResourceExistsException error, the type of resource that the error applies to."]}letmake?message=fun?resourceType->fun()->{message;resourceType}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?resourceType?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?resourceType?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The resource that you tried to create already exists."]moduleIpAddressUpdate=structtypenonrect={ipId:ResourceId.toption[@ocaml.doc"Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want to remove. To get this ID, use GetResolverEndpoint."];subnetId:SubnetId.toption[@ocaml.doc"The ID of the subnet that includes the IP address that you want to update. To get this ID, use GetResolverEndpoint."];ip:Ip.toption[@ocaml.doc"The new IPv4 address."];ipv6:Ipv6.toption[@ocaml.doc"The new IPv6 address."]}letmake?ipId=fun?subnetId->fun?ip->fun?ipv6->fun()->{ipId;subnetId;ip;ipv6}letto_valuex=structure_to_value[("IpId",(Option.mapx.ipId~f:ResourceId.to_value));("SubnetId",(Option.mapx.subnetId~f:SubnetId.to_value));("Ip",(Option.mapx.ip~f:Ip.to_value));("Ipv6",(Option.mapx.ipv6~f:Ipv6.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipv6=(Option.map~f:Ipv6.of_xml)(Xml.childxml_arg0"Ipv6")inletip=(Option.map~f:Ip.of_xml)(Xml.childxml_arg0"Ip")inletsubnetId=(Option.map~f:SubnetId.of_xml)(Xml.childxml_arg0"SubnetId")inletipId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"IpId")inmake?ipv6?ip?subnetId?ipId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipv6=field_mapjson__"Ipv6"Ipv6.of_jsoninletip=field_mapjson__"Ip"Ip.of_jsoninletsubnetId=field_mapjson__"SubnetId"SubnetId.of_jsoninletipId=field_mapjson__"IpId"ResourceId.of_jsoninmake?ipv6?ip?subnetId?ipId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"In an UpdateResolverEndpoint request, information about an IP address to update."]moduleResourceInUseException=structtypenonrect={message:String_.toption;resourceType:String_.toption[@ocaml.doc"For a ResourceInUseException error, the type of resource that is currently in use."]}letmake?message=fun?resourceType->fun()->{message;resourceType}letto_valuex=structure_to_value[("Message",(Option.mapx.message~f:String_.to_value));("ResourceType",(Option.mapx.resourceType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ResourceType")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"Message")inmake?resourceType?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceType=field_mapjson__"ResourceType"String_.of_jsoninletmessage=field_mapjson__"Message"String_.of_jsoninmake?resourceType?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The resource that you tried to update or delete is currently in use."]moduleIpAddressesRequest=structtypenonrect=IpAddressRequest.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:20)>>=(fun()->check_list_mini~min:2));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IpAddressRequest.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:IpAddressRequest.of_xml)letof_jsonj=list_of_json~kind:"IpAddressesRequest"~of_json:IpAddressRequest.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpdateResolverRuleResponse=structtypenonrect={resolverRule:ResolverRule.toption[@ocaml.doc"The response to an UpdateResolverRule request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverRule=fun()->{resolverRule}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.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[("ResolverRule",(Option.mapx.resolverRule~f:ResolverRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRule=(Option.map~f:ResolverRule.of_xml)(Xml.childxml_arg0"ResolverRule")inmake?resolverRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRule=field_mapjson__"ResolverRule"ResolverRule.of_jsoninmake?resolverRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates settings for a specified Resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value."]moduleUpdateResolverRuleRequest=structtypenonrect={resolverRuleId:ResourceId.t[@ocaml.doc"The ID of the Resolver rule that you want to update."];config:ResolverRuleConfig.t[@ocaml.doc"The new settings for the Resolver rule."]}letcontext_="UpdateResolverRuleRequest"letmake~resolverRuleId=fun~config->fun()->{resolverRuleId;config}letto_valuex=structure_to_value[("ResolverRuleId",(Some(ResourceId.to_valuex.resolverRuleId)));("Config",(Some(ResolverRuleConfig.to_valuex.config)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfig=ResolverRuleConfig.of_xml(Xml.child_exn~context:context_xml_arg0"Config")inletresolverRuleId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverRuleId")inmake~config~resolverRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfig=field_map_exnjson__"Config"ResolverRuleConfig.of_jsoninletresolverRuleId=field_map_exnjson__"ResolverRuleId"ResourceId.of_jsoninmake~config~resolverRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates settings for a specified Resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value."]moduleUpdateResolverEndpointResponse=structtypenonrect={resolverEndpoint:ResolverEndpoint.toption[@ocaml.doc"The response to an UpdateResolverEndpoint request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverEndpoint=fun()->{resolverEndpoint}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverEndpoint",(Option.mapx.resolverEndpoint~f:ResolverEndpoint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpoint=(Option.map~f:ResolverEndpoint.of_xml)(Xml.childxml_arg0"ResolverEndpoint")inmake?resolverEndpoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpoint=field_mapjson__"ResolverEndpoint"ResolverEndpoint.of_jsoninmake?resolverEndpoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type."]moduleUpdateResolverEndpointRequest=structtypenonrect={resolverEndpointId:ResourceId.t[@ocaml.doc"The ID of the Resolver endpoint that you want to update."];name:Name.toption[@ocaml.doc"The name of the Resolver endpoint that you want to update."];resolverEndpointType:ResolverEndpointType.toption[@ocaml.doc"Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries. Updating to IPV6 type isn't currently supported."];updateIpAddresses:UpdateIpAddresses.toption[@ocaml.doc"Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don't specify an IPv6 address, one will be automatically chosen from your subnet."];protocols:ProtocolList.toption[@ocaml.doc"The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only. For a default inbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 and DoH-FIPS in combination. Do53 alone. DoH alone. DoH-FIPS alone. None, which is treated as Do53. For a delegation inbound endpoint you can use Do53 only. For an outbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 alone. DoH alone. None, which is treated as Do53. You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53."];rniEnhancedMetricsEnabled:RniEnhancedMetricsEnabled.toption[@ocaml.doc"Updates whether RNI enhanced metrics are enabled for the Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint. When set to false, metrics are not published. Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint RNI enhanced metrics. For more information, see Detailed metrics."];targetNameServerMetricsEnabled:TargetNameServerMetricsEnabled.toption[@ocaml.doc"Updates whether target name server metrics are enabled for the outbound Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint. When set to false, metrics are not published. This setting is not supported for inbound Resolver endpoints. Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint target name server metrics. For more information, see Detailed metrics."];dns64Enabled:Dns64Enabled.toption[@ocaml.doc"Specifies whether DNS64 is enabled for the inbound Resolver endpoint. When set to true, Route 53 Resolver synthesizes AAAA (IPv6) records for IPv4-only services by prepending the 64:ff9b::/96 prefix to the IPv4 address. This enables IPv6-only clients that send queries through the inbound endpoint to reach IPv4-only services. DNS64 works with NAT64 to provide complete IPv6-to-IPv4 translation."];ipv6InternetAccessEnabled:Ipv6InternetAccessEnabled.toption[@ocaml.doc"Specifies whether IPv6 internet access is enabled for the outbound Resolver endpoint. When set to true, the endpoint elastic network interfaces (ENIs) can forward DNS queries to public IPv6 targets through an internet gateway. When you enable IPv6 internet access, use network controls like security groups, NACLs, or egress-only internet gateways to protect the endpoint ENIs from unsolicited ingress traffic. Be aware that some network controls can affect DNS query throughput due to connection tracking. For more information, see Amazon EC2 security group connection tracking and Resolver endpoint scaling."]}letcontext_="UpdateResolverEndpointRequest"letmake?name=fun?resolverEndpointType->fun?updateIpAddresses->fun?protocols->fun?rniEnhancedMetricsEnabled->fun?targetNameServerMetricsEnabled->fun?dns64Enabled->fun?ipv6InternetAccessEnabled->fun~resolverEndpointId->fun()->{name;resolverEndpointType;updateIpAddresses;protocols;rniEnhancedMetricsEnabled;targetNameServerMetricsEnabled;dns64Enabled;ipv6InternetAccessEnabled;resolverEndpointId}letto_valuex=structure_to_value[("ResolverEndpointId",(Some(ResourceId.to_valuex.resolverEndpointId)));("Name",(Option.mapx.name~f:Name.to_value));("ResolverEndpointType",(Option.mapx.resolverEndpointType~f:ResolverEndpointType.to_value));("UpdateIpAddresses",(Option.mapx.updateIpAddresses~f:UpdateIpAddresses.to_value));("Protocols",(Option.mapx.protocols~f:ProtocolList.to_value));("RniEnhancedMetricsEnabled",(Option.mapx.rniEnhancedMetricsEnabled~f:RniEnhancedMetricsEnabled.to_value));("TargetNameServerMetricsEnabled",(Option.mapx.targetNameServerMetricsEnabled~f:TargetNameServerMetricsEnabled.to_value));("Dns64Enabled",(Option.mapx.dns64Enabled~f:Dns64Enabled.to_value));("Ipv6InternetAccessEnabled",(Option.mapx.ipv6InternetAccessEnabled~f:Ipv6InternetAccessEnabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipv6InternetAccessEnabled=(Option.map~f:Ipv6InternetAccessEnabled.of_xml)(Xml.childxml_arg0"Ipv6InternetAccessEnabled")inletdns64Enabled=(Option.map~f:Dns64Enabled.of_xml)(Xml.childxml_arg0"Dns64Enabled")inlettargetNameServerMetricsEnabled=(Option.map~f:TargetNameServerMetricsEnabled.of_xml)(Xml.childxml_arg0"TargetNameServerMetricsEnabled")inletrniEnhancedMetricsEnabled=(Option.map~f:RniEnhancedMetricsEnabled.of_xml)(Xml.childxml_arg0"RniEnhancedMetricsEnabled")inletprotocols=(Option.map~f:ProtocolList.of_xml)(Xml.childxml_arg0"Protocols")inletupdateIpAddresses=(Option.map~f:UpdateIpAddresses.of_xml)(Xml.childxml_arg0"UpdateIpAddresses")inletresolverEndpointType=(Option.map~f:ResolverEndpointType.of_xml)(Xml.childxml_arg0"ResolverEndpointType")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletresolverEndpointId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverEndpointId")inmake?ipv6InternetAccessEnabled?dns64Enabled?targetNameServerMetricsEnabled?rniEnhancedMetricsEnabled?protocols?updateIpAddresses?resolverEndpointType?name~resolverEndpointId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipv6InternetAccessEnabled=field_mapjson__"Ipv6InternetAccessEnabled"Ipv6InternetAccessEnabled.of_jsoninletdns64Enabled=field_mapjson__"Dns64Enabled"Dns64Enabled.of_jsoninlettargetNameServerMetricsEnabled=field_mapjson__"TargetNameServerMetricsEnabled"TargetNameServerMetricsEnabled.of_jsoninletrniEnhancedMetricsEnabled=field_mapjson__"RniEnhancedMetricsEnabled"RniEnhancedMetricsEnabled.of_jsoninletprotocols=field_mapjson__"Protocols"ProtocolList.of_jsoninletupdateIpAddresses=field_mapjson__"UpdateIpAddresses"UpdateIpAddresses.of_jsoninletresolverEndpointType=field_mapjson__"ResolverEndpointType"ResolverEndpointType.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletresolverEndpointId=field_map_exnjson__"ResolverEndpointId"ResourceId.of_jsoninmake?ipv6InternetAccessEnabled?dns64Enabled?targetNameServerMetricsEnabled?rniEnhancedMetricsEnabled?protocols?updateIpAddresses?resolverEndpointType?name~resolverEndpointId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type."]moduleUpdateResolverDnssecConfigResponse=structtypenonrect={resolverDNSSECConfig:ResolverDnssecConfig.toption[@ocaml.doc"A complex type that contains settings for the specified DNSSEC configuration."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverDNSSECConfig=fun()->{resolverDNSSECConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverDNSSECConfig",(Option.mapx.resolverDNSSECConfig~f:ResolverDnssecConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverDNSSECConfig=(Option.map~f:ResolverDnssecConfig.of_xml)(Xml.childxml_arg0"ResolverDNSSECConfig")inmake?resolverDNSSECConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverDNSSECConfig=field_mapjson__"ResolverDNSSECConfig"ResolverDnssecConfig.of_jsoninmake?resolverDNSSECConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created."]moduleUpdateResolverDnssecConfigRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for."];validation:Validation.t[@ocaml.doc"The new value that you are specifying for DNSSEC validation for the VPC. The value can be ENABLE or DISABLE. Be aware that it can take time for a validation status change to be completed."]}letcontext_="UpdateResolverDnssecConfigRequest"letmake~resourceId=fun~validation->fun()->{resourceId;validation}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)));("Validation",(Some(Validation.to_valuex.validation)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalidation=Validation.of_xml(Xml.child_exn~context:context_xml_arg0"Validation")inletresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake~validation~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalidation=field_map_exnjson__"Validation"Validation.of_jsoninletresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake~validation~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created."]moduleUpdateResolverConfigResponse=structtypenonrect={resolverConfig:ResolverConfig.toption[@ocaml.doc"An array that contains settings for the specified Resolver configuration."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverConfig=fun()->{resolverConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResolverConfig",(Option.mapx.resolverConfig~f:ResolverConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverConfig=(Option.map~f:ResolverConfig.of_xml)(Xml.childxml_arg0"ResolverConfig")inmake?resolverConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverConfig=field_mapjson__"ResolverConfig"ResolverConfig.of_jsoninmake?resolverConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the behavior configuration of Route\194\16053 Resolver behavior for a single VPC from Amazon Virtual Private Cloud."]moduleUpdateResolverConfigRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"The ID of the Amazon Virtual Private Cloud VPC or a Route 53 Profile that you're configuring Resolver for."];autodefinedReverseFlag:AutodefinedReverseFlag.t[@ocaml.doc"Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink in the Amazon EC2 guide. We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic Networking is Retiring \226\128\147 Here\226\128\153s How to Prepare. It can take some time for the status change to be completed."]}letcontext_="UpdateResolverConfigRequest"letmake~resourceId=fun~autodefinedReverseFlag->fun()->{resourceId;autodefinedReverseFlag}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)));("AutodefinedReverseFlag",(Some(AutodefinedReverseFlag.to_valuex.autodefinedReverseFlag)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letautodefinedReverseFlag=AutodefinedReverseFlag.of_xml(Xml.child_exn~context:context_xml_arg0"AutodefinedReverseFlag")inletresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake~autodefinedReverseFlag~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letautodefinedReverseFlag=field_map_exnjson__"AutodefinedReverseFlag"AutodefinedReverseFlag.of_jsoninletresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake~autodefinedReverseFlag~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the behavior configuration of Route\194\16053 Resolver behavior for a single VPC from Amazon Virtual Private Cloud."]moduleUpdateOutpostResolverResponse=structtypenonrect={outpostResolver:OutpostResolver.toption[@ocaml.doc"The response to an UpdateOutpostResolver request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?outpostResolver=fun()->{outpostResolver}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OutpostResolver",(Option.mapx.outpostResolver~f:OutpostResolver.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutpostResolver=(Option.map~f:OutpostResolver.of_xml)(Xml.childxml_arg0"OutpostResolver")inmake?outpostResolver()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutpostResolver=field_mapjson__"OutpostResolver"OutpostResolver.of_jsoninmake?outpostResolver()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost."]moduleUpdateOutpostResolverRequest=structtypenonrect={id:ResourceId.t[@ocaml.doc"A unique string that identifies Resolver on an Outpost."];name:OutpostResolverName.toption[@ocaml.doc"Name of the Resolver on the Outpost."];instanceCount:InstanceCount.toption[@ocaml.doc"The Amazon EC2 instance count for a Resolver on the Outpost."];preferredInstanceType:OutpostInstanceType.toption[@ocaml.doc"Amazon EC2 instance type."]}letcontext_="UpdateOutpostResolverRequest"letmake?name=fun?instanceCount->fun?preferredInstanceType->fun~id->fun()->{name;instanceCount;preferredInstanceType;id}letto_valuex=structure_to_value[("Id",(Some(ResourceId.to_valuex.id)));("Name",(Option.mapx.name~f:OutpostResolverName.to_value));("InstanceCount",(Option.mapx.instanceCount~f:InstanceCount.to_value));("PreferredInstanceType",(Option.mapx.preferredInstanceType~f:OutpostInstanceType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpreferredInstanceType=(Option.map~f:OutpostInstanceType.of_xml)(Xml.childxml_arg0"PreferredInstanceType")inletinstanceCount=(Option.map~f:InstanceCount.of_xml)(Xml.childxml_arg0"InstanceCount")inletname=(Option.map~f:OutpostResolverName.of_xml)(Xml.childxml_arg0"Name")inletid=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"Id")inmake?preferredInstanceType?instanceCount?name~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpreferredInstanceType=field_mapjson__"PreferredInstanceType"OutpostInstanceType.of_jsoninletinstanceCount=field_mapjson__"InstanceCount"InstanceCount.of_jsoninletname=field_mapjson__"Name"OutpostResolverName.of_jsoninletid=field_map_exnjson__"Id"ResourceId.of_jsoninmake?preferredInstanceType?instanceCount?name~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost."]moduleUpdateFirewallRuleResponse=structtypenonrect={firewallRule:FirewallRule.toption[@ocaml.doc"The firewall rule that you just updated."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRule=fun()->{firewallRule}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRule",(Option.mapx.firewallRule~f:FirewallRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRule=(Option.map~f:FirewallRule.of_xml)(Xml.childxml_arg0"FirewallRule")inmake?firewallRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRule=field_mapjson__"FirewallRule"FirewallRule.of_jsoninmake?firewallRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the specified firewall rule."]moduleUpdateFirewallRuleRequest=structtypenonrect={firewallRuleGroupId:ResourceId.t[@ocaml.doc"The unique identifier of the firewall rule group for the rule."];firewallDomainListId:ResourceId.toption[@ocaml.doc"The ID of the domain list to use in the rule."];firewallThreatProtectionId:ResourceId.toption[@ocaml.doc"The DNS Firewall Advanced rule ID."];priority:Priority.toption[@ocaml.doc"The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting. You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time."];action:Action.toption[@ocaml.doc"The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. ALERT - Permit the request to go through but send an alert to the logs. BLOCK - Disallow the request. This option requires additional details in the rule's BlockResponse."];blockResponse:BlockResponse.toption[@ocaml.doc"The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK. NODATA - Respond indicating that the query was successful, but no response is available for it. NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist. OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings."];blockOverrideDomain:BlockOverrideDomain.toption[@ocaml.doc"The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE."];blockOverrideDnsType:BlockOverrideDnsType.toption[@ocaml.doc"The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE."];blockOverrideTtl:BlockOverrideTtl.toption[@ocaml.doc"The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE."];name:Name.toption[@ocaml.doc"The name of the rule."];firewallDomainRedirectionAction:FirewallDomainRedirectionAction.toption[@ocaml.doc"How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list."];qtype:Qtype.toption[@ocaml.doc"The DNS query type you want the rule to evaluate. Allowed values are; A: Returns an IPv4 address. AAAA: Returns an Ipv6 address. CAA: Restricts CAs that can create SSL/TLS certifications for the domain. CNAME: Returns another domain name. DS: Record that identifies the DNSSEC signing key of a delegated zone. MX: Specifies mail servers. NAPTR: Regular-expression-based rewriting of domain names. NS: Authoritative name servers. PTR: Maps an IP address to a domain name. SOA: Start of authority record for the zone. SPF: Lists the servers authorized to send emails from a domain. SRV: Application specific values that identify servers. TXT: Verifies email senders and application-specific values. A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types. If you set up a firewall BLOCK rule with action NXDOMAIN on query type equals AAAA, this action will not be applied to synthetic IPv6 addresses generated when DNS64 is enabled."];dnsThreatProtection:DnsThreatProtection.toption[@ocaml.doc"The type of the DNS Firewall Advanced rule. Valid values are: DGA: Domain generation algorithms detection. DGAs are used by attackers to generate a large number of domains to to launch malware attacks. DNS_TUNNELING: DNS tunneling detection. DNS tunneling is used by attackers to exfiltrate data from the client by using the DNS tunnel without making a network connection to the client."];confidenceThreshold:ConfidenceThreshold.toption[@ocaml.doc"The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: LOW: Provides the highest detection rate for threats, but also increases false positives. MEDIUM: Provides a balance between detecting threats and false positives. HIGH: Detects only the most well corroborated threats with a low rate of false positives."]}letcontext_="UpdateFirewallRuleRequest"letmake?firewallDomainListId=fun?firewallThreatProtectionId->fun?priority->fun?action->fun?blockResponse->fun?blockOverrideDomain->fun?blockOverrideDnsType->fun?blockOverrideTtl->fun?name->fun?firewallDomainRedirectionAction->fun?qtype->fun?dnsThreatProtection->fun?confidenceThreshold->fun~firewallRuleGroupId->fun()->{firewallDomainListId;firewallThreatProtectionId;priority;action;blockResponse;blockOverrideDomain;blockOverrideDnsType;blockOverrideTtl;name;firewallDomainRedirectionAction;qtype;dnsThreatProtection;confidenceThreshold;firewallRuleGroupId}letto_valuex=structure_to_value[("FirewallRuleGroupId",(Some(ResourceId.to_valuex.firewallRuleGroupId)));("FirewallDomainListId",(Option.mapx.firewallDomainListId~f:ResourceId.to_value));("FirewallThreatProtectionId",(Option.mapx.firewallThreatProtectionId~f:ResourceId.to_value));("Priority",(Option.mapx.priority~f:Priority.to_value));("Action",(Option.mapx.action~f:Action.to_value));("BlockResponse",(Option.mapx.blockResponse~f:BlockResponse.to_value));("BlockOverrideDomain",(Option.mapx.blockOverrideDomain~f:BlockOverrideDomain.to_value));("BlockOverrideDnsType",(Option.mapx.blockOverrideDnsType~f:BlockOverrideDnsType.to_value));("BlockOverrideTtl",(Option.mapx.blockOverrideTtl~f:BlockOverrideTtl.to_value));("Name",(Option.mapx.name~f:Name.to_value));("FirewallDomainRedirectionAction",(Option.mapx.firewallDomainRedirectionAction~f:FirewallDomainRedirectionAction.to_value));("Qtype",(Option.mapx.qtype~f:Qtype.to_value));("DnsThreatProtection",(Option.mapx.dnsThreatProtection~f:DnsThreatProtection.to_value));("ConfidenceThreshold",(Option.mapx.confidenceThreshold~f:ConfidenceThreshold.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfidenceThreshold=(Option.map~f:ConfidenceThreshold.of_xml)(Xml.childxml_arg0"ConfidenceThreshold")inletdnsThreatProtection=(Option.map~f:DnsThreatProtection.of_xml)(Xml.childxml_arg0"DnsThreatProtection")inletqtype=(Option.map~f:Qtype.of_xml)(Xml.childxml_arg0"Qtype")inletfirewallDomainRedirectionAction=(Option.map~f:FirewallDomainRedirectionAction.of_xml)(Xml.childxml_arg0"FirewallDomainRedirectionAction")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletblockOverrideTtl=(Option.map~f:BlockOverrideTtl.of_xml)(Xml.childxml_arg0"BlockOverrideTtl")inletblockOverrideDnsType=(Option.map~f:BlockOverrideDnsType.of_xml)(Xml.childxml_arg0"BlockOverrideDnsType")inletblockOverrideDomain=(Option.map~f:BlockOverrideDomain.of_xml)(Xml.childxml_arg0"BlockOverrideDomain")inletblockResponse=(Option.map~f:BlockResponse.of_xml)(Xml.childxml_arg0"BlockResponse")inletaction=(Option.map~f:Action.of_xml)(Xml.childxml_arg0"Action")inletpriority=(Option.map~f:Priority.of_xml)(Xml.childxml_arg0"Priority")inletfirewallThreatProtectionId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallThreatProtectionId")inletfirewallDomainListId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallDomainListId")inletfirewallRuleGroupId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupId")inmake?confidenceThreshold?dnsThreatProtection?qtype?firewallDomainRedirectionAction?name?blockOverrideTtl?blockOverrideDnsType?blockOverrideDomain?blockResponse?action?priority?firewallThreatProtectionId?firewallDomainListId~firewallRuleGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfidenceThreshold=field_mapjson__"ConfidenceThreshold"ConfidenceThreshold.of_jsoninletdnsThreatProtection=field_mapjson__"DnsThreatProtection"DnsThreatProtection.of_jsoninletqtype=field_mapjson__"Qtype"Qtype.of_jsoninletfirewallDomainRedirectionAction=field_mapjson__"FirewallDomainRedirectionAction"FirewallDomainRedirectionAction.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletblockOverrideTtl=field_mapjson__"BlockOverrideTtl"BlockOverrideTtl.of_jsoninletblockOverrideDnsType=field_mapjson__"BlockOverrideDnsType"BlockOverrideDnsType.of_jsoninletblockOverrideDomain=field_mapjson__"BlockOverrideDomain"BlockOverrideDomain.of_jsoninletblockResponse=field_mapjson__"BlockResponse"BlockResponse.of_jsoninletaction=field_mapjson__"Action"Action.of_jsoninletpriority=field_mapjson__"Priority"Priority.of_jsoninletfirewallThreatProtectionId=field_mapjson__"FirewallThreatProtectionId"ResourceId.of_jsoninletfirewallDomainListId=field_mapjson__"FirewallDomainListId"ResourceId.of_jsoninletfirewallRuleGroupId=field_map_exnjson__"FirewallRuleGroupId"ResourceId.of_jsoninmake?confidenceThreshold?dnsThreatProtection?qtype?firewallDomainRedirectionAction?name?blockOverrideTtl?blockOverrideDnsType?blockOverrideDomain?blockResponse?action?priority?firewallThreatProtectionId?firewallDomainListId~firewallRuleGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the specified firewall rule."]moduleUpdateFirewallRuleGroupAssociationResponse=structtypenonrect={firewallRuleGroupAssociation:FirewallRuleGroupAssociation.toption[@ocaml.doc"The association that you just updated."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRuleGroupAssociation=fun()->{firewallRuleGroupAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRuleGroupAssociation",(Option.mapx.firewallRuleGroupAssociation~f:FirewallRuleGroupAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupAssociation=(Option.map~f:FirewallRuleGroupAssociation.of_xml)(Xml.childxml_arg0"FirewallRuleGroupAssociation")inmake?firewallRuleGroupAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupAssociation=field_mapjson__"FirewallRuleGroupAssociation"FirewallRuleGroupAssociation.of_jsoninmake?firewallRuleGroupAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC."]moduleUpdateFirewallRuleGroupAssociationRequest=structtypenonrect={firewallRuleGroupAssociationId:ResourceId.t[@ocaml.doc"The identifier of the FirewallRuleGroupAssociation."];priority:Priority.toption[@ocaml.doc"The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting. You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for a rule group association after you create it."];mutationProtection:MutationProtectionStatus.toption[@ocaml.doc"If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections."];name:Name.toption[@ocaml.doc"The name of the rule group association."]}letcontext_="UpdateFirewallRuleGroupAssociationRequest"letmake?priority=fun?mutationProtection->fun?name->fun~firewallRuleGroupAssociationId->fun()->{priority;mutationProtection;name;firewallRuleGroupAssociationId}letto_valuex=structure_to_value[("FirewallRuleGroupAssociationId",(Some(ResourceId.to_valuex.firewallRuleGroupAssociationId)));("Priority",(Option.mapx.priority~f:Priority.to_value));("MutationProtection",(Option.mapx.mutationProtection~f:MutationProtectionStatus.to_value));("Name",(Option.mapx.name~f:Name.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletmutationProtection=(Option.map~f:MutationProtectionStatus.of_xml)(Xml.childxml_arg0"MutationProtection")inletpriority=(Option.map~f:Priority.of_xml)(Xml.childxml_arg0"Priority")inletfirewallRuleGroupAssociationId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupAssociationId")inmake?name?mutationProtection?priority~firewallRuleGroupAssociationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"Name"Name.of_jsoninletmutationProtection=field_mapjson__"MutationProtection"MutationProtectionStatus.of_jsoninletpriority=field_mapjson__"Priority"Priority.of_jsoninletfirewallRuleGroupAssociationId=field_map_exnjson__"FirewallRuleGroupAssociationId"ResourceId.of_jsoninmake?name?mutationProtection?priority~firewallRuleGroupAssociationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC."]moduleUpdateFirewallDomainsResponse=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The ID of the firewall domain list that DNS Firewall just updated."];name:Name.toption[@ocaml.doc"The name of the domain list."];status:FirewallDomainListStatus.toption[@ocaml.doc"Status of the UpdateFirewallDomains request."];statusMessage:StatusMessage.toption[@ocaml.doc"Additional information about the status of the list, if available."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?id=fun?name->fun?status->fun?statusMessage->fun()->{id;name;status;statusMessage}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.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))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("Name",(Option.mapx.name~f:Name.to_value));("Status",(Option.mapx.status~f:FirewallDomainListStatus.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:FirewallDomainListStatus.of_xml)(Xml.childxml_arg0"Status")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?statusMessage?status?name?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"FirewallDomainListStatus.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?statusMessage?status?name?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the firewall domain list from an array of domain specifications."]moduleUpdateFirewallDomainsRequest=structtypenonrect={firewallDomainListId:ResourceId.t[@ocaml.doc"The ID of the domain list whose domains you want to update."];operation:FirewallDomainUpdateOperation.t[@ocaml.doc"What you want DNS Firewall to do with the domains that you are providing: ADD - Add the domains to the ones that are already in the domain list. REMOVE - Search the domain list for the domains and remove them from the list. REPLACE - Update the domain list to exactly match the list that you are providing."];domains:FirewallDomains.t[@ocaml.doc"A list of domains to use in the update operation. There is a limit of 1000 domains per request. Each domain specification in your domain list must satisfy the following requirements: It can optionally start with * (asterisk). With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen). It must be from 1-255 characters in length."]}letcontext_="UpdateFirewallDomainsRequest"letmake~firewallDomainListId=fun~operation->fun~domains->fun()->{firewallDomainListId;operation;domains}letto_valuex=structure_to_value[("FirewallDomainListId",(Some(ResourceId.to_valuex.firewallDomainListId)));("Operation",(Some(FirewallDomainUpdateOperation.to_valuex.operation)));("Domains",(Some(FirewallDomains.to_valuex.domains)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdomains=FirewallDomains.of_xml(Xml.child_exn~context:context_xml_arg0"Domains")inletoperation=FirewallDomainUpdateOperation.of_xml(Xml.child_exn~context:context_xml_arg0"Operation")inletfirewallDomainListId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallDomainListId")inmake~domains~operation~firewallDomainListId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdomains=field_map_exnjson__"Domains"FirewallDomains.of_jsoninletoperation=field_map_exnjson__"Operation"FirewallDomainUpdateOperation.of_jsoninletfirewallDomainListId=field_map_exnjson__"FirewallDomainListId"ResourceId.of_jsoninmake~domains~operation~firewallDomainListId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the firewall domain list from an array of domain specifications."]moduleUpdateFirewallConfigResponse=structtypenonrect={firewallConfig:FirewallConfig.toption[@ocaml.doc"Configuration of the firewall behavior provided by DNS Firewall for a single VPC."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallConfig=fun()->{firewallConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallConfig",(Option.mapx.firewallConfig~f:FirewallConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallConfig=(Option.map~f:FirewallConfig.of_xml)(Xml.childxml_arg0"FirewallConfig")inmake?firewallConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallConfig=field_mapjson__"FirewallConfig"FirewallConfig.of_jsoninmake?firewallConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC)."]moduleUpdateFirewallConfigRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"The ID of the VPC that the configuration is for."];firewallFailOpen:FirewallFailOpenStatus.t[@ocaml.doc"Determines how Route 53 Resolver handles queries during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply. By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall blocks queries that it is unable to evaluate properly. If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association."]}letcontext_="UpdateFirewallConfigRequest"letmake~resourceId=fun~firewallFailOpen->fun()->{resourceId;firewallFailOpen}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)));("FirewallFailOpen",(Some(FirewallFailOpenStatus.to_valuex.firewallFailOpen)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallFailOpen=FirewallFailOpenStatus.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallFailOpen")inletresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake~firewallFailOpen~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallFailOpen=field_map_exnjson__"FirewallFailOpen"FirewallFailOpenStatus.of_jsoninletresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake~firewallFailOpen~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC)."]moduleUntagResourceResponse=structtypenonrect=unittypenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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 one or more tags from a specified resource."]moduleUntagResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that you want to remove tags from. To get the ARN for a resource, use the applicable Get or List command: GetResolverEndpoint GetResolverRule GetResolverRuleAssociation ListResolverEndpoints ListResolverRuleAssociations ListResolverRules"];tagKeys:TagKeyList.t[@ocaml.doc"The tags that you want to remove to the specified resource."]}letcontext_="UntagResourceRequest"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("ResourceArn",(Some(Arn.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=Arn.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"Arn.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes one or more tags from a specified resource."]moduleTagResourceResponse=structtypenonrect=unittypenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`InvalidTagExceptionofInvalidTagException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"InvalidTagException"->`InvalidTagException(InvalidTagException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"InvalidTagException"->`InvalidTagException(InvalidTagException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`InvalidTagExceptione->`Assoc[("error",(`String"InvalidTagException"));("details",(InvalidTagException.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))])))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 one or more tags to a specified resource."]moduleTagResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that you want to add tags to. To get the ARN for a resource, use the applicable Get or List command: GetResolverEndpoint GetResolverRule GetResolverRuleAssociation ListResolverEndpoints ListResolverRuleAssociations ListResolverRules"];tags:TagList.t[@ocaml.doc"The tags that you want to add to the specified resource."]}letcontext_="TagResourceRequest"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("ResourceArn",(Some(Arn.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=Arn.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"Arn.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds one or more tags to a specified resource."]modulePutResolverRulePolicyResponse=structtypenonrect={returnValue:Boolean.toption[@ocaml.doc"Whether the PutResolverRulePolicy request was successful."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidPolicyDocumentofInvalidPolicyDocument.t|`UnknownResourceExceptionofUnknownResourceException.t|`Unknown_operation_errorof(string*stringoption)]letmake?returnValue=fun()->{returnValue}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidPolicyDocument"->`InvalidPolicyDocument(InvalidPolicyDocument.of_jsonjson)|"UnknownResourceException"->`UnknownResourceException(UnknownResourceException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidPolicyDocument"->`InvalidPolicyDocument(InvalidPolicyDocument.of_xmlxml)|"UnknownResourceException"->`UnknownResourceException(UnknownResourceException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidPolicyDocumente->`Assoc[("error",(`String"InvalidPolicyDocument"));("details",(InvalidPolicyDocument.to_jsone))]|`UnknownResourceExceptione->`Assoc[("error",(`String"UnknownResourceException"));("details",(UnknownResourceException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReturnValue",(Option.mapx.returnValue~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreturnValue=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"ReturnValue")inmake?returnValue()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreturnValue=field_mapjson__"ReturnValue"Boolean.of_jsoninmake?returnValue()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The response to a PutResolverRulePolicy request."]modulePutResolverRulePolicyRequest=structtypenonrect={arn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the rule that you want to share with another account."];resolverRulePolicy:ResolverRulePolicy.t[@ocaml.doc"An Identity and Access Management policy statement that lists the rules that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Action section of the statement: route53resolver:GetResolverRule route53resolver:AssociateResolverRule route53resolver:DisassociateResolverRule route53resolver:ListResolverRules route53resolver:ListResolverRuleAssociations In the Resource section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified in Arn."]}letcontext_="PutResolverRulePolicyRequest"letmake~arn=fun~resolverRulePolicy->fun()->{arn;resolverRulePolicy}letto_valuex=structure_to_value[("Arn",(Some(Arn.to_valuex.arn)));("ResolverRulePolicy",(Some(ResolverRulePolicy.to_valuex.resolverRulePolicy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRulePolicy=ResolverRulePolicy.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverRulePolicy")inletarn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"Arn")inmake~resolverRulePolicy~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRulePolicy=field_map_exnjson__"ResolverRulePolicy"ResolverRulePolicy.of_jsoninletarn=field_map_exnjson__"Arn"Arn.of_jsoninmake~resolverRulePolicy~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule."]modulePutResolverQueryLogConfigPolicyResponse=structtypenonrect={returnValue:Boolean.toption[@ocaml.doc"Whether the PutResolverQueryLogConfigPolicy request was successful."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidPolicyDocumentofInvalidPolicyDocument.t|`InvalidRequestExceptionofInvalidRequestException.t|`UnknownResourceExceptionofUnknownResourceException.t|`Unknown_operation_errorof(string*stringoption)]letmake?returnValue=fun()->{returnValue}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidPolicyDocument"->`InvalidPolicyDocument(InvalidPolicyDocument.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"UnknownResourceException"->`UnknownResourceException(UnknownResourceException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidPolicyDocument"->`InvalidPolicyDocument(InvalidPolicyDocument.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"UnknownResourceException"->`UnknownResourceException(UnknownResourceException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidPolicyDocumente->`Assoc[("error",(`String"InvalidPolicyDocument"));("details",(InvalidPolicyDocument.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`UnknownResourceExceptione->`Assoc[("error",(`String"UnknownResourceException"));("details",(UnknownResourceException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReturnValue",(Option.mapx.returnValue~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreturnValue=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"ReturnValue")inmake?returnValue()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreturnValue=field_mapjson__"ReturnValue"Boolean.of_jsoninmake?returnValue()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The response to a PutResolverQueryLogConfigPolicy request."]modulePutResolverQueryLogConfigPolicyRequest=structtypenonrect={arn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the account that you want to share rules with."];resolverQueryLogConfigPolicy:ResolverQueryLogConfigPolicy.t[@ocaml.doc"An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Actions section of the statement: route53resolver:AssociateResolverQueryLogConfig route53resolver:DisassociateResolverQueryLogConfig route53resolver:ListResolverQueryLogConfigs In the Resource section of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified in Arn."]}letcontext_="PutResolverQueryLogConfigPolicyRequest"letmake~arn=fun~resolverQueryLogConfigPolicy->fun()->{arn;resolverQueryLogConfigPolicy}letto_valuex=structure_to_value[("Arn",(Some(Arn.to_valuex.arn)));("ResolverQueryLogConfigPolicy",(Some(ResolverQueryLogConfigPolicy.to_valuex.resolverQueryLogConfigPolicy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigPolicy=ResolverQueryLogConfigPolicy.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverQueryLogConfigPolicy")inletarn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"Arn")inmake~resolverQueryLogConfigPolicy~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigPolicy=field_map_exnjson__"ResolverQueryLogConfigPolicy"ResolverQueryLogConfigPolicy.of_jsoninletarn=field_map_exnjson__"Arn"Arn.of_jsoninmake~resolverQueryLogConfigPolicy~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration."]modulePutFirewallRuleGroupPolicyResponse=structtypenonrect={returnValue:Boolean.toption}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?returnValue=fun()->{returnValue}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ReturnValue",(Option.mapx.returnValue~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letreturnValue=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"ReturnValue")inmake?returnValue()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letreturnValue=field_mapjson__"ReturnValue"Boolean.of_jsoninmake?returnValue()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM)."]modulePutFirewallRuleGroupPolicyRequest=structtypenonrect={arn:Arn.t[@ocaml.doc"The ARN (Amazon Resource Name) for the rule group that you want to share."];firewallRuleGroupPolicy:FirewallRuleGroupPolicy.t[@ocaml.doc"The Identity and Access Management (Amazon Web Services IAM) policy to attach to the rule group."]}letcontext_="PutFirewallRuleGroupPolicyRequest"letmake~arn=fun~firewallRuleGroupPolicy->fun()->{arn;firewallRuleGroupPolicy}letto_valuex=structure_to_value[("Arn",(Some(Arn.to_valuex.arn)));("FirewallRuleGroupPolicy",(Some(FirewallRuleGroupPolicy.to_valuex.firewallRuleGroupPolicy)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupPolicy=FirewallRuleGroupPolicy.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupPolicy")inletarn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"Arn")inmake~firewallRuleGroupPolicy~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupPolicy=field_map_exnjson__"FirewallRuleGroupPolicy"FirewallRuleGroupPolicy.of_jsoninletarn=field_map_exnjson__"Arn"Arn.of_jsoninmake~firewallRuleGroupPolicy~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM)."]moduleListTagsForResourceResponse=structtypenonrect={tags:TagList.toption[@ocaml.doc"The tags that are associated with the resource that you specified in the ListTagsForResource request."];nextToken:NextToken.toption[@ocaml.doc"If more than MaxResults tags match the specified criteria, you can submit another ListTagsForResource request to get the next group of results. In the next request, specify the value of NextToken from the previous response."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun?nextToken->fun()->{tags;nextToken}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("Tags",(Option.mapx.tags~f:TagList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inmake?nextToken?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninmake?nextToken?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the tags that you associated with the specified resource."]moduleListTagsForResourceRequest=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The Amazon Resource Name (ARN) for the resource that you want to list tags for."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of tags that you want to return in the response to a ListTagsForResource request. If you don't specify a value for MaxResults, Resolver returns up to 100 tags."];nextToken:NextToken.toption[@ocaml.doc"For the first ListTagsForResource request, omit this value. If you have more than MaxResults tags, you can submit another ListTagsForResource request to get the next group of tags for the resource. In the next request, specify the value of NextToken from the previous response."]}letcontext_="ListTagsForResourceRequest"letmake?maxResults=fun?nextToken->fun~resourceArn->fun()->{maxResults;nextToken;resourceArn}letto_valuex=structure_to_value[("ResourceArn",(Some(Arn.to_valuex.resourceArn)));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletresourceArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceArn")inmake?nextToken?maxResults~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletresourceArn=field_map_exnjson__"ResourceArn"Arn.of_jsoninmake?nextToken?maxResults~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the tags that you associated with the specified resource."]moduleListResolverRulesResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If more than MaxResults Resolver rules match the specified criteria, you can submit another ListResolverRules request to get the next group of results. In the next request, specify the value of NextToken from the previous response."];maxResults:MaxResults.toption[@ocaml.doc"The value that you specified for MaxResults in the request."];resolverRules:ResolverRules.toption[@ocaml.doc"The Resolver rules that were created using the current Amazon Web Services account and that match the specified filters, if any."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?maxResults->fun?resolverRules->fun()->{nextToken;maxResults;resolverRules}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("ResolverRules",(Option.mapx.resolverRules~f:ResolverRules.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRules=(Option.map~f:ResolverRules.of_xml)(Xml.childxml_arg0"ResolverRules")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?resolverRules?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRules=field_mapjson__"ResolverRules"ResolverRules.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?resolverRules?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the Resolver rules that were created using the current Amazon Web Services account."]moduleListResolverRulesRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules."];nextToken:NextToken.toption[@ocaml.doc"For the first ListResolverRules request, omit this value. If you have more than MaxResults Resolver rules, you can submit another ListResolverRules request to get the next group of Resolver rules. In the next request, specify the value of NextToken from the previous response."];filters:Filters.toption[@ocaml.doc"An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint. If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request."]}letmake?maxResults=fun?nextToken->fun?filters->fun()->{maxResults;nextToken;filters}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Filters",(Option.mapx.filters~f:Filters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilters=(Option.map~f:Filters.of_xml)(Xml.childxml_arg0"Filters")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?filters?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilters=field_mapjson__"Filters"Filters.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?filters?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the Resolver rules that were created using the current Amazon Web Services account."]moduleListResolverRuleAssociationsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If more than MaxResults rule associations match the specified criteria, you can submit another ListResolverRuleAssociation request to get the next group of results. In the next request, specify the value of NextToken from the previous response."];maxResults:MaxResults.toption[@ocaml.doc"The value that you specified for MaxResults in the request."];resolverRuleAssociations:ResolverRuleAssociations.toption[@ocaml.doc"The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?maxResults->fun?resolverRuleAssociations->fun()->{nextToken;maxResults;resolverRuleAssociations}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("ResolverRuleAssociations",(Option.mapx.resolverRuleAssociations~f:ResolverRuleAssociations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRuleAssociations=(Option.map~f:ResolverRuleAssociations.of_xml)(Xml.childxml_arg0"ResolverRuleAssociations")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?resolverRuleAssociations?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRuleAssociations=field_mapjson__"ResolverRuleAssociations"ResolverRuleAssociations.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?resolverRuleAssociations?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account."]moduleListResolverRuleAssociationsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of rule associations that you want to return in the response to a ListResolverRuleAssociations request. If you don't specify a value for MaxResults, Resolver returns up to 100 rule associations."];nextToken:NextToken.toption[@ocaml.doc"For the first ListResolverRuleAssociation request, omit this value. If you have more than MaxResults rule associations, you can submit another ListResolverRuleAssociation request to get the next group of rule associations. In the next request, specify the value of NextToken from the previous response."];filters:Filters.toption[@ocaml.doc"An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID. If you submit a second or subsequent ListResolverRuleAssociations request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request."]}letmake?maxResults=fun?nextToken->fun?filters->fun()->{maxResults;nextToken;filters}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Filters",(Option.mapx.filters~f:Filters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilters=(Option.map~f:Filters.of_xml)(Xml.childxml_arg0"Filters")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?filters?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilters=field_mapjson__"Filters"Filters.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?filters?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account."]moduleListResolverQueryLogConfigsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If there are more than MaxResults query logging configurations, you can submit another ListResolverQueryLogConfigs request to get the next group of configurations. In the next request, specify the value of NextToken from the previous response."];totalCount:Count.toption[@ocaml.doc"The total number of query logging configurations that were created by the current account in the specified Region. This count can differ from the number of query logging configurations that are returned in a ListResolverQueryLogConfigs response, depending on the values that you specify in the request."];totalFilteredCount:Count.toption[@ocaml.doc"The total number of query logging configurations that were created by the current account in the specified Region and that match the filters that were specified in the ListResolverQueryLogConfigs request. For the total number of query logging configurations that were created by the current account in the specified Region, see TotalCount."];resolverQueryLogConfigs:ResolverQueryLogConfigList.toption[@ocaml.doc"A list that contains one ResolverQueryLogConfig element for each query logging configuration that matches the values that you specified for Filter."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?totalCount->fun?totalFilteredCount->fun?resolverQueryLogConfigs->fun()->{nextToken;totalCount;totalFilteredCount;resolverQueryLogConfigs}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("TotalCount",(Option.mapx.totalCount~f:Count.to_value));("TotalFilteredCount",(Option.mapx.totalFilteredCount~f:Count.to_value));("ResolverQueryLogConfigs",(Option.mapx.resolverQueryLogConfigs~f:ResolverQueryLogConfigList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigs=(Option.map~f:ResolverQueryLogConfigList.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfigs")inlettotalFilteredCount=(Option.map~f:Count.of_xml)(Xml.childxml_arg0"TotalFilteredCount")inlettotalCount=(Option.map~f:Count.of_xml)(Xml.childxml_arg0"TotalCount")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?resolverQueryLogConfigs?totalFilteredCount?totalCount?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigs=field_mapjson__"ResolverQueryLogConfigs"ResolverQueryLogConfigList.of_jsoninlettotalFilteredCount=field_mapjson__"TotalFilteredCount"Count.of_jsoninlettotalCount=field_mapjson__"TotalCount"Count.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?resolverQueryLogConfigs?totalFilteredCount?totalCount?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for."]moduleListResolverQueryLogConfigsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of query logging configurations that you want to return in the response to a ListResolverQueryLogConfigs request. If you don't specify a value for MaxResults, Resolver returns up to 100 query logging configurations."];nextToken:NextToken.toption[@ocaml.doc"For the first ListResolverQueryLogConfigs request, omit this value. If there are more than MaxResults query logging configurations that match the values that you specify for Filters, you can submit another ListResolverQueryLogConfigs request to get the next group of configurations. In the next request, specify the value of NextToken from the previous response."];filters:Filters.toption[@ocaml.doc"An optional specification to return a subset of query logging configurations. If you submit a second or subsequent ListResolverQueryLogConfigs request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request."];sortBy:SortByKey.toption[@ocaml.doc"The element that you want Resolver to sort query logging configurations by. If you submit a second or subsequent ListResolverQueryLogConfigs request and specify the NextToken parameter, you must use the same value for SortBy, if any, as in the previous request. Valid values include the following elements: Arn: The ARN of the query logging configuration AssociationCount: The number of VPCs that are associated with the specified configuration CreationTime: The date and time that Resolver returned when the configuration was created CreatorRequestId: The value that was specified for CreatorRequestId when the configuration was created DestinationArn: The location that logs are sent to Id: The ID of the configuration Name: The name of the configuration OwnerId: The Amazon Web Services account number of the account that created the configuration ShareStatus: Whether the configuration is shared with other Amazon Web Services accounts or shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM). Status: The current status of the configuration. Valid values include the following: CREATING: Resolver is creating the query logging configuration. CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging configuration. FAILED: Resolver either couldn't create or couldn't delete the query logging configuration. Here are two common causes: The specified destination (for example, an Amazon S3 bucket) was deleted. Permissions don't allow sending logs to the destination."];sortOrder:SortOrder.toption[@ocaml.doc"If you specified a value for SortBy, the order that you want query logging configurations to be listed in, ASCENDING or DESCENDING. If you submit a second or subsequent ListResolverQueryLogConfigs request and specify the NextToken parameter, you must use the same value for SortOrder, if any, as in the previous request."]}letmake?maxResults=fun?nextToken->fun?filters->fun?sortBy->fun?sortOrder->fun()->{maxResults;nextToken;filters;sortBy;sortOrder}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Filters",(Option.mapx.filters~f:Filters.to_value));("SortBy",(Option.mapx.sortBy~f:SortByKey.to_value));("SortOrder",(Option.mapx.sortOrder~f:SortOrder.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsortOrder=(Option.map~f:SortOrder.of_xml)(Xml.childxml_arg0"SortOrder")inletsortBy=(Option.map~f:SortByKey.of_xml)(Xml.childxml_arg0"SortBy")inletfilters=(Option.map~f:Filters.of_xml)(Xml.childxml_arg0"Filters")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?sortOrder?sortBy?filters?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsortOrder=field_mapjson__"SortOrder"SortOrder.of_jsoninletsortBy=field_mapjson__"SortBy"SortByKey.of_jsoninletfilters=field_mapjson__"Filters"Filters.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?sortOrder?sortBy?filters?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for."]moduleListResolverQueryLogConfigAssociationsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If there are more than MaxResults query logging associations, you can submit another ListResolverQueryLogConfigAssociations request to get the next group of associations. In the next request, specify the value of NextToken from the previous response."];totalCount:Count.toption[@ocaml.doc"The total number of query logging associations that were created by the current account in the specified Region. This count can differ from the number of associations that are returned in a ListResolverQueryLogConfigAssociations response, depending on the values that you specify in the request."];totalFilteredCount:Count.toption[@ocaml.doc"The total number of query logging associations that were created by the current account in the specified Region and that match the filters that were specified in the ListResolverQueryLogConfigAssociations request. For the total number of associations that were created by the current account in the specified Region, see TotalCount."];resolverQueryLogConfigAssociations:ResolverQueryLogConfigAssociationList.toption[@ocaml.doc"A list that contains one ResolverQueryLogConfigAssociations element for each query logging association that matches the values that you specified for Filter."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?totalCount->fun?totalFilteredCount->fun?resolverQueryLogConfigAssociations->fun()->{nextToken;totalCount;totalFilteredCount;resolverQueryLogConfigAssociations}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("TotalCount",(Option.mapx.totalCount~f:Count.to_value));("TotalFilteredCount",(Option.mapx.totalFilteredCount~f:Count.to_value));("ResolverQueryLogConfigAssociations",(Option.mapx.resolverQueryLogConfigAssociations~f:ResolverQueryLogConfigAssociationList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigAssociations=(Option.map~f:ResolverQueryLogConfigAssociationList.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfigAssociations")inlettotalFilteredCount=(Option.map~f:Count.of_xml)(Xml.childxml_arg0"TotalFilteredCount")inlettotalCount=(Option.map~f:Count.of_xml)(Xml.childxml_arg0"TotalCount")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?resolverQueryLogConfigAssociations?totalFilteredCount?totalCount?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigAssociations=field_mapjson__"ResolverQueryLogConfigAssociations"ResolverQueryLogConfigAssociationList.of_jsoninlettotalFilteredCount=field_mapjson__"TotalFilteredCount"Count.of_jsoninlettotalCount=field_mapjson__"TotalCount"Count.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?resolverQueryLogConfigAssociations?totalFilteredCount?totalCount?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists information about associations between Amazon VPCs and query logging configurations."]moduleListResolverQueryLogConfigAssociationsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of query logging associations that you want to return in the response to a ListResolverQueryLogConfigAssociations request. If you don't specify a value for MaxResults, Resolver returns up to 100 query logging associations."];nextToken:NextToken.toption[@ocaml.doc"For the first ListResolverQueryLogConfigAssociations request, omit this value. If there are more than MaxResults query logging associations that match the values that you specify for Filters, you can submit another ListResolverQueryLogConfigAssociations request to get the next group of associations. In the next request, specify the value of NextToken from the previous response."];filters:Filters.toption[@ocaml.doc"An optional specification to return a subset of query logging associations. If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request."];sortBy:SortByKey.toption[@ocaml.doc"The element that you want Resolver to sort query logging associations by. If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same value for SortBy, if any, as in the previous request. Valid values include the following elements: CreationTime: The ID of the query logging association. Error: If the value of Status is FAILED, the value of Error indicates the cause: DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. ACCESS_DENIED: Permissions don't allow sending logs to the destination. If Status is a value other than FAILED, ERROR is null. Id: The ID of the query logging association ResolverQueryLogConfigId: The ID of the query logging configuration ResourceId: The ID of the VPC that is associated with the query logging configuration Status: The current status of the configuration. Valid values include the following: CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. CREATED: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging association. FAILED: Resolver either couldn't create or couldn't delete the query logging association. Here are two common causes: The specified destination (for example, an Amazon S3 bucket) was deleted. Permissions don't allow sending logs to the destination."];sortOrder:SortOrder.toption[@ocaml.doc"If you specified a value for SortBy, the order that you want query logging associations to be listed in, ASCENDING or DESCENDING. If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same value for SortOrder, if any, as in the previous request."]}letmake?maxResults=fun?nextToken->fun?filters->fun?sortBy->fun?sortOrder->fun()->{maxResults;nextToken;filters;sortBy;sortOrder}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Filters",(Option.mapx.filters~f:Filters.to_value));("SortBy",(Option.mapx.sortBy~f:SortByKey.to_value));("SortOrder",(Option.mapx.sortOrder~f:SortOrder.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsortOrder=(Option.map~f:SortOrder.of_xml)(Xml.childxml_arg0"SortOrder")inletsortBy=(Option.map~f:SortByKey.of_xml)(Xml.childxml_arg0"SortBy")inletfilters=(Option.map~f:Filters.of_xml)(Xml.childxml_arg0"Filters")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?sortOrder?sortBy?filters?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsortOrder=field_mapjson__"SortOrder"SortOrder.of_jsoninletsortBy=field_mapjson__"SortBy"SortByKey.of_jsoninletfilters=field_mapjson__"Filters"Filters.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?sortOrder?sortBy?filters?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists information about associations between Amazon VPCs and query logging configurations."]moduleListResolverEndpointsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If more than MaxResults IP addresses match the specified criteria, you can submit another ListResolverEndpoint request to get the next group of results. In the next request, specify the value of NextToken from the previous response."];maxResults:MaxResults.toption[@ocaml.doc"The value that you specified for MaxResults in the request."];resolverEndpoints:ResolverEndpoints.toption[@ocaml.doc"The Resolver endpoints that were created by using the current Amazon Web Services account, and that match the specified filters, if any."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?maxResults->fun?resolverEndpoints->fun()->{nextToken;maxResults;resolverEndpoints}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("ResolverEndpoints",(Option.mapx.resolverEndpoints~f:ResolverEndpoints.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpoints=(Option.map~f:ResolverEndpoints.of_xml)(Xml.childxml_arg0"ResolverEndpoints")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?resolverEndpoints?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpoints=field_mapjson__"ResolverEndpoints"ResolverEndpoints.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?resolverEndpoints?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the Resolver endpoints that were created using the current Amazon Web Services account."]moduleListResolverEndpointsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of Resolver endpoints that you want to return in the response to a ListResolverEndpoints request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver endpoints."];nextToken:NextToken.toption[@ocaml.doc"For the first ListResolverEndpoints request, omit this value. If you have more than MaxResults Resolver endpoints, you can submit another ListResolverEndpoints request to get the next group of Resolver endpoints. In the next request, specify the value of NextToken from the previous response."];filters:Filters.toption[@ocaml.doc"An optional specification to return a subset of Resolver endpoints, such as all inbound Resolver endpoints. If you submit a second or subsequent ListResolverEndpoints request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request."]}letmake?maxResults=fun?nextToken->fun?filters->fun()->{maxResults;nextToken;filters}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Filters",(Option.mapx.filters~f:Filters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilters=(Option.map~f:Filters.of_xml)(Xml.childxml_arg0"Filters")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?filters?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilters=field_mapjson__"Filters"Filters.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?filters?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the Resolver endpoints that were created using the current Amazon Web Services account."]moduleListResolverEndpointIpAddressesResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If the specified endpoint has more than MaxResults IP addresses, you can submit another ListResolverEndpointIpAddresses request to get the next group of IP addresses. In the next request, specify the value of NextToken from the previous response."];maxResults:MaxResults.toption[@ocaml.doc"The value that you specified for MaxResults in the request."];ipAddresses:IpAddressesResponse.toption[@ocaml.doc"Information about the IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints)."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?maxResults->fun?ipAddresses->fun()->{nextToken;maxResults;ipAddresses}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("IpAddresses",(Option.mapx.ipAddresses~f:IpAddressesResponse.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipAddresses=(Option.map~f:IpAddressesResponse.of_xml)(Xml.childxml_arg0"IpAddresses")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?ipAddresses?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipAddresses=field_mapjson__"IpAddresses"IpAddressesResponse.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?ipAddresses?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets the IP addresses for a specified Resolver endpoint."]moduleListResolverEndpointIpAddressesRequest=structtypenonrect={resolverEndpointId:ResourceId.t[@ocaml.doc"The ID of the Resolver endpoint that you want to get IP addresses for."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of IP addresses that you want to return in the response to a ListResolverEndpointIpAddresses request. If you don't specify a value for MaxResults, Resolver returns up to 100 IP addresses."];nextToken:NextToken.toption[@ocaml.doc"For the first ListResolverEndpointIpAddresses request, omit this value. If the specified Resolver endpoint has more than MaxResults IP addresses, you can submit another ListResolverEndpointIpAddresses request to get the next group of IP addresses. In the next request, specify the value of NextToken from the previous response."]}letcontext_="ListResolverEndpointIpAddressesRequest"letmake?maxResults=fun?nextToken->fun~resolverEndpointId->fun()->{maxResults;nextToken;resolverEndpointId}letto_valuex=structure_to_value[("ResolverEndpointId",(Some(ResourceId.to_valuex.resolverEndpointId)));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletresolverEndpointId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverEndpointId")inmake?nextToken?maxResults~resolverEndpointId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletresolverEndpointId=field_map_exnjson__"ResolverEndpointId"ResourceId.of_jsoninmake?nextToken?maxResults~resolverEndpointId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets the IP addresses for a specified Resolver endpoint."]moduleListResolverDnssecConfigsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If a response includes the last of the DNSSEC configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response. If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverDnssecConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request."];resolverDnssecConfigs:ResolverDnssecConfigList.toption[@ocaml.doc"An array that contains one ResolverDnssecConfig element for each configuration for DNSSEC validation that is associated with the current Amazon Web Services account. It doesn't contain disabled DNSSEC configurations for the resource."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?resolverDnssecConfigs->fun()->{nextToken;resolverDnssecConfigs}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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:NextToken.to_value));("ResolverDnssecConfigs",(Option.mapx.resolverDnssecConfigs~f:ResolverDnssecConfigList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverDnssecConfigs=(Option.map~f:ResolverDnssecConfigList.of_xml)(Xml.childxml_arg0"ResolverDnssecConfigs")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?resolverDnssecConfigs?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverDnssecConfigs=field_mapjson__"ResolverDnssecConfigs"ResolverDnssecConfigList.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?resolverDnssecConfigs?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account."]moduleListResolverDnssecConfigsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"Optional: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. If you don't specify a value for MaxResults, Route 53 returns up to 100 configuration per page."];nextToken:NextToken.toption[@ocaml.doc"(Optional) If the current Amazon Web Services account has more than MaxResults DNSSEC configurations, use NextToken to get the second and subsequent pages of results. For the first ListResolverDnssecConfigs request, omit this value. For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request."];filters:Filters.toption[@ocaml.doc"An optional specification to return a subset of objects."]}letmake?maxResults=fun?nextToken->fun?filters->fun()->{maxResults;nextToken;filters}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value));("Filters",(Option.mapx.filters~f:Filters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfilters=(Option.map~f:Filters.of_xml)(Xml.childxml_arg0"Filters")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?filters?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfilters=field_mapjson__"Filters"Filters.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?filters?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account."]moduleListResolverConfigsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response. If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverConfigs request. Get the value of NextToken that Amazon Route\194\16053 returned in the previous response and include it in NextToken in the next request."];resolverConfigs:ResolverConfigList.toption[@ocaml.doc"An array that contains one ResolverConfigs element for each Resolver configuration that is associated with the current Amazon Web Services account."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidNextTokenExceptionofInvalidNextTokenException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?resolverConfigs->fun()->{nextToken;resolverConfigs}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidNextTokenException"->`InvalidNextTokenException(InvalidNextTokenException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidNextTokenExceptione->`Assoc[("error",(`String"InvalidNextTokenException"));("details",(InvalidNextTokenException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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:NextToken.to_value));("ResolverConfigs",(Option.mapx.resolverConfigs~f:ResolverConfigList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverConfigs=(Option.map~f:ResolverConfigList.of_xml)(Xml.childxml_arg0"ResolverConfigs")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?resolverConfigs?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverConfigs=field_mapjson__"ResolverConfigs"ResolverConfigList.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?resolverConfigs?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the Resolver configurations that you have defined. Route\194\16053 Resolver uses the configurations to manage DNS resolution behavior for your VPCs."]moduleListResolverConfigsRequest=structtypenonrect={maxResults:ListResolverConfigsMaxResult.toption[@ocaml.doc"The maximum number of Resolver configurations that you want to return in the response to a ListResolverConfigs request. If you don't specify a value for MaxResults, up to 100 Resolver configurations are returned."];nextToken:NextToken.toption[@ocaml.doc"(Optional) If the current Amazon Web Services account has more than MaxResults Resolver configurations, use NextToken to get the second and subsequent pages of results. For the first ListResolverConfigs request, omit this value. For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:ListResolverConfigsMaxResult.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:ListResolverConfigsMaxResult.of_xml)(Xml.childxml_arg0"MaxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"ListResolverConfigsMaxResult.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the Resolver configurations that you have defined. Route\194\16053 Resolver uses the configurations to manage DNS resolution behavior for your VPCs."]moduleListOutpostResolversResponse=structtypenonrect={outpostResolvers:OutpostResolverList.toption[@ocaml.doc"The Resolvers on Outposts that were created by using the current Amazon Web Services account, and that match the specified filters, if any."];nextToken:NextToken.toption[@ocaml.doc"If more than MaxResults Resolvers match the specified criteria, you can submit another ListOutpostResolver request to get the next group of results. In the next request, specify the value of NextToken from the previous response."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?outpostResolvers=fun?nextToken->fun()->{outpostResolvers;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OutpostResolvers",(Option.mapx.outpostResolvers~f:OutpostResolverList.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletoutpostResolvers=(Option.map~f:OutpostResolverList.of_xml)(Xml.childxml_arg0"OutpostResolvers")inmake?nextToken?outpostResolvers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletoutpostResolvers=field_mapjson__"OutpostResolvers"OutpostResolverList.of_jsoninmake?nextToken?outpostResolvers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account."]moduleListOutpostResolversRequest=structtypenonrect={outpostArn:OutpostArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Outpost."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of Resolvers on the Outpost that you want to return in the response to a ListOutpostResolver request. If you don't specify a value for MaxResults, the request returns up to 100 Resolvers."];nextToken:NextToken.toption[@ocaml.doc"For the first ListOutpostResolver request, omit this value."]}letmake?outpostArn=fun?maxResults->fun?nextToken->fun()->{outpostArn;maxResults;nextToken}letto_valuex=structure_to_value[("OutpostArn",(Option.mapx.outpostArn~f:OutpostArn.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletoutpostArn=(Option.map~f:OutpostArn.of_xml)(Xml.childxml_arg0"OutpostArn")inmake?nextToken?maxResults?outpostArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletoutpostArn=field_mapjson__"OutpostArn"OutpostArn.of_jsoninmake?nextToken?maxResults?outpostArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account."]moduleListFirewallRulesResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request."];firewallRules:FirewallRules.toption[@ocaml.doc"A list of the rules that you have defined. This might be a partial list of the firewall rules that you've defined. For information, see MaxResults."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?firewallRules->fun()->{nextToken;firewallRules}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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:NextToken.to_value));("FirewallRules",(Option.mapx.firewallRules~f:FirewallRules.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRules=(Option.map~f:FirewallRules.of_xml)(Xml.childxml_arg0"FirewallRules")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?firewallRules?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRules=field_mapjson__"FirewallRules"FirewallRules.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?firewallRules?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC. A single call might return only a partial list of the rules. For information, see MaxResults."]moduleListFirewallRulesRequest=structtypenonrect={firewallRuleGroupId:ResourceId.t[@ocaml.doc"The unique identifier of the firewall rule group that you want to retrieve the rules for."];priority:Priority.toption[@ocaml.doc"Optional additional filter for the rules to retrieve. The setting that determines the processing order of the rules in a rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting."];action:Action.toption[@ocaml.doc"Optional additional filter for the rules to retrieve. The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: ALLOW - Permit the request to go through. Not availabe for DNS Firewall Advanced rules. ALERT - Permit the request to go through but send an alert to the logs. BLOCK - Disallow the request. If this is specified, additional handling details are provided in the rule's BlockResponse setting."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."]}letcontext_="ListFirewallRulesRequest"letmake?priority=fun?action->fun?maxResults->fun?nextToken->fun~firewallRuleGroupId->fun()->{priority;action;maxResults;nextToken;firewallRuleGroupId}letto_valuex=structure_to_value[("FirewallRuleGroupId",(Some(ResourceId.to_valuex.firewallRuleGroupId)));("Priority",(Option.mapx.priority~f:Priority.to_value));("Action",(Option.mapx.action~f:Action.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletaction=(Option.map~f:Action.of_xml)(Xml.childxml_arg0"Action")inletpriority=(Option.map~f:Priority.of_xml)(Xml.childxml_arg0"Priority")inletfirewallRuleGroupId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupId")inmake?nextToken?maxResults?action?priority~firewallRuleGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletaction=field_mapjson__"Action"Action.of_jsoninletpriority=field_mapjson__"Priority"Priority.of_jsoninletfirewallRuleGroupId=field_map_exnjson__"FirewallRuleGroupId"ResourceId.of_jsoninmake?nextToken?maxResults?action?priority~firewallRuleGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC. A single call might return only a partial list of the rules. For information, see MaxResults."]moduleListFirewallRuleGroupsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request."];firewallRuleGroups:FirewallRuleGroupMetadataList.toption[@ocaml.doc"A list of your firewall rule groups. This might be a partial list of the rule groups that you have defined. For information, see MaxResults."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?firewallRuleGroups->fun()->{nextToken;firewallRuleGroups}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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:NextToken.to_value));("FirewallRuleGroups",(Option.mapx.firewallRuleGroups~f:FirewallRuleGroupMetadataList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroups=(Option.map~f:FirewallRuleGroupMetadataList.of_xml)(Xml.childxml_arg0"FirewallRuleGroups")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?firewallRuleGroups?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroups=field_mapjson__"FirewallRuleGroups"FirewallRuleGroupMetadataList.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?firewallRuleGroups?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the minimal high-level information for the rule groups that you have defined. A single call might return only a partial list of the rule groups. For information, see MaxResults."]moduleListFirewallRuleGroupsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the minimal high-level information for the rule groups that you have defined. A single call might return only a partial list of the rule groups. For information, see MaxResults."]moduleListFirewallRuleGroupAssociationsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request."];firewallRuleGroupAssociations:FirewallRuleGroupAssociations.toption[@ocaml.doc"A list of your firewall rule group associations. This might be a partial list of the associations that you have defined. For information, see MaxResults."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?firewallRuleGroupAssociations->fun()->{nextToken;firewallRuleGroupAssociations}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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:NextToken.to_value));("FirewallRuleGroupAssociations",(Option.mapx.firewallRuleGroupAssociations~f:FirewallRuleGroupAssociations.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupAssociations=(Option.map~f:FirewallRuleGroupAssociations.of_xml)(Xml.childxml_arg0"FirewallRuleGroupAssociations")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?firewallRuleGroupAssociations?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupAssociations=field_mapjson__"FirewallRuleGroupAssociations"FirewallRuleGroupAssociations.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?firewallRuleGroupAssociations?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group. A single call might return only a partial list of the associations. For information, see MaxResults."]moduleListFirewallRuleGroupAssociationsRequest=structtypenonrect={firewallRuleGroupId:ResourceId.toption[@ocaml.doc"The unique identifier of the firewall rule group that you want to retrieve the associations for. Leave this blank to retrieve associations for any rule group."];vpcId:ResourceId.toption[@ocaml.doc"The unique identifier of the VPC that you want to retrieve the associations for. Leave this blank to retrieve associations for any VPC."];priority:Priority.toption[@ocaml.doc"The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting."];status:FirewallRuleGroupAssociationStatus.toption[@ocaml.doc"The association Status setting that you want DNS Firewall to filter on for the list. If you don't specify this, then DNS Firewall returns all associations, regardless of status."];maxResults:MaxResults.toption[@ocaml.doc"The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."]}letmake?firewallRuleGroupId=fun?vpcId->fun?priority->fun?status->fun?maxResults->fun?nextToken->fun()->{firewallRuleGroupId;vpcId;priority;status;maxResults;nextToken}letto_valuex=structure_to_value[("FirewallRuleGroupId",(Option.mapx.firewallRuleGroupId~f:ResourceId.to_value));("VpcId",(Option.mapx.vpcId~f:ResourceId.to_value));("Priority",(Option.mapx.priority~f:Priority.to_value));("Status",(Option.mapx.status~f:FirewallRuleGroupAssociationStatus.to_value));("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletstatus=(Option.map~f:FirewallRuleGroupAssociationStatus.of_xml)(Xml.childxml_arg0"Status")inletpriority=(Option.map~f:Priority.of_xml)(Xml.childxml_arg0"Priority")inletvpcId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"VpcId")inletfirewallRuleGroupId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallRuleGroupId")inmake?nextToken?maxResults?status?priority?vpcId?firewallRuleGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninletstatus=field_mapjson__"Status"FirewallRuleGroupAssociationStatus.of_jsoninletpriority=field_mapjson__"Priority"Priority.of_jsoninletvpcId=field_mapjson__"VpcId"ResourceId.of_jsoninletfirewallRuleGroupId=field_mapjson__"FirewallRuleGroupId"ResourceId.of_jsoninmake?nextToken?maxResults?status?priority?vpcId?firewallRuleGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group. A single call might return only a partial list of the associations. For information, see MaxResults."]moduleListFirewallDomainsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request."];domains:FirewallDomains.toption[@ocaml.doc"A list of the domains in the firewall domain list. This might be a partial list of the domains that you've defined in the domain list. For information, see MaxResults."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?domains->fun()->{nextToken;domains}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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:NextToken.to_value));("Domains",(Option.mapx.domains~f:FirewallDomains.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdomains=(Option.map~f:FirewallDomains.of_xml)(Xml.childxml_arg0"Domains")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?domains?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdomains=field_mapjson__"Domains"FirewallDomains.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?domains?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the domains that you have defined for the specified firewall domain list. A single call might return only a partial list of the domains. For information, see MaxResults."]moduleListFirewallDomainsRequest=structtypenonrect={firewallDomainListId:ResourceId.t[@ocaml.doc"The ID of the domain list whose domains you want to retrieve."];maxResults:ListDomainMaxResults.toption[@ocaml.doc"The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."]}letcontext_="ListFirewallDomainsRequest"letmake?maxResults=fun?nextToken->fun~firewallDomainListId->fun()->{maxResults;nextToken;firewallDomainListId}letto_valuex=structure_to_value[("FirewallDomainListId",(Some(ResourceId.to_valuex.firewallDomainListId)));("MaxResults",(Option.mapx.maxResults~f:ListDomainMaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:ListDomainMaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inletfirewallDomainListId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallDomainListId")inmake?nextToken?maxResults~firewallDomainListId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"ListDomainMaxResults.of_jsoninletfirewallDomainListId=field_map_exnjson__"FirewallDomainListId"ResourceId.of_jsoninmake?nextToken?maxResults~firewallDomainListId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the domains that you have defined for the specified firewall domain list. A single call might return only a partial list of the domains. For information, see MaxResults."]moduleListFirewallDomainListsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request."];firewallDomainLists:FirewallDomainListMetadataList.toption[@ocaml.doc"A list of the domain lists that you have defined. This might be a partial list of the domain lists that you've defined. For information, see MaxResults."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?firewallDomainLists->fun()->{nextToken;firewallDomainLists}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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:NextToken.to_value));("FirewallDomainLists",(Option.mapx.firewallDomainLists~f:FirewallDomainListMetadataList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallDomainLists=(Option.map~f:FirewallDomainListMetadataList.of_xml)(Xml.childxml_arg0"FirewallDomainLists")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?firewallDomainLists?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallDomainLists=field_mapjson__"FirewallDomainLists"FirewallDomainListMetadataList.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?firewallDomainLists?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains. A single call to this list operation might return only a partial list of the domain lists. For information, see MaxResults."]moduleListFirewallDomainListsRequest=structtypenonrect={maxResults:MaxResults.toption[@ocaml.doc"The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"MaxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"MaxResults.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains. A single call to this list operation might return only a partial list of the domain lists. For information, see MaxResults."]moduleListFirewallConfigsResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request."];firewallConfigs:FirewallConfigList.toption[@ocaml.doc"The configurations for the firewall behavior provided by DNS Firewall for VPCs from Amazon Virtual Private Cloud (Amazon VPC)."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?firewallConfigs->fun()->{nextToken;firewallConfigs}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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:NextToken.to_value));("FirewallConfigs",(Option.mapx.firewallConfigs~f:FirewallConfigList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallConfigs=(Option.map~f:FirewallConfigList.of_xml)(Xml.childxml_arg0"FirewallConfigs")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inmake?firewallConfigs?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallConfigs=field_mapjson__"FirewallConfigs"FirewallConfigList.of_jsoninletnextToken=field_mapjson__"NextToken"NextToken.of_jsoninmake?firewallConfigs?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs. A single call might return only a partial list of the configurations. For information, see MaxResults."]moduleListFirewallConfigsRequest=structtypenonrect={maxResults:ListFirewallConfigsMaxResult.toption[@ocaml.doc"The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects."];nextToken:NextToken.toption[@ocaml.doc"For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("MaxResults",(Option.mapx.maxResults~f:ListFirewallConfigsMaxResult.to_value));("NextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"NextToken")inletmaxResults=(Option.map~f:ListFirewallConfigsMaxResult.of_xml)(Xml.childxml_arg0"MaxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"NextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"MaxResults"ListFirewallConfigsMaxResult.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs. A single call might return only a partial list of the configurations. For information, see MaxResults."]moduleImportFirewallDomainsResponse=structtypenonrect={id:ResourceId.toption[@ocaml.doc"The Id of the firewall domain list that DNS Firewall just updated."];name:Name.toption[@ocaml.doc"The name of the domain list."];status:FirewallDomainListStatus.toption[@ocaml.doc"Status of the import request."];statusMessage:StatusMessage.toption[@ocaml.doc"Additional information about the status of the list, if available."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?id=fun?name->fun?status->fun?statusMessage->fun()->{id;name;status;statusMessage}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.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))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("Id",(Option.mapx.id~f:ResourceId.to_value));("Name",(Option.mapx.name~f:Name.to_value));("Status",(Option.mapx.status~f:FirewallDomainListStatus.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:FirewallDomainListStatus.of_xml)(Xml.childxml_arg0"Status")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"Id")inmake?statusMessage?status?name?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"StatusMessage"StatusMessage.of_jsoninletstatus=field_mapjson__"Status"FirewallDomainListStatus.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletid=field_mapjson__"Id"ResourceId.of_jsoninmake?statusMessage?status?name?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Imports domain names from a file into a domain list, for use in a DNS firewall rule group. Each domain specification in your domain list must satisfy the following requirements: It can optionally start with * (asterisk). With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen). It must be from 1-255 characters in length."]moduleImportFirewallDomainsRequest=structtypenonrect={firewallDomainListId:ResourceId.t[@ocaml.doc"The ID of the domain list that you want to modify with the import operation."];operation:FirewallDomainImportOperation.t[@ocaml.doc"What you want DNS Firewall to do with the domains that are listed in the file. This must be set to REPLACE, which updates the domain list to exactly match the list in the file."];domainFileUrl:DomainListFileUrl.t[@ocaml.doc"The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import. The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line."]}letcontext_="ImportFirewallDomainsRequest"letmake~firewallDomainListId=fun~operation->fun~domainFileUrl->fun()->{firewallDomainListId;operation;domainFileUrl}letto_valuex=structure_to_value[("FirewallDomainListId",(Some(ResourceId.to_valuex.firewallDomainListId)));("Operation",(Some(FirewallDomainImportOperation.to_valuex.operation)));("DomainFileUrl",(Some(DomainListFileUrl.to_valuex.domainFileUrl)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdomainFileUrl=DomainListFileUrl.of_xml(Xml.child_exn~context:context_xml_arg0"DomainFileUrl")inletoperation=FirewallDomainImportOperation.of_xml(Xml.child_exn~context:context_xml_arg0"Operation")inletfirewallDomainListId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallDomainListId")inmake~domainFileUrl~operation~firewallDomainListId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdomainFileUrl=field_map_exnjson__"DomainFileUrl"DomainListFileUrl.of_jsoninletoperation=field_map_exnjson__"Operation"FirewallDomainImportOperation.of_jsoninletfirewallDomainListId=field_map_exnjson__"FirewallDomainListId"ResourceId.of_jsoninmake~domainFileUrl~operation~firewallDomainListId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Imports domain names from a file into a domain list, for use in a DNS firewall rule group. Each domain specification in your domain list must satisfy the following requirements: It can optionally start with * (asterisk). With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen). It must be from 1-255 characters in length."]moduleGetResolverRuleResponse=structtypenonrect={resolverRule:ResolverRule.toption[@ocaml.doc"Information about the Resolver rule that you specified in a GetResolverRule request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverRule=fun()->{resolverRule}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverRule",(Option.mapx.resolverRule~f:ResolverRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRule=(Option.map~f:ResolverRule.of_xml)(Xml.childxml_arg0"ResolverRule")inmake?resolverRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRule=field_mapjson__"ResolverRule"ResolverRule.of_jsoninmake?resolverRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound Resolver endpoint that the rule is associated with."]moduleGetResolverRuleRequest=structtypenonrect={resolverRuleId:ResourceId.t[@ocaml.doc"The ID of the Resolver rule that you want to get information about."]}letcontext_="GetResolverRuleRequest"letmake~resolverRuleId=fun()->{resolverRuleId}letto_valuex=structure_to_value[("ResolverRuleId",(Some(ResourceId.to_valuex.resolverRuleId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRuleId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverRuleId")inmake~resolverRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRuleId=field_map_exnjson__"ResolverRuleId"ResourceId.of_jsoninmake~resolverRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound Resolver endpoint that the rule is associated with."]moduleGetResolverRulePolicyResponse=structtypenonrect={resolverRulePolicy:ResolverRulePolicy.toption[@ocaml.doc"The Resolver rule policy for the rule that you specified in a GetResolverRulePolicy request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`UnknownResourceExceptionofUnknownResourceException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverRulePolicy=fun()->{resolverRulePolicy}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"UnknownResourceException"->`UnknownResourceException(UnknownResourceException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"UnknownResourceException"->`UnknownResourceException(UnknownResourceException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`UnknownResourceExceptione->`Assoc[("error",(`String"UnknownResourceException"));("details",(UnknownResourceException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResolverRulePolicy",(Option.mapx.resolverRulePolicy~f:ResolverRulePolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRulePolicy=(Option.map~f:ResolverRulePolicy.of_xml)(Xml.childxml_arg0"ResolverRulePolicy")inmake?resolverRulePolicy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRulePolicy=field_mapjson__"ResolverRulePolicy"ResolverRulePolicy.of_jsoninmake?resolverRulePolicy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use."]moduleGetResolverRulePolicyRequest=structtypenonrect={arn:Arn.t[@ocaml.doc"The ID of the Resolver rule that you want to get the Resolver rule policy for."]}letcontext_="GetResolverRulePolicyRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("Arn",(Some(Arn.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"Arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"Arn"Arn.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use."]moduleGetResolverRuleAssociationResponse=structtypenonrect={resolverRuleAssociation:ResolverRuleAssociation.toption[@ocaml.doc"Information about the Resolver rule association that you specified in a GetResolverRuleAssociation request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverRuleAssociation=fun()->{resolverRuleAssociation}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverRuleAssociation",(Option.mapx.resolverRuleAssociation~f:ResolverRuleAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRuleAssociation=(Option.map~f:ResolverRuleAssociation.of_xml)(Xml.childxml_arg0"ResolverRuleAssociation")inmake?resolverRuleAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRuleAssociation=field_mapjson__"ResolverRuleAssociation"ResolverRuleAssociation.of_jsoninmake?resolverRuleAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule."]moduleGetResolverRuleAssociationRequest=structtypenonrect={resolverRuleAssociationId:ResourceId.t[@ocaml.doc"The ID of the Resolver rule association that you want to get information about."]}letcontext_="GetResolverRuleAssociationRequest"letmake~resolverRuleAssociationId=fun()->{resolverRuleAssociationId}letto_valuex=structure_to_value[("ResolverRuleAssociationId",(Some(ResourceId.to_valuex.resolverRuleAssociationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRuleAssociationId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverRuleAssociationId")inmake~resolverRuleAssociationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRuleAssociationId=field_map_exnjson__"ResolverRuleAssociationId"ResourceId.of_jsoninmake~resolverRuleAssociationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule."]moduleGetResolverQueryLogConfigResponse=structtypenonrect={resolverQueryLogConfig:ResolverQueryLogConfig.toption[@ocaml.doc"Information about the Resolver query logging configuration that you specified in a GetQueryLogConfig request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverQueryLogConfig=fun()->{resolverQueryLogConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverQueryLogConfig",(Option.mapx.resolverQueryLogConfig~f:ResolverQueryLogConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfig=(Option.map~f:ResolverQueryLogConfig.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfig")inmake?resolverQueryLogConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfig=field_mapjson__"ResolverQueryLogConfig"ResolverQueryLogConfig.of_jsoninmake?resolverQueryLogConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to."]moduleGetResolverQueryLogConfigRequest=structtypenonrect={resolverQueryLogConfigId:ResourceId.t[@ocaml.doc"The ID of the Resolver query logging configuration that you want to get information about."]}letcontext_="GetResolverQueryLogConfigRequest"letmake~resolverQueryLogConfigId=fun()->{resolverQueryLogConfigId}letto_valuex=structure_to_value[("ResolverQueryLogConfigId",(Some(ResourceId.to_valuex.resolverQueryLogConfigId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverQueryLogConfigId")inmake~resolverQueryLogConfigId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigId=field_map_exnjson__"ResolverQueryLogConfigId"ResourceId.of_jsoninmake~resolverQueryLogConfigId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to."]moduleGetResolverQueryLogConfigPolicyResponse=structtypenonrect={resolverQueryLogConfigPolicy:ResolverQueryLogConfigPolicy.toption[@ocaml.doc"Information about the query logging policy for the query logging configuration that you specified in a GetResolverQueryLogConfigPolicy request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`UnknownResourceExceptionofUnknownResourceException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverQueryLogConfigPolicy=fun()->{resolverQueryLogConfigPolicy}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"UnknownResourceException"->`UnknownResourceException(UnknownResourceException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"UnknownResourceException"->`UnknownResourceException(UnknownResourceException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`UnknownResourceExceptione->`Assoc[("error",(`String"UnknownResourceException"));("details",(UnknownResourceException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResolverQueryLogConfigPolicy",(Option.mapx.resolverQueryLogConfigPolicy~f:ResolverQueryLogConfigPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigPolicy=(Option.map~f:ResolverQueryLogConfigPolicy.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfigPolicy")inmake?resolverQueryLogConfigPolicy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigPolicy=field_mapjson__"ResolverQueryLogConfigPolicy"ResolverQueryLogConfigPolicy.of_jsoninmake?resolverQueryLogConfigPolicy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use."]moduleGetResolverQueryLogConfigPolicyRequest=structtypenonrect={arn:Arn.t[@ocaml.doc"The ARN of the query logging configuration that you want to get the query logging policy for."]}letcontext_="GetResolverQueryLogConfigPolicyRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("Arn",(Some(Arn.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"Arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"Arn"Arn.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use."]moduleGetResolverQueryLogConfigAssociationResponse=structtypenonrect={resolverQueryLogConfigAssociation:ResolverQueryLogConfigAssociation.toption[@ocaml.doc"Information about the Resolver query logging configuration association that you specified in a GetQueryLogConfigAssociation request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverQueryLogConfigAssociation=fun()->{resolverQueryLogConfigAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverQueryLogConfigAssociation",(Option.mapx.resolverQueryLogConfigAssociation~f:ResolverQueryLogConfigAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigAssociation=(Option.map~f:ResolverQueryLogConfigAssociation.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfigAssociation")inmake?resolverQueryLogConfigAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigAssociation=field_mapjson__"ResolverQueryLogConfigAssociation"ResolverQueryLogConfigAssociation.of_jsoninmake?resolverQueryLogConfigAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that VPC."]moduleGetResolverQueryLogConfigAssociationRequest=structtypenonrect={resolverQueryLogConfigAssociationId:ResourceId.t[@ocaml.doc"The ID of the Resolver query logging configuration association that you want to get information about."]}letcontext_="GetResolverQueryLogConfigAssociationRequest"letmake~resolverQueryLogConfigAssociationId=fun()->{resolverQueryLogConfigAssociationId}letto_valuex=structure_to_value[("ResolverQueryLogConfigAssociationId",(Some(ResourceId.to_valuex.resolverQueryLogConfigAssociationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigAssociationId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverQueryLogConfigAssociationId")inmake~resolverQueryLogConfigAssociationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigAssociationId=field_map_exnjson__"ResolverQueryLogConfigAssociationId"ResourceId.of_jsoninmake~resolverQueryLogConfigAssociationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that VPC."]moduleGetResolverEndpointResponse=structtypenonrect={resolverEndpoint:ResolverEndpoint.toption[@ocaml.doc"Information about the Resolver endpoint that you specified in a GetResolverEndpoint request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverEndpoint=fun()->{resolverEndpoint}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverEndpoint",(Option.mapx.resolverEndpoint~f:ResolverEndpoint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpoint=(Option.map~f:ResolverEndpoint.of_xml)(Xml.childxml_arg0"ResolverEndpoint")inmake?resolverEndpoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpoint=field_mapjson__"ResolverEndpoint"ResolverEndpoint.of_jsoninmake?resolverEndpoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver endpoint, and the current status of the endpoint."]moduleGetResolverEndpointRequest=structtypenonrect={resolverEndpointId:ResourceId.t[@ocaml.doc"The ID of the Resolver endpoint that you want to get information about."]}letcontext_="GetResolverEndpointRequest"letmake~resolverEndpointId=fun()->{resolverEndpointId}letto_valuex=structure_to_value[("ResolverEndpointId",(Some(ResourceId.to_valuex.resolverEndpointId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpointId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverEndpointId")inmake~resolverEndpointId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpointId=field_map_exnjson__"ResolverEndpointId"ResourceId.of_jsoninmake~resolverEndpointId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver endpoint, and the current status of the endpoint."]moduleGetResolverDnssecConfigResponse=structtypenonrect={resolverDNSSECConfig:ResolverDnssecConfig.toption[@ocaml.doc"The information about a configuration for DNSSEC validation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverDNSSECConfig=fun()->{resolverDNSSECConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverDNSSECConfig",(Option.mapx.resolverDNSSECConfig~f:ResolverDnssecConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverDNSSECConfig=(Option.map~f:ResolverDnssecConfig.of_xml)(Xml.childxml_arg0"ResolverDNSSECConfig")inmake?resolverDNSSECConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverDNSSECConfig=field_mapjson__"ResolverDNSSECConfig"ResolverDnssecConfig.of_jsoninmake?resolverDNSSECConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets DNSSEC validation information for a specified resource."]moduleGetResolverDnssecConfigRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"The ID of the virtual private cloud (VPC) for the DNSSEC validation status."]}letcontext_="GetResolverDnssecConfigRequest"letmake~resourceId=fun()->{resourceId}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets DNSSEC validation information for a specified resource."]moduleGetResolverConfigResponse=structtypenonrect={resolverConfig:ResolverConfig.toption[@ocaml.doc"Information about the behavior configuration of Route\194\16053 Resolver behavior for the VPC you specified in the GetResolverConfig request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverConfig=fun()->{resolverConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("ResolverConfig",(Option.mapx.resolverConfig~f:ResolverConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverConfig=(Option.map~f:ResolverConfig.of_xml)(Xml.childxml_arg0"ResolverConfig")inmake?resolverConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverConfig=field_mapjson__"ResolverConfig"ResolverConfig.of_jsoninmake?resolverConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the behavior configuration of Route\194\16053 Resolver behavior for a single VPC from Amazon Virtual Private Cloud."]moduleGetResolverConfigRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"Resource ID of the Amazon VPC that you want to get information about."]}letcontext_="GetResolverConfigRequest"letmake~resourceId=fun()->{resourceId}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the behavior configuration of Route\194\16053 Resolver behavior for a single VPC from Amazon Virtual Private Cloud."]moduleGetOutpostResolverResponse=structtypenonrect={outpostResolver:OutpostResolver.toption[@ocaml.doc"Information about the GetOutpostResolver request, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?outpostResolver=fun()->{outpostResolver}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OutpostResolver",(Option.mapx.outpostResolver~f:OutpostResolver.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutpostResolver=(Option.map~f:OutpostResolver.of_xml)(Xml.childxml_arg0"OutpostResolver")inmake?outpostResolver()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutpostResolver=field_mapjson__"OutpostResolver"OutpostResolver.of_jsoninmake?outpostResolver()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver."]moduleGetOutpostResolverRequest=structtypenonrect={id:ResourceId.t[@ocaml.doc"The ID of the Resolver on the Outpost."]}letcontext_="GetOutpostResolverRequest"letmake~id=fun()->{id}letto_valuex=structure_to_value[("Id",(Some(ResourceId.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"Id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"Id"ResourceId.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver."]moduleGetFirewallRuleGroupResponse=structtypenonrect={firewallRuleGroup:FirewallRuleGroup.toption[@ocaml.doc"A collection of rules used to filter DNS network traffic."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRuleGroup=fun()->{firewallRuleGroup}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.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[("FirewallRuleGroup",(Option.mapx.firewallRuleGroup~f:FirewallRuleGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroup=(Option.map~f:FirewallRuleGroup.of_xml)(Xml.childxml_arg0"FirewallRuleGroup")inmake?firewallRuleGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroup=field_mapjson__"FirewallRuleGroup"FirewallRuleGroup.of_jsoninmake?firewallRuleGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the specified firewall rule group."]moduleGetFirewallRuleGroupRequest=structtypenonrect={firewallRuleGroupId:ResourceId.t[@ocaml.doc"The unique identifier of the firewall rule group."]}letcontext_="GetFirewallRuleGroupRequest"letmake~firewallRuleGroupId=fun()->{firewallRuleGroupId}letto_valuex=structure_to_value[("FirewallRuleGroupId",(Some(ResourceId.to_valuex.firewallRuleGroupId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupId")inmake~firewallRuleGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupId=field_map_exnjson__"FirewallRuleGroupId"ResourceId.of_jsoninmake~firewallRuleGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the specified firewall rule group."]moduleGetFirewallRuleGroupPolicyResponse=structtypenonrect={firewallRuleGroupPolicy:FirewallRuleGroupPolicy.toption[@ocaml.doc"The Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM)."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRuleGroupPolicy=fun()->{firewallRuleGroupPolicy}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRuleGroupPolicy",(Option.mapx.firewallRuleGroupPolicy~f:FirewallRuleGroupPolicy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupPolicy=(Option.map~f:FirewallRuleGroupPolicy.of_xml)(Xml.childxml_arg0"FirewallRuleGroupPolicy")inmake?firewallRuleGroupPolicy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupPolicy=field_mapjson__"FirewallRuleGroupPolicy"FirewallRuleGroupPolicy.of_jsoninmake?firewallRuleGroupPolicy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM)."]moduleGetFirewallRuleGroupPolicyRequest=structtypenonrect={arn:Arn.t[@ocaml.doc"The ARN (Amazon Resource Name) for the rule group."]}letcontext_="GetFirewallRuleGroupPolicyRequest"letmake~arn=fun()->{arn}letto_valuex=structure_to_value[("Arn",(Some(Arn.to_valuex.arn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"Arn")inmake~arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_map_exnjson__"Arn"Arn.of_jsoninmake~arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM)."]moduleGetFirewallRuleGroupAssociationResponse=structtypenonrect={firewallRuleGroupAssociation:FirewallRuleGroupAssociation.toption[@ocaml.doc"The association that you requested."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRuleGroupAssociation=fun()->{firewallRuleGroupAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.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[("FirewallRuleGroupAssociation",(Option.mapx.firewallRuleGroupAssociation~f:FirewallRuleGroupAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupAssociation=(Option.map~f:FirewallRuleGroupAssociation.of_xml)(Xml.childxml_arg0"FirewallRuleGroupAssociation")inmake?firewallRuleGroupAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupAssociation=field_mapjson__"FirewallRuleGroupAssociation"FirewallRuleGroupAssociation.of_jsoninmake?firewallRuleGroupAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC."]moduleGetFirewallRuleGroupAssociationRequest=structtypenonrect={firewallRuleGroupAssociationId:ResourceId.t[@ocaml.doc"The identifier of the FirewallRuleGroupAssociation."]}letcontext_="GetFirewallRuleGroupAssociationRequest"letmake~firewallRuleGroupAssociationId=fun()->{firewallRuleGroupAssociationId}letto_valuex=structure_to_value[("FirewallRuleGroupAssociationId",(Some(ResourceId.to_valuex.firewallRuleGroupAssociationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupAssociationId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupAssociationId")inmake~firewallRuleGroupAssociationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupAssociationId=field_map_exnjson__"FirewallRuleGroupAssociationId"ResourceId.of_jsoninmake~firewallRuleGroupAssociationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC."]moduleGetFirewallDomainListResponse=structtypenonrect={firewallDomainList:FirewallDomainList.toption[@ocaml.doc"The domain list that you requested."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallDomainList=fun()->{firewallDomainList}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.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[("FirewallDomainList",(Option.mapx.firewallDomainList~f:FirewallDomainList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallDomainList=(Option.map~f:FirewallDomainList.of_xml)(Xml.childxml_arg0"FirewallDomainList")inmake?firewallDomainList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallDomainList=field_mapjson__"FirewallDomainList"FirewallDomainList.of_jsoninmake?firewallDomainList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the specified firewall domain list."]moduleGetFirewallDomainListRequest=structtypenonrect={firewallDomainListId:ResourceId.t[@ocaml.doc"The ID of the domain list."]}letcontext_="GetFirewallDomainListRequest"letmake~firewallDomainListId=fun()->{firewallDomainListId}letto_valuex=structure_to_value[("FirewallDomainListId",(Some(ResourceId.to_valuex.firewallDomainListId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallDomainListId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallDomainListId")inmake~firewallDomainListId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallDomainListId=field_map_exnjson__"FirewallDomainListId"ResourceId.of_jsoninmake~firewallDomainListId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the specified firewall domain list."]moduleGetFirewallConfigResponse=structtypenonrect={firewallConfig:FirewallConfig.toption[@ocaml.doc"Configuration of the firewall behavior provided by DNS Firewall for a single VPC from AmazonVPC."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallConfig=fun()->{firewallConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallConfig",(Option.mapx.firewallConfig~f:FirewallConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallConfig=(Option.map~f:FirewallConfig.of_xml)(Xml.childxml_arg0"FirewallConfig")inmake?firewallConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallConfig=field_mapjson__"FirewallConfig"FirewallConfig.of_jsoninmake?firewallConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC)."]moduleGetFirewallConfigRequest=structtypenonrect={resourceId:ResourceId.t[@ocaml.doc"The ID of the VPC from Amazon VPC that the configuration is for."]}letcontext_="GetFirewallConfigRequest"letmake~resourceId=fun()->{resourceId}letto_valuex=structure_to_value[("ResourceId",(Some(ResourceId.to_valuex.resourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inmake~resourceId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninmake~resourceId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC)."]moduleDisassociateResolverRuleResponse=structtypenonrect={resolverRuleAssociation:ResolverRuleAssociation.toption[@ocaml.doc"Information about the DisassociateResolverRule request, including the status of the request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverRuleAssociation=fun()->{resolverRuleAssociation}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverRuleAssociation",(Option.mapx.resolverRuleAssociation~f:ResolverRuleAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRuleAssociation=(Option.map~f:ResolverRuleAssociation.of_xml)(Xml.childxml_arg0"ResolverRuleAssociation")inmake?resolverRuleAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRuleAssociation=field_mapjson__"ResolverRuleAssociation"ResolverRuleAssociation.of_jsoninmake?resolverRuleAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the association between a specified Resolver rule and a specified VPC. If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the Resolver rule."]moduleDisassociateResolverRuleRequest=structtypenonrect={vPCId:ResourceId.t[@ocaml.doc"The ID of the VPC that you want to disassociate the Resolver rule from."];resolverRuleId:ResourceId.t[@ocaml.doc"The ID of the Resolver rule that you want to disassociate from the specified VPC."]}letcontext_="DisassociateResolverRuleRequest"letmake~vPCId=fun~resolverRuleId->fun()->{vPCId;resolverRuleId}letto_valuex=structure_to_value[("VPCId",(Some(ResourceId.to_valuex.vPCId)));("ResolverRuleId",(Some(ResourceId.to_valuex.resolverRuleId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRuleId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverRuleId")inletvPCId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"VPCId")inmake~resolverRuleId~vPCId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRuleId=field_map_exnjson__"ResolverRuleId"ResourceId.of_jsoninletvPCId=field_map_exnjson__"VPCId"ResourceId.of_jsoninmake~resolverRuleId~vPCId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes the association between a specified Resolver rule and a specified VPC. If you disassociate a Resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the Resolver rule."]moduleDisassociateResolverQueryLogConfigResponse=structtypenonrect={resolverQueryLogConfigAssociation:ResolverQueryLogConfigAssociation.toption[@ocaml.doc"A complex type that contains settings for the association that you deleted between an Amazon VPC and a query logging configuration."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverQueryLogConfigAssociation=fun()->{resolverQueryLogConfigAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverQueryLogConfigAssociation",(Option.mapx.resolverQueryLogConfigAssociation~f:ResolverQueryLogConfigAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigAssociation=(Option.map~f:ResolverQueryLogConfigAssociation.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfigAssociation")inmake?resolverQueryLogConfigAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigAssociation=field_mapjson__"ResolverQueryLogConfigAssociation"ResolverQueryLogConfigAssociation.of_jsoninmake?resolverQueryLogConfigAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates a VPC from a query logging configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways: The accounts that you shared the configuration with can disassociate VPCs from the configuration. You can stop sharing the configuration."]moduleDisassociateResolverQueryLogConfigRequest=structtypenonrect={resolverQueryLogConfigId:ResourceId.t[@ocaml.doc"The ID of the query logging configuration that you want to disassociate a specified VPC from."];resourceId:ResourceId.t[@ocaml.doc"The ID of the Amazon VPC that you want to disassociate from a specified query logging configuration."]}letcontext_="DisassociateResolverQueryLogConfigRequest"letmake~resolverQueryLogConfigId=fun~resourceId->fun()->{resolverQueryLogConfigId;resourceId}letto_valuex=structure_to_value[("ResolverQueryLogConfigId",(Some(ResourceId.to_valuex.resolverQueryLogConfigId)));("ResourceId",(Some(ResourceId.to_valuex.resourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inletresolverQueryLogConfigId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverQueryLogConfigId")inmake~resourceId~resolverQueryLogConfigId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninletresolverQueryLogConfigId=field_map_exnjson__"ResolverQueryLogConfigId"ResourceId.of_jsoninmake~resourceId~resolverQueryLogConfigId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates a VPC from a query logging configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways: The accounts that you shared the configuration with can disassociate VPCs from the configuration. You can stop sharing the configuration."]moduleDisassociateResolverEndpointIpAddressResponse=structtypenonrect={resolverEndpoint:ResolverEndpoint.toption[@ocaml.doc"The response to an DisassociateResolverEndpointIpAddress request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceExistsExceptionofResourceExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverEndpoint=fun()->{resolverEndpoint}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceExistsExceptione->`Assoc[("error",(`String"ResourceExistsException"));("details",(ResourceExistsException.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[("ResolverEndpoint",(Option.mapx.resolverEndpoint~f:ResolverEndpoint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpoint=(Option.map~f:ResolverEndpoint.of_xml)(Xml.childxml_arg0"ResolverEndpoint")inmake?resolverEndpoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpoint=field_mapjson__"ResolverEndpoint"ResolverEndpoint.of_jsoninmake?resolverEndpoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes IP addresses from an inbound or an outbound Resolver endpoint. If you want to remove more than one IP address, submit one DisassociateResolverEndpointIpAddress request for each IP address. To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress."]moduleDisassociateResolverEndpointIpAddressRequest=structtypenonrect={resolverEndpointId:ResourceId.t[@ocaml.doc"The ID of the Resolver endpoint that you want to disassociate an IP address from."];ipAddress:IpAddressUpdate.t[@ocaml.doc"The IPv4 address that you want to remove from a Resolver endpoint."]}letcontext_="DisassociateResolverEndpointIpAddressRequest"letmake~resolverEndpointId=fun~ipAddress->fun()->{resolverEndpointId;ipAddress}letto_valuex=structure_to_value[("ResolverEndpointId",(Some(ResourceId.to_valuex.resolverEndpointId)));("IpAddress",(Some(IpAddressUpdate.to_valuex.ipAddress)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipAddress=IpAddressUpdate.of_xml(Xml.child_exn~context:context_xml_arg0"IpAddress")inletresolverEndpointId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverEndpointId")inmake~ipAddress~resolverEndpointId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipAddress=field_map_exnjson__"IpAddress"IpAddressUpdate.of_jsoninletresolverEndpointId=field_map_exnjson__"ResolverEndpointId"ResourceId.of_jsoninmake~ipAddress~resolverEndpointId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes IP addresses from an inbound or an outbound Resolver endpoint. If you want to remove more than one IP address, submit one DisassociateResolverEndpointIpAddress request for each IP address. To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress."]moduleDisassociateFirewallRuleGroupResponse=structtypenonrect={firewallRuleGroupAssociation:FirewallRuleGroupAssociation.toption[@ocaml.doc"The firewall rule group association that you just removed."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRuleGroupAssociation=fun()->{firewallRuleGroupAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRuleGroupAssociation",(Option.mapx.firewallRuleGroupAssociation~f:FirewallRuleGroupAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupAssociation=(Option.map~f:FirewallRuleGroupAssociation.of_xml)(Xml.childxml_arg0"FirewallRuleGroupAssociation")inmake?firewallRuleGroupAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupAssociation=field_mapjson__"FirewallRuleGroupAssociation"FirewallRuleGroupAssociation.of_jsoninmake?firewallRuleGroupAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC."]moduleDisassociateFirewallRuleGroupRequest=structtypenonrect={firewallRuleGroupAssociationId:ResourceId.t[@ocaml.doc"The identifier of the FirewallRuleGroupAssociation."]}letcontext_="DisassociateFirewallRuleGroupRequest"letmake~firewallRuleGroupAssociationId=fun()->{firewallRuleGroupAssociationId}letto_valuex=structure_to_value[("FirewallRuleGroupAssociationId",(Some(ResourceId.to_valuex.firewallRuleGroupAssociationId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupAssociationId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupAssociationId")inmake~firewallRuleGroupAssociationId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupAssociationId=field_map_exnjson__"FirewallRuleGroupAssociationId"ResourceId.of_jsoninmake~firewallRuleGroupAssociationId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC."]moduleDeleteResolverRuleResponse=structtypenonrect={resolverRule:ResolverRule.toption[@ocaml.doc"Information about the DeleteResolverRule request, including the status of the request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceInUseExceptionofResourceInUseException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverRule=fun()->{resolverRule}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"ResourceInUseException"->`ResourceInUseException(ResourceInUseException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`ResourceInUseExceptione->`Assoc[("error",(`String"ResourceInUseException"));("details",(ResourceInUseException.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[("ResolverRule",(Option.mapx.resolverRule~f:ResolverRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRule=(Option.map~f:ResolverRule.of_xml)(Xml.childxml_arg0"ResolverRule")inmake?resolverRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRule=field_mapjson__"ResolverRule"ResolverRule.of_jsoninmake?resolverRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that you associated the Resolver rule with. For more information, see DisassociateResolverRule."]moduleDeleteResolverRuleRequest=structtypenonrect={resolverRuleId:ResourceId.t[@ocaml.doc"The ID of the Resolver rule that you want to delete."]}letcontext_="DeleteResolverRuleRequest"letmake~resolverRuleId=fun()->{resolverRuleId}letto_valuex=structure_to_value[("ResolverRuleId",(Some(ResourceId.to_valuex.resolverRuleId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRuleId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverRuleId")inmake~resolverRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRuleId=field_map_exnjson__"ResolverRuleId"ResourceId.of_jsoninmake~resolverRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that you associated the Resolver rule with. For more information, see DisassociateResolverRule."]moduleDeleteResolverQueryLogConfigResponse=structtypenonrect={resolverQueryLogConfig:ResolverQueryLogConfig.toption[@ocaml.doc"Information about the query logging configuration that you deleted, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverQueryLogConfig=fun()->{resolverQueryLogConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverQueryLogConfig",(Option.mapx.resolverQueryLogConfig~f:ResolverQueryLogConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfig=(Option.map~f:ResolverQueryLogConfig.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfig")inmake?resolverQueryLogConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfig=field_mapjson__"ResolverQueryLogConfig"ResolverQueryLogConfig.of_jsoninmake?resolverQueryLogConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration."]moduleDeleteResolverQueryLogConfigRequest=structtypenonrect={resolverQueryLogConfigId:ResourceId.t[@ocaml.doc"The ID of the query logging configuration that you want to delete."]}letcontext_="DeleteResolverQueryLogConfigRequest"letmake~resolverQueryLogConfigId=fun()->{resolverQueryLogConfigId}letto_valuex=structure_to_value[("ResolverQueryLogConfigId",(Some(ResourceId.to_valuex.resolverQueryLogConfigId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverQueryLogConfigId")inmake~resolverQueryLogConfigId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigId=field_map_exnjson__"ResolverQueryLogConfigId"ResourceId.of_jsoninmake~resolverQueryLogConfigId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration."]moduleDeleteResolverEndpointResponse=structtypenonrect={resolverEndpoint:ResolverEndpoint.toption[@ocaml.doc"Information about the DeleteResolverEndpoint request, including the status of the request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverEndpoint=fun()->{resolverEndpoint}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.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[("ResolverEndpoint",(Option.mapx.resolverEndpoint~f:ResolverEndpoint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpoint=(Option.map~f:ResolverEndpoint.of_xml)(Xml.childxml_arg0"ResolverEndpoint")inmake?resolverEndpoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpoint=field_mapjson__"ResolverEndpoint"ResolverEndpoint.of_jsoninmake?resolverEndpoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether it's an inbound or an outbound Resolver endpoint: Inbound: DNS queries from your network are no longer routed to the DNS service for the specified VPC. Outbound: DNS queries from a VPC are no longer routed to your network."]moduleDeleteResolverEndpointRequest=structtypenonrect={resolverEndpointId:ResourceId.t[@ocaml.doc"The ID of the Resolver endpoint that you want to delete."]}letcontext_="DeleteResolverEndpointRequest"letmake~resolverEndpointId=fun()->{resolverEndpointId}letto_valuex=structure_to_value[("ResolverEndpointId",(Some(ResourceId.to_valuex.resolverEndpointId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpointId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverEndpointId")inmake~resolverEndpointId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpointId=field_map_exnjson__"ResolverEndpointId"ResourceId.of_jsoninmake~resolverEndpointId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends on whether it's an inbound or an outbound Resolver endpoint: Inbound: DNS queries from your network are no longer routed to the DNS service for the specified VPC. Outbound: DNS queries from a VPC are no longer routed to your network."]moduleDeleteOutpostResolverResponse=structtypenonrect={outpostResolver:OutpostResolver.toption[@ocaml.doc"Information about the DeleteOutpostResolver request, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?outpostResolver=fun()->{outpostResolver}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OutpostResolver",(Option.mapx.outpostResolver~f:OutpostResolver.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutpostResolver=(Option.map~f:OutpostResolver.of_xml)(Xml.childxml_arg0"OutpostResolver")inmake?outpostResolver()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutpostResolver=field_mapjson__"OutpostResolver"OutpostResolver.of_jsoninmake?outpostResolver()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Resolver on the Outpost."]moduleDeleteOutpostResolverRequest=structtypenonrect={id:ResourceId.t[@ocaml.doc"A unique string that identifies the Resolver on the Outpost."]}letcontext_="DeleteOutpostResolverRequest"letmake~id=fun()->{id}letto_valuex=structure_to_value[("Id",(Some(ResourceId.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"Id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"Id"ResourceId.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes a Resolver on the Outpost."]moduleDeleteFirewallRuleResponse=structtypenonrect={firewallRule:FirewallRule.toption[@ocaml.doc"The specification for the firewall rule that you just deleted."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRule=fun()->{firewallRule}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRule",(Option.mapx.firewallRule~f:FirewallRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRule=(Option.map~f:FirewallRule.of_xml)(Xml.childxml_arg0"FirewallRule")inmake?firewallRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRule=field_mapjson__"FirewallRule"FirewallRule.of_jsoninmake?firewallRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified firewall rule."]moduleDeleteFirewallRuleRequest=structtypenonrect={firewallRuleGroupId:ResourceId.t[@ocaml.doc"The unique identifier of the firewall rule group that you want to delete the rule from."];firewallDomainListId:ResourceId.toption[@ocaml.doc"The ID of the domain list that's used in the rule."];firewallThreatProtectionId:ResourceId.toption[@ocaml.doc"The ID that is created for a DNS Firewall Advanced rule."];qtype:Qtype.toption[@ocaml.doc"The DNS query type that the rule you are deleting evaluates. Allowed values are; A: Returns an IPv4 address. AAAA: Returns an Ipv6 address. CAA: Restricts CAs that can create SSL/TLS certifications for the domain. CNAME: Returns another domain name. DS: Record that identifies the DNSSEC signing key of a delegated zone. MX: Specifies mail servers. NAPTR: Regular-expression-based rewriting of domain names. NS: Authoritative name servers. PTR: Maps an IP address to a domain name. SOA: Start of authority record for the zone. SPF: Lists the servers authorized to send emails from a domain. SRV: Application specific values that identify servers. TXT: Verifies email senders and application-specific values. A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types."]}letcontext_="DeleteFirewallRuleRequest"letmake?firewallDomainListId=fun?firewallThreatProtectionId->fun?qtype->fun~firewallRuleGroupId->fun()->{firewallDomainListId;firewallThreatProtectionId;qtype;firewallRuleGroupId}letto_valuex=structure_to_value[("FirewallRuleGroupId",(Some(ResourceId.to_valuex.firewallRuleGroupId)));("FirewallDomainListId",(Option.mapx.firewallDomainListId~f:ResourceId.to_value));("FirewallThreatProtectionId",(Option.mapx.firewallThreatProtectionId~f:ResourceId.to_value));("Qtype",(Option.mapx.qtype~f:Qtype.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letqtype=(Option.map~f:Qtype.of_xml)(Xml.childxml_arg0"Qtype")inletfirewallThreatProtectionId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallThreatProtectionId")inletfirewallDomainListId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallDomainListId")inletfirewallRuleGroupId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupId")inmake?qtype?firewallThreatProtectionId?firewallDomainListId~firewallRuleGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letqtype=field_mapjson__"Qtype"Qtype.of_jsoninletfirewallThreatProtectionId=field_mapjson__"FirewallThreatProtectionId"ResourceId.of_jsoninletfirewallDomainListId=field_mapjson__"FirewallDomainListId"ResourceId.of_jsoninletfirewallRuleGroupId=field_map_exnjson__"FirewallRuleGroupId"ResourceId.of_jsoninmake?qtype?firewallThreatProtectionId?firewallDomainListId~firewallRuleGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified firewall rule."]moduleDeleteFirewallRuleGroupResponse=structtypenonrect={firewallRuleGroup:FirewallRuleGroup.toption[@ocaml.doc"A collection of rules used to filter DNS network traffic."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRuleGroup=fun()->{firewallRuleGroup}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRuleGroup",(Option.mapx.firewallRuleGroup~f:FirewallRuleGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroup=(Option.map~f:FirewallRuleGroup.of_xml)(Xml.childxml_arg0"FirewallRuleGroup")inmake?firewallRuleGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroup=field_mapjson__"FirewallRuleGroup"FirewallRuleGroup.of_jsoninmake?firewallRuleGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified firewall rule group."]moduleDeleteFirewallRuleGroupRequest=structtypenonrect={firewallRuleGroupId:ResourceId.t[@ocaml.doc"The unique identifier of the firewall rule group that you want to delete."]}letcontext_="DeleteFirewallRuleGroupRequest"letmake~firewallRuleGroupId=fun()->{firewallRuleGroupId}letto_valuex=structure_to_value[("FirewallRuleGroupId",(Some(ResourceId.to_valuex.firewallRuleGroupId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupId")inmake~firewallRuleGroupId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupId=field_map_exnjson__"FirewallRuleGroupId"ResourceId.of_jsoninmake~firewallRuleGroupId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified firewall rule group."]moduleDeleteFirewallDomainListResponse=structtypenonrect={firewallDomainList:FirewallDomainList.toption[@ocaml.doc"The domain list that you just deleted."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallDomainList=fun()->{firewallDomainList}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.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[("FirewallDomainList",(Option.mapx.firewallDomainList~f:FirewallDomainList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallDomainList=(Option.map~f:FirewallDomainList.of_xml)(Xml.childxml_arg0"FirewallDomainList")inmake?firewallDomainList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallDomainList=field_mapjson__"FirewallDomainList"FirewallDomainList.of_jsoninmake?firewallDomainList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified domain list."]moduleDeleteFirewallDomainListRequest=structtypenonrect={firewallDomainListId:ResourceId.t[@ocaml.doc"The ID of the domain list that you want to delete."]}letcontext_="DeleteFirewallDomainListRequest"letmake~firewallDomainListId=fun()->{firewallDomainListId}letto_valuex=structure_to_value[("FirewallDomainListId",(Some(ResourceId.to_valuex.firewallDomainListId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallDomainListId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallDomainListId")inmake~firewallDomainListId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallDomainListId=field_map_exnjson__"FirewallDomainListId"ResourceId.of_jsoninmake~firewallDomainListId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Deletes the specified domain list."]moduleCreateResolverRuleResponse=structtypenonrect={resolverRule:ResolverRule.toption[@ocaml.doc"Information about the CreateResolverRule request, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceExistsExceptionofResourceExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverRule=fun()->{resolverRule}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceExistsExceptione->`Assoc[("error",(`String"ResourceExistsException"));("details",(ResourceExistsException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.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[("ResolverRule",(Option.mapx.resolverRule~f:ResolverRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRule=(Option.map~f:ResolverRule.of_xml)(Xml.childxml_arg0"ResolverRule")inmake?resolverRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRule=field_mapjson__"ResolverRule"ResolverRule.of_jsoninmake?resolverRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network."]moduleCreateResolverRuleRequest=structtypenonrect={creatorRequestId:CreatorRequestId.t[@ocaml.doc"A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp."];name:Name.toption[@ocaml.doc"A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console. The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers."];ruleType:RuleTypeOption.t[@ocaml.doc"When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD or DELEGATE. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM. For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify FORWARD for RuleType. To then have Resolver process queries for apex.example.com, you create a rule and specify SYSTEM for RuleType. Currently, only Resolver can create rules that have a value of RECURSIVE for RuleType."];domainName:DomainName.toption[@ocaml.doc"DNS queries for this domain name are forwarded to the IP addresses that you specify in TargetIps. If a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains the most specific domain name (www.example.com)."];targetIps:TargetList.toption[@ocaml.doc"The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. Separate IP addresses with a space. TargetIps is available only when the value of Rule type is FORWARD. You should not provide TargetIps when the Rule type is DELEGATE. when creating a DELEGATE rule, you must not provide the TargetIps parameter. If you provide the TargetIps, you may receive an ERROR message similar to \"Delegate resolver rules need to specify a nameserver name\". This error means you should not provide TargetIps."];resolverEndpointId:ResourceId.toption[@ocaml.doc"The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps."];tags:TagList.toption[@ocaml.doc"A list of the tag keys and values that you want to associate with the endpoint."];delegationRecord:DelegationRecord.toption[@ocaml.doc"DNS queries with the delegation records that match this domain name are forwarded to the resolvers on your network."]}letcontext_="CreateResolverRuleRequest"letmake?name=fun?domainName->fun?targetIps->fun?resolverEndpointId->fun?tags->fun?delegationRecord->fun~creatorRequestId->fun~ruleType->fun()->{name;domainName;targetIps;resolverEndpointId;tags;delegationRecord;creatorRequestId;ruleType}letto_valuex=structure_to_value[("CreatorRequestId",(Some(CreatorRequestId.to_valuex.creatorRequestId)));("Name",(Option.mapx.name~f:Name.to_value));("RuleType",(Some(RuleTypeOption.to_valuex.ruleType)));("DomainName",(Option.mapx.domainName~f:DomainName.to_value));("TargetIps",(Option.mapx.targetIps~f:TargetList.to_value));("ResolverEndpointId",(Option.mapx.resolverEndpointId~f:ResourceId.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("DelegationRecord",(Option.mapx.delegationRecord~f:DelegationRecord.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdelegationRecord=(Option.map~f:DelegationRecord.of_xml)(Xml.childxml_arg0"DelegationRecord")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletresolverEndpointId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"ResolverEndpointId")inlettargetIps=(Option.map~f:TargetList.of_xml)(Xml.childxml_arg0"TargetIps")inletdomainName=(Option.map~f:DomainName.of_xml)(Xml.childxml_arg0"DomainName")inletruleType=RuleTypeOption.of_xml(Xml.child_exn~context:context_xml_arg0"RuleType")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletcreatorRequestId=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"CreatorRequestId")inmake?delegationRecord?tags?resolverEndpointId?targetIps?domainName~ruleType?name~creatorRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdelegationRecord=field_mapjson__"DelegationRecord"DelegationRecord.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletresolverEndpointId=field_mapjson__"ResolverEndpointId"ResourceId.of_jsoninlettargetIps=field_mapjson__"TargetIps"TargetList.of_jsoninletdomainName=field_mapjson__"DomainName"DomainName.of_jsoninletruleType=field_map_exnjson__"RuleType"RuleTypeOption.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletcreatorRequestId=field_map_exnjson__"CreatorRequestId"CreatorRequestId.of_jsoninmake?delegationRecord?tags?resolverEndpointId?targetIps?domainName~ruleType?name~creatorRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network."]moduleCreateResolverQueryLogConfigResponse=structtypenonrect={resolverQueryLogConfig:ResolverQueryLogConfig.toption[@ocaml.doc"Information about the CreateResolverQueryLogConfig request, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceExistsExceptionofResourceExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverQueryLogConfig=fun()->{resolverQueryLogConfig}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceExistsExceptione->`Assoc[("error",(`String"ResourceExistsException"));("details",(ResourceExistsException.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[("ResolverQueryLogConfig",(Option.mapx.resolverQueryLogConfig~f:ResolverQueryLogConfig.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfig=(Option.map~f:ResolverQueryLogConfig.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfig")inmake?resolverQueryLogConfig()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfig=field_mapjson__"ResolverQueryLogConfig"ResolverQueryLogConfig.of_jsoninmake?resolverQueryLogConfig()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration. To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig. For more information, see AssociateResolverQueryLogConfig. You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration."]moduleCreateResolverQueryLogConfigRequest=structtypenonrect={name:ResolverQueryLogConfigName.t[@ocaml.doc"The name that you want to give the query logging configuration."];destinationArn:DestinationArn.t[@ocaml.doc"The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following: S3 bucket: arn:aws:s3:::amzn-s3-demo-bucket You can optionally append a file prefix to the end of the ARN. arn:aws:s3:::amzn-s3-demo-bucket/development/ CloudWatch Logs log group: arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:* Kinesis Data Firehose delivery stream: arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name"];creatorRequestId:CreatorRequestId.t[@ocaml.doc"A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp."];tags:TagList.toption[@ocaml.doc"A list of the tag keys and values that you want to associate with the query logging configuration."]}letcontext_="CreateResolverQueryLogConfigRequest"letmake?tags=fun~name->fun~destinationArn->fun~creatorRequestId->fun()->{tags;name;destinationArn;creatorRequestId}letto_valuex=structure_to_value[("Name",(Some(ResolverQueryLogConfigName.to_valuex.name)));("DestinationArn",(Some(DestinationArn.to_valuex.destinationArn)));("CreatorRequestId",(Some(CreatorRequestId.to_valuex.creatorRequestId)));("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")inletcreatorRequestId=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"CreatorRequestId")inletdestinationArn=DestinationArn.of_xml(Xml.child_exn~context:context_xml_arg0"DestinationArn")inletname=ResolverQueryLogConfigName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inmake?tags~creatorRequestId~destinationArn~name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletcreatorRequestId=field_map_exnjson__"CreatorRequestId"CreatorRequestId.of_jsoninletdestinationArn=field_map_exnjson__"DestinationArn"DestinationArn.of_jsoninletname=field_map_exnjson__"Name"ResolverQueryLogConfigName.of_jsoninmake?tags~creatorRequestId~destinationArn~name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration. To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig. For more information, see AssociateResolverQueryLogConfig. You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration."]moduleCreateResolverEndpointResponse=structtypenonrect={resolverEndpoint:ResolverEndpoint.toption[@ocaml.doc"Information about the CreateResolverEndpoint request, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceExistsExceptionofResourceExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverEndpoint=fun()->{resolverEndpoint}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceExistsExceptione->`Assoc[("error",(`String"ResourceExistsException"));("details",(ResourceExistsException.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[("ResolverEndpoint",(Option.mapx.resolverEndpoint~f:ResolverEndpoint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpoint=(Option.map~f:ResolverEndpoint.of_xml)(Xml.childxml_arg0"ResolverEndpoint")inmake?resolverEndpoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpoint=field_mapjson__"ResolverEndpoint"ResolverEndpoint.of_jsoninmake?resolverEndpoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound: An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network. An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network."]moduleCreateResolverEndpointRequest=structtypenonrect={creatorRequestId:CreatorRequestId.t[@ocaml.doc"A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp."];name:Name.toption[@ocaml.doc"A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console."];securityGroupIds:SecurityGroupIds.t[@ocaml.doc"The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network. Some security group rules will cause your connection to be tracked. For outbound resolver endpoint, it can potentially impact the maximum queries per second from outbound endpoint to your target name server. For inbound resolver endpoint, it can bring down the overall maximum queries per second per IP address to as low as 1500. To avoid connection tracking caused by security group, see Untracked connections."];direction:ResolverEndpointDirection.t[@ocaml.doc"Specify the applicable value: INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network. OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network. INBOUND_DELEGATION: Resolver delegates queries to Route 53 private hosted zones from your network."];ipAddresses:IpAddressesRequest.t[@ocaml.doc"The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC. Even though the minimum is 1, Route\194\16053 requires that you create at least two."];outpostArn:OutpostArn.toption[@ocaml.doc"The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType."];preferredInstanceType:OutpostInstanceType.toption[@ocaml.doc"The instance type. If you specify this, you must also specify a value for the OutpostArn."];tags:TagList.toption[@ocaml.doc"A list of the tag keys and values that you want to associate with the endpoint."];resolverEndpointType:ResolverEndpointType.toption[@ocaml.doc"For the endpoint type you can choose either IPv4, IPv6, or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. This endpoint type is applied to all IP addresses."];protocols:ProtocolList.toption[@ocaml.doc"The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only. For a default inbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 and DoH-FIPS in combination. Do53 alone. DoH alone. DoH-FIPS alone. None, which is treated as Do53. For a delegation inbound endpoint you can use Do53 only. For an outbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 alone. DoH alone. None, which is treated as Do53."];rniEnhancedMetricsEnabled:RniEnhancedMetricsEnabled.toption[@ocaml.doc"Specifies whether RNI enhanced metrics are enabled for the Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint. When set to false, metrics are not published. Default is false. Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint RNI enhanced metrics. For more information, see Detailed metrics."];targetNameServerMetricsEnabled:TargetNameServerMetricsEnabled.toption[@ocaml.doc"Specifies whether target name server metrics are enabled for the outbound Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint. When set to false, metrics are not published. Default is false. This is not supported for inbound Resolver endpoints. Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint target name server metrics. For more information, see Detailed metrics."];dns64Enabled:Dns64Enabled.toption[@ocaml.doc"Specifies whether DNS64 is enabled for the inbound Resolver endpoint. When set to true, Route 53 Resolver synthesizes AAAA (IPv6) records for IPv4-only services by prepending the 64:ff9b::/96 prefix to the IPv4 address. This enables IPv6-only clients that send queries through the inbound endpoint to reach IPv4-only services. DNS64 works with NAT64 to provide complete IPv6-to-IPv4 translation. Default is false."];ipv6InternetAccessEnabled:Ipv6InternetAccessEnabled.toption[@ocaml.doc"Specifies whether IPv6 internet access is enabled for the outbound Resolver endpoint. When set to true, the endpoint elastic network interfaces (ENIs) can forward DNS queries to public IPv6 targets through an internet gateway. Default is false. When you enable IPv6 internet access, use network controls like security groups, NACLs, or egress-only internet gateways to protect the endpoint ENIs from unsolicited ingress traffic. Be aware that some network controls can affect DNS query throughput due to connection tracking. For more information, see Amazon EC2 security group connection tracking and Resolver endpoint scaling."]}letcontext_="CreateResolverEndpointRequest"letmake?name=fun?outpostArn->fun?preferredInstanceType->fun?tags->fun?resolverEndpointType->fun?protocols->fun?rniEnhancedMetricsEnabled->fun?targetNameServerMetricsEnabled->fun?dns64Enabled->fun?ipv6InternetAccessEnabled->fun~creatorRequestId->fun~securityGroupIds->fun~direction->fun~ipAddresses->fun()->{name;outpostArn;preferredInstanceType;tags;resolverEndpointType;protocols;rniEnhancedMetricsEnabled;targetNameServerMetricsEnabled;dns64Enabled;ipv6InternetAccessEnabled;creatorRequestId;securityGroupIds;direction;ipAddresses}letto_valuex=structure_to_value[("CreatorRequestId",(Some(CreatorRequestId.to_valuex.creatorRequestId)));("Name",(Option.mapx.name~f:Name.to_value));("SecurityGroupIds",(Some(SecurityGroupIds.to_valuex.securityGroupIds)));("Direction",(Some(ResolverEndpointDirection.to_valuex.direction)));("IpAddresses",(Some(IpAddressesRequest.to_valuex.ipAddresses)));("OutpostArn",(Option.mapx.outpostArn~f:OutpostArn.to_value));("PreferredInstanceType",(Option.mapx.preferredInstanceType~f:OutpostInstanceType.to_value));("Tags",(Option.mapx.tags~f:TagList.to_value));("ResolverEndpointType",(Option.mapx.resolverEndpointType~f:ResolverEndpointType.to_value));("Protocols",(Option.mapx.protocols~f:ProtocolList.to_value));("RniEnhancedMetricsEnabled",(Option.mapx.rniEnhancedMetricsEnabled~f:RniEnhancedMetricsEnabled.to_value));("TargetNameServerMetricsEnabled",(Option.mapx.targetNameServerMetricsEnabled~f:TargetNameServerMetricsEnabled.to_value));("Dns64Enabled",(Option.mapx.dns64Enabled~f:Dns64Enabled.to_value));("Ipv6InternetAccessEnabled",(Option.mapx.ipv6InternetAccessEnabled~f:Ipv6InternetAccessEnabled.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipv6InternetAccessEnabled=(Option.map~f:Ipv6InternetAccessEnabled.of_xml)(Xml.childxml_arg0"Ipv6InternetAccessEnabled")inletdns64Enabled=(Option.map~f:Dns64Enabled.of_xml)(Xml.childxml_arg0"Dns64Enabled")inlettargetNameServerMetricsEnabled=(Option.map~f:TargetNameServerMetricsEnabled.of_xml)(Xml.childxml_arg0"TargetNameServerMetricsEnabled")inletrniEnhancedMetricsEnabled=(Option.map~f:RniEnhancedMetricsEnabled.of_xml)(Xml.childxml_arg0"RniEnhancedMetricsEnabled")inletprotocols=(Option.map~f:ProtocolList.of_xml)(Xml.childxml_arg0"Protocols")inletresolverEndpointType=(Option.map~f:ResolverEndpointType.of_xml)(Xml.childxml_arg0"ResolverEndpointType")inlettags=(Option.map~f:TagList.of_xml)(Xml.childxml_arg0"Tags")inletpreferredInstanceType=(Option.map~f:OutpostInstanceType.of_xml)(Xml.childxml_arg0"PreferredInstanceType")inletoutpostArn=(Option.map~f:OutpostArn.of_xml)(Xml.childxml_arg0"OutpostArn")inletipAddresses=IpAddressesRequest.of_xml(Xml.child_exn~context:context_xml_arg0"IpAddresses")inletdirection=ResolverEndpointDirection.of_xml(Xml.child_exn~context:context_xml_arg0"Direction")inletsecurityGroupIds=SecurityGroupIds.of_xml(Xml.child_exn~context:context_xml_arg0"SecurityGroupIds")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletcreatorRequestId=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"CreatorRequestId")inmake?ipv6InternetAccessEnabled?dns64Enabled?targetNameServerMetricsEnabled?rniEnhancedMetricsEnabled?protocols?resolverEndpointType?tags?preferredInstanceType?outpostArn~ipAddresses~direction~securityGroupIds?name~creatorRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipv6InternetAccessEnabled=field_mapjson__"Ipv6InternetAccessEnabled"Ipv6InternetAccessEnabled.of_jsoninletdns64Enabled=field_mapjson__"Dns64Enabled"Dns64Enabled.of_jsoninlettargetNameServerMetricsEnabled=field_mapjson__"TargetNameServerMetricsEnabled"TargetNameServerMetricsEnabled.of_jsoninletrniEnhancedMetricsEnabled=field_mapjson__"RniEnhancedMetricsEnabled"RniEnhancedMetricsEnabled.of_jsoninletprotocols=field_mapjson__"Protocols"ProtocolList.of_jsoninletresolverEndpointType=field_mapjson__"ResolverEndpointType"ResolverEndpointType.of_jsoninlettags=field_mapjson__"Tags"TagList.of_jsoninletpreferredInstanceType=field_mapjson__"PreferredInstanceType"OutpostInstanceType.of_jsoninletoutpostArn=field_mapjson__"OutpostArn"OutpostArn.of_jsoninletipAddresses=field_map_exnjson__"IpAddresses"IpAddressesRequest.of_jsoninletdirection=field_map_exnjson__"Direction"ResolverEndpointDirection.of_jsoninletsecurityGroupIds=field_map_exnjson__"SecurityGroupIds"SecurityGroupIds.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletcreatorRequestId=field_map_exnjson__"CreatorRequestId"CreatorRequestId.of_jsoninmake?ipv6InternetAccessEnabled?dns64Enabled?targetNameServerMetricsEnabled?rniEnhancedMetricsEnabled?protocols?resolverEndpointType?tags?preferredInstanceType?outpostArn~ipAddresses~direction~securityGroupIds?name~creatorRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound and outbound: An inbound Resolver endpoint forwards DNS queries to the DNS service for a VPC from your network. An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network."]moduleCreateOutpostResolverResponse=structtypenonrect={outpostResolver:OutpostResolver.toption[@ocaml.doc"Information about the CreateOutpostResolver request, including the status of the request."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?outpostResolver=fun()->{outpostResolver}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("OutpostResolver",(Option.mapx.outpostResolver~f:OutpostResolver.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutpostResolver=(Option.map~f:OutpostResolver.of_xml)(Xml.childxml_arg0"OutpostResolver")inmake?outpostResolver()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutpostResolver=field_mapjson__"OutpostResolver"OutpostResolver.of_jsoninmake?outpostResolver()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Route\194\16053 Resolver on an Outpost."]moduleCreateOutpostResolverRequest=structtypenonrect={creatorRequestId:CreatorRequestId.t[@ocaml.doc"A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp."];name:OutpostResolverName.t[@ocaml.doc"A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route\194\16053 console."];instanceCount:InstanceCount.toption[@ocaml.doc"Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4."];preferredInstanceType:OutpostInstanceType.t[@ocaml.doc"The Amazon EC2 instance type. If you specify this, you must also specify a value for the OutpostArn."];outpostArn:OutpostArn.t[@ocaml.doc"The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType."];tags:TagList.toption[@ocaml.doc"A string that helps identify the Route\194\16053 Resolvers on Outpost."]}letcontext_="CreateOutpostResolverRequest"letmake?instanceCount=fun?tags->fun~creatorRequestId->fun~name->fun~preferredInstanceType->fun~outpostArn->fun()->{instanceCount;tags;creatorRequestId;name;preferredInstanceType;outpostArn}letto_valuex=structure_to_value[("CreatorRequestId",(Some(CreatorRequestId.to_valuex.creatorRequestId)));("Name",(Some(OutpostResolverName.to_valuex.name)));("InstanceCount",(Option.mapx.instanceCount~f:InstanceCount.to_value));("PreferredInstanceType",(Some(OutpostInstanceType.to_valuex.preferredInstanceType)));("OutpostArn",(Some(OutpostArn.to_valuex.outpostArn)));("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")inletoutpostArn=OutpostArn.of_xml(Xml.child_exn~context:context_xml_arg0"OutpostArn")inletpreferredInstanceType=OutpostInstanceType.of_xml(Xml.child_exn~context:context_xml_arg0"PreferredInstanceType")inletinstanceCount=(Option.map~f:InstanceCount.of_xml)(Xml.childxml_arg0"InstanceCount")inletname=OutpostResolverName.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletcreatorRequestId=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"CreatorRequestId")inmake?tags~outpostArn~preferredInstanceType?instanceCount~name~creatorRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletoutpostArn=field_map_exnjson__"OutpostArn"OutpostArn.of_jsoninletpreferredInstanceType=field_map_exnjson__"PreferredInstanceType"OutpostInstanceType.of_jsoninletinstanceCount=field_mapjson__"InstanceCount"InstanceCount.of_jsoninletname=field_map_exnjson__"Name"OutpostResolverName.of_jsoninletcreatorRequestId=field_map_exnjson__"CreatorRequestId"CreatorRequestId.of_jsoninmake?tags~outpostArn~preferredInstanceType?instanceCount~name~creatorRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a Route\194\16053 Resolver on an Outpost."]moduleCreateFirewallRuleResponse=structtypenonrect={firewallRule:FirewallRule.toption[@ocaml.doc"The firewall rule that you just created."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRule=fun()->{firewallRule}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.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))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRule",(Option.mapx.firewallRule~f:FirewallRule.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRule=(Option.map~f:FirewallRule.of_xml)(Xml.childxml_arg0"FirewallRule")inmake?firewallRule()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRule=field_mapjson__"FirewallRule"FirewallRule.of_jsoninmake?firewallRule()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a single DNS Firewall rule in the specified rule group, using the specified domain list."]moduleCreateFirewallRuleRequest=structtypenonrect={creatorRequestId:CreatorRequestId.t[@ocaml.doc"A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp."];firewallRuleGroupId:ResourceId.t[@ocaml.doc"The unique identifier of the firewall rule group where you want to create the rule."];firewallDomainListId:ResourceId.toption[@ocaml.doc"The ID of the domain list that you want to use in the rule. Can't be used together with DnsThreatProtecton."];priority:Priority.t[@ocaml.doc"The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting. You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time."];action:Action.t[@ocaml.doc"The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. ALERT - Permit the request and send metrics and logs to Cloud Watch. BLOCK - Disallow the request. This option requires additional details in the rule's BlockResponse."];blockResponse:BlockResponse.toption[@ocaml.doc"The way that you want DNS Firewall to block the request, used with the rule action setting BLOCK. NODATA - Respond indicating that the query was successful, but no response is available for it. NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist. OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings. This setting is required if the rule action setting is BLOCK."];blockOverrideDomain:BlockOverrideDomain.toption[@ocaml.doc"The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE. This setting is required if the BlockResponse setting is OVERRIDE."];blockOverrideDnsType:BlockOverrideDnsType.toption[@ocaml.doc"The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE. This setting is required if the BlockResponse setting is OVERRIDE."];blockOverrideTtl:BlockOverrideTtl.toption[@ocaml.doc"The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE. This setting is required if the BlockResponse setting is OVERRIDE."];name:Name.t[@ocaml.doc"A name that lets you identify the rule in the rule group."];firewallDomainRedirectionAction:FirewallDomainRedirectionAction.toption[@ocaml.doc"How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list."];qtype:Qtype.toption[@ocaml.doc"The DNS query type you want the rule to evaluate. Allowed values are; A: Returns an IPv4 address. AAAA: Returns an Ipv6 address. CAA: Restricts CAs that can create SSL/TLS certifications for the domain. CNAME: Returns another domain name. DS: Record that identifies the DNSSEC signing key of a delegated zone. MX: Specifies mail servers. NAPTR: Regular-expression-based rewriting of domain names. NS: Authoritative name servers. PTR: Maps an IP address to a domain name. SOA: Start of authority record for the zone. SPF: Lists the servers authorized to send emails from a domain. SRV: Application specific values that identify servers. TXT: Verifies email senders and application-specific values. A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types."];dnsThreatProtection:DnsThreatProtection.toption[@ocaml.doc"Use to create a DNS Firewall Advanced rule."];confidenceThreshold:ConfidenceThreshold.toption[@ocaml.doc"The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: LOW: Provides the highest detection rate for threats, but also increases false positives. MEDIUM: Provides a balance between detecting threats and false positives. HIGH: Detects only the most well corroborated threats with a low rate of false positives."]}letcontext_="CreateFirewallRuleRequest"letmake?firewallDomainListId=fun?blockResponse->fun?blockOverrideDomain->fun?blockOverrideDnsType->fun?blockOverrideTtl->fun?firewallDomainRedirectionAction->fun?qtype->fun?dnsThreatProtection->fun?confidenceThreshold->fun~creatorRequestId->fun~firewallRuleGroupId->fun~priority->fun~action->fun~name->fun()->{firewallDomainListId;blockResponse;blockOverrideDomain;blockOverrideDnsType;blockOverrideTtl;firewallDomainRedirectionAction;qtype;dnsThreatProtection;confidenceThreshold;creatorRequestId;firewallRuleGroupId;priority;action;name}letto_valuex=structure_to_value[("CreatorRequestId",(Some(CreatorRequestId.to_valuex.creatorRequestId)));("FirewallRuleGroupId",(Some(ResourceId.to_valuex.firewallRuleGroupId)));("FirewallDomainListId",(Option.mapx.firewallDomainListId~f:ResourceId.to_value));("Priority",(Some(Priority.to_valuex.priority)));("Action",(Some(Action.to_valuex.action)));("BlockResponse",(Option.mapx.blockResponse~f:BlockResponse.to_value));("BlockOverrideDomain",(Option.mapx.blockOverrideDomain~f:BlockOverrideDomain.to_value));("BlockOverrideDnsType",(Option.mapx.blockOverrideDnsType~f:BlockOverrideDnsType.to_value));("BlockOverrideTtl",(Option.mapx.blockOverrideTtl~f:BlockOverrideTtl.to_value));("Name",(Some(Name.to_valuex.name)));("FirewallDomainRedirectionAction",(Option.mapx.firewallDomainRedirectionAction~f:FirewallDomainRedirectionAction.to_value));("Qtype",(Option.mapx.qtype~f:Qtype.to_value));("DnsThreatProtection",(Option.mapx.dnsThreatProtection~f:DnsThreatProtection.to_value));("ConfidenceThreshold",(Option.mapx.confidenceThreshold~f:ConfidenceThreshold.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letconfidenceThreshold=(Option.map~f:ConfidenceThreshold.of_xml)(Xml.childxml_arg0"ConfidenceThreshold")inletdnsThreatProtection=(Option.map~f:DnsThreatProtection.of_xml)(Xml.childxml_arg0"DnsThreatProtection")inletqtype=(Option.map~f:Qtype.of_xml)(Xml.childxml_arg0"Qtype")inletfirewallDomainRedirectionAction=(Option.map~f:FirewallDomainRedirectionAction.of_xml)(Xml.childxml_arg0"FirewallDomainRedirectionAction")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletblockOverrideTtl=(Option.map~f:BlockOverrideTtl.of_xml)(Xml.childxml_arg0"BlockOverrideTtl")inletblockOverrideDnsType=(Option.map~f:BlockOverrideDnsType.of_xml)(Xml.childxml_arg0"BlockOverrideDnsType")inletblockOverrideDomain=(Option.map~f:BlockOverrideDomain.of_xml)(Xml.childxml_arg0"BlockOverrideDomain")inletblockResponse=(Option.map~f:BlockResponse.of_xml)(Xml.childxml_arg0"BlockResponse")inletaction=Action.of_xml(Xml.child_exn~context:context_xml_arg0"Action")inletpriority=Priority.of_xml(Xml.child_exn~context:context_xml_arg0"Priority")inletfirewallDomainListId=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"FirewallDomainListId")inletfirewallRuleGroupId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupId")inletcreatorRequestId=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"CreatorRequestId")inmake?confidenceThreshold?dnsThreatProtection?qtype?firewallDomainRedirectionAction~name?blockOverrideTtl?blockOverrideDnsType?blockOverrideDomain?blockResponse~action~priority?firewallDomainListId~firewallRuleGroupId~creatorRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letconfidenceThreshold=field_mapjson__"ConfidenceThreshold"ConfidenceThreshold.of_jsoninletdnsThreatProtection=field_mapjson__"DnsThreatProtection"DnsThreatProtection.of_jsoninletqtype=field_mapjson__"Qtype"Qtype.of_jsoninletfirewallDomainRedirectionAction=field_mapjson__"FirewallDomainRedirectionAction"FirewallDomainRedirectionAction.of_jsoninletname=field_map_exnjson__"Name"Name.of_jsoninletblockOverrideTtl=field_mapjson__"BlockOverrideTtl"BlockOverrideTtl.of_jsoninletblockOverrideDnsType=field_mapjson__"BlockOverrideDnsType"BlockOverrideDnsType.of_jsoninletblockOverrideDomain=field_mapjson__"BlockOverrideDomain"BlockOverrideDomain.of_jsoninletblockResponse=field_mapjson__"BlockResponse"BlockResponse.of_jsoninletaction=field_map_exnjson__"Action"Action.of_jsoninletpriority=field_map_exnjson__"Priority"Priority.of_jsoninletfirewallDomainListId=field_mapjson__"FirewallDomainListId"ResourceId.of_jsoninletfirewallRuleGroupId=field_map_exnjson__"FirewallRuleGroupId"ResourceId.of_jsoninletcreatorRequestId=field_map_exnjson__"CreatorRequestId"CreatorRequestId.of_jsoninmake?confidenceThreshold?dnsThreatProtection?qtype?firewallDomainRedirectionAction~name?blockOverrideTtl?blockOverrideDnsType?blockOverrideDomain?blockResponse~action~priority?firewallDomainListId~firewallRuleGroupId~creatorRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a single DNS Firewall rule in the specified rule group, using the specified domain list."]moduleCreateFirewallRuleGroupResponse=structtypenonrect={firewallRuleGroup:FirewallRuleGroup.toption[@ocaml.doc"A collection of rules used to filter DNS network traffic."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRuleGroup=fun()->{firewallRuleGroup}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRuleGroup",(Option.mapx.firewallRuleGroup~f:FirewallRuleGroup.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroup=(Option.map~f:FirewallRuleGroup.of_xml)(Xml.childxml_arg0"FirewallRuleGroup")inmake?firewallRuleGroup()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroup=field_mapjson__"FirewallRuleGroup"FirewallRuleGroup.of_jsoninmake?firewallRuleGroup()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule."]moduleCreateFirewallRuleGroupRequest=structtypenonrect={creatorRequestId:CreatorRequestId.t[@ocaml.doc"A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp."];name:Name.t[@ocaml.doc"A name that lets you identify the rule group, to manage and use it."];tags:TagList.toption[@ocaml.doc"A list of the tag keys and values that you want to associate with the rule group."]}letcontext_="CreateFirewallRuleGroupRequest"letmake?tags=fun~creatorRequestId->fun~name->fun()->{tags;creatorRequestId;name}letto_valuex=structure_to_value[("CreatorRequestId",(Some(CreatorRequestId.to_valuex.creatorRequestId)));("Name",(Some(Name.to_valuex.name)));("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")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletcreatorRequestId=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"CreatorRequestId")inmake?tags~name~creatorRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletname=field_map_exnjson__"Name"Name.of_jsoninletcreatorRequestId=field_map_exnjson__"CreatorRequestId"CreatorRequestId.of_jsoninmake?tags~name~creatorRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule."]moduleCreateFirewallDomainListResponse=structtypenonrect={firewallDomainList:FirewallDomainList.toption[@ocaml.doc"The domain list that you just created."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`LimitExceededExceptionofLimitExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallDomainList=fun()->{firewallDomainList}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallDomainList",(Option.mapx.firewallDomainList~f:FirewallDomainList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallDomainList=(Option.map~f:FirewallDomainList.of_xml)(Xml.childxml_arg0"FirewallDomainList")inmake?firewallDomainList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallDomainList=field_mapjson__"FirewallDomainList"FirewallDomainList.of_jsoninmake?firewallDomainList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains."]moduleCreateFirewallDomainListRequest=structtypenonrect={creatorRequestId:CreatorRequestId.t[@ocaml.doc"A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp."];name:Name.t[@ocaml.doc"A name that lets you identify the domain list to manage and use it."];tags:TagList.toption[@ocaml.doc"A list of the tag keys and values that you want to associate with the domain list."]}letcontext_="CreateFirewallDomainListRequest"letmake?tags=fun~creatorRequestId->fun~name->fun()->{tags;creatorRequestId;name}letto_valuex=structure_to_value[("CreatorRequestId",(Some(CreatorRequestId.to_valuex.creatorRequestId)));("Name",(Some(Name.to_valuex.name)));("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")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletcreatorRequestId=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"CreatorRequestId")inmake?tags~name~creatorRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletname=field_map_exnjson__"Name"Name.of_jsoninletcreatorRequestId=field_map_exnjson__"CreatorRequestId"CreatorRequestId.of_jsoninmake?tags~name~creatorRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains."]moduleAssociateResolverRuleResponse=structtypenonrect={resolverRuleAssociation:ResolverRuleAssociation.toption[@ocaml.doc"Information about the AssociateResolverRule request, including the status of the request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceExistsExceptionofResourceExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ResourceUnavailableExceptionofResourceUnavailableException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverRuleAssociation=fun()->{resolverRuleAssociation}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ResourceUnavailableException"->`ResourceUnavailableException(ResourceUnavailableException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceExistsExceptione->`Assoc[("error",(`String"ResourceExistsException"));("details",(ResourceExistsException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ResourceUnavailableExceptione->`Assoc[("error",(`String"ResourceUnavailableException"));("details",(ResourceUnavailableException.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[("ResolverRuleAssociation",(Option.mapx.resolverRuleAssociation~f:ResolverRuleAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverRuleAssociation=(Option.map~f:ResolverRuleAssociation.of_xml)(Xml.childxml_arg0"ResolverRuleAssociation")inmake?resolverRuleAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverRuleAssociation=field_mapjson__"ResolverRuleAssociation"ResolverRuleAssociation.of_jsoninmake?resolverRuleAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule."]moduleAssociateResolverRuleRequest=structtypenonrect={resolverRuleId:ResourceId.t[@ocaml.doc"The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules."];name:Name.toption[@ocaml.doc"A name for the association that you're creating between a Resolver rule and a VPC. The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers."];vPCId:ResourceId.t[@ocaml.doc"The ID of the VPC that you want to associate the Resolver rule with."]}letcontext_="AssociateResolverRuleRequest"letmake?name=fun~resolverRuleId->fun~vPCId->fun()->{name;resolverRuleId;vPCId}letto_valuex=structure_to_value[("ResolverRuleId",(Some(ResourceId.to_valuex.resolverRuleId)));("Name",(Option.mapx.name~f:Name.to_value));("VPCId",(Some(ResourceId.to_valuex.vPCId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvPCId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"VPCId")inletname=(Option.map~f:Name.of_xml)(Xml.childxml_arg0"Name")inletresolverRuleId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverRuleId")inmake~vPCId?name~resolverRuleId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvPCId=field_map_exnjson__"VPCId"ResourceId.of_jsoninletname=field_mapjson__"Name"Name.of_jsoninletresolverRuleId=field_map_exnjson__"ResolverRuleId"ResourceId.of_jsoninmake~vPCId?name~resolverRuleId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule."]moduleAssociateResolverQueryLogConfigResponse=structtypenonrect={resolverQueryLogConfigAssociation:ResolverQueryLogConfigAssociation.toption[@ocaml.doc"A complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceExistsExceptionofResourceExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverQueryLogConfigAssociation=fun()->{resolverQueryLogConfigAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceExistsExceptione->`Assoc[("error",(`String"ResourceExistsException"));("details",(ResourceExistsException.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[("ResolverQueryLogConfigAssociation",(Option.mapx.resolverQueryLogConfigAssociation~f:ResolverQueryLogConfigAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverQueryLogConfigAssociation=(Option.map~f:ResolverQueryLogConfigAssociation.of_xml)(Xml.childxml_arg0"ResolverQueryLogConfigAssociation")inmake?resolverQueryLogConfigAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverQueryLogConfigAssociation=field_mapjson__"ResolverQueryLogConfigAssociation"ResolverQueryLogConfigAssociation.of_jsoninmake?resolverQueryLogConfigAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC. The VPCs that you associate with a query logging configuration must be in the same Region as the configuration. To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig."]moduleAssociateResolverQueryLogConfigRequest=structtypenonrect={resolverQueryLogConfigId:ResourceId.t[@ocaml.doc"The ID of the query logging configuration that you want to associate a VPC with."];resourceId:ResourceId.t[@ocaml.doc"The ID of an Amazon VPC that you want this query logging configuration to log queries for. The VPCs and the query logging configuration must be in the same Region."]}letcontext_="AssociateResolverQueryLogConfigRequest"letmake~resolverQueryLogConfigId=fun~resourceId->fun()->{resolverQueryLogConfigId;resourceId}letto_valuex=structure_to_value[("ResolverQueryLogConfigId",(Some(ResourceId.to_valuex.resolverQueryLogConfigId)));("ResourceId",(Some(ResourceId.to_valuex.resourceId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResourceId")inletresolverQueryLogConfigId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverQueryLogConfigId")inmake~resourceId~resolverQueryLogConfigId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceId=field_map_exnjson__"ResourceId"ResourceId.of_jsoninletresolverQueryLogConfigId=field_map_exnjson__"ResolverQueryLogConfigId"ResourceId.of_jsoninmake~resourceId~resolverQueryLogConfigId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC. The VPCs that you associate with a query logging configuration must be in the same Region as the configuration. To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig."]moduleAssociateResolverEndpointIpAddressResponse=structtypenonrect={resolverEndpoint:ResolverEndpoint.toption[@ocaml.doc"The response to an AssociateResolverEndpointIpAddress request."]}typenonrecerror=[`InternalServiceErrorExceptionofInternalServiceErrorException.t|`InvalidParameterExceptionofInvalidParameterException.t|`InvalidRequestExceptionofInvalidRequestException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceExistsExceptionofResourceExistsException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?resolverEndpoint=fun()->{resolverEndpoint}leterror_of_jsonnamejson=matchnamewith|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_jsonjson)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"InvalidParameterException"->`InvalidParameterException(InvalidParameterException.of_xmlxml)|"InvalidRequestException"->`InvalidRequestException(InvalidRequestException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceExistsException"->`ResourceExistsException(ResourceExistsException.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|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.to_jsone))]|`InvalidParameterExceptione->`Assoc[("error",(`String"InvalidParameterException"));("details",(InvalidParameterException.to_jsone))]|`InvalidRequestExceptione->`Assoc[("error",(`String"InvalidRequestException"));("details",(InvalidRequestException.to_jsone))]|`LimitExceededExceptione->`Assoc[("error",(`String"LimitExceededException"));("details",(LimitExceededException.to_jsone))]|`ResourceExistsExceptione->`Assoc[("error",(`String"ResourceExistsException"));("details",(ResourceExistsException.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[("ResolverEndpoint",(Option.mapx.resolverEndpoint~f:ResolverEndpoint.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresolverEndpoint=(Option.map~f:ResolverEndpoint.of_xml)(Xml.childxml_arg0"ResolverEndpoint")inmake?resolverEndpoint()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresolverEndpoint=field_mapjson__"ResolverEndpoint"ResolverEndpoint.of_jsoninmake?resolverEndpoint()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address. To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress."]moduleAssociateResolverEndpointIpAddressRequest=structtypenonrect={resolverEndpointId:ResourceId.t[@ocaml.doc"The ID of the Resolver endpoint that you want to associate IP addresses with."];ipAddress:IpAddressUpdate.t[@ocaml.doc"Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet."]}letcontext_="AssociateResolverEndpointIpAddressRequest"letmake~resolverEndpointId=fun~ipAddress->fun()->{resolverEndpointId;ipAddress}letto_valuex=structure_to_value[("ResolverEndpointId",(Some(ResourceId.to_valuex.resolverEndpointId)));("IpAddress",(Some(IpAddressUpdate.to_valuex.ipAddress)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letipAddress=IpAddressUpdate.of_xml(Xml.child_exn~context:context_xml_arg0"IpAddress")inletresolverEndpointId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"ResolverEndpointId")inmake~ipAddress~resolverEndpointId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letipAddress=field_map_exnjson__"IpAddress"IpAddressUpdate.of_jsoninletresolverEndpointId=field_map_exnjson__"ResolverEndpointId"ResourceId.of_jsoninmake~ipAddress~resolverEndpointId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address. To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress."]moduleAssociateFirewallRuleGroupResponse=structtypenonrect={firewallRuleGroupAssociation:FirewallRuleGroupAssociation.toption[@ocaml.doc"The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServiceErrorExceptionofInternalServiceErrorException.t|`LimitExceededExceptionofLimitExceededException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?firewallRuleGroupAssociation=fun()->{firewallRuleGroupAssociation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_jsonjson)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"ConflictException"->`ConflictException(ConflictException.of_xmlxml)|"InternalServiceErrorException"->`InternalServiceErrorException(InternalServiceErrorException.of_xmlxml)|"LimitExceededException"->`LimitExceededException(LimitExceededException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|"ValidationException"->`ValidationException(ValidationException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`ConflictExceptione->`Assoc[("error",(`String"ConflictException"));("details",(ConflictException.to_jsone))]|`InternalServiceErrorExceptione->`Assoc[("error",(`String"InternalServiceErrorException"));("details",(InternalServiceErrorException.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))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("FirewallRuleGroupAssociation",(Option.mapx.firewallRuleGroupAssociation~f:FirewallRuleGroupAssociation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letfirewallRuleGroupAssociation=(Option.map~f:FirewallRuleGroupAssociation.of_xml)(Xml.childxml_arg0"FirewallRuleGroupAssociation")inmake?firewallRuleGroupAssociation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letfirewallRuleGroupAssociation=field_mapjson__"FirewallRuleGroupAssociation"FirewallRuleGroupAssociation.of_jsoninmake?firewallRuleGroupAssociation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC."]moduleAssociateFirewallRuleGroupRequest=structtypenonrect={creatorRequestId:CreatorRequestId.t[@ocaml.doc"A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp."];firewallRuleGroupId:ResourceId.t[@ocaml.doc"The unique identifier of the firewall rule group."];vpcId:ResourceId.t[@ocaml.doc"The unique identifier of the VPC that you want to associate with the rule group."];priority:Priority.t[@ocaml.doc"The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting. You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it. The allowed values for Priority are between 100 and 9900."];name:Name.t[@ocaml.doc"A name that lets you identify the association, to manage and use it."];mutationProtection:MutationProtectionStatus.toption[@ocaml.doc"If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED."];tags:TagList.toption[@ocaml.doc"A list of the tag keys and values that you want to associate with the rule group association."]}letcontext_="AssociateFirewallRuleGroupRequest"letmake?mutationProtection=fun?tags->fun~creatorRequestId->fun~firewallRuleGroupId->fun~vpcId->fun~priority->fun~name->fun()->{mutationProtection;tags;creatorRequestId;firewallRuleGroupId;vpcId;priority;name}letto_valuex=structure_to_value[("CreatorRequestId",(Some(CreatorRequestId.to_valuex.creatorRequestId)));("FirewallRuleGroupId",(Some(ResourceId.to_valuex.firewallRuleGroupId)));("VpcId",(Some(ResourceId.to_valuex.vpcId)));("Priority",(Some(Priority.to_valuex.priority)));("Name",(Some(Name.to_valuex.name)));("MutationProtection",(Option.mapx.mutationProtection~f:MutationProtectionStatus.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")inletmutationProtection=(Option.map~f:MutationProtectionStatus.of_xml)(Xml.childxml_arg0"MutationProtection")inletname=Name.of_xml(Xml.child_exn~context:context_xml_arg0"Name")inletpriority=Priority.of_xml(Xml.child_exn~context:context_xml_arg0"Priority")inletvpcId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"VpcId")inletfirewallRuleGroupId=ResourceId.of_xml(Xml.child_exn~context:context_xml_arg0"FirewallRuleGroupId")inletcreatorRequestId=CreatorRequestId.of_xml(Xml.child_exn~context:context_xml_arg0"CreatorRequestId")inmake?tags?mutationProtection~name~priority~vpcId~firewallRuleGroupId~creatorRequestId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"Tags"TagList.of_jsoninletmutationProtection=field_mapjson__"MutationProtection"MutationProtectionStatus.of_jsoninletname=field_map_exnjson__"Name"Name.of_jsoninletpriority=field_map_exnjson__"Priority"Priority.of_jsoninletvpcId=field_map_exnjson__"VpcId"ResourceId.of_jsoninletfirewallRuleGroupId=field_map_exnjson__"FirewallRuleGroupId"ResourceId.of_jsoninletcreatorRequestId=field_map_exnjson__"CreatorRequestId"CreatorRequestId.of_jsoninmake?tags?mutationProtection~name~priority~vpcId~firewallRuleGroupId~creatorRequestId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC."]