12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226(* 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.controltowerletapiVersion="2018-05-10"letendpointPrefix="controltower"letserviceFullName="AWS Control Tower"letsignatureVersion="v4"letprotocol="rest_json"letglobalEndpoint=endpointPrefix^".amazonaws.com"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[]))])moduleDriftStatus=structtypenonrect=|DRIFTED|IN_SYNC|NOT_CHECKING|UNKNOWN|Non_static_idofstringletmakei=iletto_string=function|DRIFTED->"DRIFTED"|IN_SYNC->"IN_SYNC"|NOT_CHECKING->"NOT_CHECKING"|UNKNOWN->"UNKNOWN"|Non_static_ids->sletof_string=function|"DRIFTED"->DRIFTED|"IN_SYNC"->IN_SYNC|"NOT_CHECKING"->NOT_CHECKING|"UNKNOWN"->UNKNOWN|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 DriftStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DriftStatus"j)letto_json=simple_to_jsonto_valueendmoduleEnabledBaselineDriftStatus=structtypenonrect=|IN_SYNC|DRIFTED|Non_static_idofstringletmakei=iletto_string=function|IN_SYNC->"IN_SYNC"|DRIFTED->"DRIFTED"|Non_static_ids->sletof_string=function|"IN_SYNC"->IN_SYNC|"DRIFTED"->DRIFTED|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 EnabledBaselineDriftStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EnabledBaselineDriftStatus"j)letto_json=simple_to_jsonto_valueendmoduleEnabledControlInheritanceDrift=structtypenonrect={status:DriftStatus.toption[@ocaml.doc"The status of inheritance drift for the enabled control, indicating whether inheritance configuration matches expectations."]}letmake?status=fun()->{status}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:DriftStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DriftStatus.of_xml)(Xml.childxml_arg0"status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DriftStatus.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents drift information related to control inheritance between organizational units."]moduleEnabledControlResourceDrift=structtypenonrect={status:DriftStatus.toption[@ocaml.doc"The status of resource drift for the enabled control, indicating whether the underlying resources match the expected configuration."]}letmake?status=fun()->{status}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:DriftStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:DriftStatus.of_xml)(Xml.childxml_arg0"status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"DriftStatus.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents drift information related to the underlying Amazon Web Services resources managed by the control."]moduleEnabledBaselineInheritanceDrift=structtypenonrect={status:EnabledBaselineDriftStatus.toption[@ocaml.doc"The inheritance drift status for enabled baselines."]}letmake?status=fun()->{status}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:EnabledBaselineDriftStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:EnabledBaselineDriftStatus.of_xml)(Xml.childxml_arg0"status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"EnabledBaselineDriftStatus.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The inheritance drift summary for the enabled baseline. Inheritance drift occurs when any accounts in the target OU do not match the baseline configuration defined on that OU."]moduleEnabledControlDriftTypes=structtypenonrect={inheritance:EnabledControlInheritanceDrift.toption[@ocaml.doc"Indicates drift related to inheritance configuration between parent and child controls."];resource:EnabledControlResourceDrift.toption[@ocaml.doc"Indicates drift related to the underlying Amazon Web Services resources managed by the control."]}letmake?inheritance=fun?resource->fun()->{inheritance;resource}letto_valuex=structure_to_value[("inheritance",(Option.mapx.inheritance~f:EnabledControlInheritanceDrift.to_value));("resource",(Option.mapx.resource~f:EnabledControlResourceDrift.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresource=(Option.map~f:EnabledControlResourceDrift.of_xml)(Xml.childxml_arg0"resource")inletinheritance=(Option.map~f:EnabledControlInheritanceDrift.of_xml)(Xml.childxml_arg0"inheritance")inmake?resource?inheritance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresource=field_mapjson__"resource"EnabledControlResourceDrift.of_jsoninletinheritance=field_mapjson__"inheritance"EnabledControlInheritanceDrift.of_jsoninmake?resource?inheritance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Defines the various categories of drift that can occur for an enabled control resource."]moduleEnablementStatus=structtypenonrect=|SUCCEEDED|FAILED|UNDER_CHANGE|Non_static_idofstringletmakei=iletto_string=function|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|UNDER_CHANGE->"UNDER_CHANGE"|Non_static_ids->sletof_string=function|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"UNDER_CHANGE"->UNDER_CHANGE|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 EnablementStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"EnablementStatus"j)letto_json=simple_to_jsonto_valueendmoduleOperationIdentifier=structtypenonrect=stringletcontext_="OperationIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:36)>>=(fun()->(check_string_maxi~max:36)>>=(fun()->check_patterni~pattern:"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{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:"OperationIdentifier"jletto_json=simple_to_jsonto_valueendmoduleEnabledBaselineDriftTypes=structtypenonrect={inheritance:EnabledBaselineInheritanceDrift.toption[@ocaml.doc"At least one account within the target OU does not match the baseline configuration defined on that OU. An account is in inheritance drift when it does not match the configuration of a parent OU, possibly a new parent OU, if the account is moved."]}letmake?inheritance=fun()->{inheritance}letto_valuex=structure_to_value[("inheritance",(Option.mapx.inheritance~f:EnabledBaselineInheritanceDrift.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinheritance=(Option.map~f:EnabledBaselineInheritanceDrift.of_xml)(Xml.childxml_arg0"inheritance")inmake?inheritance()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinheritance=field_mapjson__"inheritance"EnabledBaselineInheritanceDrift.of_jsoninmake?inheritance()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The types of drift that can be detected for an enabled baseline. Amazon Web Services Control Tower detects inheritance drift on the enabled baselines that target OUs: AWSControlTowerBaseline and BackupBaseline. Amazon Web Services Control Tower does not detect drift on the baselines that apply to your landing zone: IdentityCenterBaseline, AuditBaseline, LogArchiveBaseline, BackupCentralVaultBaseline, or BackupAdminBaseline. For more information, see Types of baselines. Baselines enabled on an OU are inherited by its member accounts as child EnabledBaseline resources. The baseline on the OU serves as the parent EnabledBaseline, which governs the configuration of each child EnabledBaseline. If the baseline configuration of a member account in an OU does not match the configuration of the parent OU, the parent and child baseline is in a state of inheritance drift. This drift could occur in the AWSControlTowerBaseline or the BackupBaseline related to that account."]moduleDocument=structtypenonrect=unitletmake()=()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_valuevendmoduleString_=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_valueendmoduleRegionName=structtypenonrect=stringletcontext_="RegionName"letmakei=letopenResultinok_or_failwith((check_string_maxi~max:50)>>=(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:"RegionName"jletto_json=simple_to_jsonto_valueendmoduleEnabledBaselineParameterDocument=structtypenonrect=unitletmake()=()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_valuevendmoduleArn=structtypenonrect=stringletcontext_="Arn"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"arn:aws[0-9a-zA-Z_\\-:\\/]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Arn"jletto_json=simple_to_jsonto_valueendmoduleLandingZoneOperationStatus=structtypenonrect=|SUCCEEDED|FAILED|IN_PROGRESS|Non_static_idofstringletmakei=iletto_string=function|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|IN_PROGRESS->"IN_PROGRESS"|Non_static_ids->sletof_string=function|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"IN_PROGRESS"->IN_PROGRESS|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 LandingZoneOperationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LandingZoneOperationStatus"j)letto_json=simple_to_jsonto_valueendmoduleLandingZoneOperationType=structtypenonrect=|DELETE|CREATE|UPDATE|RESET|Non_static_idofstringletmakei=iletto_string=function|DELETE->"DELETE"|CREATE->"CREATE"|UPDATE->"UPDATE"|RESET->"RESET"|Non_static_ids->sletof_string=function|"DELETE"->DELETE|"CREATE"->CREATE|"UPDATE"->UPDATE|"RESET"->RESET|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 LandingZoneOperationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LandingZoneOperationType"j)letto_json=simple_to_jsonto_valueendmoduleControlIdentifier=structtypenonrect=stringletcontext_="ControlIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"arn:aws[0-9a-zA-Z_\\-:\\/]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ControlIdentifier"jletto_json=simple_to_jsonto_valueendmoduleDriftStatusSummary=structtypenonrect={driftStatus:DriftStatus.toption[@ocaml.doc"The drift status of the enabled control. Valid values: DRIFTED: The enabledControl deployed in this configuration doesn\226\128\153t match the configuration that Amazon Web Services Control Tower expected. IN_SYNC: The enabledControl deployed in this configuration matches the configuration that Amazon Web Services Control Tower expected. NOT_CHECKING: Amazon Web Services Control Tower does not check drift for this enabled control. Drift is not supported for the control type. UNKNOWN: Amazon Web Services Control Tower is not able to check the drift status for the enabled control."];types:EnabledControlDriftTypes.toption[@ocaml.doc"An object that categorizes the different types of drift detected for the enabled control."]}letmake?driftStatus=fun?types->fun()->{driftStatus;types}letto_valuex=structure_to_value[("driftStatus",(Option.mapx.driftStatus~f:DriftStatus.to_value));("types",(Option.mapx.types~f:EnabledControlDriftTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:EnabledControlDriftTypes.of_xml)(Xml.childxml_arg0"types")inletdriftStatus=(Option.map~f:DriftStatus.of_xml)(Xml.childxml_arg0"driftStatus")inmake?types?driftStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"EnabledControlDriftTypes.of_jsoninletdriftStatus=field_mapjson__"driftStatus"DriftStatus.of_jsoninmake?types?driftStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The drift summary of the enabled control. Amazon Web Services Control Tower expects the enabled control configuration to include all supported and governed Regions. If the enabled control differs from the expected configuration, it is defined to be in a state of drift. You can repair this drift by resetting the enabled control."]moduleEnablementStatusSummary=structtypenonrect={status:EnablementStatus.toption[@ocaml.doc"The deployment status of the enabled resource. Valid values: SUCCEEDED: The EnabledControl or EnabledBaseline configuration was deployed successfully. UNDER_CHANGE: The EnabledControl or EnabledBaseline configuration is changing. FAILED: The EnabledControl or EnabledBaseline configuration failed to deploy."];lastOperationIdentifier:OperationIdentifier.toption[@ocaml.doc"The last operation identifier for the enabled resource."]}letmake?status=fun?lastOperationIdentifier->fun()->{status;lastOperationIdentifier}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:EnablementStatus.to_value));("lastOperationIdentifier",(Option.mapx.lastOperationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlastOperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"lastOperationIdentifier")inletstatus=(Option.map~f:EnablementStatus.of_xml)(Xml.childxml_arg0"status")inmake?lastOperationIdentifier?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlastOperationIdentifier=field_mapjson__"lastOperationIdentifier"OperationIdentifier.of_jsoninletstatus=field_mapjson__"status"EnablementStatus.of_jsoninmake?lastOperationIdentifier?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The deployment summary of an EnabledControl or EnabledBaseline resource."]moduleParentIdentifier=structtypenonrect=stringletcontext_="ParentIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"arn:aws[0-9a-zA-Z_\\-:\\/]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ParentIdentifier"jletto_json=simple_to_jsonto_valueendmoduleTargetIdentifier=structtypenonrect=stringletcontext_="TargetIdentifier"letmakei=letopenResultinok_or_failwith((check_string_mini~min:20)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:"arn:aws[0-9a-zA-Z_\\-:\\/]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TargetIdentifier"jletto_json=simple_to_jsonto_valueendmoduleEnabledBaselineDriftStatusSummary=structtypenonrect={types:EnabledBaselineDriftTypes.toption[@ocaml.doc"The types of drift that can be detected for an enabled baseline. Amazon Web Services Control Tower detects inheritance drift on enabled baselines that apply at the OU level."]}letmake?types=fun()->{types}letto_valuex=structure_to_value[("types",(Option.mapx.types~f:EnabledBaselineDriftTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettypes=(Option.map~f:EnabledBaselineDriftTypes.of_xml)(Xml.childxml_arg0"types")inmake?types()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettypes=field_mapjson__"types"EnabledBaselineDriftTypes.of_jsoninmake?types()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The drift summary of the enabled baseline. Amazon Web Services Control Tower reports inheritance drift when an enabled baseline configuration of a member account is different than the configuration that applies to the OU. Amazon Web Services Control Tower reports this type of drift for a parent or child enabled baseline. One way to repair this drift by resetting the parent enabled baseline, on the OU. For example, you may see this type of drift if you move accounts between OUs, but the accounts are not yet (re-)enrolled."]moduleControlOperationStatus=structtypenonrect=|SUCCEEDED|FAILED|IN_PROGRESS|Non_static_idofstringletmakei=iletto_string=function|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|IN_PROGRESS->"IN_PROGRESS"|Non_static_ids->sletof_string=function|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"IN_PROGRESS"->IN_PROGRESS|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 ControlOperationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ControlOperationStatus"j)letto_json=simple_to_jsonto_valueendmoduleControlOperationType=structtypenonrect=|ENABLE_CONTROL|DISABLE_CONTROL|UPDATE_ENABLED_CONTROL|RESET_ENABLED_CONTROL|Non_static_idofstringletmakei=iletto_string=function|ENABLE_CONTROL->"ENABLE_CONTROL"|DISABLE_CONTROL->"DISABLE_CONTROL"|UPDATE_ENABLED_CONTROL->"UPDATE_ENABLED_CONTROL"|RESET_ENABLED_CONTROL->"RESET_ENABLED_CONTROL"|Non_static_ids->sletof_string=function|"ENABLE_CONTROL"->ENABLE_CONTROL|"DISABLE_CONTROL"->DISABLE_CONTROL|"UPDATE_ENABLED_CONTROL"->UPDATE_ENABLED_CONTROL|"RESET_ENABLED_CONTROL"->RESET_ENABLED_CONTROL|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 ControlOperationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ControlOperationType"j)letto_json=simple_to_jsonto_valueendmoduleSyntheticTimestamp_date_time=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleLandingZoneDriftStatus=structtypenonrect=|DRIFTED|IN_SYNC|Non_static_idofstringletmakei=iletto_string=function|DRIFTED->"DRIFTED"|IN_SYNC->"IN_SYNC"|Non_static_ids->sletof_string=function|"DRIFTED"->DRIFTED|"IN_SYNC"->IN_SYNC|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 LandingZoneDriftStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LandingZoneDriftStatus"j)letto_json=simple_to_jsonto_valueendmoduleRemediationType=structtypenonrect=|INHERITANCE_DRIFT|Non_static_idofstringletmakei=iletto_string=function|INHERITANCE_DRIFT->"INHERITANCE_DRIFT"|Non_static_ids->sletof_string=function|"INHERITANCE_DRIFT"->INHERITANCE_DRIFT|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 RemediationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RemediationType"j)letto_json=simple_to_jsonto_valueendmoduleEnabledControlParameterSummary=structtypenonrect={key:String_.toption[@ocaml.doc"The key of a key/value pair."];value:Document.toption[@ocaml.doc"The value of a key/value pair."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("key",(Option.mapx.key~f:String_.to_value));("value",(Option.mapx.value~f:Document.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:Document.of_xml)(Xml.childxml_arg0"value")inletkey=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"key")inmake?value?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"value"Document.of_jsoninletkey=field_mapjson__"key"String_.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a summary of information about the parameters of an enabled control."]moduleRegion=structtypenonrect={name:RegionName.toption[@ocaml.doc"The Amazon Web Services Region name."]}letmake?name=fun()->{name}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:RegionName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:RegionName.of_xml)(Xml.childxml_arg0"name")inmake?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"name"RegionName.of_jsoninmake?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An Amazon Web Services Region in which Amazon Web Services Control Tower expects to find the control deployed. The expected Regions are based on the Regions that are governed by the landing zone. In certain cases, a control is not actually enabled in the Region as expected, such as during drift, or mixed governance."]moduleEnabledBaselineParameterSummary=structtypenonrect={key:String_.toption[@ocaml.doc"A string denoting the parameter key."];value:EnabledBaselineParameterDocument.toption[@ocaml.doc"A low-level document object of any type (for example, a Java Object)."]}letmake?key=fun?value->fun()->{key;value}letto_valuex=structure_to_value[("key",(Option.mapx.key~f:String_.to_value));("value",(Option.mapx.value~f:EnabledBaselineParameterDocument.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:EnabledBaselineParameterDocument.of_xml)(Xml.childxml_arg0"value")inletkey=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"key")inmake?value?key()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"value"EnabledBaselineParameterDocument.of_jsoninletkey=field_mapjson__"key"String_.of_jsoninmake?value?key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary of an applied parameter to an EnabledBaseline resource."]moduleInteger=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 Integer"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleEnabledControlParameter=structtypenonrect={key:String_.t[@ocaml.doc"The key of a key/value pair."];value:Document.t[@ocaml.doc"The value of a key/value pair."]}letcontext_="EnabledControlParameter"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("key",(Some(String_.to_valuex.key)));("value",(Some(Document.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=Document.of_xml(Xml.child_exn~context:context_xml_arg0"value")inletkey=String_.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"Document.of_jsoninletkey=field_map_exnjson__"key"String_.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A key/value pair, where Key is of type String and Value is of type Document."]moduleEnabledBaselineParameter=structtypenonrect={key:String_.t[@ocaml.doc"A string denoting the parameter key."];value:EnabledBaselineParameterDocument.t[@ocaml.doc"A low-level Document object of any type (for example, a Java Object)."]}letcontext_="EnabledBaselineParameter"letmake~key=fun~value->fun()->{key;value}letto_valuex=structure_to_value[("key",(Some(String_.to_valuex.key)));("value",(Some(EnabledBaselineParameterDocument.to_valuex.value)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=EnabledBaselineParameterDocument.of_xml(Xml.child_exn~context:context_xml_arg0"value")inletkey=String_.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"EnabledBaselineParameterDocument.of_jsoninletkey=field_map_exnjson__"key"String_.of_jsoninmake~value~key()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A key-value parameter to an EnabledBaseline resource."]moduleTagKey=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_valueendmoduleLandingZoneSummary=structtypenonrect={arn:Arn.toption[@ocaml.doc"The ARN of the landing zone."]}letmake?arn=fun()->{arn}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"arn"Arn.of_jsoninmake?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a summary of information about a landing zone."]moduleLandingZoneOperationSummary=structtypenonrect={operationType:LandingZoneOperationType.toption[@ocaml.doc"The type of the landing zone operation."];operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The operationIdentifier of the landing zone operation."];status:LandingZoneOperationStatus.toption[@ocaml.doc"The status of the landing zone operation."]}letmake?operationType=fun?operationIdentifier->fun?status->fun()->{operationType;operationIdentifier;status}letto_valuex=structure_to_value[("operationType",(Option.mapx.operationType~f:LandingZoneOperationType.to_value));("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value));("status",(Option.mapx.status~f:LandingZoneOperationStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:LandingZoneOperationStatus.of_xml)(Xml.childxml_arg0"status")inletoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inletoperationType=(Option.map~f:LandingZoneOperationType.of_xml)(Xml.childxml_arg0"operationType")inmake?status?operationIdentifier?operationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"LandingZoneOperationStatus.of_jsoninletoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninletoperationType=field_mapjson__"operationType"LandingZoneOperationType.of_jsoninmake?status?operationIdentifier?operationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a summary of information about a landing zone operation."]moduleLandingZoneOperationStatuses=structtypenonrect=LandingZoneOperationStatus.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LandingZoneOperationStatus.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:LandingZoneOperationStatus.of_xml)letof_jsonj=list_of_json~kind:"LandingZoneOperationStatuses"~of_json:LandingZoneOperationStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLandingZoneOperationTypes=structtypenonrect=LandingZoneOperationType.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LandingZoneOperationType.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:LandingZoneOperationType.of_xml)letof_jsonj=list_of_json~kind:"LandingZoneOperationTypes"~of_json:LandingZoneOperationType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnabledControlSummary=structtypenonrect={arn:Arn.toption[@ocaml.doc"The ARN of the enabled control."];controlIdentifier:ControlIdentifier.toption[@ocaml.doc"The controlIdentifier of the enabled control."];targetIdentifier:TargetIdentifier.toption[@ocaml.doc"The ARN of the organizational unit."];statusSummary:EnablementStatusSummary.toption[@ocaml.doc"A short description of the status of the enabled control."];driftStatusSummary:DriftStatusSummary.toption[@ocaml.doc"The drift status of the enabled control."];parentIdentifier:ParentIdentifier.toption[@ocaml.doc"The ARN of the parent enabled control from which this control inherits its configuration, if applicable."]}letmake?arn=fun?controlIdentifier->fun?targetIdentifier->fun?statusSummary->fun?driftStatusSummary->fun?parentIdentifier->fun()->{arn;controlIdentifier;targetIdentifier;statusSummary;driftStatusSummary;parentIdentifier}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value));("controlIdentifier",(Option.mapx.controlIdentifier~f:ControlIdentifier.to_value));("targetIdentifier",(Option.mapx.targetIdentifier~f:TargetIdentifier.to_value));("statusSummary",(Option.mapx.statusSummary~f:EnablementStatusSummary.to_value));("driftStatusSummary",(Option.mapx.driftStatusSummary~f:DriftStatusSummary.to_value));("parentIdentifier",(Option.mapx.parentIdentifier~f:ParentIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparentIdentifier=(Option.map~f:ParentIdentifier.of_xml)(Xml.childxml_arg0"parentIdentifier")inletdriftStatusSummary=(Option.map~f:DriftStatusSummary.of_xml)(Xml.childxml_arg0"driftStatusSummary")inletstatusSummary=(Option.map~f:EnablementStatusSummary.of_xml)(Xml.childxml_arg0"statusSummary")inlettargetIdentifier=(Option.map~f:TargetIdentifier.of_xml)(Xml.childxml_arg0"targetIdentifier")inletcontrolIdentifier=(Option.map~f:ControlIdentifier.of_xml)(Xml.childxml_arg0"controlIdentifier")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?parentIdentifier?driftStatusSummary?statusSummary?targetIdentifier?controlIdentifier?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparentIdentifier=field_mapjson__"parentIdentifier"ParentIdentifier.of_jsoninletdriftStatusSummary=field_mapjson__"driftStatusSummary"DriftStatusSummary.of_jsoninletstatusSummary=field_mapjson__"statusSummary"EnablementStatusSummary.of_jsoninlettargetIdentifier=field_mapjson__"targetIdentifier"TargetIdentifier.of_jsoninletcontrolIdentifier=field_mapjson__"controlIdentifier"ControlIdentifier.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?parentIdentifier?driftStatusSummary?statusSummary?targetIdentifier?controlIdentifier?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a summary of information about an enabled control."]moduleControlIdentifiers=structtypenonrect=ControlIdentifier.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ControlIdentifier.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:ControlIdentifier.of_xml)letof_jsonj=list_of_json~kind:"ControlIdentifiers"~of_json:ControlIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleDriftStatuses=structtypenonrect=DriftStatus.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:DriftStatus.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:DriftStatus.of_xml)letof_jsonj=list_of_json~kind:"DriftStatuses"~of_json:DriftStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnablementStatuses=structtypenonrect=EnablementStatus.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnablementStatus.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:EnablementStatus.of_xml)letof_jsonj=list_of_json~kind:"EnablementStatuses"~of_json:EnablementStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleParentIdentifiers=structtypenonrect=ParentIdentifier.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ParentIdentifier.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:ParentIdentifier.of_xml)letof_jsonj=list_of_json~kind:"ParentIdentifiers"~of_json:ParentIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnabledBaselineSummary=structtypenonrect={arn:Arn.toption[@ocaml.doc"The ARN of the EnabledBaseline resource"];baselineIdentifier:String_.toption[@ocaml.doc"The specific baseline that is enabled as part of the EnabledBaseline resource."];baselineVersion:String_.toption[@ocaml.doc"The enabled version of the baseline."];driftStatusSummary:EnabledBaselineDriftStatusSummary.toption[@ocaml.doc"The drift status of the enabled baseline."];targetIdentifier:String_.toption[@ocaml.doc"The target upon which the baseline is enabled."];parentIdentifier:Arn.toption[@ocaml.doc"An ARN that represents an object returned by ListEnabledBaseline, to describe an enabled baseline."];statusSummary:EnablementStatusSummary.toption}letmake?arn=fun?baselineIdentifier->fun?baselineVersion->fun?driftStatusSummary->fun?targetIdentifier->fun?parentIdentifier->fun?statusSummary->fun()->{arn;baselineIdentifier;baselineVersion;driftStatusSummary;targetIdentifier;parentIdentifier;statusSummary}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value));("baselineIdentifier",(Option.mapx.baselineIdentifier~f:String_.to_value));("baselineVersion",(Option.mapx.baselineVersion~f:String_.to_value));("driftStatusSummary",(Option.mapx.driftStatusSummary~f:EnabledBaselineDriftStatusSummary.to_value));("targetIdentifier",(Option.mapx.targetIdentifier~f:String_.to_value));("parentIdentifier",(Option.mapx.parentIdentifier~f:Arn.to_value));("statusSummary",(Option.mapx.statusSummary~f:EnablementStatusSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusSummary=(Option.map~f:EnablementStatusSummary.of_xml)(Xml.childxml_arg0"statusSummary")inletparentIdentifier=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"parentIdentifier")inlettargetIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"targetIdentifier")inletdriftStatusSummary=(Option.map~f:EnabledBaselineDriftStatusSummary.of_xml)(Xml.childxml_arg0"driftStatusSummary")inletbaselineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"baselineVersion")inletbaselineIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"baselineIdentifier")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?statusSummary?parentIdentifier?targetIdentifier?driftStatusSummary?baselineVersion?baselineIdentifier?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusSummary=field_mapjson__"statusSummary"EnablementStatusSummary.of_jsoninletparentIdentifier=field_mapjson__"parentIdentifier"Arn.of_jsoninlettargetIdentifier=field_mapjson__"targetIdentifier"String_.of_jsoninletdriftStatusSummary=field_mapjson__"driftStatusSummary"EnabledBaselineDriftStatusSummary.of_jsoninletbaselineVersion=field_mapjson__"baselineVersion"String_.of_jsoninletbaselineIdentifier=field_mapjson__"baselineIdentifier"String_.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?statusSummary?parentIdentifier?targetIdentifier?driftStatusSummary?baselineVersion?baselineIdentifier?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a summary of information about an EnabledBaseline object."]moduleEnabledBaselineBaselineIdentifiers=structtypenonrect=Arn.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:5)>>=(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:Arn.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:Arn.of_xml)letof_jsonj=list_of_json~kind:"EnabledBaselineBaselineIdentifiers"~of_json:Arn.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnabledBaselineDriftStatuses=structtypenonrect=EnabledBaselineDriftStatus.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnabledBaselineDriftStatus.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:EnabledBaselineDriftStatus.of_xml)letof_jsonj=list_of_json~kind:"EnabledBaselineDriftStatuses"~of_json:EnabledBaselineDriftStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnabledBaselineEnablementStatuses=structtypenonrect=EnablementStatus.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnablementStatus.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:EnablementStatus.of_xml)letof_jsonj=list_of_json~kind:"EnabledBaselineEnablementStatuses"~of_json:EnablementStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnabledBaselineParentIdentifiers=structtypenonrect=Arn.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:5)>>=(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:Arn.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:Arn.of_xml)letof_jsonj=list_of_json~kind:"EnabledBaselineParentIdentifiers"~of_json:Arn.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnabledBaselineTargetIdentifiers=structtypenonrect=Arn.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:5)>>=(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:Arn.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:Arn.of_xml)letof_jsonj=list_of_json~kind:"EnabledBaselineTargetIdentifiers"~of_json:Arn.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleControlOperationSummary=structtypenonrect={operationType:ControlOperationType.toption[@ocaml.doc"The type of operation."];startTime:SyntheticTimestamp_date_time.toption[@ocaml.doc"The time at which a control operation began."];endTime:SyntheticTimestamp_date_time.toption[@ocaml.doc"The time at which the control operation was completed."];status:ControlOperationStatus.toption[@ocaml.doc"The status of the specified control operation."];statusMessage:String_.toption[@ocaml.doc"A speficic message displayed as part of the control status."];operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The unique identifier of a control operation."];controlIdentifier:ControlIdentifier.toption[@ocaml.doc"The controlIdentifier of a control."];targetIdentifier:TargetIdentifier.toption[@ocaml.doc"The unique identifier of the target of a control operation."];enabledControlIdentifier:Arn.toption[@ocaml.doc"The controlIdentifier of an enabled control."]}letmake?operationType=fun?startTime->fun?endTime->fun?status->fun?statusMessage->fun?operationIdentifier->fun?controlIdentifier->fun?targetIdentifier->fun?enabledControlIdentifier->fun()->{operationType;startTime;endTime;status;statusMessage;operationIdentifier;controlIdentifier;targetIdentifier;enabledControlIdentifier}letto_valuex=structure_to_value[("operationType",(Option.mapx.operationType~f:ControlOperationType.to_value));("startTime",(Option.mapx.startTime~f:SyntheticTimestamp_date_time.to_value));("endTime",(Option.mapx.endTime~f:SyntheticTimestamp_date_time.to_value));("status",(Option.mapx.status~f:ControlOperationStatus.to_value));("statusMessage",(Option.mapx.statusMessage~f:String_.to_value));("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value));("controlIdentifier",(Option.mapx.controlIdentifier~f:ControlIdentifier.to_value));("targetIdentifier",(Option.mapx.targetIdentifier~f:TargetIdentifier.to_value));("enabledControlIdentifier",(Option.mapx.enabledControlIdentifier~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledControlIdentifier=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"enabledControlIdentifier")inlettargetIdentifier=(Option.map~f:TargetIdentifier.of_xml)(Xml.childxml_arg0"targetIdentifier")inletcontrolIdentifier=(Option.map~f:ControlIdentifier.of_xml)(Xml.childxml_arg0"controlIdentifier")inletoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inletstatusMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusMessage")inletstatus=(Option.map~f:ControlOperationStatus.of_xml)(Xml.childxml_arg0"status")inletendTime=(Option.map~f:SyntheticTimestamp_date_time.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:SyntheticTimestamp_date_time.of_xml)(Xml.childxml_arg0"startTime")inletoperationType=(Option.map~f:ControlOperationType.of_xml)(Xml.childxml_arg0"operationType")inmake?enabledControlIdentifier?targetIdentifier?controlIdentifier?operationIdentifier?statusMessage?status?endTime?startTime?operationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledControlIdentifier=field_mapjson__"enabledControlIdentifier"Arn.of_jsoninlettargetIdentifier=field_mapjson__"targetIdentifier"TargetIdentifier.of_jsoninletcontrolIdentifier=field_mapjson__"controlIdentifier"ControlIdentifier.of_jsoninletoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninletstatusMessage=field_mapjson__"statusMessage"String_.of_jsoninletstatus=field_mapjson__"status"ControlOperationStatus.of_jsoninletendTime=field_mapjson__"endTime"SyntheticTimestamp_date_time.of_jsoninletstartTime=field_mapjson__"startTime"SyntheticTimestamp_date_time.of_jsoninletoperationType=field_mapjson__"operationType"ControlOperationType.of_jsoninmake?enabledControlIdentifier?targetIdentifier?controlIdentifier?operationIdentifier?statusMessage?status?endTime?startTime?operationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A summary of information about the specified control operation."]moduleControlOperationStatuses=structtypenonrect=ControlOperationStatus.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ControlOperationStatus.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:ControlOperationStatus.of_xml)letof_jsonj=list_of_json~kind:"ControlOperationStatuses"~of_json:ControlOperationStatus.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleControlOperationTypes=structtypenonrect=ControlOperationType.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ControlOperationType.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:ControlOperationType.of_xml)letof_jsonj=list_of_json~kind:"ControlOperationTypes"~of_json:ControlOperationType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnabledControlIdentifiers=structtypenonrect=Arn.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Arn.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:Arn.of_xml)letof_jsonj=list_of_json~kind:"EnabledControlIdentifiers"~of_json:Arn.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTargetIdentifiers=structtypenonrect=TargetIdentifier.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:TargetIdentifier.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:TargetIdentifier.of_xml)letof_jsonj=list_of_json~kind:"TargetIdentifiers"~of_json:TargetIdentifier.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBaselineSummary=structtypenonrect={arn:String_.toption[@ocaml.doc"The full ARN of a Baseline."];name:String_.toption[@ocaml.doc"The human-readable name of a Baseline."];description:String_.toption[@ocaml.doc"A summary description of a Baseline."]}letmake?arn=fun?name->fun?description->fun()->{arn;name;description}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:String_.to_value));("name",(Option.mapx.name~f:String_.to_value));("description",(Option.mapx.description~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"arn")inmake?description?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"description"String_.of_jsoninletname=field_mapjson__"name"String_.of_jsoninletarn=field_mapjson__"arn"String_.of_jsoninmake?description?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a summary of information about a Baseline object."]moduleLandingZoneDriftStatusSummary=structtypenonrect={status:LandingZoneDriftStatus.toption[@ocaml.doc"The drift status of the landing zone. Valid values: DRIFTED: The landing zone deployed in this configuration does not match the configuration that Amazon Web Services Control Tower expected. IN_SYNC: The landing zone deployed in this configuration matches the configuration that Amazon Web Services Control Tower expected."]}letmake?status=fun()->{status}letto_valuex=structure_to_value[("status",(Option.mapx.status~f:LandingZoneDriftStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:LandingZoneDriftStatus.of_xml)(Xml.childxml_arg0"status")inmake?status()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"LandingZoneDriftStatus.of_jsoninmake?status()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The drift status summary of the landing zone. If the landing zone differs from the expected configuration, it is defined to be in a state of drift. You can repair this drift by resetting the landing zone."]moduleLandingZoneStatus=structtypenonrect=|ACTIVE|PROCESSING|FAILED|Non_static_idofstringletmakei=iletto_string=function|ACTIVE->"ACTIVE"|PROCESSING->"PROCESSING"|FAILED->"FAILED"|Non_static_ids->sletof_string=function|"ACTIVE"->ACTIVE|"PROCESSING"->PROCESSING|"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 LandingZoneStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"LandingZoneStatus"j)letto_json=simple_to_jsonto_valueendmoduleLandingZoneVersion=structtypenonrect=stringletcontext_="LandingZoneVersion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:3)>>=(fun()->(check_string_maxi~max:10)>>=(fun()->check_patterni~pattern:"\\d+.\\d+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"LandingZoneVersion"jletto_json=simple_to_jsonto_valueendmoduleManifest=structtypenonrect=unitletmake()=()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_valuevendmoduleRemediationTypes=structtypenonrect=RemediationType.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(fun()->check_list_mini~min:1));iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:RemediationType.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:RemediationType.of_xml)letof_jsonj=list_of_json~kind:"RemediationTypes"~of_json:RemediationType.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTimestamp=structtypenonrect=stringletmakei=iletof_stringx=xletto_valuex=`Timestampxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=string_of_xml~kind:"a timestamp"letof_json=timestamp_of_jsonletto_json=simple_to_jsonto_valueendmoduleEnabledControlParameterSummaries=structtypenonrect=EnabledControlParameterSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnabledControlParameterSummary.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:EnabledControlParameterSummary.of_xml)letof_jsonj=list_of_json~kind:"EnabledControlParameterSummaries"~of_json:EnabledControlParameterSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTargetRegions=structtypenonrect=Region.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Region.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:Region.of_xml)letof_jsonj=list_of_json~kind:"TargetRegions"~of_json:Region.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleEnabledBaselineParameterSummaries=structtypenonrect=EnabledBaselineParameterSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnabledBaselineParameterSummary.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:EnabledBaselineParameterSummary.of_xml)letof_jsonj=list_of_json~kind:"EnabledBaselineParameterSummaries"~of_json:EnabledBaselineParameterSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBaselineOperationStatus=structtypenonrect=|SUCCEEDED|FAILED|IN_PROGRESS|Non_static_idofstringletmakei=iletto_string=function|SUCCEEDED->"SUCCEEDED"|FAILED->"FAILED"|IN_PROGRESS->"IN_PROGRESS"|Non_static_ids->sletof_string=function|"SUCCEEDED"->SUCCEEDED|"FAILED"->FAILED|"IN_PROGRESS"->IN_PROGRESS|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 BaselineOperationStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BaselineOperationStatus"j)letto_json=simple_to_jsonto_valueendmoduleBaselineOperationType=structtypenonrect=|ENABLE_BASELINE|DISABLE_BASELINE|UPDATE_ENABLED_BASELINE|RESET_ENABLED_BASELINE|Non_static_idofstringletmakei=iletto_string=function|ENABLE_BASELINE->"ENABLE_BASELINE"|DISABLE_BASELINE->"DISABLE_BASELINE"|UPDATE_ENABLED_BASELINE->"UPDATE_ENABLED_BASELINE"|RESET_ENABLED_BASELINE->"RESET_ENABLED_BASELINE"|Non_static_ids->sletof_string=function|"ENABLE_BASELINE"->ENABLE_BASELINE|"DISABLE_BASELINE"->DISABLE_BASELINE|"UPDATE_ENABLED_BASELINE"->UPDATE_ENABLED_BASELINE|"RESET_ENABLED_BASELINE"->RESET_ENABLED_BASELINE|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 BaselineOperationType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BaselineOperationType"j)letto_json=simple_to_jsonto_valueendmoduleAccessDeniedException=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"You do not have sufficient access to perform this action."]moduleConflictException=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"Updating or deleting the resource can cause an inconsistent state."]moduleInternalServerException=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"An unexpected error occurred during processing of a request."]moduleResourceNotFoundException=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 request references a resource that does not exist."]moduleThrottlingException=structtypenonrect={message:String_.toption;serviceCode:String_.toption[@ocaml.doc"The ID of the service that is associated with the error."];quotaCode:String_.toption[@ocaml.doc"The ID of the service quota that was exceeded."];retryAfterSeconds:Integer.toption[@ocaml.doc"The number of seconds the caller should wait before retrying."]}letmake?message=fun?serviceCode->fun?quotaCode->fun?retryAfterSeconds->fun()->{message;serviceCode;quotaCode;retryAfterSeconds}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:String_.to_value));("serviceCode",(Option.mapx.serviceCode~f:String_.to_value));("quotaCode",(Option.mapx.quotaCode~f:String_.to_value));("Retry-After",(Option.mapx.retryAfterSeconds~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letretryAfterSeconds=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"Retry-After")inletquotaCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"quotaCode")inletserviceCode=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"serviceCode")inletmessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"message")inmake?retryAfterSeconds?quotaCode?serviceCode?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letretryAfterSeconds=field_mapjson__"retryAfterSeconds"Integer.of_jsoninletquotaCode=field_mapjson__"quotaCode"String_.of_jsoninletserviceCode=field_mapjson__"serviceCode"String_.of_jsoninletmessage=field_mapjson__"message"String_.of_jsoninmake?retryAfterSeconds?quotaCode?serviceCode?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was denied due to request throttling."]moduleValidationException=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 input does not satisfy the constraints specified by an Amazon Web Services service."]moduleServiceQuotaExceededException=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 request would cause a service quota to be exceeded. See Service quotas."]moduleEnabledControlParameters=structtypenonrect=EnabledControlParameter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnabledControlParameter.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:EnabledControlParameter.of_xml)letof_jsonj=list_of_json~kind:"EnabledControlParameters"~of_json:EnabledControlParameter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleBaselineVersion=structtypenonrect=stringletcontext_="BaselineVersion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:10)>>=(fun()->check_patterni~pattern:"\\d+(?:\\.\\d+){0,2}")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"BaselineVersion"jletto_json=simple_to_jsonto_valueendmoduleEnabledBaselineParameters=structtypenonrect=EnabledBaselineParameter.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnabledBaselineParameter.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:EnabledBaselineParameter.of_xml)letof_jsonj=list_of_json~kind:"EnabledBaselineParameters"~of_json:EnabledBaselineParameter.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagKeys=structtypenonrect=TagKey.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(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: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:"TagKeys"~of_json:TagKey.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTagMap=structtypenonrect=(TagKey.t*TagValue.t)listletmakei=letopenResultinok_or_failwith((check_list_maxi~max:200)>>=(fun()->check_list_mini~min:0));iletof_headerxs=make(List.filter_mapxs~f:(fun(k,v)->(Base.String.chop_prefixk~prefix:"x-amz-meta-")|>(Option.map~f:(funchopped->((TagKey.of_stringchopped),(TagValue.of_stringv))))))letto_valuexs=(xs|>(List.map~f:(fun(x,y)->(TagKey.to_valuex)|>(funx->(TagValue.to_valuey)|>(funy->(x,y))))))|>(funx->`Mapx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for Map_shape objects"()letof_xml_=failwith"of_xml_converter_of_shape: Map_shape case not implemented"letof_jsonj=object_of_json~key_of_string:TagKey.of_string~of_json:TagValue.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListLandingZonesOutputLandingZonesList=structtypenonrect=LandingZoneSummary.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:1)>>=(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:LandingZoneSummary.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:LandingZoneSummary.of_xml)letof_jsonj=list_of_json~kind:"ListLandingZonesOutputLandingZonesList"~of_json:LandingZoneSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListLandingZonesMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:1)>>=(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 ListLandingZonesMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleLandingZoneOperations=structtypenonrect=LandingZoneOperationSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:LandingZoneOperationSummary.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:LandingZoneOperationSummary.of_xml)letof_jsonj=list_of_json~kind:"LandingZoneOperations"~of_json:LandingZoneOperationSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleLandingZoneOperationFilter=structtypenonrect={types:LandingZoneOperationTypes.toption[@ocaml.doc"The set of landing zone operation types selected by the filter."];statuses:LandingZoneOperationStatuses.toption[@ocaml.doc"The statuses of the set of landing zone operations selected by the filter."]}letmake?types=fun?statuses->fun()->{types;statuses}letto_valuex=structure_to_value[("types",(Option.mapx.types~f:LandingZoneOperationTypes.to_value));("statuses",(Option.mapx.statuses~f:LandingZoneOperationStatuses.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatuses=(Option.map~f:LandingZoneOperationStatuses.of_xml)(Xml.childxml_arg0"statuses")inlettypes=(Option.map~f:LandingZoneOperationTypes.of_xml)(Xml.childxml_arg0"types")inmake?statuses?types()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatuses=field_mapjson__"statuses"LandingZoneOperationStatuses.of_jsoninlettypes=field_mapjson__"types"LandingZoneOperationTypes.of_jsoninmake?statuses?types()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter object that lets you call ListLandingZoneOperations with a specific filter."]moduleListLandingZoneOperationsMaxResults=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 ListLandingZoneOperationsMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleEnabledControls=structtypenonrect=EnabledControlSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnabledControlSummary.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:EnabledControlSummary.of_xml)letof_jsonj=list_of_json~kind:"EnabledControls"~of_json:EnabledControlSummary.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_valueendmoduleEnabledControlFilter=structtypenonrect={controlIdentifiers:ControlIdentifiers.toption[@ocaml.doc"The set of controlIdentifier returned by the filter."];statuses:EnablementStatuses.toption[@ocaml.doc"A list of EnablementStatus items."];driftStatuses:DriftStatuses.toption[@ocaml.doc"A list of DriftStatus items."];parentIdentifiers:ParentIdentifiers.toption[@ocaml.doc"Filters enabled controls by their parent control identifiers, allowing you to find child controls of specific parent controls."];inheritanceDriftStatuses:DriftStatuses.toption[@ocaml.doc"Filters enabled controls by their inheritance drift status, allowing you to find controls with specific inheritance-related drift conditions."];resourceDriftStatuses:DriftStatuses.toption[@ocaml.doc"Filters enabled controls by their resource drift status, allowing you to find controls with specific resource-related drift conditions."]}letmake?controlIdentifiers=fun?statuses->fun?driftStatuses->fun?parentIdentifiers->fun?inheritanceDriftStatuses->fun?resourceDriftStatuses->fun()->{controlIdentifiers;statuses;driftStatuses;parentIdentifiers;inheritanceDriftStatuses;resourceDriftStatuses}letto_valuex=structure_to_value[("controlIdentifiers",(Option.mapx.controlIdentifiers~f:ControlIdentifiers.to_value));("statuses",(Option.mapx.statuses~f:EnablementStatuses.to_value));("driftStatuses",(Option.mapx.driftStatuses~f:DriftStatuses.to_value));("parentIdentifiers",(Option.mapx.parentIdentifiers~f:ParentIdentifiers.to_value));("inheritanceDriftStatuses",(Option.mapx.inheritanceDriftStatuses~f:DriftStatuses.to_value));("resourceDriftStatuses",(Option.mapx.resourceDriftStatuses~f:DriftStatuses.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceDriftStatuses=(Option.map~f:DriftStatuses.of_xml)(Xml.childxml_arg0"resourceDriftStatuses")inletinheritanceDriftStatuses=(Option.map~f:DriftStatuses.of_xml)(Xml.childxml_arg0"inheritanceDriftStatuses")inletparentIdentifiers=(Option.map~f:ParentIdentifiers.of_xml)(Xml.childxml_arg0"parentIdentifiers")inletdriftStatuses=(Option.map~f:DriftStatuses.of_xml)(Xml.childxml_arg0"driftStatuses")inletstatuses=(Option.map~f:EnablementStatuses.of_xml)(Xml.childxml_arg0"statuses")inletcontrolIdentifiers=(Option.map~f:ControlIdentifiers.of_xml)(Xml.childxml_arg0"controlIdentifiers")inmake?resourceDriftStatuses?inheritanceDriftStatuses?parentIdentifiers?driftStatuses?statuses?controlIdentifiers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceDriftStatuses=field_mapjson__"resourceDriftStatuses"DriftStatuses.of_jsoninletinheritanceDriftStatuses=field_mapjson__"inheritanceDriftStatuses"DriftStatuses.of_jsoninletparentIdentifiers=field_mapjson__"parentIdentifiers"ParentIdentifiers.of_jsoninletdriftStatuses=field_mapjson__"driftStatuses"DriftStatuses.of_jsoninletstatuses=field_mapjson__"statuses"EnablementStatuses.of_jsoninletcontrolIdentifiers=field_mapjson__"controlIdentifiers"ControlIdentifiers.of_jsoninmake?resourceDriftStatuses?inheritanceDriftStatuses?parentIdentifiers?driftStatuses?statuses?controlIdentifiers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A structure that returns a set of control identifiers, the control status for each control in the set, and the drift status for each control in the set."]moduleMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:200)>>=(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_valueendmoduleEnabledBaselines=structtypenonrect=EnabledBaselineSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:EnabledBaselineSummary.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:EnabledBaselineSummary.of_xml)letof_jsonj=list_of_json~kind:"EnabledBaselines"~of_json:EnabledBaselineSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListEnabledBaselinesNextToken=structtypenonrect=stringletcontext_="ListEnabledBaselinesNextToken"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:".*\\S+.*");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ListEnabledBaselinesNextToken"jletto_json=simple_to_jsonto_valueendmoduleEnabledBaselineFilter=structtypenonrect={targetIdentifiers:EnabledBaselineTargetIdentifiers.toption[@ocaml.doc"Identifiers for the targets of the Baseline filter operation."];baselineIdentifiers:EnabledBaselineBaselineIdentifiers.toption[@ocaml.doc"Identifiers for the Baseline objects returned as part of the filter operation."];parentIdentifiers:EnabledBaselineParentIdentifiers.toption[@ocaml.doc"An optional filter that sets up a list of parentIdentifiers to filter the results of the ListEnabledBaseline output."];statuses:EnabledBaselineEnablementStatuses.toption[@ocaml.doc"A list of EnablementStatus items."];inheritanceDriftStatuses:EnabledBaselineDriftStatuses.toption[@ocaml.doc"A list of EnabledBaselineDriftStatus items for enabled baselines."]}letmake?targetIdentifiers=fun?baselineIdentifiers->fun?parentIdentifiers->fun?statuses->fun?inheritanceDriftStatuses->fun()->{targetIdentifiers;baselineIdentifiers;parentIdentifiers;statuses;inheritanceDriftStatuses}letto_valuex=structure_to_value[("targetIdentifiers",(Option.mapx.targetIdentifiers~f:EnabledBaselineTargetIdentifiers.to_value));("baselineIdentifiers",(Option.mapx.baselineIdentifiers~f:EnabledBaselineBaselineIdentifiers.to_value));("parentIdentifiers",(Option.mapx.parentIdentifiers~f:EnabledBaselineParentIdentifiers.to_value));("statuses",(Option.mapx.statuses~f:EnabledBaselineEnablementStatuses.to_value));("inheritanceDriftStatuses",(Option.mapx.inheritanceDriftStatuses~f:EnabledBaselineDriftStatuses.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letinheritanceDriftStatuses=(Option.map~f:EnabledBaselineDriftStatuses.of_xml)(Xml.childxml_arg0"inheritanceDriftStatuses")inletstatuses=(Option.map~f:EnabledBaselineEnablementStatuses.of_xml)(Xml.childxml_arg0"statuses")inletparentIdentifiers=(Option.map~f:EnabledBaselineParentIdentifiers.of_xml)(Xml.childxml_arg0"parentIdentifiers")inletbaselineIdentifiers=(Option.map~f:EnabledBaselineBaselineIdentifiers.of_xml)(Xml.childxml_arg0"baselineIdentifiers")inlettargetIdentifiers=(Option.map~f:EnabledBaselineTargetIdentifiers.of_xml)(Xml.childxml_arg0"targetIdentifiers")inmake?inheritanceDriftStatuses?statuses?parentIdentifiers?baselineIdentifiers?targetIdentifiers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letinheritanceDriftStatuses=field_mapjson__"inheritanceDriftStatuses"EnabledBaselineDriftStatuses.of_jsoninletstatuses=field_mapjson__"statuses"EnabledBaselineEnablementStatuses.of_jsoninletparentIdentifiers=field_mapjson__"parentIdentifiers"EnabledBaselineParentIdentifiers.of_jsoninletbaselineIdentifiers=field_mapjson__"baselineIdentifiers"EnabledBaselineBaselineIdentifiers.of_jsoninlettargetIdentifiers=field_mapjson__"targetIdentifiers"EnabledBaselineTargetIdentifiers.of_jsoninmake?inheritanceDriftStatuses?statuses?parentIdentifiers?baselineIdentifiers?targetIdentifiers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter applied on the ListEnabledBaseline operation. Allowed filters are baselineIdentifiers and targetIdentifiers. The filter can be applied for either, or both."]moduleListEnabledBaselinesMaxResults=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 ListEnabledBaselinesMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleControlOperations=structtypenonrect=ControlOperationSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ControlOperationSummary.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:ControlOperationSummary.of_xml)letof_jsonj=list_of_json~kind:"ControlOperations"~of_json:ControlOperationSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListControlOperationsNextToken=structtypenonrect=stringletcontext_="ListControlOperationsNextToken"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:".*\\S+.*");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ListControlOperationsNextToken"jletto_json=simple_to_jsonto_valueendmoduleControlOperationFilter=structtypenonrect={controlIdentifiers:ControlIdentifiers.toption[@ocaml.doc"The set of controlIdentifier returned by the filter."];targetIdentifiers:TargetIdentifiers.toption[@ocaml.doc"The set of targetIdentifier objects returned by the filter."];enabledControlIdentifiers:EnabledControlIdentifiers.toption[@ocaml.doc"The set controlIdentifier of enabled controls selected by the filter."];statuses:ControlOperationStatuses.toption[@ocaml.doc"Lists the status of control operations."];controlOperationTypes:ControlOperationTypes.toption[@ocaml.doc"The set of ControlOperation objects returned by the filter."]}letmake?controlIdentifiers=fun?targetIdentifiers->fun?enabledControlIdentifiers->fun?statuses->fun?controlOperationTypes->fun()->{controlIdentifiers;targetIdentifiers;enabledControlIdentifiers;statuses;controlOperationTypes}letto_valuex=structure_to_value[("controlIdentifiers",(Option.mapx.controlIdentifiers~f:ControlIdentifiers.to_value));("targetIdentifiers",(Option.mapx.targetIdentifiers~f:TargetIdentifiers.to_value));("enabledControlIdentifiers",(Option.mapx.enabledControlIdentifiers~f:EnabledControlIdentifiers.to_value));("statuses",(Option.mapx.statuses~f:ControlOperationStatuses.to_value));("controlOperationTypes",(Option.mapx.controlOperationTypes~f:ControlOperationTypes.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontrolOperationTypes=(Option.map~f:ControlOperationTypes.of_xml)(Xml.childxml_arg0"controlOperationTypes")inletstatuses=(Option.map~f:ControlOperationStatuses.of_xml)(Xml.childxml_arg0"statuses")inletenabledControlIdentifiers=(Option.map~f:EnabledControlIdentifiers.of_xml)(Xml.childxml_arg0"enabledControlIdentifiers")inlettargetIdentifiers=(Option.map~f:TargetIdentifiers.of_xml)(Xml.childxml_arg0"targetIdentifiers")inletcontrolIdentifiers=(Option.map~f:ControlIdentifiers.of_xml)(Xml.childxml_arg0"controlIdentifiers")inmake?controlOperationTypes?statuses?enabledControlIdentifiers?targetIdentifiers?controlIdentifiers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontrolOperationTypes=field_mapjson__"controlOperationTypes"ControlOperationTypes.of_jsoninletstatuses=field_mapjson__"statuses"ControlOperationStatuses.of_jsoninletenabledControlIdentifiers=field_mapjson__"enabledControlIdentifiers"EnabledControlIdentifiers.of_jsoninlettargetIdentifiers=field_mapjson__"targetIdentifiers"TargetIdentifiers.of_jsoninletcontrolIdentifiers=field_mapjson__"controlIdentifiers"ControlIdentifiers.of_jsoninmake?controlOperationTypes?statuses?enabledControlIdentifiers?targetIdentifiers?controlIdentifiers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A filter object that lets you call ListControlOperations with a specific filter."]moduleListControlOperationsMaxResults=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 ListControlOperationsMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleBaselines=structtypenonrect=BaselineSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:BaselineSummary.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:BaselineSummary.of_xml)letof_jsonj=list_of_json~kind:"Baselines"~of_json:BaselineSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListBaselinesMaxResults=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:100)>>=(fun()->check_int_mini~min:4));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 ListBaselinesMaxResults"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleLandingZoneDetail=structtypenonrect={version:LandingZoneVersion.toption[@ocaml.doc"The landing zone's current deployed version."];remediationTypes:RemediationTypes.toption[@ocaml.doc"The types of remediation actions configured for the landing zone, such as automatic drift correction or compliance enforcement."];arn:Arn.toption[@ocaml.doc"The ARN of the landing zone."];status:LandingZoneStatus.toption[@ocaml.doc"The landing zone deployment status. One of ACTIVE, PROCESSING, FAILED."];latestAvailableVersion:LandingZoneVersion.toption[@ocaml.doc"The latest available version of the landing zone."];driftStatus:LandingZoneDriftStatusSummary.toption[@ocaml.doc"The drift status of the landing zone."];manifest:Manifest.toption[@ocaml.doc"The landing zone manifest JSON text file that specifies the landing zone configurations."]}letmake?version=fun?remediationTypes->fun?arn->fun?status->fun?latestAvailableVersion->fun?driftStatus->fun?manifest->fun()->{version;remediationTypes;arn;status;latestAvailableVersion;driftStatus;manifest}letto_valuex=structure_to_value[("version",(Option.mapx.version~f:LandingZoneVersion.to_value));("remediationTypes",(Option.mapx.remediationTypes~f:RemediationTypes.to_value));("arn",(Option.mapx.arn~f:Arn.to_value));("status",(Option.mapx.status~f:LandingZoneStatus.to_value));("latestAvailableVersion",(Option.mapx.latestAvailableVersion~f:LandingZoneVersion.to_value));("driftStatus",(Option.mapx.driftStatus~f:LandingZoneDriftStatusSummary.to_value));("manifest",(Option.mapx.manifest~f:Manifest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanifest=(Option.map~f:Manifest.of_xml)(Xml.childxml_arg0"manifest")inletdriftStatus=(Option.map~f:LandingZoneDriftStatusSummary.of_xml)(Xml.childxml_arg0"driftStatus")inletlatestAvailableVersion=(Option.map~f:LandingZoneVersion.of_xml)(Xml.childxml_arg0"latestAvailableVersion")inletstatus=(Option.map~f:LandingZoneStatus.of_xml)(Xml.childxml_arg0"status")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inletremediationTypes=(Option.map~f:RemediationTypes.of_xml)(Xml.childxml_arg0"remediationTypes")inletversion=(Option.map~f:LandingZoneVersion.of_xml)(Xml.childxml_arg0"version")inmake?manifest?driftStatus?latestAvailableVersion?status?arn?remediationTypes?version()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanifest=field_mapjson__"manifest"Manifest.of_jsoninletdriftStatus=field_mapjson__"driftStatus"LandingZoneDriftStatusSummary.of_jsoninletlatestAvailableVersion=field_mapjson__"latestAvailableVersion"LandingZoneVersion.of_jsoninletstatus=field_mapjson__"status"LandingZoneStatus.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninletremediationTypes=field_mapjson__"remediationTypes"RemediationTypes.of_jsoninletversion=field_mapjson__"version"LandingZoneVersion.of_jsoninmake?manifest?driftStatus?latestAvailableVersion?status?arn?remediationTypes?version()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the landing zone."]moduleLandingZoneOperationDetail=structtypenonrect={operationType:LandingZoneOperationType.toption[@ocaml.doc"The landing zone operation type. Valid values: DELETE: The DeleteLandingZone operation. CREATE: The CreateLandingZone operation. UPDATE: The UpdateLandingZone operation. RESET: The ResetLandingZone operation."];operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The operationIdentifier of the landing zone operation."];status:LandingZoneOperationStatus.toption[@ocaml.doc"Valid values: SUCCEEDED: The landing zone operation succeeded. IN_PROGRESS: The landing zone operation is in progress. FAILED: The landing zone operation failed."];startTime:Timestamp.toption[@ocaml.doc"The landing zone operation start time."];endTime:Timestamp.toption[@ocaml.doc"The landing zone operation end time."];statusMessage:String_.toption[@ocaml.doc"If the operation result is FAILED, this string contains a message explaining why the operation failed."]}letmake?operationType=fun?operationIdentifier->fun?status->fun?startTime->fun?endTime->fun?statusMessage->fun()->{operationType;operationIdentifier;status;startTime;endTime;statusMessage}letto_valuex=structure_to_value[("operationType",(Option.mapx.operationType~f:LandingZoneOperationType.to_value));("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value));("status",(Option.mapx.status~f:LandingZoneOperationStatus.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("statusMessage",(Option.mapx.statusMessage~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusMessage")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletstatus=(Option.map~f:LandingZoneOperationStatus.of_xml)(Xml.childxml_arg0"status")inletoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inletoperationType=(Option.map~f:LandingZoneOperationType.of_xml)(Xml.childxml_arg0"operationType")inmake?statusMessage?endTime?startTime?status?operationIdentifier?operationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"statusMessage"String_.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletstatus=field_mapjson__"status"LandingZoneOperationStatus.of_jsoninletoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninletoperationType=field_mapjson__"operationType"LandingZoneOperationType.of_jsoninmake?statusMessage?endTime?startTime?status?operationIdentifier?operationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about a landing zone operation."]moduleEnabledControlDetails=structtypenonrect={arn:Arn.toption[@ocaml.doc"The ARN of the enabled control."];controlIdentifier:ControlIdentifier.toption[@ocaml.doc"The control identifier of the enabled control. For information on how to find the controlIdentifier, see the overview page."];targetIdentifier:TargetIdentifier.toption[@ocaml.doc"The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page."];statusSummary:EnablementStatusSummary.toption[@ocaml.doc"The deployment summary of the enabled control."];driftStatusSummary:DriftStatusSummary.toption[@ocaml.doc"The drift status of the enabled control."];parentIdentifier:ParentIdentifier.toption[@ocaml.doc"The ARN of the parent enabled control from which this control inherits its configuration, if applicable."];targetRegions:TargetRegions.toption[@ocaml.doc"Target Amazon Web Services Regions for the enabled control."];parameters:EnabledControlParameterSummaries.toption[@ocaml.doc"Array of EnabledControlParameter objects."]}letmake?arn=fun?controlIdentifier->fun?targetIdentifier->fun?statusSummary->fun?driftStatusSummary->fun?parentIdentifier->fun?targetRegions->fun?parameters->fun()->{arn;controlIdentifier;targetIdentifier;statusSummary;driftStatusSummary;parentIdentifier;targetRegions;parameters}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value));("controlIdentifier",(Option.mapx.controlIdentifier~f:ControlIdentifier.to_value));("targetIdentifier",(Option.mapx.targetIdentifier~f:TargetIdentifier.to_value));("statusSummary",(Option.mapx.statusSummary~f:EnablementStatusSummary.to_value));("driftStatusSummary",(Option.mapx.driftStatusSummary~f:DriftStatusSummary.to_value));("parentIdentifier",(Option.mapx.parentIdentifier~f:ParentIdentifier.to_value));("targetRegions",(Option.mapx.targetRegions~f:TargetRegions.to_value));("parameters",(Option.mapx.parameters~f:EnabledControlParameterSummaries.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparameters=(Option.map~f:EnabledControlParameterSummaries.of_xml)(Xml.childxml_arg0"parameters")inlettargetRegions=(Option.map~f:TargetRegions.of_xml)(Xml.childxml_arg0"targetRegions")inletparentIdentifier=(Option.map~f:ParentIdentifier.of_xml)(Xml.childxml_arg0"parentIdentifier")inletdriftStatusSummary=(Option.map~f:DriftStatusSummary.of_xml)(Xml.childxml_arg0"driftStatusSummary")inletstatusSummary=(Option.map~f:EnablementStatusSummary.of_xml)(Xml.childxml_arg0"statusSummary")inlettargetIdentifier=(Option.map~f:TargetIdentifier.of_xml)(Xml.childxml_arg0"targetIdentifier")inletcontrolIdentifier=(Option.map~f:ControlIdentifier.of_xml)(Xml.childxml_arg0"controlIdentifier")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?parameters?targetRegions?parentIdentifier?driftStatusSummary?statusSummary?targetIdentifier?controlIdentifier?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparameters=field_mapjson__"parameters"EnabledControlParameterSummaries.of_jsoninlettargetRegions=field_mapjson__"targetRegions"TargetRegions.of_jsoninletparentIdentifier=field_mapjson__"parentIdentifier"ParentIdentifier.of_jsoninletdriftStatusSummary=field_mapjson__"driftStatusSummary"DriftStatusSummary.of_jsoninletstatusSummary=field_mapjson__"statusSummary"EnablementStatusSummary.of_jsoninlettargetIdentifier=field_mapjson__"targetIdentifier"TargetIdentifier.of_jsoninletcontrolIdentifier=field_mapjson__"controlIdentifier"ControlIdentifier.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?parameters?targetRegions?parentIdentifier?driftStatusSummary?statusSummary?targetIdentifier?controlIdentifier?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the enabled control."]moduleEnabledBaselineDetails=structtypenonrect={arn:Arn.toption[@ocaml.doc"The ARN of the EnabledBaseline resource."];baselineIdentifier:String_.toption[@ocaml.doc"The specific Baseline enabled as part of the EnabledBaseline resource."];baselineVersion:String_.toption[@ocaml.doc"The enabled version of the Baseline."];driftStatusSummary:EnabledBaselineDriftStatusSummary.toption[@ocaml.doc"The drift status of the enabled baseline."];targetIdentifier:String_.toption[@ocaml.doc"The target on which to enable the Baseline."];parentIdentifier:Arn.toption[@ocaml.doc"An ARN that represents the parent EnabledBaseline at the Organizational Unit (OU) level, from which the child EnabledBaseline inherits its configuration. The value is returned by GetEnabledBaseline."];statusSummary:EnablementStatusSummary.toption;parameters:EnabledBaselineParameterSummaries.toption[@ocaml.doc"Shows the parameters that are applied when enabling this Baseline."]}letmake?arn=fun?baselineIdentifier->fun?baselineVersion->fun?driftStatusSummary->fun?targetIdentifier->fun?parentIdentifier->fun?statusSummary->fun?parameters->fun()->{arn;baselineIdentifier;baselineVersion;driftStatusSummary;targetIdentifier;parentIdentifier;statusSummary;parameters}letto_valuex=structure_to_value[("arn",(Option.mapx.arn~f:Arn.to_value));("baselineIdentifier",(Option.mapx.baselineIdentifier~f:String_.to_value));("baselineVersion",(Option.mapx.baselineVersion~f:String_.to_value));("driftStatusSummary",(Option.mapx.driftStatusSummary~f:EnabledBaselineDriftStatusSummary.to_value));("targetIdentifier",(Option.mapx.targetIdentifier~f:String_.to_value));("parentIdentifier",(Option.mapx.parentIdentifier~f:Arn.to_value));("statusSummary",(Option.mapx.statusSummary~f:EnablementStatusSummary.to_value));("parameters",(Option.mapx.parameters~f:EnabledBaselineParameterSummaries.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparameters=(Option.map~f:EnabledBaselineParameterSummaries.of_xml)(Xml.childxml_arg0"parameters")inletstatusSummary=(Option.map~f:EnablementStatusSummary.of_xml)(Xml.childxml_arg0"statusSummary")inletparentIdentifier=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"parentIdentifier")inlettargetIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"targetIdentifier")inletdriftStatusSummary=(Option.map~f:EnabledBaselineDriftStatusSummary.of_xml)(Xml.childxml_arg0"driftStatusSummary")inletbaselineVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"baselineVersion")inletbaselineIdentifier=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"baselineIdentifier")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?parameters?statusSummary?parentIdentifier?targetIdentifier?driftStatusSummary?baselineVersion?baselineIdentifier?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparameters=field_mapjson__"parameters"EnabledBaselineParameterSummaries.of_jsoninletstatusSummary=field_mapjson__"statusSummary"EnablementStatusSummary.of_jsoninletparentIdentifier=field_mapjson__"parentIdentifier"Arn.of_jsoninlettargetIdentifier=field_mapjson__"targetIdentifier"String_.of_jsoninletdriftStatusSummary=field_mapjson__"driftStatusSummary"EnabledBaselineDriftStatusSummary.of_jsoninletbaselineVersion=field_mapjson__"baselineVersion"String_.of_jsoninletbaselineIdentifier=field_mapjson__"baselineIdentifier"String_.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?parameters?statusSummary?parentIdentifier?targetIdentifier?driftStatusSummary?baselineVersion?baselineIdentifier?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details of the EnabledBaseline resource."]moduleControlOperation=structtypenonrect={operationType:ControlOperationType.toption[@ocaml.doc"One of ENABLE_CONTROL or DISABLE_CONTROL."];startTime:SyntheticTimestamp_date_time.toption[@ocaml.doc"The time that the operation began."];endTime:SyntheticTimestamp_date_time.toption[@ocaml.doc"The time that the operation finished."];status:ControlOperationStatus.toption[@ocaml.doc"One of IN_PROGRESS, SUCEEDED, or FAILED."];statusMessage:String_.toption[@ocaml.doc"If the operation result is FAILED, this string contains a message explaining why the operation failed."];operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The identifier of the specified operation."];controlIdentifier:ControlIdentifier.toption[@ocaml.doc"The controlIdentifier of the control for the operation."];targetIdentifier:TargetIdentifier.toption[@ocaml.doc"The target upon which the control operation is working."];enabledControlIdentifier:Arn.toption[@ocaml.doc"The controlIdentifier of the enabled control."]}letmake?operationType=fun?startTime->fun?endTime->fun?status->fun?statusMessage->fun?operationIdentifier->fun?controlIdentifier->fun?targetIdentifier->fun?enabledControlIdentifier->fun()->{operationType;startTime;endTime;status;statusMessage;operationIdentifier;controlIdentifier;targetIdentifier;enabledControlIdentifier}letto_valuex=structure_to_value[("operationType",(Option.mapx.operationType~f:ControlOperationType.to_value));("startTime",(Option.mapx.startTime~f:SyntheticTimestamp_date_time.to_value));("endTime",(Option.mapx.endTime~f:SyntheticTimestamp_date_time.to_value));("status",(Option.mapx.status~f:ControlOperationStatus.to_value));("statusMessage",(Option.mapx.statusMessage~f:String_.to_value));("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value));("controlIdentifier",(Option.mapx.controlIdentifier~f:ControlIdentifier.to_value));("targetIdentifier",(Option.mapx.targetIdentifier~f:TargetIdentifier.to_value));("enabledControlIdentifier",(Option.mapx.enabledControlIdentifier~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledControlIdentifier=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"enabledControlIdentifier")inlettargetIdentifier=(Option.map~f:TargetIdentifier.of_xml)(Xml.childxml_arg0"targetIdentifier")inletcontrolIdentifier=(Option.map~f:ControlIdentifier.of_xml)(Xml.childxml_arg0"controlIdentifier")inletoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inletstatusMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusMessage")inletstatus=(Option.map~f:ControlOperationStatus.of_xml)(Xml.childxml_arg0"status")inletendTime=(Option.map~f:SyntheticTimestamp_date_time.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:SyntheticTimestamp_date_time.of_xml)(Xml.childxml_arg0"startTime")inletoperationType=(Option.map~f:ControlOperationType.of_xml)(Xml.childxml_arg0"operationType")inmake?enabledControlIdentifier?targetIdentifier?controlIdentifier?operationIdentifier?statusMessage?status?endTime?startTime?operationType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledControlIdentifier=field_mapjson__"enabledControlIdentifier"Arn.of_jsoninlettargetIdentifier=field_mapjson__"targetIdentifier"TargetIdentifier.of_jsoninletcontrolIdentifier=field_mapjson__"controlIdentifier"ControlIdentifier.of_jsoninletoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninletstatusMessage=field_mapjson__"statusMessage"String_.of_jsoninletstatus=field_mapjson__"status"ControlOperationStatus.of_jsoninletendTime=field_mapjson__"endTime"SyntheticTimestamp_date_time.of_jsoninletstartTime=field_mapjson__"startTime"SyntheticTimestamp_date_time.of_jsoninletoperationType=field_mapjson__"operationType"ControlOperationType.of_jsoninmake?enabledControlIdentifier?targetIdentifier?controlIdentifier?operationIdentifier?statusMessage?status?endTime?startTime?operationType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An operation performed by the control."]moduleBaselineArn=structtypenonrect=stringletcontext_="BaselineArn"letmakei=letopenResultinok_or_failwith(check_patterni~pattern:"arn:[a-z-]+:controltower:[a-z0-9-]*:[0-9]{0,12}:baseline/[A-Z0-9]{16}");iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"BaselineArn"jletto_json=simple_to_jsonto_valueendmoduleBaselineOperation=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The identifier of the specified operation."];operationType:BaselineOperationType.toption[@ocaml.doc"An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE."];status:BaselineOperationStatus.toption[@ocaml.doc"An enumerated type (enum) with possible values of SUCCEEDED, FAILED, or IN_PROGRESS."];startTime:Timestamp.toption[@ocaml.doc"The start time of the operation, in ISO 8601 format."];endTime:Timestamp.toption[@ocaml.doc"The end time of the operation (if applicable), in ISO 8601 format."];statusMessage:String_.toption[@ocaml.doc"A status message that gives more information about the operation's status, if applicable."]}letmake?operationIdentifier=fun?operationType->fun?status->fun?startTime->fun?endTime->fun?statusMessage->fun()->{operationIdentifier;operationType;status;startTime;endTime;statusMessage}letto_valuex=structure_to_value[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value));("operationType",(Option.mapx.operationType~f:BaselineOperationType.to_value));("status",(Option.mapx.status~f:BaselineOperationStatus.to_value));("startTime",(Option.mapx.startTime~f:Timestamp.to_value));("endTime",(Option.mapx.endTime~f:Timestamp.to_value));("statusMessage",(Option.mapx.statusMessage~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"statusMessage")inletendTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"endTime")inletstartTime=(Option.map~f:Timestamp.of_xml)(Xml.childxml_arg0"startTime")inletstatus=(Option.map~f:BaselineOperationStatus.of_xml)(Xml.childxml_arg0"status")inletoperationType=(Option.map~f:BaselineOperationType.of_xml)(Xml.childxml_arg0"operationType")inletoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?statusMessage?endTime?startTime?status?operationType?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"statusMessage"String_.of_jsoninletendTime=field_mapjson__"endTime"Timestamp.of_jsoninletstartTime=field_mapjson__"startTime"Timestamp.of_jsoninletstatus=field_mapjson__"status"BaselineOperationStatus.of_jsoninletoperationType=field_mapjson__"operationType"BaselineOperationType.of_jsoninletoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?statusMessage?endTime?startTime?status?operationType?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"An object of shape BaselineOperation, returning details about the specified Baseline operation ID."]moduleUpdateLandingZoneOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"A unique identifier assigned to a UpdateLandingZone operation. You can use this identifier as an input of GetLandingZoneOperation to check the operation's status."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This API call updates the landing zone. It starts an asynchronous operation that updates the landing zone based on the new landing zone version, or on the changed parameters specified in the updated manifest file."]moduleUpdateLandingZoneInput=structtypenonrect={version:LandingZoneVersion.t[@ocaml.doc"The landing zone version, for example, 3.2."];remediationTypes:RemediationTypes.toption[@ocaml.doc"Specifies the types of remediation actions to apply when updating the landing zone configuration."];landingZoneIdentifier:String_.t[@ocaml.doc"The unique identifier of the landing zone."];manifest:Manifest.toption[@ocaml.doc"The manifest file (JSON) is a text file that describes your Amazon Web Services resources. For an example, review Launch your landing zone. The example manifest file contains each of the available parameters. The schema for the landing zone's JSON manifest file is not published, by design."]}letcontext_="UpdateLandingZoneInput"letmake?remediationTypes=fun?manifest->fun~version->fun~landingZoneIdentifier->fun()->{remediationTypes;manifest;version;landingZoneIdentifier}letto_valuex=structure_to_value[("version",(Some(LandingZoneVersion.to_valuex.version)));("remediationTypes",(Option.mapx.remediationTypes~f:RemediationTypes.to_value));("landingZoneIdentifier",(Some(String_.to_valuex.landingZoneIdentifier)));("manifest",(Option.mapx.manifest~f:Manifest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanifest=(Option.map~f:Manifest.of_xml)(Xml.childxml_arg0"manifest")inletlandingZoneIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"landingZoneIdentifier")inletremediationTypes=(Option.map~f:RemediationTypes.of_xml)(Xml.childxml_arg0"remediationTypes")inletversion=LandingZoneVersion.of_xml(Xml.child_exn~context:context_xml_arg0"version")inmake?manifest~landingZoneIdentifier?remediationTypes~version()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanifest=field_mapjson__"manifest"Manifest.of_jsoninletlandingZoneIdentifier=field_map_exnjson__"landingZoneIdentifier"String_.of_jsoninletremediationTypes=field_mapjson__"remediationTypes"RemediationTypes.of_jsoninletversion=field_map_exnjson__"version"LandingZoneVersion.of_jsoninmake?manifest~landingZoneIdentifier?remediationTypes~version()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This API call updates the landing zone. It starts an asynchronous operation that updates the landing zone based on the new landing zone version, or on the changed parameters specified in the updated manifest file."]moduleUpdateEnabledControlOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The operation identifier for this UpdateEnabledControl operation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the configuration of an already enabled control. If the enabled control shows an EnablementStatus of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request. If the enabled control shows an EnablementStatus of FAILED, Amazon Web Services Control Tower updates the control to match any valid parameters that you supply. If the DriftSummary status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling the ResetEnabledControl API. Alternatively, you can call DisableControl and then call EnableControl again. Also, you can run an extending governance operation to repair drift. For usage examples, see the Controls Reference Guide ."]moduleUpdateEnabledControlInput=structtypenonrect={parameters:EnabledControlParameters.t[@ocaml.doc"A key/value pair, where Key is of type String and Value is of type Document."];enabledControlIdentifier:Arn.t[@ocaml.doc"The ARN of the enabled control that will be updated."]}letcontext_="UpdateEnabledControlInput"letmake~parameters=fun~enabledControlIdentifier->fun()->{parameters;enabledControlIdentifier}letto_valuex=structure_to_value[("parameters",(Some(EnabledControlParameters.to_valuex.parameters)));("enabledControlIdentifier",(Some(Arn.to_valuex.enabledControlIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledControlIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"enabledControlIdentifier")inletparameters=EnabledControlParameters.of_xml(Xml.child_exn~context:context_xml_arg0"parameters")inmake~enabledControlIdentifier~parameters()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledControlIdentifier=field_map_exnjson__"enabledControlIdentifier"Arn.of_jsoninletparameters=field_map_exnjson__"parameters"EnabledControlParameters.of_jsoninmake~enabledControlIdentifier~parameters()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the configuration of an already enabled control. If the enabled control shows an EnablementStatus of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request. If the enabled control shows an EnablementStatus of FAILED, Amazon Web Services Control Tower updates the control to match any valid parameters that you supply. If the DriftSummary status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling the ResetEnabledControl API. Alternatively, you can call DisableControl and then call EnableControl again. Also, you can run an extending governance operation to repair drift. For usage examples, see the Controls Reference Guide ."]moduleUpdateEnabledBaselineOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The ID (in UUID format) of the asynchronous UpdateEnabledBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an EnabledBaseline resource's applied parameters or version. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleUpdateEnabledBaselineInput=structtypenonrect={baselineVersion:BaselineVersion.t[@ocaml.doc"Specifies the new Baseline version, to which the EnabledBaseline should be updated."];parameters:EnabledBaselineParameters.toption[@ocaml.doc"Parameters to apply when making an update."];enabledBaselineIdentifier:Arn.t[@ocaml.doc"Specifies the EnabledBaseline resource to be updated."]}letcontext_="UpdateEnabledBaselineInput"letmake?parameters=fun~baselineVersion->fun~enabledBaselineIdentifier->fun()->{parameters;baselineVersion;enabledBaselineIdentifier}letto_valuex=structure_to_value[("baselineVersion",(Some(BaselineVersion.to_valuex.baselineVersion)));("parameters",(Option.mapx.parameters~f:EnabledBaselineParameters.to_value));("enabledBaselineIdentifier",(Some(Arn.to_valuex.enabledBaselineIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledBaselineIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"enabledBaselineIdentifier")inletparameters=(Option.map~f:EnabledBaselineParameters.of_xml)(Xml.childxml_arg0"parameters")inletbaselineVersion=BaselineVersion.of_xml(Xml.child_exn~context:context_xml_arg0"baselineVersion")inmake~enabledBaselineIdentifier?parameters~baselineVersion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledBaselineIdentifier=field_map_exnjson__"enabledBaselineIdentifier"Arn.of_jsoninletparameters=field_mapjson__"parameters"EnabledBaselineParameters.of_jsoninletbaselineVersion=field_map_exnjson__"baselineVersion"BaselineVersion.of_jsoninmake~enabledBaselineIdentifier?parameters~baselineVersion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates an EnabledBaseline resource's applied parameters or version. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleUntagResourceOutput=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.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|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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 tags from a resource. For usage examples, see the Controls Reference Guide ."]moduleUntagResourceInput=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The ARN of the resource."];tagKeys:TagKeys.t[@ocaml.doc"Tag keys to be removed from the resource."]}letcontext_="UntagResourceInput"letmake~resourceArn=fun~tagKeys->fun()->{resourceArn;tagKeys}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.to_valuex.resourceArn)));("tagKeys",(Some(TagKeys.to_valuex.tagKeys)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettagKeys=TagKeys.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"TagKeys.of_jsoninletresourceArn=field_map_exnjson__"resourceArn"Arn.of_jsoninmake~tagKeys~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Removes tags from a resource. For usage examples, see the Controls Reference Guide ."]moduleTagResourceOutput=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.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|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.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"Applies tags to a resource. For usage examples, see the Controls Reference Guide ."]moduleTagResourceInput=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The ARN of the resource to be tagged."];tags:TagMap.t[@ocaml.doc"Tags to be applied to the resource."]}letcontext_="TagResourceInput"letmake~resourceArn=fun~tags->fun()->{resourceArn;tags}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.to_valuex.resourceArn)));("tags",(Some(TagMap.to_valuex.tags)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=TagMap.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"TagMap.of_jsoninletresourceArn=field_map_exnjson__"resourceArn"Arn.of_jsoninmake~tags~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Applies tags to a resource. For usage examples, see the Controls Reference Guide ."]moduleResetLandingZoneOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"A unique identifier assigned to a ResetLandingZone operation. You can use this identifier as an input parameter of GetLandingZoneOperation to check the operation's status."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This API call resets a landing zone. It starts an asynchronous operation that resets the landing zone to the parameters specified in the original configuration, which you specified in the manifest file. Nothing in the manifest file's original landing zone configuration is changed during the reset process, by default. This API is not the same as a rollback of a landing zone version, which is not a supported operation."]moduleResetLandingZoneInput=structtypenonrect={landingZoneIdentifier:String_.t[@ocaml.doc"The unique identifier of the landing zone."]}letcontext_="ResetLandingZoneInput"letmake~landingZoneIdentifier=fun()->{landingZoneIdentifier}letto_valuex=structure_to_value[("landingZoneIdentifier",(Some(String_.to_valuex.landingZoneIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlandingZoneIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"landingZoneIdentifier")inmake~landingZoneIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlandingZoneIdentifier=field_map_exnjson__"landingZoneIdentifier"String_.of_jsoninmake~landingZoneIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This API call resets a landing zone. It starts an asynchronous operation that resets the landing zone to the parameters specified in the original configuration, which you specified in the manifest file. Nothing in the manifest file's original landing zone configuration is changed during the reset process, by default. This API is not the same as a rollback of a landing zone version, which is not a supported operation."]moduleResetEnabledControlOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The operation identifier for this ResetEnabledControl operation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Resets an enabled control. Does not work for controls implemented with SCPs."]moduleResetEnabledControlInput=structtypenonrect={enabledControlIdentifier:Arn.t[@ocaml.doc"The ARN of the enabled control to be reset."]}letcontext_="ResetEnabledControlInput"letmake~enabledControlIdentifier=fun()->{enabledControlIdentifier}letto_valuex=structure_to_value[("enabledControlIdentifier",(Some(Arn.to_valuex.enabledControlIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledControlIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"enabledControlIdentifier")inmake~enabledControlIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledControlIdentifier=field_map_exnjson__"enabledControlIdentifier"Arn.of_jsoninmake~enabledControlIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Resets an enabled control. Does not work for controls implemented with SCPs."]moduleResetEnabledBaselineOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The ID (in UUID format) of the asynchronous ResetEnabledBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Re-enables an EnabledBaseline resource. For example, this API can re-apply the existing Baseline after a new member account is moved to the target OU. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleResetEnabledBaselineInput=structtypenonrect={enabledBaselineIdentifier:Arn.t[@ocaml.doc"Specifies the ID of the EnabledBaseline resource to be re-enabled, in ARN format."]}letcontext_="ResetEnabledBaselineInput"letmake~enabledBaselineIdentifier=fun()->{enabledBaselineIdentifier}letto_valuex=structure_to_value[("enabledBaselineIdentifier",(Some(Arn.to_valuex.enabledBaselineIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledBaselineIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"enabledBaselineIdentifier")inmake~enabledBaselineIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledBaselineIdentifier=field_map_exnjson__"enabledBaselineIdentifier"Arn.of_jsoninmake~enabledBaselineIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Re-enables an EnabledBaseline resource. For example, this API can re-apply the existing Baseline after a new member account is moved to the target OU. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleListTagsForResourceOutput=structtypenonrect={tags:TagMap.toption[@ocaml.doc"A list of tags, as key:value strings."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?tags=fun()->{tags}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ValidationException"->`ValidationException(ValidationException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.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|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ResourceNotFoundExceptione->`Assoc[("error",(`String"ResourceNotFoundException"));("details",(ResourceNotFoundException.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[("tags",(Option.mapx.tags~f:TagMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"tags")inmake?tags()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagMap.of_jsoninmake?tags()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of tags associated with the resource. For usage examples, see the Controls Reference Guide ."]moduleListTagsForResourceInput=structtypenonrect={resourceArn:Arn.t[@ocaml.doc"The ARN of the resource."]}letcontext_="ListTagsForResourceInput"letmake~resourceArn=fun()->{resourceArn}letto_valuex=structure_to_value[("resourceArn",(Some(Arn.to_valuex.resourceArn)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letresourceArn=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"resourceArn")inmake~resourceArn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letresourceArn=field_map_exnjson__"resourceArn"Arn.of_jsoninmake~resourceArn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of tags associated with the resource. For usage examples, see the Controls Reference Guide ."]moduleListLandingZonesOutput=structtypenonrect={landingZones:ListLandingZonesOutputLandingZonesList.toption[@ocaml.doc"The ARN of the landing zone."];nextToken:String_.toption[@ocaml.doc"Retrieves the next page of results. If the string is empty, the response is the end of the results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?landingZones=fun?nextToken->fun()->{landingZones;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("landingZones",(Option.mapx.landingZones~f:ListLandingZonesOutputLandingZonesList.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletlandingZones=(Option.map~f:ListLandingZonesOutputLandingZonesList.of_xml)(Xml.childxml_arg0"landingZones")inmake?nextToken?landingZones()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletlandingZones=field_mapjson__"landingZones"ListLandingZonesOutputLandingZonesList.of_jsoninmake?nextToken?landingZones()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the landing zone ARN for the landing zone deployed in your managed account. This API also creates an ARN for existing accounts that do not yet have a landing zone ARN. Returns one landing zone ARN."]moduleListLandingZonesInput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"The token to continue the list from a previous API call with the same parameters."];maxResults:ListLandingZonesMaxResults.toption[@ocaml.doc"The maximum number of returned landing zone ARNs, which is one."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:ListLandingZonesMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ListLandingZonesMaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"ListLandingZonesMaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the landing zone ARN for the landing zone deployed in your managed account. This API also creates an ARN for existing accounts that do not yet have a landing zone ARN. Returns one landing zone ARN."]moduleListLandingZoneOperationsOutput=structtypenonrect={landingZoneOperations:LandingZoneOperations.toption[@ocaml.doc"Lists landing zone operations."];nextToken:String_.toption[@ocaml.doc"Retrieves the next page of results. If the string is empty, the response is the end of the results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?landingZoneOperations=fun?nextToken->fun()->{landingZoneOperations;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("landingZoneOperations",(Option.mapx.landingZoneOperations~f:LandingZoneOperations.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletlandingZoneOperations=(Option.map~f:LandingZoneOperations.of_xml)(Xml.childxml_arg0"landingZoneOperations")inmake?nextToken?landingZoneOperations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletlandingZoneOperations=field_mapjson__"landingZoneOperations"LandingZoneOperations.of_jsoninmake?nextToken?landingZoneOperations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all landing zone operations from the past 90 days. Results are sorted by time, with the most recent operation first."]moduleListLandingZoneOperationsInput=structtypenonrect={filter:LandingZoneOperationFilter.toption[@ocaml.doc"An input filter for the ListLandingZoneOperations API that lets you select the types of landing zone operations to view."];nextToken:String_.toption[@ocaml.doc"The token to continue the list from a previous API call with the same parameters."];maxResults:ListLandingZoneOperationsMaxResults.toption[@ocaml.doc"How many results to return per API call."]}letmake?filter=fun?nextToken->fun?maxResults->fun()->{filter;nextToken;maxResults}letto_valuex=structure_to_value[("filter",(Option.mapx.filter~f:LandingZoneOperationFilter.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:ListLandingZoneOperationsMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ListLandingZoneOperationsMaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletfilter=(Option.map~f:LandingZoneOperationFilter.of_xml)(Xml.childxml_arg0"filter")inmake?maxResults?nextToken?filter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"ListLandingZoneOperationsMaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninletfilter=field_mapjson__"filter"LandingZoneOperationFilter.of_jsoninmake?maxResults?nextToken?filter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists all landing zone operations from the past 90 days. Results are sorted by time, with the most recent operation first."]moduleListEnabledControlsOutput=structtypenonrect={enabledControls:EnabledControls.toption[@ocaml.doc"Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains."];nextToken:String_.toption[@ocaml.doc"Retrieves the next page of results. If the string is empty, the response is the end of the results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?enabledControls=fun?nextToken->fun()->{enabledControls;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("enabledControls",(Option.mapx.enabledControls~f:EnabledControls.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletenabledControls=(Option.map~f:EnabledControls.of_xml)(Xml.childxml_arg0"enabledControls")inmake?nextToken?enabledControls()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletenabledControls=field_mapjson__"enabledControls"EnabledControls.of_jsoninmake?nextToken?enabledControls()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the Controls Reference Guide ."]moduleListEnabledControlsInput=structtypenonrect={targetIdentifier:TargetIdentifier.toption[@ocaml.doc"The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page."];nextToken:String_.toption[@ocaml.doc"The token to continue the list from a previous API call with the same parameters."];maxResults:MaxResults.toption[@ocaml.doc"How many results to return per API call."];filter:EnabledControlFilter.toption[@ocaml.doc"An input filter for the ListEnabledControls API that lets you select the types of control operations to view."];includeChildren:Boolean.toption[@ocaml.doc"A boolean value that determines whether to include enabled controls from child organizational units in the response."]}letmake?targetIdentifier=fun?nextToken->fun?maxResults->fun?filter->fun?includeChildren->fun()->{targetIdentifier;nextToken;maxResults;filter;includeChildren}letto_valuex=structure_to_value[("targetIdentifier",(Option.mapx.targetIdentifier~f:TargetIdentifier.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResults.to_value));("filter",(Option.mapx.filter~f:EnabledControlFilter.to_value));("includeChildren",(Option.mapx.includeChildren~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letincludeChildren=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"includeChildren")inletfilter=(Option.map~f:EnabledControlFilter.of_xml)(Xml.childxml_arg0"filter")inletmaxResults=(Option.map~f:MaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inlettargetIdentifier=(Option.map~f:TargetIdentifier.of_xml)(Xml.childxml_arg0"targetIdentifier")inmake?includeChildren?filter?maxResults?nextToken?targetIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letincludeChildren=field_mapjson__"includeChildren"Boolean.of_jsoninletfilter=field_mapjson__"filter"EnabledControlFilter.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninlettargetIdentifier=field_mapjson__"targetIdentifier"TargetIdentifier.of_jsoninmake?includeChildren?filter?maxResults?nextToken?targetIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the Controls Reference Guide ."]moduleListEnabledBaselinesOutput=structtypenonrect={enabledBaselines:EnabledBaselines.toption[@ocaml.doc"Retuens a list of summaries of EnabledBaseline resources."];nextToken:ListEnabledBaselinesNextToken.toption[@ocaml.doc"A pagination token."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?enabledBaselines=fun?nextToken->fun()->{enabledBaselines;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("enabledBaselines",(Option.mapx.enabledBaselines~f:EnabledBaselines.to_value));("nextToken",(Option.mapx.nextToken~f:ListEnabledBaselinesNextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:ListEnabledBaselinesNextToken.of_xml)(Xml.childxml_arg0"nextToken")inletenabledBaselines=(Option.map~f:EnabledBaselines.of_xml)(Xml.childxml_arg0"enabledBaselines")inmake?nextToken?enabledBaselines()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"ListEnabledBaselinesNextToken.of_jsoninletenabledBaselines=field_mapjson__"enabledBaselines"EnabledBaselines.of_jsoninmake?nextToken?enabledBaselines()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of summaries describing EnabledBaseline resources. You can filter the list by the corresponding Baseline or Target of the EnabledBaseline resources. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleListEnabledBaselinesInput=structtypenonrect={filter:EnabledBaselineFilter.toption[@ocaml.doc"A filter applied on the ListEnabledBaseline operation. Allowed filters are baselineIdentifiers and targetIdentifiers. The filter can be applied for either, or both."];nextToken:ListEnabledBaselinesNextToken.toption[@ocaml.doc"A pagination token."];maxResults:ListEnabledBaselinesMaxResults.toption[@ocaml.doc"The maximum number of results to be shown."];includeChildren:Boolean.toption[@ocaml.doc"A value that can be set to include the child enabled baselines in responses. The default value is false."]}letmake?filter=fun?nextToken->fun?maxResults->fun?includeChildren->fun()->{filter;nextToken;maxResults;includeChildren}letto_valuex=structure_to_value[("filter",(Option.mapx.filter~f:EnabledBaselineFilter.to_value));("nextToken",(Option.mapx.nextToken~f:ListEnabledBaselinesNextToken.to_value));("maxResults",(Option.mapx.maxResults~f:ListEnabledBaselinesMaxResults.to_value));("includeChildren",(Option.mapx.includeChildren~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letincludeChildren=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"includeChildren")inletmaxResults=(Option.map~f:ListEnabledBaselinesMaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:ListEnabledBaselinesNextToken.of_xml)(Xml.childxml_arg0"nextToken")inletfilter=(Option.map~f:EnabledBaselineFilter.of_xml)(Xml.childxml_arg0"filter")inmake?includeChildren?maxResults?nextToken?filter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letincludeChildren=field_mapjson__"includeChildren"Boolean.of_jsoninletmaxResults=field_mapjson__"maxResults"ListEnabledBaselinesMaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"ListEnabledBaselinesNextToken.of_jsoninletfilter=field_mapjson__"filter"EnabledBaselineFilter.of_jsoninmake?includeChildren?maxResults?nextToken?filter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of summaries describing EnabledBaseline resources. You can filter the list by the corresponding Baseline or Target of the EnabledBaseline resources. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleListControlOperationsOutput=structtypenonrect={controlOperations:ControlOperations.toption[@ocaml.doc"Returns a list of output from control operations."];nextToken:ListControlOperationsNextToken.toption[@ocaml.doc"A pagination token."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?controlOperations=fun?nextToken->fun()->{controlOperations;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("controlOperations",(Option.mapx.controlOperations~f:ControlOperations.to_value));("nextToken",(Option.mapx.nextToken~f:ListControlOperationsNextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:ListControlOperationsNextToken.of_xml)(Xml.childxml_arg0"nextToken")inletcontrolOperations=(Option.map~f:ControlOperations.of_xml)(Xml.childxml_arg0"controlOperations")inmake?nextToken?controlOperations()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"ListControlOperationsNextToken.of_jsoninletcontrolOperations=field_mapjson__"controlOperations"ControlOperations.of_jsoninmake?nextToken?controlOperations()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides a list of operations in progress or queued. For usage examples, see ListControlOperation examples."]moduleListControlOperationsInput=structtypenonrect={filter:ControlOperationFilter.toption[@ocaml.doc"An input filter for the ListControlOperations API that lets you select the types of control operations to view."];nextToken:ListControlOperationsNextToken.toption[@ocaml.doc"A pagination token."];maxResults:ListControlOperationsMaxResults.toption[@ocaml.doc"The maximum number of results to be shown."]}letmake?filter=fun?nextToken->fun?maxResults->fun()->{filter;nextToken;maxResults}letto_valuex=structure_to_value[("filter",(Option.mapx.filter~f:ControlOperationFilter.to_value));("nextToken",(Option.mapx.nextToken~f:ListControlOperationsNextToken.to_value));("maxResults",(Option.mapx.maxResults~f:ListControlOperationsMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ListControlOperationsMaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:ListControlOperationsNextToken.of_xml)(Xml.childxml_arg0"nextToken")inletfilter=(Option.map~f:ControlOperationFilter.of_xml)(Xml.childxml_arg0"filter")inmake?maxResults?nextToken?filter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"ListControlOperationsMaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"ListControlOperationsNextToken.of_jsoninletfilter=field_mapjson__"filter"ControlOperationFilter.of_jsoninmake?maxResults?nextToken?filter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Provides a list of operations in progress or queued. For usage examples, see ListControlOperation examples."]moduleListBaselinesOutput=structtypenonrect={baselines:Baselines.toption[@ocaml.doc"A list of Baseline object details."];nextToken:String_.toption[@ocaml.doc"A pagination token."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?baselines=fun?nextToken->fun()->{baselines;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("baselines",(Option.mapx.baselines~f:Baselines.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletbaselines=(Option.map~f:Baselines.of_xml)(Xml.childxml_arg0"baselines")inmake?nextToken?baselines()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletbaselines=field_mapjson__"baselines"Baselines.of_jsoninmake?nextToken?baselines()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a summary list of all available baselines. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleListBaselinesInput=structtypenonrect={nextToken:String_.toption[@ocaml.doc"A pagination token."];maxResults:ListBaselinesMaxResults.toption[@ocaml.doc"The maximum number of results to be shown."]}letmake?nextToken=fun?maxResults->fun()->{nextToken;maxResults}letto_valuex=structure_to_value[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("maxResults",(Option.mapx.maxResults~f:ListBaselinesMaxResults.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmaxResults=(Option.map~f:ListBaselinesMaxResults.of_xml)(Xml.childxml_arg0"maxResults")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?maxResults?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmaxResults=field_mapjson__"maxResults"ListBaselinesMaxResults.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?maxResults?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a summary list of all available baselines. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleGetLandingZoneOutput=structtypenonrect={landingZone:LandingZoneDetail.toption[@ocaml.doc"Information about the landing zone."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?landingZone=fun()->{landingZone}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("landingZone",(Option.mapx.landingZone~f:LandingZoneDetail.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlandingZone=(Option.map~f:LandingZoneDetail.of_xml)(Xml.childxml_arg0"landingZone")inmake?landingZone()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlandingZone=field_mapjson__"landingZone"LandingZoneDetail.of_jsoninmake?landingZone()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details about the landing zone. Displays a message in case of error."]moduleGetLandingZoneOperationOutput=structtypenonrect={operationDetails:LandingZoneOperationDetail.toption[@ocaml.doc"Details about a landing zone operation."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationDetails=fun()->{operationDetails}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationDetails",(Option.mapx.operationDetails~f:LandingZoneOperationDetail.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationDetails=(Option.map~f:LandingZoneOperationDetail.of_xml)(Xml.childxml_arg0"operationDetails")inmake?operationDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationDetails=field_mapjson__"operationDetails"LandingZoneOperationDetail.of_jsoninmake?operationDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the status of the specified landing zone operation. Details for an operation are available for 90 days."]moduleGetLandingZoneOperationInput=structtypenonrect={operationIdentifier:OperationIdentifier.t[@ocaml.doc"A unique identifier assigned to a landing zone operation."]}letcontext_="GetLandingZoneOperationInput"letmake~operationIdentifier=fun()->{operationIdentifier}letto_valuex=structure_to_value[("operationIdentifier",(Some(OperationIdentifier.to_valuex.operationIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=OperationIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"operationIdentifier")inmake~operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_map_exnjson__"operationIdentifier"OperationIdentifier.of_jsoninmake~operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the status of the specified landing zone operation. Details for an operation are available for 90 days."]moduleGetLandingZoneInput=structtypenonrect={landingZoneIdentifier:String_.t[@ocaml.doc"The unique identifier of the landing zone."]}letcontext_="GetLandingZoneInput"letmake~landingZoneIdentifier=fun()->{landingZoneIdentifier}letto_valuex=structure_to_value[("landingZoneIdentifier",(Some(String_.to_valuex.landingZoneIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlandingZoneIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"landingZoneIdentifier")inmake~landingZoneIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlandingZoneIdentifier=field_map_exnjson__"landingZoneIdentifier"String_.of_jsoninmake~landingZoneIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns details about the landing zone. Displays a message in case of error."]moduleGetEnabledControlOutput=structtypenonrect={enabledControlDetails:EnabledControlDetails.toption[@ocaml.doc"Information about the enabled control."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?enabledControlDetails=fun()->{enabledControlDetails}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("enabledControlDetails",(Option.mapx.enabledControlDetails~f:EnabledControlDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledControlDetails=(Option.map~f:EnabledControlDetails.of_xml)(Xml.childxml_arg0"enabledControlDetails")inmake?enabledControlDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledControlDetails=field_mapjson__"enabledControlDetails"EnabledControlDetails.of_jsoninmake?enabledControlDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details about an enabled control. For usage examples, see the Controls Reference Guide ."]moduleGetEnabledControlInput=structtypenonrect={enabledControlIdentifier:Arn.t[@ocaml.doc"The controlIdentifier of the enabled control."]}letcontext_="GetEnabledControlInput"letmake~enabledControlIdentifier=fun()->{enabledControlIdentifier}letto_valuex=structure_to_value[("enabledControlIdentifier",(Some(Arn.to_valuex.enabledControlIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledControlIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"enabledControlIdentifier")inmake~enabledControlIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledControlIdentifier=field_map_exnjson__"enabledControlIdentifier"Arn.of_jsoninmake~enabledControlIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details about an enabled control. For usage examples, see the Controls Reference Guide ."]moduleGetEnabledBaselineOutput=structtypenonrect={enabledBaselineDetails:EnabledBaselineDetails.toption[@ocaml.doc"Details of the EnabledBaseline resource."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?enabledBaselineDetails=fun()->{enabledBaselineDetails}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("enabledBaselineDetails",(Option.mapx.enabledBaselineDetails~f:EnabledBaselineDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledBaselineDetails=(Option.map~f:EnabledBaselineDetails.of_xml)(Xml.childxml_arg0"enabledBaselineDetails")inmake?enabledBaselineDetails()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledBaselineDetails=field_mapjson__"enabledBaselineDetails"EnabledBaselineDetails.of_jsoninmake?enabledBaselineDetails()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve details of an EnabledBaseline resource by specifying its identifier."]moduleGetEnabledBaselineInput=structtypenonrect={enabledBaselineIdentifier:Arn.t[@ocaml.doc"Identifier of the EnabledBaseline resource to be retrieved, in ARN format."]}letcontext_="GetEnabledBaselineInput"letmake~enabledBaselineIdentifier=fun()->{enabledBaselineIdentifier}letto_valuex=structure_to_value[("enabledBaselineIdentifier",(Some(Arn.to_valuex.enabledBaselineIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledBaselineIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"enabledBaselineIdentifier")inmake~enabledBaselineIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledBaselineIdentifier=field_map_exnjson__"enabledBaselineIdentifier"Arn.of_jsoninmake~enabledBaselineIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve details of an EnabledBaseline resource by specifying its identifier."]moduleGetControlOperationOutput=structtypenonrect={controlOperation:ControlOperation.toption[@ocaml.doc"An operation performed by the control."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?controlOperation=fun()->{controlOperation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("controlOperation",(Option.mapx.controlOperation~f:ControlOperation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcontrolOperation=(Option.map~f:ControlOperation.of_xml)(Xml.childxml_arg0"controlOperation")inmake?controlOperation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcontrolOperation=field_mapjson__"controlOperation"ControlOperation.of_jsoninmake?controlOperation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the Controls Reference Guide ."]moduleGetControlOperationInput=structtypenonrect={operationIdentifier:OperationIdentifier.t[@ocaml.doc"The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days."]}letcontext_="GetControlOperationInput"letmake~operationIdentifier=fun()->{operationIdentifier}letto_valuex=structure_to_value[("operationIdentifier",(Some(OperationIdentifier.to_valuex.operationIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=OperationIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"operationIdentifier")inmake~operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_map_exnjson__"operationIdentifier"OperationIdentifier.of_jsoninmake~operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the Controls Reference Guide ."]moduleGetBaselineOutput=structtypenonrect={arn:BaselineArn.toption[@ocaml.doc"The baseline ARN."];name:String_.toption[@ocaml.doc"A user-friendly name for the baseline."];description:String_.toption[@ocaml.doc"A description of the baseline."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun?name->fun?description->fun()->{arn;name;description}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("arn",(Option.mapx.arn~f:BaselineArn.to_value));("name",(Option.mapx.name~f:String_.to_value));("description",(Option.mapx.description~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdescription=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"description")inletname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"name")inletarn=(Option.map~f:BaselineArn.of_xml)(Xml.childxml_arg0"arn")inmake?description?name?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdescription=field_mapjson__"description"String_.of_jsoninletname=field_mapjson__"name"String_.of_jsoninletarn=field_mapjson__"arn"BaselineArn.of_jsoninmake?description?name?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve details about an existing Baseline resource by specifying its identifier. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleGetBaselineOperationOutput=structtypenonrect={baselineOperation:BaselineOperation.toption[@ocaml.doc"A baselineOperation object that shows information about the specified operation ID."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?baselineOperation=fun()->{baselineOperation}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("baselineOperation",(Option.mapx.baselineOperation~f:BaselineOperation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbaselineOperation=(Option.map~f:BaselineOperation.of_xml)(Xml.childxml_arg0"baselineOperation")inmake?baselineOperation()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbaselineOperation=field_mapjson__"baselineOperation"BaselineOperation.of_jsoninmake?baselineOperation()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: EnableBaseline, DisableBaseline, UpdateEnabledBaseline, ResetEnabledBaseline. A status message is displayed in case of operation failure. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleGetBaselineOperationInput=structtypenonrect={operationIdentifier:OperationIdentifier.t[@ocaml.doc"The operation ID returned from mutating asynchronous APIs (Enable, Disable, Update, Reset)."]}letcontext_="GetBaselineOperationInput"letmake~operationIdentifier=fun()->{operationIdentifier}letto_valuex=structure_to_value[("operationIdentifier",(Some(OperationIdentifier.to_valuex.operationIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=OperationIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"operationIdentifier")inmake~operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_map_exnjson__"operationIdentifier"OperationIdentifier.of_jsoninmake~operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: EnableBaseline, DisableBaseline, UpdateEnabledBaseline, ResetEnabledBaseline. A status message is displayed in case of operation failure. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleGetBaselineInput=structtypenonrect={baselineIdentifier:BaselineArn.t[@ocaml.doc"The ARN of the Baseline resource to be retrieved."]}letcontext_="GetBaselineInput"letmake~baselineIdentifier=fun()->{baselineIdentifier}letto_valuex=structure_to_value[("baselineIdentifier",(Some(BaselineArn.to_valuex.baselineIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbaselineIdentifier=BaselineArn.of_xml(Xml.child_exn~context:context_xml_arg0"baselineIdentifier")inmake~baselineIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbaselineIdentifier=field_map_exnjson__"baselineIdentifier"BaselineArn.of_jsoninmake~baselineIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve details about an existing Baseline resource by specifying its identifier. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleEnableControlOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days."];arn:Arn.toption[@ocaml.doc"The ARN of the EnabledControl resource."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun?arn->fun()->{operationIdentifier;arn}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value));("arn",(Option.mapx.arn~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inletoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?arn?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"arn"Arn.of_jsoninletoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?arn?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the Controls Reference Guide ."]moduleEnableControlInput=structtypenonrect={controlIdentifier:ControlIdentifier.t[@ocaml.doc"The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier, see the overview page."];targetIdentifier:TargetIdentifier.t[@ocaml.doc"The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page."];tags:TagMap.toption[@ocaml.doc"Tags to be applied to the EnabledControl resource."];parameters:EnabledControlParameters.toption[@ocaml.doc"A list of input parameter values, which are specified to configure the control when you enable it."]}letcontext_="EnableControlInput"letmake?tags=fun?parameters->fun~controlIdentifier->fun~targetIdentifier->fun()->{tags;parameters;controlIdentifier;targetIdentifier}letto_valuex=structure_to_value[("controlIdentifier",(Some(ControlIdentifier.to_valuex.controlIdentifier)));("targetIdentifier",(Some(TargetIdentifier.to_valuex.targetIdentifier)));("tags",(Option.mapx.tags~f:TagMap.to_value));("parameters",(Option.mapx.parameters~f:EnabledControlParameters.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letparameters=(Option.map~f:EnabledControlParameters.of_xml)(Xml.childxml_arg0"parameters")inlettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"tags")inlettargetIdentifier=TargetIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"targetIdentifier")inletcontrolIdentifier=ControlIdentifier.of_xml(Xml.child_exn~context:context_xml_arg0"controlIdentifier")inmake?parameters?tags~targetIdentifier~controlIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letparameters=field_mapjson__"parameters"EnabledControlParameters.of_jsoninlettags=field_mapjson__"tags"TagMap.of_jsoninlettargetIdentifier=field_map_exnjson__"targetIdentifier"TargetIdentifier.of_jsoninletcontrolIdentifier=field_map_exnjson__"controlIdentifier"ControlIdentifier.of_jsoninmake?parameters?tags~targetIdentifier~controlIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the Controls Reference Guide ."]moduleEnableBaselineOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The ID (in UUID format) of the asynchronous EnableBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API."];arn:Arn.toption[@ocaml.doc"The ARN of the EnabledBaseline resource."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun?arn->fun()->{operationIdentifier;arn}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value));("arn",(Option.mapx.arn~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inletoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?arn?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letarn=field_mapjson__"arn"Arn.of_jsoninletoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?arn?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Enable (apply) a Baseline to a Target. This API starts an asynchronous operation to deploy resources specified by the Baseline to the specified Target. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleEnableBaselineInput=structtypenonrect={baselineVersion:BaselineVersion.t[@ocaml.doc"The specific version to be enabled of the specified baseline."];parameters:EnabledBaselineParameters.toption[@ocaml.doc"A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type."];baselineIdentifier:Arn.t[@ocaml.doc"The ARN of the baseline to be enabled."];targetIdentifier:Arn.t[@ocaml.doc"The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets."];tags:TagMap.toption[@ocaml.doc"Tags associated with input to EnableBaseline."]}letcontext_="EnableBaselineInput"letmake?parameters=fun?tags->fun~baselineVersion->fun~baselineIdentifier->fun~targetIdentifier->fun()->{parameters;tags;baselineVersion;baselineIdentifier;targetIdentifier}letto_valuex=structure_to_value[("baselineVersion",(Some(BaselineVersion.to_valuex.baselineVersion)));("parameters",(Option.mapx.parameters~f:EnabledBaselineParameters.to_value));("baselineIdentifier",(Some(Arn.to_valuex.baselineIdentifier)));("targetIdentifier",(Some(Arn.to_valuex.targetIdentifier)));("tags",(Option.mapx.tags~f:TagMap.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"tags")inlettargetIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"targetIdentifier")inletbaselineIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"baselineIdentifier")inletparameters=(Option.map~f:EnabledBaselineParameters.of_xml)(Xml.childxml_arg0"parameters")inletbaselineVersion=BaselineVersion.of_xml(Xml.child_exn~context:context_xml_arg0"baselineVersion")inmake?tags~targetIdentifier~baselineIdentifier?parameters~baselineVersion()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettags=field_mapjson__"tags"TagMap.of_jsoninlettargetIdentifier=field_map_exnjson__"targetIdentifier"Arn.of_jsoninletbaselineIdentifier=field_map_exnjson__"baselineIdentifier"Arn.of_jsoninletparameters=field_mapjson__"parameters"EnabledBaselineParameters.of_jsoninletbaselineVersion=field_map_exnjson__"baselineVersion"BaselineVersion.of_jsoninmake?tags~targetIdentifier~baselineIdentifier?parameters~baselineVersion()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Enable (apply) a Baseline to a Target. This API starts an asynchronous operation to deploy resources specified by the Baseline to the specified Target. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleDisableControlOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This API call turns off a control. It starts an asynchronous operation that deletes Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see the Controls Reference Guide ."]moduleDisableControlInput=structtypenonrect={controlIdentifier:ControlIdentifier.toption[@ocaml.doc"The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier, see the overview page."];targetIdentifier:TargetIdentifier.toption[@ocaml.doc"The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page."];enabledControlIdentifier:Arn.toption[@ocaml.doc"The ARN of the enabled control to be disabled, which uniquely identifies the control instance on the target organizational unit."]}letmake?controlIdentifier=fun?targetIdentifier->fun?enabledControlIdentifier->fun()->{controlIdentifier;targetIdentifier;enabledControlIdentifier}letto_valuex=structure_to_value[("controlIdentifier",(Option.mapx.controlIdentifier~f:ControlIdentifier.to_value));("targetIdentifier",(Option.mapx.targetIdentifier~f:TargetIdentifier.to_value));("enabledControlIdentifier",(Option.mapx.enabledControlIdentifier~f:Arn.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledControlIdentifier=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"enabledControlIdentifier")inlettargetIdentifier=(Option.map~f:TargetIdentifier.of_xml)(Xml.childxml_arg0"targetIdentifier")inletcontrolIdentifier=(Option.map~f:ControlIdentifier.of_xml)(Xml.childxml_arg0"controlIdentifier")inmake?enabledControlIdentifier?targetIdentifier?controlIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledControlIdentifier=field_mapjson__"enabledControlIdentifier"Arn.of_jsoninlettargetIdentifier=field_mapjson__"targetIdentifier"TargetIdentifier.of_jsoninletcontrolIdentifier=field_mapjson__"controlIdentifier"ControlIdentifier.of_jsoninmake?enabledControlIdentifier?targetIdentifier?controlIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"This API call turns off a control. It starts an asynchronous operation that deletes Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see the Controls Reference Guide ."]moduleDisableBaselineOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc"The ID (in UUID format) of the asynchronous DisableBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disable an EnabledBaseline resource on the specified Target. This API starts an asynchronous operation to remove all resources deployed as part of the baseline enablement. The resource will vary depending on the enabled baseline. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleDisableBaselineInput=structtypenonrect={enabledBaselineIdentifier:Arn.t[@ocaml.doc"Identifier of the EnabledBaseline resource to be deactivated, in ARN format."]}letcontext_="DisableBaselineInput"letmake~enabledBaselineIdentifier=fun()->{enabledBaselineIdentifier}letto_valuex=structure_to_value[("enabledBaselineIdentifier",(Some(Arn.to_valuex.enabledBaselineIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letenabledBaselineIdentifier=Arn.of_xml(Xml.child_exn~context:context_xml_arg0"enabledBaselineIdentifier")inmake~enabledBaselineIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letenabledBaselineIdentifier=field_map_exnjson__"enabledBaselineIdentifier"Arn.of_jsoninmake~enabledBaselineIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Disable an EnabledBaseline resource on the specified Target. This API starts an asynchronous operation to remove all resources deployed as part of the baseline enablement. The resource will vary depending on the enabled baseline. For usage examples, see the Amazon Web Services Control Tower User Guide ."]moduleDeleteLandingZoneOutput=structtypenonrect={operationIdentifier:OperationIdentifier.toption[@ocaml.doc">A unique identifier assigned to a DeleteLandingZone operation. You can use this identifier as an input parameter of GetLandingZoneOperation to check the operation's status."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?operationIdentifier=fun()->{operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inmake?operationIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninmake?operationIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower resources deployed in accounts managed by Amazon Web Services Control Tower. Decommissioning a landing zone is a process with significant consequences, and it cannot be undone. We strongly recommend that you perform this decommissioning process only if you intend to stop using your landing zone."]moduleDeleteLandingZoneInput=structtypenonrect={landingZoneIdentifier:String_.t[@ocaml.doc"The unique identifier of the landing zone."]}letcontext_="DeleteLandingZoneInput"letmake~landingZoneIdentifier=fun()->{landingZoneIdentifier}letto_valuex=structure_to_value[("landingZoneIdentifier",(Some(String_.to_valuex.landingZoneIdentifier)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlandingZoneIdentifier=String_.of_xml(Xml.child_exn~context:context_xml_arg0"landingZoneIdentifier")inmake~landingZoneIdentifier()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlandingZoneIdentifier=field_map_exnjson__"landingZoneIdentifier"String_.of_jsoninmake~landingZoneIdentifier()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower resources deployed in accounts managed by Amazon Web Services Control Tower. Decommissioning a landing zone is a process with significant consequences, and it cannot be undone. We strongly recommend that you perform this decommissioning process only if you intend to stop using your landing zone."]moduleCreateLandingZoneOutput=structtypenonrect={arn:Arn.toption[@ocaml.doc"The ARN of the landing zone resource."];operationIdentifier:OperationIdentifier.toption[@ocaml.doc"A unique identifier assigned to a CreateLandingZone operation. You can use this identifier as an input of GetLandingZoneOperation to check the operation's status."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?arn=fun?operationIdentifier->fun()->{arn;operationIdentifier}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"ConflictException"->`ConflictException(ConflictException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("arn",(Option.mapx.arn~f:Arn.to_value));("operationIdentifier",(Option.mapx.operationIdentifier~f:OperationIdentifier.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoperationIdentifier=(Option.map~f:OperationIdentifier.of_xml)(Xml.childxml_arg0"operationIdentifier")inletarn=(Option.map~f:Arn.of_xml)(Xml.childxml_arg0"arn")inmake?operationIdentifier?arn()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoperationIdentifier=field_mapjson__"operationIdentifier"OperationIdentifier.of_jsoninletarn=field_mapjson__"arn"Arn.of_jsoninmake?operationIdentifier?arn()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new landing zone. This API call starts an asynchronous operation that creates and configures a landing zone, based on the parameters specified in the manifest JSON file."]moduleCreateLandingZoneInput=structtypenonrect={version:LandingZoneVersion.t[@ocaml.doc"The landing zone version, for example, 3.0."];remediationTypes:RemediationTypes.toption[@ocaml.doc"Specifies the types of remediation actions to apply when creating the landing zone, such as automatic drift correction or compliance enforcement."];tags:TagMap.toption[@ocaml.doc"Tags to be applied to the landing zone."];manifest:Manifest.toption[@ocaml.doc"The manifest JSON file is a text file that describes your Amazon Web Services resources. For examples, review Launch your landing zone."]}letcontext_="CreateLandingZoneInput"letmake?remediationTypes=fun?tags->fun?manifest->fun~version->fun()->{remediationTypes;tags;manifest;version}letto_valuex=structure_to_value[("version",(Some(LandingZoneVersion.to_valuex.version)));("remediationTypes",(Option.mapx.remediationTypes~f:RemediationTypes.to_value));("tags",(Option.mapx.tags~f:TagMap.to_value));("manifest",(Option.mapx.manifest~f:Manifest.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanifest=(Option.map~f:Manifest.of_xml)(Xml.childxml_arg0"manifest")inlettags=(Option.map~f:TagMap.of_xml)(Xml.childxml_arg0"tags")inletremediationTypes=(Option.map~f:RemediationTypes.of_xml)(Xml.childxml_arg0"remediationTypes")inletversion=LandingZoneVersion.of_xml(Xml.child_exn~context:context_xml_arg0"version")inmake?manifest?tags?remediationTypes~version()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanifest=field_mapjson__"manifest"Manifest.of_jsoninlettags=field_mapjson__"tags"TagMap.of_jsoninletremediationTypes=field_mapjson__"remediationTypes"RemediationTypes.of_jsoninletversion=field_map_exnjson__"version"LandingZoneVersion.of_jsoninmake?manifest?tags?remediationTypes~version()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Creates a new landing zone. This API call starts an asynchronous operation that creates and configures a landing zone, based on the parameters specified in the manifest JSON file."]