12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161(* 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.migrationhubstrategyletapiVersion="2020-02-19"letendpointPrefix="migrationhub-strategy"letserviceFullName="Migration Hub Strategy Recommendations"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[]))])moduleBinaryAnalyzerName=structtypenonrect=|DLL_ANALYZER|BYTECODE_ANALYZER|Non_static_idofstringletmakei=iletto_string=function|DLL_ANALYZER->"DLL_ANALYZER"|BYTECODE_ANALYZER->"BYTECODE_ANALYZER"|Non_static_ids->sletof_string=function|"DLL_ANALYZER"->DLL_ANALYZER|"BYTECODE_ANALYZER"->BYTECODE_ANALYZER|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 BinaryAnalyzerName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"BinaryAnalyzerName"j)letto_json=simple_to_jsonto_valueendmoduleRunTimeAnalyzerName=structtypenonrect=|A2C_ANALYZER|REHOST_ANALYZER|EMP_PA_ANALYZER|DATABASE_ANALYZER|SCT_ANALYZER|Non_static_idofstringletmakei=iletto_string=function|A2C_ANALYZER->"A2C_ANALYZER"|REHOST_ANALYZER->"REHOST_ANALYZER"|EMP_PA_ANALYZER->"EMP_PA_ANALYZER"|DATABASE_ANALYZER->"DATABASE_ANALYZER"|SCT_ANALYZER->"SCT_ANALYZER"|Non_static_ids->sletof_string=function|"A2C_ANALYZER"->A2C_ANALYZER|"REHOST_ANALYZER"->REHOST_ANALYZER|"EMP_PA_ANALYZER"->EMP_PA_ANALYZER|"DATABASE_ANALYZER"->DATABASE_ANALYZER|"SCT_ANALYZER"->SCT_ANALYZER|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 RunTimeAnalyzerName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RunTimeAnalyzerName"j)letto_json=simple_to_jsonto_valueendmoduleSourceCodeAnalyzerName=structtypenonrect=|CSHARP_ANALYZER|JAVA_ANALYZER|BYTECODE_ANALYZER|PORTING_ASSISTANT|Non_static_idofstringletmakei=iletto_string=function|CSHARP_ANALYZER->"CSHARP_ANALYZER"|JAVA_ANALYZER->"JAVA_ANALYZER"|BYTECODE_ANALYZER->"BYTECODE_ANALYZER"|PORTING_ASSISTANT->"PORTING_ASSISTANT"|Non_static_ids->sletof_string=function|"CSHARP_ANALYZER"->CSHARP_ANALYZER|"JAVA_ANALYZER"->JAVA_ANALYZER|"BYTECODE_ANALYZER"->BYTECODE_ANALYZER|"PORTING_ASSISTANT"->PORTING_ASSISTANT|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 SourceCodeAnalyzerName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SourceCodeAnalyzerName"j)letto_json=simple_to_jsonto_valueendmoduleS3Bucket=structtypenonrect=stringletcontext_="S3Bucket"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"S3Bucket"jletto_json=simple_to_jsonto_valueendmoduleS3Key=structtypenonrect=stringletcontext_="S3Key"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"S3Key"jletto_json=simple_to_jsonto_valueendmoduleAnalyzerNameUnion=structtypenonrect={binaryAnalyzerName:BinaryAnalyzerName.toption[@ocaml.doc"The binary analyzer names."];runTimeAnalyzerName:RunTimeAnalyzerName.toption[@ocaml.doc"The assessment analyzer names."];sourceCodeAnalyzerName:SourceCodeAnalyzerName.toption[@ocaml.doc"The source code analyzer names."]}letmake?binaryAnalyzerName=fun?runTimeAnalyzerName->fun?sourceCodeAnalyzerName->fun()->{binaryAnalyzerName;runTimeAnalyzerName;sourceCodeAnalyzerName}letto_valuex=structure_to_value[("binaryAnalyzerName",(Option.mapx.binaryAnalyzerName~f:BinaryAnalyzerName.to_value));("runTimeAnalyzerName",(Option.mapx.runTimeAnalyzerName~f:RunTimeAnalyzerName.to_value));("sourceCodeAnalyzerName",(Option.mapx.sourceCodeAnalyzerName~f:SourceCodeAnalyzerName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsourceCodeAnalyzerName=(Option.map~f:SourceCodeAnalyzerName.of_xml)(Xml.childxml_arg0"sourceCodeAnalyzerName")inletrunTimeAnalyzerName=(Option.map~f:RunTimeAnalyzerName.of_xml)(Xml.childxml_arg0"runTimeAnalyzerName")inletbinaryAnalyzerName=(Option.map~f:BinaryAnalyzerName.of_xml)(Xml.childxml_arg0"binaryAnalyzerName")inmake?sourceCodeAnalyzerName?runTimeAnalyzerName?binaryAnalyzerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsourceCodeAnalyzerName=field_mapjson__"sourceCodeAnalyzerName"SourceCodeAnalyzerName.of_jsoninletrunTimeAnalyzerName=field_mapjson__"runTimeAnalyzerName"RunTimeAnalyzerName.of_jsoninletbinaryAnalyzerName=field_mapjson__"binaryAnalyzerName"BinaryAnalyzerName.of_jsoninmake?sourceCodeAnalyzerName?runTimeAnalyzerName?binaryAnalyzerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The combination of the existing analyzers."]moduleAntipatternReportStatus=structtypenonrect=|FAILED|IN_PROGRESS|SUCCESS|Non_static_idofstringletmakei=iletto_string=function|FAILED->"FAILED"|IN_PROGRESS->"IN_PROGRESS"|SUCCESS->"SUCCESS"|Non_static_ids->sletof_string=function|"FAILED"->FAILED|"IN_PROGRESS"->IN_PROGRESS|"SUCCESS"->SUCCESS|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 AntipatternReportStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AntipatternReportStatus"j)letto_json=simple_to_jsonto_valueendmoduleS3Object=structtypenonrect={s3Bucket:S3Bucket.toption[@ocaml.doc"The S3 bucket name."];s3key:S3Key.toption[@ocaml.doc"The Amazon S3 key name."]}letmake?s3Bucket=fun?s3key->fun()->{s3Bucket;s3key}letto_valuex=structure_to_value[("s3Bucket",(Option.mapx.s3Bucket~f:S3Bucket.to_value));("s3key",(Option.mapx.s3key~f:S3Key.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3key=(Option.map~f:S3Key.of_xml)(Xml.childxml_arg0"s3key")inlets3Bucket=(Option.map~f:S3Bucket.of_xml)(Xml.childxml_arg0"s3Bucket")inmake?s3key?s3Bucket()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3key=field_mapjson__"s3key"S3Key.of_jsoninlets3Bucket=field_mapjson__"s3Bucket"S3Bucket.of_jsoninmake?s3key?s3Bucket()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the S3 bucket name and the Amazon S3 key name."]moduleStatusMessage=structtypenonrect=stringletcontext_="StatusMessage"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StatusMessage"jletto_json=simple_to_jsonto_valueendmoduleIPAddress=structtypenonrect=stringletcontext_="IPAddress"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:15)>>=(fun()->check_patterni~pattern:"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"IPAddress"jletto_json=simple_to_jsonto_valueendmoduleInterfaceName=structtypenonrect=stringletcontext_="InterfaceName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"InterfaceName"jletto_json=simple_to_jsonto_valueendmoduleMacAddress=structtypenonrect=stringletcontext_="MacAddress"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:17)>>=(fun()->check_patterni~pattern:"^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})|([0-9a-fA-F]{4}\\\\.[0-9a-fA-F]{4}\\\\.[0-9a-fA-F]{4})$\226\128\157$")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"MacAddress"jletto_json=simple_to_jsonto_valueendmoduleNetMask=structtypenonrect=stringletcontext_="NetMask"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NetMask"jletto_json=simple_to_jsonto_valueendmoduleAuthType=structtypenonrect=|NTLM|SSH|CERT|Non_static_idofstringletmakei=iletto_string=function|NTLM->"NTLM"|SSH->"SSH"|CERT->"CERT"|Non_static_ids->sletof_string=function|"NTLM"->NTLM|"SSH"->SSH|"CERT"->CERT|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 AuthType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AuthType"j)letto_json=simple_to_jsonto_valueendmoduleOSType=structtypenonrect=|LINUX|WINDOWS|Non_static_idofstringletmakei=iletto_string=function|LINUX->"LINUX"|WINDOWS->"WINDOWS"|Non_static_ids->sletof_string=function|"LINUX"->LINUX|"WINDOWS"->WINDOWS|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 OSType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OSType"j)letto_json=simple_to_jsonto_valueendmoduleString_=structtypenonrect=stringletcontext_="String"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"String"jletto_json=simple_to_jsonto_valueendmodulePipelineType=structtypenonrect=|AZURE_DEVOPS|Non_static_idofstringletmakei=iletto_string=function|AZURE_DEVOPS->"AZURE_DEVOPS"|Non_static_ids->sletof_string=function|"AZURE_DEVOPS"->AZURE_DEVOPS|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 PipelineType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"PipelineType"j)letto_json=simple_to_jsonto_valueendmoduleVersionControlType=structtypenonrect=|GITHUB|GITHUB_ENTERPRISE|AZURE_DEVOPS_GIT|Non_static_idofstringletmakei=iletto_string=function|GITHUB->"GITHUB"|GITHUB_ENTERPRISE->"GITHUB_ENTERPRISE"|AZURE_DEVOPS_GIT->"AZURE_DEVOPS_GIT"|Non_static_ids->sletof_string=function|"GITHUB"->GITHUB|"GITHUB_ENTERPRISE"->GITHUB_ENTERPRISE|"AZURE_DEVOPS_GIT"->AZURE_DEVOPS_GIT|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 VersionControlType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VersionControlType"j)letto_json=simple_to_jsonto_valueendmoduleRuntimeAnalysisStatus=structtypenonrect=|ANALYSIS_TO_BE_SCHEDULED|ANALYSIS_STARTED|ANALYSIS_SUCCESS|ANALYSIS_FAILED|Non_static_idofstringletmakei=iletto_string=function|ANALYSIS_TO_BE_SCHEDULED->"ANALYSIS_TO_BE_SCHEDULED"|ANALYSIS_STARTED->"ANALYSIS_STARTED"|ANALYSIS_SUCCESS->"ANALYSIS_SUCCESS"|ANALYSIS_FAILED->"ANALYSIS_FAILED"|Non_static_ids->sletof_string=function|"ANALYSIS_TO_BE_SCHEDULED"->ANALYSIS_TO_BE_SCHEDULED|"ANALYSIS_STARTED"->ANALYSIS_STARTED|"ANALYSIS_SUCCESS"->ANALYSIS_SUCCESS|"ANALYSIS_FAILED"->ANALYSIS_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 RuntimeAnalysisStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RuntimeAnalysisStatus"j)letto_json=simple_to_jsonto_valueendmoduleSrcCodeOrDbAnalysisStatus=structtypenonrect=|ANALYSIS_TO_BE_SCHEDULED|ANALYSIS_STARTED|ANALYSIS_SUCCESS|ANALYSIS_FAILED|ANALYSIS_PARTIAL_SUCCESS|UNCONFIGURED|CONFIGURED|Non_static_idofstringletmakei=iletto_string=function|ANALYSIS_TO_BE_SCHEDULED->"ANALYSIS_TO_BE_SCHEDULED"|ANALYSIS_STARTED->"ANALYSIS_STARTED"|ANALYSIS_SUCCESS->"ANALYSIS_SUCCESS"|ANALYSIS_FAILED->"ANALYSIS_FAILED"|ANALYSIS_PARTIAL_SUCCESS->"ANALYSIS_PARTIAL_SUCCESS"|UNCONFIGURED->"UNCONFIGURED"|CONFIGURED->"CONFIGURED"|Non_static_ids->sletof_string=function|"ANALYSIS_TO_BE_SCHEDULED"->ANALYSIS_TO_BE_SCHEDULED|"ANALYSIS_STARTED"->ANALYSIS_STARTED|"ANALYSIS_SUCCESS"->ANALYSIS_SUCCESS|"ANALYSIS_FAILED"->ANALYSIS_FAILED|"ANALYSIS_PARTIAL_SUCCESS"->ANALYSIS_PARTIAL_SUCCESS|"UNCONFIGURED"->UNCONFIGURED|"CONFIGURED"->CONFIGURED|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 SrcCodeOrDbAnalysisStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SrcCodeOrDbAnalysisStatus"j)letto_json=simple_to_jsonto_valueendmoduleAntipatternReportResult=structtypenonrect={analyzerName:AnalyzerNameUnion.toption[@ocaml.doc"The analyzer name."];antiPatternReportS3Object:S3Object.toption;antipatternReportStatus:AntipatternReportStatus.toption[@ocaml.doc"The status of the anti-pattern report generation."];antipatternReportStatusMessage:StatusMessage.toption[@ocaml.doc"The status message for the anti-pattern."]}letmake?analyzerName=fun?antiPatternReportS3Object->fun?antipatternReportStatus->fun?antipatternReportStatusMessage->fun()->{analyzerName;antiPatternReportS3Object;antipatternReportStatus;antipatternReportStatusMessage}letto_valuex=structure_to_value[("analyzerName",(Option.mapx.analyzerName~f:AnalyzerNameUnion.to_value));("antiPatternReportS3Object",(Option.mapx.antiPatternReportS3Object~f:S3Object.to_value));("antipatternReportStatus",(Option.mapx.antipatternReportStatus~f:AntipatternReportStatus.to_value));("antipatternReportStatusMessage",(Option.mapx.antipatternReportStatusMessage~f:StatusMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letantipatternReportStatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"antipatternReportStatusMessage")inletantipatternReportStatus=(Option.map~f:AntipatternReportStatus.of_xml)(Xml.childxml_arg0"antipatternReportStatus")inletantiPatternReportS3Object=(Option.map~f:S3Object.of_xml)(Xml.childxml_arg0"antiPatternReportS3Object")inletanalyzerName=(Option.map~f:AnalyzerNameUnion.of_xml)(Xml.childxml_arg0"analyzerName")inmake?antipatternReportStatusMessage?antipatternReportStatus?antiPatternReportS3Object?analyzerName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letantipatternReportStatusMessage=field_mapjson__"antipatternReportStatusMessage"StatusMessage.of_jsoninletantipatternReportStatus=field_mapjson__"antipatternReportStatus"AntipatternReportStatus.of_jsoninletantiPatternReportS3Object=field_mapjson__"antiPatternReportS3Object"S3Object.of_jsoninletanalyzerName=field_mapjson__"analyzerName"AnalyzerNameUnion.of_jsoninmake?antipatternReportStatusMessage?antipatternReportStatus?antiPatternReportS3Object?analyzerName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The anti-pattern report result."]moduleAwsManagedTargetDestination=structtypenonrect=|None_specified|AWS_Elastic_BeanStalk|AWS_Fargate|Non_static_idofstringletmakei=iletto_string=function|None_specified->"None specified"|AWS_Elastic_BeanStalk->"AWS Elastic BeanStalk"|AWS_Fargate->"AWS Fargate"|Non_static_ids->sletof_string=function|"None specified"->None_specified|"AWS Elastic BeanStalk"->AWS_Elastic_BeanStalk|"AWS Fargate"->AWS_Fargate|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 AwsManagedTargetDestination"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AwsManagedTargetDestination"j)letto_json=simple_to_jsonto_valueendmoduleNoPreferenceTargetDestination=structtypenonrect=|None_specified|AWS_Elastic_BeanStalk|AWS_Fargate|Amazon_Elastic_Cloud_Compute__EC2_|Amazon_Elastic_Container_Service__ECS_|Amazon_Elastic_Kubernetes_Service__EKS_|Non_static_idofstringletmakei=iletto_string=function|None_specified->"None specified"|AWS_Elastic_BeanStalk->"AWS Elastic BeanStalk"|AWS_Fargate->"AWS Fargate"|Amazon_Elastic_Cloud_Compute__EC2_->"Amazon Elastic Cloud Compute (EC2)"|Amazon_Elastic_Container_Service__ECS_->"Amazon Elastic Container Service (ECS)"|Amazon_Elastic_Kubernetes_Service__EKS_->"Amazon Elastic Kubernetes Service (EKS)"|Non_static_ids->sletof_string=function|"None specified"->None_specified|"AWS Elastic BeanStalk"->AWS_Elastic_BeanStalk|"AWS Fargate"->AWS_Fargate|"Amazon Elastic Cloud Compute (EC2)"->Amazon_Elastic_Cloud_Compute__EC2_|"Amazon Elastic Container Service (ECS)"->Amazon_Elastic_Container_Service__ECS_|"Amazon Elastic Kubernetes Service (EKS)"->Amazon_Elastic_Kubernetes_Service__EKS_|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 NoPreferenceTargetDestination"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"NoPreferenceTargetDestination"j)letto_json=simple_to_jsonto_valueendmoduleSelfManageTargetDestination=structtypenonrect=|None_specified|Amazon_Elastic_Cloud_Compute__EC2_|Amazon_Elastic_Container_Service__ECS_|Amazon_Elastic_Kubernetes_Service__EKS_|Non_static_idofstringletmakei=iletto_string=function|None_specified->"None specified"|Amazon_Elastic_Cloud_Compute__EC2_->"Amazon Elastic Cloud Compute (EC2)"|Amazon_Elastic_Container_Service__ECS_->"Amazon Elastic Container Service (ECS)"|Amazon_Elastic_Kubernetes_Service__EKS_->"Amazon Elastic Kubernetes Service (EKS)"|Non_static_ids->sletof_string=function|"None specified"->None_specified|"Amazon Elastic Cloud Compute (EC2)"->Amazon_Elastic_Cloud_Compute__EC2_|"Amazon Elastic Container Service (ECS)"->Amazon_Elastic_Container_Service__ECS_|"Amazon Elastic Kubernetes Service (EKS)"->Amazon_Elastic_Kubernetes_Service__EKS_|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 SelfManageTargetDestination"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SelfManageTargetDestination"j)letto_json=simple_to_jsonto_valueendmoduleHeterogeneousTargetDatabaseEngine=structtypenonrect=|None_specified|Amazon_Aurora|AWS_PostgreSQL|MySQL|Microsoft_SQL_Server|Oracle_Database|MariaDB|SAP|Db2_LUW|MongoDB|Non_static_idofstringletmakei=iletto_string=function|None_specified->"None specified"|Amazon_Aurora->"Amazon Aurora"|AWS_PostgreSQL->"AWS PostgreSQL"|MySQL->"MySQL"|Microsoft_SQL_Server->"Microsoft SQL Server"|Oracle_Database->"Oracle Database"|MariaDB->"MariaDB"|SAP->"SAP"|Db2_LUW->"Db2 LUW"|MongoDB->"MongoDB"|Non_static_ids->sletof_string=function|"None specified"->None_specified|"Amazon Aurora"->Amazon_Aurora|"AWS PostgreSQL"->AWS_PostgreSQL|"MySQL"->MySQL|"Microsoft SQL Server"->Microsoft_SQL_Server|"Oracle Database"->Oracle_Database|"MariaDB"->MariaDB|"SAP"->SAP|"Db2 LUW"->Db2_LUW|"MongoDB"->MongoDB|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 HeterogeneousTargetDatabaseEngine"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HeterogeneousTargetDatabaseEngine"j)letto_json=simple_to_jsonto_valueendmoduleHomogeneousTargetDatabaseEngine=structtypenonrect=|None_specified|Non_static_idofstringletmakei=iletto_string=function|None_specified->"None specified"|Non_static_ids->sletof_string=function|"None specified"->None_specified|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 HomogeneousTargetDatabaseEngine"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"HomogeneousTargetDatabaseEngine"j)letto_json=simple_to_jsonto_valueendmoduleTargetDatabaseEngine=structtypenonrect=|None_specified|Amazon_Aurora|AWS_PostgreSQL|MySQL|Microsoft_SQL_Server|Oracle_Database|MariaDB|SAP|Db2_LUW|MongoDB|Non_static_idofstringletmakei=iletto_string=function|None_specified->"None specified"|Amazon_Aurora->"Amazon Aurora"|AWS_PostgreSQL->"AWS PostgreSQL"|MySQL->"MySQL"|Microsoft_SQL_Server->"Microsoft SQL Server"|Oracle_Database->"Oracle Database"|MariaDB->"MariaDB"|SAP->"SAP"|Db2_LUW->"Db2 LUW"|MongoDB->"MongoDB"|Non_static_ids->sletof_string=function|"None specified"->None_specified|"Amazon Aurora"->Amazon_Aurora|"AWS PostgreSQL"->AWS_PostgreSQL|"MySQL"->MySQL|"Microsoft SQL Server"->Microsoft_SQL_Server|"Oracle Database"->Oracle_Database|"MariaDB"->MariaDB|"SAP"->SAP|"Db2 LUW"->Db2_LUW|"MongoDB"->MongoDB|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 TargetDatabaseEngine"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetDatabaseEngine"j)letto_json=simple_to_jsonto_valueendmoduleInteger=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_valueendmoduleSeverity=structtypenonrect=|HIGH|MEDIUM|LOW|Non_static_idofstringletmakei=iletto_string=function|HIGH->"HIGH"|MEDIUM->"MEDIUM"|LOW->"LOW"|Non_static_ids->sletof_string=function|"HIGH"->HIGH|"MEDIUM"->MEDIUM|"LOW"->LOW|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 Severity"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Severity"j)letto_json=simple_to_jsonto_valueendmoduleStrategy=structtypenonrect=|Rehost|Retirement|Refactor|Replatform|Retain|Relocate|Repurchase|Non_static_idofstringletmakei=iletto_string=function|Rehost->"Rehost"|Retirement->"Retirement"|Refactor->"Refactor"|Replatform->"Replatform"|Retain->"Retain"|Relocate->"Relocate"|Repurchase->"Repurchase"|Non_static_ids->sletof_string=function|"Rehost"->Rehost|"Retirement"->Retirement|"Refactor"->Refactor|"Replatform"->Replatform|"Retain"->Retain|"Relocate"->Relocate|"Repurchase"->Repurchase|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 Strategy"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Strategy"j)letto_json=simple_to_jsonto_valueendmoduleTranformationToolDescription=structtypenonrect=stringletcontext_="TranformationToolDescription"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TranformationToolDescription"jletto_json=simple_to_jsonto_valueendmoduleTranformationToolInstallationLink=structtypenonrect=stringletcontext_="TranformationToolInstallationLink"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"TranformationToolInstallationLink"jletto_json=simple_to_jsonto_valueendmoduleTransformationToolName=structtypenonrect=|App2Container|Porting_Assistant_For__NET|End_of_Support_Migration|Windows_Web_Application_Migration_Assistant|Application_Migration_Service|Strategy_Recommendation_Support|In_Place_Operating_System_Upgrade|Schema_Conversion_Tool|Database_Migration_Service|Native_SQL_Server_Backup_Restore|Non_static_idofstringletmakei=iletto_string=function|App2Container->"App2Container"|Porting_Assistant_For__NET->"Porting Assistant For .NET"|End_of_Support_Migration->"End of Support Migration"|Windows_Web_Application_Migration_Assistant->"Windows Web Application Migration Assistant"|Application_Migration_Service->"Application Migration Service"|Strategy_Recommendation_Support->"Strategy Recommendation Support"|In_Place_Operating_System_Upgrade->"In Place Operating System Upgrade"|Schema_Conversion_Tool->"Schema Conversion Tool"|Database_Migration_Service->"Database Migration Service"|Native_SQL_Server_Backup_Restore->"Native SQL Server Backup/Restore"|Non_static_ids->sletof_string=function|"App2Container"->App2Container|"Porting Assistant For .NET"->Porting_Assistant_For__NET|"End of Support Migration"->End_of_Support_Migration|"Windows Web Application Migration Assistant"->Windows_Web_Application_Migration_Assistant|"Application Migration Service"->Application_Migration_Service|"Strategy Recommendation Support"->Strategy_Recommendation_Support|"In Place Operating System Upgrade"->In_Place_Operating_System_Upgrade|"Schema Conversion Tool"->Schema_Conversion_Tool|"Database Migration Service"->Database_Migration_Service|"Native SQL Server Backup/Restore"->Native_SQL_Server_Backup_Restore|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 TransformationToolName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TransformationToolName"j)letto_json=simple_to_jsonto_valueendmoduleNetworkInfo=structtypenonrect={interfaceName:InterfaceName.toption[@ocaml.doc"Information about the name of the interface of the server for which the assessment was run."];ipAddress:IPAddress.toption[@ocaml.doc"Information about the IP address of the server for which the assessment was run."];macAddress:MacAddress.toption[@ocaml.doc"Information about the MAC address of the server for which the assessment was run."];netMask:NetMask.toption[@ocaml.doc"Information about the subnet mask of the server for which the assessment was run."]}letmake?interfaceName=fun?ipAddress->fun?macAddress->fun?netMask->fun()->{interfaceName;ipAddress;macAddress;netMask}letto_valuex=structure_to_value[("interfaceName",(Option.mapx.interfaceName~f:InterfaceName.to_value));("ipAddress",(Option.mapx.ipAddress~f:IPAddress.to_value));("macAddress",(Option.mapx.macAddress~f:MacAddress.to_value));("netMask",(Option.mapx.netMask~f:NetMask.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnetMask=(Option.map~f:NetMask.of_xml)(Xml.childxml_arg0"netMask")inletmacAddress=(Option.map~f:MacAddress.of_xml)(Xml.childxml_arg0"macAddress")inletipAddress=(Option.map~f:IPAddress.of_xml)(Xml.childxml_arg0"ipAddress")inletinterfaceName=(Option.map~f:InterfaceName.of_xml)(Xml.childxml_arg0"interfaceName")inmake?netMask?macAddress?ipAddress?interfaceName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnetMask=field_mapjson__"netMask"NetMask.of_jsoninletmacAddress=field_mapjson__"macAddress"MacAddress.of_jsoninletipAddress=field_mapjson__"ipAddress"IPAddress.of_jsoninletinterfaceName=field_mapjson__"interfaceName"InterfaceName.of_jsoninmake?netMask?macAddress?ipAddress?interfaceName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the server's network for which the assessment was run."]moduleOSVersion=structtypenonrect=stringletcontext_="OSVersion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:64)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"OSVersion"jletto_json=simple_to_jsonto_valueendmoduleIPAddressBasedRemoteInfo=structtypenonrect={authType:AuthType.toption[@ocaml.doc"The type of authorization."];ipAddressConfigurationTimeStamp:String_.toption[@ocaml.doc"The time stamp of the configuration."];osType:OSType.toption[@ocaml.doc"The type of the operating system."]}letmake?authType=fun?ipAddressConfigurationTimeStamp->fun?osType->fun()->{authType;ipAddressConfigurationTimeStamp;osType}letto_valuex=structure_to_value[("authType",(Option.mapx.authType~f:AuthType.to_value));("ipAddressConfigurationTimeStamp",(Option.mapx.ipAddressConfigurationTimeStamp~f:String_.to_value));("osType",(Option.mapx.osType~f:OSType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letosType=(Option.map~f:OSType.of_xml)(Xml.childxml_arg0"osType")inletipAddressConfigurationTimeStamp=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ipAddressConfigurationTimeStamp")inletauthType=(Option.map~f:AuthType.of_xml)(Xml.childxml_arg0"authType")inmake?osType?ipAddressConfigurationTimeStamp?authType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letosType=field_mapjson__"osType"OSType.of_jsoninletipAddressConfigurationTimeStamp=field_mapjson__"ipAddressConfigurationTimeStamp"String_.of_jsoninletauthType=field_mapjson__"authType"AuthType.of_jsoninmake?osType?ipAddressConfigurationTimeStamp?authType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"IP address based configurations."]modulePipelineInfo=structtypenonrect={pipelineConfigurationTimeStamp:String_.toption[@ocaml.doc"The time when the pipeline info was configured."];pipelineType:PipelineType.toption[@ocaml.doc"The type of pipeline."]}letmake?pipelineConfigurationTimeStamp=fun?pipelineType->fun()->{pipelineConfigurationTimeStamp;pipelineType}letto_valuex=structure_to_value[("pipelineConfigurationTimeStamp",(Option.mapx.pipelineConfigurationTimeStamp~f:String_.to_value));("pipelineType",(Option.mapx.pipelineType~f:PipelineType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letpipelineType=(Option.map~f:PipelineType.of_xml)(Xml.childxml_arg0"pipelineType")inletpipelineConfigurationTimeStamp=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"pipelineConfigurationTimeStamp")inmake?pipelineType?pipelineConfigurationTimeStamp()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letpipelineType=field_mapjson__"pipelineType"PipelineType.of_jsoninletpipelineConfigurationTimeStamp=field_mapjson__"pipelineConfigurationTimeStamp"String_.of_jsoninmake?pipelineType?pipelineConfigurationTimeStamp()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information of the pipeline."]moduleVcenterBasedRemoteInfo=structtypenonrect={osType:OSType.toption[@ocaml.doc"The type of the operating system."];vcenterConfigurationTimeStamp:String_.toption[@ocaml.doc"The time when the remote server based on vCenter was last configured."]}letmake?osType=fun?vcenterConfigurationTimeStamp->fun()->{osType;vcenterConfigurationTimeStamp}letto_valuex=structure_to_value[("osType",(Option.mapx.osType~f:OSType.to_value));("vcenterConfigurationTimeStamp",(Option.mapx.vcenterConfigurationTimeStamp~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvcenterConfigurationTimeStamp=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"vcenterConfigurationTimeStamp")inletosType=(Option.map~f:OSType.of_xml)(Xml.childxml_arg0"osType")inmake?vcenterConfigurationTimeStamp?osType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvcenterConfigurationTimeStamp=field_mapjson__"vcenterConfigurationTimeStamp"String_.of_jsoninletosType=field_mapjson__"osType"OSType.of_jsoninmake?vcenterConfigurationTimeStamp?osType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about the server in vCenter."]moduleVersionControlInfo=structtypenonrect={versionControlConfigurationTimeStamp:String_.toption[@ocaml.doc"The time when the version control system was last configured."];versionControlType:VersionControlType.toption[@ocaml.doc"The type of version control."]}letmake?versionControlConfigurationTimeStamp=fun?versionControlType->fun()->{versionControlConfigurationTimeStamp;versionControlType}letto_valuex=structure_to_value[("versionControlConfigurationTimeStamp",(Option.mapx.versionControlConfigurationTimeStamp~f:String_.to_value));("versionControlType",(Option.mapx.versionControlType~f:VersionControlType.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversionControlType=(Option.map~f:VersionControlType.of_xml)(Xml.childxml_arg0"versionControlType")inletversionControlConfigurationTimeStamp=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"versionControlConfigurationTimeStamp")inmake?versionControlType?versionControlConfigurationTimeStamp()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversionControlType=field_mapjson__"versionControlType"VersionControlType.of_jsoninletversionControlConfigurationTimeStamp=field_mapjson__"versionControlConfigurationTimeStamp"String_.of_jsoninmake?versionControlType?versionControlConfigurationTimeStamp()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Details about the version control configuration."]moduleAnalysisStatusUnion=structtypenonrect={runtimeAnalysisStatus:RuntimeAnalysisStatus.toption[@ocaml.doc"The status of the analysis."];srcCodeOrDbAnalysisStatus:SrcCodeOrDbAnalysisStatus.toption[@ocaml.doc"The status of the source code or database analysis."]}letmake?runtimeAnalysisStatus=fun?srcCodeOrDbAnalysisStatus->fun()->{runtimeAnalysisStatus;srcCodeOrDbAnalysisStatus}letto_valuex=structure_to_value[("runtimeAnalysisStatus",(Option.mapx.runtimeAnalysisStatus~f:RuntimeAnalysisStatus.to_value));("srcCodeOrDbAnalysisStatus",(Option.mapx.srcCodeOrDbAnalysisStatus~f:SrcCodeOrDbAnalysisStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsrcCodeOrDbAnalysisStatus=(Option.map~f:SrcCodeOrDbAnalysisStatus.of_xml)(Xml.childxml_arg0"srcCodeOrDbAnalysisStatus")inletruntimeAnalysisStatus=(Option.map~f:RuntimeAnalysisStatus.of_xml)(Xml.childxml_arg0"runtimeAnalysisStatus")inmake?srcCodeOrDbAnalysisStatus?runtimeAnalysisStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsrcCodeOrDbAnalysisStatus=field_mapjson__"srcCodeOrDbAnalysisStatus"SrcCodeOrDbAnalysisStatus.of_jsoninletruntimeAnalysisStatus=field_mapjson__"runtimeAnalysisStatus"RuntimeAnalysisStatus.of_jsoninmake?srcCodeOrDbAnalysisStatus?runtimeAnalysisStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"A combination of existing analysis statuses."]moduleAnalysisType=structtypenonrect=|SOURCE_CODE_ANALYSIS|DATABASE_ANALYSIS|RUNTIME_ANALYSIS|BINARY_ANALYSIS|Non_static_idofstringletmakei=iletto_string=function|SOURCE_CODE_ANALYSIS->"SOURCE_CODE_ANALYSIS"|DATABASE_ANALYSIS->"DATABASE_ANALYSIS"|RUNTIME_ANALYSIS->"RUNTIME_ANALYSIS"|BINARY_ANALYSIS->"BINARY_ANALYSIS"|Non_static_ids->sletof_string=function|"SOURCE_CODE_ANALYSIS"->SOURCE_CODE_ANALYSIS|"DATABASE_ANALYSIS"->DATABASE_ANALYSIS|"RUNTIME_ANALYSIS"->RUNTIME_ANALYSIS|"BINARY_ANALYSIS"->BINARY_ANALYSIS|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 AnalysisType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AnalysisType"j)letto_json=simple_to_jsonto_valueendmoduleAntipatternReportResultList=structtypenonrect=AntipatternReportResult.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AntipatternReportResult.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:AntipatternReportResult.of_xml)letof_jsonj=list_of_json~kind:"AntipatternReportResultList"~of_json:AntipatternReportResult.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAwsManagedTargetDestinations=structtypenonrect=AwsManagedTargetDestination.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:AwsManagedTargetDestination.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:AwsManagedTargetDestination.of_xml)letof_jsonj=list_of_json~kind:"AwsManagedTargetDestinations"~of_json:AwsManagedTargetDestination.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleNoPreferenceTargetDestinations=structtypenonrect=NoPreferenceTargetDestination.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:NoPreferenceTargetDestination.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:NoPreferenceTargetDestination.of_xml)letof_jsonj=list_of_json~kind:"NoPreferenceTargetDestinations"~of_json:NoPreferenceTargetDestination.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleSelfManageTargetDestinations=structtypenonrect=SelfManageTargetDestination.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:SelfManageTargetDestination.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:SelfManageTargetDestination.of_xml)letof_jsonj=list_of_json~kind:"SelfManageTargetDestinations"~of_json:SelfManageTargetDestination.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleHeterogeneousTargetDatabaseEngines=structtypenonrect=HeterogeneousTargetDatabaseEngine.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:HeterogeneousTargetDatabaseEngine.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:HeterogeneousTargetDatabaseEngine.of_xml)letof_jsonj=list_of_json~kind:"HeterogeneousTargetDatabaseEngines"~of_json:HeterogeneousTargetDatabaseEngine.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleHomogeneousTargetDatabaseEngines=structtypenonrect=HomogeneousTargetDatabaseEngine.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:HomogeneousTargetDatabaseEngine.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:HomogeneousTargetDatabaseEngine.of_xml)letof_jsonj=list_of_json~kind:"HomogeneousTargetDatabaseEngines"~of_json:HomogeneousTargetDatabaseEngine.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleTargetDatabaseEngines=structtypenonrect=TargetDatabaseEngine.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:TargetDatabaseEngine.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:TargetDatabaseEngine.of_xml)letof_jsonj=list_of_json~kind:"TargetDatabaseEngines"~of_json:TargetDatabaseEngine.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAntipatternSeveritySummary=structtypenonrect={count:Integer.toption[@ocaml.doc"Contains the count of anti-patterns."];severity:Severity.toption[@ocaml.doc"Contains the severity of anti-patterns."]}letmake?count=fun?severity->fun()->{count;severity}letto_valuex=structure_to_value[("count",(Option.mapx.count~f:Integer.to_value));("severity",(Option.mapx.severity~f:Severity.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letseverity=(Option.map~f:Severity.of_xml)(Xml.childxml_arg0"severity")inletcount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"count")inmake?severity?count()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letseverity=field_mapjson__"severity"Severity.of_jsoninletcount=field_mapjson__"count"Integer.of_jsoninmake?severity?count()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the summary of anti-patterns and their severity."]moduleStrategySummary=structtypenonrect={count:Integer.toption[@ocaml.doc"The count of recommendations per strategy."];strategy:Strategy.toption[@ocaml.doc"The name of recommended strategy."]}letmake?count=fun?strategy->fun()->{count;strategy}letto_valuex=structure_to_value[("count",(Option.mapx.count~f:Integer.to_value));("strategy",(Option.mapx.strategy~f:Strategy.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstrategy=(Option.map~f:Strategy.of_xml)(Xml.childxml_arg0"strategy")inletcount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"count")inmake?strategy?count()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstrategy=field_mapjson__"strategy"Strategy.of_jsoninletcount=field_mapjson__"count"Integer.of_jsoninmake?strategy?count()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Object containing the summary of the strategy recommendations."]moduleTargetDestination=structtypenonrect=|None_specified|AWS_Elastic_BeanStalk|AWS_Fargate|Amazon_Elastic_Cloud_Compute__EC2_|Amazon_Elastic_Container_Service__ECS_|Amazon_Elastic_Kubernetes_Service__EKS_|Aurora_MySQL|Aurora_PostgreSQL|Amazon_Relational_Database_Service_on_MySQL|Amazon_Relational_Database_Service_on_PostgreSQL|Amazon_DocumentDB|Amazon_DynamoDB|Amazon_Relational_Database_Service|Babelfish_for_Aurora_PostgreSQL|Non_static_idofstringletmakei=iletto_string=function|None_specified->"None specified"|AWS_Elastic_BeanStalk->"AWS Elastic BeanStalk"|AWS_Fargate->"AWS Fargate"|Amazon_Elastic_Cloud_Compute__EC2_->"Amazon Elastic Cloud Compute (EC2)"|Amazon_Elastic_Container_Service__ECS_->"Amazon Elastic Container Service (ECS)"|Amazon_Elastic_Kubernetes_Service__EKS_->"Amazon Elastic Kubernetes Service (EKS)"|Aurora_MySQL->"Aurora MySQL"|Aurora_PostgreSQL->"Aurora PostgreSQL"|Amazon_Relational_Database_Service_on_MySQL->"Amazon Relational Database Service on MySQL"|Amazon_Relational_Database_Service_on_PostgreSQL->"Amazon Relational Database Service on PostgreSQL"|Amazon_DocumentDB->"Amazon DocumentDB"|Amazon_DynamoDB->"Amazon DynamoDB"|Amazon_Relational_Database_Service->"Amazon Relational Database Service"|Babelfish_for_Aurora_PostgreSQL->"Babelfish for Aurora PostgreSQL"|Non_static_ids->sletof_string=function|"None specified"->None_specified|"AWS Elastic BeanStalk"->AWS_Elastic_BeanStalk|"AWS Fargate"->AWS_Fargate|"Amazon Elastic Cloud Compute (EC2)"->Amazon_Elastic_Cloud_Compute__EC2_|"Amazon Elastic Container Service (ECS)"->Amazon_Elastic_Container_Service__ECS_|"Amazon Elastic Kubernetes Service (EKS)"->Amazon_Elastic_Kubernetes_Service__EKS_|"Aurora MySQL"->Aurora_MySQL|"Aurora PostgreSQL"->Aurora_PostgreSQL|"Amazon Relational Database Service on MySQL"->Amazon_Relational_Database_Service_on_MySQL|"Amazon Relational Database Service on PostgreSQL"->Amazon_Relational_Database_Service_on_PostgreSQL|"Amazon DocumentDB"->Amazon_DocumentDB|"Amazon DynamoDB"->Amazon_DynamoDB|"Amazon Relational Database Service"->Amazon_Relational_Database_Service|"Babelfish for Aurora PostgreSQL"->Babelfish_for_Aurora_PostgreSQL|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 TargetDestination"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"TargetDestination"j)letto_json=simple_to_jsonto_valueendmoduleTransformationTool=structtypenonrect={description:TranformationToolDescription.toption[@ocaml.doc"Description of the tool."];name:TransformationToolName.toption[@ocaml.doc"Name of the tool."];tranformationToolInstallationLink:TranformationToolInstallationLink.toption[@ocaml.doc"URL for installing the tool."]}letmake?description=fun?name->fun?tranformationToolInstallationLink->fun()->{description;name;tranformationToolInstallationLink}letto_valuex=structure_to_value[("description",(Option.mapx.description~f:TranformationToolDescription.to_value));("name",(Option.mapx.name~f:TransformationToolName.to_value));("tranformationToolInstallationLink",(Option.mapx.tranformationToolInstallationLink~f:TranformationToolInstallationLink.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettranformationToolInstallationLink=(Option.map~f:TranformationToolInstallationLink.of_xml)(Xml.childxml_arg0"tranformationToolInstallationLink")inletname=(Option.map~f:TransformationToolName.of_xml)(Xml.childxml_arg0"name")inletdescription=(Option.map~f:TranformationToolDescription.of_xml)(Xml.childxml_arg0"description")inmake?tranformationToolInstallationLink?name?description()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettranformationToolInstallationLink=field_mapjson__"tranformationToolInstallationLink"TranformationToolInstallationLink.of_jsoninletname=field_mapjson__"name"TransformationToolName.of_jsoninletdescription=field_mapjson__"description"TranformationToolDescription.of_jsoninmake?tranformationToolInstallationLink?name?description()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information of the transformation tool that can be used to migrate and modernize the application."]moduleServerErrorCategory=structtypenonrect=|CONNECTIVITY_ERROR|CREDENTIAL_ERROR|PERMISSION_ERROR|ARCHITECTURE_ERROR|OTHER_ERROR|Non_static_idofstringletmakei=iletto_string=function|CONNECTIVITY_ERROR->"CONNECTIVITY_ERROR"|CREDENTIAL_ERROR->"CREDENTIAL_ERROR"|PERMISSION_ERROR->"PERMISSION_ERROR"|ARCHITECTURE_ERROR->"ARCHITECTURE_ERROR"|OTHER_ERROR->"OTHER_ERROR"|Non_static_ids->sletof_string=function|"CONNECTIVITY_ERROR"->CONNECTIVITY_ERROR|"CREDENTIAL_ERROR"->CREDENTIAL_ERROR|"PERMISSION_ERROR"->PERMISSION_ERROR|"ARCHITECTURE_ERROR"->ARCHITECTURE_ERROR|"OTHER_ERROR"->OTHER_ERROR|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration ServerErrorCategory"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ServerErrorCategory"j)letto_json=simple_to_jsonto_valueendmoduleNetworkInfoList=structtypenonrect=NetworkInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:NetworkInfo.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:NetworkInfo.of_xml)letof_jsonj=list_of_json~kind:"NetworkInfoList"~of_json:NetworkInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOSInfo=structtypenonrect={type_:OSType.toption[@ocaml.doc"Information about the type of operating system."];version:OSVersion.toption[@ocaml.doc"Information about the version of operating system."]}letmake?type_=fun?version->fun()->{type_;version}letto_valuex=structure_to_value[("type",(Option.mapx.type_~f:OSType.to_value));("version",(Option.mapx.version~f:OSVersion.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversion=(Option.map~f:OSVersion.of_xml)(Xml.childxml_arg0"version")inlettype_=(Option.map~f:OSType.of_xml)(Xml.childxml_arg0"type")inmake?version?type_()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversion=field_mapjson__"version"OSVersion.of_jsoninlettype_=field_mapjson__"type"OSType.of_jsoninmake?version?type_()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the operating system."]moduleIPAddressBasedRemoteInfoList=structtypenonrect=IPAddressBasedRemoteInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:IPAddressBasedRemoteInfo.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:IPAddressBasedRemoteInfo.of_xml)letof_jsonj=list_of_json~kind:"IPAddressBasedRemoteInfoList"~of_json:IPAddressBasedRemoteInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmodulePipelineInfoList=structtypenonrect=PipelineInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:PipelineInfo.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:PipelineInfo.of_xml)letof_jsonj=list_of_json~kind:"PipelineInfoList"~of_json:PipelineInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRemoteSourceCodeAnalysisServerInfo=structtypenonrect={remoteSourceCodeAnalysisServerConfigurationTimestamp:String_.toption[@ocaml.doc"The time when the remote source code server was configured."]}letmake?remoteSourceCodeAnalysisServerConfigurationTimestamp=fun()->{remoteSourceCodeAnalysisServerConfigurationTimestamp}letto_valuex=structure_to_value[("remoteSourceCodeAnalysisServerConfigurationTimestamp",(Option.mapx.remoteSourceCodeAnalysisServerConfigurationTimestamp~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letremoteSourceCodeAnalysisServerConfigurationTimestamp=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"remoteSourceCodeAnalysisServerConfigurationTimestamp")inmake?remoteSourceCodeAnalysisServerConfigurationTimestamp()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letremoteSourceCodeAnalysisServerConfigurationTimestamp=field_mapjson__"remoteSourceCodeAnalysisServerConfigurationTimestamp"String_.of_jsoninmake?remoteSourceCodeAnalysisServerConfigurationTimestamp()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the server configured for source code analysis."]moduleVcenterBasedRemoteInfoList=structtypenonrect=VcenterBasedRemoteInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VcenterBasedRemoteInfo.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:VcenterBasedRemoteInfo.of_xml)letof_jsonj=list_of_json~kind:"VcenterBasedRemoteInfoList"~of_json:VcenterBasedRemoteInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleVersionControlInfoList=structtypenonrect=VersionControlInfo.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:VersionControlInfo.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:VersionControlInfo.of_xml)letof_jsonj=list_of_json~kind:"VersionControlInfoList"~of_json:VersionControlInfo.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAppUnitErrorCategory=structtypenonrect=|CREDENTIAL_ERROR|CONNECTIVITY_ERROR|PERMISSION_ERROR|UNSUPPORTED_ERROR|OTHER_ERROR|Non_static_idofstringletmakei=iletto_string=function|CREDENTIAL_ERROR->"CREDENTIAL_ERROR"|CONNECTIVITY_ERROR->"CONNECTIVITY_ERROR"|PERMISSION_ERROR->"PERMISSION_ERROR"|UNSUPPORTED_ERROR->"UNSUPPORTED_ERROR"|OTHER_ERROR->"OTHER_ERROR"|Non_static_ids->sletof_string=function|"CREDENTIAL_ERROR"->CREDENTIAL_ERROR|"CONNECTIVITY_ERROR"->CONNECTIVITY_ERROR|"PERMISSION_ERROR"->PERMISSION_ERROR|"UNSUPPORTED_ERROR"->UNSUPPORTED_ERROR|"OTHER_ERROR"->OTHER_ERROR|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration AppUnitErrorCategory"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AppUnitErrorCategory"j)letto_json=simple_to_jsonto_valueendmoduleResult_=structtypenonrect={analysisStatus:AnalysisStatusUnion.toption[@ocaml.doc"The error in server analysis."];analysisType:AnalysisType.toption[@ocaml.doc"The error in server analysis."];antipatternReportResultList:AntipatternReportResultList.toption[@ocaml.doc"The error in server analysis."];statusMessage:StatusMessage.toption[@ocaml.doc"The error in server analysis."]}letmake?analysisStatus=fun?analysisType->fun?antipatternReportResultList->fun?statusMessage->fun()->{analysisStatus;analysisType;antipatternReportResultList;statusMessage}letto_valuex=structure_to_value[("analysisStatus",(Option.mapx.analysisStatus~f:AnalysisStatusUnion.to_value));("analysisType",(Option.mapx.analysisType~f:AnalysisType.to_value));("antipatternReportResultList",(Option.mapx.antipatternReportResultList~f:AntipatternReportResultList.to_value));("statusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"statusMessage")inletantipatternReportResultList=(Option.map~f:AntipatternReportResultList.of_xml)(Xml.childxml_arg0"antipatternReportResultList")inletanalysisType=(Option.map~f:AnalysisType.of_xml)(Xml.childxml_arg0"analysisType")inletanalysisStatus=(Option.map~f:AnalysisStatusUnion.of_xml)(Xml.childxml_arg0"analysisStatus")inmake?statusMessage?antipatternReportResultList?analysisType?analysisStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"statusMessage"StatusMessage.of_jsoninletantipatternReportResultList=field_mapjson__"antipatternReportResultList"AntipatternReportResultList.of_jsoninletanalysisType=field_mapjson__"analysisType"AnalysisType.of_jsoninletanalysisStatus=field_mapjson__"analysisStatus"AnalysisStatusUnion.of_jsoninmake?statusMessage?antipatternReportResultList?analysisType?analysisStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The error in server analysis."]moduleSourceCodeRepository=structtypenonrect={branch:String_.toption[@ocaml.doc"The branch of the source code."];projectName:String_.toption[@ocaml.doc"The name of the project."];repository:String_.toption[@ocaml.doc"The repository name for the source code."];versionControlType:String_.toption[@ocaml.doc"The type of repository to use for the source code."]}letmake?branch=fun?projectName->fun?repository->fun?versionControlType->fun()->{branch;projectName;repository;versionControlType}letto_valuex=structure_to_value[("branch",(Option.mapx.branch~f:String_.to_value));("projectName",(Option.mapx.projectName~f:String_.to_value));("repository",(Option.mapx.repository~f:String_.to_value));("versionControlType",(Option.mapx.versionControlType~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversionControlType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"versionControlType")inletrepository=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"repository")inletprojectName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"projectName")inletbranch=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"branch")inmake?versionControlType?repository?projectName?branch()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversionControlType=field_mapjson__"versionControlType"String_.of_jsoninletrepository=field_mapjson__"repository"String_.of_jsoninletprojectName=field_mapjson__"projectName"String_.of_jsoninletbranch=field_mapjson__"branch"String_.of_jsoninmake?versionControlType?repository?projectName?branch()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Object containing source code information that is linked to an application component."]moduleAppType=structtypenonrect=|DotNetFramework|Java|SQLServer|IIS|Oracle|Other|Tomcat|JBoss|Spring|Mongo_DB|DB2|Maria_DB|MySQL|Sybase|PostgreSQLServer|Cassandra|IBM_WebSphere|Oracle_WebLogic|Visual_Basic|Unknown|DotnetCore|Dotnet|Non_static_idofstringletmakei=iletto_string=function|DotNetFramework->"DotNetFramework"|Java->"Java"|SQLServer->"SQLServer"|IIS->"IIS"|Oracle->"Oracle"|Other->"Other"|Tomcat->"Tomcat"|JBoss->"JBoss"|Spring->"Spring"|Mongo_DB->"Mongo DB"|DB2->"DB2"|Maria_DB->"Maria DB"|MySQL->"MySQL"|Sybase->"Sybase"|PostgreSQLServer->"PostgreSQLServer"|Cassandra->"Cassandra"|IBM_WebSphere->"IBM WebSphere"|Oracle_WebLogic->"Oracle WebLogic"|Visual_Basic->"Visual Basic"|Unknown->"Unknown"|DotnetCore->"DotnetCore"|Dotnet->"Dotnet"|Non_static_ids->sletof_string=function|"DotNetFramework"->DotNetFramework|"Java"->Java|"SQLServer"->SQLServer|"IIS"->IIS|"Oracle"->Oracle|"Other"->Other|"Tomcat"->Tomcat|"JBoss"->JBoss|"Spring"->Spring|"Mongo DB"->Mongo_DB|"DB2"->DB2|"Maria DB"->Maria_DB|"MySQL"->MySQL|"Sybase"->Sybase|"PostgreSQLServer"->PostgreSQLServer|"Cassandra"->Cassandra|"IBM WebSphere"->IBM_WebSphere|"Oracle WebLogic"->Oracle_WebLogic|"Visual Basic"->Visual_Basic|"Unknown"->Unknown|"DotnetCore"->DotnetCore|"Dotnet"->Dotnet|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 AppType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AppType"j)letto_json=simple_to_jsonto_valueendmoduleRunTimeAssessmentStatus=structtypenonrect=|DataCollectionTaskToBeScheduled|DataCollectionTaskScheduled|DataCollectionTaskStarted|DataCollectionTaskStopped|DataCollectionTaskSuccess|DataCollectionTaskFailed|DataCollectionTaskPartialSuccess|Non_static_idofstringletmakei=iletto_string=function|DataCollectionTaskToBeScheduled->"dataCollectionTaskToBeScheduled"|DataCollectionTaskScheduled->"dataCollectionTaskScheduled"|DataCollectionTaskStarted->"dataCollectionTaskStarted"|DataCollectionTaskStopped->"dataCollectionTaskStopped"|DataCollectionTaskSuccess->"dataCollectionTaskSuccess"|DataCollectionTaskFailed->"dataCollectionTaskFailed"|DataCollectionTaskPartialSuccess->"dataCollectionTaskPartialSuccess"|Non_static_ids->sletof_string=function|"dataCollectionTaskToBeScheduled"->DataCollectionTaskToBeScheduled|"dataCollectionTaskScheduled"->DataCollectionTaskScheduled|"dataCollectionTaskStarted"->DataCollectionTaskStarted|"dataCollectionTaskStopped"->DataCollectionTaskStopped|"dataCollectionTaskSuccess"->DataCollectionTaskSuccess|"dataCollectionTaskFailed"->DataCollectionTaskFailed|"dataCollectionTaskPartialSuccess"->DataCollectionTaskPartialSuccess|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 RunTimeAssessmentStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RunTimeAssessmentStatus"j)letto_json=simple_to_jsonto_valueendmoduleServerOsType=structtypenonrect=|WindowsServer|AmazonLinux|EndOfSupportWindowsServer|Redhat|Other|Non_static_idofstringletmakei=iletto_string=function|WindowsServer->"WindowsServer"|AmazonLinux->"AmazonLinux"|EndOfSupportWindowsServer->"EndOfSupportWindowsServer"|Redhat->"Redhat"|Other->"Other"|Non_static_ids->sletof_string=function|"WindowsServer"->WindowsServer|"AmazonLinux"->AmazonLinux|"EndOfSupportWindowsServer"->EndOfSupportWindowsServer|"Redhat"->Redhat|"Other"->Other|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 ServerOsType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ServerOsType"j)letto_json=simple_to_jsonto_valueendmoduleLocation=structtypenonrect=stringletcontext_="Location"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"Location"jletto_json=simple_to_jsonto_valueendmoduleProjectName=structtypenonrect=stringletcontext_="ProjectName"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:128)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ProjectName"jletto_json=simple_to_jsonto_valueendmoduleSourceVersion=structtypenonrect=stringletcontext_="SourceVersion"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:40)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SourceVersion"jletto_json=simple_to_jsonto_valueendmoduleVersionControl=structtypenonrect=|GITHUB|GITHUB_ENTERPRISE|AZURE_DEVOPS_GIT|Non_static_idofstringletmakei=iletto_string=function|GITHUB->"GITHUB"|GITHUB_ENTERPRISE->"GITHUB_ENTERPRISE"|AZURE_DEVOPS_GIT->"AZURE_DEVOPS_GIT"|Non_static_ids->sletof_string=function|"GITHUB"->GITHUB|"GITHUB_ENTERPRISE"->GITHUB_ENTERPRISE|"AZURE_DEVOPS_GIT"->AZURE_DEVOPS_GIT|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 VersionControl"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"VersionControl"j)letto_json=simple_to_jsonto_valueendmoduleGroupName=structtypenonrect=|ExternalId|ExternalSourceType|Non_static_idofstringletmakei=iletto_string=function|ExternalId->"ExternalId"|ExternalSourceType->"ExternalSourceType"|Non_static_ids->sletof_string=function|"ExternalId"->ExternalId|"ExternalSourceType"->ExternalSourceType|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 GroupName"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"GroupName"j)letto_json=simple_to_jsonto_valueendmoduleAssessmentTargetValues=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"AssessmentTargetValues"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCondition=structtypenonrect=|EQUALS|NOT_EQUALS|CONTAINS|NOT_CONTAINS|Non_static_idofstringletmakei=iletto_string=function|EQUALS->"EQUALS"|NOT_EQUALS->"NOT_EQUALS"|CONTAINS->"CONTAINS"|NOT_CONTAINS->"NOT_CONTAINS"|Non_static_ids->sletof_string=function|"EQUALS"->EQUALS|"NOT_EQUALS"->NOT_EQUALS|"CONTAINS"->CONTAINS|"NOT_CONTAINS"->NOT_CONTAINS|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 Condition"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"Condition"j)letto_json=simple_to_jsonto_valueendmoduleAwsManagedResources=structtypenonrect={targetDestination:AwsManagedTargetDestinations.t[@ocaml.doc"The choice of application destination that you specify."]}letcontext_="AwsManagedResources"letmake~targetDestination=fun()->{targetDestination}letto_valuex=structure_to_value[("targetDestination",(Some(AwsManagedTargetDestinations.to_valuex.targetDestination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetDestination=AwsManagedTargetDestinations.of_xml(Xml.child_exn~context:context_xml_arg0"targetDestination")inmake~targetDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetDestination=field_map_exnjson__"targetDestination"AwsManagedTargetDestinations.of_jsoninmake~targetDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Object containing the choice of application destination that you specify."]moduleNoManagementPreference=structtypenonrect={targetDestination:NoPreferenceTargetDestinations.t[@ocaml.doc"The choice of application destination that you specify."]}letcontext_="NoManagementPreference"letmake~targetDestination=fun()->{targetDestination}letto_valuex=structure_to_value[("targetDestination",(Some(NoPreferenceTargetDestinations.to_valuex.targetDestination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetDestination=NoPreferenceTargetDestinations.of_xml(Xml.child_exn~context:context_xml_arg0"targetDestination")inmake~targetDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetDestination=field_map_exnjson__"targetDestination"NoPreferenceTargetDestinations.of_jsoninmake~targetDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Object containing the choice of application destination that you specify."]moduleSelfManageResources=structtypenonrect={targetDestination:SelfManageTargetDestinations.t[@ocaml.doc"Self-managed resources target destination."]}letcontext_="SelfManageResources"letmake~targetDestination=fun()->{targetDestination}letto_valuex=structure_to_value[("targetDestination",(Some(SelfManageTargetDestinations.to_valuex.targetDestination)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetDestination=SelfManageTargetDestinations.of_xml(Xml.child_exn~context:context_xml_arg0"targetDestination")inmake~targetDestination()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetDestination=field_map_exnjson__"targetDestination"SelfManageTargetDestinations.of_jsoninmake~targetDestination()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Self-managed resources."]moduleHeterogeneous=structtypenonrect={targetDatabaseEngine:HeterogeneousTargetDatabaseEngines.t[@ocaml.doc"The target database engine for heterogeneous database migration preference."]}letcontext_="Heterogeneous"letmake~targetDatabaseEngine=fun()->{targetDatabaseEngine}letto_valuex=structure_to_value[("targetDatabaseEngine",(Some(HeterogeneousTargetDatabaseEngines.to_valuex.targetDatabaseEngine)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetDatabaseEngine=HeterogeneousTargetDatabaseEngines.of_xml(Xml.child_exn~context:context_xml_arg0"targetDatabaseEngine")inmake~targetDatabaseEngine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetDatabaseEngine=field_map_exnjson__"targetDatabaseEngine"HeterogeneousTargetDatabaseEngines.of_jsoninmake~targetDatabaseEngine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The object containing details about heterogeneous database preferences."]moduleHomogeneous=structtypenonrect={targetDatabaseEngine:HomogeneousTargetDatabaseEngines.toption[@ocaml.doc"The target database engine for homogeneous database migration preferences."]}letmake?targetDatabaseEngine=fun()->{targetDatabaseEngine}letto_valuex=structure_to_value[("targetDatabaseEngine",(Option.mapx.targetDatabaseEngine~f:HomogeneousTargetDatabaseEngines.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetDatabaseEngine=(Option.map~f:HomogeneousTargetDatabaseEngines.of_xml)(Xml.childxml_arg0"targetDatabaseEngine")inmake?targetDatabaseEngine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetDatabaseEngine=field_mapjson__"targetDatabaseEngine"HomogeneousTargetDatabaseEngines.of_jsoninmake?targetDatabaseEngine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The object containing details about homogeneous database preferences."]moduleNoDatabaseMigrationPreference=structtypenonrect={targetDatabaseEngine:TargetDatabaseEngines.t[@ocaml.doc"The target database engine for database migration preference that you specify."]}letcontext_="NoDatabaseMigrationPreference"letmake~targetDatabaseEngine=fun()->{targetDatabaseEngine}letto_valuex=structure_to_value[("targetDatabaseEngine",(Some(TargetDatabaseEngines.to_valuex.targetDatabaseEngine)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettargetDatabaseEngine=TargetDatabaseEngines.of_xml(Xml.child_exn~context:context_xml_arg0"targetDatabaseEngine")inmake~targetDatabaseEngine()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettargetDatabaseEngine=field_map_exnjson__"targetDatabaseEngine"TargetDatabaseEngines.of_jsoninmake~targetDatabaseEngine()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The object containing details about database migration preferences, when you have no particular preference."]moduleBusinessGoalsInteger=structtypenonrect=intletmakei=letopenResultinok_or_failwith((check_int_maxi~max:5)>>=(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 BusinessGoalsInteger"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleListAntipatternSeveritySummary=structtypenonrect=AntipatternSeveritySummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AntipatternSeveritySummary.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:AntipatternSeveritySummary.of_xml)letof_jsonj=list_of_json~kind:"ListAntipatternSeveritySummary"~of_json:AntipatternSeveritySummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListStrategySummary=structtypenonrect=StrategySummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:StrategySummary.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:StrategySummary.of_xml)letof_jsonj=list_of_json~kind:"ListStrategySummary"~of_json:StrategySummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRecommendationSet=structtypenonrect={strategy:Strategy.toption[@ocaml.doc"The recommended strategy."];targetDestination:TargetDestination.toption[@ocaml.doc"The recommended target destination."];transformationTool:TransformationTool.toption[@ocaml.doc"The target destination for the recommendation set."]}letmake?strategy=fun?targetDestination->fun?transformationTool->fun()->{strategy;targetDestination;transformationTool}letto_valuex=structure_to_value[("strategy",(Option.mapx.strategy~f:Strategy.to_value));("targetDestination",(Option.mapx.targetDestination~f:TargetDestination.to_value));("transformationTool",(Option.mapx.transformationTool~f:TransformationTool.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettransformationTool=(Option.map~f:TransformationTool.of_xml)(Xml.childxml_arg0"transformationTool")inlettargetDestination=(Option.map~f:TargetDestination.of_xml)(Xml.childxml_arg0"targetDestination")inletstrategy=(Option.map~f:Strategy.of_xml)(Xml.childxml_arg0"strategy")inmake?transformationTool?targetDestination?strategy()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettransformationTool=field_mapjson__"transformationTool"TransformationTool.of_jsoninlettargetDestination=field_mapjson__"targetDestination"TargetDestination.of_jsoninletstrategy=field_mapjson__"strategy"Strategy.of_jsoninmake?transformationTool?targetDestination?strategy()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains a recommendation set."]moduleResourceId=structtypenonrect=stringletcontext_="ResourceId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:44)>>=(fun()->check_patterni~pattern:"^[0-9a-b]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ResourceId"jletto_json=simple_to_jsonto_valueendmoduleResourceName=structtypenonrect=stringletcontext_="ResourceName"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:"ResourceName"jletto_json=simple_to_jsonto_valueendmoduleServerError=structtypenonrect={serverErrorCategory:ServerErrorCategory.toption[@ocaml.doc"The error category of server analysis."]}letmake?serverErrorCategory=fun()->{serverErrorCategory}letto_valuex=structure_to_value[("serverErrorCategory",(Option.mapx.serverErrorCategory~f:ServerErrorCategory.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverErrorCategory=(Option.map~f:ServerErrorCategory.of_xml)(Xml.childxml_arg0"serverErrorCategory")inmake?serverErrorCategory()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverErrorCategory=field_mapjson__"serverErrorCategory"ServerErrorCategory.of_jsoninmake?serverErrorCategory()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The error in server analysis."]moduleSystemInfo=structtypenonrect={cpuArchitecture:String_.toption[@ocaml.doc"CPU architecture type for the server."];fileSystemType:String_.toption[@ocaml.doc"File system type for the server."];networkInfoList:NetworkInfoList.toption[@ocaml.doc"Networking information related to a server."];osInfo:OSInfo.toption[@ocaml.doc"Operating system corresponding to a server."]}letmake?cpuArchitecture=fun?fileSystemType->fun?networkInfoList->fun?osInfo->fun()->{cpuArchitecture;fileSystemType;networkInfoList;osInfo}letto_valuex=structure_to_value[("cpuArchitecture",(Option.mapx.cpuArchitecture~f:String_.to_value));("fileSystemType",(Option.mapx.fileSystemType~f:String_.to_value));("networkInfoList",(Option.mapx.networkInfoList~f:NetworkInfoList.to_value));("osInfo",(Option.mapx.osInfo~f:OSInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letosInfo=(Option.map~f:OSInfo.of_xml)(Xml.childxml_arg0"osInfo")inletnetworkInfoList=(Option.map~f:NetworkInfoList.of_xml)(Xml.childxml_arg0"networkInfoList")inletfileSystemType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"fileSystemType")inletcpuArchitecture=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"cpuArchitecture")inmake?osInfo?networkInfoList?fileSystemType?cpuArchitecture()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letosInfo=field_mapjson__"osInfo"OSInfo.of_jsoninletnetworkInfoList=field_mapjson__"networkInfoList"NetworkInfoList.of_jsoninletfileSystemType=field_mapjson__"fileSystemType"String_.of_jsoninletcpuArchitecture=field_mapjson__"cpuArchitecture"String_.of_jsoninmake?osInfo?networkInfoList?fileSystemType?cpuArchitecture()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the server that hosts application components."]moduleTimeStamp=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_valueendmoduleImportFileTaskStatus=structtypenonrect=|ImportInProgress|ImportFailed|ImportPartialSuccess|ImportSuccess|DeleteInProgress|DeleteFailed|DeletePartialSuccess|DeleteSuccess|Non_static_idofstringletmakei=iletto_string=function|ImportInProgress->"ImportInProgress"|ImportFailed->"ImportFailed"|ImportPartialSuccess->"ImportPartialSuccess"|ImportSuccess->"ImportSuccess"|DeleteInProgress->"DeleteInProgress"|DeleteFailed->"DeleteFailed"|DeletePartialSuccess->"DeletePartialSuccess"|DeleteSuccess->"DeleteSuccess"|Non_static_ids->sletof_string=function|"ImportInProgress"->ImportInProgress|"ImportFailed"->ImportFailed|"ImportPartialSuccess"->ImportPartialSuccess|"ImportSuccess"->ImportSuccess|"DeleteInProgress"->DeleteInProgress|"DeleteFailed"->DeleteFailed|"DeletePartialSuccess"->DeletePartialSuccess|"DeleteSuccess"->DeleteSuccess|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 ImportFileTaskStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ImportFileTaskStatus"j)letto_json=simple_to_jsonto_valueendmoduleImportS3Bucket=structtypenonrect=stringletcontext_="importS3Bucket"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"importS3Bucket"jletto_json=simple_to_jsonto_valueendmoduleImportS3Key=structtypenonrect=stringletcontext_="importS3Key"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:1024)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"importS3Key"jletto_json=simple_to_jsonto_valueendmoduleCollectorHealth=structtypenonrect=|COLLECTOR_HEALTHY|COLLECTOR_UNHEALTHY|Non_static_idofstringletmakei=iletto_string=function|COLLECTOR_HEALTHY->"COLLECTOR_HEALTHY"|COLLECTOR_UNHEALTHY->"COLLECTOR_UNHEALTHY"|Non_static_ids->sletof_string=function|"COLLECTOR_HEALTHY"->COLLECTOR_HEALTHY|"COLLECTOR_UNHEALTHY"->COLLECTOR_UNHEALTHY|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 CollectorHealth"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"CollectorHealth"j)letto_json=simple_to_jsonto_valueendmoduleConfigurationSummary=structtypenonrect={ipAddressBasedRemoteInfoList:IPAddressBasedRemoteInfoList.toption[@ocaml.doc"IP address based configurations."];pipelineInfoList:PipelineInfoList.toption[@ocaml.doc"The list of pipeline info configurations."];remoteSourceCodeAnalysisServerInfo:RemoteSourceCodeAnalysisServerInfo.toption[@ocaml.doc"Info about the remote server source code configuration."];vcenterBasedRemoteInfoList:VcenterBasedRemoteInfoList.toption[@ocaml.doc"The list of vCenter configurations."];versionControlInfoList:VersionControlInfoList.toption[@ocaml.doc"The list of the version control configurations."]}letmake?ipAddressBasedRemoteInfoList=fun?pipelineInfoList->fun?remoteSourceCodeAnalysisServerInfo->fun?vcenterBasedRemoteInfoList->fun?versionControlInfoList->fun()->{ipAddressBasedRemoteInfoList;pipelineInfoList;remoteSourceCodeAnalysisServerInfo;vcenterBasedRemoteInfoList;versionControlInfoList}letto_valuex=structure_to_value[("ipAddressBasedRemoteInfoList",(Option.mapx.ipAddressBasedRemoteInfoList~f:IPAddressBasedRemoteInfoList.to_value));("pipelineInfoList",(Option.mapx.pipelineInfoList~f:PipelineInfoList.to_value));("remoteSourceCodeAnalysisServerInfo",(Option.mapx.remoteSourceCodeAnalysisServerInfo~f:RemoteSourceCodeAnalysisServerInfo.to_value));("vcenterBasedRemoteInfoList",(Option.mapx.vcenterBasedRemoteInfoList~f:VcenterBasedRemoteInfoList.to_value));("versionControlInfoList",(Option.mapx.versionControlInfoList~f:VersionControlInfoList.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversionControlInfoList=(Option.map~f:VersionControlInfoList.of_xml)(Xml.childxml_arg0"versionControlInfoList")inletvcenterBasedRemoteInfoList=(Option.map~f:VcenterBasedRemoteInfoList.of_xml)(Xml.childxml_arg0"vcenterBasedRemoteInfoList")inletremoteSourceCodeAnalysisServerInfo=(Option.map~f:RemoteSourceCodeAnalysisServerInfo.of_xml)(Xml.childxml_arg0"remoteSourceCodeAnalysisServerInfo")inletpipelineInfoList=(Option.map~f:PipelineInfoList.of_xml)(Xml.childxml_arg0"pipelineInfoList")inletipAddressBasedRemoteInfoList=(Option.map~f:IPAddressBasedRemoteInfoList.of_xml)(Xml.childxml_arg0"ipAddressBasedRemoteInfoList")inmake?versionControlInfoList?vcenterBasedRemoteInfoList?remoteSourceCodeAnalysisServerInfo?pipelineInfoList?ipAddressBasedRemoteInfoList()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversionControlInfoList=field_mapjson__"versionControlInfoList"VersionControlInfoList.of_jsoninletvcenterBasedRemoteInfoList=field_mapjson__"vcenterBasedRemoteInfoList"VcenterBasedRemoteInfoList.of_jsoninletremoteSourceCodeAnalysisServerInfo=field_mapjson__"remoteSourceCodeAnalysisServerInfo"RemoteSourceCodeAnalysisServerInfo.of_jsoninletpipelineInfoList=field_mapjson__"pipelineInfoList"PipelineInfoList.of_jsoninletipAddressBasedRemoteInfoList=field_mapjson__"ipAddressBasedRemoteInfoList"IPAddressBasedRemoteInfoList.of_jsoninmake?versionControlInfoList?vcenterBasedRemoteInfoList?remoteSourceCodeAnalysisServerInfo?pipelineInfoList?ipAddressBasedRemoteInfoList()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary of the collector configuration."]moduleAppUnitError=structtypenonrect={appUnitErrorCategory:AppUnitErrorCategory.toption[@ocaml.doc"The category of the error."]}letmake?appUnitErrorCategory=fun()->{appUnitErrorCategory}letto_valuex=structure_to_value[("appUnitErrorCategory",(Option.mapx.appUnitErrorCategory~f:AppUnitErrorCategory.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letappUnitErrorCategory=(Option.map~f:AppUnitErrorCategory.of_xml)(Xml.childxml_arg0"appUnitErrorCategory")inmake?appUnitErrorCategory()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letappUnitErrorCategory=field_mapjson__"appUnitErrorCategory"AppUnitErrorCategory.of_jsoninmake?appUnitErrorCategory()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Error in the analysis of the application unit."]moduleBoolean=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_valueendmoduleDatabaseConfigDetail=structtypenonrect={secretName:String_.toption[@ocaml.doc"AWS Secrets Manager key that holds the credentials that you use to connect to a database."]}letmake?secretName=fun()->{secretName}letto_valuex=structure_to_value[("secretName",(Option.mapx.secretName~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsecretName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"secretName")inmake?secretName()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsecretName=field_mapjson__"secretName"String_.of_jsoninmake?secretName()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Configuration information used for assessing databases."]moduleInclusionStatus=structtypenonrect=|ExcludeFromAssessment|IncludeInAssessment|Non_static_idofstringletmakei=iletto_string=function|ExcludeFromAssessment->"excludeFromAssessment"|IncludeInAssessment->"includeInAssessment"|Non_static_ids->sletof_string=function|"excludeFromAssessment"->ExcludeFromAssessment|"includeInAssessment"->IncludeInAssessment|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 InclusionStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"InclusionStatus"j)letto_json=simple_to_jsonto_valueendmoduleResourceSubType=structtypenonrect=|Database|Process|DatabaseProcess|Non_static_idofstringletmakei=iletto_string=function|Database->"Database"|Process->"Process"|DatabaseProcess->"DatabaseProcess"|Non_static_ids->sletof_string=function|"Database"->Database|"Process"->Process|"DatabaseProcess"->DatabaseProcess|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 ResourceSubType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ResourceSubType"j)letto_json=simple_to_jsonto_valueendmoduleResultList=structtypenonrect=Result_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Result_.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:Result_.of_xml)letof_jsonj=list_of_json~kind:"ResultList"~of_json:Result_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleServerId=structtypenonrect=stringletcontext_="ServerId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:27)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ServerId"jletto_json=simple_to_jsonto_valueendmoduleSourceCodeRepositories=structtypenonrect=SourceCodeRepository.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SourceCodeRepository.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:SourceCodeRepository.of_xml)letof_jsonj=list_of_json~kind:"SourceCodeRepositories"~of_json:SourceCodeRepository.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStrategyRecommendation=structtypenonrect=|Recommended|ViableOption|NotRecommended|Potential|Non_static_idofstringletmakei=iletto_string=function|Recommended->"recommended"|ViableOption->"viableOption"|NotRecommended->"notRecommended"|Potential->"potential"|Non_static_ids->sletof_string=function|"recommended"->Recommended|"viableOption"->ViableOption|"notRecommended"->NotRecommended|"potential"->Potential|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 StrategyRecommendation"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"StrategyRecommendation"j)letto_json=simple_to_jsonto_valueendmoduleApplicationComponentStatusSummary=structtypenonrect={count:Integer.toption[@ocaml.doc"The number of application components successfully analyzed, partially successful or failed analysis."];srcCodeOrDbAnalysisStatus:SrcCodeOrDbAnalysisStatus.toption[@ocaml.doc"The status of database analysis."]}letmake?count=fun?srcCodeOrDbAnalysisStatus->fun()->{count;srcCodeOrDbAnalysisStatus}letto_valuex=structure_to_value[("count",(Option.mapx.count~f:Integer.to_value));("srcCodeOrDbAnalysisStatus",(Option.mapx.srcCodeOrDbAnalysisStatus~f:SrcCodeOrDbAnalysisStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsrcCodeOrDbAnalysisStatus=(Option.map~f:SrcCodeOrDbAnalysisStatus.of_xml)(Xml.childxml_arg0"srcCodeOrDbAnalysisStatus")inletcount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"count")inmake?srcCodeOrDbAnalysisStatus?count()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsrcCodeOrDbAnalysisStatus=field_mapjson__"srcCodeOrDbAnalysisStatus"SrcCodeOrDbAnalysisStatus.of_jsoninletcount=field_mapjson__"count"Integer.of_jsoninmake?srcCodeOrDbAnalysisStatus?count()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary of the analysis status of the application component."]moduleApplicationComponentSummary=structtypenonrect={appType:AppType.toption[@ocaml.doc"Contains the name of application types."];count:Integer.toption[@ocaml.doc"Contains the count of application type."]}letmake?appType=fun?count->fun()->{appType;count}letto_valuex=structure_to_value[("appType",(Option.mapx.appType~f:AppType.to_value));("count",(Option.mapx.count~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"count")inletappType=(Option.map~f:AppType.of_xml)(Xml.childxml_arg0"appType")inmake?count?appType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcount=field_mapjson__"count"Integer.of_jsoninletappType=field_mapjson__"appType"AppType.of_jsoninmake?count?appType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the summary of application components."]moduleServerStatusSummary=structtypenonrect={count:Integer.toption[@ocaml.doc"The number of servers successfully analyzed, partially successful or failed analysis."];runTimeAssessmentStatus:RunTimeAssessmentStatus.toption[@ocaml.doc"The status of the run time."]}letmake?count=fun?runTimeAssessmentStatus->fun()->{count;runTimeAssessmentStatus}letto_valuex=structure_to_value[("count",(Option.mapx.count~f:Integer.to_value));("runTimeAssessmentStatus",(Option.mapx.runTimeAssessmentStatus~f:RunTimeAssessmentStatus.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrunTimeAssessmentStatus=(Option.map~f:RunTimeAssessmentStatus.of_xml)(Xml.childxml_arg0"runTimeAssessmentStatus")inletcount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"count")inmake?runTimeAssessmentStatus?count()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrunTimeAssessmentStatus=field_mapjson__"runTimeAssessmentStatus"RunTimeAssessmentStatus.of_jsoninletcount=field_mapjson__"count"Integer.of_jsoninmake?runTimeAssessmentStatus?count()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The status summary of the server analysis."]moduleServerSummary=structtypenonrect={serverOsType:ServerOsType.toption[@ocaml.doc"Type of operating system for the servers."];count:Integer.toption[@ocaml.doc"Number of servers."]}letmake?serverOsType=fun?count->fun()->{serverOsType;count}letto_valuex=structure_to_value[("ServerOsType",(Option.mapx.serverOsType~f:ServerOsType.to_value));("count",(Option.mapx.count~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letcount=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"count")inletserverOsType=(Option.map~f:ServerOsType.of_xml)(Xml.childxml_arg0"ServerOsType")inmake?count?serverOsType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letcount=field_mapjson__"count"Integer.of_jsoninletserverOsType=field_mapjson__"ServerOsType"ServerOsType.of_jsoninmake?count?serverOsType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Object containing details about the servers imported by Application Discovery Service"]moduleErrorMessage=structtypenonrect=stringletcontext_="errorMessage"letmakei=iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"errorMessage"jletto_json=simple_to_jsonto_valueendmoduleSourceCode=structtypenonrect={location:Location.toption[@ocaml.doc"The repository name for the source code."];projectName:ProjectName.toption[@ocaml.doc"The name of the project."];sourceVersion:SourceVersion.toption[@ocaml.doc"The branch of the source code."];versionControl:VersionControl.toption[@ocaml.doc"The type of repository to use for the source code."]}letmake?location=fun?projectName->fun?sourceVersion->fun?versionControl->fun()->{location;projectName;sourceVersion;versionControl}letto_valuex=structure_to_value[("location",(Option.mapx.location~f:Location.to_value));("projectName",(Option.mapx.projectName~f:ProjectName.to_value));("sourceVersion",(Option.mapx.sourceVersion~f:SourceVersion.to_value));("versionControl",(Option.mapx.versionControl~f:VersionControl.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letversionControl=(Option.map~f:VersionControl.of_xml)(Xml.childxml_arg0"versionControl")inletsourceVersion=(Option.map~f:SourceVersion.of_xml)(Xml.childxml_arg0"sourceVersion")inletprojectName=(Option.map~f:ProjectName.of_xml)(Xml.childxml_arg0"projectName")inletlocation=(Option.map~f:Location.of_xml)(Xml.childxml_arg0"location")inmake?versionControl?sourceVersion?projectName?location()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letversionControl=field_mapjson__"versionControl"VersionControl.of_jsoninletsourceVersion=field_mapjson__"sourceVersion"SourceVersion.of_jsoninletprojectName=field_mapjson__"projectName"ProjectName.of_jsoninletlocation=field_mapjson__"location"Location.of_jsoninmake?versionControl?sourceVersion?projectName?location()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Object containing source code information that is linked to an application component."]moduleGroup=structtypenonrect={name:GroupName.toption[@ocaml.doc"The key of the specific import group."];value:String_.toption[@ocaml.doc"The value of the specific import group."]}letmake?name=fun?value->fun()->{name;value}letto_valuex=structure_to_value[("name",(Option.mapx.name~f:GroupName.to_value));("value",(Option.mapx.value~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"value")inletname=(Option.map~f:GroupName.of_xml)(Xml.childxml_arg0"name")inmake?value?name()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalue=field_mapjson__"value"String_.of_jsoninletname=field_mapjson__"name"GroupName.of_jsoninmake?value?name()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The object containing information about distinct imports or groups for Strategy Recommendations."]moduleAssessmentTarget=structtypenonrect={condition:Condition.t[@ocaml.doc"Condition of an assessment."];name:String_.t[@ocaml.doc"Name of an assessment."];values:AssessmentTargetValues.t[@ocaml.doc"Values of an assessment."]}letcontext_="AssessmentTarget"letmake~condition=fun~name->fun~values->fun()->{condition;name;values}letto_valuex=structure_to_value[("condition",(Some(Condition.to_valuex.condition)));("name",(Some(String_.to_valuex.name)));("values",(Some(AssessmentTargetValues.to_valuex.values)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvalues=AssessmentTargetValues.of_xml(Xml.child_exn~context:context_xml_arg0"values")inletname=String_.of_xml(Xml.child_exn~context:context_xml_arg0"name")inletcondition=Condition.of_xml(Xml.child_exn~context:context_xml_arg0"condition")inmake~values~name~condition()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvalues=field_map_exnjson__"values"AssessmentTargetValues.of_jsoninletname=field_map_exnjson__"name"String_.of_jsoninletcondition=field_map_exnjson__"condition"Condition.of_jsoninmake~values~name~condition()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Defines the criteria of assessment."]moduleManagementPreference=structtypenonrect={awsManagedResources:AwsManagedResources.toption[@ocaml.doc"Indicates interest in solutions that are managed by AWS."];noPreference:NoManagementPreference.toption[@ocaml.doc"No specific preference."];selfManageResources:SelfManageResources.toption[@ocaml.doc"Indicates interest in managing your own resources on AWS."]}letmake?awsManagedResources=fun?noPreference->fun?selfManageResources->fun()->{awsManagedResources;noPreference;selfManageResources}letto_valuex=structure_to_value[("awsManagedResources",(Option.mapx.awsManagedResources~f:AwsManagedResources.to_value));("noPreference",(Option.mapx.noPreference~f:NoManagementPreference.to_value));("selfManageResources",(Option.mapx.selfManageResources~f:SelfManageResources.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letselfManageResources=(Option.map~f:SelfManageResources.of_xml)(Xml.childxml_arg0"selfManageResources")inletnoPreference=(Option.map~f:NoManagementPreference.of_xml)(Xml.childxml_arg0"noPreference")inletawsManagedResources=(Option.map~f:AwsManagedResources.of_xml)(Xml.childxml_arg0"awsManagedResources")inmake?selfManageResources?noPreference?awsManagedResources()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letselfManageResources=field_mapjson__"selfManageResources"SelfManageResources.of_jsoninletnoPreference=field_mapjson__"noPreference"NoManagementPreference.of_jsoninletawsManagedResources=field_mapjson__"awsManagedResources"AwsManagedResources.of_jsoninmake?selfManageResources?noPreference?awsManagedResources()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Preferences for migrating an application to AWS."]moduleDatabaseManagementPreference=structtypenonrect=|AWS_managed|Self_manage|No_preference|Non_static_idofstringletmakei=iletto_string=function|AWS_managed->"AWS-managed"|Self_manage->"Self-manage"|No_preference->"No preference"|Non_static_ids->sletof_string=function|"AWS-managed"->AWS_managed|"Self-manage"->Self_manage|"No preference"->No_preference|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 DatabaseManagementPreference"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DatabaseManagementPreference"j)letto_json=simple_to_jsonto_valueendmoduleDatabaseMigrationPreference=structtypenonrect={heterogeneous:Heterogeneous.toption[@ocaml.doc"Indicates whether you are interested in moving from one type of database to another. For example, from SQL Server to Amazon Aurora MySQL-Compatible Edition."];homogeneous:Homogeneous.toption[@ocaml.doc"Indicates whether you are interested in moving to the same type of database into AWS. For example, from SQL Server in your environment to SQL Server on AWS."];noPreference:NoDatabaseMigrationPreference.toption[@ocaml.doc"Indicated that you do not prefer heterogeneous or homogeneous."]}letmake?heterogeneous=fun?homogeneous->fun?noPreference->fun()->{heterogeneous;homogeneous;noPreference}letto_valuex=structure_to_value[("heterogeneous",(Option.mapx.heterogeneous~f:Heterogeneous.to_value));("homogeneous",(Option.mapx.homogeneous~f:Homogeneous.to_value));("noPreference",(Option.mapx.noPreference~f:NoDatabaseMigrationPreference.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnoPreference=(Option.map~f:NoDatabaseMigrationPreference.of_xml)(Xml.childxml_arg0"noPreference")inlethomogeneous=(Option.map~f:Homogeneous.of_xml)(Xml.childxml_arg0"homogeneous")inletheterogeneous=(Option.map~f:Heterogeneous.of_xml)(Xml.childxml_arg0"heterogeneous")inmake?noPreference?homogeneous?heterogeneous()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnoPreference=field_mapjson__"noPreference"NoDatabaseMigrationPreference.of_jsoninlethomogeneous=field_mapjson__"homogeneous"Homogeneous.of_jsoninletheterogeneous=field_mapjson__"heterogeneous"Heterogeneous.of_jsoninmake?noPreference?homogeneous?heterogeneous()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Preferences for migrating a database to AWS."]moduleBusinessGoals=structtypenonrect={licenseCostReduction:BusinessGoalsInteger.toption[@ocaml.doc"Business goal to reduce license costs."];modernizeInfrastructureWithCloudNativeTechnologies:BusinessGoalsInteger.toption[@ocaml.doc"Business goal to modernize infrastructure by moving to cloud native technologies."];reduceOperationalOverheadWithManagedServices:BusinessGoalsInteger.toption[@ocaml.doc"Business goal to reduce the operational overhead on the team by moving into managed services."];speedOfMigration:BusinessGoalsInteger.toption[@ocaml.doc"Business goal to achieve migration at a fast pace."]}letmake?licenseCostReduction=fun?modernizeInfrastructureWithCloudNativeTechnologies->fun?reduceOperationalOverheadWithManagedServices->fun?speedOfMigration->fun()->{licenseCostReduction;modernizeInfrastructureWithCloudNativeTechnologies;reduceOperationalOverheadWithManagedServices;speedOfMigration}letto_valuex=structure_to_value[("licenseCostReduction",(Option.mapx.licenseCostReduction~f:BusinessGoalsInteger.to_value));("modernizeInfrastructureWithCloudNativeTechnologies",(Option.mapx.modernizeInfrastructureWithCloudNativeTechnologies~f:BusinessGoalsInteger.to_value));("reduceOperationalOverheadWithManagedServices",(Option.mapx.reduceOperationalOverheadWithManagedServices~f:BusinessGoalsInteger.to_value));("speedOfMigration",(Option.mapx.speedOfMigration~f:BusinessGoalsInteger.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letspeedOfMigration=(Option.map~f:BusinessGoalsInteger.of_xml)(Xml.childxml_arg0"speedOfMigration")inletreduceOperationalOverheadWithManagedServices=(Option.map~f:BusinessGoalsInteger.of_xml)(Xml.childxml_arg0"reduceOperationalOverheadWithManagedServices")inletmodernizeInfrastructureWithCloudNativeTechnologies=(Option.map~f:BusinessGoalsInteger.of_xml)(Xml.childxml_arg0"modernizeInfrastructureWithCloudNativeTechnologies")inletlicenseCostReduction=(Option.map~f:BusinessGoalsInteger.of_xml)(Xml.childxml_arg0"licenseCostReduction")inmake?speedOfMigration?reduceOperationalOverheadWithManagedServices?modernizeInfrastructureWithCloudNativeTechnologies?licenseCostReduction()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letspeedOfMigration=field_mapjson__"speedOfMigration"BusinessGoalsInteger.of_jsoninletreduceOperationalOverheadWithManagedServices=field_mapjson__"reduceOperationalOverheadWithManagedServices"BusinessGoalsInteger.of_jsoninletmodernizeInfrastructureWithCloudNativeTechnologies=field_mapjson__"modernizeInfrastructureWithCloudNativeTechnologies"BusinessGoalsInteger.of_jsoninletlicenseCostReduction=field_mapjson__"licenseCostReduction"BusinessGoalsInteger.of_jsoninmake?speedOfMigration?reduceOperationalOverheadWithManagedServices?modernizeInfrastructureWithCloudNativeTechnologies?licenseCostReduction()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Business goals that you specify."]moduleServerDetail=structtypenonrect={antipatternReportS3Object:S3Object.toption[@ocaml.doc"The S3 bucket name and Amazon S3 key name for anti-pattern report."];antipatternReportStatus:AntipatternReportStatus.toption[@ocaml.doc"The status of the anti-pattern report generation."];antipatternReportStatusMessage:StatusMessage.toption[@ocaml.doc"A message about the status of the anti-pattern report generation."];applicationComponentStrategySummary:ListStrategySummary.toption[@ocaml.doc"A list of strategy summaries."];dataCollectionStatus:RunTimeAssessmentStatus.toption[@ocaml.doc"The status of assessment for the server."];id:ResourceId.toption[@ocaml.doc"The server ID."];lastAnalyzedTimestamp:TimeStamp.toption[@ocaml.doc"The timestamp of when the server was assessed."];listAntipatternSeveritySummary:ListAntipatternSeveritySummary.toption[@ocaml.doc"A list of anti-pattern severity summaries."];name:ResourceName.toption[@ocaml.doc"The name of the server."];recommendationSet:RecommendationSet.toption[@ocaml.doc"A set of recommendations."];serverError:ServerError.toption[@ocaml.doc"The error in server analysis."];serverType:String_.toption[@ocaml.doc"The type of server."];statusMessage:StatusMessage.toption[@ocaml.doc"A message about the status of data collection, which contains detailed descriptions of any error messages."];systemInfo:SystemInfo.toption[@ocaml.doc"System information about the server."]}letmake?antipatternReportS3Object=fun?antipatternReportStatus->fun?antipatternReportStatusMessage->fun?applicationComponentStrategySummary->fun?dataCollectionStatus->fun?id->fun?lastAnalyzedTimestamp->fun?listAntipatternSeveritySummary->fun?name->fun?recommendationSet->fun?serverError->fun?serverType->fun?statusMessage->fun?systemInfo->fun()->{antipatternReportS3Object;antipatternReportStatus;antipatternReportStatusMessage;applicationComponentStrategySummary;dataCollectionStatus;id;lastAnalyzedTimestamp;listAntipatternSeveritySummary;name;recommendationSet;serverError;serverType;statusMessage;systemInfo}letto_valuex=structure_to_value[("antipatternReportS3Object",(Option.mapx.antipatternReportS3Object~f:S3Object.to_value));("antipatternReportStatus",(Option.mapx.antipatternReportStatus~f:AntipatternReportStatus.to_value));("antipatternReportStatusMessage",(Option.mapx.antipatternReportStatusMessage~f:StatusMessage.to_value));("applicationComponentStrategySummary",(Option.mapx.applicationComponentStrategySummary~f:ListStrategySummary.to_value));("dataCollectionStatus",(Option.mapx.dataCollectionStatus~f:RunTimeAssessmentStatus.to_value));("id",(Option.mapx.id~f:ResourceId.to_value));("lastAnalyzedTimestamp",(Option.mapx.lastAnalyzedTimestamp~f:TimeStamp.to_value));("listAntipatternSeveritySummary",(Option.mapx.listAntipatternSeveritySummary~f:ListAntipatternSeveritySummary.to_value));("name",(Option.mapx.name~f:ResourceName.to_value));("recommendationSet",(Option.mapx.recommendationSet~f:RecommendationSet.to_value));("serverError",(Option.mapx.serverError~f:ServerError.to_value));("serverType",(Option.mapx.serverType~f:String_.to_value));("statusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value));("systemInfo",(Option.mapx.systemInfo~f:SystemInfo.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsystemInfo=(Option.map~f:SystemInfo.of_xml)(Xml.childxml_arg0"systemInfo")inletstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"statusMessage")inletserverType=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"serverType")inletserverError=(Option.map~f:ServerError.of_xml)(Xml.childxml_arg0"serverError")inletrecommendationSet=(Option.map~f:RecommendationSet.of_xml)(Xml.childxml_arg0"recommendationSet")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"name")inletlistAntipatternSeveritySummary=(Option.map~f:ListAntipatternSeveritySummary.of_xml)(Xml.childxml_arg0"listAntipatternSeveritySummary")inletlastAnalyzedTimestamp=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"lastAnalyzedTimestamp")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"id")inletdataCollectionStatus=(Option.map~f:RunTimeAssessmentStatus.of_xml)(Xml.childxml_arg0"dataCollectionStatus")inletapplicationComponentStrategySummary=(Option.map~f:ListStrategySummary.of_xml)(Xml.childxml_arg0"applicationComponentStrategySummary")inletantipatternReportStatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"antipatternReportStatusMessage")inletantipatternReportStatus=(Option.map~f:AntipatternReportStatus.of_xml)(Xml.childxml_arg0"antipatternReportStatus")inletantipatternReportS3Object=(Option.map~f:S3Object.of_xml)(Xml.childxml_arg0"antipatternReportS3Object")inmake?systemInfo?statusMessage?serverType?serverError?recommendationSet?name?listAntipatternSeveritySummary?lastAnalyzedTimestamp?id?dataCollectionStatus?applicationComponentStrategySummary?antipatternReportStatusMessage?antipatternReportStatus?antipatternReportS3Object()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsystemInfo=field_mapjson__"systemInfo"SystemInfo.of_jsoninletstatusMessage=field_mapjson__"statusMessage"StatusMessage.of_jsoninletserverType=field_mapjson__"serverType"String_.of_jsoninletserverError=field_mapjson__"serverError"ServerError.of_jsoninletrecommendationSet=field_mapjson__"recommendationSet"RecommendationSet.of_jsoninletname=field_mapjson__"name"ResourceName.of_jsoninletlistAntipatternSeveritySummary=field_mapjson__"listAntipatternSeveritySummary"ListAntipatternSeveritySummary.of_jsoninletlastAnalyzedTimestamp=field_mapjson__"lastAnalyzedTimestamp"TimeStamp.of_jsoninletid=field_mapjson__"id"ResourceId.of_jsoninletdataCollectionStatus=field_mapjson__"dataCollectionStatus"RunTimeAssessmentStatus.of_jsoninletapplicationComponentStrategySummary=field_mapjson__"applicationComponentStrategySummary"ListStrategySummary.of_jsoninletantipatternReportStatusMessage=field_mapjson__"antipatternReportStatusMessage"StatusMessage.of_jsoninletantipatternReportStatus=field_mapjson__"antipatternReportStatus"AntipatternReportStatus.of_jsoninletantipatternReportS3Object=field_mapjson__"antipatternReportS3Object"S3Object.of_jsoninmake?systemInfo?statusMessage?serverType?serverError?recommendationSet?name?listAntipatternSeveritySummary?lastAnalyzedTimestamp?id?dataCollectionStatus?applicationComponentStrategySummary?antipatternReportStatusMessage?antipatternReportStatus?antipatternReportS3Object()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information about a server."]moduleImportFileTaskInformation=structtypenonrect={completionTime:TimeStamp.toption[@ocaml.doc"The time that the import task completes."];id:String_.toption[@ocaml.doc"The ID of the import file task."];importName:String_.toption[@ocaml.doc"The name of the import task given in StartImportFileTask."];inputS3Bucket:ImportS3Bucket.toption[@ocaml.doc"The S3 bucket where the import file is located."];inputS3Key:ImportS3Key.toption[@ocaml.doc"The Amazon S3 key name of the import file."];numberOfRecordsFailed:Integer.toption[@ocaml.doc"The number of records that failed to be imported."];numberOfRecordsSuccess:Integer.toption[@ocaml.doc"The number of records successfully imported."];startTime:TimeStamp.toption[@ocaml.doc"Start time of the import task."];status:ImportFileTaskStatus.toption[@ocaml.doc"Status of import file task."];statusReportS3Bucket:ImportS3Bucket.toption[@ocaml.doc"The S3 bucket name for status report of import task."];statusReportS3Key:ImportS3Key.toption[@ocaml.doc"The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not."]}letmake?completionTime=fun?id->fun?importName->fun?inputS3Bucket->fun?inputS3Key->fun?numberOfRecordsFailed->fun?numberOfRecordsSuccess->fun?startTime->fun?status->fun?statusReportS3Bucket->fun?statusReportS3Key->fun()->{completionTime;id;importName;inputS3Bucket;inputS3Key;numberOfRecordsFailed;numberOfRecordsSuccess;startTime;status;statusReportS3Bucket;statusReportS3Key}letto_valuex=structure_to_value[("completionTime",(Option.mapx.completionTime~f:TimeStamp.to_value));("id",(Option.mapx.id~f:String_.to_value));("importName",(Option.mapx.importName~f:String_.to_value));("inputS3Bucket",(Option.mapx.inputS3Bucket~f:ImportS3Bucket.to_value));("inputS3Key",(Option.mapx.inputS3Key~f:ImportS3Key.to_value));("numberOfRecordsFailed",(Option.mapx.numberOfRecordsFailed~f:Integer.to_value));("numberOfRecordsSuccess",(Option.mapx.numberOfRecordsSuccess~f:Integer.to_value));("startTime",(Option.mapx.startTime~f:TimeStamp.to_value));("status",(Option.mapx.status~f:ImportFileTaskStatus.to_value));("statusReportS3Bucket",(Option.mapx.statusReportS3Bucket~f:ImportS3Bucket.to_value));("statusReportS3Key",(Option.mapx.statusReportS3Key~f:ImportS3Key.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusReportS3Key=(Option.map~f:ImportS3Key.of_xml)(Xml.childxml_arg0"statusReportS3Key")inletstatusReportS3Bucket=(Option.map~f:ImportS3Bucket.of_xml)(Xml.childxml_arg0"statusReportS3Bucket")inletstatus=(Option.map~f:ImportFileTaskStatus.of_xml)(Xml.childxml_arg0"status")inletstartTime=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"startTime")inletnumberOfRecordsSuccess=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"numberOfRecordsSuccess")inletnumberOfRecordsFailed=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"numberOfRecordsFailed")inletinputS3Key=(Option.map~f:ImportS3Key.of_xml)(Xml.childxml_arg0"inputS3Key")inletinputS3Bucket=(Option.map~f:ImportS3Bucket.of_xml)(Xml.childxml_arg0"inputS3Bucket")inletimportName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"importName")inletid=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"id")inletcompletionTime=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"completionTime")inmake?statusReportS3Key?statusReportS3Bucket?status?startTime?numberOfRecordsSuccess?numberOfRecordsFailed?inputS3Key?inputS3Bucket?importName?id?completionTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusReportS3Key=field_mapjson__"statusReportS3Key"ImportS3Key.of_jsoninletstatusReportS3Bucket=field_mapjson__"statusReportS3Bucket"ImportS3Bucket.of_jsoninletstatus=field_mapjson__"status"ImportFileTaskStatus.of_jsoninletstartTime=field_mapjson__"startTime"TimeStamp.of_jsoninletnumberOfRecordsSuccess=field_mapjson__"numberOfRecordsSuccess"Integer.of_jsoninletnumberOfRecordsFailed=field_mapjson__"numberOfRecordsFailed"Integer.of_jsoninletinputS3Key=field_mapjson__"inputS3Key"ImportS3Key.of_jsoninletinputS3Bucket=field_mapjson__"inputS3Bucket"ImportS3Bucket.of_jsoninletimportName=field_mapjson__"importName"String_.of_jsoninletid=field_mapjson__"id"String_.of_jsoninletcompletionTime=field_mapjson__"completionTime"TimeStamp.of_jsoninmake?statusReportS3Key?statusReportS3Bucket?status?startTime?numberOfRecordsSuccess?numberOfRecordsFailed?inputS3Key?inputS3Bucket?importName?id?completionTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about the import file tasks you request."]moduleCollector=structtypenonrect={collectorHealth:CollectorHealth.toption[@ocaml.doc"Indicates the health of a collector."];collectorId:String_.toption[@ocaml.doc"The ID of the collector."];collectorVersion:String_.toption[@ocaml.doc"Current version of the collector that is running in the environment that you specify."];configurationSummary:ConfigurationSummary.toption[@ocaml.doc"Summary of the collector configuration."];hostName:String_.toption[@ocaml.doc"Hostname of the server that is hosting the collector."];ipAddress:String_.toption[@ocaml.doc"IP address of the server that is hosting the collector."];lastActivityTimeStamp:String_.toption[@ocaml.doc"Time when the collector last pinged the service."];registeredTimeStamp:String_.toption[@ocaml.doc"Time when the collector registered with the service."]}letmake?collectorHealth=fun?collectorId->fun?collectorVersion->fun?configurationSummary->fun?hostName->fun?ipAddress->fun?lastActivityTimeStamp->fun?registeredTimeStamp->fun()->{collectorHealth;collectorId;collectorVersion;configurationSummary;hostName;ipAddress;lastActivityTimeStamp;registeredTimeStamp}letto_valuex=structure_to_value[("collectorHealth",(Option.mapx.collectorHealth~f:CollectorHealth.to_value));("collectorId",(Option.mapx.collectorId~f:String_.to_value));("collectorVersion",(Option.mapx.collectorVersion~f:String_.to_value));("configurationSummary",(Option.mapx.configurationSummary~f:ConfigurationSummary.to_value));("hostName",(Option.mapx.hostName~f:String_.to_value));("ipAddress",(Option.mapx.ipAddress~f:String_.to_value));("lastActivityTimeStamp",(Option.mapx.lastActivityTimeStamp~f:String_.to_value));("registeredTimeStamp",(Option.mapx.registeredTimeStamp~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letregisteredTimeStamp=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"registeredTimeStamp")inletlastActivityTimeStamp=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"lastActivityTimeStamp")inletipAddress=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ipAddress")inlethostName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"hostName")inletconfigurationSummary=(Option.map~f:ConfigurationSummary.of_xml)(Xml.childxml_arg0"configurationSummary")inletcollectorVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"collectorVersion")inletcollectorId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"collectorId")inletcollectorHealth=(Option.map~f:CollectorHealth.of_xml)(Xml.childxml_arg0"collectorHealth")inmake?registeredTimeStamp?lastActivityTimeStamp?ipAddress?hostName?configurationSummary?collectorVersion?collectorId?collectorHealth()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letregisteredTimeStamp=field_mapjson__"registeredTimeStamp"String_.of_jsoninletlastActivityTimeStamp=field_mapjson__"lastActivityTimeStamp"String_.of_jsoninletipAddress=field_mapjson__"ipAddress"String_.of_jsoninlethostName=field_mapjson__"hostName"String_.of_jsoninletconfigurationSummary=field_mapjson__"configurationSummary"ConfigurationSummary.of_jsoninletcollectorVersion=field_mapjson__"collectorVersion"String_.of_jsoninletcollectorId=field_mapjson__"collectorId"String_.of_jsoninletcollectorHealth=field_mapjson__"collectorHealth"CollectorHealth.of_jsoninmake?registeredTimeStamp?lastActivityTimeStamp?ipAddress?hostName?configurationSummary?collectorVersion?collectorId?collectorHealth()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Process data collector that runs in the environment that you specify."]moduleApplicationComponentDetail=structtypenonrect={analysisStatus:SrcCodeOrDbAnalysisStatus.toption[@ocaml.doc"The status of analysis, if the application component has source code or an associated database."];antipatternReportS3Object:S3Object.toption[@ocaml.doc"The S3 bucket name and the Amazon S3 key name for the anti-pattern report."];antipatternReportStatus:AntipatternReportStatus.toption[@ocaml.doc"The status of the anti-pattern report generation."];antipatternReportStatusMessage:StatusMessage.toption[@ocaml.doc"The status message for the anti-pattern."];appType:AppType.toption[@ocaml.doc"The type of application component."];appUnitError:AppUnitError.toption[@ocaml.doc"The error in the analysis of the source code or database."];associatedServerId:ServerId.toption[@ocaml.doc"The ID of the server that the application component is running on."];databaseConfigDetail:DatabaseConfigDetail.toption[@ocaml.doc"Configuration details for the database associated with the application component."];id:ResourceId.toption[@ocaml.doc"The ID of the application component."];inclusionStatus:InclusionStatus.toption[@ocaml.doc"Indicates whether the application component has been included for server recommendation or not."];lastAnalyzedTimestamp:TimeStamp.toption[@ocaml.doc"The timestamp of when the application component was assessed."];listAntipatternSeveritySummary:ListAntipatternSeveritySummary.toption[@ocaml.doc"A list of anti-pattern severity summaries."];moreServerAssociationExists:Boolean.toption[@ocaml.doc"Set to true if the application component is running on multiple servers."];name:ResourceName.toption[@ocaml.doc"The name of application component."];osDriver:String_.toption[@ocaml.doc"OS driver."];osVersion:String_.toption[@ocaml.doc"OS version."];recommendationSet:RecommendationSet.toption[@ocaml.doc"The top recommendation set for the application component."];resourceSubType:ResourceSubType.toption[@ocaml.doc"The application component subtype."];resultList:ResultList.toption[@ocaml.doc"A list of the analysis results."];runtimeStatus:RuntimeAnalysisStatus.toption[@ocaml.doc"The status of the application unit."];runtimeStatusMessage:StatusMessage.toption[@ocaml.doc"The status message for the application unit."];sourceCodeRepositories:SourceCodeRepositories.toption[@ocaml.doc"Details about the source code repository associated with the application component."];statusMessage:StatusMessage.toption[@ocaml.doc"A detailed description of the analysis status and any failure message."]}letmake?analysisStatus=fun?antipatternReportS3Object->fun?antipatternReportStatus->fun?antipatternReportStatusMessage->fun?appType->fun?appUnitError->fun?associatedServerId->fun?databaseConfigDetail->fun?id->fun?inclusionStatus->fun?lastAnalyzedTimestamp->fun?listAntipatternSeveritySummary->fun?moreServerAssociationExists->fun?name->fun?osDriver->fun?osVersion->fun?recommendationSet->fun?resourceSubType->fun?resultList->fun?runtimeStatus->fun?runtimeStatusMessage->fun?sourceCodeRepositories->fun?statusMessage->fun()->{analysisStatus;antipatternReportS3Object;antipatternReportStatus;antipatternReportStatusMessage;appType;appUnitError;associatedServerId;databaseConfigDetail;id;inclusionStatus;lastAnalyzedTimestamp;listAntipatternSeveritySummary;moreServerAssociationExists;name;osDriver;osVersion;recommendationSet;resourceSubType;resultList;runtimeStatus;runtimeStatusMessage;sourceCodeRepositories;statusMessage}letto_valuex=structure_to_value[("analysisStatus",(Option.mapx.analysisStatus~f:SrcCodeOrDbAnalysisStatus.to_value));("antipatternReportS3Object",(Option.mapx.antipatternReportS3Object~f:S3Object.to_value));("antipatternReportStatus",(Option.mapx.antipatternReportStatus~f:AntipatternReportStatus.to_value));("antipatternReportStatusMessage",(Option.mapx.antipatternReportStatusMessage~f:StatusMessage.to_value));("appType",(Option.mapx.appType~f:AppType.to_value));("appUnitError",(Option.mapx.appUnitError~f:AppUnitError.to_value));("associatedServerId",(Option.mapx.associatedServerId~f:ServerId.to_value));("databaseConfigDetail",(Option.mapx.databaseConfigDetail~f:DatabaseConfigDetail.to_value));("id",(Option.mapx.id~f:ResourceId.to_value));("inclusionStatus",(Option.mapx.inclusionStatus~f:InclusionStatus.to_value));("lastAnalyzedTimestamp",(Option.mapx.lastAnalyzedTimestamp~f:TimeStamp.to_value));("listAntipatternSeveritySummary",(Option.mapx.listAntipatternSeveritySummary~f:ListAntipatternSeveritySummary.to_value));("moreServerAssociationExists",(Option.mapx.moreServerAssociationExists~f:Boolean.to_value));("name",(Option.mapx.name~f:ResourceName.to_value));("osDriver",(Option.mapx.osDriver~f:String_.to_value));("osVersion",(Option.mapx.osVersion~f:String_.to_value));("recommendationSet",(Option.mapx.recommendationSet~f:RecommendationSet.to_value));("resourceSubType",(Option.mapx.resourceSubType~f:ResourceSubType.to_value));("resultList",(Option.mapx.resultList~f:ResultList.to_value));("runtimeStatus",(Option.mapx.runtimeStatus~f:RuntimeAnalysisStatus.to_value));("runtimeStatusMessage",(Option.mapx.runtimeStatusMessage~f:StatusMessage.to_value));("sourceCodeRepositories",(Option.mapx.sourceCodeRepositories~f:SourceCodeRepositories.to_value));("statusMessage",(Option.mapx.statusMessage~f:StatusMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"statusMessage")inletsourceCodeRepositories=(Option.map~f:SourceCodeRepositories.of_xml)(Xml.childxml_arg0"sourceCodeRepositories")inletruntimeStatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"runtimeStatusMessage")inletruntimeStatus=(Option.map~f:RuntimeAnalysisStatus.of_xml)(Xml.childxml_arg0"runtimeStatus")inletresultList=(Option.map~f:ResultList.of_xml)(Xml.childxml_arg0"resultList")inletresourceSubType=(Option.map~f:ResourceSubType.of_xml)(Xml.childxml_arg0"resourceSubType")inletrecommendationSet=(Option.map~f:RecommendationSet.of_xml)(Xml.childxml_arg0"recommendationSet")inletosVersion=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"osVersion")inletosDriver=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"osDriver")inletname=(Option.map~f:ResourceName.of_xml)(Xml.childxml_arg0"name")inletmoreServerAssociationExists=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"moreServerAssociationExists")inletlistAntipatternSeveritySummary=(Option.map~f:ListAntipatternSeveritySummary.of_xml)(Xml.childxml_arg0"listAntipatternSeveritySummary")inletlastAnalyzedTimestamp=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"lastAnalyzedTimestamp")inletinclusionStatus=(Option.map~f:InclusionStatus.of_xml)(Xml.childxml_arg0"inclusionStatus")inletid=(Option.map~f:ResourceId.of_xml)(Xml.childxml_arg0"id")inletdatabaseConfigDetail=(Option.map~f:DatabaseConfigDetail.of_xml)(Xml.childxml_arg0"databaseConfigDetail")inletassociatedServerId=(Option.map~f:ServerId.of_xml)(Xml.childxml_arg0"associatedServerId")inletappUnitError=(Option.map~f:AppUnitError.of_xml)(Xml.childxml_arg0"appUnitError")inletappType=(Option.map~f:AppType.of_xml)(Xml.childxml_arg0"appType")inletantipatternReportStatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"antipatternReportStatusMessage")inletantipatternReportStatus=(Option.map~f:AntipatternReportStatus.of_xml)(Xml.childxml_arg0"antipatternReportStatus")inletantipatternReportS3Object=(Option.map~f:S3Object.of_xml)(Xml.childxml_arg0"antipatternReportS3Object")inletanalysisStatus=(Option.map~f:SrcCodeOrDbAnalysisStatus.of_xml)(Xml.childxml_arg0"analysisStatus")inmake?statusMessage?sourceCodeRepositories?runtimeStatusMessage?runtimeStatus?resultList?resourceSubType?recommendationSet?osVersion?osDriver?name?moreServerAssociationExists?listAntipatternSeveritySummary?lastAnalyzedTimestamp?inclusionStatus?id?databaseConfigDetail?associatedServerId?appUnitError?appType?antipatternReportStatusMessage?antipatternReportStatus?antipatternReportS3Object?analysisStatus()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"statusMessage"StatusMessage.of_jsoninletsourceCodeRepositories=field_mapjson__"sourceCodeRepositories"SourceCodeRepositories.of_jsoninletruntimeStatusMessage=field_mapjson__"runtimeStatusMessage"StatusMessage.of_jsoninletruntimeStatus=field_mapjson__"runtimeStatus"RuntimeAnalysisStatus.of_jsoninletresultList=field_mapjson__"resultList"ResultList.of_jsoninletresourceSubType=field_mapjson__"resourceSubType"ResourceSubType.of_jsoninletrecommendationSet=field_mapjson__"recommendationSet"RecommendationSet.of_jsoninletosVersion=field_mapjson__"osVersion"String_.of_jsoninletosDriver=field_mapjson__"osDriver"String_.of_jsoninletname=field_mapjson__"name"ResourceName.of_jsoninletmoreServerAssociationExists=field_mapjson__"moreServerAssociationExists"Boolean.of_jsoninletlistAntipatternSeveritySummary=field_mapjson__"listAntipatternSeveritySummary"ListAntipatternSeveritySummary.of_jsoninletlastAnalyzedTimestamp=field_mapjson__"lastAnalyzedTimestamp"TimeStamp.of_jsoninletinclusionStatus=field_mapjson__"inclusionStatus"InclusionStatus.of_jsoninletid=field_mapjson__"id"ResourceId.of_jsoninletdatabaseConfigDetail=field_mapjson__"databaseConfigDetail"DatabaseConfigDetail.of_jsoninletassociatedServerId=field_mapjson__"associatedServerId"ServerId.of_jsoninletappUnitError=field_mapjson__"appUnitError"AppUnitError.of_jsoninletappType=field_mapjson__"appType"AppType.of_jsoninletantipatternReportStatusMessage=field_mapjson__"antipatternReportStatusMessage"StatusMessage.of_jsoninletantipatternReportStatus=field_mapjson__"antipatternReportStatus"AntipatternReportStatus.of_jsoninletantipatternReportS3Object=field_mapjson__"antipatternReportS3Object"S3Object.of_jsoninletanalysisStatus=field_mapjson__"analysisStatus"SrcCodeOrDbAnalysisStatus.of_jsoninmake?statusMessage?sourceCodeRepositories?runtimeStatusMessage?runtimeStatus?resultList?resourceSubType?recommendationSet?osVersion?osDriver?name?moreServerAssociationExists?listAntipatternSeveritySummary?lastAnalyzedTimestamp?inclusionStatus?id?databaseConfigDetail?associatedServerId?appUnitError?appType?antipatternReportStatusMessage?antipatternReportStatus?antipatternReportS3Object?analysisStatus()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains detailed information about an application component."]moduleAnalyzableServerSummary=structtypenonrect={hostname:String_.toption[@ocaml.doc"The host name of the analyzable server."];ipAddress:String_.toption[@ocaml.doc"The ip address of the analyzable server."];source:String_.toption[@ocaml.doc"The data source of the analyzable server."];vmId:String_.toption[@ocaml.doc"The virtual machine id of the analyzable server."]}letmake?hostname=fun?ipAddress->fun?source->fun?vmId->fun()->{hostname;ipAddress;source;vmId}letto_valuex=structure_to_value[("hostname",(Option.mapx.hostname~f:String_.to_value));("ipAddress",(Option.mapx.ipAddress~f:String_.to_value));("source",(Option.mapx.source~f:String_.to_value));("vmId",(Option.mapx.vmId~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letvmId=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"vmId")inletsource=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"source")inletipAddress=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"ipAddress")inlethostname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"hostname")inmake?vmId?source?ipAddress?hostname()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letvmId=field_mapjson__"vmId"String_.of_jsoninletsource=field_mapjson__"source"String_.of_jsoninletipAddress=field_mapjson__"ipAddress"String_.of_jsoninlethostname=field_mapjson__"hostname"String_.of_jsoninmake?vmId?source?ipAddress?hostname()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Summary information about an analyzable server."]moduleServerStrategy=structtypenonrect={isPreferred:Boolean.toption[@ocaml.doc"Set to true if the recommendation is set as preferred."];numberOfApplicationComponents:Integer.toption[@ocaml.doc"The number of application components with this strategy recommendation running on the server."];recommendation:RecommendationSet.toption[@ocaml.doc"Strategy recommendation for the server."];status:StrategyRecommendation.toption[@ocaml.doc"The recommendation status of the strategy for the server."]}letmake?isPreferred=fun?numberOfApplicationComponents->fun?recommendation->fun?status->fun()->{isPreferred;numberOfApplicationComponents;recommendation;status}letto_valuex=structure_to_value[("isPreferred",(Option.mapx.isPreferred~f:Boolean.to_value));("numberOfApplicationComponents",(Option.mapx.numberOfApplicationComponents~f:Integer.to_value));("recommendation",(Option.mapx.recommendation~f:RecommendationSet.to_value));("status",(Option.mapx.status~f:StrategyRecommendation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:StrategyRecommendation.of_xml)(Xml.childxml_arg0"status")inletrecommendation=(Option.map~f:RecommendationSet.of_xml)(Xml.childxml_arg0"recommendation")inletnumberOfApplicationComponents=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"numberOfApplicationComponents")inletisPreferred=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"isPreferred")inmake?status?recommendation?numberOfApplicationComponents?isPreferred()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"StrategyRecommendation.of_jsoninletrecommendation=field_mapjson__"recommendation"RecommendationSet.of_jsoninletnumberOfApplicationComponents=field_mapjson__"numberOfApplicationComponents"Integer.of_jsoninletisPreferred=field_mapjson__"isPreferred"Boolean.of_jsoninmake?status?recommendation?numberOfApplicationComponents?isPreferred()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a strategy recommendation for a server."]moduleAssociatedApplication=structtypenonrect={id:String_.toption[@ocaml.doc"ID of the application as defined in Application Discovery Service."];name:String_.toption[@ocaml.doc"Name of the application as defined in Application Discovery Service."]}letmake?id=fun?name->fun()->{id;name}letto_valuex=structure_to_value[("id",(Option.mapx.id~f:String_.to_value));("name",(Option.mapx.name~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letname=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"name")inletid=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"id")inmake?name?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letname=field_mapjson__"name"String_.of_jsoninletid=field_mapjson__"id"String_.of_jsoninmake?name?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Object containing details about applications as defined in Application Discovery Service."]moduleRecommendationReportStatus=structtypenonrect=|FAILED|IN_PROGRESS|SUCCESS|Non_static_idofstringletmakei=iletto_string=function|FAILED->"FAILED"|IN_PROGRESS->"IN_PROGRESS"|SUCCESS->"SUCCESS"|Non_static_ids->sletof_string=function|"FAILED"->FAILED|"IN_PROGRESS"->IN_PROGRESS|"SUCCESS"->SUCCESS|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 RecommendationReportStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"RecommendationReportStatus"j)letto_json=simple_to_jsonto_valueendmoduleRecommendationReportStatusMessage=structtypenonrect=stringletcontext_="RecommendationReportStatusMessage"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:512)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RecommendationReportStatusMessage"jletto_json=simple_to_jsonto_valueendmoduleRecommendationReportTimeStamp=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_valueendmoduleS3Keys=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"S3Keys"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListApplicationComponentStatusSummary=structtypenonrect=ApplicationComponentStatusSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApplicationComponentStatusSummary.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:ApplicationComponentStatusSummary.of_xml)letof_jsonj=list_of_json~kind:"ListApplicationComponentStatusSummary"~of_json:ApplicationComponentStatusSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListApplicationComponentSummary=structtypenonrect=ApplicationComponentSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApplicationComponentSummary.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:ApplicationComponentSummary.of_xml)letof_jsonj=list_of_json~kind:"ListApplicationComponentSummary"~of_json:ApplicationComponentSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListServerStatusSummary=structtypenonrect=ServerStatusSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServerStatusSummary.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:ServerStatusSummary.of_xml)letof_jsonj=list_of_json~kind:"ListServerStatusSummary"~of_json:ServerStatusSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleListServerSummary=structtypenonrect=ServerSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServerSummary.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:ServerSummary.of_xml)letof_jsonj=list_of_json~kind:"ListServerSummary"~of_json:ServerSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAssessmentStatus=structtypenonrect=|IN_PROGRESS|COMPLETE|FAILED|STOPPED|Non_static_idofstringletmakei=iletto_string=function|IN_PROGRESS->"IN_PROGRESS"|COMPLETE->"COMPLETE"|FAILED->"FAILED"|STOPPED->"STOPPED"|Non_static_ids->sletof_string=function|"IN_PROGRESS"->IN_PROGRESS|"COMPLETE"->COMPLETE|"FAILED"->FAILED|"STOPPED"->STOPPED|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 AssessmentStatus"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AssessmentStatus"j)letto_json=simple_to_jsonto_valueendmoduleAssessmentStatusMessage=structtypenonrect=stringletcontext_="AssessmentStatusMessage"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:512)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AssessmentStatusMessage"jletto_json=simple_to_jsonto_valueendmoduleApplicationComponentStrategy=structtypenonrect={isPreferred:Boolean.toption[@ocaml.doc"Set to true if the recommendation is set as preferred."];recommendation:RecommendationSet.toption[@ocaml.doc"Strategy recommendation for the application component."];status:StrategyRecommendation.toption[@ocaml.doc"The recommendation status of a strategy for an application component."]}letmake?isPreferred=fun?recommendation->fun?status->fun()->{isPreferred;recommendation;status}letto_valuex=structure_to_value[("isPreferred",(Option.mapx.isPreferred~f:Boolean.to_value));("recommendation",(Option.mapx.recommendation~f:RecommendationSet.to_value));("status",(Option.mapx.status~f:StrategyRecommendation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatus=(Option.map~f:StrategyRecommendation.of_xml)(Xml.childxml_arg0"status")inletrecommendation=(Option.map~f:RecommendationSet.of_xml)(Xml.childxml_arg0"recommendation")inletisPreferred=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"isPreferred")inmake?status?recommendation?isPreferred()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatus=field_mapjson__"status"StrategyRecommendation.of_jsoninletrecommendation=field_mapjson__"recommendation"RecommendationSet.of_jsoninletisPreferred=field_mapjson__"isPreferred"Boolean.of_jsoninmake?status?recommendation?isPreferred()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains information about a strategy recommendation for an application component."]moduleInternalServerException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The server experienced an internal error. Try again."]moduleResourceNotFoundException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The specified ID in the request is not found."]moduleThrottlingException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request was denied due to request throttling."]moduleValidationException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"The request body isn't valid."]moduleStrategyOption=structtypenonrect={isPreferred:Boolean.toption[@ocaml.doc"Indicates if a specific strategy is preferred for the application component."];strategy:Strategy.toption[@ocaml.doc"Type of transformation. For example, Rehost, Replatform, and so on."];targetDestination:TargetDestination.toption[@ocaml.doc"Destination information about where the application component can migrate to. For example, EC2, ECS, and so on."];toolName:TransformationToolName.toption[@ocaml.doc"The name of the tool that can be used to transform an application component using this strategy."]}letmake?isPreferred=fun?strategy->fun?targetDestination->fun?toolName->fun()->{isPreferred;strategy;targetDestination;toolName}letto_valuex=structure_to_value[("isPreferred",(Option.mapx.isPreferred~f:Boolean.to_value));("strategy",(Option.mapx.strategy~f:Strategy.to_value));("targetDestination",(Option.mapx.targetDestination~f:TargetDestination.to_value));("toolName",(Option.mapx.toolName~f:TransformationToolName.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettoolName=(Option.map~f:TransformationToolName.of_xml)(Xml.childxml_arg0"toolName")inlettargetDestination=(Option.map~f:TargetDestination.of_xml)(Xml.childxml_arg0"targetDestination")inletstrategy=(Option.map~f:Strategy.of_xml)(Xml.childxml_arg0"strategy")inletisPreferred=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"isPreferred")inmake?toolName?targetDestination?strategy?isPreferred()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettoolName=field_mapjson__"toolName"TransformationToolName.of_jsoninlettargetDestination=field_mapjson__"targetDestination"TargetDestination.of_jsoninletstrategy=field_mapjson__"strategy"Strategy.of_jsoninletisPreferred=field_mapjson__"isPreferred"Boolean.of_jsoninmake?toolName?targetDestination?strategy?isPreferred()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Information about all the available strategy options for migrating and modernizing an application component."]moduleApplicationComponentId=structtypenonrect=stringletcontext_="ApplicationComponentId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:44)>>=(fun()->check_patterni~pattern:"[0-9a-zA-Z-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ApplicationComponentId"jletto_json=simple_to_jsonto_valueendmoduleSecretsManagerKey=structtypenonrect=stringletcontext_="SecretsManagerKey"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:512)>>=(fun()->check_patterni~pattern:".*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"SecretsManagerKey"jletto_json=simple_to_jsonto_valueendmoduleSourceCodeList=structtypenonrect=SourceCode.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:SourceCode.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:SourceCode.of_xml)letof_jsonj=list_of_json~kind:"SourceCodeList"~of_json:SourceCode.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAccessDeniedException=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 user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user."]moduleAsyncTaskId=structtypenonrect=stringletcontext_="AsyncTaskId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:52)>>=(fun()->check_patterni~pattern:"[0-9a-z-:]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"AsyncTaskId"jletto_json=simple_to_jsonto_valueendmoduleConflictException=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"Exception to indicate that there is an ongoing task when a new task is created. Return when once the existing tasks are complete."]moduleRecommendationTaskId=structtypenonrect=stringletcontext_="RecommendationTaskId"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:52)>>=(fun()->check_patterni~pattern:"[0-9a-z-:]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"RecommendationTaskId"jletto_json=simple_to_jsonto_valueendmoduleGroupIds=structtypenonrect=Group.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Group.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:Group.of_xml)letof_jsonj=list_of_json~kind:"GroupIds"~of_json:Group.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleOutputFormat=structtypenonrect=|Excel|Json|Non_static_idofstringletmakei=iletto_string=function|Excel->"Excel"|Json->"Json"|Non_static_ids->sletof_string=function|"Excel"->Excel|"Json"->Json|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 OutputFormat"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"OutputFormat"j)letto_json=simple_to_jsonto_valueendmoduleServiceQuotaExceededException=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 AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this account."]moduleDataSourceType=structtypenonrect=|ApplicationDiscoveryService|MPA|Import|StrategyRecommendationsApplicationDataCollector|Non_static_idofstringletmakei=iletto_string=function|ApplicationDiscoveryService->"ApplicationDiscoveryService"|MPA->"MPA"|Import->"Import"|StrategyRecommendationsApplicationDataCollector->"StrategyRecommendationsApplicationDataCollector"|Non_static_ids->sletof_string=function|"ApplicationDiscoveryService"->ApplicationDiscoveryService|"MPA"->MPA|"Import"->Import|"StrategyRecommendationsApplicationDataCollector"->StrategyRecommendationsApplicationDataCollector|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 DataSourceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"DataSourceType"j)letto_json=simple_to_jsonto_valueendmoduleStartImportFileTaskRequestNameString=structtypenonrect=stringletcontext_="StartImportFileTaskRequestNameString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:1)>>=(fun()->(check_string_maxi~max:50)>>=(fun()->check_patterni~pattern:"[a-zA-Z0-9_-]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StartImportFileTaskRequestNameString"jletto_json=simple_to_jsonto_valueendmoduleStartImportFileTaskRequestS3bucketForReportDataString=structtypenonrect=stringletcontext_="StartImportFileTaskRequestS3bucketForReportDataString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StartImportFileTaskRequestS3bucketForReportDataString"jletto_json=simple_to_jsonto_valueendmoduleAssessmentDataSourceType=structtypenonrect=|StrategyRecommendationsApplicationDataCollector|ManualImport|ApplicationDiscoveryService|Non_static_idofstringletmakei=iletto_string=function|StrategyRecommendationsApplicationDataCollector->"StrategyRecommendationsApplicationDataCollector"|ManualImport->"ManualImport"|ApplicationDiscoveryService->"ApplicationDiscoveryService"|Non_static_ids->sletof_string=function|"StrategyRecommendationsApplicationDataCollector"->StrategyRecommendationsApplicationDataCollector|"ManualImport"->ManualImport|"ApplicationDiscoveryService"->ApplicationDiscoveryService|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 AssessmentDataSourceType"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"AssessmentDataSourceType"j)letto_json=simple_to_jsonto_valueendmoduleAssessmentTargets=structtypenonrect=AssessmentTarget.tlistletmakei=letopenResultinok_or_failwith((check_list_maxi~max:10)>>=(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:AssessmentTarget.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:AssessmentTarget.of_xml)letof_jsonj=list_of_json~kind:"AssessmentTargets"~of_json:AssessmentTarget.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleStartAssessmentRequestS3bucketForAnalysisDataString=structtypenonrect=stringletcontext_="StartAssessmentRequestS3bucketForAnalysisDataString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StartAssessmentRequestS3bucketForAnalysisDataString"jletto_json=simple_to_jsonto_valueendmoduleStartAssessmentRequestS3bucketForReportDataString=structtypenonrect=stringletcontext_="StartAssessmentRequestS3bucketForReportDataString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:63)>>=(fun()->check_patterni~pattern:"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"StartAssessmentRequestS3bucketForReportDataString"jletto_json=simple_to_jsonto_valueendmoduleApplicationMode=structtypenonrect=|ALL|KNOWN|UNKNOWN|Non_static_idofstringletmakei=iletto_string=function|ALL->"ALL"|KNOWN->"KNOWN"|UNKNOWN->"UNKNOWN"|Non_static_ids->sletof_string=function|"ALL"->ALL|"KNOWN"->KNOWN|"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 ApplicationMode"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ApplicationMode"j)letto_json=simple_to_jsonto_valueendmoduleApplicationPreferences=structtypenonrect={managementPreference:ManagementPreference.toption[@ocaml.doc"Application preferences that you specify to prefer managed environment."]}letmake?managementPreference=fun()->{managementPreference}letto_valuex=structure_to_value[("managementPreference",(Option.mapx.managementPreference~f:ManagementPreference.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmanagementPreference=(Option.map~f:ManagementPreference.of_xml)(Xml.childxml_arg0"managementPreference")inmake?managementPreference()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmanagementPreference=field_mapjson__"managementPreference"ManagementPreference.of_jsoninmake?managementPreference()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Application preferences that you specify."]moduleDatabasePreferences=structtypenonrect={databaseManagementPreference:DatabaseManagementPreference.toption[@ocaml.doc"Specifies whether you're interested in self-managed databases or databases managed by AWS."];databaseMigrationPreference:DatabaseMigrationPreference.toption[@ocaml.doc"Specifies your preferred migration path."]}letmake?databaseManagementPreference=fun?databaseMigrationPreference->fun()->{databaseManagementPreference;databaseMigrationPreference}letto_valuex=structure_to_value[("databaseManagementPreference",(Option.mapx.databaseManagementPreference~f:DatabaseManagementPreference.to_value));("databaseMigrationPreference",(Option.mapx.databaseMigrationPreference~f:DatabaseMigrationPreference.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letdatabaseMigrationPreference=(Option.map~f:DatabaseMigrationPreference.of_xml)(Xml.childxml_arg0"databaseMigrationPreference")inletdatabaseManagementPreference=(Option.map~f:DatabaseManagementPreference.of_xml)(Xml.childxml_arg0"databaseManagementPreference")inmake?databaseMigrationPreference?databaseManagementPreference()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letdatabaseMigrationPreference=field_mapjson__"databaseMigrationPreference"DatabaseMigrationPreference.of_jsoninletdatabaseManagementPreference=field_mapjson__"databaseManagementPreference"DatabaseManagementPreference.of_jsoninmake?databaseMigrationPreference?databaseManagementPreference()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Preferences on managing your databases on AWS."]modulePrioritizeBusinessGoals=structtypenonrect={businessGoals:BusinessGoals.toption[@ocaml.doc"Rank of business goals based on priority."]}letmake?businessGoals=fun()->{businessGoals}letto_valuex=structure_to_value[("businessGoals",(Option.mapx.businessGoals~f:BusinessGoals.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letbusinessGoals=(Option.map~f:BusinessGoals.of_xml)(Xml.childxml_arg0"businessGoals")inmake?businessGoals()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letbusinessGoals=field_mapjson__"businessGoals"BusinessGoals.of_jsoninmake?businessGoals()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Rank of business goals based on priority."]moduleNextToken=structtypenonrect=stringletcontext_="NextToken"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:2048)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"NextToken"jletto_json=simple_to_jsonto_valueendmoduleServerDetails=structtypenonrect=ServerDetail.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServerDetail.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:ServerDetail.of_xml)letof_jsonj=list_of_json~kind:"ServerDetails"~of_json:ServerDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleMaxResult=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 MaxResult"xml_arg0)letof_jsonj=Int.of_float(float_of_json~kind:"an integer"j)letto_json=simple_to_jsonto_valueendmoduleServerCriteria=structtypenonrect=|NOT_DEFINED|OS_NAME|STRATEGY|DESTINATION|SERVER_ID|ANALYSIS_STATUS|ERROR_CATEGORY|Non_static_idofstringletmakei=iletto_string=function|NOT_DEFINED->"NOT_DEFINED"|OS_NAME->"OS_NAME"|STRATEGY->"STRATEGY"|DESTINATION->"DESTINATION"|SERVER_ID->"SERVER_ID"|ANALYSIS_STATUS->"ANALYSIS_STATUS"|ERROR_CATEGORY->"ERROR_CATEGORY"|Non_static_ids->sletof_string=function|"NOT_DEFINED"->NOT_DEFINED|"OS_NAME"->OS_NAME|"STRATEGY"->STRATEGY|"DESTINATION"->DESTINATION|"SERVER_ID"->SERVER_ID|"ANALYSIS_STATUS"->ANALYSIS_STATUS|"ERROR_CATEGORY"->ERROR_CATEGORY|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 ServerCriteria"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ServerCriteria"j)letto_json=simple_to_jsonto_valueendmoduleSortOrder=structtypenonrect=|ASC|DESC|Non_static_idofstringletmakei=iletto_string=function|ASC->"ASC"|DESC->"DESC"|Non_static_ids->sletof_string=function|"ASC"->ASC|"DESC"->DESC|x->Non_static_idxletto_valuex=`Enum(to_stringx)letto_queryv=to_queryto_valuevletto_headerx=to_stringxletof_xmlxml_arg0=of_string(string_of_xml~kind:"enumeration SortOrder"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"SortOrder"j)letto_json=simple_to_jsonto_valueendmoduleListImportFileTaskInformation=structtypenonrect=ImportFileTaskInformation.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ImportFileTaskInformation.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:ImportFileTaskInformation.of_xml)letof_jsonj=list_of_json~kind:"ListImportFileTaskInformation"~of_json:ImportFileTaskInformation.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleCollectors=structtypenonrect=Collector.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:Collector.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:Collector.of_xml)letof_jsonj=list_of_json~kind:"Collectors"~of_json:Collector.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleApplicationComponentDetails=structtypenonrect=ApplicationComponentDetail.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApplicationComponentDetail.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:ApplicationComponentDetail.of_xml)letof_jsonj=list_of_json~kind:"ApplicationComponentDetails"~of_json:ApplicationComponentDetail.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleServiceLinkedRoleLockClientException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Exception to indicate that the service-linked role (SLR) is locked."]moduleApplicationComponentCriteria=structtypenonrect=|NOT_DEFINED|APP_NAME|SERVER_ID|APP_TYPE|STRATEGY|DESTINATION|ANALYSIS_STATUS|ERROR_CATEGORY|Non_static_idofstringletmakei=iletto_string=function|NOT_DEFINED->"NOT_DEFINED"|APP_NAME->"APP_NAME"|SERVER_ID->"SERVER_ID"|APP_TYPE->"APP_TYPE"|STRATEGY->"STRATEGY"|DESTINATION->"DESTINATION"|ANALYSIS_STATUS->"ANALYSIS_STATUS"|ERROR_CATEGORY->"ERROR_CATEGORY"|Non_static_ids->sletof_string=function|"NOT_DEFINED"->NOT_DEFINED|"APP_NAME"->APP_NAME|"SERVER_ID"->SERVER_ID|"APP_TYPE"->APP_TYPE|"STRATEGY"->STRATEGY|"DESTINATION"->DESTINATION|"ANALYSIS_STATUS"->ANALYSIS_STATUS|"ERROR_CATEGORY"->ERROR_CATEGORY|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 ApplicationComponentCriteria"xml_arg0)letof_jsonj=of_string(string_of_json~kind:"ApplicationComponentCriteria"j)letto_json=simple_to_jsonto_valueendmoduleListApplicationComponentsRequestFilterValueString=structtypenonrect=stringletcontext_="ListApplicationComponentsRequestFilterValueString"letmakei=letopenResultinok_or_failwith((check_string_mini~min:0)>>=(fun()->(check_string_maxi~max:256)>>=(fun()->check_patterni~pattern:".*\\S.*")));iletof_stringx=xletto_valuex=`Stringxletto_queryv=to_queryto_valuevletto_headerx=xletof_xml=Xml.string_data_exn~context:context_letof_jsonj=string_of_json~kind:"ListApplicationComponentsRequestFilterValueString"jletto_json=simple_to_jsonto_valueendmoduleAnalyzableServerSummaryList=structtypenonrect=AnalyzableServerSummary.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AnalyzableServerSummary.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:AnalyzableServerSummary.of_xml)letof_jsonj=list_of_json~kind:"AnalyzableServerSummaryList"~of_json:AnalyzableServerSummary.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleServerStrategies=structtypenonrect=ServerStrategy.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ServerStrategy.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:ServerStrategy.of_xml)letof_jsonj=list_of_json~kind:"ServerStrategies"~of_json:ServerStrategy.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAssociatedApplications=structtypenonrect=AssociatedApplication.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:AssociatedApplication.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:AssociatedApplication.of_xml)letof_jsonj=list_of_json~kind:"AssociatedApplications"~of_json:AssociatedApplication.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleRecommendationReportDetails=structtypenonrect={completionTime:RecommendationReportTimeStamp.toption[@ocaml.doc"The time that the recommendation report generation task completes."];s3Bucket:String_.toption[@ocaml.doc"The S3 bucket where the report file is located."];s3Keys:S3Keys.toption[@ocaml.doc"The Amazon S3 key name of the report file."];startTime:RecommendationReportTimeStamp.toption[@ocaml.doc"The time that the recommendation report generation task starts."];status:RecommendationReportStatus.toption[@ocaml.doc"The status of the recommendation report generation task."];statusMessage:RecommendationReportStatusMessage.toption[@ocaml.doc"The status message for recommendation report generation."]}letmake?completionTime=fun?s3Bucket->fun?s3Keys->fun?startTime->fun?status->fun?statusMessage->fun()->{completionTime;s3Bucket;s3Keys;startTime;status;statusMessage}letto_valuex=structure_to_value[("completionTime",(Option.mapx.completionTime~f:RecommendationReportTimeStamp.to_value));("s3Bucket",(Option.mapx.s3Bucket~f:String_.to_value));("s3Keys",(Option.mapx.s3Keys~f:S3Keys.to_value));("startTime",(Option.mapx.startTime~f:RecommendationReportTimeStamp.to_value));("status",(Option.mapx.status~f:RecommendationReportStatus.to_value));("statusMessage",(Option.mapx.statusMessage~f:RecommendationReportStatusMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusMessage=(Option.map~f:RecommendationReportStatusMessage.of_xml)(Xml.childxml_arg0"statusMessage")inletstatus=(Option.map~f:RecommendationReportStatus.of_xml)(Xml.childxml_arg0"status")inletstartTime=(Option.map~f:RecommendationReportTimeStamp.of_xml)(Xml.childxml_arg0"startTime")inlets3Keys=(Option.map~f:S3Keys.of_xml)(Xml.childxml_arg0"s3Keys")inlets3Bucket=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"s3Bucket")inletcompletionTime=(Option.map~f:RecommendationReportTimeStamp.of_xml)(Xml.childxml_arg0"completionTime")inmake?statusMessage?status?startTime?s3Keys?s3Bucket?completionTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusMessage=field_mapjson__"statusMessage"RecommendationReportStatusMessage.of_jsoninletstatus=field_mapjson__"status"RecommendationReportStatus.of_jsoninletstartTime=field_mapjson__"startTime"RecommendationReportTimeStamp.of_jsoninlets3Keys=field_mapjson__"s3Keys"S3Keys.of_jsoninlets3Bucket=field_mapjson__"s3Bucket"String_.of_jsoninletcompletionTime=field_mapjson__"completionTime"RecommendationReportTimeStamp.of_jsoninmake?statusMessage?status?startTime?s3Keys?s3Bucket?completionTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains detailed information about a recommendation report."]moduleAssessmentSummary=structtypenonrect={antipatternReportS3Object:S3Object.toption[@ocaml.doc"The Amazon S3 object containing the anti-pattern report."];antipatternReportStatus:AntipatternReportStatus.toption[@ocaml.doc"The status of the anti-pattern report."];antipatternReportStatusMessage:StatusMessage.toption[@ocaml.doc"The status message of the anti-pattern report."];lastAnalyzedTimestamp:TimeStamp.toption[@ocaml.doc"The time the assessment was performed."];listAntipatternSeveritySummary:ListAntipatternSeveritySummary.toption[@ocaml.doc"List of AntipatternSeveritySummary."];listApplicationComponentStatusSummary:ListApplicationComponentStatusSummary.toption[@ocaml.doc"List of status summaries of the analyzed application components."];listApplicationComponentStrategySummary:ListStrategySummary.toption[@ocaml.doc"List of ApplicationComponentStrategySummary."];listApplicationComponentSummary:ListApplicationComponentSummary.toption[@ocaml.doc"List of ApplicationComponentSummary."];listServerStatusSummary:ListServerStatusSummary.toption[@ocaml.doc"List of status summaries of the analyzed servers."];listServerStrategySummary:ListStrategySummary.toption[@ocaml.doc"List of ServerStrategySummary."];listServerSummary:ListServerSummary.toption[@ocaml.doc"List of ServerSummary."]}letmake?antipatternReportS3Object=fun?antipatternReportStatus->fun?antipatternReportStatusMessage->fun?lastAnalyzedTimestamp->fun?listAntipatternSeveritySummary->fun?listApplicationComponentStatusSummary->fun?listApplicationComponentStrategySummary->fun?listApplicationComponentSummary->fun?listServerStatusSummary->fun?listServerStrategySummary->fun?listServerSummary->fun()->{antipatternReportS3Object;antipatternReportStatus;antipatternReportStatusMessage;lastAnalyzedTimestamp;listAntipatternSeveritySummary;listApplicationComponentStatusSummary;listApplicationComponentStrategySummary;listApplicationComponentSummary;listServerStatusSummary;listServerStrategySummary;listServerSummary}letto_valuex=structure_to_value[("antipatternReportS3Object",(Option.mapx.antipatternReportS3Object~f:S3Object.to_value));("antipatternReportStatus",(Option.mapx.antipatternReportStatus~f:AntipatternReportStatus.to_value));("antipatternReportStatusMessage",(Option.mapx.antipatternReportStatusMessage~f:StatusMessage.to_value));("lastAnalyzedTimestamp",(Option.mapx.lastAnalyzedTimestamp~f:TimeStamp.to_value));("listAntipatternSeveritySummary",(Option.mapx.listAntipatternSeveritySummary~f:ListAntipatternSeveritySummary.to_value));("listApplicationComponentStatusSummary",(Option.mapx.listApplicationComponentStatusSummary~f:ListApplicationComponentStatusSummary.to_value));("listApplicationComponentStrategySummary",(Option.mapx.listApplicationComponentStrategySummary~f:ListStrategySummary.to_value));("listApplicationComponentSummary",(Option.mapx.listApplicationComponentSummary~f:ListApplicationComponentSummary.to_value));("listServerStatusSummary",(Option.mapx.listServerStatusSummary~f:ListServerStatusSummary.to_value));("listServerStrategySummary",(Option.mapx.listServerStrategySummary~f:ListStrategySummary.to_value));("listServerSummary",(Option.mapx.listServerSummary~f:ListServerSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letlistServerSummary=(Option.map~f:ListServerSummary.of_xml)(Xml.childxml_arg0"listServerSummary")inletlistServerStrategySummary=(Option.map~f:ListStrategySummary.of_xml)(Xml.childxml_arg0"listServerStrategySummary")inletlistServerStatusSummary=(Option.map~f:ListServerStatusSummary.of_xml)(Xml.childxml_arg0"listServerStatusSummary")inletlistApplicationComponentSummary=(Option.map~f:ListApplicationComponentSummary.of_xml)(Xml.childxml_arg0"listApplicationComponentSummary")inletlistApplicationComponentStrategySummary=(Option.map~f:ListStrategySummary.of_xml)(Xml.childxml_arg0"listApplicationComponentStrategySummary")inletlistApplicationComponentStatusSummary=(Option.map~f:ListApplicationComponentStatusSummary.of_xml)(Xml.childxml_arg0"listApplicationComponentStatusSummary")inletlistAntipatternSeveritySummary=(Option.map~f:ListAntipatternSeveritySummary.of_xml)(Xml.childxml_arg0"listAntipatternSeveritySummary")inletlastAnalyzedTimestamp=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"lastAnalyzedTimestamp")inletantipatternReportStatusMessage=(Option.map~f:StatusMessage.of_xml)(Xml.childxml_arg0"antipatternReportStatusMessage")inletantipatternReportStatus=(Option.map~f:AntipatternReportStatus.of_xml)(Xml.childxml_arg0"antipatternReportStatus")inletantipatternReportS3Object=(Option.map~f:S3Object.of_xml)(Xml.childxml_arg0"antipatternReportS3Object")inmake?listServerSummary?listServerStrategySummary?listServerStatusSummary?listApplicationComponentSummary?listApplicationComponentStrategySummary?listApplicationComponentStatusSummary?listAntipatternSeveritySummary?lastAnalyzedTimestamp?antipatternReportStatusMessage?antipatternReportStatus?antipatternReportS3Object()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letlistServerSummary=field_mapjson__"listServerSummary"ListServerSummary.of_jsoninletlistServerStrategySummary=field_mapjson__"listServerStrategySummary"ListStrategySummary.of_jsoninletlistServerStatusSummary=field_mapjson__"listServerStatusSummary"ListServerStatusSummary.of_jsoninletlistApplicationComponentSummary=field_mapjson__"listApplicationComponentSummary"ListApplicationComponentSummary.of_jsoninletlistApplicationComponentStrategySummary=field_mapjson__"listApplicationComponentStrategySummary"ListStrategySummary.of_jsoninletlistApplicationComponentStatusSummary=field_mapjson__"listApplicationComponentStatusSummary"ListApplicationComponentStatusSummary.of_jsoninletlistAntipatternSeveritySummary=field_mapjson__"listAntipatternSeveritySummary"ListAntipatternSeveritySummary.of_jsoninletlastAnalyzedTimestamp=field_mapjson__"lastAnalyzedTimestamp"TimeStamp.of_jsoninletantipatternReportStatusMessage=field_mapjson__"antipatternReportStatusMessage"StatusMessage.of_jsoninletantipatternReportStatus=field_mapjson__"antipatternReportStatus"AntipatternReportStatus.of_jsoninletantipatternReportS3Object=field_mapjson__"antipatternReportS3Object"S3Object.of_jsoninmake?listServerSummary?listServerStrategySummary?listServerStatusSummary?listApplicationComponentSummary?listApplicationComponentStrategySummary?listApplicationComponentStatusSummary?listAntipatternSeveritySummary?lastAnalyzedTimestamp?antipatternReportStatusMessage?antipatternReportStatus?antipatternReportS3Object()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Contains the summary of the assessment results."]moduleDependencyException=structtypenonrect={message:ErrorMessage.toption}letmake?message=fun()->{message}letto_valuex=structure_to_value[("message",(Option.mapx.message~f:ErrorMessage.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmessage=(Option.map~f:ErrorMessage.of_xml)(Xml.childxml_arg0"message")inmake?message()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmessage=field_mapjson__"message"ErrorMessage.of_jsoninmake?message()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Dependency encountered an error."]moduleDataCollectionDetails=structtypenonrect={completionTime:TimeStamp.toption[@ocaml.doc"The time the assessment completes."];failed:Integer.toption[@ocaml.doc"The number of failed servers in the assessment."];inProgress:Integer.toption[@ocaml.doc"The number of servers with the assessment status IN_PROGESS."];servers:Integer.toption[@ocaml.doc"The total number of servers in the assessment."];startTime:TimeStamp.toption[@ocaml.doc"The start time of assessment."];status:AssessmentStatus.toption[@ocaml.doc"The status of the assessment."];statusMessage:AssessmentStatusMessage.toption[@ocaml.doc"The status message of the assessment."];success:Integer.toption[@ocaml.doc"The number of successful servers in the assessment."]}letmake?completionTime=fun?failed->fun?inProgress->fun?servers->fun?startTime->fun?status->fun?statusMessage->fun?success->fun()->{completionTime;failed;inProgress;servers;startTime;status;statusMessage;success}letto_valuex=structure_to_value[("completionTime",(Option.mapx.completionTime~f:TimeStamp.to_value));("failed",(Option.mapx.failed~f:Integer.to_value));("inProgress",(Option.mapx.inProgress~f:Integer.to_value));("servers",(Option.mapx.servers~f:Integer.to_value));("startTime",(Option.mapx.startTime~f:TimeStamp.to_value));("status",(Option.mapx.status~f:AssessmentStatus.to_value));("statusMessage",(Option.mapx.statusMessage~f:AssessmentStatusMessage.to_value));("success",(Option.mapx.success~f:Integer.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsuccess=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"success")inletstatusMessage=(Option.map~f:AssessmentStatusMessage.of_xml)(Xml.childxml_arg0"statusMessage")inletstatus=(Option.map~f:AssessmentStatus.of_xml)(Xml.childxml_arg0"status")inletstartTime=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"startTime")inletservers=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"servers")inletinProgress=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"inProgress")inletfailed=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"failed")inletcompletionTime=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"completionTime")inmake?success?statusMessage?status?startTime?servers?inProgress?failed?completionTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsuccess=field_mapjson__"success"Integer.of_jsoninletstatusMessage=field_mapjson__"statusMessage"AssessmentStatusMessage.of_jsoninletstatus=field_mapjson__"status"AssessmentStatus.of_jsoninletstartTime=field_mapjson__"startTime"TimeStamp.of_jsoninletservers=field_mapjson__"servers"Integer.of_jsoninletinProgress=field_mapjson__"inProgress"Integer.of_jsoninletfailed=field_mapjson__"failed"Integer.of_jsoninletcompletionTime=field_mapjson__"completionTime"TimeStamp.of_jsoninmake?success?statusMessage?status?startTime?servers?inProgress?failed?completionTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Detailed information about an assessment."]moduleApplicationComponentStrategies=structtypenonrect=ApplicationComponentStrategy.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:ApplicationComponentStrategy.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:ApplicationComponentStrategy.of_xml)letof_jsonj=list_of_json~kind:"ApplicationComponentStrategies"~of_json:ApplicationComponentStrategy.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleAssociatedServerIDs=structtypenonrect=String_.tlistletmakei=iletof_string_=failwithf"of_string is not implemented for List_shape objects"()[@@warning"-32"]letto_valuexs=(xs|>(List.map~f:String_.to_value))|>(funx->`Listx)letto_queryv=to_queryto_valuevletto_header_=failwithf"to_header is not implemented for List_shape objects"()letof_xmlx=make(List.map((Xml.all_childrenx)|>(List.filter~f:(function|`Datas->(matchStdlib.String.trimswith|""->false|_->true)|_->true)))~f:String_.of_xml)letof_jsonj=list_of_json~kind:"AssociatedServerIDs"~of_json:String_.of_jsonjletto_jsonv=composed_to_jsonto_valuevendmoduleUpdateServerConfigResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"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|"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|`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))])))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"Updates the configuration of the specified server."]moduleUpdateServerConfigRequest=structtypenonrect={serverId:ServerId.t[@ocaml.doc"The ID of the server."];strategyOption:StrategyOption.toption[@ocaml.doc"The preferred strategy options for the application component. See the response from GetServerStrategies."]}letcontext_="UpdateServerConfigRequest"letmake?strategyOption=fun~serverId->fun()->{strategyOption;serverId}letto_valuex=structure_to_value[("serverId",(Some(ServerId.to_valuex.serverId)));("strategyOption",(Option.mapx.strategyOption~f:StrategyOption.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstrategyOption=(Option.map~f:StrategyOption.of_xml)(Xml.childxml_arg0"strategyOption")inletserverId=ServerId.of_xml(Xml.child_exn~context:context_xml_arg0"serverId")inmake?strategyOption~serverId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstrategyOption=field_mapjson__"strategyOption"StrategyOption.of_jsoninletserverId=field_map_exnjson__"serverId"ServerId.of_jsoninmake?strategyOption~serverId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the configuration of the specified server."]moduleUpdateApplicationComponentConfigResponse=structtypenonrect=unittypenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()leterror_of_jsonnamejson=matchnamewith|"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|"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|`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))])))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"Updates the configuration of an application component."]moduleUpdateApplicationComponentConfigRequest=structtypenonrect={appType:AppType.toption[@ocaml.doc"The type of known component."];applicationComponentId:ApplicationComponentId.t[@ocaml.doc"The ID of the application component. The ID is unique within an AWS account."];configureOnly:Boolean.toption[@ocaml.doc"Update the configuration request of an application component. If it is set to true, the source code and/or database credentials are updated. If it is set to false, the source code and/or database credentials are updated and an analysis is initiated."];inclusionStatus:InclusionStatus.toption[@ocaml.doc"Indicates whether the application component has been included for server recommendation or not."];secretsManagerKey:SecretsManagerKey.toption[@ocaml.doc"Database credentials."];sourceCodeList:SourceCodeList.toption[@ocaml.doc"The list of source code configurations to update for the application component."];strategyOption:StrategyOption.toption[@ocaml.doc"The preferred strategy options for the application component. Use values from the GetApplicationComponentStrategies response."]}letcontext_="UpdateApplicationComponentConfigRequest"letmake?appType=fun?configureOnly->fun?inclusionStatus->fun?secretsManagerKey->fun?sourceCodeList->fun?strategyOption->fun~applicationComponentId->fun()->{appType;configureOnly;inclusionStatus;secretsManagerKey;sourceCodeList;strategyOption;applicationComponentId}letto_valuex=structure_to_value[("appType",(Option.mapx.appType~f:AppType.to_value));("applicationComponentId",(Some(ApplicationComponentId.to_valuex.applicationComponentId)));("configureOnly",(Option.mapx.configureOnly~f:Boolean.to_value));("inclusionStatus",(Option.mapx.inclusionStatus~f:InclusionStatus.to_value));("secretsManagerKey",(Option.mapx.secretsManagerKey~f:SecretsManagerKey.to_value));("sourceCodeList",(Option.mapx.sourceCodeList~f:SourceCodeList.to_value));("strategyOption",(Option.mapx.strategyOption~f:StrategyOption.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstrategyOption=(Option.map~f:StrategyOption.of_xml)(Xml.childxml_arg0"strategyOption")inletsourceCodeList=(Option.map~f:SourceCodeList.of_xml)(Xml.childxml_arg0"sourceCodeList")inletsecretsManagerKey=(Option.map~f:SecretsManagerKey.of_xml)(Xml.childxml_arg0"secretsManagerKey")inletinclusionStatus=(Option.map~f:InclusionStatus.of_xml)(Xml.childxml_arg0"inclusionStatus")inletconfigureOnly=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"configureOnly")inletapplicationComponentId=ApplicationComponentId.of_xml(Xml.child_exn~context:context_xml_arg0"applicationComponentId")inletappType=(Option.map~f:AppType.of_xml)(Xml.childxml_arg0"appType")inmake?strategyOption?sourceCodeList?secretsManagerKey?inclusionStatus?configureOnly~applicationComponentId?appType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstrategyOption=field_mapjson__"strategyOption"StrategyOption.of_jsoninletsourceCodeList=field_mapjson__"sourceCodeList"SourceCodeList.of_jsoninletsecretsManagerKey=field_mapjson__"secretsManagerKey"SecretsManagerKey.of_jsoninletinclusionStatus=field_mapjson__"inclusionStatus"InclusionStatus.of_jsoninletconfigureOnly=field_mapjson__"configureOnly"Boolean.of_jsoninletapplicationComponentId=field_map_exnjson__"applicationComponentId"ApplicationComponentId.of_jsoninletappType=field_mapjson__"appType"AppType.of_jsoninmake?strategyOption?sourceCodeList?secretsManagerKey?inclusionStatus?configureOnly~applicationComponentId?appType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Updates the configuration of an application component."]moduleStopAssessmentResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()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))])))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"Stops the assessment of an on-premises environment."]moduleStopAssessmentRequest=structtypenonrect={assessmentId:AsyncTaskId.t[@ocaml.doc"The assessmentId returned by StartAssessment."]}letcontext_="StopAssessmentRequest"letmake~assessmentId=fun()->{assessmentId}letto_valuex=structure_to_value[("assessmentId",(Some(AsyncTaskId.to_valuex.assessmentId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letassessmentId=AsyncTaskId.of_xml(Xml.child_exn~context:context_xml_arg0"assessmentId")inmake~assessmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letassessmentId=field_map_exnjson__"assessmentId"AsyncTaskId.of_jsoninmake~assessmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Stops the assessment of an on-premises environment."]moduleStartRecommendationReportGenerationResponse=structtypenonrect={id:RecommendationTaskId.toption[@ocaml.doc"The ID of the recommendation report generation task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?id=fun()->{id}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[("id",(Option.mapx.id~f:RecommendationTaskId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=(Option.map~f:RecommendationTaskId.of_xml)(Xml.childxml_arg0"id")inmake?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_mapjson__"id"RecommendationTaskId.of_jsoninmake?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts generating a recommendation report."]moduleStartRecommendationReportGenerationRequest=structtypenonrect={groupIdFilter:GroupIds.toption[@ocaml.doc"Groups the resources in the recommendation report with a unique name."];outputFormat:OutputFormat.toption[@ocaml.doc"The output format for the recommendation report file. The default format is Microsoft Excel."]}letmake?groupIdFilter=fun?outputFormat->fun()->{groupIdFilter;outputFormat}letto_valuex=structure_to_value[("groupIdFilter",(Option.mapx.groupIdFilter~f:GroupIds.to_value));("outputFormat",(Option.mapx.outputFormat~f:OutputFormat.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letoutputFormat=(Option.map~f:OutputFormat.of_xml)(Xml.childxml_arg0"outputFormat")inletgroupIdFilter=(Option.map~f:GroupIds.of_xml)(Xml.childxml_arg0"groupIdFilter")inmake?outputFormat?groupIdFilter()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letoutputFormat=field_mapjson__"outputFormat"OutputFormat.of_jsoninletgroupIdFilter=field_mapjson__"groupIdFilter"GroupIds.of_jsoninmake?outputFormat?groupIdFilter()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts generating a recommendation report."]moduleStartImportFileTaskResponse=structtypenonrect={id:String_.toption[@ocaml.doc"The ID for a specific import task. The ID is unique within an AWS account."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?id=fun()->{id}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.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[("id",(Option.mapx.id~f:String_.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"id")inmake?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_mapjson__"id"String_.of_jsoninmake?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a file import."]moduleStartImportFileTaskRequest=structtypenonrect={s3Bucket:ImportS3Bucket.t[@ocaml.doc"The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-."];dataSourceType:DataSourceType.toption[@ocaml.doc"Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service."];groupId:GroupIds.toption[@ocaml.doc"Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers."];name:StartImportFileTaskRequestNameString.t[@ocaml.doc"A descriptive name for the request."];s3bucketForReportData:StartImportFileTaskRequestS3bucketForReportDataString.toption[@ocaml.doc"The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-."];s3key:String_.t[@ocaml.doc"The Amazon S3 key name of the import file."]}letcontext_="StartImportFileTaskRequest"letmake?dataSourceType=fun?groupId->fun?s3bucketForReportData->fun~s3Bucket->fun~name->fun~s3key->fun()->{dataSourceType;groupId;s3bucketForReportData;s3Bucket;name;s3key}letto_valuex=structure_to_value[("S3Bucket",(Some(ImportS3Bucket.to_valuex.s3Bucket)));("dataSourceType",(Option.mapx.dataSourceType~f:DataSourceType.to_value));("groupId",(Option.mapx.groupId~f:GroupIds.to_value));("name",(Some(StartImportFileTaskRequestNameString.to_valuex.name)));("s3bucketForReportData",(Option.mapx.s3bucketForReportData~f:StartImportFileTaskRequestS3bucketForReportDataString.to_value));("s3key",(Some(String_.to_valuex.s3key)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3key=String_.of_xml(Xml.child_exn~context:context_xml_arg0"s3key")inlets3bucketForReportData=(Option.map~f:StartImportFileTaskRequestS3bucketForReportDataString.of_xml)(Xml.childxml_arg0"s3bucketForReportData")inletname=StartImportFileTaskRequestNameString.of_xml(Xml.child_exn~context:context_xml_arg0"name")inletgroupId=(Option.map~f:GroupIds.of_xml)(Xml.childxml_arg0"groupId")inletdataSourceType=(Option.map~f:DataSourceType.of_xml)(Xml.childxml_arg0"dataSourceType")inlets3Bucket=ImportS3Bucket.of_xml(Xml.child_exn~context:context_xml_arg0"S3Bucket")inmake~s3key?s3bucketForReportData~name?groupId?dataSourceType~s3Bucket()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3key=field_map_exnjson__"s3key"String_.of_jsoninlets3bucketForReportData=field_mapjson__"s3bucketForReportData"StartImportFileTaskRequestS3bucketForReportDataString.of_jsoninletname=field_map_exnjson__"name"StartImportFileTaskRequestNameString.of_jsoninletgroupId=field_mapjson__"groupId"GroupIds.of_jsoninletdataSourceType=field_mapjson__"dataSourceType"DataSourceType.of_jsoninlets3Bucket=field_map_exnjson__"S3Bucket"ImportS3Bucket.of_jsoninmake~s3key?s3bucketForReportData~name?groupId?dataSourceType~s3Bucket()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts a file import."]moduleStartAssessmentResponse=structtypenonrect={assessmentId:AsyncTaskId.toption[@ocaml.doc"The ID of the assessment."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ServiceQuotaExceededExceptionofServiceQuotaExceededException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?assessmentId=fun()->{assessmentId}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ServiceQuotaExceededException"->`ServiceQuotaExceededException(ServiceQuotaExceededException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ServiceQuotaExceededExceptione->`Assoc[("error",(`String"ServiceQuotaExceededException"));("details",(ServiceQuotaExceededException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("assessmentId",(Option.mapx.assessmentId~f:AsyncTaskId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letassessmentId=(Option.map~f:AsyncTaskId.of_xml)(Xml.childxml_arg0"assessmentId")inmake?assessmentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letassessmentId=field_mapjson__"assessmentId"AsyncTaskId.of_jsoninmake?assessmentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts the assessment of an on-premises environment."]moduleStartAssessmentRequest=structtypenonrect={assessmentDataSourceType:AssessmentDataSourceType.toption[@ocaml.doc"The data source type of an assessment to be started."];assessmentTargets:AssessmentTargets.toption[@ocaml.doc"List of criteria for assessment."];s3bucketForAnalysisData:StartAssessmentRequestS3bucketForAnalysisDataString.toption[@ocaml.doc"The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy-."];s3bucketForReportData:StartAssessmentRequestS3bucketForReportDataString.toption[@ocaml.doc"The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with migrationhub-strategy-."]}letmake?assessmentDataSourceType=fun?assessmentTargets->fun?s3bucketForAnalysisData->fun?s3bucketForReportData->fun()->{assessmentDataSourceType;assessmentTargets;s3bucketForAnalysisData;s3bucketForReportData}letto_valuex=structure_to_value[("assessmentDataSourceType",(Option.mapx.assessmentDataSourceType~f:AssessmentDataSourceType.to_value));("assessmentTargets",(Option.mapx.assessmentTargets~f:AssessmentTargets.to_value));("s3bucketForAnalysisData",(Option.mapx.s3bucketForAnalysisData~f:StartAssessmentRequestS3bucketForAnalysisDataString.to_value));("s3bucketForReportData",(Option.mapx.s3bucketForReportData~f:StartAssessmentRequestS3bucketForReportDataString.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lets3bucketForReportData=(Option.map~f:StartAssessmentRequestS3bucketForReportDataString.of_xml)(Xml.childxml_arg0"s3bucketForReportData")inlets3bucketForAnalysisData=(Option.map~f:StartAssessmentRequestS3bucketForAnalysisDataString.of_xml)(Xml.childxml_arg0"s3bucketForAnalysisData")inletassessmentTargets=(Option.map~f:AssessmentTargets.of_xml)(Xml.childxml_arg0"assessmentTargets")inletassessmentDataSourceType=(Option.map~f:AssessmentDataSourceType.of_xml)(Xml.childxml_arg0"assessmentDataSourceType")inmake?s3bucketForReportData?s3bucketForAnalysisData?assessmentTargets?assessmentDataSourceType()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lets3bucketForReportData=field_mapjson__"s3bucketForReportData"StartAssessmentRequestS3bucketForReportDataString.of_jsoninlets3bucketForAnalysisData=field_mapjson__"s3bucketForAnalysisData"StartAssessmentRequestS3bucketForAnalysisDataString.of_jsoninletassessmentTargets=field_mapjson__"assessmentTargets"AssessmentTargets.of_jsoninletassessmentDataSourceType=field_mapjson__"assessmentDataSourceType"AssessmentDataSourceType.of_jsoninmake?s3bucketForReportData?s3bucketForAnalysisData?assessmentTargets?assessmentDataSourceType()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Starts the assessment of an on-premises environment."]modulePutPortfolioPreferencesResponse=structtypenonrect=unittypenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`ConflictExceptionofConflictException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake()=()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))])))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"Saves the specified migration and modernization preferences."]modulePutPortfolioPreferencesRequest=structtypenonrect={applicationMode:ApplicationMode.toption[@ocaml.doc"The classification for application component types."];applicationPreferences:ApplicationPreferences.toption[@ocaml.doc"The transformation preferences for non-database applications."];databasePreferences:DatabasePreferences.toption[@ocaml.doc"The transformation preferences for database applications."];prioritizeBusinessGoals:PrioritizeBusinessGoals.toption[@ocaml.doc"The rank of the business goals based on priority."]}letmake?applicationMode=fun?applicationPreferences->fun?databasePreferences->fun?prioritizeBusinessGoals->fun()->{applicationMode;applicationPreferences;databasePreferences;prioritizeBusinessGoals}letto_valuex=structure_to_value[("applicationMode",(Option.mapx.applicationMode~f:ApplicationMode.to_value));("applicationPreferences",(Option.mapx.applicationPreferences~f:ApplicationPreferences.to_value));("databasePreferences",(Option.mapx.databasePreferences~f:DatabasePreferences.to_value));("prioritizeBusinessGoals",(Option.mapx.prioritizeBusinessGoals~f:PrioritizeBusinessGoals.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprioritizeBusinessGoals=(Option.map~f:PrioritizeBusinessGoals.of_xml)(Xml.childxml_arg0"prioritizeBusinessGoals")inletdatabasePreferences=(Option.map~f:DatabasePreferences.of_xml)(Xml.childxml_arg0"databasePreferences")inletapplicationPreferences=(Option.map~f:ApplicationPreferences.of_xml)(Xml.childxml_arg0"applicationPreferences")inletapplicationMode=(Option.map~f:ApplicationMode.of_xml)(Xml.childxml_arg0"applicationMode")inmake?prioritizeBusinessGoals?databasePreferences?applicationPreferences?applicationMode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprioritizeBusinessGoals=field_mapjson__"prioritizeBusinessGoals"PrioritizeBusinessGoals.of_jsoninletdatabasePreferences=field_mapjson__"databasePreferences"DatabasePreferences.of_jsoninletapplicationPreferences=field_mapjson__"applicationPreferences"ApplicationPreferences.of_jsoninletapplicationMode=field_mapjson__"applicationMode"ApplicationMode.of_jsoninmake?prioritizeBusinessGoals?databasePreferences?applicationPreferences?applicationMode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Saves the specified migration and modernization preferences."]moduleListServersResponse=structtypenonrect={nextToken:NextToken.toption[@ocaml.doc"The token you use to retrieve the next set of results, or null if there are no more results."];serverInfos:ServerDetails.toption[@ocaml.doc"The list of servers with detailed information about each server."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?serverInfos->fun()->{nextToken;serverInfos}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[("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("serverInfos",(Option.mapx.serverInfos~f:ServerDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverInfos=(Option.map~f:ServerDetails.of_xml)(Xml.childxml_arg0"serverInfos")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inmake?serverInfos?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverInfos=field_mapjson__"serverInfos"ServerDetails.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninmake?serverInfos?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the servers."]moduleListServersRequest=structtypenonrect={filterValue:String_.toption[@ocaml.doc"Specifies the filter value, which is based on the type of server criteria. For example, if serverCriteria is OS_NAME, and the filterValue is equal to WindowsServer, then ListServers returns all of the servers matching the OS name WindowsServer."];groupIdFilter:GroupIds.toption[@ocaml.doc"Specifies the group ID to filter on."];maxResults:MaxResult.toption[@ocaml.doc"The maximum number of items to include in the response. The maximum value is 100."];nextToken:NextToken.toption[@ocaml.doc"The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10."];serverCriteria:ServerCriteria.toption[@ocaml.doc"Criteria for filtering servers."];sort:SortOrder.toption[@ocaml.doc"Specifies whether to sort by ascending (ASC) or descending (DESC) order."]}letmake?filterValue=fun?groupIdFilter->fun?maxResults->fun?nextToken->fun?serverCriteria->fun?sort->fun()->{filterValue;groupIdFilter;maxResults;nextToken;serverCriteria;sort}letto_valuex=structure_to_value[("filterValue",(Option.mapx.filterValue~f:String_.to_value));("groupIdFilter",(Option.mapx.groupIdFilter~f:GroupIds.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResult.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("serverCriteria",(Option.mapx.serverCriteria~f:ServerCriteria.to_value));("sort",(Option.mapx.sort~f:SortOrder.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsort=(Option.map~f:SortOrder.of_xml)(Xml.childxml_arg0"sort")inletserverCriteria=(Option.map~f:ServerCriteria.of_xml)(Xml.childxml_arg0"serverCriteria")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResult.of_xml)(Xml.childxml_arg0"maxResults")inletgroupIdFilter=(Option.map~f:GroupIds.of_xml)(Xml.childxml_arg0"groupIdFilter")inletfilterValue=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"filterValue")inmake?sort?serverCriteria?nextToken?maxResults?groupIdFilter?filterValue()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsort=field_mapjson__"sort"SortOrder.of_jsoninletserverCriteria=field_mapjson__"serverCriteria"ServerCriteria.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResult.of_jsoninletgroupIdFilter=field_mapjson__"groupIdFilter"GroupIds.of_jsoninletfilterValue=field_mapjson__"filterValue"String_.of_jsoninmake?sort?serverCriteria?nextToken?maxResults?groupIdFilter?filterValue()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Returns a list of all the servers."]moduleListImportFileTaskResponse=structtypenonrect={nextToken:String_.toption[@ocaml.doc"The token you use to retrieve the next set of results, or null if there are no more results."];taskInfos:ListImportFileTaskInformation.toption[@ocaml.doc"Lists information about the files you import."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?nextToken=fun?taskInfos->fun()->{nextToken;taskInfos}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[("nextToken",(Option.mapx.nextToken~f:String_.to_value));("taskInfos",(Option.mapx.taskInfos~f:ListImportFileTaskInformation.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=lettaskInfos=(Option.map~f:ListImportFileTaskInformation.of_xml)(Xml.childxml_arg0"taskInfos")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inmake?taskInfos?nextToken()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=lettaskInfos=field_mapjson__"taskInfos"ListImportFileTaskInformation.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninmake?taskInfos?nextToken()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all the imports performed."]moduleListImportFileTaskRequest=structtypenonrect={maxResults:Integer.toption[@ocaml.doc"The total number of items to return. The maximum value is 100."];nextToken:String_.toption[@ocaml.doc"The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:Integer.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")inletmaxResults=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"maxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"String_.of_jsoninletmaxResults=field_mapjson__"maxResults"Integer.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all the imports performed."]moduleListCollectorsResponse=structtypenonrect={collectors:Collectors.toption[@ocaml.doc"The list of all the installed collectors."];nextToken:NextToken.toption[@ocaml.doc"The token you use to retrieve the next set of results, or null if there are no more results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?collectors=fun?nextToken->fun()->{collectors;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[("Collectors",(Option.mapx.collectors~f:Collectors.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletcollectors=(Option.map~f:Collectors.of_xml)(Xml.childxml_arg0"Collectors")inmake?nextToken?collectors()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletcollectors=field_mapjson__"Collectors"Collectors.of_jsoninmake?nextToken?collectors()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all the installed collectors."]moduleListCollectorsRequest=structtypenonrect={maxResults:MaxResult.toption[@ocaml.doc"The maximum number of items to include in the response. The maximum value is 100."];nextToken:NextToken.toption[@ocaml.doc"The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10."]}letmake?maxResults=fun?nextToken->fun()->{maxResults;nextToken}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResult.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResult.of_xml)(Xml.childxml_arg0"maxResults")inmake?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResult.of_jsoninmake?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all the installed collectors."]moduleListApplicationComponentsResponse=structtypenonrect={applicationComponentInfos:ApplicationComponentDetails.toption[@ocaml.doc"The list of application components with detailed information about each component."];nextToken:NextToken.toption[@ocaml.doc"The token you use to retrieve the next set of results, or null if there are no more results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ServiceLinkedRoleLockClientExceptionofServiceLinkedRoleLockClientException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationComponentInfos=fun?nextToken->fun()->{applicationComponentInfos;nextToken}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ServiceLinkedRoleLockClientException"->`ServiceLinkedRoleLockClientException(ServiceLinkedRoleLockClientException.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)|"ServiceLinkedRoleLockClientException"->`ServiceLinkedRoleLockClientException(ServiceLinkedRoleLockClientException.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))]|`ServiceLinkedRoleLockClientExceptione->`Assoc[("error",(`String"ServiceLinkedRoleLockClientException"));("details",(ServiceLinkedRoleLockClientException.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[("applicationComponentInfos",(Option.mapx.applicationComponentInfos~f:ApplicationComponentDetails.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletapplicationComponentInfos=(Option.map~f:ApplicationComponentDetails.of_xml)(Xml.childxml_arg0"applicationComponentInfos")inmake?nextToken?applicationComponentInfos()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletapplicationComponentInfos=field_mapjson__"applicationComponentInfos"ApplicationComponentDetails.of_jsoninmake?nextToken?applicationComponentInfos()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all the application components (processes)."]moduleListApplicationComponentsRequest=structtypenonrect={applicationComponentCriteria:ApplicationComponentCriteria.toption[@ocaml.doc"Criteria for filtering the list of application components."];filterValue:ListApplicationComponentsRequestFilterValueString.toption[@ocaml.doc"Specify the value based on the application component criteria type. For example, if applicationComponentCriteria is set to SERVER_ID and filterValue is set to server1, then ListApplicationComponents returns all the application components running on server1."];groupIdFilter:GroupIds.toption[@ocaml.doc"The group ID specified in to filter on."];maxResults:MaxResult.toption[@ocaml.doc"The maximum number of items to include in the response. The maximum value is 100."];nextToken:NextToken.toption[@ocaml.doc"The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10."];sort:SortOrder.toption[@ocaml.doc"Specifies whether to sort by ascending (ASC) or descending (DESC) order."]}letmake?applicationComponentCriteria=fun?filterValue->fun?groupIdFilter->fun?maxResults->fun?nextToken->fun?sort->fun()->{applicationComponentCriteria;filterValue;groupIdFilter;maxResults;nextToken;sort}letto_valuex=structure_to_value[("applicationComponentCriteria",(Option.mapx.applicationComponentCriteria~f:ApplicationComponentCriteria.to_value));("filterValue",(Option.mapx.filterValue~f:ListApplicationComponentsRequestFilterValueString.to_value));("groupIdFilter",(Option.mapx.groupIdFilter~f:GroupIds.to_value));("maxResults",(Option.mapx.maxResults~f:MaxResult.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("sort",(Option.mapx.sort~f:SortOrder.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsort=(Option.map~f:SortOrder.of_xml)(Xml.childxml_arg0"sort")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResult.of_xml)(Xml.childxml_arg0"maxResults")inletgroupIdFilter=(Option.map~f:GroupIds.of_xml)(Xml.childxml_arg0"groupIdFilter")inletfilterValue=(Option.map~f:ListApplicationComponentsRequestFilterValueString.of_xml)(Xml.childxml_arg0"filterValue")inletapplicationComponentCriteria=(Option.map~f:ApplicationComponentCriteria.of_xml)(Xml.childxml_arg0"applicationComponentCriteria")inmake?sort?nextToken?maxResults?groupIdFilter?filterValue?applicationComponentCriteria()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsort=field_mapjson__"sort"SortOrder.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResult.of_jsoninletgroupIdFilter=field_mapjson__"groupIdFilter"GroupIds.of_jsoninletfilterValue=field_mapjson__"filterValue"ListApplicationComponentsRequestFilterValueString.of_jsoninletapplicationComponentCriteria=field_mapjson__"applicationComponentCriteria"ApplicationComponentCriteria.of_jsoninmake?sort?nextToken?maxResults?groupIdFilter?filterValue?applicationComponentCriteria()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all the application components (processes)."]moduleListAnalyzableServersResponse=structtypenonrect={analyzableServers:AnalyzableServerSummaryList.toption[@ocaml.doc"The list of analyzable servers with summary information about each server."];nextToken:NextToken.toption[@ocaml.doc"The token you use to retrieve the next set of results, or null if there are no more results."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?analyzableServers=fun?nextToken->fun()->{analyzableServers;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[("analyzableServers",(Option.mapx.analyzableServers~f:AnalyzableServerSummaryList.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletanalyzableServers=(Option.map~f:AnalyzableServerSummaryList.of_xml)(Xml.childxml_arg0"analyzableServers")inmake?nextToken?analyzableServers()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletanalyzableServers=field_mapjson__"analyzableServers"AnalyzableServerSummaryList.of_jsoninmake?nextToken?analyzableServers()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents output for ListAnalyzableServers operation."]moduleListAnalyzableServersRequest=structtypenonrect={maxResults:MaxResult.toption[@ocaml.doc"The maximum number of items to include in the response. The maximum value is 100."];nextToken:NextToken.toption[@ocaml.doc"The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10."];sort:SortOrder.toption[@ocaml.doc"Specifies whether to sort by ascending (ASC) or descending (DESC) order."]}letmake?maxResults=fun?nextToken->fun?sort->fun()->{maxResults;nextToken;sort}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResult.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("sort",(Option.mapx.sort~f:SortOrder.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letsort=(Option.map~f:SortOrder.of_xml)(Xml.childxml_arg0"sort")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResult.of_xml)(Xml.childxml_arg0"maxResults")inmake?sort?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letsort=field_mapjson__"sort"SortOrder.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResult.of_jsoninmake?sort?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Represents input for ListAnalyzableServers operation."]moduleGetServerStrategiesResponse=structtypenonrect={serverStrategies:ServerStrategies.toption[@ocaml.doc"A list of strategy recommendations for the server."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?serverStrategies=fun()->{serverStrategies}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[("serverStrategies",(Option.mapx.serverStrategies~f:ServerStrategies.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverStrategies=(Option.map~f:ServerStrategies.of_xml)(Xml.childxml_arg0"serverStrategies")inmake?serverStrategies()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverStrategies=field_mapjson__"serverStrategies"ServerStrategies.of_jsoninmake?serverStrategies()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves recommended strategies and tools for the specified server."]moduleGetServerStrategiesRequest=structtypenonrect={serverId:ServerId.t[@ocaml.doc"The ID of the server."]}letcontext_="GetServerStrategiesRequest"letmake~serverId=fun()->{serverId}letto_valuex=structure_to_value[("serverId",(Some(ServerId.to_valuex.serverId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverId=ServerId.of_xml(Xml.child_exn~context:context_xml_arg0"serverId")inmake~serverId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverId=field_map_exnjson__"serverId"ServerId.of_jsoninmake~serverId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves recommended strategies and tools for the specified server."]moduleGetServerDetailsResponse=structtypenonrect={associatedApplications:AssociatedApplications.toption[@ocaml.doc"The associated application group the server belongs to, as defined in AWS Application Discovery Service."];nextToken:String_.toption[@ocaml.doc"The token you use to retrieve the next set of results, or null if there are no more results."];serverDetail:ServerDetail.toption[@ocaml.doc"Detailed information about the server."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?associatedApplications=fun?nextToken->fun?serverDetail->fun()->{associatedApplications;nextToken;serverDetail}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[("associatedApplications",(Option.mapx.associatedApplications~f:AssociatedApplications.to_value));("nextToken",(Option.mapx.nextToken~f:String_.to_value));("serverDetail",(Option.mapx.serverDetail~f:ServerDetail.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverDetail=(Option.map~f:ServerDetail.of_xml)(Xml.childxml_arg0"serverDetail")inletnextToken=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"nextToken")inletassociatedApplications=(Option.map~f:AssociatedApplications.of_xml)(Xml.childxml_arg0"associatedApplications")inmake?serverDetail?nextToken?associatedApplications()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverDetail=field_mapjson__"serverDetail"ServerDetail.of_jsoninletnextToken=field_mapjson__"nextToken"String_.of_jsoninletassociatedApplications=field_mapjson__"associatedApplications"AssociatedApplications.of_jsoninmake?serverDetail?nextToken?associatedApplications()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about a specified server."]moduleGetServerDetailsRequest=structtypenonrect={maxResults:MaxResult.toption[@ocaml.doc"The maximum number of items to include in the response. The maximum value is 100."];nextToken:NextToken.toption[@ocaml.doc"The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10."];serverId:ServerId.t[@ocaml.doc"The ID of the server."]}letcontext_="GetServerDetailsRequest"letmake?maxResults=fun?nextToken->fun~serverId->fun()->{maxResults;nextToken;serverId}letto_valuex=structure_to_value[("maxResults",(Option.mapx.maxResults~f:MaxResult.to_value));("nextToken",(Option.mapx.nextToken~f:NextToken.to_value));("serverId",(Some(ServerId.to_valuex.serverId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letserverId=ServerId.of_xml(Xml.child_exn~context:context_xml_arg0"serverId")inletnextToken=(Option.map~f:NextToken.of_xml)(Xml.childxml_arg0"nextToken")inletmaxResults=(Option.map~f:MaxResult.of_xml)(Xml.childxml_arg0"maxResults")inmake~serverId?nextToken?maxResults()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letserverId=field_map_exnjson__"serverId"ServerId.of_jsoninletnextToken=field_mapjson__"nextToken"NextToken.of_jsoninletmaxResults=field_mapjson__"maxResults"MaxResult.of_jsoninmake~serverId?nextToken?maxResults()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about a specified server."]moduleGetRecommendationReportDetailsResponse=structtypenonrect={id:RecommendationTaskId.toption[@ocaml.doc"The ID of the recommendation report generation task. See the response of StartRecommendationReportGeneration."];recommendationReportDetails:RecommendationReportDetails.toption[@ocaml.doc"Detailed information about the recommendation report."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?id=fun?recommendationReportDetails->fun()->{id;recommendationReportDetails}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[("id",(Option.mapx.id~f:RecommendationTaskId.to_value));("recommendationReportDetails",(Option.mapx.recommendationReportDetails~f:RecommendationReportDetails.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letrecommendationReportDetails=(Option.map~f:RecommendationReportDetails.of_xml)(Xml.childxml_arg0"recommendationReportDetails")inletid=(Option.map~f:RecommendationTaskId.of_xml)(Xml.childxml_arg0"id")inmake?recommendationReportDetails?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letrecommendationReportDetails=field_mapjson__"recommendationReportDetails"RecommendationReportDetails.of_jsoninletid=field_mapjson__"id"RecommendationTaskId.of_jsoninmake?recommendationReportDetails?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about the specified recommendation report."]moduleGetRecommendationReportDetailsRequest=structtypenonrect={id:RecommendationTaskId.t[@ocaml.doc"The recommendation report generation task id returned by StartRecommendationReportGeneration."]}letcontext_="GetRecommendationReportDetailsRequest"letmake~id=fun()->{id}letto_valuex=structure_to_value[("id",(Some(RecommendationTaskId.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=RecommendationTaskId.of_xml(Xml.child_exn~context:context_xml_arg0"id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"id"RecommendationTaskId.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves detailed information about the specified recommendation report."]moduleGetPortfolioSummaryResponse=structtypenonrect={assessmentSummary:AssessmentSummary.toption[@ocaml.doc"An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?assessmentSummary=fun()->{assessmentSummary}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ThrottlingExceptione->`Assoc[("error",(`String"ThrottlingException"));("details",(ThrottlingException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("assessmentSummary",(Option.mapx.assessmentSummary~f:AssessmentSummary.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letassessmentSummary=(Option.map~f:AssessmentSummary.of_xml)(Xml.childxml_arg0"assessmentSummary")inmake?assessmentSummary()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letassessmentSummary=field_mapjson__"assessmentSummary"AssessmentSummary.of_jsoninmake?assessmentSummary()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns."]moduleGetPortfolioSummaryRequest=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_valuevend[@@ocaml.doc"Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns."]moduleGetPortfolioPreferencesResponse=structtypenonrect={applicationMode:ApplicationMode.toption[@ocaml.doc"The classification for application component types."];applicationPreferences:ApplicationPreferences.toption[@ocaml.doc"The transformation preferences for non-database applications."];databasePreferences:DatabasePreferences.toption[@ocaml.doc"The transformation preferences for database applications."];prioritizeBusinessGoals:PrioritizeBusinessGoals.toption[@ocaml.doc"The rank of business goals based on priority."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationMode=fun?applicationPreferences->fun?databasePreferences->fun?prioritizeBusinessGoals->fun()->{applicationMode;applicationPreferences;databasePreferences;prioritizeBusinessGoals}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`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))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("applicationMode",(Option.mapx.applicationMode~f:ApplicationMode.to_value));("applicationPreferences",(Option.mapx.applicationPreferences~f:ApplicationPreferences.to_value));("databasePreferences",(Option.mapx.databasePreferences~f:DatabasePreferences.to_value));("prioritizeBusinessGoals",(Option.mapx.prioritizeBusinessGoals~f:PrioritizeBusinessGoals.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letprioritizeBusinessGoals=(Option.map~f:PrioritizeBusinessGoals.of_xml)(Xml.childxml_arg0"prioritizeBusinessGoals")inletdatabasePreferences=(Option.map~f:DatabasePreferences.of_xml)(Xml.childxml_arg0"databasePreferences")inletapplicationPreferences=(Option.map~f:ApplicationPreferences.of_xml)(Xml.childxml_arg0"applicationPreferences")inletapplicationMode=(Option.map~f:ApplicationMode.of_xml)(Xml.childxml_arg0"applicationMode")inmake?prioritizeBusinessGoals?databasePreferences?applicationPreferences?applicationMode()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letprioritizeBusinessGoals=field_mapjson__"prioritizeBusinessGoals"PrioritizeBusinessGoals.of_jsoninletdatabasePreferences=field_mapjson__"databasePreferences"DatabasePreferences.of_jsoninletapplicationPreferences=field_mapjson__"applicationPreferences"ApplicationPreferences.of_jsoninletapplicationMode=field_mapjson__"applicationMode"ApplicationMode.of_jsoninmake?prioritizeBusinessGoals?databasePreferences?applicationPreferences?applicationMode()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves your migration and modernization preferences."]moduleGetPortfolioPreferencesRequest=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_valuevend[@@ocaml.doc"Retrieves your migration and modernization preferences."]moduleGetLatestAssessmentIdResponse=structtypenonrect={id:AsyncTaskId.toption[@ocaml.doc"The latest ID for the specific assessment task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`DependencyExceptionofDependencyException.t|`InternalServerExceptionofInternalServerException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?id=fun()->{id}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"DependencyException"->`DependencyException(DependencyException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.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)|"DependencyException"->`DependencyException(DependencyException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.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))]|`DependencyExceptione->`Assoc[("error",(`String"DependencyException"));("details",(DependencyException.to_jsone))]|`InternalServerExceptione->`Assoc[("error",(`String"InternalServerException"));("details",(InternalServerException.to_jsone))]|`ValidationExceptione->`Assoc[("error",(`String"ValidationException"));("details",(ValidationException.to_jsone))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("id",(Option.mapx.id~f:AsyncTaskId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=(Option.map~f:AsyncTaskId.of_xml)(Xml.childxml_arg0"id")inmake?id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_mapjson__"id"AsyncTaskId.of_jsoninmake?id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieve the latest ID of a specific assessment task."]moduleGetLatestAssessmentIdRequest=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_valuevend[@@ocaml.doc"Retrieve the latest ID of a specific assessment task."]moduleGetImportFileTaskResponse=structtypenonrect={completionTime:TimeStamp.toption[@ocaml.doc"The time that the import task completed."];id:String_.toption[@ocaml.doc"The import file task id returned in the response of StartImportFileTask."];importName:String_.toption[@ocaml.doc"The name of the import task given in StartImportFileTask."];inputS3Bucket:ImportS3Bucket.toption[@ocaml.doc"The S3 bucket where import file is located."];inputS3Key:ImportS3Key.toption[@ocaml.doc"The Amazon S3 key name of the import file."];numberOfRecordsFailed:Integer.toption[@ocaml.doc"The number of records that failed to be imported."];numberOfRecordsSuccess:Integer.toption[@ocaml.doc"The number of records successfully imported."];startTime:TimeStamp.toption[@ocaml.doc"Start time of the import task."];status:ImportFileTaskStatus.toption[@ocaml.doc"Status of import file task."];statusReportS3Bucket:ImportS3Bucket.toption[@ocaml.doc"The S3 bucket name for status report of import task."];statusReportS3Key:ImportS3Key.toption[@ocaml.doc"The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`ValidationExceptionofValidationException.t|`Unknown_operation_errorof(string*stringoption)]letmake?completionTime=fun?id->fun?importName->fun?inputS3Bucket->fun?inputS3Key->fun?numberOfRecordsFailed->fun?numberOfRecordsSuccess->fun?startTime->fun?status->fun?statusReportS3Bucket->fun?statusReportS3Key->fun()->{completionTime;id;importName;inputS3Bucket;inputS3Key;numberOfRecordsFailed;numberOfRecordsSuccess;startTime;status;statusReportS3Bucket;statusReportS3Key}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[("completionTime",(Option.mapx.completionTime~f:TimeStamp.to_value));("id",(Option.mapx.id~f:String_.to_value));("importName",(Option.mapx.importName~f:String_.to_value));("inputS3Bucket",(Option.mapx.inputS3Bucket~f:ImportS3Bucket.to_value));("inputS3Key",(Option.mapx.inputS3Key~f:ImportS3Key.to_value));("numberOfRecordsFailed",(Option.mapx.numberOfRecordsFailed~f:Integer.to_value));("numberOfRecordsSuccess",(Option.mapx.numberOfRecordsSuccess~f:Integer.to_value));("startTime",(Option.mapx.startTime~f:TimeStamp.to_value));("status",(Option.mapx.status~f:ImportFileTaskStatus.to_value));("statusReportS3Bucket",(Option.mapx.statusReportS3Bucket~f:ImportS3Bucket.to_value));("statusReportS3Key",(Option.mapx.statusReportS3Key~f:ImportS3Key.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letstatusReportS3Key=(Option.map~f:ImportS3Key.of_xml)(Xml.childxml_arg0"statusReportS3Key")inletstatusReportS3Bucket=(Option.map~f:ImportS3Bucket.of_xml)(Xml.childxml_arg0"statusReportS3Bucket")inletstatus=(Option.map~f:ImportFileTaskStatus.of_xml)(Xml.childxml_arg0"status")inletstartTime=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"startTime")inletnumberOfRecordsSuccess=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"numberOfRecordsSuccess")inletnumberOfRecordsFailed=(Option.map~f:Integer.of_xml)(Xml.childxml_arg0"numberOfRecordsFailed")inletinputS3Key=(Option.map~f:ImportS3Key.of_xml)(Xml.childxml_arg0"inputS3Key")inletinputS3Bucket=(Option.map~f:ImportS3Bucket.of_xml)(Xml.childxml_arg0"inputS3Bucket")inletimportName=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"importName")inletid=(Option.map~f:String_.of_xml)(Xml.childxml_arg0"id")inletcompletionTime=(Option.map~f:TimeStamp.of_xml)(Xml.childxml_arg0"completionTime")inmake?statusReportS3Key?statusReportS3Bucket?status?startTime?numberOfRecordsSuccess?numberOfRecordsFailed?inputS3Key?inputS3Bucket?importName?id?completionTime()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letstatusReportS3Key=field_mapjson__"statusReportS3Key"ImportS3Key.of_jsoninletstatusReportS3Bucket=field_mapjson__"statusReportS3Bucket"ImportS3Bucket.of_jsoninletstatus=field_mapjson__"status"ImportFileTaskStatus.of_jsoninletstartTime=field_mapjson__"startTime"TimeStamp.of_jsoninletnumberOfRecordsSuccess=field_mapjson__"numberOfRecordsSuccess"Integer.of_jsoninletnumberOfRecordsFailed=field_mapjson__"numberOfRecordsFailed"Integer.of_jsoninletinputS3Key=field_mapjson__"inputS3Key"ImportS3Key.of_jsoninletinputS3Bucket=field_mapjson__"inputS3Bucket"ImportS3Bucket.of_jsoninletimportName=field_mapjson__"importName"String_.of_jsoninletid=field_mapjson__"id"String_.of_jsoninletcompletionTime=field_mapjson__"completionTime"TimeStamp.of_jsoninmake?statusReportS3Key?statusReportS3Bucket?status?startTime?numberOfRecordsSuccess?numberOfRecordsFailed?inputS3Key?inputS3Bucket?importName?id?completionTime()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details about a specific import task."]moduleGetImportFileTaskRequest=structtypenonrect={id:String_.t[@ocaml.doc"The ID of the import file task. This ID is returned in the response of StartImportFileTask."]}letcontext_="GetImportFileTaskRequest"letmake~id=fun()->{id}letto_valuex=structure_to_value[("id",(Some(String_.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=String_.of_xml(Xml.child_exn~context:context_xml_arg0"id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"id"String_.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the details about a specific import task."]moduleGetAssessmentResponse=structtypenonrect={assessmentTargets:AssessmentTargets.toption[@ocaml.doc"List of criteria for assessment."];dataCollectionDetails:DataCollectionDetails.toption[@ocaml.doc"Detailed information about the assessment."];id:AsyncTaskId.toption[@ocaml.doc"The ID for the specific assessment task."]}typenonrecerror=[`AccessDeniedExceptionofAccessDeniedException.t|`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?assessmentTargets=fun?dataCollectionDetails->fun?id->fun()->{assessmentTargets;dataCollectionDetails;id}leterror_of_jsonnamejson=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_jsonjson)|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"AccessDeniedException"->`AccessDeniedException(AccessDeniedException.of_xmlxml)|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`AccessDeniedExceptione->`Assoc[("error",(`String"AccessDeniedException"));("details",(AccessDeniedException.to_jsone))]|`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))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("assessmentTargets",(Option.mapx.assessmentTargets~f:AssessmentTargets.to_value));("dataCollectionDetails",(Option.mapx.dataCollectionDetails~f:DataCollectionDetails.to_value));("id",(Option.mapx.id~f:AsyncTaskId.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=(Option.map~f:AsyncTaskId.of_xml)(Xml.childxml_arg0"id")inletdataCollectionDetails=(Option.map~f:DataCollectionDetails.of_xml)(Xml.childxml_arg0"dataCollectionDetails")inletassessmentTargets=(Option.map~f:AssessmentTargets.of_xml)(Xml.childxml_arg0"assessmentTargets")inmake?id?dataCollectionDetails?assessmentTargets()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_mapjson__"id"AsyncTaskId.of_jsoninletdataCollectionDetails=field_mapjson__"dataCollectionDetails"DataCollectionDetails.of_jsoninletassessmentTargets=field_mapjson__"assessmentTargets"AssessmentTargets.of_jsoninmake?id?dataCollectionDetails?assessmentTargets()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the status of an on-going assessment."]moduleGetAssessmentRequest=structtypenonrect={id:AsyncTaskId.t[@ocaml.doc"The assessmentid returned by StartAssessment."]}letcontext_="GetAssessmentRequest"letmake~id=fun()->{id}letto_valuex=structure_to_value[("id",(Some(AsyncTaskId.to_valuex.id)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letid=AsyncTaskId.of_xml(Xml.child_exn~context:context_xml_arg0"id")inmake~id()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letid=field_map_exnjson__"id"AsyncTaskId.of_jsoninmake~id()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves the status of an on-going assessment."]moduleGetApplicationComponentStrategiesResponse=structtypenonrect={applicationComponentStrategies:ApplicationComponentStrategies.toption[@ocaml.doc"A list of application component strategy recommendations."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationComponentStrategies=fun()->{applicationComponentStrategies}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`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))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("applicationComponentStrategies",(Option.mapx.applicationComponentStrategies~f:ApplicationComponentStrategies.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapplicationComponentStrategies=(Option.map~f:ApplicationComponentStrategies.of_xml)(Xml.childxml_arg0"applicationComponentStrategies")inmake?applicationComponentStrategies()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplicationComponentStrategies=field_mapjson__"applicationComponentStrategies"ApplicationComponentStrategies.of_jsoninmake?applicationComponentStrategies()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all the recommended strategies and tools for an application component running on a server."]moduleGetApplicationComponentStrategiesRequest=structtypenonrect={applicationComponentId:ApplicationComponentId.t[@ocaml.doc"The ID of the application component. The ID is unique within an AWS account."]}letcontext_="GetApplicationComponentStrategiesRequest"letmake~applicationComponentId=fun()->{applicationComponentId}letto_valuex=structure_to_value[("applicationComponentId",(Some(ApplicationComponentId.to_valuex.applicationComponentId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapplicationComponentId=ApplicationComponentId.of_xml(Xml.child_exn~context:context_xml_arg0"applicationComponentId")inmake~applicationComponentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplicationComponentId=field_map_exnjson__"applicationComponentId"ApplicationComponentId.of_jsoninmake~applicationComponentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves a list of all the recommended strategies and tools for an application component running on a server."]moduleGetApplicationComponentDetailsResponse=structtypenonrect={applicationComponentDetail:ApplicationComponentDetail.toption[@ocaml.doc"Detailed information about an application component."];associatedApplications:AssociatedApplications.toption[@ocaml.doc"The associated application group as defined in AWS Application Discovery Service."];associatedServerIds:AssociatedServerIDs.toption[@ocaml.doc"A list of the IDs of the servers on which the application component is running."];moreApplicationResource:Boolean.toption[@ocaml.doc"Set to true if the application component belongs to more than one application group."]}typenonrecerror=[`InternalServerExceptionofInternalServerException.t|`ResourceNotFoundExceptionofResourceNotFoundException.t|`ThrottlingExceptionofThrottlingException.t|`Unknown_operation_errorof(string*stringoption)]letmake?applicationComponentDetail=fun?associatedApplications->fun?associatedServerIds->fun?moreApplicationResource->fun()->{applicationComponentDetail;associatedApplications;associatedServerIds;moreApplicationResource}leterror_of_jsonnamejson=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_jsonjson)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_jsonjson)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_jsonjson)|name->`Unknown_operation_error(name,(Some(Yojson.Safe.to_stringjson)))leterror_of_xmlnamexml=matchnamewith|"InternalServerException"->`InternalServerException(InternalServerException.of_xmlxml)|"ResourceNotFoundException"->`ResourceNotFoundException(ResourceNotFoundException.of_xmlxml)|"ThrottlingException"->`ThrottlingException(ThrottlingException.of_xmlxml)|name->`Unknown_operation_error(name,(Some(Awso.Xml.to_stringxml)))leterror_to_json:error->Yojson.Safe.t=function|`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))]|`Unknown_operation_error(code,msg)->`Assoc(("error",(`Stringcode))::((matchmsgwith|None->[]|Somem->[("message",(`Stringm))])))letto_valuex=structure_to_value[("applicationComponentDetail",(Option.mapx.applicationComponentDetail~f:ApplicationComponentDetail.to_value));("associatedApplications",(Option.mapx.associatedApplications~f:AssociatedApplications.to_value));("associatedServerIds",(Option.mapx.associatedServerIds~f:AssociatedServerIDs.to_value));("moreApplicationResource",(Option.mapx.moreApplicationResource~f:Boolean.to_value))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letmoreApplicationResource=(Option.map~f:Boolean.of_xml)(Xml.childxml_arg0"moreApplicationResource")inletassociatedServerIds=(Option.map~f:AssociatedServerIDs.of_xml)(Xml.childxml_arg0"associatedServerIds")inletassociatedApplications=(Option.map~f:AssociatedApplications.of_xml)(Xml.childxml_arg0"associatedApplications")inletapplicationComponentDetail=(Option.map~f:ApplicationComponentDetail.of_xml)(Xml.childxml_arg0"applicationComponentDetail")inmake?moreApplicationResource?associatedServerIds?associatedApplications?applicationComponentDetail()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letmoreApplicationResource=field_mapjson__"moreApplicationResource"Boolean.of_jsoninletassociatedServerIds=field_mapjson__"associatedServerIds"AssociatedServerIDs.of_jsoninletassociatedApplications=field_mapjson__"associatedApplications"AssociatedApplications.of_jsoninletapplicationComponentDetail=field_mapjson__"applicationComponentDetail"ApplicationComponentDetail.of_jsoninmake?moreApplicationResource?associatedServerIds?associatedApplications?applicationComponentDetail()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details about an application component."]moduleGetApplicationComponentDetailsRequest=structtypenonrect={applicationComponentId:ApplicationComponentId.t[@ocaml.doc"The ID of the application component. The ID is unique within an AWS account."]}letcontext_="GetApplicationComponentDetailsRequest"letmake~applicationComponentId=fun()->{applicationComponentId}letto_valuex=structure_to_value[("applicationComponentId",(Some(ApplicationComponentId.to_valuex.applicationComponentId)))]letto_queryv=to_queryto_valuevletof_xmlxml_arg0=letapplicationComponentId=ApplicationComponentId.of_xml(Xml.child_exn~context:context_xml_arg0"applicationComponentId")inmake~applicationComponentId()letof_strings=of_xml(Awso.Xml.parse_responses)[@@warning"-32"]letof_jsonjson__=letapplicationComponentId=field_map_exnjson__"applicationComponentId"ApplicationComponentId.of_jsoninmake~applicationComponentId()letto_jsonv=composed_to_jsonto_valuevend[@@ocaml.doc"Retrieves details about an application component."]